AWS Migration Hub

2019/11/20 - AWS Migration Hub - 1 updated api methods

Changes  Update mgh client to latest version

NotifyApplicationState (updated) Link ΒΆ
Changes (request)
{'UpdateDateTime': 'timestamp'}

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

client.notify_application_state(
    ApplicationId='string',
    Status='NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
    UpdateDateTime=datetime(2015, 1, 1),
    DryRun=True|False
)
type ApplicationId:

string

param ApplicationId:

[REQUIRED]

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

type Status:

string

param Status:

[REQUIRED]

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

type UpdateDateTime:

datetime

param UpdateDateTime:

The timestamp when the application state changed.

type DryRun:

boolean

param DryRun:

Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --