1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTemplate`](crate::operation::get_template::builders::GetTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`template_name(impl Into<String>)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::get_template::builders::GetTemplateFluentBuilder::set_template_name):<br>required: **true**<br><p>The name of the template to retrieve.</p><br>
    /// - On success, responds with [`GetTemplateOutput`](crate::operation::get_template::GetTemplateOutput) with field(s):
    ///   - [`template(Option<Template>)`](crate::operation::get_template::GetTemplateOutput::template): <p>The content of the email, composed of a subject line and either an HTML part or a text-only part.</p>
    /// - On failure, responds with [`SdkError<GetTemplateError>`](crate::operation::get_template::GetTemplateError)
    pub fn get_template(&self) -> crate::operation::get_template::builders::GetTemplateFluentBuilder {
        crate::operation::get_template::builders::GetTemplateFluentBuilder::new(self.handle.clone())
    }
}