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 [`TestRenderTemplate`](crate::operation::test_render_template::builders::TestRenderTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`template_name(impl Into<String>)`](crate::operation::test_render_template::builders::TestRenderTemplateFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::test_render_template::builders::TestRenderTemplateFluentBuilder::set_template_name):<br>required: **true**<br><p>The name of the template to render.</p><br>
    ///   - [`template_data(impl Into<String>)`](crate::operation::test_render_template::builders::TestRenderTemplateFluentBuilder::template_data) / [`set_template_data(Option<String>)`](crate::operation::test_render_template::builders::TestRenderTemplateFluentBuilder::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 [`TestRenderTemplateOutput`](crate::operation::test_render_template::TestRenderTemplateOutput) with field(s):
    ///   - [`rendered_template(Option<String>)`](crate::operation::test_render_template::TestRenderTemplateOutput::rendered_template): <p>The complete MIME message rendered by applying the data in the TemplateData parameter to the template specified in the TemplateName parameter.</p>
    /// - On failure, responds with [`SdkError<TestRenderTemplateError>`](crate::operation::test_render_template::TestRenderTemplateError)
    pub fn test_render_template(&self) -> crate::operation::test_render_template::builders::TestRenderTemplateFluentBuilder {
        crate::operation::test_render_template::builders::TestRenderTemplateFluentBuilder::new(self.handle.clone())
    }
}