aws_sdk_sesv2/client/delete_email_template.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteEmailTemplate`](crate::operation::delete_email_template::builders::DeleteEmailTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`template_name(impl Into<String>)`](crate::operation::delete_email_template::builders::DeleteEmailTemplateFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::delete_email_template::builders::DeleteEmailTemplateFluentBuilder::set_template_name):<br>required: **true**<br><p>The name of the template to be deleted.</p><br>
7 /// - On success, responds with [`DeleteEmailTemplateOutput`](crate::operation::delete_email_template::DeleteEmailTemplateOutput)
8 /// - On failure, responds with [`SdkError<DeleteEmailTemplateError>`](crate::operation::delete_email_template::DeleteEmailTemplateError)
9 pub fn delete_email_template(&self) -> crate::operation::delete_email_template::builders::DeleteEmailTemplateFluentBuilder {
10 crate::operation::delete_email_template::builders::DeleteEmailTemplateFluentBuilder::new(self.handle.clone())
11 }
12}