Module Values.CreateAnomalyDetectorRequestSource

Creates an anomaly detector within a workspace using the Random Cut Forest algorithm for time-series analysis. The anomaly detector analyzes Amazon Managed Service for Prometheus metrics to identify unusual patterns and behaviors.

Sourcetype nonrec t = {
  1. workspaceId : WorkspaceId.t;
    (*

    The identifier of the workspace where the anomaly detector will be created.

    *)
  2. alias : AnomalyDetectorAlias.t;
    (*

    A user-friendly name for the anomaly detector.

    *)
  3. evaluationIntervalInSeconds : AnomalyDetectorEvaluationInterval.t option;
    (*

    The frequency, in seconds, at which the anomaly detector evaluates metrics. The default value is 60 seconds.

    *)
  4. missingDataAction : AnomalyDetectorMissingDataAction.t option;
    (*

    Specifies the action to take when data is missing during evaluation.

    *)
  5. configuration : AnomalyDetectorConfiguration.t;
    (*

    The algorithm configuration for the anomaly detector.

    *)
  6. labels : CreateAnomalyDetectorRequestLabelsMap.t option;
    (*

    The Amazon Managed Service for Prometheus metric labels to associate with the anomaly detector.

    *)
  7. clientToken : IdempotencyToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  8. tags : TagMap.t option;
    (*

    The metadata to apply to the anomaly detector to assist with categorization and organization.

    *)
}
Sourceval context_ : string
Sourceval make : ?evaluationIntervalInSeconds:??? -> ?missingDataAction:??? -> ?labels:??? -> ?clientToken:??? -> ?tags:??? -> workspaceId:WorkspaceId.t -> alias:AnomalyDetectorAlias.t -> configuration:AnomalyDetectorConfiguration.t -> unit -> t
Sourceval 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 ]
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