Struct aws_sdk_timestreamquery::operation::update_account_settings::UpdateAccountSettingsInput
source · #[non_exhaustive]pub struct UpdateAccountSettingsInput {
pub max_query_tcu: Option<i32>,
pub query_pricing_model: Option<QueryPricingModel>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_query_tcu: 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.
query_pricing_model: Option<QueryPricingModel>
The pricing model for queries in an account.
The QueryPricingModel
parameter is used by several Timestream operations; however, the UpdateAccountSettings
API operation doesn't recognize any values other than COMPUTE_UNITS
.
Implementations§
source§impl UpdateAccountSettingsInput
impl UpdateAccountSettingsInput
sourcepub fn max_query_tcu(&self) -> Option<i32>
pub fn 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) -> Option<&QueryPricingModel>
pub fn query_pricing_model(&self) -> Option<&QueryPricingModel>
The pricing model for queries in an account.
The QueryPricingModel
parameter is used by several Timestream operations; however, the UpdateAccountSettings
API operation doesn't recognize any values other than COMPUTE_UNITS
.
source§impl UpdateAccountSettingsInput
impl UpdateAccountSettingsInput
sourcepub fn builder() -> UpdateAccountSettingsInputBuilder
pub fn builder() -> UpdateAccountSettingsInputBuilder
Creates a new builder-style object to manufacture UpdateAccountSettingsInput
.
Trait Implementations§
source§impl Clone for UpdateAccountSettingsInput
impl Clone for UpdateAccountSettingsInput
source§fn clone(&self) -> UpdateAccountSettingsInput
fn clone(&self) -> UpdateAccountSettingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAccountSettingsInput
impl Debug for UpdateAccountSettingsInput
impl StructuralPartialEq for UpdateAccountSettingsInput
Auto Trait Implementations§
impl Freeze for UpdateAccountSettingsInput
impl RefUnwindSafe for UpdateAccountSettingsInput
impl Send for UpdateAccountSettingsInput
impl Sync for UpdateAccountSettingsInput
impl Unpin for UpdateAccountSettingsInput
impl UnwindSafe for UpdateAccountSettingsInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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