cloudwatchlogs_update_anomaly: Use this operation to suppress anomaly detection for a...

View source: R/cloudwatchlogs_operations.R

cloudwatchlogs_update_anomalyR Documentation

Use this operation to suppress anomaly detection for a specified anomaly or pattern

Description

Use this operation to suppress anomaly detection for a specified anomaly or pattern. If you suppress an anomaly, CloudWatch Logs won’t report new occurrences of that anomaly and won't update that anomaly with new data. If you suppress a pattern, CloudWatch Logs won’t report any anomalies related to that pattern.

See https://www.paws-r-sdk.com/docs/cloudwatchlogs_update_anomaly/ for full documentation.

Usage

cloudwatchlogs_update_anomaly(
  anomalyId = NULL,
  patternId = NULL,
  anomalyDetectorArn,
  suppressionType = NULL,
  suppressionPeriod = NULL
)

Arguments

anomalyId

If you are suppressing or unsuppressing an anomaly, specify its unique ID here. You can find anomaly IDs by using the list_anomalies operation.

patternId

If you are suppressing or unsuppressing an pattern, specify its unique ID here. You can find pattern IDs by using the list_anomalies operation.

anomalyDetectorArn

[required] The ARN of the anomaly detector that this operation is to act on.

suppressionType

Use this to specify whether the suppression to be temporary or infinite. If you specify LIMITED, you must also specify a suppressionPeriod. If you specify INFINITE, any value for suppressionPeriod is ignored.

suppressionPeriod

If you are temporarily suppressing an anomaly or pattern, use this structure to specify how long the suppression is to last.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.