Values_1.CreateFleetMetricRequestSourceCreates a fleet metric. Requires permission to access the CreateFleetMetric action.
type nonrec t = {metricName : Values_0.FleetMetricName.t;The name of the fleet metric to create.
*)queryString : Values_0.QueryString.t;The search query string.
*)aggregationType : Values_0.AggregationType.t;The type of the aggregation query.
*)period : Values_0.FleetMetricPeriod.t;The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
*)aggregationField : Values_0.AggregationField.t;The field to aggregate.
*)description : Values_0.FleetMetricDescription.t option;The fleet metric description.
*)queryVersion : Values_0.QueryVersion.t option;The query version.
*)indexName : Values_0.IndexName.t option;The name of the index to search.
*)unit : Values_0.FleetMetricUnit.t option;Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric. Default to null.
*)}val make :
?description:??? ->
?queryVersion:??? ->
?indexName:??? ->
?unit:??? ->
?tags:??? ->
metricName:Values_0.FleetMetricName.t ->
queryString:Values_0.QueryString.t ->
aggregationType:Values_0.AggregationType.t ->
period:Values_0.FleetMetricPeriod.t ->
aggregationField:Values_0.AggregationField.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of Values_0.FleetMetricPeriod.t
| `List of
[> `Structure of (string * [> `String of string ]) list ] list
| `String of Values_0.FleetMetricName.t
| `Structure of
(string
* [> `Enum of string | `List of [> `String of string ] list ])
list ])
list ]