Module Values.MetricSource

Represents a specific metric.

Sourcetype nonrec t = {
  1. namespace : MetricNamespace.t;
    (*

    The namespace of the metric. For more information, see the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

    *)
  2. metricName : MetricName.t;
    (*

    The name of the metric.

    *)
  3. dimensions : MetricDimensions.t option;
    (*

    The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide. Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

    *)
}
Sourceval context_ : string
Sourceval make : ?dimensions:??? -> namespace:MetricNamespace.t -> metricName:MetricName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of MetricDimensionName.t ]) list ] list | `String of MetricNamespace.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