EC2 / Client / disassociate_ipam_byoasn
disassociate_ipam_byoasn#
- EC2.Client.disassociate_ipam_byoasn(**kwargs)#
- Remove the association between your Autonomous System Number (ASN) and your BYOIP CIDR. You may want to use this action to disassociate an ASN from a CIDR or if you want to swap ASNs. For more information, see Tutorial: Bring your ASN to IPAM in the Amazon VPC IPAM guide. - See also: AWS API Documentation - Request Syntax- response = client.disassociate_ipam_byoasn( DryRun=True|False, Asn='string', Cidr='string' ) - Parameters:
- DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is - DryRunOperation. Otherwise, it is- UnauthorizedOperation.
- Asn (string) – - [REQUIRED] - A public 2-byte or 4-byte ASN. 
- Cidr (string) – - [REQUIRED] - A BYOIP CIDR. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'AsnAssociation': { 'Asn': 'string', 'Cidr': 'string', 'StatusMessage': 'string', 'State': 'disassociated'|'failed-disassociation'|'failed-association'|'pending-disassociation'|'pending-association'|'associated' } } - Response Structure- (dict) – - AsnAssociation (dict) – - An ASN and BYOIP CIDR association. - Asn (string) – - The association’s ASN. 
- Cidr (string) – - The association’s CIDR. 
- StatusMessage (string) – - The association’s status message. 
- State (string) – - The association’s state.