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,
baseline = 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.
Set this to true
to prevent CloudWatch Logs from displaying this
behavior as an anomaly in the future. The behavior is then treated as
baseline behavior. However, if similar but more severe occurrences of
this behavior occur in the future, those will still be reported as
anomalies.
The default is false