Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- disassociateVPCCidrBlock :: Text -> DisassociateVPCCidrBlock
- data DisassociateVPCCidrBlock
- dvcbAssociationId :: Lens' DisassociateVPCCidrBlock Text
- disassociateVPCCidrBlockResponse :: Int -> DisassociateVPCCidrBlockResponse
- data DisassociateVPCCidrBlockResponse
- dvcbrsVPCId :: Lens' DisassociateVPCCidrBlockResponse (Maybe Text)
- dvcbrsCidrBlockAssociation :: Lens' DisassociateVPCCidrBlockResponse (Maybe VPCCidrBlockAssociation)
- dvcbrsIPv6CidrBlockAssociation :: Lens' DisassociateVPCCidrBlockResponse (Maybe VPCIPv6CidrBlockAssociation)
- dvcbrsResponseStatus :: Lens' DisassociateVPCCidrBlockResponse Int
Creating a Request
disassociateVPCCidrBlock Source #
Creates a value of DisassociateVPCCidrBlock
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvcbAssociationId
- The association ID for the CIDR block.
data DisassociateVPCCidrBlock Source #
See: disassociateVPCCidrBlock
smart constructor.
Instances
Request Lenses
dvcbAssociationId :: Lens' DisassociateVPCCidrBlock Text Source #
The association ID for the CIDR block.
Destructuring the Response
disassociateVPCCidrBlockResponse Source #
Creates a value of DisassociateVPCCidrBlockResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvcbrsVPCId
- The ID of the VPC.dvcbrsCidrBlockAssociation
- Information about the IPv4 CIDR block association.dvcbrsIPv6CidrBlockAssociation
- Information about the IPv6 CIDR block association.dvcbrsResponseStatus
- -- | The response status code.
data DisassociateVPCCidrBlockResponse Source #
See: disassociateVPCCidrBlockResponse
smart constructor.
Instances
Response Lenses
dvcbrsVPCId :: Lens' DisassociateVPCCidrBlockResponse (Maybe Text) Source #
The ID of the VPC.
dvcbrsCidrBlockAssociation :: Lens' DisassociateVPCCidrBlockResponse (Maybe VPCCidrBlockAssociation) Source #
Information about the IPv4 CIDR block association.
dvcbrsIPv6CidrBlockAssociation :: Lens' DisassociateVPCCidrBlockResponse (Maybe VPCIPv6CidrBlockAssociation) Source #
Information about the IPv6 CIDR block association.
dvcbrsResponseStatus :: Lens' DisassociateVPCCidrBlockResponse Int Source #
- - | The response status code.