Use this operation to suppress anomaly detection for a specified anomaly or pattern
Source:R/cloudwatchlogs_operations.R
cloudwatchlogs_update_anomaly.RdUse 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,
baseline = 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_anomaliesoperation.- patternId
If you are suppressing or unsuppressing an pattern, specify its unique ID here. You can find pattern IDs by using the
list_anomaliesoperation.- 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 asuppressionPeriod. If you specifyINFINITE, any value forsuppressionPeriodis ignored.- suppressionPeriod
If you are temporarily suppressing an anomaly or pattern, use this structure to specify how long the suppression is to last.
- baseline
Set this to
trueto 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