Update Spending Limit
| braket_update_spending_limit | R Documentation |
Updates an existing spending limit¶
Description¶
Updates an existing spending limit. You can modify the spending amount or time period. Changes take effect immediately.
Usage¶
braket_update_spending_limit(spendingLimitArn, clientToken,
spendingLimit, timePeriod)
Arguments¶
spendingLimitArn |
[required] The Amazon Resource Name (ARN) of the spending limit to update. |
clientToken |
[required] A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Braket ignores the request, but does not return an error. |
spendingLimit |
The new maximum amount that can be spent on the specified device, in USD. |
timePeriod |
The new time period during which the spending limit is active, including start and end dates. |
Value¶
An empty list.
Request syntax¶
svc$update_spending_limit(
spendingLimitArn = "string",
clientToken = "string",
spendingLimit = "string",
timePeriod = list(
startAt = as.POSIXct(
"2015-01-01"
),
endAt = as.POSIXct(
"2015-01-01"
)
)
)