Skip to content

/AWS1/CL_TSQSCHEDULEDQUERY

Scheduled Query

CONSTRUCTOR

IMPORTING

Required arguments:

iv_arn TYPE /AWS1/TSQAMAZONRESOURCENAME /AWS1/TSQAMAZONRESOURCENAME

The Amazon Resource Name.

iv_name TYPE /AWS1/TSQSCHEDULEDQUERYNAME /AWS1/TSQSCHEDULEDQUERYNAME

The name of the scheduled query.

iv_state TYPE /AWS1/TSQSCHEDULEDQUERYSTATE /AWS1/TSQSCHEDULEDQUERYSTATE

State of scheduled query.

Optional arguments:

iv_creationtime TYPE /AWS1/TSQTIME /AWS1/TSQTIME

The creation time of the scheduled query.

iv_previousinvocationtime TYPE /AWS1/TSQTIME /AWS1/TSQTIME

The last time the scheduled query was run.

iv_nextinvocationtime TYPE /AWS1/TSQTIME /AWS1/TSQTIME

The next time the scheduled query is to be run.

io_errorreportconfiguration TYPE REF TO /AWS1/CL_TSQERRORREPORTCONF /AWS1/CL_TSQERRORREPORTCONF

Configuration for scheduled query error reporting.

io_targetdestination TYPE REF TO /AWS1/CL_TSQTARGETDESTINATION /AWS1/CL_TSQTARGETDESTINATION

Target data source where final scheduled query result will be written.

iv_lastrunstatus TYPE /AWS1/TSQSCHDDQUERYRUNSTATUS /AWS1/TSQSCHDDQUERYRUNSTATUS

Status of the last scheduled query run.


Queryable Attributes

Arn

The Amazon Resource Name.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

Name

The name of the scheduled query.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

CreationTime

The creation time of the scheduled query.

Accessible with the following methods

Method Description
GET_CREATIONTIME() Getter for CREATIONTIME, with configurable default
ASK_CREATIONTIME() Getter for CREATIONTIME w/ exceptions if field has no value
HAS_CREATIONTIME() Determine if CREATIONTIME has a value

State

State of scheduled query.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

PreviousInvocationTime

The last time the scheduled query was run.

Accessible with the following methods

Method Description
GET_PREVIOUSINVOCATIONTIME() Getter for PREVIOUSINVOCATIONTIME, with configurable default
ASK_PREVIOUSINVOCATIONTIME() Getter for PREVIOUSINVOCATIONTIME w/ exceptions if field has
HAS_PREVIOUSINVOCATIONTIME() Determine if PREVIOUSINVOCATIONTIME has a value

NextInvocationTime

The next time the scheduled query is to be run.

Accessible with the following methods

Method Description
GET_NEXTINVOCATIONTIME() Getter for NEXTINVOCATIONTIME, with configurable default
ASK_NEXTINVOCATIONTIME() Getter for NEXTINVOCATIONTIME w/ exceptions if field has no
HAS_NEXTINVOCATIONTIME() Determine if NEXTINVOCATIONTIME has a value

ErrorReportConfiguration

Configuration for scheduled query error reporting.

Accessible with the following methods

Method Description
GET_ERRORREPORTCONFIGURATION() Getter for ERRORREPORTCONFIGURATION

TargetDestination

Target data source where final scheduled query result will be written.

Accessible with the following methods

Method Description
GET_TARGETDESTINATION() Getter for TARGETDESTINATION

LastRunStatus

Status of the last scheduled query run.

Accessible with the following methods

Method Description
GET_LASTRUNSTATUS() Getter for LASTRUNSTATUS, with configurable default
ASK_LASTRUNSTATUS() Getter for LASTRUNSTATUS w/ exceptions if field has no value
HAS_LASTRUNSTATUS() Determine if LASTRUNSTATUS 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_SCHEDULEDQUERYLIST

TYPES TT_SCHEDULEDQUERYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_TSQSCHEDULEDQUERY WITH DEFAULT KEY
.