aws_sdk_emrserverless/client/list_job_run_attempts.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListJobRunAttempts`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`application_id(impl Into<String>)`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::set_application_id):<br>required: **true**<br><p>The ID of the application for which to list job runs.</p><br>
/// - [`job_run_id(impl Into<String>)`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::job_run_id) / [`set_job_run_id(Option<String>)`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::set_job_run_id):<br>required: **true**<br><p>The ID of the job run to list.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of job run attempt results.</p><br>
/// - [`max_results(i32)`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of job run attempts to list.</p><br>
/// - On success, responds with [`ListJobRunAttemptsOutput`](crate::operation::list_job_run_attempts::ListJobRunAttemptsOutput) with field(s):
/// - [`job_run_attempts(Vec::<JobRunAttemptSummary>)`](crate::operation::list_job_run_attempts::ListJobRunAttemptsOutput::job_run_attempts): <p>The array of the listed job run attempt objects.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_job_run_attempts::ListJobRunAttemptsOutput::next_token): <p>The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.</p>
/// - On failure, responds with [`SdkError<ListJobRunAttemptsError>`](crate::operation::list_job_run_attempts::ListJobRunAttemptsError)
pub fn list_job_run_attempts(&self) -> crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder {
crate::operation::list_job_run_attempts::builders::ListJobRunAttemptsFluentBuilder::new(self.handle.clone())
}
}