Module Values.UpdateBudgetRequestSource

Updates a budget that sets spending thresholds for rendering activity.

Sourcetype nonrec t = {
  1. farmId : FarmId.t;
    (*

    The farm ID of the budget to update.

    *)
  2. budgetId : BudgetId.t;
    (*

    The budget ID to update.

    *)
  3. clientToken : ClientToken.t option;
    (*

    The unique token which the server uses to recognize retries of the same request.

    *)
  4. 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.

    *)
  5. 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.

    *)
  6. 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.

    *)
  7. approximateDollarLimit : ConsumedUsageLimit.t option;
    (*

    The dollar limit to update on the budget. Based on consumed usage.

    *)
  8. actionsToAdd : BudgetActionsToAdd.t option;
    (*

    The budget actions to add. Budget actions specify what happens when the budget runs out.

    *)
  9. actionsToRemove : BudgetActionsToRemove.t option;
    (*

    The budget actions to remove from the budget.

    *)
  10. schedule : BudgetSchedule.t option;
    (*

    The schedule to update.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?displayName:??? -> ?description:??? -> ?status:??? -> ?approximateDollarLimit:??? -> ?actionsToAdd:??? -> ?actionsToRemove:??? -> ?schedule:??? -> farmId:FarmId.t -> budgetId:BudgetId.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t