EC2.Client.
release_ipam_pool_allocation
(**kwargs)¶Release an allocation within an IPAM pool. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using ModifyIpamResourceCidr. For more information, see Release an allocation in the Amazon VPC IPAM User Guide .
See also: AWS API Documentation
Request Syntax
response = client.release_ipam_pool_allocation(
DryRun=True|False,
IpamPoolId='string',
Cidr='string',
IpamPoolAllocationId='string'
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the IPAM pool which contains the allocation you want to release.
[REQUIRED]
The CIDR of the allocation you want to release.
[REQUIRED]
The ID of the allocation.
dict
Response Syntax
{
'Success': True|False
}
Response Structure
(dict) --
Success (boolean) --
Indicates if the release was successful.