AWS Migration Hub

2020/01/07 - AWS Migration Hub - 1 new api methods

Changes  ListApplicationStates API provides a list of all application migration states

ListApplicationStates (new) Link ΒΆ

Lists all the migration statuses for your applications. If you use the optional ApplicationIds parameter, only the migration statuses for those applications will be returned.

See also: AWS API Documentation

Request Syntax

client.list_application_states(
    ApplicationIds=[
        'string',
    ],
    NextToken='string',
    MaxResults=123
)
type ApplicationIds

list

param ApplicationIds

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

  • (string) --

type NextToken

string

param NextToken

If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken .

type MaxResults

integer

param MaxResults

Maximum number of results to be returned per page.

rtype

dict

returns

Response Syntax

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

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.

    • NextToken (string) --

      If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken .