// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListTemplateVersions`](crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder::set_next_token): <p>The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
/// - [`page_size(impl ::std::convert::Into<String>)`](crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder::page_size) / [`set_page_size(Option<String>)`](crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder::set_page_size): <p>The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.</p>
/// - [`template_name(impl ::std::convert::Into<String>)`](crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder::set_template_name): <p>The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.</p>
/// - [`template_type(impl ::std::convert::Into<String>)`](crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder::template_type) / [`set_template_type(Option<String>)`](crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder::set_template_type): <p>The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.</p>
/// - On success, responds with [`ListTemplateVersionsOutput`](crate::operation::list_template_versions::ListTemplateVersionsOutput) with field(s):
/// - [`template_versions_response(Option<TemplateVersionsResponse>)`](crate::operation::list_template_versions::ListTemplateVersionsOutput::template_versions_response): <p>Provides information about all the versions of a specific message template.</p>
/// - On failure, responds with [`SdkError<ListTemplateVersionsError>`](crate::operation::list_template_versions::ListTemplateVersionsError)
pub fn list_template_versions(
&self,
) -> crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder {
crate::operation::list_template_versions::builders::ListTemplateVersionsFluentBuilder::new(
self.handle.clone(),
)
}
}