Skip to content

Update Anomaly Detector

lookoutmetrics_update_anomaly_detector R Documentation

Updates a detector

Description

Updates a detector. After activation, you can only change a detector's ingestion delay and description.

Usage

lookoutmetrics_update_anomaly_detector(AnomalyDetectorArn, KmsKeyArn,
  AnomalyDetectorDescription, AnomalyDetectorConfig)

Arguments

AnomalyDetectorArn

[required] The ARN of the detector to update.

KmsKeyArn

The Amazon Resource Name (ARN) of an AWS KMS encryption key.

AnomalyDetectorDescription

The updated detector description.

AnomalyDetectorConfig

Contains information about the configuration to which the detector will be updated.

Value

A list with the following syntax:

list(
  AnomalyDetectorArn = "string"
)

Request syntax

svc$update_anomaly_detector(
  AnomalyDetectorArn = "string",
  KmsKeyArn = "string",
  AnomalyDetectorDescription = "string",
  AnomalyDetectorConfig = list(
    AnomalyDetectorFrequency = "P1D"|"PT1H"|"PT10M"|"PT5M"
  )
)