get_ipam_pool_allocations
async
¶
get_ipam_pool_allocations(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_pool_id: Optional[IpamPoolId] = None,
ipam_pool_allocation_id: Optional[IpamPoolAllocationId] = None,
filters: Optional[FilterList] = None,
max_results: Optional[GetIpamPoolAllocationsMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> GetIpamPoolAllocationsResult
Get a list of all the CIDR allocations in 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.
If you use this action after AllocateIpamPoolCidr or ReleaseIpamPoolAllocation, note that all EC2 API actions follow an eventual consistency model.
Parameters:
-
dry_run(Optional[Boolean], default: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 isUnauthorizedOperation. -
ipam_pool_id(Optional[IpamPoolId], default:None) –The ID of the IPAM pool you want to see the allocations for.
-
ipam_pool_allocation_id(Optional[IpamPoolAllocationId], default:None) –The ID of the allocation.
-
filters(Optional[FilterList], default:None) –One or more filters for the request. For more information about filtering, see Filtering CLI output.
-
max_results(Optional[GetIpamPoolAllocationsMaxResults], default:None) –The maximum number of results you would like returned per page.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
45517 45518 45519 45520 45521 45522 45523 45524 45525 45526 45527 45528 45529 45530 45531 45532 45533 45534 45535 45536 45537 45538 45539 45540 45541 45542 45543 45544 45545 45546 45547 45548 45549 45550 45551 45552 45553 45554 45555 45556 45557 45558 45559 45560 45561 45562 45563 45564 45565 45566 45567 45568 45569 45570 45571 45572 45573 45574 45575 45576 45577 45578 45579 45580 45581 45582 45583 45584 | |