aws_sdk_robomaker/client/
update_world_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 [`UpdateWorldTemplate`](crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`template(impl Into<String>)`](crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder::template) / [`set_template(Option<String>)`](crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder::set_template):<br>required: **true**<br><p>The Amazon Resource Name (arn) of the world template to update.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder::set_name):<br>required: **false**<br><p>The name of the template.</p><br>
8    ///   - [`template_body(impl Into<String>)`](crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder::template_body) / [`set_template_body(Option<String>)`](crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder::set_template_body):<br>required: **false**<br><p>The world template body.</p><br>
9    ///   - [`template_location(TemplateLocation)`](crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder::template_location) / [`set_template_location(Option<TemplateLocation>)`](crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder::set_template_location):<br>required: **false**<br><p>The location of the world template.</p><br>
10    /// - On success, responds with [`UpdateWorldTemplateOutput`](crate::operation::update_world_template::UpdateWorldTemplateOutput) with field(s):
11    ///   - [`arn(Option<String>)`](crate::operation::update_world_template::UpdateWorldTemplateOutput::arn): <p>The Amazon Resource Name (arn) of the world template.</p>
12    ///   - [`name(Option<String>)`](crate::operation::update_world_template::UpdateWorldTemplateOutput::name): <p>The name of the world template.</p>
13    ///   - [`created_at(Option<DateTime>)`](crate::operation::update_world_template::UpdateWorldTemplateOutput::created_at): <p>The time, in milliseconds since the epoch, when the world template was created.</p>
14    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::update_world_template::UpdateWorldTemplateOutput::last_updated_at): <p>The time, in milliseconds since the epoch, when the world template was last updated.</p>
15    /// - On failure, responds with [`SdkError<UpdateWorldTemplateError>`](crate::operation::update_world_template::UpdateWorldTemplateError)
16    pub fn update_world_template(&self) -> crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder {
17        crate::operation::update_world_template::builders::UpdateWorldTemplateFluentBuilder::new(self.handle.clone())
18    }
19}