Module Values_0.UpdateFleetMetricRequestSource

Updates the data for a fleet metric. Requires permission to access the UpdateFleetMetric action.

Sourcetype nonrec t = {
  1. metricName : FleetMetricName.t;
    (*

    The name of the fleet metric to update.

    *)
  2. queryString : QueryString.t option;
    (*

    The search query string.

    *)
  3. aggregationType : AggregationType.t option;
    (*

    The type of the aggregation query.

    *)
  4. 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.

    *)
  5. aggregationField : AggregationField.t option;
    (*

    The field to aggregate.

    *)
  6. description : FleetMetricDescription.t option;
    (*

    The description of the fleet metric.

    *)
  7. queryVersion : QueryVersion.t option;
    (*

    The version of the query.

    *)
  8. indexName : IndexName.t;
    (*

    The name of the index to search.

    *)
  9. unit : FleetMetricUnit.t option;
    (*

    Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.

    *)
  10. expectedVersion : OptionalVersion.t option;
    (*

    The expected version of the fleet metric record in the registry.

    *)
}
Sourceval context_ : string
Sourceval make : ?queryString:??? -> ?aggregationType:??? -> ?period:??? -> ?aggregationField:??? -> ?description:??? -> ?queryVersion:??? -> ?unit:??? -> ?expectedVersion:??? -> metricName:FleetMetricName.t -> indexName:IndexName.t -> unit -> t
Sourceval 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 ]
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