EC2.Client.
disassociate_subnet_cidr_block
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_subnet_cidr_block(
AssociationId='string'
)
[REQUIRED]
The association ID for the CIDR block.
{
'Ipv6CidrBlockAssociation': {
'AssociationId': 'string',
'Ipv6CidrBlock': 'string',
'Ipv6CidrBlockState': {
'State': 'associating'|'associated'|'disassociating'|'disassociated'|'failing'|'failed',
'StatusMessage': 'string'
}
},
'SubnetId': 'string'
}
Response Structure
Information about the IPv6 CIDR block association.
The ID of the association.
The IPv6 CIDR block.
The state of the CIDR block.
The state of a CIDR block.
A message about the status of the CIDR block, if applicable.
The ID of the subnet.