Values.GetCostAndUsageWithResourcesResponseSourceRetrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts. Hourly granularity is only available for EC2-Instances (Elastic Compute Cloud) resource-level data. All other resource-level data is available at daily granularity. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information about how to access the Settings page, see Controlling Access for Cost Explorer in the Billing and Cost Management User Guide.
type nonrec t = {nextPageToken : NextPageToken.t option;The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
*)groupDefinitions : GroupDefinitions.t option;The groups that are specified by the Filter or GroupBy parameters in the request.
*)resultsByTime : ResultsByTime.t option;The time period that's covered by the results in the response.
*)dimensionValueAttributes : DimensionValuesWithAttributesList.t option;The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
*)}type nonrec error = [ | `BillExpirationException of BillExpirationException.t| `BillingViewHealthStatusException of BillingViewHealthStatusException.t| `InvalidNextTokenException of InvalidNextTokenException.t| `LimitExceededException of LimitExceededException.t| `RequestChangedException of RequestChangedException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BillExpirationException of BillExpirationException.t
| `BillingViewHealthStatusException of BillingViewHealthStatusException.t
| `DataUnavailableException of DataUnavailableException.t
| `InvalidNextTokenException of InvalidNextTokenException.t
| `LimitExceededException of LimitExceededException.t
| `RequestChangedException of RequestChangedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BillExpirationException of BillExpirationException.t
| `BillingViewHealthStatusException of BillingViewHealthStatusException.t
| `DataUnavailableException of DataUnavailableException.t
| `InvalidNextTokenException of InvalidNextTokenException.t
| `LimitExceededException of LimitExceededException.t
| `RequestChangedException of RequestChangedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Boolean of Estimated.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `List of [> `String of Key.t ] list
| `Map of
([> `String of MetricName.t ]
* [> `Structure of
(string
* [> `String of MetricAmount.t ])
list ])
list ])
list ]
list
| `Map of
([> `String of MetricName.t ]
* [> `String of AttributeValue.t
| `Structure of
(string * [> `String of MetricAmount.t ]) list ])
list
| `String of GroupDefinitionKey.t
| `Structure of
(string * [> `String of YearMonthDay.t ]) list ])
list ]
list
| `String of NextPageToken.t ])
list ]