Skip to content

EC2  >  Operations  >  describe_vpc_classic_link

describe_vpc_classic_link

Operation

describe_vpc_classic_link(request: DescribeVpcClassicLinkInput | DescribeVpcClassicLinkInputDict, /, *, plugins: list[Plugin] | None = None) -> DescribeVpcClassicLinkOutput
describe_vpc_classic_link(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeVpcClassicLinkInputDict]) -> DescribeVpcClassicLinkOutput
Note

This action is deprecated.

Describes the ClassicLink status of the specified VPCs.

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
DescribeVpcClassicLinkOutput

An instance of DescribeVpcClassicLinkOutput.

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

DescribeVpcClassicLinkInput dataclass

Bases: _SerdeShape

Dataclass for DescribeVpcClassicLinkInput structure.

Attributes
dry_run class-attribute instance-attribute
dry_run: bool | None = ...

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

filters class-attribute instance-attribute
filters: list[Filter] | None = ...

The filters.

  • is-classic-link-enabled - Whether the VPC is enabled for ClassicLink (true | false).

  • tag - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

vpc_ids class-attribute instance-attribute
vpc_ids: list[str] | None = ...

The VPCs for which you want to describe the ClassicLink status.

Dictionaries

DescribeVpcClassicLinkInputDict

Bases: TypedDict

Dictionary form of DescribeVpcClassicLinkInput.

Attributes
dry_run instance-attribute
dry_run: bool | None

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

filters instance-attribute
filters: Sequence[Filter | FilterDict] | None

The filters.

  • is-classic-link-enabled - Whether the VPC is enabled for ClassicLink (true | false).

  • tag - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

vpc_ids instance-attribute
vpc_ids: Sequence[str] | None

The VPCs for which you want to describe the ClassicLink status.

Output

DescribeVpcClassicLinkOutput dataclass

Bases: _SerdeShape

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

vpcs class-attribute instance-attribute
vpcs: list[VpcClassicLink] | None = ...

The ClassicLink status of the VPCs.