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

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.

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

You must specify a VPC ID in the request.

Synopsis

Creating a Request

data EnableVpcClassicLinkDnsSupport Source #

See: newEnableVpcClassicLinkDnsSupport smart constructor.

Constructors

EnableVpcClassicLinkDnsSupport' 

Fields

Instances

Instances details
ToHeaders EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

ToPath EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

ToQuery EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

AWSRequest EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

Generic EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

Associated Types

type Rep EnableVpcClassicLinkDnsSupport :: Type -> Type #

Read EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

Show EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

NFData EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

Eq EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

Hashable EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

type AWSResponse EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

type Rep EnableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

type Rep EnableVpcClassicLinkDnsSupport = D1 ('MetaData "EnableVpcClassicLinkDnsSupport" "Amazonka.EC2.EnableVpcClassicLinkDnsSupport" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "EnableVpcClassicLinkDnsSupport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEnableVpcClassicLinkDnsSupport :: EnableVpcClassicLinkDnsSupport Source #

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

EnableVpcClassicLinkDnsSupport, enableVpcClassicLinkDnsSupport_vpcId - The ID of the VPC.

Request Lenses

Destructuring the Response

data EnableVpcClassicLinkDnsSupportResponse Source #

Constructors

EnableVpcClassicLinkDnsSupportResponse' 

Fields

Instances

Instances details
Generic EnableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

Read EnableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

Show EnableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

NFData EnableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

Eq EnableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

type Rep EnableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVpcClassicLinkDnsSupport

type Rep EnableVpcClassicLinkDnsSupportResponse = D1 ('MetaData "EnableVpcClassicLinkDnsSupportResponse" "Amazonka.EC2.EnableVpcClassicLinkDnsSupport" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "EnableVpcClassicLinkDnsSupportResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "return'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newEnableVpcClassicLinkDnsSupportResponse Source #

Create a value of EnableVpcClassicLinkDnsSupportResponse 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:return':EnableVpcClassicLinkDnsSupportResponse', enableVpcClassicLinkDnsSupportResponse_return - Returns true if the request succeeds; otherwise, it returns an error.

$sel:httpStatus:EnableVpcClassicLinkDnsSupportResponse', enableVpcClassicLinkDnsSupportResponse_httpStatus - The response's http status code.

Response Lenses

enableVpcClassicLinkDnsSupportResponse_return :: Lens' EnableVpcClassicLinkDnsSupportResponse (Maybe Bool) Source #

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