update_template
¶
update_template(
id: TemplateId,
*,
config_overrides: Optional[MigrationHubOrchestratorClientConfig] = None,
template_name: Optional[str] = None,
template_description: Optional[str] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateTemplateResponse
Updates a migration workflow template.
Parameters:
-
id(TemplateId) –The ID of the request to update a migration workflow template.
-
template_name(Optional[str], default:None) –The name of the migration workflow template to update.
-
template_description(Optional[str], default:None) –The description of the migration workflow template to update.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An internal error has occurred.
-
ResourceNotFoundException–The resource is not available.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_migrationhuborchestrator/_services/migration_hub_orchestrator.py
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 | |