Module Values.PredictiveScalingMetricStatSource

This structure defines the CloudWatch metric to return, along with the statistic and unit.

Sourcetype nonrec t = {
  1. metric : PredictiveScalingMetric.t;
    (*

    The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

    *)
  2. stat : XmlString.t;
    (*

    The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide. The most commonly used metrics for predictive scaling are Average and Sum.

    *)
  3. unit : PredictiveScalingMetricUnit.t option;
    (*

    The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

    *)
}
Sourceval context_ : string
Sourceval make : ?unit:??? -> metric:PredictiveScalingMetric.t -> stat:XmlString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of XmlString.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of PredictiveScalingMetricDimensionName.t ]) list ] list | `String of PredictiveScalingMetricName.t ]) list ]) 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