class Amazonite::DynamoDB::ExecuteStatementOutput

Included Modules

Defined in:

dynamodb/execute_statement_output.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(items : Array(Hash(String, AttributeValue)) | Nil = nil, next_token : String | Nil = nil, consumed_capacity : ConsumedCapacity | Nil = nil, last_evaluated_key : Hash(String, AttributeValue) | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def consumed_capacity : ConsumedCapacity | Nil #

[View source]
def consumed_capacity=(consumed_capacity : ConsumedCapacity | Nil) #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def items : Array(Hash(String, AttributeValue)) | Nil #

If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.


[View source]
def items=(items : Array(Hash(String, AttributeValue)) | Nil) #

If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.


[View source]
def last_evaluated_key : Hash(String, AttributeValue) | Nil #

The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request. If LastEvaluatedKey is empty, then the "last page" of results has been processed and there is no more data to be retrieved. If LastEvaluatedKey is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey is empty.


[View source]
def last_evaluated_key=(last_evaluated_key : Hash(String, AttributeValue) | Nil) #

The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request. If LastEvaluatedKey is empty, then the "last page" of results has been processed and there is no more data to be retrieved. If LastEvaluatedKey is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey is empty.


[View source]
def next_token : String | Nil #

If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.


[View source]
def next_token=(next_token : String | Nil) #

If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.


[View source]
def validate! : Nil #

[View source]