aws_sdk_bedrock/client/list_model_copy_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 [`ListModelCopyJobs`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`creation_time_after(DateTime)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::creation_time_after) / [`set_creation_time_after(Option<DateTime>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::set_creation_time_after):<br>required: **false**<br><p>Filters for model copy jobs created after the specified time.</p><br>
8 /// - [`creation_time_before(DateTime)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::creation_time_before) / [`set_creation_time_before(Option<DateTime>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::set_creation_time_before):<br>required: **false**<br><p>Filters for model copy jobs created before the specified time.</p><br>
9 /// - [`status_equals(ModelCopyJobStatus)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::status_equals) / [`set_status_equals(Option<ModelCopyJobStatus>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::set_status_equals):<br>required: **false**<br><p>Filters for model copy jobs whose status matches the value that you specify.</p><br>
10 /// - [`source_account_equals(impl Into<String>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::source_account_equals) / [`set_source_account_equals(Option<String>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::set_source_account_equals):<br>required: **false**<br><p>Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.</p><br>
11 /// - [`source_model_arn_equals(impl Into<String>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::source_model_arn_equals) / [`set_source_model_arn_equals(Option<String>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::set_source_model_arn_equals):<br>required: **false**<br><p>Filters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify.</p><br>
12 /// - [`target_model_name_contains(impl Into<String>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::target_model_name_contains) / [`set_target_model_name_contains(Option<String>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::set_target_model_name_contains):<br>required: **false**<br><p>Filters for model copy jobs in which the name of the copied model contains the string that you specify.</p><br>
13 /// - [`max_results(i32)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::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>
14 /// - [`next_token(impl Into<String>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::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>
15 /// - [`sort_by(SortJobsBy)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::sort_by) / [`set_sort_by(Option<SortJobsBy>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::set_sort_by):<br>required: **false**<br><p>The field to sort by in the returned list of model copy jobs.</p><br>
16 /// - [`sort_order(SortOrder)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::set_sort_order):<br>required: **false**<br><p>Specifies whether to sort the results in ascending or descending order.</p><br>
17 /// - On success, responds with [`ListModelCopyJobsOutput`](crate::operation::list_model_copy_jobs::ListModelCopyJobsOutput) with field(s):
18 /// - [`next_token(Option<String>)`](crate::operation::list_model_copy_jobs::ListModelCopyJobsOutput::next_token): <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
19 /// - [`model_copy_job_summaries(Option<Vec::<ModelCopyJobSummary>>)`](crate::operation::list_model_copy_jobs::ListModelCopyJobsOutput::model_copy_job_summaries): <p>A list of information about each model copy job.</p>
20 /// - On failure, responds with [`SdkError<ListModelCopyJobsError>`](crate::operation::list_model_copy_jobs::ListModelCopyJobsError)
21 pub fn list_model_copy_jobs(&self) -> crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder {
22 crate::operation::list_model_copy_jobs::builders::ListModelCopyJobsFluentBuilder::new(self.handle.clone())
23 }
24}