EC2 / Client / delete_public_ipv4_pool
delete_public_ipv4_pool#
- EC2.Client.delete_public_ipv4_pool(**kwargs)#
Delete a public IPv4 pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only.
See also: AWS API Documentation
Request Syntax
response = client.delete_public_ipv4_pool( DryRun=True|False, PoolId='string', NetworkBorderGroup='string' )
- Parameters:
DryRun (boolean) – A check for 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 isUnauthorizedOperation
.PoolId (string) –
[REQUIRED]
The ID of the public IPv4 pool you want to delete.
NetworkBorderGroup (string) – The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
- Return type:
dict
- Returns:
Response Syntax
{ 'ReturnValue': True|False }
Response Structure
(dict) –
ReturnValue (boolean) –
Information about the result of deleting the public IPv4 pool.