aws_sdk_migrationhuborchestrator/client/update_template.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateTemplate`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the request to update a migration workflow template.</p><br>
7 /// - [`template_name(impl Into<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_template_name):<br>required: **false**<br><p>The name of the migration workflow template to update.</p><br>
8 /// - [`template_description(impl Into<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::template_description) / [`set_template_description(Option<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_template_description):<br>required: **false**<br><p>The description of the migration workflow template to update.</p><br>
9 /// - [`client_token(impl Into<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
10 /// - On success, responds with [`UpdateTemplateOutput`](crate::operation::update_template::UpdateTemplateOutput) with field(s):
11 /// - [`template_id(Option<String>)`](crate::operation::update_template::UpdateTemplateOutput::template_id): <p>The ID of the migration workflow template being updated.</p>
12 /// - [`template_arn(Option<String>)`](crate::operation::update_template::UpdateTemplateOutput::template_arn): <p>The ARN of the migration workflow template being updated. The format for an Migration Hub Orchestrator template ARN is <code>arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
13 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_template::UpdateTemplateOutput::tags): <p>The tags added to the migration workflow template.</p>
14 /// - On failure, responds with [`SdkError<UpdateTemplateError>`](crate::operation::update_template::UpdateTemplateError)
15 pub fn update_template(&self) -> crate::operation::update_template::builders::UpdateTemplateFluentBuilder {
16 crate::operation::update_template::builders::UpdateTemplateFluentBuilder::new(self.handle.clone())
17 }
18}