Skip to content

EC2  >  Operations  >  disable_vpc_classic_link_dns_support

disable_vpc_classic_link_dns_support

Operation

disable_vpc_classic_link_dns_support(request: DisableVpcClassicLinkDnsSupportInput | DisableVpcClassicLinkDnsSupportInputDict, /, *, plugins: list[Plugin] | None = None) -> DisableVpcClassicLinkDnsSupportOutput
disable_vpc_classic_link_dns_support(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisableVpcClassicLinkDnsSupportInputDict]) -> DisableVpcClassicLinkDnsSupportOutput
Note

This action is deprecated.

Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked.

You must specify a VPC ID in the request.

Parameters:

Name Type Description Default
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DisableVpcClassicLinkDnsSupportOutput

An instance of DisableVpcClassicLinkDnsSupportOutput.

Input

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

DisableVpcClassicLinkDnsSupportInput dataclass

Bases: _SerdeShape

Dataclass for DisableVpcClassicLinkDnsSupportInput structure.

Attributes
vpc_id class-attribute instance-attribute
vpc_id: str | None = ...

The ID of the VPC.

Dictionaries

DisableVpcClassicLinkDnsSupportInputDict

Bases: TypedDict

Dictionary form of DisableVpcClassicLinkDnsSupportInput.

Attributes
vpc_id instance-attribute
vpc_id: str | None

The ID of the VPC.

Output

DisableVpcClassicLinkDnsSupportOutput dataclass

Bases: _SerdeShape

Dataclass for DisableVpcClassicLinkDnsSupportOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

return_ class-attribute instance-attribute
return_: bool | None = ...

Returns true if the request succeeds; otherwise, it returns an error.