class Amazonite::CloudWatchLogs::UpdateLogAnomalyDetectorRequest

Included Modules

Defined in:

cloudwatch_logs/update_log_anomaly_detector_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(anomaly_detector_arn : String, enabled : Bool, evaluation_frequency : EvaluationFrequency | Nil = nil, filter_pattern : String | Nil = nil, anomaly_visibility_time : Int64 | Nil = nil) #

[View source]
def self.new(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 you want to update.


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

The ARN of the anomaly detector that you want to update.


[View source]
def anomaly_visibility_time : Int64 | Nil #

The number of days to use as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal. Therefore, if you do not correct the cause of an anomaly during this time, it will be considered normal going forward and will not be detected.


[View source]
def anomaly_visibility_time=(anomaly_visibility_time : Int64 | Nil) #

The number of days to use as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal. Therefore, if you do not correct the cause of an anomaly during this time, it will be considered normal going forward and will not be detected.


[View source]
def enabled : Bool #

Use this parameter to pause or restart the anomaly detector.


[View source]
def enabled=(enabled : Bool) #

Use this parameter to pause or restart the anomaly detector.


[View source]
def evaluation_frequency : EvaluationFrequency | Nil #

Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate.


[View source]
def evaluation_frequency=(evaluation_frequency : EvaluationFrequency | Nil) #

Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate.


[View source]
def filter_pattern : String | Nil #

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

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

See Object#hash(hasher)


def validate! : Nil #

[View source]