Skip to content

/AWS1/CL_IOTMETRICDIMENSION

The dimension of a metric.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_DIMENSIONNAME TYPE /AWS1/IOTDIMENSIONNAME /AWS1/IOTDIMENSIONNAME

A unique identifier for the dimension.

Optional arguments:

IV_OPERATOR TYPE /AWS1/IOTDIMENSIONVALUEOP /AWS1/IOTDIMENSIONVALUEOP

Defines how the dimensionValues of a dimension are interpreted. For example, for dimension type TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one of the topic filters. With NOT_IN operator, a message will be counted only if it doesn't match any of the topic filters. The operator is optional: if it's not provided (is null), it will be interpreted as IN.


Queryable Attributes

dimensionName

A unique identifier for the dimension.

Accessible with the following methods

Method Description
GET_DIMENSIONNAME() Getter for DIMENSIONNAME, with configurable default
ASK_DIMENSIONNAME() Getter for DIMENSIONNAME w/ exceptions if field has no value
HAS_DIMENSIONNAME() Determine if DIMENSIONNAME has a value

operator

Defines how the dimensionValues of a dimension are interpreted. For example, for dimension type TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one of the topic filters. With NOT_IN operator, a message will be counted only if it doesn't match any of the topic filters. The operator is optional: if it's not provided (is null), it will be interpreted as IN.

Accessible with the following methods

Method Description
GET_OPERATOR() Getter for OPERATOR, with configurable default
ASK_OPERATOR() Getter for OPERATOR w/ exceptions if field has no value
HAS_OPERATOR() Determine if OPERATOR has a value