describe_vpc_classic_link_dns_support
async
¶
describe_vpc_classic_link_dns_support(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
vpc_ids: Optional[VpcClassicLinkIdList] = None,
max_results: Optional[DescribeVpcClassicLinkDnsSupportMaxResults] = None,
next_token: Optional[DescribeVpcClassicLinkDnsSupportNextToken] = None,
) -> DescribeVpcClassicLinkDnsSupportResult
This action is deprecated.
Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance.
Parameters:
-
vpc_ids(Optional[VpcClassicLinkIdList], default:None) –The IDs of the VPCs.
-
max_results(Optional[DescribeVpcClassicLinkDnsSupportMaxResults], default:None) –The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
next_token(Optional[DescribeVpcClassicLinkDnsSupportNextToken], default:None) –The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
37410 37411 37412 37413 37414 37415 37416 37417 37418 37419 37420 37421 37422 37423 37424 37425 37426 37427 37428 37429 37430 37431 37432 37433 37434 37435 37436 37437 37438 37439 37440 37441 37442 37443 37444 37445 37446 37447 37448 37449 37450 37451 37452 37453 37454 37455 37456 37457 37458 37459 37460 37461 37462 37463 37464 37465 37466 37467 | |