class Amazonite::CloudWatchLogs::UpdateAnomalyRequest

Included Modules

Defined in:

cloudwatch_logs/update_anomaly_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(anomaly_detector_arn : String, anomaly_id : String | Nil = nil, pattern_id : String | Nil = nil, suppression_type : SuppressionType | Nil = nil, suppression_period : SuppressionPeriod | Nil = nil, baseline : Bool | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def anomaly_detector_arn : String #

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


[View source]
def anomaly_detector_arn=(anomaly_detector_arn : String) #

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


[View source]
def anomaly_id : String | Nil #

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


[View source]
def anomaly_id=(anomaly_id : String | Nil) #

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


[View source]
def baseline : Bool | Nil #

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


[View source]
def baseline=(baseline : Bool | Nil) #

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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def pattern_id : String | Nil #

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


[View source]
def pattern_id=(pattern_id : String | Nil) #

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


[View source]
def suppression_period : SuppressionPeriod | Nil #

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


[View source]
def suppression_period=(suppression_period : SuppressionPeriod | Nil) #

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


[View source]
def suppression_type : SuppressionType | Nil #

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.


[View source]
def suppression_type=(suppression_type : SuppressionType | Nil) #

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.


[View source]
def validate! : Nil #

[View source]