Module Values.CreateBudgetRequestSource

Shared displayName + description for Create operations where both are present. displayName is @required here - this mixin is Create-only by design (Update has optional displayName).

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

    The farm ID to include in this budget.

    *)
  2. displayName : ResourceName.t;
    (*

    The display name of the budget. 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.

    *)
  3. description : Description.t option;
    (*

    The description of the budget. 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.

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

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

    *)
  5. usageTrackingResource : UsageTrackingResource.t;
    (*

    The queue ID provided to this budget to track usage.

    *)
  6. approximateDollarLimit : ConsumedUsageLimit.t;
    (*

    The dollar limit based on consumed usage.

    *)
  7. actions : BudgetActionsToAdd.t;
    (*

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

    *)
  8. schedule : BudgetSchedule.t;
    (*

    The schedule to associate with this budget.

    *)
  9. tags : Tags.t option;
    (*

    Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?clientToken:??? -> ?tags:??? -> farmId:FarmId.t -> displayName:ResourceName.t -> usageTrackingResource:UsageTrackingResource.t -> approximateDollarLimit:ConsumedUsageLimit.t -> actions:BudgetActionsToAdd.t -> schedule:BudgetSchedule.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of ConsumedUsageLimit.t | `List of [> `Structure of (string * [> `Enum of string | `Float of ThresholdPercentage.t | `String of Description.t ]) list ] list | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of FarmId.t | `Structure of (string * [> `String of QueueId.t | `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