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