aws_sdk_sagemaker/client/
list_processing_jobs.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 [`ListProcessingJobs`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`creation_time_after(DateTime)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::creation_time_after) / [`set_creation_time_after(Option<DateTime>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_creation_time_after):<br>required: **false**<br><p>A filter that returns only processing jobs created after the specified time.</p><br>
8    ///   - [`creation_time_before(DateTime)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::creation_time_before) / [`set_creation_time_before(Option<DateTime>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_creation_time_before):<br>required: **false**<br><p>A filter that returns only processing jobs created after the specified time.</p><br>
9    ///   - [`last_modified_time_after(DateTime)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::last_modified_time_after) / [`set_last_modified_time_after(Option<DateTime>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_last_modified_time_after):<br>required: **false**<br><p>A filter that returns only processing jobs modified after the specified time.</p><br>
10    ///   - [`last_modified_time_before(DateTime)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::last_modified_time_before) / [`set_last_modified_time_before(Option<DateTime>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_last_modified_time_before):<br>required: **false**<br><p>A filter that returns only processing jobs modified before the specified time.</p><br>
11    ///   - [`name_contains(impl Into<String>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::name_contains) / [`set_name_contains(Option<String>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_name_contains):<br>required: **false**<br><p>A string in the processing job name. This filter returns only processing jobs whose name contains the specified string.</p><br>
12    ///   - [`status_equals(ProcessingJobStatus)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::status_equals) / [`set_status_equals(Option<ProcessingJobStatus>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_status_equals):<br>required: **false**<br><p>A filter that retrieves only processing jobs with a specific status.</p><br>
13    ///   - [`sort_by(SortBy)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::sort_by) / [`set_sort_by(Option<SortBy>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_sort_by):<br>required: **false**<br><p>The field to sort results by. The default is <code>CreationTime</code>.</p><br>
14    ///   - [`sort_order(SortOrder)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_sort_order):<br>required: **false**<br><p>The sort order for results. The default is <code>Ascending</code>.</p><br>
15    ///   - [`next_token(impl Into<String>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the result of the previous <code>ListProcessingJobs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of processing jobs, use the token in the next request.</p><br>
16    ///   - [`max_results(i32)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of processing jobs to return in the response.</p><br>
17    /// - On success, responds with [`ListProcessingJobsOutput`](crate::operation::list_processing_jobs::ListProcessingJobsOutput) with field(s):
18    ///   - [`processing_job_summaries(Option<Vec::<ProcessingJobSummary>>)`](crate::operation::list_processing_jobs::ListProcessingJobsOutput::processing_job_summaries): <p>An array of <code>ProcessingJobSummary</code> objects, each listing a processing job.</p>
19    ///   - [`next_token(Option<String>)`](crate::operation::list_processing_jobs::ListProcessingJobsOutput::next_token): <p>If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of processing jobs, use it in the subsequent request.</p>
20    /// - On failure, responds with [`SdkError<ListProcessingJobsError>`](crate::operation::list_processing_jobs::ListProcessingJobsError)
21    pub fn list_processing_jobs(&self) -> crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder {
22        crate::operation::list_processing_jobs::builders::ListProcessingJobsFluentBuilder::new(self.handle.clone())
23    }
24}