enum Amazonite::DynamoDB::ReturnConsumedCapacity

Overview

Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response:

Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

Defined in:

dynamodb/return_consumed_capacity.cr

Enum Members

Indexes = 0
Total = 1
None = 2

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_json(pull : JSON::PullParser) : ADDB::ReturnConsumedCapacity #

[View source]
def self.from_json_object_key?(key : String) : ADDB::ReturnConsumedCapacity | Nil #

[View source]
def self.to_json(e : ReturnConsumedCapacity, json : JSON::Builder) : Nil #

[View source]

Instance Method Detail

def indexes? #

Returns true if this enum value equals Indexes


[View source]
def none? #

Returns true if this enum value equals None


[View source]
def to_json_object_key : String #

[View source]
def total? #

Returns true if this enum value equals Total


[View source]