class
Amazonite::CloudWatch::PutAnomalyDetectorInput
- Amazonite::CloudWatch::PutAnomalyDetectorInput
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/put_anomaly_detector_input.crConstructors
- .new(pull : JSON::PullParser)
- .new(namespace : String | Nil = nil, metric_name : String | Nil = nil, dimensions : Array(Dimension) | Nil = nil, stat : String | Nil = nil, configuration : AnomalyDetectorConfiguration | Nil = nil, metric_characteristics : MetricCharacteristics | Nil = nil, single_metric_anomaly_detector : SingleMetricAnomalyDetector | Nil = nil, metric_math_anomaly_detector : MetricMathAnomalyDetector | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#configuration : AnomalyDetectorConfiguration | Nil
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model.
-
#configuration=(configuration : AnomalyDetectorConfiguration | Nil)
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model.
-
#dimensions : Array(Dimension) | Nil
The metric dimensions to create the anomaly detection model for.
-
#dimensions=(dimensions : Array(Dimension) | Nil)
The metric dimensions to create the anomaly detection model for.
-
#hash(hasher)
See
Object#hash(hasher) -
#metric_characteristics : MetricCharacteristics | Nil
Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models.
-
#metric_characteristics=(metric_characteristics : MetricCharacteristics | Nil)
Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models.
-
#metric_math_anomaly_detector : MetricMathAnomalyDetector | Nil
The metric math anomaly detector to be created.
-
#metric_math_anomaly_detector=(metric_math_anomaly_detector : MetricMathAnomalyDetector | Nil)
The metric math anomaly detector to be created.
-
#metric_name : String | Nil
The name of the metric to create the anomaly detection model for.
-
#metric_name=(metric_name : String | Nil)
The name of the metric to create the anomaly detection model for.
-
#namespace : String | Nil
The namespace of the metric to create the anomaly detection model for.
-
#namespace=(namespace : String | Nil)
The namespace of the metric to create the anomaly detection model for.
-
#single_metric_anomaly_detector : SingleMetricAnomalyDetector | Nil
A single metric anomaly detector to be created.
-
#single_metric_anomaly_detector=(single_metric_anomaly_detector : SingleMetricAnomalyDetector | Nil)
A single metric anomaly detector to be created.
-
#stat : String | Nil
The statistic to use for the metric and the anomaly detection model.
-
#stat=(stat : String | Nil)
The statistic to use for the metric and the anomaly detection model.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.
The configuration can also include the time zone to use for the metric.
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.
The configuration can also include the time zone to use for the metric.
The metric dimensions to create the anomaly detection model for.
The metric dimensions to create the anomaly detection model for.
Use this object to include parameters to provide information about your metric to CloudWatch to
help it build more accurate anomaly detection models. Currently, it includes the
PeriodicSpikes parameter.
Use this object to include parameters to provide information about your metric to CloudWatch to
help it build more accurate anomaly detection models. Currently, it includes the
PeriodicSpikes parameter.
The metric math anomaly detector to be created.
When using MetricMathAnomalyDetector, you cannot include the following parameters in the same
operation:
-
Dimensions -
MetricName -
Namespace -
Stat -
the
SingleMetricAnomalyDetectorparameters ofPutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property
MetricMathAnomalyDetector.
The metric math anomaly detector to be created.
When using MetricMathAnomalyDetector, you cannot include the following parameters in the same
operation:
-
Dimensions -
MetricName -
Namespace -
Stat -
the
SingleMetricAnomalyDetectorparameters ofPutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property
MetricMathAnomalyDetector.
The name of the metric to create the anomaly detection model for.
The namespace of the metric to create the anomaly detection model for.
The namespace of the metric to create the anomaly detection model for.
A single metric anomaly detector to be created.
When using SingleMetricAnomalyDetector, you cannot include the following parameters in the
same operation:
-
Dimensions -
MetricName -
Namespace -
Stat -
the
MetricMathAnomalyDetectorparameters ofPutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property
SingleMetricAnomalyDetector.
A single metric anomaly detector to be created.
When using SingleMetricAnomalyDetector, you cannot include the following parameters in the
same operation:
-
Dimensions -
MetricName -
Namespace -
Stat -
the
MetricMathAnomalyDetectorparameters ofPutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property
SingleMetricAnomalyDetector.
The statistic to use for the metric and the anomaly detection model.