Values.UpdateBudgetRequestSourceUpdates a budget that sets spending thresholds for rendering activity.
type nonrec t = {farmId : FarmId.t;The farm ID of the budget to update.
*)budgetId : BudgetId.t;The budget ID to update.
*)clientToken : ClientToken.t option;The unique token which the server uses to recognize retries of the same request.
*)displayName : ResourceName.t option;The display name of the budget to update. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
*)description : Description.t option;The description of the budget to update. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
*)status : BudgetStatus.t option;Updates the status of the budget. ACTIVE–The budget is being evaluated. INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.
*)approximateDollarLimit : ConsumedUsageLimit.t option;The dollar limit to update on the budget. Based on consumed usage.
*)actionsToAdd : BudgetActionsToAdd.t option;The budget actions to add. Budget actions specify what happens when the budget runs out.
*)actionsToRemove : BudgetActionsToRemove.t option;The budget actions to remove from the budget.
*)schedule : BudgetSchedule.t option;The schedule to update.
*)}val make :
?clientToken:??? ->
?displayName:??? ->
?description:??? ->
?status:??? ->
?approximateDollarLimit:??? ->
?actionsToAdd:??? ->
?actionsToRemove:??? ->
?schedule:??? ->
farmId:FarmId.t ->
budgetId:BudgetId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Float of ConsumedUsageLimit.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Float of ThresholdPercentage.t
| `String of Description.t ])
list ]
list
| `String of FarmId.t
| `Structure of
(string
* [> `Structure of (string * [> `Timestamp of StartsAt.t ]) list ])
list ])
list ]