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.
cloudwatchlogs_update_anomaly(
anomalyId = NULL,
patternId = NULL,
anomalyDetectorArn,
suppressionType = NULL,
suppressionPeriod = NULL
)
If you are suppressing or unsuppressing an anomaly, specify its unique
ID here. You can find anomaly IDs by using the
list_anomalies
operation.
If you are suppressing or unsuppressing an pattern, specify its unique
ID here. You can find pattern IDs by using the
list_anomalies
operation.
[required] The ARN of the anomaly detector that this operation is to act on.
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.
If you are temporarily suppressing an anomaly or pattern, use this structure to specify how long the suppression is to last.