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.DescribeVpcClassicLinkDnsSupport

Description

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.

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. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeVpcClassicLinkDnsSupport Source #

See: newDescribeVpcClassicLinkDnsSupport smart constructor.

Constructors

DescribeVpcClassicLinkDnsSupport' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • nextToken :: Maybe Text

    The token for the next page of results.

  • vpcIds :: Maybe [Text]

    One or more VPC IDs.

Instances

Instances details
ToHeaders DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

ToPath DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

ToQuery DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

AWSPager DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

AWSRequest DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

Generic DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

Associated Types

type Rep DescribeVpcClassicLinkDnsSupport :: Type -> Type #

Read DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

Show DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

NFData DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

Eq DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

Hashable DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

type AWSResponse DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

type Rep DescribeVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

type Rep DescribeVpcClassicLinkDnsSupport = D1 ('MetaData "DescribeVpcClassicLinkDnsSupport" "Amazonka.EC2.DescribeVpcClassicLinkDnsSupport" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeVpcClassicLinkDnsSupport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newDescribeVpcClassicLinkDnsSupport :: DescribeVpcClassicLinkDnsSupport Source #

Create a value of DescribeVpcClassicLinkDnsSupport 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:maxResults:DescribeVpcClassicLinkDnsSupport', describeVpcClassicLinkDnsSupport_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

DescribeVpcClassicLinkDnsSupport, describeVpcClassicLinkDnsSupport_nextToken - The token for the next page of results.

$sel:vpcIds:DescribeVpcClassicLinkDnsSupport', describeVpcClassicLinkDnsSupport_vpcIds - One or more VPC IDs.

Request Lenses

describeVpcClassicLinkDnsSupport_maxResults :: Lens' DescribeVpcClassicLinkDnsSupport (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Destructuring the Response

data DescribeVpcClassicLinkDnsSupportResponse Source #

Constructors

DescribeVpcClassicLinkDnsSupportResponse' 

Fields

Instances

Instances details
Generic DescribeVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

Read DescribeVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

Show DescribeVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

NFData DescribeVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

Eq DescribeVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

type Rep DescribeVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcClassicLinkDnsSupport

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

newDescribeVpcClassicLinkDnsSupportResponse Source #

Create a value of DescribeVpcClassicLinkDnsSupportResponse 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:

DescribeVpcClassicLinkDnsSupport, describeVpcClassicLinkDnsSupportResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:vpcs:DescribeVpcClassicLinkDnsSupportResponse', describeVpcClassicLinkDnsSupportResponse_vpcs - Information about the ClassicLink DNS support status of the VPCs.

$sel:httpStatus:DescribeVpcClassicLinkDnsSupportResponse', describeVpcClassicLinkDnsSupportResponse_httpStatus - The response's http status code.

Response Lenses

describeVpcClassicLinkDnsSupportResponse_nextToken :: Lens' DescribeVpcClassicLinkDnsSupportResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.