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

****************
list_cidr_blocks
****************



.. py:method:: Route53.Client.list_cidr_blocks(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrBlocks>`_  


  **Request Syntax**
  ::

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

    The UUID of the CIDR collection.

    

  
  :type LocationName: string
  :param LocationName: 

    The name of the CIDR collection location.

    

  
  :type NextToken: string
  :param NextToken: 

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

    

  
  :type MaxResults: string
  :param MaxResults: 

    Maximum number of results you want returned.

    

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

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

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

  