/AWS1/CL_CWTSINGLEMETRICANOM00¶
Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input. 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_accountid
TYPE /AWS1/CWTACCOUNTID
/AWS1/CWTACCOUNTID
¶
If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.
iv_namespace
TYPE /AWS1/CWTNAMESPACE
/AWS1/CWTNAMESPACE
¶
The namespace of the metric to create the anomaly detection model for.
iv_metricname
TYPE /AWS1/CWTMETRICNAME
/AWS1/CWTMETRICNAME
¶
The name of the metric to create the anomaly detection model for.
it_dimensions
TYPE /AWS1/CL_CWTDIMENSION=>TT_DIMENSIONS
TT_DIMENSIONS
¶
The metric dimensions to create the anomaly detection model for.
iv_stat
TYPE /AWS1/CWTANOMALYDETECTORMETTAT
/AWS1/CWTANOMALYDETECTORMETTAT
¶
The statistic to use for the metric and anomaly detection model.
Queryable Attributes¶
AccountId¶
If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ACCOUNTID() |
Getter for ACCOUNTID, with configurable default |
ASK_ACCOUNTID() |
Getter for ACCOUNTID w/ exceptions if field has no value |
HAS_ACCOUNTID() |
Determine if ACCOUNTID has a value |
Namespace¶
The namespace of the metric to create the anomaly detection model for.
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 to create the anomaly detection model for.
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 to create the anomaly detection model for.
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 to use for the metric and 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 |