class
Amazonite::DynamoDB::Capacity
- Amazonite::DynamoDB::Capacity
- Reference
- Object
Overview
Represents the amount of provisioned throughput capacity consumed on a table or an index.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/capacity.crConstructors
- .new(pull : JSON::PullParser)
- .new(read_capacity_units : Float64 | Nil = nil, write_capacity_units : Float64 | Nil = nil, capacity_units : Float64 | 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 on a table or an index.
-
#capacity_units=(capacity_units : Float64 | Nil)
The total number of capacity units consumed on a table or an index.
-
#hash(hasher)
See
Object#hash(hasher) -
#read_capacity_units : Float64 | Nil
The total number of read capacity units consumed on a table or an index.
-
#read_capacity_units=(read_capacity_units : Float64 | Nil)
The total number of read capacity units consumed on a table or an index.
- #validate! : Nil
-
#write_capacity_units : Float64 | Nil
The total number of write capacity units consumed on a table or an index.
-
#write_capacity_units=(write_capacity_units : Float64 | Nil)
The total number of write capacity units consumed on a table or an index.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The total number of capacity units consumed on a table or an index.
The total number of capacity units consumed on a table or an index.
The total number of read capacity units consumed on a table or an index.
The total number of read capacity units consumed on a table or an index.
The total number of write capacity units consumed on a table or an index.
The total number of write capacity units consumed on a table or an index.