describe_vpc_classic_link_dns_support
¶
describe_vpc_classic_link_dns_support(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
36923 36924 36925 36926 36927 36928 36929 36930 36931 36932 36933 36934 36935 36936 36937 36938 36939 36940 36941 36942 36943 36944 36945 36946 36947 36948 36949 36950 36951 36952 36953 36954 36955 36956 36957 36958 36959 36960 36961 36962 36963 36964 36965 36966 36967 36968 36969 36970 36971 36972 36973 36974 36975 36976 36977 36978 36979 | |