Module Values_5.GetCapacityManagerMetricDataResultSource

Retrieves capacity usage metrics for your EC2 resources. Returns time-series data for metrics like unused capacity, utilization rates, and costs across On-Demand, Spot, and Capacity Reservations. Data can be grouped and filtered by various dimensions such as region, account, and instance family.

Sourcetype nonrec t = {
  1. metricDataResults : Values_3.MetricDataResultSet.t option;
    (*

    The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.

    *)
  2. nextToken : Values_3.NextToken.t option;
    (*

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?metricDataResults:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Double of float | `Enum of string ]) list ] list | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.String_.t | `Timestamp of Values_0.MillisecondDateTime.t ]) list | `Timestamp of Values_0.MillisecondDateTime.t ]) list ] list | `String of Values_3.NextToken.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