release_ipam_pool_allocation¶
Operation¶
release_ipam_pool_allocation
async
¶
release_ipam_pool_allocation(input: ReleaseIpamPoolAllocationInput, plugins: list[Plugin] | None = None) -> ReleaseIpamPoolAllocationOutput
Release an allocation within an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations. 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.
Note
All EC2 API actions follow an eventual consistency model.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ReleaseIpamPoolAllocationInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
ReleaseIpamPoolAllocationOutput
|
An instance of |
Input¶
ReleaseIpamPoolAllocationInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ReleaseIpamPoolAllocationInput structure.
Attributes¶
cidr
class-attribute
instance-attribute
¶
cidr: str | None = ...
The CIDR of the allocation you want to release.
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
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.
Output¶
ReleaseIpamPoolAllocationOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ReleaseIpamPoolAllocationOutput structure.