:doc:`Route53 <../../route53>` / Client / list_cidr_locations

*******************
list_cidr_locations
*******************



.. py:method:: Route53.Client.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 <https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrLocations>`_  


  **Request Syntax**
  ::

    response = client.list_cidr_locations(
        CollectionId='string',
        NextToken='string',
        MaxResults='string'
    )
    
  :type CollectionId: string
  :param CollectionId: **[REQUIRED]** 

    The CIDR collection ID.

    

  
  :type NextToken: string
  :param NextToken: 

    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.

    

  
  :type MaxResults: string
  :param MaxResults: 

    The maximum number of CIDR collection locations to return in the response.

    

  
  
  :rtype: 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**
  
  *   :py:class:`Route53.Client.exceptions.NoSuchCidrCollectionException`

  
  *   :py:class:`Route53.Client.exceptions.InvalidInput`

  