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'
)
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 is UnauthorizedOperation.

  • PoolId (string) –

    [REQUIRED]

    The ID of the public IPv4 pool you want to delete.

Return type:

dict

Returns:

Response Syntax

{
    'ReturnValue': True|False
}

Response Structure

  • (dict) –

    • ReturnValue (boolean) –

      Information about the result of deleting the public IPv4 pool.