Skip to content

Release Ipam Pool Allocation

ec2_release_ipam_pool_allocation R Documentation

Release an allocation within an IPAM pool

Description

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 modify_ipam_resource_cidr. For more information, see Release an allocation in the Amazon VPC IPAM User Guide.

All EC2 API actions follow an eventual consistency model.

Usage

ec2_release_ipam_pool_allocation(DryRun, IpamPoolId, Cidr,
  IpamPoolAllocationId)

Arguments

DryRun

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.

IpamPoolId

[required] The ID of the IPAM pool which contains the allocation you want to release.

Cidr

[required] The CIDR of the allocation you want to release.

IpamPoolAllocationId

[required] The ID of the allocation.

Value

A list with the following syntax:

list(
  Success = TRUE|FALSE
)

Request syntax

svc$release_ipam_pool_allocation(
  DryRun = TRUE|FALSE,
  IpamPoolId = "string",
  Cidr = "string",
  IpamPoolAllocationId = "string"
)