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 subnet. 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.
Synopsis
- disassociateSubnetCidrBlock :: Text -> DisassociateSubnetCidrBlock
- data DisassociateSubnetCidrBlock
- dscbAssociationId :: Lens' DisassociateSubnetCidrBlock Text
- disassociateSubnetCidrBlockResponse :: Int -> DisassociateSubnetCidrBlockResponse
- data DisassociateSubnetCidrBlockResponse
- dscbrsSubnetId :: Lens' DisassociateSubnetCidrBlockResponse (Maybe Text)
- dscbrsIPv6CidrBlockAssociation :: Lens' DisassociateSubnetCidrBlockResponse (Maybe SubnetIPv6CidrBlockAssociation)
- dscbrsResponseStatus :: Lens' DisassociateSubnetCidrBlockResponse Int
Creating a Request
disassociateSubnetCidrBlock Source #
Creates a value of DisassociateSubnetCidrBlock
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dscbAssociationId
- The association ID for the CIDR block.
data DisassociateSubnetCidrBlock Source #
See: disassociateSubnetCidrBlock
smart constructor.
Instances
Request Lenses
dscbAssociationId :: Lens' DisassociateSubnetCidrBlock Text Source #
The association ID for the CIDR block.
Destructuring the Response
disassociateSubnetCidrBlockResponse Source #
Creates a value of DisassociateSubnetCidrBlockResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dscbrsSubnetId
- The ID of the subnet.dscbrsIPv6CidrBlockAssociation
- Information about the IPv6 CIDR block association.dscbrsResponseStatus
- -- | The response status code.
data DisassociateSubnetCidrBlockResponse Source #
See: disassociateSubnetCidrBlockResponse
smart constructor.
Instances
Response Lenses
dscbrsSubnetId :: Lens' DisassociateSubnetCidrBlockResponse (Maybe Text) Source #
The ID of the subnet.
dscbrsIPv6CidrBlockAssociation :: Lens' DisassociateSubnetCidrBlockResponse (Maybe SubnetIPv6CidrBlockAssociation) Source #
Information about the IPv6 CIDR block association.
dscbrsResponseStatus :: Lens' DisassociateSubnetCidrBlockResponse Int Source #
- - | The response status code.