1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateWorldTemplate`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::set_client_request_token): <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
    ///   - [`name(impl Into<String>)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::set_name): <p>The name of the world template.</p>
    ///   - [`template_body(impl Into<String>)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::template_body) / [`set_template_body(Option<String>)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::set_template_body): <p>The world template body.</p>
    ///   - [`template_location(TemplateLocation)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::template_location) / [`set_template_location(Option<TemplateLocation>)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::set_template_location): <p>The location of the world template.</p>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::set_tags): <p>A map that contains tag keys and tag values that are attached to the world template.</p>
    /// - On success, responds with [`CreateWorldTemplateOutput`](crate::operation::create_world_template::CreateWorldTemplateOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_world_template::CreateWorldTemplateOutput::arn): <p>The Amazon Resource Name (ARN) of the world template.</p>
    ///   - [`client_request_token(Option<String>)`](crate::operation::create_world_template::CreateWorldTemplateOutput::client_request_token): <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_world_template::CreateWorldTemplateOutput::created_at): <p>The time, in milliseconds since the epoch, when the world template was created.</p>
    ///   - [`name(Option<String>)`](crate::operation::create_world_template::CreateWorldTemplateOutput::name): <p>The name of the world template.</p>
    ///   - [`tags(Option<HashMap<String, String>>)`](crate::operation::create_world_template::CreateWorldTemplateOutput::tags): <p>A map that contains tag keys and tag values that are attached to the world template.</p>
    /// - On failure, responds with [`SdkError<CreateWorldTemplateError>`](crate::operation::create_world_template::CreateWorldTemplateError)
    pub fn create_world_template(&self) -> crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder {
        crate::operation::create_world_template::builders::CreateWorldTemplateFluentBuilder::new(self.handle.clone())
    }
}