Skip to content

/AWS1/CL_DYNWRITEREQUEST

Represents an operation to perform - either DeleteItem or PutItem. You can only request one of these operations, not both, in a single WriteRequest. If you do need to perform both of these operations, you need to provide two separate WriteRequest objects.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_putrequest TYPE REF TO /AWS1/CL_DYNPUTREQUEST /AWS1/CL_DYNPUTREQUEST

A request to perform a PutItem operation.

io_deleterequest TYPE REF TO /AWS1/CL_DYNDELETEREQUEST /AWS1/CL_DYNDELETEREQUEST

A request to perform a DeleteItem operation.


Queryable Attributes

PutRequest

A request to perform a PutItem operation.

Accessible with the following methods

Method Description
GET_PUTREQUEST() Getter for PUTREQUEST

DeleteRequest

A request to perform a DeleteItem operation.

Accessible with the following methods

Method Description
GET_DELETEREQUEST() Getter for DELETEREQUEST

Public Local Types In This Class

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

TT_BATCHWRITEITEMREQUESTMAP

TYPES TT_BATCHWRITEITEMREQUESTMAP TYPE HASHED TABLE OF /AWS1/CL_DYNWRITEREQUEST=>TS_BATCHWRITEITEMREQMAP_MAPROW WITH UNIQUE KEY key
.

TT_WRITEREQUESTS

TYPES TT_WRITEREQUESTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_DYNWRITEREQUEST WITH DEFAULT KEY
.

TS_BATCHWRITEITEMREQMAP_MAPROW

TYPES: BEGIN OF TS_BATCHWRITEITEMREQMAP_MAPROW,
  key TYPE /AWS1/DYNTABLEARN,
  value TYPE /AWS1/CL_DYNWRITEREQUEST=>TT_WRITEREQUESTS,
END OF TS_BATCHWRITEITEMREQMAP_MAPROW.