aws_sdk_bedrock/client/list_model_import_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 [`ListModelImportJobs`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`creation_time_after(DateTime)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::creation_time_after) / [`set_creation_time_after(Option<DateTime>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::set_creation_time_after):<br>required: **false**<br><p>Return import jobs that were created after the specified time.</p><br>
8 /// - [`creation_time_before(DateTime)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::creation_time_before) / [`set_creation_time_before(Option<DateTime>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::set_creation_time_before):<br>required: **false**<br><p>Return import jobs that were created before the specified time.</p><br>
9 /// - [`status_equals(ModelImportJobStatus)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::status_equals) / [`set_status_equals(Option<ModelImportJobStatus>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::set_status_equals):<br>required: **false**<br><p>Return imported jobs with the specified status.</p><br>
10 /// - [`name_contains(impl Into<String>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::name_contains) / [`set_name_contains(Option<String>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::set_name_contains):<br>required: **false**<br><p>Return imported jobs only if the job name contains these characters.</p><br>
11 /// - [`max_results(i32)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p><br>
12 /// - [`next_token(impl Into<String>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p><br>
13 /// - [`sort_by(SortJobsBy)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::sort_by) / [`set_sort_by(Option<SortJobsBy>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::set_sort_by):<br>required: **false**<br><p>The field to sort by in the returned list of imported jobs.</p><br>
14 /// - [`sort_order(SortOrder)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::set_sort_order):<br>required: **false**<br><p>Specifies whether to sort the results in ascending or descending order.</p><br>
15 /// - On success, responds with [`ListModelImportJobsOutput`](crate::operation::list_model_import_jobs::ListModelImportJobsOutput) with field(s):
16 /// - [`next_token(Option<String>)`](crate::operation::list_model_import_jobs::ListModelImportJobsOutput::next_token): <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
17 /// - [`model_import_job_summaries(Option<Vec::<ModelImportJobSummary>>)`](crate::operation::list_model_import_jobs::ListModelImportJobsOutput::model_import_job_summaries): <p>Import job summaries.</p>
18 /// - On failure, responds with [`SdkError<ListModelImportJobsError>`](crate::operation::list_model_import_jobs::ListModelImportJobsError)
19 pub fn list_model_import_jobs(&self) -> crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder {
20 crate::operation::list_model_import_jobs::builders::ListModelImportJobsFluentBuilder::new(self.handle.clone())
21 }
22}