EC2 / Paginator / GetIpamPrefixListResolverVersions

GetIpamPrefixListResolverVersions

class EC2.Paginator.GetIpamPrefixListResolverVersions
paginator = client.get_paginator('get_ipam_prefix_list_resolver_versions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from EC2.Client.get_ipam_prefix_list_resolver_versions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    DryRun=True|False,
    IpamPrefixListResolverId='string',
    IpamPrefixListResolverVersions=[
        123,
    ],
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • DryRun (boolean) – 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.

  • IpamPrefixListResolverId (string) –

    [REQUIRED]

    The ID of the IPAM prefix list resolver whose versions you want to retrieve.

  • IpamPrefixListResolverVersions (list) –

    Specific version numbers to retrieve. If not specified, all versions are returned.

    • (integer) –

  • Filters (list) –

    One or more filters to limit the results.

    • (dict) –

      A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

      If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

      For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.

      • Name (string) –

        The name of the filter. Filter names are case-sensitive.

      • Values (list) –

        The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

        • (string) –

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'IpamPrefixListResolverVersions': [
        {
            'Version': 123
        },
    ],

}

Response Structure

  • (dict) –

    • IpamPrefixListResolverVersions (list) –

      Information about the IPAM prefix list resolver versions.

      • (dict) –

        Describes a version of 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

        • Version (integer) –

          The version number of the 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.