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

Description

Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must specify its association ID. You can get the association ID by using DescribeVpcs. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.

You cannot disassociate the CIDR block with which you originally created the VPC (the primary CIDR block).

Synopsis

Creating a Request

data DisassociateVpcCidrBlock Source #

See: newDisassociateVpcCidrBlock smart constructor.

Constructors

DisassociateVpcCidrBlock' 

Fields

Instances

Instances details
ToHeaders DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

ToPath DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

ToQuery DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

AWSRequest DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

Generic DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

Associated Types

type Rep DisassociateVpcCidrBlock :: Type -> Type #

Read DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

Show DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

NFData DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

Eq DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

Hashable DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

type AWSResponse DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

type Rep DisassociateVpcCidrBlock Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

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

newDisassociateVpcCidrBlock Source #

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

DisassociateVpcCidrBlock, disassociateVpcCidrBlock_associationId - The association ID for the CIDR block.

Request Lenses

Destructuring the Response

data DisassociateVpcCidrBlockResponse Source #

See: newDisassociateVpcCidrBlockResponse smart constructor.

Constructors

DisassociateVpcCidrBlockResponse' 

Fields

Instances

Instances details
Generic DisassociateVpcCidrBlockResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

Associated Types

type Rep DisassociateVpcCidrBlockResponse :: Type -> Type #

Read DisassociateVpcCidrBlockResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

Show DisassociateVpcCidrBlockResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

NFData DisassociateVpcCidrBlockResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

Eq DisassociateVpcCidrBlockResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

type Rep DisassociateVpcCidrBlockResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateVpcCidrBlock

type Rep DisassociateVpcCidrBlockResponse = D1 ('MetaData "DisassociateVpcCidrBlockResponse" "Amazonka.EC2.DisassociateVpcCidrBlock" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisassociateVpcCidrBlockResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cidrBlockAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcCidrBlockAssociation)) :*: S1 ('MetaSel ('Just "ipv6CidrBlockAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcIpv6CidrBlockAssociation))) :*: (S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDisassociateVpcCidrBlockResponse Source #

Create a value of DisassociateVpcCidrBlockResponse 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:cidrBlockAssociation:DisassociateVpcCidrBlockResponse', disassociateVpcCidrBlockResponse_cidrBlockAssociation - Information about the IPv4 CIDR block association.

$sel:ipv6CidrBlockAssociation:DisassociateVpcCidrBlockResponse', disassociateVpcCidrBlockResponse_ipv6CidrBlockAssociation - Information about the IPv6 CIDR block association.

DisassociateVpcCidrBlockResponse, disassociateVpcCidrBlockResponse_vpcId - The ID of the VPC.

$sel:httpStatus:DisassociateVpcCidrBlockResponse', disassociateVpcCidrBlockResponse_httpStatus - The response's http status code.

Response Lenses