Table of Contents
MigrationHubOrchestrator.
Client
¶A low-level client representing AWS Migration Hub Orchestrator
This API reference provides descriptions, syntax, and other details about each of the actions and data types for AWS Migration Hub Orchestrator. he topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using.
import boto3
client = boto3.client('migrationhuborchestrator')
These are the available methods:
can_paginate()
close()
create_workflow()
create_workflow_step()
create_workflow_step_group()
delete_workflow()
delete_workflow_step()
delete_workflow_step_group()
get_paginator()
get_template()
get_template_step()
get_template_step_group()
get_waiter()
get_workflow()
get_workflow_step()
get_workflow_step_group()
list_plugins()
list_tags_for_resource()
list_template_step_groups()
list_template_steps()
list_templates()
list_workflow_step_groups()
list_workflow_steps()
list_workflows()
retry_workflow_step()
start_workflow()
stop_workflow()
tag_resource()
untag_resource()
update_workflow()
update_workflow_step()
update_workflow_step_group()
can_paginate
(operation_name)¶Check if an operation can be paginated.
create_foo
, and you'd normally invoke the
operation as client.create_foo(**kwargs)
, if the
create_foo
operation can be paginated, you can use the
call client.get_paginator("create_foo")
.True
if the operation can be paginated,
False
otherwise.close
()¶Closes underlying endpoint connections.
create_workflow
(**kwargs)¶Create a workflow to orchestrate your migrations.
See also: AWS API Documentation
Request Syntax
response = client.create_workflow(
name='string',
description='string',
templateId='string',
applicationConfigurationId='string',
inputParameters={
'string': {
'integerValue': 123,
'stringValue': 'string',
'listOfStringsValue': [
'string',
],
'mapOfStringValue': {
'string': 'string'
}
}
},
stepTargets=[
'string',
],
tags={
'string': 'string'
}
)
[REQUIRED]
The name of the migration workflow.
[REQUIRED]
The ID of the template.
[REQUIRED]
The configuration ID of the application configured in Application Discovery Service.
[REQUIRED]
The input parameters required to create a 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 can be set: integerValue
, stringValue
, listOfStringsValue
, mapOfStringValue
.
The value of the integer.
String value.
List of string values.
Map of string values.
The servers on which a step will be run.
The tags to add on a migration workflow.
dict
Response Syntax
{
'id': 'string',
'arn': 'string',
'name': 'string',
'description': 'string',
'templateId': 'string',
'adsApplicationConfigurationId': 'string',
'workflowInputs': {
'string': {
'integerValue': 123,
'stringValue': 'string',
'listOfStringsValue': [
'string',
],
'mapOfStringValue': {
'string': 'string'
}
}
},
'stepTargets': [
'string',
],
'status': 'CREATING'|'NOT_STARTED'|'CREATION_FAILED'|'STARTING'|'IN_PROGRESS'|'WORKFLOW_FAILED'|'PAUSED'|'PAUSING'|'PAUSING_FAILED'|'USER_ATTENTION_REQUIRED'|'DELETING'|'DELETION_FAILED'|'DELETED'|'COMPLETED',
'creationTime': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
id (string) --
The ID of the migration workflow.
arn (string) --
The Amazon Resource Name (ARN) of the migration workflow.
name (string) --
The name of the migration workflow.
description (string) --
The description of the migration workflow.
templateId (string) --
The ID of the template.
adsApplicationConfigurationId (string) --
The configuration ID of the application configured in Application Discovery Service.
workflowInputs (dict) --
The inputs for creating a migration workflow.
(string) --
(dict) --
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'}
integerValue (integer) --
The value of the integer.
stringValue (string) --
String value.
listOfStringsValue (list) --
List of string values.
mapOfStringValue (dict) --
Map of string values.
stepTargets (list) --
The servers on which a step will be run.
status (string) --
The status of the migration workflow.
creationTime (datetime) --
The time at which the migration workflow was created.
tags (dict) --
The tags to add on a migration workflow.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
create_workflow_step
(**kwargs)¶Create a step in the migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.create_workflow_step(
name='string',
stepGroupId='string',
workflowId='string',
stepActionType='MANUAL'|'AUTOMATED',
description='string',
workflowStepAutomationConfiguration={
'scriptLocationS3Bucket': 'string',
'scriptLocationS3Key': {
'linux': 'string',
'windows': 'string'
},
'command': {
'linux': 'string',
'windows': 'string'
},
'runEnvironment': 'AWS'|'ONPREMISE',
'targetType': 'SINGLE'|'ALL'|'NONE'
},
stepTarget=[
'string',
],
outputs=[
{
'name': 'string',
'dataType': 'STRING'|'INTEGER'|'STRINGLIST'|'STRINGMAP',
'required': True|False,
'value': {
'integerValue': 123,
'stringValue': 'string',
'listOfStringValue': [
'string',
]
}
},
],
previous=[
'string',
],
next=[
'string',
]
)
[REQUIRED]
The name of the step.
[REQUIRED]
The ID of the step group.
[REQUIRED]
The ID of the migration workflow.
[REQUIRED]
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
The custom script to run tests on source or target environments.
The Amazon S3 bucket where the script is located.
The Amazon S3 key for the script location.
The script location for Linux.
The script location for Windows.
The command required to run the script.
Command for Linux.
Command for Windows.
The source or target environment.
The servers on which to run the script.
The servers on which a step will be run.
The key value pairs added for the expected output.
The output of a step.
The name of the step.
The data type of the output.
Determine if an output is required from a step.
The value of the output.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: integerValue
, stringValue
, listOfStringValue
.
The integer value.
The string value.
The list of string value.
The previous step.
The next step.
dict
Response Syntax
{
'id': 'string',
'stepGroupId': 'string',
'workflowId': 'string',
'name': 'string'
}
Response Structure
(dict) --
id (string) --
The ID of the step.
stepGroupId (string) --
The ID of the step group.
workflowId (string) --
The ID of the migration workflow.
name (string) --
The name of the step.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
create_workflow_step_group
(**kwargs)¶Create a step group in a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.create_workflow_step_group(
workflowId='string',
name='string',
description='string',
next=[
'string',
],
previous=[
'string',
]
)
[REQUIRED]
The ID of the migration workflow that will contain the step group.
[REQUIRED]
The name of the step group.
The next step group.
The previous step group.
dict
Response Syntax
{
'workflowId': 'string',
'name': 'string',
'id': 'string',
'description': 'string',
'tools': [
{
'name': 'string',
'url': 'string'
},
],
'next': [
'string',
],
'previous': [
'string',
],
'creationTime': datetime(2015, 1, 1)
}
Response Structure
(dict) --
workflowId (string) --
The ID of the migration workflow that contains the step group.
name (string) --
The name of the step group.
id (string) --
The ID of the step group.
description (string) --
The description of the step group.
tools (list) --
List of AWS services utilized in a migration workflow.
(dict) --
List of AWS services utilized in a migration workflow.
name (string) --
The name of an AWS service.
url (string) --
The URL of an AWS service.
next (list) --
The next step group.
previous (list) --
The previous step group.
creationTime (datetime) --
The time at which the step group is created.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
delete_workflow
(**kwargs)¶Delete a migration workflow. You must pause a running workflow in Migration Hub Orchestrator console to delete it.
See also: AWS API Documentation
Request Syntax
response = client.delete_workflow(
id='string'
)
[REQUIRED]
The ID of the migration workflow you want to delete.
{
'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'
}
Response Structure
The ID of the migration workflow.
The Amazon Resource Name (ARN) of the migration workflow.
The status of the migration workflow.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
delete_workflow_step
(**kwargs)¶Delete a step in a migration workflow. Pause the workflow to delete a running step.
See also: AWS API Documentation
Request Syntax
response = client.delete_workflow_step(
id='string',
stepGroupId='string',
workflowId='string'
)
[REQUIRED]
The ID of the step you want to delete.
[REQUIRED]
The ID of the step group that contains the step you want to delete.
[REQUIRED]
The ID of the migration workflow.
dict
Response Syntax
{}
Response Structure
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
delete_workflow_step_group
(**kwargs)¶Delete a step group in a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.delete_workflow_step_group(
workflowId='string',
id='string'
)
[REQUIRED]
The ID of the migration workflow.
[REQUIRED]
The ID of the step group you want to delete.
dict
Response Syntax
{}
Response Structure
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
get_paginator
(operation_name)¶Create a paginator for an operation.
create_foo
, and you'd normally invoke the
operation as client.create_foo(**kwargs)
, if the
create_foo
operation can be paginated, you can use the
call client.get_paginator("create_foo")
.client.can_paginate
method to
check if an operation is pageable.get_template
(**kwargs)¶Get the template you want to use for creating a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.get_template(
id='string'
)
[REQUIRED]
The ID of the template.
{
'id': 'string',
'name': 'string',
'description': 'string',
'inputs': [
{
'inputName': 'string',
'dataType': 'STRING'|'INTEGER'|'STRINGLIST'|'STRINGMAP',
'required': True|False
},
],
'tools': [
{
'name': 'string',
'url': 'string'
},
],
'status': 'CREATED',
'creationTime': datetime(2015, 1, 1)
}
Response Structure
The ID of the template.
The name of the template.
The time at which the template was last created.
The inputs provided for the creation of the migration workflow.
The input parameters of a template.
The name of the template.
The data type of the template input.
Determine if an input is required from the template.
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 status of the template.
The time at which the template was last created.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
get_template_step
(**kwargs)¶Get a specific step in a template.
See also: AWS API Documentation
Request Syntax
response = client.get_template_step(
id='string',
templateId='string',
stepGroupId='string'
)
[REQUIRED]
The ID of the step.
[REQUIRED]
The ID of the template.
[REQUIRED]
The ID of the step group.
dict
Response Syntax
{
'id': 'string',
'stepGroupId': 'string',
'templateId': 'string',
'name': 'string',
'description': 'string',
'stepActionType': 'MANUAL'|'AUTOMATED',
'creationTime': 'string',
'previous': [
'string',
],
'next': [
'string',
],
'outputs': [
{
'name': 'string',
'dataType': 'STRING'|'INTEGER'|'STRINGLIST'|'STRINGMAP',
'required': True|False
},
],
'stepAutomationConfiguration': {
'scriptLocationS3Bucket': 'string',
'scriptLocationS3Key': {
'linux': 'string',
'windows': 'string'
},
'command': {
'linux': 'string',
'windows': 'string'
},
'runEnvironment': 'AWS'|'ONPREMISE',
'targetType': 'SINGLE'|'ALL'|'NONE'
}
}
Response Structure
(dict) --
id (string) --
The ID of the step.
stepGroupId (string) --
The ID of the step group.
templateId (string) --
The ID of the template.
name (string) --
The name of the step.
description (string) --
The description of the step.
stepActionType (string) --
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
creationTime (string) --
The time at which the step was created.
previous (list) --
The previous step.
next (list) --
The next step.
outputs (list) --
The outputs of the step.
(dict) --
The output of the step.
name (string) --
The name of the step.
dataType (string) --
The data type of the step output.
required (boolean) --
Determine if an output is required from a step.
stepAutomationConfiguration (dict) --
The custom script to run tests on source or target environments.
scriptLocationS3Bucket (string) --
The Amazon S3 bucket where the script is located.
scriptLocationS3Key (dict) --
The Amazon S3 key for the script location.
linux (string) --
The script location for Linux.
windows (string) --
The script location for Windows.
command (dict) --
The command to run the script.
linux (string) --
Command for Linux.
windows (string) --
Command for Windows.
runEnvironment (string) --
The source or target environment.
targetType (string) --
The servers on which to run the script.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
get_template_step_group
(**kwargs)¶Get a step group in a template.
See also: AWS API Documentation
Request Syntax
response = client.get_template_step_group(
templateId='string',
id='string'
)
[REQUIRED]
The ID of the template.
[REQUIRED]
The ID of the step group.
dict
Response Syntax
{
'templateId': 'string',
'id': 'string',
'name': 'string',
'description': 'string',
'status': 'AWAITING_DEPENDENCIES'|'READY'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'PAUSED'|'PAUSING'|'USER_ATTENTION_REQUIRED',
'creationTime': datetime(2015, 1, 1),
'lastModifiedTime': datetime(2015, 1, 1),
'tools': [
{
'name': 'string',
'url': 'string'
},
],
'previous': [
'string',
],
'next': [
'string',
]
}
Response Structure
(dict) --
templateId (string) --
The ID of the template.
id (string) --
The ID of the step group.
name (string) --
The name of the step group.
description (string) --
The description of the step group.
status (string) --
The status of the step group.
creationTime (datetime) --
The time at which the step group was created.
lastModifiedTime (datetime) --
The time at which the step group was last modified.
tools (list) --
List of AWS services utilized in a migration workflow.
(dict) --
List of AWS services utilized in a migration workflow.
name (string) --
The name of an AWS service.
url (string) --
The URL of an AWS service.
previous (list) --
The previous step group.
next (list) --
The next step group.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
get_waiter
(waiter_name)¶Returns an object that can wait for some condition.
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
get_workflow_step
(**kwargs)¶Get a step in the migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.get_workflow_step(
workflowId='string',
stepGroupId='string',
id='string'
)
[REQUIRED]
The ID of the migration workflow.
[REQUIRED]
desThe ID of the step group.
[REQUIRED]
The ID of the step.
dict
Response Syntax
{
'name': 'string',
'stepGroupId': 'string',
'workflowId': 'string',
'stepId': 'string',
'description': 'string',
'stepActionType': 'MANUAL'|'AUTOMATED',
'owner': 'AWS_MANAGED'|'CUSTOM',
'workflowStepAutomationConfiguration': {
'scriptLocationS3Bucket': 'string',
'scriptLocationS3Key': {
'linux': 'string',
'windows': 'string'
},
'command': {
'linux': 'string',
'windows': 'string'
},
'runEnvironment': 'AWS'|'ONPREMISE',
'targetType': 'SINGLE'|'ALL'|'NONE'
},
'stepTarget': [
'string',
],
'outputs': [
{
'name': 'string',
'dataType': 'STRING'|'INTEGER'|'STRINGLIST'|'STRINGMAP',
'required': True|False,
'value': {
'integerValue': 123,
'stringValue': 'string',
'listOfStringValue': [
'string',
]
}
},
],
'previous': [
'string',
],
'next': [
'string',
],
'status': 'AWAITING_DEPENDENCIES'|'READY'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'PAUSED'|'USER_ATTENTION_REQUIRED',
'statusMessage': 'string',
'scriptOutputLocation': 'string',
'creationTime': datetime(2015, 1, 1),
'lastStartTime': datetime(2015, 1, 1),
'endTime': datetime(2015, 1, 1),
'noOfSrvCompleted': 123,
'noOfSrvFailed': 123,
'totalNoOfSrv': 123
}
Response Structure
(dict) --
name (string) --
The name of the step.
stepGroupId (string) --
The ID of the step group.
workflowId (string) --
The ID of the migration workflow.
stepId (string) --
The ID of the step.
description (string) --
The description of the step.
stepActionType (string) --
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
owner (string) --
The owner of the step.
workflowStepAutomationConfiguration (dict) --
The custom script to run tests on source or target environments.
scriptLocationS3Bucket (string) --
The Amazon S3 bucket where the script is located.
scriptLocationS3Key (dict) --
The Amazon S3 key for the script location.
linux (string) --
The script location for Linux.
windows (string) --
The script location for Windows.
command (dict) --
The command required to run the script.
linux (string) --
Command for Linux.
windows (string) --
Command for Windows.
runEnvironment (string) --
The source or target environment.
targetType (string) --
The servers on which to run the script.
stepTarget (list) --
The servers on which a step will be run.
outputs (list) --
The outputs of the step.
(dict) --
The output of a step.
name (string) --
The name of the step.
dataType (string) --
The data type of the output.
required (boolean) --
Determine if an output is required from a step.
value (dict) --
The value of the output.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: integerValue
, stringValue
, listOfStringValue
. 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'}
integerValue (integer) --
The integer value.
stringValue (string) --
The string value.
listOfStringValue (list) --
The list of string value.
previous (list) --
The previous step.
next (list) --
The next step.
status (string) --
The status of the step.
statusMessage (string) --
The status message of the migration workflow.
scriptOutputLocation (string) --
The output location of the script.
creationTime (datetime) --
The time at which the step was created.
lastStartTime (datetime) --
The time at which the workflow was last started.
endTime (datetime) --
The time at which the step ended.
noOfSrvCompleted (integer) --
The number of servers that have been migrated.
noOfSrvFailed (integer) --
The number of servers that have failed to migrate.
totalNoOfSrv (integer) --
The total number of servers that have been migrated.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
get_workflow_step_group
(**kwargs)¶Get the step group of a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.get_workflow_step_group(
id='string',
workflowId='string'
)
[REQUIRED]
The ID of the step group.
[REQUIRED]
The ID of the migration workflow.
dict
Response Syntax
{
'id': 'string',
'workflowId': 'string',
'name': 'string',
'description': 'string',
'status': 'AWAITING_DEPENDENCIES'|'READY'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'PAUSED'|'PAUSING'|'USER_ATTENTION_REQUIRED',
'owner': 'AWS_MANAGED'|'CUSTOM',
'creationTime': datetime(2015, 1, 1),
'lastModifiedTime': datetime(2015, 1, 1),
'endTime': datetime(2015, 1, 1),
'tools': [
{
'name': 'string',
'url': 'string'
},
],
'previous': [
'string',
],
'next': [
'string',
]
}
Response Structure
(dict) --
id (string) --
The ID of the step group.
workflowId (string) --
The ID of the migration workflow.
name (string) --
The name of the step group.
description (string) --
The description of the step group.
status (string) --
The status of the step group.
owner (string) --
The owner of the step group.
creationTime (datetime) --
The time at which the step group was created.
lastModifiedTime (datetime) --
The time at which the step group was last modified.
endTime (datetime) --
The time at which the step group ended.
tools (list) --
List of AWS services utilized in a migration workflow.
(dict) --
List of AWS services utilized in a migration workflow.
name (string) --
The name of an AWS service.
url (string) --
The URL of an AWS service.
previous (list) --
The previous step group.
next (list) --
The next step group.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
list_plugins
(**kwargs)¶List AWS Migration Hub Orchestrator plugins.
See also: AWS API Documentation
Request Syntax
response = client.list_plugins(
maxResults=123,
nextToken='string'
)
dict
Response Syntax
{
'nextToken': 'string',
'plugins': [
{
'pluginId': 'string',
'hostname': 'string',
'status': 'HEALTHY'|'UNHEALTHY',
'ipAddress': 'string',
'version': 'string',
'registeredTime': 'string'
},
]
}
Response Structure
(dict) --
nextToken (string) --
The pagination token.
plugins (list) --
Migration Hub Orchestrator plugins.
(dict) --
The summary of the Migration Hub Orchestrator plugin.
pluginId (string) --
The ID of the plugin.
hostname (string) --
The name of the host.
status (string) --
The status of the plugin.
ipAddress (string) --
The IP address at which the plugin is located.
version (string) --
The version of the plugin.
registeredTime (string) --
The time at which the plugin was registered.
Exceptions
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
List the tags added to a resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
resourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
{
'tags': {
'string': 'string'
}
}
Response Structure
The tags added to a resource.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
list_template_step_groups
(**kwargs)¶List the step groups in a template.
See also: AWS API Documentation
Request Syntax
response = client.list_template_step_groups(
maxResults=123,
nextToken='string',
templateId='string'
)
[REQUIRED]
The ID of the template.
dict
Response Syntax
{
'nextToken': 'string',
'templateStepGroupSummary': [
{
'id': 'string',
'name': 'string',
'previous': [
'string',
],
'next': [
'string',
]
},
]
}
Response Structure
(dict) --
nextToken (string) --
The pagination token.
templateStepGroupSummary (list) --
The summary of the step group in the template.
(dict) --
The summary of the step group in the template.
id (string) --
The ID of the step group.
name (string) --
The name of the step group.
previous (list) --
The previous step group.
next (list) --
The next step group.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
list_template_steps
(**kwargs)¶List the steps in a template.
See also: AWS API Documentation
Request Syntax
response = client.list_template_steps(
maxResults=123,
nextToken='string',
templateId='string',
stepGroupId='string'
)
[REQUIRED]
The ID of the template.
[REQUIRED]
The ID of the step group.
dict
Response Syntax
{
'nextToken': 'string',
'templateStepSummaryList': [
{
'id': 'string',
'stepGroupId': 'string',
'templateId': 'string',
'name': 'string',
'stepActionType': 'MANUAL'|'AUTOMATED',
'targetType': 'SINGLE'|'ALL'|'NONE',
'owner': 'AWS_MANAGED'|'CUSTOM',
'previous': [
'string',
],
'next': [
'string',
]
},
]
}
Response Structure
(dict) --
nextToken (string) --
The pagination token.
templateStepSummaryList (list) --
The list of summaries of steps in a template.
(dict) --
The summary of the step.
id (string) --
The ID of the step.
stepGroupId (string) --
The ID of the step group.
templateId (string) --
The ID of the template.
name (string) --
The name of the step.
stepActionType (string) --
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
targetType (string) --
The servers on which to run the script.
owner (string) --
The owner of the step.
previous (list) --
The previous step.
next (list) --
The next step.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
list_templates
(**kwargs)¶List the templates available in Migration Hub Orchestrator to create a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.list_templates(
maxResults=123,
nextToken='string',
name='string'
)
dict
Response Syntax
{
'nextToken': 'string',
'templateSummary': [
{
'id': 'string',
'name': 'string',
'arn': 'string',
'description': 'string'
},
]
}
Response Structure
(dict) --
nextToken (string) --
The pagination token.
templateSummary (list) --
The summary of the template.
(dict) --
The summary of the template.
id (string) --
The ID of the template.
name (string) --
The name of the template.
arn (string) --
The Amazon Resource Name (ARN) of the template.
description (string) --
The description of the template.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
list_workflow_step_groups
(**kwargs)¶List the step groups in a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.list_workflow_step_groups(
nextToken='string',
maxResults=123,
workflowId='string'
)
[REQUIRED]
The ID of the migration workflow.
dict
Response Syntax
{
'nextToken': 'string',
'workflowStepGroupsSummary': [
{
'id': 'string',
'name': 'string',
'owner': 'AWS_MANAGED'|'CUSTOM',
'status': 'AWAITING_DEPENDENCIES'|'READY'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'PAUSED'|'PAUSING'|'USER_ATTENTION_REQUIRED',
'previous': [
'string',
],
'next': [
'string',
]
},
]
}
Response Structure
(dict) --
nextToken (string) --
The pagination token.
workflowStepGroupsSummary (list) --
The summary of step groups in a migration workflow.
(dict) --
The summary of a step group in a workflow.
id (string) --
The ID of the step group.
name (string) --
The name of the step group.
owner (string) --
The owner of the step group.
status (string) --
The status of the step group.
previous (list) --
The previous step group.
next (list) --
The next step group.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
list_workflow_steps
(**kwargs)¶List the steps in a workflow.
See also: AWS API Documentation
Request Syntax
response = client.list_workflow_steps(
nextToken='string',
maxResults=123,
workflowId='string',
stepGroupId='string'
)
[REQUIRED]
The ID of the migration workflow.
[REQUIRED]
The ID of the step group.
dict
Response Syntax
{
'nextToken': 'string',
'workflowStepsSummary': [
{
'stepId': 'string',
'name': 'string',
'stepActionType': 'MANUAL'|'AUTOMATED',
'owner': 'AWS_MANAGED'|'CUSTOM',
'previous': [
'string',
],
'next': [
'string',
],
'status': 'AWAITING_DEPENDENCIES'|'READY'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'PAUSED'|'USER_ATTENTION_REQUIRED',
'statusMessage': 'string',
'noOfSrvCompleted': 123,
'noOfSrvFailed': 123,
'totalNoOfSrv': 123,
'description': 'string',
'scriptLocation': 'string'
},
]
}
Response Structure
(dict) --
nextToken (string) --
The pagination token.
workflowStepsSummary (list) --
The summary of steps in a migration workflow.
(dict) --
The summary of the step in a migration workflow.
stepId (string) --
The ID of the step.
name (string) --
The name of the step.
stepActionType (string) --
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
owner (string) --
The owner of the step.
previous (list) --
The previous step.
next (list) --
The next step.
status (string) --
The status of the step.
statusMessage (string) --
The status message of the migration workflow.
noOfSrvCompleted (integer) --
The number of servers that have been migrated.
noOfSrvFailed (integer) --
The number of servers that have failed to migrate.
totalNoOfSrv (integer) --
The total number of servers that have been migrated.
description (string) --
The description of the step.
scriptLocation (string) --
The location of the script.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
list_workflows
(**kwargs)¶List the migration workflows.
See also: AWS API Documentation
Request Syntax
response = client.list_workflows(
maxResults=123,
nextToken='string',
templateId='string',
adsApplicationConfigurationName='string',
status='CREATING'|'NOT_STARTED'|'CREATION_FAILED'|'STARTING'|'IN_PROGRESS'|'WORKFLOW_FAILED'|'PAUSED'|'PAUSING'|'PAUSING_FAILED'|'USER_ATTENTION_REQUIRED'|'DELETING'|'DELETION_FAILED'|'DELETED'|'COMPLETED',
name='string'
)
dict
Response Syntax
{
'nextToken': 'string',
'migrationWorkflowSummary': [
{
'id': 'string',
'name': 'string',
'templateId': 'string',
'adsApplicationConfigurationName': 'string',
'status': 'CREATING'|'NOT_STARTED'|'CREATION_FAILED'|'STARTING'|'IN_PROGRESS'|'WORKFLOW_FAILED'|'PAUSED'|'PAUSING'|'PAUSING_FAILED'|'USER_ATTENTION_REQUIRED'|'DELETING'|'DELETION_FAILED'|'DELETED'|'COMPLETED',
'creationTime': datetime(2015, 1, 1),
'endTime': datetime(2015, 1, 1),
'statusMessage': 'string',
'completedSteps': 123,
'totalSteps': 123
},
]
}
Response Structure
(dict) --
nextToken (string) --
The pagination token.
migrationWorkflowSummary (list) --
The summary of the migration workflow.
(dict) --
The summary of a migration workflow.
id (string) --
The ID of the migration workflow.
name (string) --
The name of the migration workflow.
templateId (string) --
The ID of the template.
adsApplicationConfigurationName (string) --
The name of the application configured in Application Discovery Service.
status (string) --
The status of the migration workflow.
creationTime (datetime) --
The time at which the migration workflow was created.
endTime (datetime) --
The time at which the migration workflow ended.
statusMessage (string) --
The status message of the migration workflow.
completedSteps (integer) --
The steps completed in the migration workflow.
totalSteps (integer) --
All the steps in a migration workflow.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
retry_workflow_step
(**kwargs)¶Retry a failed step in a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.retry_workflow_step(
workflowId='string',
stepGroupId='string',
id='string'
)
[REQUIRED]
The ID of the migration workflow.
[REQUIRED]
The ID of the step group.
[REQUIRED]
The ID of the step.
dict
Response Syntax
{
'stepGroupId': 'string',
'workflowId': 'string',
'id': 'string',
'status': 'AWAITING_DEPENDENCIES'|'READY'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'PAUSED'|'USER_ATTENTION_REQUIRED'
}
Response Structure
(dict) --
stepGroupId (string) --
The ID of the step group.
workflowId (string) --
The ID of the migration workflow.
id (string) --
The ID of the step.
status (string) --
The status of the step.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
start_workflow
(**kwargs)¶Start a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.start_workflow(
id='string'
)
[REQUIRED]
The ID of the migration workflow.
{
'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
The ID of the migration workflow.
The Amazon Resource Name (ARN) of the migration workflow.
The status of the migration workflow.
The status message of the migration workflow.
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
stop_workflow
(**kwargs)¶Stop an ongoing migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.stop_workflow(
id='string'
)
[REQUIRED]
The ID of the migration workflow.
{
'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',
'lastStopTime': datetime(2015, 1, 1)
}
Response Structure
The ID of the migration workflow.
The Amazon Resource Name (ARN) of the migration workflow.
The status of the migration workflow.
The status message of the migration workflow.
The time at which the migration workflow was stopped.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
tag_resource
(**kwargs)¶Tag a resource by specifying its Amazon Resource Name (ARN).
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to which you want to add tags.
[REQUIRED]
A collection of labels, in the form of key:value pairs, that apply to this resource.
dict
Response Syntax
{}
Response Structure
Exceptions
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
untag_resource
(**kwargs)¶Deletes the tags for a resource.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource(
resourceArn='string',
tagKeys=[
'string',
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource from which you want to remove tags.
[REQUIRED]
One or more tag keys. Specify only the tag keys, not the tag values.
dict
Response Syntax
{}
Response Structure
Exceptions
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
update_workflow
(**kwargs)¶Update a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.update_workflow(
id='string',
name='string',
description='string',
inputParameters={
'string': {
'integerValue': 123,
'stringValue': 'string',
'listOfStringsValue': [
'string',
],
'mapOfStringValue': {
'string': 'string'
}
}
},
stepTargets=[
'string',
]
)
[REQUIRED]
The ID of the migration workflow.
The input parameters required to update a 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 can be set: integerValue
, stringValue
, listOfStringsValue
, mapOfStringValue
.
The value of the integer.
String value.
List of string values.
Map of string values.
The servers on which a step will be run.
dict
Response Syntax
{
'id': 'string',
'arn': 'string',
'name': 'string',
'description': 'string',
'templateId': 'string',
'adsApplicationConfigurationId': 'string',
'workflowInputs': {
'string': {
'integerValue': 123,
'stringValue': 'string',
'listOfStringsValue': [
'string',
],
'mapOfStringValue': {
'string': 'string'
}
}
},
'stepTargets': [
'string',
],
'status': 'CREATING'|'NOT_STARTED'|'CREATION_FAILED'|'STARTING'|'IN_PROGRESS'|'WORKFLOW_FAILED'|'PAUSED'|'PAUSING'|'PAUSING_FAILED'|'USER_ATTENTION_REQUIRED'|'DELETING'|'DELETION_FAILED'|'DELETED'|'COMPLETED',
'creationTime': datetime(2015, 1, 1),
'lastModifiedTime': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
id (string) --
The ID of the migration workflow.
arn (string) --
The Amazon Resource Name (ARN) of the migration workflow.
name (string) --
The name of the migration workflow.
description (string) --
The description of the migration workflow.
templateId (string) --
The ID of the template.
adsApplicationConfigurationId (string) --
The ID of the application configured in Application Discovery Service.
workflowInputs (dict) --
The inputs required to update a migration workflow.
(string) --
(dict) --
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'}
integerValue (integer) --
The value of the integer.
stringValue (string) --
String value.
listOfStringsValue (list) --
List of string values.
mapOfStringValue (dict) --
Map of string values.
stepTargets (list) --
The servers on which a step will be run.
status (string) --
The status of the migration workflow.
creationTime (datetime) --
The time at which the migration workflow was created.
lastModifiedTime (datetime) --
The time at which the migration workflow was last modified.
tags (dict) --
The tags added to the migration workflow.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
update_workflow_step
(**kwargs)¶Update a step in a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.update_workflow_step(
id='string',
stepGroupId='string',
workflowId='string',
name='string',
description='string',
stepActionType='MANUAL'|'AUTOMATED',
workflowStepAutomationConfiguration={
'scriptLocationS3Bucket': 'string',
'scriptLocationS3Key': {
'linux': 'string',
'windows': 'string'
},
'command': {
'linux': 'string',
'windows': 'string'
},
'runEnvironment': 'AWS'|'ONPREMISE',
'targetType': 'SINGLE'|'ALL'|'NONE'
},
stepTarget=[
'string',
],
outputs=[
{
'name': 'string',
'dataType': 'STRING'|'INTEGER'|'STRINGLIST'|'STRINGMAP',
'required': True|False,
'value': {
'integerValue': 123,
'stringValue': 'string',
'listOfStringValue': [
'string',
]
}
},
],
previous=[
'string',
],
next=[
'string',
],
status='AWAITING_DEPENDENCIES'|'READY'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'PAUSED'|'USER_ATTENTION_REQUIRED'
)
[REQUIRED]
The ID of the step.
[REQUIRED]
The ID of the step group.
[REQUIRED]
The ID of the migration workflow.
The custom script to run tests on the source and target environments.
The Amazon S3 bucket where the script is located.
The Amazon S3 key for the script location.
The script location for Linux.
The script location for Windows.
The command required to run the script.
Command for Linux.
Command for Windows.
The source or target environment.
The servers on which to run the script.
The servers on which a step will be run.
The outputs of a step.
The output of a step.
The name of the step.
The data type of the output.
Determine if an output is required from a step.
The value of the output.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: integerValue
, stringValue
, listOfStringValue
.
The integer value.
The string value.
The list of string value.
The previous step.
The next step.
dict
Response Syntax
{
'id': 'string',
'stepGroupId': 'string',
'workflowId': 'string',
'name': 'string'
}
Response Structure
(dict) --
id (string) --
The ID of the step.
stepGroupId (string) --
The ID of the step group.
workflowId (string) --
The ID of the migration workflow.
name (string) --
The name of the step.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
update_workflow_step_group
(**kwargs)¶Update the step group in a migration workflow.
See also: AWS API Documentation
Request Syntax
response = client.update_workflow_step_group(
workflowId='string',
id='string',
name='string',
description='string',
next=[
'string',
],
previous=[
'string',
]
)
[REQUIRED]
The ID of the migration workflow.
[REQUIRED]
The ID of the step group.
The next step group.
The previous step group.
dict
Response Syntax
{
'workflowId': 'string',
'name': 'string',
'id': 'string',
'description': 'string',
'tools': [
{
'name': 'string',
'url': 'string'
},
],
'next': [
'string',
],
'previous': [
'string',
],
'lastModifiedTime': datetime(2015, 1, 1)
}
Response Structure
(dict) --
workflowId (string) --
The ID of the migration workflow.
name (string) --
The name of the step group.
id (string) --
The ID of the step group.
description (string) --
The description of the step group.
tools (list) --
List of AWS services utilized in a migration workflow.
(dict) --
List of AWS services utilized in a migration workflow.
name (string) --
The name of an AWS service.
url (string) --
The URL of an AWS service.
next (list) --
The next step group.
previous (list) --
The previous step group.
lastModifiedTime (datetime) --
The time at which the step group was last modified.
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException
The available paginators are:
MigrationHubOrchestrator.Paginator.ListPlugins
MigrationHubOrchestrator.Paginator.ListTemplateStepGroups
MigrationHubOrchestrator.Paginator.ListTemplateSteps
MigrationHubOrchestrator.Paginator.ListTemplates
MigrationHubOrchestrator.Paginator.ListWorkflowStepGroups
MigrationHubOrchestrator.Paginator.ListWorkflowSteps
MigrationHubOrchestrator.Paginator.ListWorkflows
MigrationHubOrchestrator.Paginator.
ListPlugins
¶paginator = client.get_paginator('list_plugins')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MigrationHubOrchestrator.Client.list_plugins()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
{
'plugins': [
{
'pluginId': 'string',
'hostname': 'string',
'status': 'HEALTHY'|'UNHEALTHY',
'ipAddress': 'string',
'version': 'string',
'registeredTime': 'string'
},
],
'NextToken': 'string'
}
Response Structure
Migration Hub Orchestrator plugins.
The summary of the Migration Hub Orchestrator plugin.
The ID of the plugin.
The name of the host.
The status of the plugin.
The IP address at which the plugin is located.
The version of the plugin.
The time at which the plugin was registered.
A token to resume pagination.
MigrationHubOrchestrator.Paginator.
ListTemplateStepGroups
¶paginator = client.get_paginator('list_template_step_groups')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MigrationHubOrchestrator.Client.list_template_step_groups()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
templateId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the template.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'templateStepGroupSummary': [
{
'id': 'string',
'name': 'string',
'previous': [
'string',
],
'next': [
'string',
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
templateStepGroupSummary (list) --
The summary of the step group in the template.
(dict) --
The summary of the step group in the template.
id (string) --
The ID of the step group.
name (string) --
The name of the step group.
previous (list) --
The previous step group.
next (list) --
The next step group.
NextToken (string) --
A token to resume pagination.
MigrationHubOrchestrator.Paginator.
ListTemplateSteps
¶paginator = client.get_paginator('list_template_steps')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MigrationHubOrchestrator.Client.list_template_steps()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
templateId='string',
stepGroupId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the template.
[REQUIRED]
The ID of the step group.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'templateStepSummaryList': [
{
'id': 'string',
'stepGroupId': 'string',
'templateId': 'string',
'name': 'string',
'stepActionType': 'MANUAL'|'AUTOMATED',
'targetType': 'SINGLE'|'ALL'|'NONE',
'owner': 'AWS_MANAGED'|'CUSTOM',
'previous': [
'string',
],
'next': [
'string',
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
templateStepSummaryList (list) --
The list of summaries of steps in a template.
(dict) --
The summary of the step.
id (string) --
The ID of the step.
stepGroupId (string) --
The ID of the step group.
templateId (string) --
The ID of the template.
name (string) --
The name of the step.
stepActionType (string) --
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
targetType (string) --
The servers on which to run the script.
owner (string) --
The owner of the step.
previous (list) --
The previous step.
next (list) --
The next step.
NextToken (string) --
A token to resume pagination.
MigrationHubOrchestrator.Paginator.
ListTemplates
¶paginator = client.get_paginator('list_templates')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MigrationHubOrchestrator.Client.list_templates()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
name='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'templateSummary': [
{
'id': 'string',
'name': 'string',
'arn': 'string',
'description': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
templateSummary (list) --
The summary of the template.
(dict) --
The summary of the template.
id (string) --
The ID of the template.
name (string) --
The name of the template.
arn (string) --
The Amazon Resource Name (ARN) of the template.
description (string) --
The description of the template.
NextToken (string) --
A token to resume pagination.
MigrationHubOrchestrator.Paginator.
ListWorkflowStepGroups
¶paginator = client.get_paginator('list_workflow_step_groups')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MigrationHubOrchestrator.Client.list_workflow_step_groups()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
workflowId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the migration workflow.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'workflowStepGroupsSummary': [
{
'id': 'string',
'name': 'string',
'owner': 'AWS_MANAGED'|'CUSTOM',
'status': 'AWAITING_DEPENDENCIES'|'READY'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'PAUSED'|'PAUSING'|'USER_ATTENTION_REQUIRED',
'previous': [
'string',
],
'next': [
'string',
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
workflowStepGroupsSummary (list) --
The summary of step groups in a migration workflow.
(dict) --
The summary of a step group in a workflow.
id (string) --
The ID of the step group.
name (string) --
The name of the step group.
owner (string) --
The owner of the step group.
status (string) --
The status of the step group.
previous (list) --
The previous step group.
next (list) --
The next step group.
NextToken (string) --
A token to resume pagination.
MigrationHubOrchestrator.Paginator.
ListWorkflowSteps
¶paginator = client.get_paginator('list_workflow_steps')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MigrationHubOrchestrator.Client.list_workflow_steps()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
workflowId='string',
stepGroupId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the migration workflow.
[REQUIRED]
The ID of the step group.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'workflowStepsSummary': [
{
'stepId': 'string',
'name': 'string',
'stepActionType': 'MANUAL'|'AUTOMATED',
'owner': 'AWS_MANAGED'|'CUSTOM',
'previous': [
'string',
],
'next': [
'string',
],
'status': 'AWAITING_DEPENDENCIES'|'READY'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'PAUSED'|'USER_ATTENTION_REQUIRED',
'statusMessage': 'string',
'noOfSrvCompleted': 123,
'noOfSrvFailed': 123,
'totalNoOfSrv': 123,
'description': 'string',
'scriptLocation': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
workflowStepsSummary (list) --
The summary of steps in a migration workflow.
(dict) --
The summary of the step in a migration workflow.
stepId (string) --
The ID of the step.
name (string) --
The name of the step.
stepActionType (string) --
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
owner (string) --
The owner of the step.
previous (list) --
The previous step.
next (list) --
The next step.
status (string) --
The status of the step.
statusMessage (string) --
The status message of the migration workflow.
noOfSrvCompleted (integer) --
The number of servers that have been migrated.
noOfSrvFailed (integer) --
The number of servers that have failed to migrate.
totalNoOfSrv (integer) --
The total number of servers that have been migrated.
description (string) --
The description of the step.
scriptLocation (string) --
The location of the script.
NextToken (string) --
A token to resume pagination.
MigrationHubOrchestrator.Paginator.
ListWorkflows
¶paginator = client.get_paginator('list_workflows')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MigrationHubOrchestrator.Client.list_workflows()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
templateId='string',
adsApplicationConfigurationName='string',
status='CREATING'|'NOT_STARTED'|'CREATION_FAILED'|'STARTING'|'IN_PROGRESS'|'WORKFLOW_FAILED'|'PAUSED'|'PAUSING'|'PAUSING_FAILED'|'USER_ATTENTION_REQUIRED'|'DELETING'|'DELETION_FAILED'|'DELETED'|'COMPLETED',
name='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'migrationWorkflowSummary': [
{
'id': 'string',
'name': 'string',
'templateId': 'string',
'adsApplicationConfigurationName': 'string',
'status': 'CREATING'|'NOT_STARTED'|'CREATION_FAILED'|'STARTING'|'IN_PROGRESS'|'WORKFLOW_FAILED'|'PAUSED'|'PAUSING'|'PAUSING_FAILED'|'USER_ATTENTION_REQUIRED'|'DELETING'|'DELETION_FAILED'|'DELETED'|'COMPLETED',
'creationTime': datetime(2015, 1, 1),
'endTime': datetime(2015, 1, 1),
'statusMessage': 'string',
'completedSteps': 123,
'totalSteps': 123
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
migrationWorkflowSummary (list) --
The summary of the migration workflow.
(dict) --
The summary of a migration workflow.
id (string) --
The ID of the migration workflow.
name (string) --
The name of the migration workflow.
templateId (string) --
The ID of the template.
adsApplicationConfigurationName (string) --
The name of the application configured in Application Discovery Service.
status (string) --
The status of the migration workflow.
creationTime (datetime) --
The time at which the migration workflow was created.
endTime (datetime) --
The time at which the migration workflow ended.
statusMessage (string) --
The status message of the migration workflow.
completedSteps (integer) --
The steps completed in the migration workflow.
totalSteps (integer) --
All the steps in a migration workflow.
NextToken (string) --
A token to resume pagination.