1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateGeneratedTemplate`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resources(ResourceDefinition)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::resources) / [`set_resources(Option<Vec::<ResourceDefinition>>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::set_resources):<br>required: **false**<br><p>An optional list of resources to be included in the generated template.</p> <p>If no resources are specified,the template will be created without any resources. Resources can be added to the template using the <code>UpdateGeneratedTemplate</code> API action.</p><br>
    ///   - [`generated_template_name(impl Into<String>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::generated_template_name) / [`set_generated_template_name(Option<String>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::set_generated_template_name):<br>required: **true**<br><p>The name assigned to the generated template.</p><br>
    ///   - [`stack_name(impl Into<String>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::set_stack_name):<br>required: **false**<br><p>An optional name or ARN of a stack to use as the base stack for the generated template.</p><br>
    ///   - [`template_configuration(TemplateConfiguration)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::template_configuration) / [`set_template_configuration(Option<TemplateConfiguration>)`](crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::set_template_configuration):<br>required: **false**<br><p>The configuration details of the generated template, including the <code>DeletionPolicy</code> and <code>UpdateReplacePolicy</code>.</p><br>
    /// - On success, responds with [`CreateGeneratedTemplateOutput`](crate::operation::create_generated_template::CreateGeneratedTemplateOutput) with field(s):
    ///   - [`generated_template_id(Option<String>)`](crate::operation::create_generated_template::CreateGeneratedTemplateOutput::generated_template_id): <p>The ID of the generated template.</p>
    /// - On failure, responds with [`SdkError<CreateGeneratedTemplateError>`](crate::operation::create_generated_template::CreateGeneratedTemplateError)
    pub fn create_generated_template(&self) -> crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder {
        crate::operation::create_generated_template::builders::CreateGeneratedTemplateFluentBuilder::new(self.handle.clone())
    }
}