Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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
- data DisassociateSubnetCidrBlock = DisassociateSubnetCidrBlock' {}
- newDisassociateSubnetCidrBlock :: Text -> DisassociateSubnetCidrBlock
- disassociateSubnetCidrBlock_associationId :: Lens' DisassociateSubnetCidrBlock Text
- data DisassociateSubnetCidrBlockResponse = DisassociateSubnetCidrBlockResponse' {}
- newDisassociateSubnetCidrBlockResponse :: Int -> DisassociateSubnetCidrBlockResponse
- disassociateSubnetCidrBlockResponse_ipv6CidrBlockAssociation :: Lens' DisassociateSubnetCidrBlockResponse (Maybe SubnetIpv6CidrBlockAssociation)
- disassociateSubnetCidrBlockResponse_subnetId :: Lens' DisassociateSubnetCidrBlockResponse (Maybe Text)
- disassociateSubnetCidrBlockResponse_httpStatus :: Lens' DisassociateSubnetCidrBlockResponse Int
Creating a Request
data DisassociateSubnetCidrBlock Source #
See: newDisassociateSubnetCidrBlock
smart constructor.
DisassociateSubnetCidrBlock' | |
|
Instances
newDisassociateSubnetCidrBlock Source #
Create a value of DisassociateSubnetCidrBlock
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:
DisassociateSubnetCidrBlock
, disassociateSubnetCidrBlock_associationId
- The association ID for the CIDR block.
Request Lenses
disassociateSubnetCidrBlock_associationId :: Lens' DisassociateSubnetCidrBlock Text Source #
The association ID for the CIDR block.
Destructuring the Response
data DisassociateSubnetCidrBlockResponse Source #
See: newDisassociateSubnetCidrBlockResponse
smart constructor.
DisassociateSubnetCidrBlockResponse' | |
|
Instances
newDisassociateSubnetCidrBlockResponse Source #
Create a value of DisassociateSubnetCidrBlockResponse
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:ipv6CidrBlockAssociation:DisassociateSubnetCidrBlockResponse'
, disassociateSubnetCidrBlockResponse_ipv6CidrBlockAssociation
- Information about the IPv6 CIDR block association.
DisassociateSubnetCidrBlockResponse
, disassociateSubnetCidrBlockResponse_subnetId
- The ID of the subnet.
$sel:httpStatus:DisassociateSubnetCidrBlockResponse'
, disassociateSubnetCidrBlockResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateSubnetCidrBlockResponse_ipv6CidrBlockAssociation :: Lens' DisassociateSubnetCidrBlockResponse (Maybe SubnetIpv6CidrBlockAssociation) Source #
Information about the IPv6 CIDR block association.
disassociateSubnetCidrBlockResponse_subnetId :: Lens' DisassociateSubnetCidrBlockResponse (Maybe Text) Source #
The ID of the subnet.
disassociateSubnetCidrBlockResponse_httpStatus :: Lens' DisassociateSubnetCidrBlockResponse Int Source #
The response's http status code.