Skip to content

/AWS1/CL_CWLTRIGGERHISTORYREC

A record of a scheduled query execution, including its status and destination processing information.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_queryid TYPE /AWS1/CWLQUERYID /AWS1/CWLQUERYID

The unique identifier for the query execution.

iv_executionstatus TYPE /AWS1/CWLEXECUTIONSTATUS /AWS1/CWLEXECUTIONSTATUS

The status of the query execution (SUCCEEDED, FAILED, TIMEOUT, or INVALID_QUERY).

iv_triggeredtimestamp TYPE /AWS1/CWLTIMESTAMP /AWS1/CWLTIMESTAMP

The time when the scheduled query was triggered, in Unix epoch time.

iv_errormessage TYPE /AWS1/CWLSTRING /AWS1/CWLSTRING

The error message if the scheduled query execution failed. This field is only populated when the execution status indicates a failure.

it_destinations TYPE /AWS1/CL_CWLSCHEDULEDQUERYDST=>TT_SCHEDULEDQUERYDSTLIST TT_SCHEDULEDQUERYDSTLIST

The list of destinations where the scheduled query results were delivered for this execution. This includes S3 buckets and EventBridge targets configured for the scheduled query.


Queryable Attributes

queryId

The unique identifier for the query execution.

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

executionStatus

The status of the query execution (SUCCEEDED, FAILED, TIMEOUT, or INVALID_QUERY).

Accessible with the following methods

Method Description
GET_EXECUTIONSTATUS() Getter for EXECUTIONSTATUS, with configurable default
ASK_EXECUTIONSTATUS() Getter for EXECUTIONSTATUS w/ exceptions if field has no val
HAS_EXECUTIONSTATUS() Determine if EXECUTIONSTATUS has a value

triggeredTimestamp

The time when the scheduled query was triggered, in Unix epoch time.

Accessible with the following methods

Method Description
GET_TRIGGEREDTIMESTAMP() Getter for TRIGGEREDTIMESTAMP, with configurable default
ASK_TRIGGEREDTIMESTAMP() Getter for TRIGGEREDTIMESTAMP w/ exceptions if field has no
HAS_TRIGGEREDTIMESTAMP() Determine if TRIGGEREDTIMESTAMP has a value

errorMessage

The error message if the scheduled query execution failed. This field is only populated when the execution status indicates a failure.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value

destinations

The list of destinations where the scheduled query results were delivered for this execution. This includes S3 buckets and EventBridge targets configured for the scheduled query.

Accessible with the following methods

Method Description
GET_DESTINATIONS() Getter for DESTINATIONS, with configurable default
ASK_DESTINATIONS() Getter for DESTINATIONS w/ exceptions if field has no value
HAS_DESTINATIONS() Determine if DESTINATIONS 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_TRIGGERHISTORYRECORDLIST

TYPES TT_TRIGGERHISTORYRECORDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWLTRIGGERHISTORYREC WITH DEFAULT KEY
.