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 [`CreateEmailTemplate`](crate::operation::create_email_template::builders::CreateEmailTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`template_name(impl Into<String>)`](crate::operation::create_email_template::builders::CreateEmailTemplateFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::create_email_template::builders::CreateEmailTemplateFluentBuilder::set_template_name):<br>required: **true**<br><p>The name of the template.</p><br>
    ///   - [`template_content(EmailTemplateContent)`](crate::operation::create_email_template::builders::CreateEmailTemplateFluentBuilder::template_content) / [`set_template_content(Option<EmailTemplateContent>)`](crate::operation::create_email_template::builders::CreateEmailTemplateFluentBuilder::set_template_content):<br>required: **true**<br><p>The content of the email template, composed of a subject line, an HTML part, and a text-only part.</p><br>
    /// - On success, responds with [`CreateEmailTemplateOutput`](crate::operation::create_email_template::CreateEmailTemplateOutput)
    /// - On failure, responds with [`SdkError<CreateEmailTemplateError>`](crate::operation::create_email_template::CreateEmailTemplateError)
    pub fn create_email_template(&self) -> crate::operation::create_email_template::builders::CreateEmailTemplateFluentBuilder {
        crate::operation::create_email_template::builders::CreateEmailTemplateFluentBuilder::new(self.handle.clone())
    }
}