Module Values.CostDriverSource

Represents factors that contribute to cost variations between the baseline and comparison time periods, including the type of driver, an identifier of the driver, and associated metrics.

Sourcetype nonrec t = {
  1. type_ : GenericString.t option;
    (*

    The category or classification of the cost driver. Values include: BUNDLED_DISCOUNT, CREDIT, OUT_OF_CYCLE_CHARGE, REFUND, RECURRING_RESERVATION_FEE, RESERVATION_USAGE, RI_VOLUME_DISCOUNT, SAVINGS_PLAN_USAGE, SAVINGS_PLAN_RECURRING_FEE, SUPPORT_FEE, TAX, UPFRONT_RESERVATION_FEE, USAGE_CHANGE, COMMITMENT

    *)
  2. name : GenericString.t option;
    (*

    The specific identifier of the cost driver.

    *)
  3. metrics : ComparisonMetrics.t option;
    (*

    A mapping of metric names to their comparison values, measuring the impact of this cost driver.

    *)
}
Sourceval make : ?type_:??? -> ?name:??? -> ?metrics:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of MetricName.t ] * [> `Structure of (string * [> `String of GenericString.t ]) list ]) list | `String of GenericString.t ]) 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