get_ipam_policy_organization_targets
¶
get_ipam_policy_organization_targets(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
max_results: Optional[IpamMaxResults] = None,
next_token: Optional[NextToken] = None,
ipam_policy_id: Optional[IpamPolicyId] = None,
filters: Optional[FilterList] = None,
) -> GetIpamPolicyOrganizationTargetsResult
Gets the Amazon Web Services Organizations targets for an IPAM policy.
An IPAM policy is a set of rules that define how public IPv4 addresses from IPAM pools are allocated to Amazon Web Services resources. Each rule maps an Amazon Web Services service to IPAM pools that the service will use to get IP addresses. A single policy can have multiple rules and be applied to multiple Amazon Web Services Regions. If the IPAM pool run out of addresses then the services fallback to Amazon-provided IP addresses. A policy can be applied to an individual Amazon Web Services account or an entity within Amazon Web Services Organizations.
A target can be an individual Amazon Web Services account or an entity within an Amazon Web Services Organization to which an IPAM policy can be applied.
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. -
max_results(Optional[IpamMaxResults], default:None) –The maximum number of results to return in a single call.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
-
ipam_policy_id(Optional[IpamPolicyId], default:None) –The ID of the IPAM policy for which to get Amazon Web Services Organizations targets.
-
filters(Optional[FilterList], default:None) –One or more filters for the Amazon Web Services Organizations targets.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
44837 44838 44839 44840 44841 44842 44843 44844 44845 44846 44847 44848 44849 44850 44851 44852 44853 44854 44855 44856 44857 44858 44859 44860 44861 44862 44863 44864 44865 44866 44867 44868 44869 44870 44871 44872 44873 44874 44875 44876 44877 44878 44879 44880 44881 44882 44883 44884 44885 44886 44887 44888 44889 44890 44891 44892 44893 44894 44895 | |