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 to Status : 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.AccessDeniedException
  • MigrationHub.Client.exceptions.ThrottlingException
  • MigrationHub.Client.exceptions.InternalServerError
  • MigrationHub.Client.exceptions.ServiceUnavailableException
  • MigrationHub.Client.exceptions.DryRunOperation
  • MigrationHub.Client.exceptions.UnauthorizedOperation
  • MigrationHub.Client.exceptions.InvalidInputException
  • MigrationHub.Client.exceptions.PolicyErrorException
  • MigrationHub.Client.exceptions.ResourceNotFoundException
  • MigrationHub.Client.exceptions.HomeRegionNotSetException