:doc:`MigrationHubStrategyRecommendations <../../migrationhubstrategy>` / Client / list_analyzable_servers

***********************
list_analyzable_servers
***********************



.. py:method:: MigrationHubStrategyRecommendations.Client.list_analyzable_servers(**kwargs)

  

  Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListAnalyzableServers>`_  


  **Request Syntax**
  ::

    response = client.list_analyzable_servers(
        maxResults=123,
        nextToken='string',
        sort='ASC'|'DESC'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of items to include in the response. The maximum value is 100.

    

  
  :type nextToken: string
  :param nextToken: 

    The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

    

  
  :type sort: string
  :param sort: 

    Specifies whether to sort by ascending (ASC) or descending (DESC) order.

    

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

    
    ::

      {
          'analyzableServers': [
              {
                  'hostname': 'string',
                  'ipAddress': 'string',
                  'source': 'string',
                  'vmId': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Represents output for ListAnalyzableServers operation.

      
      

      - **analyzableServers** *(list) --* 

        The list of analyzable servers with summary information about each server.

        
        

        - *(dict) --* 

          Summary information about an analyzable server.

          
          

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

            The host name of the analyzable server.

            
          

          - **ipAddress** *(string) --* 

            The ip address of the analyzable server.

            
          

          - **source** *(string) --* 

            The data source of the analyzable server.

            
          

          - **vmId** *(string) --* 

            The virtual machine id of the analyzable server.

            
      
    
      

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

        The token you use to retrieve the next set of results, or null if there are no more results.

        
  
  **Exceptions**
  
  *   :py:class:`MigrationHubStrategyRecommendations.Client.exceptions.AccessDeniedException`

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

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

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

  