Class: Aws::CloudWatch::Types::SingleMetricAnomalyDetector

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb

Overview

Note:

When making an API call, you may pass SingleMetricAnomalyDetector data as a hash:

{
  namespace: "Namespace",
  metric_name: "MetricName",
  dimensions: [
    {
      name: "DimensionName", # required
      value: "DimensionValue", # required
    },
  ],
  stat: "AnomalyDetectorMetricStat",
}

Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dimensionsArray<Types::Dimension>

The metric dimensions to create the anomaly detection model for.

Returns:



4807
4808
4809
4810
4811
4812
4813
4814
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 4807

class SingleMetricAnomalyDetector < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :stat)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

The name of the metric to create the anomaly detection model for.

Returns:

  • (String)


4807
4808
4809
4810
4811
4812
4813
4814
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 4807

class SingleMetricAnomalyDetector < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :stat)
  SENSITIVE = []
  include Aws::Structure
end

#namespaceString

The namespace of the metric to create the anomaly detection model for.

Returns:

  • (String)


4807
4808
4809
4810
4811
4812
4813
4814
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 4807

class SingleMetricAnomalyDetector < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :stat)
  SENSITIVE = []
  include Aws::Structure
end

#statString

The statistic to use for the metric and anomaly detection model.

Returns:

  • (String)


4807
4808
4809
4810
4811
4812
4813
4814
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 4807

class SingleMetricAnomalyDetector < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :stat)
  SENSITIVE = []
  include Aws::Structure
end