aws_sdk_emrcontainers/client/list_job_templates.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 [`ListJobTemplates`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`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):<br>required: **false**<br><p>The date and time after which the job templates were created.</p><br>
8 /// - [`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):<br>required: **false**<br><p>The date and time before which the job templates were created.</p><br>
9 /// - [`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):<br>required: **false**<br><p>The maximum number of job templates that can be listed.</p><br>
10 /// - [`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):<br>required: **false**<br><p>The token for the next set of job templates to return.</p><br>
11 /// - On success, responds with [`ListJobTemplatesOutput`](crate::operation::list_job_templates::ListJobTemplatesOutput) with field(s):
12 /// - [`templates(Option<Vec::<JobTemplate>>)`](crate::operation::list_job_templates::ListJobTemplatesOutput::templates): <p>This output lists information about the specified job templates.</p>
13 /// - [`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>
14 /// - On failure, responds with [`SdkError<ListJobTemplatesError>`](crate::operation::list_job_templates::ListJobTemplatesError)
15 pub fn list_job_templates(&self) -> crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder {
16 crate::operation::list_job_templates::builders::ListJobTemplatesFluentBuilder::new(self.handle.clone())
17 }
18}