class Amazonite::DynamoDB::GetItemOutput

Overview

Represents the output of a GetItem operation.

Included Modules

Defined in:

dynamodb/get_item_output.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(item : Hash(String, AttributeValue) | Nil = nil, consumed_capacity : ConsumedCapacity | 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 #

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.


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

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.


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

See Object#hash(hasher)


def item : Hash(String, AttributeValue) | Nil #

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


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

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


[View source]
def validate! : Nil #

[View source]