Values.PutAnomalyDetectorRequestSourceWhen you call PutAnomalyDetector, the operation creates a new anomaly detector if one doesn't exist, or updates an existing one. Each call to this operation triggers a complete retraining of the detector, which includes querying the minimum required samples and backfilling the detector with historical data. This process occurs regardless of whether you're making a minor change like updating the evaluation interval or making more substantial modifications. The operation serves as the single method for creating, updating, and retraining anomaly detectors.
type nonrec t = {workspaceId : WorkspaceId.t;The identifier of the workspace containing the anomaly detector to update.
*)anomalyDetectorId : AnomalyDetectorId.t;The identifier of the anomaly detector to update.
*)evaluationIntervalInSeconds : AnomalyDetectorEvaluationInterval.t option;The frequency, in seconds, at which the anomaly detector evaluates metrics.
*)missingDataAction : AnomalyDetectorMissingDataAction.t option;Specifies the action to take when data is missing during evaluation.
*)configuration : AnomalyDetectorConfiguration.t;The algorithm configuration for the anomaly detector.
*)labels : PrometheusMetricLabelMap.t option;The Amazon Managed Service for Prometheus metric labels to associate with the anomaly detector.
*)clientToken : IdempotencyToken.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
*)}val make :
?evaluationIntervalInSeconds:??? ->
?missingDataAction:??? ->
?labels:??? ->
?clientToken:??? ->
workspaceId:WorkspaceId.t ->
anomalyDetectorId:AnomalyDetectorId.t ->
configuration:AnomalyDetectorConfiguration.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of AnomalyDetectorEvaluationInterval.t
| `Map of
([> `String of PrometheusMetricLabelKey.t ]
* [> `String of PrometheusMetricLabelValue.t ])
list
| `String of WorkspaceId.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Structure of
(string
* [> `Integer of
RandomCutForestConfigurationShingleSizeInteger.t
| `String of RandomCutForestQuery.t
| `Structure of
(string
* [> `Double of IgnoreNearExpectedAmountDouble.t ])
list ])
list ])
list ])
list ]