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,
QueryCompute)
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 The maximum value supported for |
QueryPricingModel |
The pricing model for queries in an account. The |
QueryCompute |
Modifies the query compute settings configured in your account, including the query pricing model and provisioned Timestream Compute Units (TCUs) in your account. This API is idempotent, meaning that making the same request multiple times will have the same effect as making the request once. |
Value¶
A list with the following syntax:
list(
MaxQueryTCU = 123,
QueryPricingModel = "BYTES_SCANNED"|"COMPUTE_UNITS",
QueryCompute = list(
ComputeMode = "ON_DEMAND"|"PROVISIONED",
ProvisionedCapacity = list(
ActiveQueryTCU = 123,
NotificationConfiguration = list(
SnsConfiguration = list(
TopicArn = "string"
),
RoleArn = "string"
),
LastUpdate = list(
TargetQueryTCU = 123,
Status = "PENDING"|"FAILED"|"SUCCEEDED",
StatusMessage = "string"
)
)
)
)
Request syntax¶
svc$update_account_settings(
MaxQueryTCU = 123,
QueryPricingModel = "BYTES_SCANNED"|"COMPUTE_UNITS",
QueryCompute = list(
ComputeMode = "ON_DEMAND"|"PROVISIONED",
ProvisionedCapacity = list(
TargetQueryTCU = 123,
NotificationConfiguration = list(
SnsConfiguration = list(
TopicArn = "string"
),
RoleArn = "string"
)
)
)
)