deprovision_public_ipv4_pool_cidr

EC2.Client.deprovision_public_ipv4_pool_cidr(**kwargs)

Deprovision a CIDR from a public IPv4 pool.

See also: AWS API Documentation

Request Syntax

response = client.deprovision_public_ipv4_pool_cidr(
    DryRun=True|False,
    PoolId='string',
    Cidr='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 pool that you want to deprovision the CIDR from.

  • Cidr (string) --

    [REQUIRED]

    The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision with a netmask of /32 . You must rerun this command for each IP address in the CIDR range. If your CIDR is a /24 , you will have to run this command to deprovision each of the 256 IP addresses in the /24 CIDR.

Return type

dict

Returns

Response Syntax

{
    'PoolId': 'string',
    'DeprovisionedAddresses': [
        'string',
    ]
}

Response Structure

  • (dict) --

    • PoolId (string) --

      The ID of the pool that you deprovisioned the CIDR from.

    • DeprovisionedAddresses (list) --

      The deprovisioned CIDRs.

      • (string) --