Values.CostAndUsageQuerySourceDefines the parameters for retrieving Amazon Web Services cost and usage data. Includes specifications for metrics, time periods, granularity, grouping dimensions, and filtering conditions.
type nonrec t = {metrics : MetricNames.t;The specific cost and usage metrics to retrieve. Valid values for CostAndUsageQuery metrics are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, NormalizedUsageAmount, UnblendedCost, and UsageQuantity.
*)timeRange : DateTimeRange.t;The time period for which to retrieve data. Can be specified as absolute dates or relative time periods.
*)granularity : Granularity.t;The granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.
*)groupBy : GroupDefinitions.t option;Specifies how to group the retrieved data, such as by SERVICE, ACCOUNT, or TAG.
*)filter : Expression.t option;The filter expression to be applied to the cost and usage data.
*)}val make :
?groupBy:??? ->
?filter:??? ->
metrics:MetricNames.t ->
timeRange:DateTimeRange.t ->
granularity:Granularity.t ->
unit ->
t