class
Amazonite::DynamoDB::ConsumedCapacity
- Amazonite::DynamoDB::ConsumedCapacity
- Reference
- Object
Overview
The capacity units consumed by an 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 request asked for it. For more
information, see Provisioned capacity
mode
in the Amazon DynamoDB Developer Guide.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/consumed_capacity.crConstructors
- .new(pull : JSON::PullParser)
- .new(table_name : String | Nil = nil, capacity_units : Float64 | Nil = nil, read_capacity_units : Float64 | Nil = nil, write_capacity_units : Float64 | Nil = nil, table : Capacity | Nil = nil, local_secondary_indexes : Hash(String, Capacity) | Nil = nil, global_secondary_indexes : Hash(String, Capacity) | Nil = nil, vector_indexes : Hash(String, VectorCapacity) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#capacity_units : Float64 | Nil
The total number of capacity units consumed by the operation.
-
#capacity_units=(capacity_units : Float64 | Nil)
The total number of capacity units consumed by the operation.
-
#global_secondary_indexes : Hash(String, Capacity) | Nil
The amount of throughput consumed on each global index affected by the operation.
-
#global_secondary_indexes=(global_secondary_indexes : Hash(String, Capacity) | Nil)
The amount of throughput consumed on each global index affected by the operation.
-
#hash(hasher)
See
Object#hash(hasher) -
#local_secondary_indexes : Hash(String, Capacity) | Nil
The amount of throughput consumed on each local index affected by the operation.
-
#local_secondary_indexes=(local_secondary_indexes : Hash(String, Capacity) | Nil)
The amount of throughput consumed on each local index affected by the operation.
-
#read_capacity_units : Float64 | Nil
The total number of read capacity units consumed by the operation.
-
#read_capacity_units=(read_capacity_units : Float64 | Nil)
The total number of read capacity units consumed by the operation.
-
#table : Capacity | Nil
The amount of throughput consumed on the table affected by the operation.
-
#table=(table : Capacity | Nil)
The amount of throughput consumed on the table affected by the operation.
-
#table_name : String | Nil
The name of the table that was affected by the operation.
-
#table_name=(table_name : String | Nil)
The name of the table that was affected by the operation.
- #validate! : Nil
-
#vector_indexes : Hash(String, VectorCapacity) | Nil
The amount of throughput consumed on each vector index affected by the operation.
-
#vector_indexes=(vector_indexes : Hash(String, VectorCapacity) | Nil)
The amount of throughput consumed on each vector index affected by the operation.
-
#write_capacity_units : Float64 | Nil
The total number of write capacity units consumed by the operation.
-
#write_capacity_units=(write_capacity_units : Float64 | Nil)
The total number of write capacity units consumed by the operation.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The total number of capacity units consumed by the operation.
The amount of throughput consumed on each global index affected by the operation.
The amount of throughput consumed on each global index affected by the operation.
The amount of throughput consumed on each local index affected by the operation.
The amount of throughput consumed on each local index affected by the operation.
The total number of read capacity units consumed by the operation.
The total number of read capacity units consumed by the operation.
The amount of throughput consumed on the table affected by the operation.
The amount of throughput consumed on the table affected by the operation.
The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.
The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.
The amount of throughput consumed on each vector index affected by the operation. Each entry
contains VectorWriteRequestBytes (for write operations) or VectorSearchRequestBytes (for
search operations).
The amount of throughput consumed on each vector index affected by the operation. Each entry
contains VectorWriteRequestBytes (for write operations) or VectorSearchRequestBytes (for
search operations).
The total number of write capacity units consumed by the operation.
The total number of write capacity units consumed by the operation.