Skip to content

enable_vpc_classic_link_dns_support

Operation

enable_vpc_classic_link_dns_support(request: EnableVpcClassicLinkDnsSupportInput | EnableVpcClassicLinkDnsSupportInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[EnableVpcClassicLinkDnsSupportInputDict]) -> EnableVpcClassicLinkDnsSupportOutput
Note

This action is deprecated.

Enables a VPC to support DNS hostname resolution for ClassicLink. 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.

You must specify a VPC ID in the request.

Parameters:

Name Type Description Default
request EnableVpcClassicLinkDnsSupportInput | EnableVpcClassicLinkDnsSupportInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[EnableVpcClassicLinkDnsSupportInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
EnableVpcClassicLinkDnsSupportOutput

An instance of EnableVpcClassicLinkDnsSupportOutput.

enable_vpc_classic_link_dns_support(request: EnableVpcClassicLinkDnsSupportInput | EnableVpcClassicLinkDnsSupportInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[EnableVpcClassicLinkDnsSupportInputDict]) -> EnableVpcClassicLinkDnsSupportOutput
Note

This action is deprecated.

Enables a VPC to support DNS hostname resolution for ClassicLink. 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.

You must specify a VPC ID in the request.

Parameters:

Name Type Description Default
request EnableVpcClassicLinkDnsSupportInput | EnableVpcClassicLinkDnsSupportInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[EnableVpcClassicLinkDnsSupportInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
EnableVpcClassicLinkDnsSupportOutput

An instance of EnableVpcClassicLinkDnsSupportOutput.

Input

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

EnableVpcClassicLinkDnsSupportInputDict

Bases: TypedDict

Dictionary form of EnableVpcClassicLinkDnsSupportInput.

Attributes

vpc_id instance-attribute
vpc_id: str | None

The ID of the VPC.

EnableVpcClassicLinkDnsSupportInput dataclass

Bases: _SerdeShape

Dataclass for EnableVpcClassicLinkDnsSupportInput structure.

Attributes

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

The ID of the VPC.

Output

EnableVpcClassicLinkDnsSupportOutput dataclass

Bases: _SerdeShape

Dataclass for EnableVpcClassicLinkDnsSupportOutput 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.