Module Values.SingleMetricAnomalyDetectorSource

Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input. If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.

Sourcetype nonrec t = {
  1. accountId : AccountId.t option;
    (*

    If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.

    *)
  2. namespace : Namespace.t option;
    (*

    The namespace of the metric to create the anomaly detection model for.

    *)
  3. metricName : MetricName.t option;
    (*

    The name of the metric to create the anomaly detection model for.

    *)
  4. dimensions : Dimensions.t option;
    (*

    The metric dimensions to create the anomaly detection model for.

    *)
  5. stat : AnomalyDetectorMetricStat.t option;
    (*

    The statistic to use for the metric and anomaly detection model.

    *)
}
Sourceval make : ?accountId:??? -> ?namespace:??? -> ?metricName:??? -> ?dimensions:??? -> ?stat:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of DimensionName.t ]) list ] list | `String of AccountId.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