UpdateAnomalyRequest
¶
Source code in docs_src/capo_cloudwatch_logs/types/update_anomaly_request.py
anomaly_detector_arn
instance-attribute
¶
anomaly_detector_arn: AnomalyDetectorArn
The ARN of the anomaly detector that this operation is to act on.
anomaly_id
instance-attribute
¶
anomaly_id: NotRequired[AnomalyId]
If you are suppressing or unsuppressing an anomaly, specify its unique ID here. You can find anomaly IDs by using the ListAnomalies operation.
baseline
instance-attribute
¶
baseline: NotRequired[Baseline]
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
pattern_id
instance-attribute
¶
pattern_id: NotRequired[PatternId]
If you are suppressing or unsuppressing an pattern, specify its unique ID here. You can find pattern IDs by using the ListAnomalies operation.
suppression_period
instance-attribute
¶
suppression_period: NotRequired[SuppressionPeriod]
If you are temporarily suppressing an anomaly or pattern, use this structure to specify how long the suppression is to last.
suppression_type
instance-attribute
¶
suppression_type: NotRequired[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.