Skip to content

/AWS1/CL_CWTANOMALYDETECTOR

An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression. You can use the model to display a band of expected, normal values when the metric is graphed.

If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_namespace TYPE /AWS1/CWTNAMESPACE /AWS1/CWTNAMESPACE

The namespace of the metric associated with the anomaly detection model.

iv_metricname TYPE /AWS1/CWTMETRICNAME /AWS1/CWTMETRICNAME

The name of the metric associated with the anomaly detection model.

it_dimensions TYPE /AWS1/CL_CWTDIMENSION=>TT_DIMENSIONS TT_DIMENSIONS

The metric dimensions associated with the anomaly detection model.

iv_stat TYPE /AWS1/CWTANOMALYDETECTORMETTAT /AWS1/CWTANOMALYDETECTORMETTAT

The statistic associated with the anomaly detection model.

io_configuration TYPE REF TO /AWS1/CL_CWTANOMALYDETECTORC00 /AWS1/CL_CWTANOMALYDETECTORC00

The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.

iv_statevalue TYPE /AWS1/CWTANOMALYDETECTORSTAT00 /AWS1/CWTANOMALYDETECTORSTAT00

The current status of the anomaly detector's training.

io_metriccharacteristics TYPE REF TO /AWS1/CL_CWTMETRICCHARACTERI00 /AWS1/CL_CWTMETRICCHARACTERI00

This object includes parameters that you can use to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the PeriodicSpikes parameter.

io_singlemetricanomalydete00 TYPE REF TO /AWS1/CL_CWTSINGLEMETRICANOM00 /AWS1/CL_CWTSINGLEMETRICANOM00

The CloudWatch metric and statistic for this anomaly detector.

io_metricmathanomalydetector TYPE REF TO /AWS1/CL_CWTMETRICMATHANOMAL00 /AWS1/CL_CWTMETRICMATHANOMAL00

The CloudWatch metric math expression for this anomaly detector.


Queryable Attributes

Namespace

The namespace of the metric associated with the anomaly detection model.

Accessible with the following methods

Method Description
GET_NAMESPACE() Getter for NAMESPACE, with configurable default
ASK_NAMESPACE() Getter for NAMESPACE w/ exceptions if field has no value
HAS_NAMESPACE() Determine if NAMESPACE has a value

MetricName

The name of the metric associated with the anomaly detection model.

Accessible with the following methods

Method Description
GET_METRICNAME() Getter for METRICNAME, with configurable default
ASK_METRICNAME() Getter for METRICNAME w/ exceptions if field has no value
HAS_METRICNAME() Determine if METRICNAME has a value

Dimensions

The metric dimensions associated with the anomaly detection model.

Accessible with the following methods

Method Description
GET_DIMENSIONS() Getter for DIMENSIONS, with configurable default
ASK_DIMENSIONS() Getter for DIMENSIONS w/ exceptions if field has no value
HAS_DIMENSIONS() Determine if DIMENSIONS has a value

Stat

The statistic associated with the anomaly detection model.

Accessible with the following methods

Method Description
GET_STAT() Getter for STAT, with configurable default
ASK_STAT() Getter for STAT w/ exceptions if field has no value
HAS_STAT() Determine if STAT has a value

Configuration

The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.

Accessible with the following methods

Method Description
GET_CONFIGURATION() Getter for CONFIGURATION

StateValue

The current status of the anomaly detector's training.

Accessible with the following methods

Method Description
GET_STATEVALUE() Getter for STATEVALUE, with configurable default
ASK_STATEVALUE() Getter for STATEVALUE w/ exceptions if field has no value
HAS_STATEVALUE() Determine if STATEVALUE has a value

MetricCharacteristics

This object includes parameters that you can use to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the PeriodicSpikes parameter.

Accessible with the following methods

Method Description
GET_METRICCHARACTERISTICS() Getter for METRICCHARACTERISTICS

SingleMetricAnomalyDetector

The CloudWatch metric and statistic for this anomaly detector.

Accessible with the following methods

Method Description
GET_SINGLEMETRICANOMALYDET00() Getter for SINGLEMETRICANOMALYDETECTOR

MetricMathAnomalyDetector

The CloudWatch metric math expression for this anomaly detector.

Accessible with the following methods

Method Description
GET_METRICMATHANOMALYDETEC00() Getter for METRICMATHANOMALYDETECTOR

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ANOMALYDETECTORS

TYPES TT_ANOMALYDETECTORS TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWTANOMALYDETECTOR WITH DEFAULT KEY
.