:doc:`drs <../../drs>` / Client / list_extensible_source_servers

******************************
list_extensible_source_servers
******************************



.. py:method:: drs.Client.list_extensible_source_servers(**kwargs)

  

  Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListExtensibleSourceServers>`_  


  **Request Syntax**
  ::

    response = client.list_extensible_source_servers(
        maxResults=123,
        nextToken='string',
        stagingAccountID='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of extensible source servers to retrieve.

    

  
  :type nextToken: string
  :param nextToken: 

    The token of the next extensible source server to retrieve.

    

  
  :type stagingAccountID: string
  :param stagingAccountID: **[REQUIRED]** 

    The Id of the staging Account to retrieve extensible source servers from.

    

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

    
    ::

      {
          'items': [
              {
                  'arn': 'string',
                  'hostname': 'string',
                  'tags': {
                      'string': 'string'
                  }
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **items** *(list) --* 

        A list of source servers on a staging Account that are extensible.

        
        

        - *(dict) --* 

          Source server in staging account that extended source server connected to.

          
          

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

            The ARN of the source server.

            
          

          - **hostname** *(string) --* 

            Hostname of staging source server.

            
          

          - **tags** *(dict) --* 

            A list of tags associated with the staging source server.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
      
    
      

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

        The token of the next extensible source server to retrieve.

        
  
  **Exceptions**
  
  *   :py:class:`drs.Client.exceptions.InternalServerException`

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

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

  
  *   :py:class:`drs.Client.exceptions.ValidationException`

  
  *   :py:class:`drs.Client.exceptions.UninitializedAccountException`

  