MigrationHubStrategyRecommendations / Paginator / ListAnalyzableServers

ListAnalyzableServers#

class MigrationHubStrategyRecommendations.Paginator.ListAnalyzableServers#
paginator = client.get_paginator('list_analyzable_servers')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from MigrationHubStrategyRecommendations.Client.list_analyzable_servers().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    sort='ASC'|'DESC',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • sort (string) – Specifies whether to sort by ascending (ASC) or descending (DESC) order.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

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) –

      A token to resume pagination.