Skip to content

/AWS1/CL_DYNGETITEMOUTPUT

Represents the output of a GetItem operation.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_item TYPE /AWS1/CL_DYNATTRIBUTEVALUE=>TT_ATTRIBUTEMAP TT_ATTRIBUTEMAP

A map of attribute names to AttributeValue objects, as specified by ProjectionExpression.

io_consumedcapacity TYPE REF TO /AWS1/CL_DYNCONSUMEDCAPACITY /AWS1/CL_DYNCONSUMEDCAPACITY

The capacity units consumed by the GetItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.


Queryable Attributes

Item

A map of attribute names to AttributeValue objects, as specified by ProjectionExpression.

Accessible with the following methods

Method Description
GET_ITEM() Getter for ITEM, with configurable default
ASK_ITEM() Getter for ITEM w/ exceptions if field has no value
HAS_ITEM() Determine if ITEM has a value

ConsumedCapacity

The capacity units consumed by the GetItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.

Accessible with the following methods

Method Description
GET_CONSUMEDCAPACITY() Getter for CONSUMEDCAPACITY