:doc:`ControlTower <../../controltower>` / Client / list_landing_zones

******************
list_landing_zones
******************



.. py:method:: ControlTower.Client.list_landing_zones(**kwargs)

  

  Returns the landing zone ARN for the landing zone deployed in your managed account. This API also creates an ARN for existing accounts that do not yet have a landing zone ARN.

   

  Returns one landing zone ARN.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListLandingZones>`_  


  **Request Syntax**
  ::

    response = client.list_landing_zones(
        nextToken='string',
        maxResults=123
    )
    
  :type nextToken: string
  :param nextToken: 

    The token to continue the list from a previous API call with the same parameters.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of returned landing zone ARNs, which is one.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'landingZones': [
              {
                  'arn': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **landingZones** *(list) --* 

        The ARN of the landing zone.

        
        

        - *(dict) --* 

          Returns a summary of information about a landing zone.

          
          

          - **arn** *(string) --* 

            The ARN of the landing zone.

            
      
    
      

      - **nextToken** *(string) --* 

        Retrieves the next page of results. If the string is empty, the response is the end of the results.

        
  
  **Exceptions**
  
  *   :py:class:`ControlTower.Client.exceptions.ValidationException`

  
  *   :py:class:`ControlTower.Client.exceptions.InternalServerException`

  
  *   :py:class:`ControlTower.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ControlTower.Client.exceptions.ThrottlingException`

  