Struct aws_sdk_timestreamquery::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder
source · pub struct UpdateAccountSettingsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateAccountSettings.
Transitions your account to use TCUs for query pricing and modifies the maximum query compute units that you've configured. If you reduce the value of MaxQueryTCU to a desired configuration, the new value can take up to 24 hours to be effective.
After you've transitioned your account to use TCUs for query pricing, you can't transition to using bytes scanned for query pricing.
Implementations§
source§impl UpdateAccountSettingsFluentBuilder
impl UpdateAccountSettingsFluentBuilder
sourcepub fn as_input(&self) -> &UpdateAccountSettingsInputBuilder
pub fn as_input(&self) -> &UpdateAccountSettingsInputBuilder
Access the UpdateAccountSettings as a reference.
sourcepub async fn send(
self
) -> Result<UpdateAccountSettingsOutput, SdkError<UpdateAccountSettingsError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateAccountSettingsOutput, SdkError<UpdateAccountSettingsError, 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<UpdateAccountSettingsOutput, UpdateAccountSettingsError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateAccountSettingsOutput, UpdateAccountSettingsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn max_query_tcu(self, input: i32) -> Self
pub fn max_query_tcu(self, input: i32) -> Self
The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on.
The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas.
sourcepub fn set_max_query_tcu(self, input: Option<i32>) -> Self
pub fn set_max_query_tcu(self, input: Option<i32>) -> Self
The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on.
The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas.
sourcepub fn get_max_query_tcu(&self) -> &Option<i32>
pub fn get_max_query_tcu(&self) -> &Option<i32>
The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on.
The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas.
sourcepub fn query_pricing_model(self, input: QueryPricingModel) -> Self
pub fn query_pricing_model(self, input: QueryPricingModel) -> Self
The pricing model for queries in an account.
sourcepub fn set_query_pricing_model(self, input: Option<QueryPricingModel>) -> Self
pub fn set_query_pricing_model(self, input: Option<QueryPricingModel>) -> Self
The pricing model for queries in an account.
sourcepub fn get_query_pricing_model(&self) -> &Option<QueryPricingModel>
pub fn get_query_pricing_model(&self) -> &Option<QueryPricingModel>
The pricing model for queries in an account.
Trait Implementations§
source§impl Clone for UpdateAccountSettingsFluentBuilder
impl Clone for UpdateAccountSettingsFluentBuilder
source§fn clone(&self) -> UpdateAccountSettingsFluentBuilder
fn clone(&self) -> UpdateAccountSettingsFluentBuilder
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 UpdateAccountSettingsFluentBuilder
impl !RefUnwindSafe for UpdateAccountSettingsFluentBuilder
impl Send for UpdateAccountSettingsFluentBuilder
impl Sync for UpdateAccountSettingsFluentBuilder
impl Unpin for UpdateAccountSettingsFluentBuilder
impl !UnwindSafe for UpdateAccountSettingsFluentBuilder
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