aws_sdk_bedrock/client/list_provisioned_model_throughputs.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 [`ListProvisionedModelThroughputs`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`creation_time_after(DateTime)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::creation_time_after) / [`set_creation_time_after(Option<DateTime>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::set_creation_time_after):<br>required: **false**<br><p>A filter that returns Provisioned Throughputs created after the specified time.</p><br>
8 /// - [`creation_time_before(DateTime)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::creation_time_before) / [`set_creation_time_before(Option<DateTime>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::set_creation_time_before):<br>required: **false**<br><p>A filter that returns Provisioned Throughputs created before the specified time.</p><br>
9 /// - [`status_equals(ProvisionedModelStatus)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::status_equals) / [`set_status_equals(Option<ProvisionedModelStatus>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::set_status_equals):<br>required: **false**<br><p>A filter that returns Provisioned Throughputs if their statuses matches the value that you specify.</p><br>
10 /// - [`model_arn_equals(impl Into<String>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::model_arn_equals) / [`set_model_arn_equals(Option<String>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::set_model_arn_equals):<br>required: **false**<br><p>A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify.</p><br>
11 /// - [`name_contains(impl Into<String>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::name_contains) / [`set_name_contains(Option<String>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::set_name_contains):<br>required: **false**<br><p>A filter that returns Provisioned Throughputs if their name contains the expression that you specify.</p><br>
12 /// - [`max_results(i32)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::set_max_results):<br>required: **false**<br><p>THe maximum number of results to return in the response. If there are more results than the number you specified, the response returns a <code>nextToken</code> value. To see the next batch of results, send the <code>nextToken</code> value in another list request.</p><br>
13 /// - [`next_token(impl Into<String>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::set_next_token):<br>required: **false**<br><p>If there are more results than the number you specified in the <code>maxResults</code> field, the response returns a <code>nextToken</code> value. To see the next batch of results, specify the <code>nextToken</code> value in this field.</p><br>
14 /// - [`sort_by(SortByProvisionedModels)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::sort_by) / [`set_sort_by(Option<SortByProvisionedModels>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::set_sort_by):<br>required: **false**<br><p>The field by which to sort the returned list of Provisioned Throughputs.</p><br>
15 /// - [`sort_order(SortOrder)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::set_sort_order):<br>required: **false**<br><p>The sort order of the results.</p><br>
16 /// - On success, responds with [`ListProvisionedModelThroughputsOutput`](crate::operation::list_provisioned_model_throughputs::ListProvisionedModelThroughputsOutput) with field(s):
17 /// - [`next_token(Option<String>)`](crate::operation::list_provisioned_model_throughputs::ListProvisionedModelThroughputsOutput::next_token): <p>If there are more results than the number you specified in the <code>maxResults</code> field, this value is returned. To see the next batch of results, include this value in the <code>nextToken</code> field in another list request.</p>
18 /// - [`provisioned_model_summaries(Option<Vec::<ProvisionedModelSummary>>)`](crate::operation::list_provisioned_model_throughputs::ListProvisionedModelThroughputsOutput::provisioned_model_summaries): <p>A list of summaries, one for each Provisioned Throughput in the response.</p>
19 /// - On failure, responds with [`SdkError<ListProvisionedModelThroughputsError>`](crate::operation::list_provisioned_model_throughputs::ListProvisionedModelThroughputsError)
20 pub fn list_provisioned_model_throughputs(
21 &self,
22 ) -> crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder {
23 crate::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder::new(self.handle.clone())
24 }
25}