MigrationHubOrchestrator.Client.
get_workflow
(**kwargs)¶Get migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.get_workflow(
id='string'
)
[REQUIRED]
The ID of the migration workflow.
{
'id': 'string',
'arn': 'string',
'name': 'string',
'description': 'string',
'templateId': 'string',
'adsApplicationConfigurationId': 'string',
'adsApplicationName': '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',
'creationTime': datetime(2015, 1, 1),
'lastStartTime': datetime(2015, 1, 1),
'lastStopTime': datetime(2015, 1, 1),
'lastModifiedTime': datetime(2015, 1, 1),
'endTime': datetime(2015, 1, 1),
'tools': [
{
'name': 'string',
'url': 'string'
},
],
'totalSteps': 123,
'completedSteps': 123,
'workflowInputs': {
'string': {
'integerValue': 123,
'stringValue': 'string',
'listOfStringsValue': [
'string',
],
'mapOfStringValue': {
'string': 'string'
}
}
},
'tags': {
'string': 'string'
},
'workflowBucket': 'string'
}
Response Structure
The ID of the migration workflow.
The Amazon Resource Name (ARN) of the migration workflow.
The name of the migration workflow.
The description of the migration workflow.
The ID of the template.
The configuration ID of the application configured in Application Discovery Service.
The name of the application configured in Application Discovery Service.
The status of the migration workflow.
The status message of the migration workflow.
The time at which the migration workflow was created.
The time at which the migration workflow was last started.
The time at which the migration workflow was last stopped.
The time at which the migration workflow was last modified.
The time at which the migration workflow ended.
List of AWS services utilized in a migration workflow.
List of AWS services utilized in a migration workflow.
The name of an AWS service.
The URL of an AWS service.
The total number of steps in the migration workflow.
Get a list of completed steps in the migration workflow.
The inputs required for creating the migration workflow.
A map of key value pairs that is generated when you create a migration workflow. The key value pairs will differ based on your selection of the template.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: integerValue
, stringValue
, listOfStringsValue
, mapOfStringValue
. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER
is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
The value of the integer.
String value.
List of string values.
Map of string values.
The tags added to the migration workflow.
The Amazon S3 bucket where the migration logs are stored.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException