list_cidr_locations

list_cidr_locations(**kwargs)

Returns a paginated list of CIDR locations for the given collection (metadata only, does not include CIDR blocks).

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The CIDR collection ID.

  • 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 collection locations to return in the response.
Return type

dict

Returns

Response Syntax

{
    'NextToken': 'string',
    'CidrLocations': [
        {
            '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.

    • CidrLocations (list) --

      A complex type that contains information about the list of CIDR locations.

      • (dict) --

        A complex type that contains information about the CIDR location.

        • LocationName (string) --

          A string that specifies a location name.

Exceptions

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