get_coip_pool_usage
async
¶
get_coip_pool_usage(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
pool_id: Optional[Ipv4PoolCoipId] = None,
filters: Optional[FilterList] = None,
max_results: Optional[CoipPoolMaxResults] = None,
next_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> GetCoipPoolUsageResult
Describes the allocations from the specified customer-owned address pool.
Parameters:
-
pool_id(Optional[Ipv4PoolCoipId], default:None) –The ID of the address pool.
-
filters(Optional[FilterList], default:None) –One or more filters.
-
coip-address-usage.allocation-id- The allocation ID of the address. -
coip-address-usage.aws-account-id- The ID of the Amazon Web Services account that is using the customer-owned IP address. -
coip-address-usage.aws-service- The Amazon Web Services service that is using the customer-owned IP address. -
coip-address-usage.co-ip- The customer-owned IP address.
-
-
max_results(Optional[CoipPoolMaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[String], default:None) –The token for the next page of results.
-
dry_run(Optional[Boolean], default:None) –Checks 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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
43812 43813 43814 43815 43816 43817 43818 43819 43820 43821 43822 43823 43824 43825 43826 43827 43828 43829 43830 43831 43832 43833 43834 43835 43836 43837 43838 43839 43840 43841 43842 43843 43844 43845 43846 43847 43848 43849 43850 43851 43852 43853 43854 43855 43856 43857 43858 43859 43860 43861 43862 43863 43864 43865 43866 43867 43868 43869 43870 43871 43872 43873 | |