Skip to content

/AWS1/CL_CWLIMPORTBATCH

A collection of events being imported to CloudWatch

CONSTRUCTOR

IMPORTING

Required arguments:

iv_batchid TYPE /AWS1/CWLBATCHID /AWS1/CWLBATCHID

The unique identifier of the import batch.

iv_status TYPE /AWS1/CWLIMPORTSTATUS /AWS1/CWLIMPORTSTATUS

The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.

Optional arguments:

iv_errormessage TYPE /AWS1/CWLERRORMESSAGE /AWS1/CWLERRORMESSAGE

The error message if the batch failed to import. Only present when status is FAILED.


Queryable Attributes

batchId

The unique identifier of the import batch.

Accessible with the following methods

Method Description
GET_BATCHID() Getter for BATCHID, with configurable default
ASK_BATCHID() Getter for BATCHID w/ exceptions if field has no value
HAS_BATCHID() Determine if BATCHID has a value

status

The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.

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

errorMessage

The error message if the batch failed to import. Only present when status is FAILED.

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

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_IMPORTBATCHLIST

TYPES TT_IMPORTBATCHLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWLIMPORTBATCH WITH DEFAULT KEY
.