Skip to content

/AWS1/CL_CWTGETMETRICDATAOUT

GetMetricDataOutput

CONSTRUCTOR

IMPORTING

Optional arguments:

it_metricdataresults TYPE /AWS1/CL_CWTMETRICDATARESULT=>TT_METRICDATARESULTS TT_METRICDATARESULTS

The metrics that are returned, including the metric name, namespace, and dimensions.

iv_nexttoken TYPE /AWS1/CWTNEXTTOKEN /AWS1/CWTNEXTTOKEN

A token that marks the next batch of returned results.

it_messages TYPE /AWS1/CL_CWTMESSAGEDATA=>TT_METRICDATARESULTMESSAGES TT_METRICDATARESULTMESSAGES

Contains a message about this GetMetricData operation, if the operation results in such a message. An example of a message that might be returned is Maximum number of allowed metrics exceeded. If there is a message, as much of the operation as possible is still executed.

A message appears here only if it is related to the global GetMetricData operation. Any message about a specific metric returned by the operation appears in the MetricDataResult object returned for that metric.


Queryable Attributes

MetricDataResults

The metrics that are returned, including the metric name, namespace, and dimensions.

Accessible with the following methods

Method Description
GET_METRICDATARESULTS() Getter for METRICDATARESULTS, with configurable default
ASK_METRICDATARESULTS() Getter for METRICDATARESULTS w/ exceptions if field has no v
HAS_METRICDATARESULTS() Determine if METRICDATARESULTS has a value

NextToken

A token that marks the next batch of returned results.

Accessible with the following methods

Method Description
GET_NEXTTOKEN() Getter for NEXTTOKEN, with configurable default
ASK_NEXTTOKEN() Getter for NEXTTOKEN w/ exceptions if field has no value
HAS_NEXTTOKEN() Determine if NEXTTOKEN has a value

Messages

Contains a message about this GetMetricData operation, if the operation results in such a message. An example of a message that might be returned is Maximum number of allowed metrics exceeded. If there is a message, as much of the operation as possible is still executed.

A message appears here only if it is related to the global GetMetricData operation. Any message about a specific metric returned by the operation appears in the MetricDataResult object returned for that metric.

Accessible with the following methods

Method Description
GET_MESSAGES() Getter for MESSAGES, with configurable default
ASK_MESSAGES() Getter for MESSAGES w/ exceptions if field has no value
HAS_MESSAGES() Determine if MESSAGES has a value