MigrationHubOrchestrator / Client / update_template
update_template#
- MigrationHubOrchestrator.Client.update_template(**kwargs)#
Updates a migration workflow template.
See also: AWS API Documentation
Request Syntax
response = client.update_template( id='string', templateName='string', templateDescription='string', clientToken='string' )
- Parameters:
id (string) –
[REQUIRED]
The ID of the request to update a migration workflow template.
templateName (string) – The name of the migration workflow template to update.
templateDescription (string) – The description of the migration workflow template to update.
clientToken (string) –
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'templateId': 'string', 'templateArn': 'string', 'tags': { 'string': 'string' } }
Response Structure
(dict) –
templateId (string) –
The ID of the migration workflow template being updated.
templateArn (string) –
The ARN of the migration workflow template being updated. The format for an Migration Hub Orchestrator template ARN is
arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.tags (dict) –
The tags added to the migration workflow template.
(string) –
(string) –
Exceptions
MigrationHubOrchestrator.Client.exceptions.ThrottlingException
MigrationHubOrchestrator.Client.exceptions.AccessDeniedException
MigrationHubOrchestrator.Client.exceptions.InternalServerException
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException