describe_application_state

describe_application_state(**kwargs)

Gets the migration status of an application.

See also: AWS API Documentation

Request Syntax

response = client.describe_application_state(
    ApplicationId='string'
)
Parameters
ApplicationId (string) --

[REQUIRED]

The configurationId in Application Discovery Service that uniquely identifies the grouped application.

Return type
dict
Returns
Response Syntax
{
    'ApplicationStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
    'LastUpdatedTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --
    • ApplicationStatus (string) --

      Status of the application - Not Started, In-Progress, Complete.

    • LastUpdatedTime (datetime) --

      The timestamp when the application status was last updated.

Exceptions

  • MigrationHub.Client.exceptions.AccessDeniedException
  • MigrationHub.Client.exceptions.ThrottlingException
  • MigrationHub.Client.exceptions.InternalServerError
  • MigrationHub.Client.exceptions.ServiceUnavailableException
  • MigrationHub.Client.exceptions.InvalidInputException
  • MigrationHub.Client.exceptions.PolicyErrorException
  • MigrationHub.Client.exceptions.ResourceNotFoundException
  • MigrationHub.Client.exceptions.HomeRegionNotSetException