list_cidr_blocks

Route53.Client.list_cidr_blocks(**kwargs)

Returns a paginated list of location objects and their CIDR blocks.

See also: AWS API Documentation

Request Syntax

response = client.list_cidr_blocks(
    CollectionId='string',
    LocationName='string',
    NextToken='string',
    MaxResults='string'
)
Parameters
  • CollectionId (string) --

    [REQUIRED]

    The UUID of the CIDR collection.

  • LocationName (string) -- The name of the CIDR collection location.
  • NextToken (string) -- An opaque pagination token to indicate where the service is to begin enumerating results.
  • MaxResults (string) -- Maximum number of results you want returned.
Return type

dict

Returns

Response Syntax

{
    'NextToken': 'string',
    'CidrBlocks': [
        {
            'CidrBlock': 'string',
            'LocationName': 'string'
        },
    ]
}

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.

    • CidrBlocks (list) --

      A complex type that contains information about the CIDR blocks.

      • (dict) --

        A complex type that lists the CIDR blocks.

        • CidrBlock (string) --

          Value for the CIDR block.

        • LocationName (string) --

          The location name of the CIDR block.

Exceptions

  • Route53.Client.exceptions.NoSuchCidrCollectionException
  • Route53.Client.exceptions.NoSuchCidrLocationException
  • Route53.Client.exceptions.InvalidInput