1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListJobTemplates`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`created_after(DateTime)`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::created_after) / [`set_created_after(Option<DateTime>)`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::set_created_after): <p>The date and time after which the job templates were created.</p>
    ///   - [`created_before(DateTime)`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::created_before) / [`set_created_before(Option<DateTime>)`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::set_created_before): <p> The date and time before which the job templates were created.</p>
    ///   - [`max_results(i32)`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::set_max_results): <p> The maximum number of job templates that can be listed.</p>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::set_next_token): <p> The token for the next set of job templates to return.</p>
    /// - On success, responds with [`ListJobTemplatesOutput`](crate::operation::list_job_templates::ListJobTemplatesOutput) with field(s):
    ///   - [`templates(Option<Vec<JobTemplate>>)`](crate::operation::list_job_templates::ListJobTemplatesOutput::templates): <p>This output lists information about the specified job templates.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_job_templates::ListJobTemplatesOutput::next_token): <p> This output displays the token for the next set of job templates.</p>
    /// - On failure, responds with [`SdkError<ListJobTemplatesError>`](crate::operation::list_job_templates::ListJobTemplatesError)
    pub fn list_job_templates(&self) -> crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder {
        crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::new(self.handle.clone())
    }
}