start_workflow

start_workflow(**kwargs)

Start a migration workflow.

See also: AWS API Documentation

Request Syntax

response = client.start_workflow(
    id='string'
)
Parameters
id (string) --

[REQUIRED]

The ID of the migration workflow.

Return type
dict
Returns
Response Syntax
{
    'id': 'string',
    'arn': 'string',
    'status': 'CREATING'|'NOT_STARTED'|'CREATION_FAILED'|'STARTING'|'IN_PROGRESS'|'WORKFLOW_FAILED'|'PAUSED'|'PAUSING'|'PAUSING_FAILED'|'USER_ATTENTION_REQUIRED'|'DELETING'|'DELETION_FAILED'|'DELETED'|'COMPLETED',
    'statusMessage': 'string',
    'lastStartTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --
    • id (string) --

      The ID of the migration workflow.

    • arn (string) --

      The Amazon Resource Name (ARN) of the migration workflow.

    • status (string) --

      The status of the migration workflow.

    • statusMessage (string) --

      The status message of the migration workflow.

    • lastStartTime (datetime) --

      The time at which the migration workflow was last started.

Exceptions

  • MigrationHubOrchestrator.Client.exceptions.ThrottlingException
  • MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
  • MigrationHubOrchestrator.Client.exceptions.InternalServerException
  • MigrationHubOrchestrator.Client.exceptions.ValidationException
  • MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException