Module Values_1.NamedEntityDefinitionMetricSource

A structure that represents a metric.

Sourcetype nonrec t = {
  1. aggregation : NamedEntityAggType.t option;
    (*

    The aggregation of a named entity. Valid values for this structure are SUM, MIN, MAX, COUNT, AVERAGE, DISTINCT_COUNT, STDEV, STDEVP, VAR, VARP, PERCENTILE, MEDIAN, and CUSTOM.

    *)
  2. aggregationFunctionParameters : Values_0.AggregationFunctionParameters.t option;
    (*

    The additional parameters for an aggregation function.

    *)
}
Sourceval make : ?aggregation:??? -> ?aggregationFunctionParameters:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of string ] * [> `String of string ]) 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