Values.GetBudgetResponseSourceMixin that adds an optional ARN field to response structures. Apply to SummaryMixins (flows into Get, Summary, and BatchGet) and Create outputs.
type nonrec t = {budgetId : BudgetId.t option;The budget ID.
*)usageTrackingResource : UsageTrackingResource.t option;The resource that the budget is tracking usage for.
*)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.
*)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.
*)approximateDollarLimit : ConsumedUsageLimit.t option;The consumed usage limit for the budget.
*)usages : ConsumedUsages.t option;The usages of the budget.
*)createdBy : CreatedBy.t option;The user or system that created this resource.
*)createdAt : CreatedAt.t option;The date and time the resource was created.
*)updatedBy : UpdatedBy.t option;The user or system that updated this resource.
*)updatedAt : UpdatedAt.t option;The date and time the resource was updated.
*)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.
*)actions : ResponseBudgetActionList.t option;The budget actions for the budget.
*)schedule : BudgetSchedule.t option;The budget schedule.
*)queueStoppedAt : UpdatedAt.t option;The date and time the queue stopped.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerErrorException of InternalServerErrorException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?budgetId:BudgetId.t ->
?usageTrackingResource:UsageTrackingResource.t ->
?status:BudgetStatus.t ->
?displayName:ResourceName.t ->
?approximateDollarLimit:ConsumedUsageLimit.t ->
?usages:ConsumedUsages.t ->
?createdBy:CreatedBy.t ->
?createdAt:CreatedAt.t ->
?updatedBy:UpdatedBy.t ->
?updatedAt:UpdatedAt.t ->
?description:Description.t ->
?actions:ResponseBudgetActionList.t ->
?schedule:BudgetSchedule.t ->
?queueStoppedAt:UpdatedAt.t ->
unit ->
tval 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 ]val 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 ]val 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 ]