Method: Aws::MigrationHub::Client#notify_application_state

Defined in:
lib/aws-sdk-migrationhub/client.rb

#notify_application_state(params = {}) ⇒ Struct

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`.

Examples:

Request syntax with placeholder values


resp = client.notify_application_state({
  application_id: "ApplicationId", # required
  status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, COMPLETED
  update_date_time: Time.now,
  dry_run: false,
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :application_id (required, String)

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

  • :status (required, String)

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

  • :update_date_time (Time, DateTime, Date, Integer, String)

    The timestamp when the application state changed.

  • :dry_run (Boolean)

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

Returns:

  • (Struct)

    Returns an empty response.

See Also:



1370
1371
1372
1373
# File 'lib/aws-sdk-migrationhub/client.rb', line 1370

def notify_application_state(params = {}, options = {})
  req = build_request(:notify_application_state, params)
  req.send_request(options)
end