MigrationHub / Paginator / ListApplicationStates

ListApplicationStates#

class MigrationHub.Paginator.ListApplicationStates#
paginator = client.get_paginator('list_application_states')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from MigrationHub.Client.list_application_states().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ApplicationIds=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ApplicationIds (list) –

    The configurationIds from the Application Discovery Service that uniquely identifies your applications.

    • (string) –

  • 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

{
    'ApplicationStateList': [
        {
            'ApplicationId': 'string',
            'ApplicationStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
            'LastUpdatedTime': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • ApplicationStateList (list) –

      A list of Applications that exist in Application Discovery Service.

      • (dict) –

        The state of an application discovered through Migration Hub import, the AWS Agentless Discovery Connector, or the AWS Application Discovery Agent.

        • ApplicationId (string) –

          The configurationId from the Application Discovery Service that uniquely identifies an application.

        • ApplicationStatus (string) –

          The current status of an application.

        • LastUpdatedTime (datetime) –

          The timestamp when the application status was last updated.