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

Description

Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.

You must specify a VPC ID in the request.

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 DisableVpcClassicLinkDnsSupport Source #

See: newDisableVpcClassicLinkDnsSupport smart constructor.

Constructors

DisableVpcClassicLinkDnsSupport' 

Fields

Instances

Instances details
ToHeaders DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

ToPath DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

ToQuery DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

AWSRequest DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

Generic DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

Associated Types

type Rep DisableVpcClassicLinkDnsSupport :: Type -> Type #

Read DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

Show DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

NFData DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

Eq DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

Hashable DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

type AWSResponse DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

type Rep DisableVpcClassicLinkDnsSupport Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

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

newDisableVpcClassicLinkDnsSupport :: DisableVpcClassicLinkDnsSupport Source #

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

DisableVpcClassicLinkDnsSupport, disableVpcClassicLinkDnsSupport_vpcId - The ID of the VPC.

Request Lenses

Destructuring the Response

data DisableVpcClassicLinkDnsSupportResponse Source #

Constructors

DisableVpcClassicLinkDnsSupportResponse' 

Fields

Instances

Instances details
Generic DisableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

Read DisableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

Show DisableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

NFData DisableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

Eq DisableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

type Rep DisableVpcClassicLinkDnsSupportResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableVpcClassicLinkDnsSupport

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

newDisableVpcClassicLinkDnsSupportResponse Source #

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

$sel:httpStatus:DisableVpcClassicLinkDnsSupportResponse', disableVpcClassicLinkDnsSupportResponse_httpStatus - The response's http status code.

Response Lenses

disableVpcClassicLinkDnsSupportResponse_return :: Lens' DisableVpcClassicLinkDnsSupportResponse (Maybe Bool) Source #

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