aws_sdk_datazone/client/list_job_runs.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListJobRuns`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where you want to list job runs.</p><br>
/// - [`job_identifier(impl Into<String>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::job_identifier) / [`set_job_identifier(Option<String>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_job_identifier):<br>required: **true**<br><p>The ID of the job run.</p><br>
/// - [`status(JobRunStatus)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::status) / [`set_status(Option<JobRunStatus>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_status):<br>required: **false**<br><p>The status of a job run.</p><br>
/// - [`sort_order(SortOrder)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_sort_order):<br>required: **false**<br><p>Specifies the order in which job runs are to be sorted.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_next_token):<br>required: **false**<br><p>When the number of job runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of job runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListJobRuns to list the next set of job runs.</p><br>
/// - [`max_results(i32)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of job runs to return in a single call to ListJobRuns. When the number of job runs to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListJobRuns to list the next set of job runs.</p><br>
/// - On success, responds with [`ListJobRunsOutput`](crate::operation::list_job_runs::ListJobRunsOutput) with field(s):
/// - [`items(Option<Vec::<JobRunSummary>>)`](crate::operation::list_job_runs::ListJobRunsOutput::items): <p>The results of the ListJobRuns action.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_job_runs::ListJobRunsOutput::next_token): <p>When the number of job runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of job runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListJobRuns to list the next set of job runs.</p>
/// - On failure, responds with [`SdkError<ListJobRunsError>`](crate::operation::list_job_runs::ListJobRunsError)
pub fn list_job_runs(&self) -> crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder {
crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::new(self.handle.clone())
}
}