Skip to content

/AWS1/CL_CWTMESSAGEDATA

A message returned by the GetMetricDataAPI, including a code and a description.

If a cross-Region GetMetricData operation fails with a code of Forbidden and a value of Authentication too complex to retrieve cross region data, you can correct the problem by running the GetMetricData operation in the same Region where the metric data is.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_code TYPE /AWS1/CWTMESSAGEDATACODE /AWS1/CWTMESSAGEDATACODE

The error code or status code associated with the message.

iv_value TYPE /AWS1/CWTMESSAGEDATAVALUE /AWS1/CWTMESSAGEDATAVALUE

The message text.


Queryable Attributes

Code

The error code or status code associated with the message.

Accessible with the following methods

Method Description
GET_CODE() Getter for CODE, with configurable default
ASK_CODE() Getter for CODE w/ exceptions if field has no value
HAS_CODE() Determine if CODE has a value

Value

The message text.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE, with configurable default
ASK_VALUE() Getter for VALUE w/ exceptions if field has no value
HAS_VALUE() Determine if VALUE 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_METRICDATARESULTMESSAGES

TYPES TT_METRICDATARESULTMESSAGES TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWTMESSAGEDATA WITH DEFAULT KEY
.