Values.SingleMetricAnomalyDetectorSourceDesignates 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.
type nonrec t = {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.
*)namespace : Namespace.t option;The namespace of the metric to create the anomaly detection model for.
*)metricName : MetricName.t option;The name of the metric to create the anomaly detection model for.
*)dimensions : Dimensions.t option;The metric dimensions to create the anomaly detection model for.
*)stat : AnomalyDetectorMetricStat.t option;The statistic to use for the metric and anomaly detection model.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of (string * [> `String of DimensionName.t ]) list ]
list
| `String of AccountId.t ])
list ]