Module Values.GetBudgetResponseSource

Mixin that adds an optional ARN field to response structures. Apply to SummaryMixins (flows into Get, Summary, and BatchGet) and Create outputs.

Sourcetype nonrec t = {
  1. budgetId : BudgetId.t option;
    (*

    The budget ID.

    *)
  2. usageTrackingResource : UsageTrackingResource.t option;
    (*

    The resource that the budget is tracking usage for.

    *)
  3. status : BudgetStatus.t option;
    (*

    The status of the budget. ACTIVE–Get a budget being evaluated. INACTIVE–Get an inactive budget. This can include expired, canceled, or deleted statuses.

    *)
  4. displayName : ResourceName.t option;
    (*

    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.

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

    The consumed usage limit for the budget.

    *)
  6. usages : ConsumedUsages.t option;
    (*

    The usages of the budget.

    *)
  7. createdBy : CreatedBy.t option;
    (*

    The user or system that created this resource.

    *)
  8. createdAt : CreatedAt.t option;
    (*

    The date and time the resource was created.

    *)
  9. updatedBy : UpdatedBy.t option;
    (*

    The user or system that updated this resource.

    *)
  10. updatedAt : UpdatedAt.t option;
    (*

    The date and time the resource was updated.

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

    *)
  12. actions : ResponseBudgetActionList.t option;
    (*

    The budget actions for the budget.

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

    The budget schedule.

    *)
  14. queueStoppedAt : UpdatedAt.t option;
    (*

    The date and time the queue stopped.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerErrorException of InternalServerErrorException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?budgetId:??? -> ?usageTrackingResource:??? -> ?status:??? -> ?displayName:??? -> ?approximateDollarLimit:??? -> ?usages:??? -> ?createdBy:??? -> ?createdAt:??? -> ?updatedBy:??? -> ?updatedAt:??? -> ?description:??? -> ?actions:??? -> ?schedule:??? -> ?queueStoppedAt:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerErrorException of InternalServerErrorException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerErrorException of InternalServerErrorException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.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 BudgetId.t | `Structure of (string * [> `Float of Float_.t | `String of QueueId.t | `Structure of (string * [> `Timestamp of StartsAt.t ]) list ]) list | `Timestamp of CreatedAt.t ]) 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