Struct aws_sdk_bedrock::operation::list_provisioned_model_throughputs::builders::ListProvisionedModelThroughputsFluentBuilder
source · pub struct ListProvisionedModelThroughputsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListProvisionedModelThroughputs
.
Lists the Provisioned Throughputs in the account. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
Implementations§
source§impl ListProvisionedModelThroughputsFluentBuilder
impl ListProvisionedModelThroughputsFluentBuilder
sourcepub fn as_input(&self) -> &ListProvisionedModelThroughputsInputBuilder
pub fn as_input(&self) -> &ListProvisionedModelThroughputsInputBuilder
Access the ListProvisionedModelThroughputs as a reference.
sourcepub async fn send(
self
) -> Result<ListProvisionedModelThroughputsOutput, SdkError<ListProvisionedModelThroughputsError, HttpResponse>>
pub async fn send( self ) -> Result<ListProvisionedModelThroughputsOutput, SdkError<ListProvisionedModelThroughputsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListProvisionedModelThroughputsOutput, ListProvisionedModelThroughputsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListProvisionedModelThroughputsOutput, ListProvisionedModelThroughputsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListProvisionedModelThroughputsPaginator
pub fn into_paginator(self) -> ListProvisionedModelThroughputsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn creation_time_after(self, input: DateTime) -> Self
pub fn creation_time_after(self, input: DateTime) -> Self
A filter that returns Provisioned Throughputs created after the specified time.
sourcepub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
A filter that returns Provisioned Throughputs created after the specified time.
sourcepub fn get_creation_time_after(&self) -> &Option<DateTime>
pub fn get_creation_time_after(&self) -> &Option<DateTime>
A filter that returns Provisioned Throughputs created after the specified time.
sourcepub fn creation_time_before(self, input: DateTime) -> Self
pub fn creation_time_before(self, input: DateTime) -> Self
A filter that returns Provisioned Throughputs created before the specified time.
sourcepub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
A filter that returns Provisioned Throughputs created before the specified time.
sourcepub fn get_creation_time_before(&self) -> &Option<DateTime>
pub fn get_creation_time_before(&self) -> &Option<DateTime>
A filter that returns Provisioned Throughputs created before the specified time.
sourcepub fn status_equals(self, input: ProvisionedModelStatus) -> Self
pub fn status_equals(self, input: ProvisionedModelStatus) -> Self
A filter that returns Provisioned Throughputs if their statuses matches the value that you specify.
sourcepub fn set_status_equals(self, input: Option<ProvisionedModelStatus>) -> Self
pub fn set_status_equals(self, input: Option<ProvisionedModelStatus>) -> Self
A filter that returns Provisioned Throughputs if their statuses matches the value that you specify.
sourcepub fn get_status_equals(&self) -> &Option<ProvisionedModelStatus>
pub fn get_status_equals(&self) -> &Option<ProvisionedModelStatus>
A filter that returns Provisioned Throughputs if their statuses matches the value that you specify.
sourcepub fn model_arn_equals(self, input: impl Into<String>) -> Self
pub fn model_arn_equals(self, input: impl Into<String>) -> Self
A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify.
sourcepub fn set_model_arn_equals(self, input: Option<String>) -> Self
pub fn set_model_arn_equals(self, input: Option<String>) -> Self
A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify.
sourcepub fn get_model_arn_equals(&self) -> &Option<String>
pub fn get_model_arn_equals(&self) -> &Option<String>
A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify.
sourcepub fn name_contains(self, input: impl Into<String>) -> Self
pub fn name_contains(self, input: impl Into<String>) -> Self
A filter that returns Provisioned Throughputs if their name contains the expression that you specify.
sourcepub fn set_name_contains(self, input: Option<String>) -> Self
pub fn set_name_contains(self, input: Option<String>) -> Self
A filter that returns Provisioned Throughputs if their name contains the expression that you specify.
sourcepub fn get_name_contains(&self) -> &Option<String>
pub fn get_name_contains(&self) -> &Option<String>
A filter that returns Provisioned Throughputs if their name contains the expression that you specify.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
THe maximum number of results to return in the response. If there are more results than the number you specified, the response returns a nextToken
value. To see the next batch of results, send the nextToken
value in another list request.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
THe maximum number of results to return in the response. If there are more results than the number you specified, the response returns a nextToken
value. To see the next batch of results, send the nextToken
value in another list request.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
THe maximum number of results to return in the response. If there are more results than the number you specified, the response returns a nextToken
value. To see the next batch of results, send the nextToken
value in another list request.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are more results than the number you specified in the maxResults
field, the response returns a nextToken
value. To see the next batch of results, specify the nextToken
value in this field.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are more results than the number you specified in the maxResults
field, the response returns a nextToken
value. To see the next batch of results, specify the nextToken
value in this field.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are more results than the number you specified in the maxResults
field, the response returns a nextToken
value. To see the next batch of results, specify the nextToken
value in this field.
sourcepub fn sort_by(self, input: SortByProvisionedModels) -> Self
pub fn sort_by(self, input: SortByProvisionedModels) -> Self
The field by which to sort the returned list of Provisioned Throughputs.
sourcepub fn set_sort_by(self, input: Option<SortByProvisionedModels>) -> Self
pub fn set_sort_by(self, input: Option<SortByProvisionedModels>) -> Self
The field by which to sort the returned list of Provisioned Throughputs.
sourcepub fn get_sort_by(&self) -> &Option<SortByProvisionedModels>
pub fn get_sort_by(&self) -> &Option<SortByProvisionedModels>
The field by which to sort the returned list of Provisioned Throughputs.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The sort order of the results.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The sort order of the results.
sourcepub fn get_sort_order(&self) -> &Option<SortOrder>
pub fn get_sort_order(&self) -> &Option<SortOrder>
The sort order of the results.
Trait Implementations§
source§impl Clone for ListProvisionedModelThroughputsFluentBuilder
impl Clone for ListProvisionedModelThroughputsFluentBuilder
source§fn clone(&self) -> ListProvisionedModelThroughputsFluentBuilder
fn clone(&self) -> ListProvisionedModelThroughputsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListProvisionedModelThroughputsFluentBuilder
impl !RefUnwindSafe for ListProvisionedModelThroughputsFluentBuilder
impl Send for ListProvisionedModelThroughputsFluentBuilder
impl Sync for ListProvisionedModelThroughputsFluentBuilder
impl Unpin for ListProvisionedModelThroughputsFluentBuilder
impl !UnwindSafe for ListProvisionedModelThroughputsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more