enum
Amazonite::DynamoDB::ReturnConsumedCapacity
Overview
Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response:
INDEXES- The response includes the aggregateConsumedCapacityfor the operation, together withConsumedCapacityfor each table and secondary index that was accessed.
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).
-
TOTAL- The response includes only the aggregateConsumedCapacityfor the operation. -
NONE- NoConsumedCapacitydetails are included in the response.
Defined in:
dynamodb/return_consumed_capacity.crEnum Members
-
Indexes =
0 -
Total =
1 -
None =
2
Class Method Summary
- .from_json(pull : JSON::PullParser) : ADDB::ReturnConsumedCapacity
- .from_json_object_key?(key : String) : ADDB::ReturnConsumedCapacity | Nil
- .to_json(e : ReturnConsumedCapacity, json : JSON::Builder) : Nil
Instance Method Summary
-
#indexes?
Returns
trueif this enum value equalsIndexes -
#none?
Returns
trueif this enum value equalsNone - #to_json_object_key : String
-
#total?
Returns
trueif this enum value equalsTotal