aws_sdk_timestreamquery/client/update_account_settings.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 [`UpdateAccountSettings`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`max_query_tcu(i32)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::max_query_tcu) / [`set_max_query_tcu(Option<i32>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::set_max_query_tcu):<br>required: **false**<br><p>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 <code>MaxQueryTCU</code> 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. This configuration is applicable only for on-demand usage of Timestream Compute Units (TCUs).</p> <p>The maximum value supported for <code>MaxQueryTCU</code> is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for <code>maxQueryTCU</code>, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default">Default quotas</a>.</p><br>
7 /// - [`query_pricing_model(QueryPricingModel)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::query_pricing_model) / [`set_query_pricing_model(Option<QueryPricingModel>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::set_query_pricing_model):<br>required: **false**<br><p>The pricing model for queries in an account.</p><note> <p>The <code>QueryPricingModel</code> parameter is used by several Timestream operations; however, the <code>UpdateAccountSettings</code> API operation doesn't recognize any values other than <code>COMPUTE_UNITS</code>.</p> </note><br>
8 /// - [`query_compute(QueryComputeRequest)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::query_compute) / [`set_query_compute(Option<QueryComputeRequest>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::set_query_compute):<br>required: **false**<br><p>Modifies the query compute settings configured in your account, including the query pricing model and provisioned Timestream Compute Units (TCUs) in your account.</p><note> <p>This API is idempotent, meaning that making the same request multiple times will have the same effect as making the request once.</p> </note><br>
9 /// - On success, responds with [`UpdateAccountSettingsOutput`](crate::operation::update_account_settings::UpdateAccountSettingsOutput) with field(s):
10 /// - [`max_query_tcu(Option<i32>)`](crate::operation::update_account_settings::UpdateAccountSettingsOutput::max_query_tcu): <p>The configured maximum number of compute units the service will use at any point in time to serve your queries.</p>
11 /// - [`query_pricing_model(Option<QueryPricingModel>)`](crate::operation::update_account_settings::UpdateAccountSettingsOutput::query_pricing_model): <p>The pricing model for an account.</p>
12 /// - [`query_compute(Option<QueryComputeResponse>)`](crate::operation::update_account_settings::UpdateAccountSettingsOutput::query_compute): <p>Confirms the updated account settings for querying data in your account.</p>
13 /// - On failure, responds with [`SdkError<UpdateAccountSettingsError>`](crate::operation::update_account_settings::UpdateAccountSettingsError)
14 pub fn update_account_settings(&self) -> crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder {
15 crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::new(self.handle.clone())
16 }
17}