1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`TestRenderEmailTemplate`](crate::operation::test_render_email_template::builders::TestRenderEmailTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`template_name(impl Into<String>)`](crate::operation::test_render_email_template::builders::TestRenderEmailTemplateFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::test_render_email_template::builders::TestRenderEmailTemplateFluentBuilder::set_template_name):<br>required: **true**<br><p>The name of the template.</p><br>
    ///   - [`template_data(impl Into<String>)`](crate::operation::test_render_email_template::builders::TestRenderEmailTemplateFluentBuilder::template_data) / [`set_template_data(Option<String>)`](crate::operation::test_render_email_template::builders::TestRenderEmailTemplateFluentBuilder::set_template_data):<br>required: **true**<br><p>A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.</p><br>
    /// - On success, responds with [`TestRenderEmailTemplateOutput`](crate::operation::test_render_email_template::TestRenderEmailTemplateOutput) with field(s):
    ///   - [`rendered_template(String)`](crate::operation::test_render_email_template::TestRenderEmailTemplateOutput::rendered_template): <p>The complete MIME message rendered by applying the data in the <code>TemplateData</code> parameter to the template specified in the TemplateName parameter.</p>
    /// - On failure, responds with [`SdkError<TestRenderEmailTemplateError>`](crate::operation::test_render_email_template::TestRenderEmailTemplateError)
    pub fn test_render_email_template(&self) -> crate::operation::test_render_email_template::builders::TestRenderEmailTemplateFluentBuilder {
        crate::operation::test_render_email_template::builders::TestRenderEmailTemplateFluentBuilder::new(self.handle.clone())
    }
}