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