Skip to content

Create Anomaly Detector

lookoutmetrics_create_anomaly_detector R Documentation

Creates an anomaly detector

Description

Creates an anomaly detector.

Usage

lookoutmetrics_create_anomaly_detector(AnomalyDetectorName,
  AnomalyDetectorDescription, AnomalyDetectorConfig, KmsKeyArn, Tags)

Arguments

AnomalyDetectorName

[required] The name of the detector.

AnomalyDetectorDescription

A description of the detector.

AnomalyDetectorConfig

[required] Contains information about the configuration of the anomaly detector.

KmsKeyArn

The ARN of the KMS key to use to encrypt your data.

Tags

A list of tags to apply to the anomaly detector.

Value

A list with the following syntax:

list(
  AnomalyDetectorArn = "string"
)

Request syntax

svc$create_anomaly_detector(
  AnomalyDetectorName = "string",
  AnomalyDetectorDescription = "string",
  AnomalyDetectorConfig = list(
    AnomalyDetectorFrequency = "P1D"|"PT1H"|"PT10M"|"PT5M"
  ),
  KmsKeyArn = "string",
  Tags = list(
    "string"
  )
)