Route53 / Client / list_cidr_collections

list_cidr_collections#

Route53.Client.list_cidr_collections(**kwargs)#

Returns a paginated list of CIDR collections in the Amazon Web Services account (metadata only).

See also: AWS API Documentation

Request Syntax

response = client.list_cidr_collections(
    NextToken='string',
    MaxResults='string'
)
Parameters:
  • NextToken (string) –

    An opaque pagination token to indicate where the service is to begin enumerating results.

    If no value is provided, the listing of results starts from the beginning.

  • MaxResults (string) – The maximum number of CIDR collections to return in the response.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'CidrCollections': [
        {
            'Arn': 'string',
            'Id': 'string',
            'Name': 'string',
            'Version': 123
        },
    ]
}

Response Structure

  • (dict) –

    • NextToken (string) –

      An opaque pagination token to indicate where the service is to begin enumerating results.

      If no value is provided, the listing of results starts from the beginning.

    • CidrCollections (list) –

      A complex type with information about the CIDR collection.

      • (dict) –

        A complex type that is an entry in an CidrCollection array.

        • Arn (string) –

          The ARN of the collection summary. Can be used to reference the collection in IAM policy or cross-account.

        • Id (string) –

          Unique ID for the CIDR collection.

        • Name (string) –

          The name of a CIDR collection.

        • Version (integer) –

          A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each time you update settings for the CIDR collection.

Exceptions

  • Route53.Client.exceptions.InvalidInput