get_ipam_prefix_list_resolver_versions
async
¶
get_ipam_prefix_list_resolver_versions(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_prefix_list_resolver_id: Optional[IpamPrefixListResolverId] = None,
ipam_prefix_list_resolver_versions: Optional[
IpamPrefixListResolverVersionNumberSet
] = None,
max_results: Optional[IpamMaxResults] = None,
filters: Optional[FilterList] = None,
next_token: Optional[NextToken] = None,
) -> GetIpamPrefixListResolverVersionsResult
Retrieves version information for an IPAM prefix list resolver.
Each version is a snapshot of what CIDRs matched your rules at that moment in time. The version number increments every time the CIDR list changes due to infrastructure changes.
Version example:
Initial State (Version 1)
Production environment:
-
vpc-prod-web (10.1.0.0/16) - tagged env=prod
-
vpc-prod-db (10.2.0.0/16) - tagged env=prod
Resolver rule: Include all VPCs tagged env=prod
Version 1 CIDRs: 10.1.0.0/16, 10.2.0.0/16
Infrastructure Change (Version 2)
New VPC added:
-
vpc-prod-api (10.3.0.0/16) - tagged env=prod
IPAM automatically detects the change and creates a new version.
Version 2 CIDRs: 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16
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_prefix_list_resolver_id(Optional[IpamPrefixListResolverId], default:None) –The ID of the IPAM prefix list resolver whose versions you want to retrieve.
-
ipam_prefix_list_resolver_versions(Optional[IpamPrefixListResolverVersionNumberSet], default:None) –Specific version numbers to retrieve. If not specified, all versions are returned.
-
max_results(Optional[IpamMaxResults], default:None) –The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
filters(Optional[FilterList], default:None) –One or more filters to limit the results.
-
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
45894 45895 45896 45897 45898 45899 45900 45901 45902 45903 45904 45905 45906 45907 45908 45909 45910 45911 45912 45913 45914 45915 45916 45917 45918 45919 45920 45921 45922 45923 45924 45925 45926 45927 45928 45929 45930 45931 45932 45933 45934 45935 45936 45937 45938 45939 45940 45941 45942 45943 45944 45945 45946 45947 45948 45949 45950 45951 45952 45953 45954 45955 45956 45957 45958 45959 45960 45961 45962 45963 | |