Module Values.AnomalyDetectorConfigurationSource

The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model and the time zone to use for the metric.

Sourcetype nonrec t = {
  1. excludedTimeRanges : AnomalyDetectorExcludedTimeRanges.t option;
    (*

    An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.

    *)
  2. metricTimezone : AnomalyDetectorMetricTimezone.t option;
    (*

    The time zone to use for the metric. This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes. To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see tz database.

    *)
}
Sourceval make : ?excludedTimeRanges:??? -> ?metricTimezone:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Timestamp of Timestamp.t ]) list ] list | `String of AnomalyDetectorMetricTimezone.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