| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.EC2.DisassociateVPCCidrBlock
Description
Disassociates a CIDR block from a VPC. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.
- disassociateVPCCidrBlock :: Text -> DisassociateVPCCidrBlock
- data DisassociateVPCCidrBlock
- dvcbAssociationId :: Lens' DisassociateVPCCidrBlock Text
- disassociateVPCCidrBlockResponse :: Int -> DisassociateVPCCidrBlockResponse
- data DisassociateVPCCidrBlockResponse
- dvcbrsVPCId :: Lens' DisassociateVPCCidrBlockResponse (Maybe Text)
- dvcbrsIPv6CidrBlockAssociation :: Lens' DisassociateVPCCidrBlockResponse (Maybe VPCIPv6CidrBlockAssociation)
- dvcbrsResponseStatus :: Lens' DisassociateVPCCidrBlockResponse Int
Creating a Request
disassociateVPCCidrBlock Source #
Arguments
| :: Text | |
| -> DisassociateVPCCidrBlock |
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 #
Arguments
| :: Int | |
| -> DisassociateVPCCidrBlockResponse |
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.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.
dvcbrsIPv6CidrBlockAssociation :: Lens' DisassociateVPCCidrBlockResponse (Maybe VPCIPv6CidrBlockAssociation) Source #
Information about the IPv6 CIDR block association.
dvcbrsResponseStatus :: Lens' DisassociateVPCCidrBlockResponse Int Source #
- - | The response status code.