// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListEmailTemplates`](crate::operation::list_email_templates::builders::ListEmailTemplatesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_email_templates::builders::ListEmailTemplatesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`next_token(impl Into<String>)`](crate::operation::list_email_templates::builders::ListEmailTemplatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_email_templates::builders::ListEmailTemplatesFluentBuilder::set_next_token):<br>required: **false**<br><p>A token returned from a previous call to <code>ListEmailTemplates</code> to indicate the position in the list of email templates.</p><br>
/// - [`page_size(i32)`](crate::operation::list_email_templates::builders::ListEmailTemplatesFluentBuilder::page_size) / [`set_page_size(Option<i32>)`](crate::operation::list_email_templates::builders::ListEmailTemplatesFluentBuilder::set_page_size):<br>required: **false**<br><p>The number of results to show in a single call to <code>ListEmailTemplates</code>. If the number of results is larger than the number you specified in this parameter, then the response includes a <code>NextToken</code> element, which you can use to obtain additional results.</p> <p>The value you specify has to be at least 1, and can be no more than 100.</p><br>
/// - On success, responds with [`ListEmailTemplatesOutput`](crate::operation::list_email_templates::ListEmailTemplatesOutput) with field(s):
/// - [`templates_metadata(Option<Vec::<EmailTemplateMetadata>>)`](crate::operation::list_email_templates::ListEmailTemplatesOutput::templates_metadata): <p>An array the contains the name and creation time stamp for each template in your Amazon SES account.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_email_templates::ListEmailTemplatesOutput::next_token): <p>A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent <code>ListEmailTemplates</code> call to retrieve the next 10 email templates.</p>
/// - On failure, responds with [`SdkError<ListEmailTemplatesError>`](crate::operation::list_email_templates::ListEmailTemplatesError)
pub fn list_email_templates(&self) -> crate::operation::list_email_templates::builders::ListEmailTemplatesFluentBuilder {
crate::operation::list_email_templates::builders::ListEmailTemplatesFluentBuilder::new(self.handle.clone())
}
}