Module Values.SavingsPlansCoverageQuerySource

Defines the parameters for querying Savings Plans coverage data, including metrics, grouping options, and time granularity.

Sourcetype nonrec t = {
  1. timeRange : DateTimeRange.t;
  2. metrics : MetricNames.t option;
    (*

    The coverage metrics to include in the results. Valid value for SavingsPlansCoverageQuery metrics is SpendCoveredBySavingsPlans.

    *)
  3. granularity : Granularity.t option;
    (*

    The time granularity of the retrieved data: HOURLY, DAILY, or MONTHLY.

    *)
  4. groupBy : GroupDefinitions.t option;
    (*

    Specifies how to group the Savings Plans coverage data, such as by service or instance family.

    *)
  5. filter : Expression.t option;
}
Sourceval context_ : string
Sourceval make : ?metrics:??? -> ?granularity:??? -> ?groupBy:??? -> ?filter:??? -> timeRange:DateTimeRange.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) 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