aws_sdk_timestreamquery/client/
update_account_settings.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateAccountSettings`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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.</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 maxQueryTCU, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default">Default quotas</a>.</p><br>
    ///   - [`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>
    /// - On success, responds with [`UpdateAccountSettingsOutput`](crate::operation::update_account_settings::UpdateAccountSettingsOutput) with field(s):
    ///   - [`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>
    ///   - [`query_pricing_model(Option<QueryPricingModel>)`](crate::operation::update_account_settings::UpdateAccountSettingsOutput::query_pricing_model): <p>The pricing model for an account.</p>
    /// - On failure, responds with [`SdkError<UpdateAccountSettingsError>`](crate::operation::update_account_settings::UpdateAccountSettingsError)
    pub fn update_account_settings(&self) -> crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder {
        crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::new(self.handle.clone())
    }
}