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.


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

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
.