Values.GetCostAndUsageComparisonsResponseSourceRetrieves cost and usage comparisons for your account between two periods within the last 13 months. If you have enabled multi-year data at monthly granularity, you can go back up to 38 months.
type nonrec t = {costAndUsageComparisons : CostAndUsageComparisons.t option;An array of comparison results showing cost and usage metrics between BaselineTimePeriod and ComparisonTimePeriod.
*)totalCostAndUsage : ComparisonMetrics.t option;A summary of the total cost and usage, comparing amounts between BaselineTimePeriod and ComparisonTimePeriod and their differences. This total represents the aggregate total across all paginated results, if the response spans multiple pages.
*)nextPageToken : NextPageToken.t option;The token to retrieve the next set of paginated results.
*)}type nonrec error = [ | `BillingViewHealthStatusException of BillingViewHealthStatusException.t| `InvalidNextTokenException of InvalidNextTokenException.t| `LimitExceededException of LimitExceededException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BillingViewHealthStatusException of BillingViewHealthStatusException.t
| `DataUnavailableException of DataUnavailableException.t
| `InvalidNextTokenException of InvalidNextTokenException.t
| `LimitExceededException of LimitExceededException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BillingViewHealthStatusException of BillingViewHealthStatusException.t
| `DataUnavailableException of DataUnavailableException.t
| `InvalidNextTokenException of InvalidNextTokenException.t
| `LimitExceededException of LimitExceededException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of (string * Awso.Botodata.value) list ] list
| `Map of
([> `String of MetricName.t ]
* [> `Structure of (string * [> `String of GenericString.t ]) list ])
list
| `String of NextPageToken.t ])
list ]