1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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:
    ///   - [`application_id(impl Into<String>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_application_id):<br>required: **true**<br><p>The ID of the application for which to list the job run.</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>The token for the next set of job run results.</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 that can be listed.</p><br>
    ///   - [`created_at_after(DateTime)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::created_at_after) / [`set_created_at_after(Option<DateTime>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_created_at_after):<br>required: **false**<br><p>The lower bound of the option to filter by creation date and time.</p><br>
    ///   - [`created_at_before(DateTime)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::created_at_before) / [`set_created_at_before(Option<DateTime>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_created_at_before):<br>required: **false**<br><p>The upper bound of the option to filter by creation date and time.</p><br>
    ///   - [`states(JobRunState)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::states) / [`set_states(Option<Vec::<JobRunState>>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_states):<br>required: **false**<br><p>An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.</p><br>
    ///   - [`mode(JobRunMode)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::mode) / [`set_mode(Option<JobRunMode>)`](crate::operation::list_job_runs::builders::ListJobRunsFluentBuilder::set_mode):<br>required: **false**<br><p>The mode of the job runs to list.</p><br>
    /// - On success, responds with [`ListJobRunsOutput`](crate::operation::list_job_runs::ListJobRunsOutput) with field(s):
    ///   - [`job_runs(Vec::<JobRunSummary>)`](crate::operation::list_job_runs::ListJobRunsOutput::job_runs): <p>The output lists information about the specified job runs.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_job_runs::ListJobRunsOutput::next_token): <p>The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.</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())
    }
}