amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DescribeVpcClassicLink

Description

Describes the ClassicLink status of one or more VPCs.

We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

Synopsis

Creating a Request

data DescribeVpcClassicLink Source #

See: newDescribeVpcClassicLink smart constructor.

Constructors

DescribeVpcClassicLink' 

Fields

  • dryRun :: Maybe Bool

    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 :: Maybe [Filter]

    One or more filters.

    • is-classic-link-enabled - Whether the VPC is enabled for ClassicLink (true | false).
    • tag:<key> - 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.
  • vpcIds :: Maybe [Text]

    One or more VPCs for which you want to describe the ClassicLink status.

Instances

newDescribeVpcClassicLink :: DescribeVpcClassicLink Source #

Create a value of DescribeVpcClassicLink with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:DescribeVpcClassicLink', describeVpcClassicLink_dryRun - 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.

$sel:filters:DescribeVpcClassicLink', describeVpcClassicLink_filters - One or more filters.

  • is-classic-link-enabled - Whether the VPC is enabled for ClassicLink (true | false).
  • tag:<key> - 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.

$sel:vpcIds:DescribeVpcClassicLink', describeVpcClassicLink_vpcIds - One or more VPCs for which you want to describe the ClassicLink status.

Request Lenses

describeVpcClassicLink_dryRun :: Lens' DescribeVpcClassicLink (Maybe Bool) Source #

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.

describeVpcClassicLink_filters :: Lens' DescribeVpcClassicLink (Maybe [Filter]) Source #

One or more filters.

  • is-classic-link-enabled - Whether the VPC is enabled for ClassicLink (true | false).
  • tag:<key> - 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.

describeVpcClassicLink_vpcIds :: Lens' DescribeVpcClassicLink (Maybe [Text]) Source #

One or more VPCs for which you want to describe the ClassicLink status.

Destructuring the Response

data DescribeVpcClassicLinkResponse Source #

See: newDescribeVpcClassicLinkResponse smart constructor.

Constructors

DescribeVpcClassicLinkResponse' 

Fields

Instances

Instances details
Generic DescribeVpcClassicLinkResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLink

Associated Types

type Rep DescribeVpcClassicLinkResponse :: Type -> Type #

Read DescribeVpcClassicLinkResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLink

Show DescribeVpcClassicLinkResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLink

NFData DescribeVpcClassicLinkResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLink

Eq DescribeVpcClassicLinkResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLink

type Rep DescribeVpcClassicLinkResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLink

type Rep DescribeVpcClassicLinkResponse = D1 ('MetaData "DescribeVpcClassicLinkResponse" "Amazonka.EC2.DescribeVpcClassicLink" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeVpcClassicLinkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "vpcs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VpcClassicLink])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeVpcClassicLinkResponse Source #

Create a value of DescribeVpcClassicLinkResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:vpcs:DescribeVpcClassicLinkResponse', describeVpcClassicLinkResponse_vpcs - The ClassicLink status of one or more VPCs.

$sel:httpStatus:DescribeVpcClassicLinkResponse', describeVpcClassicLinkResponse_httpStatus - The response's http status code.

Response Lenses