Skip to content

/AWS1/CL_CWLQUERYINFO

Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries operation.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_querylanguage TYPE /AWS1/CWLQUERYLANGUAGE /AWS1/CWLQUERYLANGUAGE

The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.

iv_queryid TYPE /AWS1/CWLQUERYID /AWS1/CWLQUERYID

The unique ID number of this query.

iv_querystring TYPE /AWS1/CWLQUERYSTRING /AWS1/CWLQUERYSTRING

The query string used in this query.

iv_status TYPE /AWS1/CWLQUERYSTATUS /AWS1/CWLQUERYSTATUS

The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

iv_createtime TYPE /AWS1/CWLTIMESTAMP /AWS1/CWLTIMESTAMP

The date and time that this query was created.

iv_loggroupname TYPE /AWS1/CWLLOGGROUPNAME /AWS1/CWLLOGGROUPNAME

The name of the log group scanned by this query.

iv_queryduration TYPE /AWS1/CWLQUERYDURATION /AWS1/CWLQUERYDURATION

The duration in milliseconds that the query took to execute.

iv_bytesscanned TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The total number of bytes scanned by the query. This indicates the cost associated with the query.

iv_useridentity TYPE /AWS1/CWLUSERIDENTITY /AWS1/CWLUSERIDENTITY

The ARN of the user who ran the query.


Queryable Attributes

queryLanguage

The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.

Accessible with the following methods

Method Description
GET_QUERYLANGUAGE() Getter for QUERYLANGUAGE, with configurable default
ASK_QUERYLANGUAGE() Getter for QUERYLANGUAGE w/ exceptions if field has no value
HAS_QUERYLANGUAGE() Determine if QUERYLANGUAGE has a value

queryId

The unique ID number of this query.

Accessible with the following methods

Method Description
GET_QUERYID() Getter for QUERYID, with configurable default
ASK_QUERYID() Getter for QUERYID w/ exceptions if field has no value
HAS_QUERYID() Determine if QUERYID has a value

queryString

The query string used in this query.

Accessible with the following methods

Method Description
GET_QUERYSTRING() Getter for QUERYSTRING, with configurable default
ASK_QUERYSTRING() Getter for QUERYSTRING w/ exceptions if field has no value
HAS_QUERYSTRING() Determine if QUERYSTRING has a value

status

The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

createTime

The date and time that this query was created.

Accessible with the following methods

Method Description
GET_CREATETIME() Getter for CREATETIME, with configurable default
ASK_CREATETIME() Getter for CREATETIME w/ exceptions if field has no value
HAS_CREATETIME() Determine if CREATETIME has a value

logGroupName

The name of the log group scanned by this query.

Accessible with the following methods

Method Description
GET_LOGGROUPNAME() Getter for LOGGROUPNAME, with configurable default
ASK_LOGGROUPNAME() Getter for LOGGROUPNAME w/ exceptions if field has no value
HAS_LOGGROUPNAME() Determine if LOGGROUPNAME has a value

queryDuration

The duration in milliseconds that the query took to execute.

Accessible with the following methods

Method Description
GET_QUERYDURATION() Getter for QUERYDURATION, with configurable default
ASK_QUERYDURATION() Getter for QUERYDURATION w/ exceptions if field has no value
HAS_QUERYDURATION() Determine if QUERYDURATION has a value

bytesScanned

The total number of bytes scanned by the query. This indicates the cost associated with the query.

Accessible with the following methods

Method Description
GET_BYTESSCANNED() Getter for BYTESSCANNED, with configurable default
ASK_BYTESSCANNED() Getter for BYTESSCANNED w/ exceptions if field has no value
STR_BYTESSCANNED() String format for BYTESSCANNED, with configurable default
HAS_BYTESSCANNED() Determine if BYTESSCANNED has a value

userIdentity

The ARN of the user who ran the query.

Accessible with the following methods

Method Description
GET_USERIDENTITY() Getter for USERIDENTITY, with configurable default
ASK_USERIDENTITY() Getter for USERIDENTITY w/ exceptions if field has no value
HAS_USERIDENTITY() Determine if USERIDENTITY 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_QUERYINFOLIST

TYPES TT_QUERYINFOLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWLQUERYINFO WITH DEFAULT KEY
.