You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatch::Types::PutAnomalyDetectorInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::PutAnomalyDetectorInput
- Defined in:
- (unknown)
Overview
When passing PutAnomalyDetectorInput as input to an Aws::Client method, you can use a vanilla Hash:
{
namespace: "Namespace", # required
metric_name: "MetricName", # required
dimensions: [
{
name: "DimensionName", # required
value: "DimensionValue", # required
},
],
stat: "AnomalyDetectorMetricStat", # required
configuration: {
excluded_time_ranges: [
{
start_time: Time.now, # required
end_time: Time.now, # required
},
],
metric_timezone: "AnomalyDetectorMetricTimezone",
},
}
Instance Attribute Summary collapse
-
#configuration ⇒ Types::AnomalyDetectorConfiguration
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<Types::Dimension>
The metric dimensions to create the anomaly detection model for.
-
#metric_name ⇒ String
The name of the metric to create the anomaly detection model for.
-
#namespace ⇒ String
The namespace of the metric to create the anomaly detection model for.
-
#stat ⇒ String
The statistic to use for the metric and the anomaly detection model.
Instance Attribute Details
#configuration ⇒ Types::AnomalyDetectorConfiguration
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.
#dimensions ⇒ Array<Types::Dimension>
The metric dimensions to create the anomaly detection model for.
#metric_name ⇒ String
The name of the metric to create the anomaly detection model for.
#namespace ⇒ String
The namespace of the metric to create the anomaly detection model for.
#stat ⇒ String
The statistic to use for the metric and the anomaly detection model.