Skip to content

Update Account Settings

timestreamquery_update_account_settings R Documentation

Transitions your account to use TCUs for query pricing and modifies the maximum query compute units that you've configured

Description

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.

Usage

timestreamquery_update_account_settings(MaxQueryTCU, QueryPricingModel)

Arguments

MaxQueryTCU

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.

QueryPricingModel

The pricing model for queries in an account.

The QueryPricingModel parameter is used by several Timestream operations; however, the update_account_settings API operation doesn't recognize any values other than COMPUTE_UNITS.

Value

A list with the following syntax:

list(
  MaxQueryTCU = 123,
  QueryPricingModel = "BYTES_SCANNED"|"COMPUTE_UNITS"
)

Request syntax

svc$update_account_settings(
  MaxQueryTCU = 123,
  QueryPricingModel = "BYTES_SCANNED"|"COMPUTE_UNITS"
)