MigrationHub / Client / notify_application_state
notify_application_state#
- MigrationHub.Client.notify_application_state(**kwargs)#
Sets the migration state of an application. For a given application identified by the value passed to
ApplicationId, its status is set or updated by passing one of three values toStatus:NOT_STARTED | IN_PROGRESS | COMPLETED.See also: AWS API Documentation
Request Syntax
response = client.notify_application_state( ApplicationId='string', Status='NOT_STARTED'|'IN_PROGRESS'|'COMPLETED', UpdateDateTime=datetime(2015, 1, 1), DryRun=True|False )
- Parameters:
ApplicationId (string) –
[REQUIRED]
The configurationId in Application Discovery Service that uniquely identifies the grouped application.
Status (string) –
[REQUIRED]
Status of the application - Not Started, In-Progress, Complete.
UpdateDateTime (datetime) – The timestamp when the application state changed.
DryRun (boolean) – Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
MigrationHub.Client.exceptions.AccessDeniedExceptionMigrationHub.Client.exceptions.ThrottlingExceptionMigrationHub.Client.exceptions.InternalServerErrorMigrationHub.Client.exceptions.ServiceUnavailableExceptionMigrationHub.Client.exceptions.DryRunOperationMigrationHub.Client.exceptions.UnauthorizedOperationMigrationHub.Client.exceptions.InvalidInputExceptionMigrationHub.Client.exceptions.PolicyErrorExceptionMigrationHub.Client.exceptions.ResourceNotFoundExceptionMigrationHub.Client.exceptions.HomeRegionNotSetException