amazonka-cloudwatch-2.0: Amazon CloudWatch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Description

 
Synopsis

Documentation

data MetricMathAnomalyDetector Source #

Indicates the CloudWatch math expression that provides the time series the anomaly detector uses as input. The designated math expression must return a single time series.

See: newMetricMathAnomalyDetector smart constructor.

Constructors

MetricMathAnomalyDetector' 

Fields

  • metricDataQueries :: Maybe [MetricDataQuery]

    An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression. One item in MetricDataQueries is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting ReturnData to true for this object in the array. For all other expressions and metrics, set ReturnData to false. The designated expression must return a single time series.

Instances

Instances details
ToQuery MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

FromXML MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Generic MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Associated Types

type Rep MetricMathAnomalyDetector :: Type -> Type #

Read MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Show MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

NFData MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Eq MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

Hashable MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

type Rep MetricMathAnomalyDetector Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MetricMathAnomalyDetector

type Rep MetricMathAnomalyDetector = D1 ('MetaData "MetricMathAnomalyDetector" "Amazonka.CloudWatch.Types.MetricMathAnomalyDetector" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "MetricMathAnomalyDetector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricDataQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDataQuery]))))

newMetricMathAnomalyDetector :: MetricMathAnomalyDetector Source #

Create a value of MetricMathAnomalyDetector with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:metricDataQueries:MetricMathAnomalyDetector', metricMathAnomalyDetector_metricDataQueries - An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression. One item in MetricDataQueries is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting ReturnData to true for this object in the array. For all other expressions and metrics, set ReturnData to false. The designated expression must return a single time series.

metricMathAnomalyDetector_metricDataQueries :: Lens' MetricMathAnomalyDetector (Maybe [MetricDataQuery]) Source #

An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression. One item in MetricDataQueries is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting ReturnData to true for this object in the array. For all other expressions and metrics, set ReturnData to false. The designated expression must return a single time series.