Skip to content

/AWS1/CL_EC2METRICDATARESULT

Contains a single data point from a capacity metrics query, including the dimension values, timestamp, and metric values for that specific combination.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_dimension TYPE REF TO /AWS1/CL_EC2CAPMANAGERDIMENS00 /AWS1/CL_EC2CAPMANAGERDIMENS00

The dimension values that identify this specific data point, such as account ID, region, and instance family.

iv_timestamp TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The timestamp for this data point, indicating when the capacity usage occurred.

it_metricvalues TYPE /AWS1/CL_EC2METRICVALUE=>TT_METRICVALUESET TT_METRICVALUESET

The metric values and statistics for this data point, containing the actual capacity usage numbers.


Queryable Attributes

Dimension

The dimension values that identify this specific data point, such as account ID, region, and instance family.

Accessible with the following methods

Method Description
GET_DIMENSION() Getter for DIMENSION

Timestamp

The timestamp for this data point, indicating when the capacity usage occurred.

Accessible with the following methods

Method Description
GET_TIMESTAMP() Getter for TIMESTAMP, with configurable default
ASK_TIMESTAMP() Getter for TIMESTAMP w/ exceptions if field has no value
HAS_TIMESTAMP() Determine if TIMESTAMP has a value

MetricValues

The metric values and statistics for this data point, containing the actual capacity usage numbers.

Accessible with the following methods

Method Description
GET_METRICVALUES() Getter for METRICVALUES, with configurable default
ASK_METRICVALUES() Getter for METRICVALUES w/ exceptions if field has no value
HAS_METRICVALUES() Determine if METRICVALUES has a value

Public Local Types In This Class

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

TT_METRICDATARESULTSET

TYPES TT_METRICDATARESULTSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2METRICDATARESULT WITH DEFAULT KEY
.