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