class Amazonite::CloudWatchLogs::GetLogAnomalyDetectorResponse

Included Modules

Defined in:

cloudwatch_logs/get_log_anomaly_detector_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(detector_name : String | Nil = nil, log_group_arn_list : Array(String) | Nil = nil, evaluation_frequency : EvaluationFrequency | Nil = nil, filter_pattern : String | Nil = nil, anomaly_detector_status : AnomalyDetectorStatus | Nil = nil, kms_key_id : String | Nil = nil, creation_time_stamp : Int64 | Nil = nil, last_modified_time_stamp : Int64 | Nil = nil, anomaly_visibility_time : Int64 | Nil = nil) #

[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_status : AnomalyDetectorStatus | Nil #

Specifies whether the anomaly detector is currently active. To change its status, use the enabled parameter in the UpdateLogAnomalyDetector operation.


[View source]
def anomaly_detector_status=(anomaly_detector_status : AnomalyDetectorStatus | Nil) #

Specifies whether the anomaly detector is currently active. To change its status, use the enabled parameter in the UpdateLogAnomalyDetector operation.


[View source]
def anomaly_visibility_time : Int64 | Nil #

The number of days used 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.


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

The number of days used 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.


[View source]
def creation_time_stamp : Int64 | Nil #

The date and time when this anomaly detector was created.


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

The date and time when this anomaly detector was created.


[View source]
def detector_name : String | Nil #

The name of the log anomaly detector


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

The name of the log 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 kms_key_id : String | Nil #

The ARN of the KMS key assigned to this anomaly detector, if any.


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

The ARN of the KMS key assigned to this anomaly detector, if any.


[View source]
def last_modified_time_stamp : Int64 | Nil #

The date and time when this anomaly detector was most recently modified.


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

The date and time when this anomaly detector was most recently modified.


[View source]
def log_group_arn_list : Array(String) | Nil #

An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.


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

An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.


[View source]
def validate! : Nil #

[View source]