Skip to content

/AWS1/CL_EC2DATAQUERY

A query used for retrieving network health data.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_ID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A user-defined ID associated with a data query that's returned in the dataResponse identifying the query. For example, if you set the Id to MyQuery01in the query, the dataResponse identifies the query as MyQuery01.

IV_SOURCE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Region or Availability Zone that's the source for the data query. For example, us-east-1.

IV_DESTINATION TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Region or Availability Zone that's the target for the data query. For example, eu-north-1.

IV_METRIC TYPE /AWS1/EC2METRICTYPE /AWS1/EC2METRICTYPE

The metric, aggregation-latency, indicating that network latency is aggregated for the query. This is the only supported metric.

IV_STATISTIC TYPE /AWS1/EC2STATISTICTYPE /AWS1/EC2STATISTICTYPE

The metric data aggregation period, p50, between the specified startDate and endDate. For example, a metric of five_minutes is the median of all the data points gathered within those five minutes. p50 is the only supported metric.

IV_PERIOD TYPE /AWS1/EC2PERIODTYPE /AWS1/EC2PERIODTYPE

The aggregation period used for the data query.


Queryable Attributes

Id

A user-defined ID associated with a data query that's returned in the dataResponse identifying the query. For example, if you set the Id to MyQuery01in the query, the dataResponse identifies the query as MyQuery01.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

Source

The Region or Availability Zone that's the source for the data query. For example, us-east-1.

Accessible with the following methods

Method Description
GET_SOURCE() Getter for SOURCE, with configurable default
ASK_SOURCE() Getter for SOURCE w/ exceptions if field has no value
HAS_SOURCE() Determine if SOURCE has a value

Destination

The Region or Availability Zone that's the target for the data query. For example, eu-north-1.

Accessible with the following methods

Method Description
GET_DESTINATION() Getter for DESTINATION, with configurable default
ASK_DESTINATION() Getter for DESTINATION w/ exceptions if field has no value
HAS_DESTINATION() Determine if DESTINATION has a value

Metric

The metric, aggregation-latency, indicating that network latency is aggregated for the query. This is the only supported metric.

Accessible with the following methods

Method Description
GET_METRIC() Getter for METRIC, with configurable default
ASK_METRIC() Getter for METRIC w/ exceptions if field has no value
HAS_METRIC() Determine if METRIC has a value

Statistic

The metric data aggregation period, p50, between the specified startDate and endDate. For example, a metric of five_minutes is the median of all the data points gathered within those five minutes. p50 is the only supported metric.

Accessible with the following methods

Method Description
GET_STATISTIC() Getter for STATISTIC, with configurable default
ASK_STATISTIC() Getter for STATISTIC w/ exceptions if field has no value
HAS_STATISTIC() Determine if STATISTIC has a value

Period

The aggregation period used for the data query.

Accessible with the following methods

Method Description
GET_PERIOD() Getter for PERIOD, with configurable default
ASK_PERIOD() Getter for PERIOD w/ exceptions if field has no value
HAS_PERIOD() Determine if PERIOD 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_DATAQUERIES

TYPES TT_DATAQUERIES TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2DATAQUERY WITH DEFAULT KEY
.