class
Amazonite::DynamoDB::ProvisionedThroughputDescription
- Amazonite::DynamoDB::ProvisionedThroughputDescription
- Reference
- Object
Overview
Represents the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/provisioned_throughput_description.crConstructors
- .new(pull : JSON::PullParser)
- .new(last_increase_date_time : Time | Nil = nil, last_decrease_date_time : Time | Nil = nil, number_of_decreases_today : Int64 | Nil = nil, read_capacity_units : Int64 | Nil = nil, write_capacity_units : Int64 | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#last_decrease_date_time : Time | Nil
The date and time of the last provisioned throughput decrease for this table.
-
#last_decrease_date_time=(last_decrease_date_time : Time | Nil)
The date and time of the last provisioned throughput decrease for this table.
-
#last_increase_date_time : Time | Nil
The date and time of the last provisioned throughput increase for this table.
-
#last_increase_date_time=(last_increase_date_time : Time | Nil)
The date and time of the last provisioned throughput increase for this table.
-
#number_of_decreases_today : Int64 | Nil
The number of provisioned throughput decreases for this table during this UTC calendar day.
-
#number_of_decreases_today=(number_of_decreases_today : Int64 | Nil)
The number of provisioned throughput decreases for this table during this UTC calendar day.
-
#read_capacity_units : Int64 | Nil
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException. -
#read_capacity_units=(read_capacity_units : Int64 | Nil)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException. - #validate! : Nil
-
#write_capacity_units : Int64 | Nil
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException. -
#write_capacity_units=(write_capacity_units : Int64 | Nil)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The date and time of the last provisioned throughput decrease for this table.
The date and time of the last provisioned throughput decrease for this table.
The date and time of the last provisioned throughput increase for this table.
The date and time of the last provisioned throughput increase for this table.
The number of provisioned throughput decreases for this table during this UTC calendar day. For current maximums on provisioned throughput decreases, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
The number of provisioned throughput decreases for this table during this UTC calendar day. For current maximums on provisioned throughput decreases, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException. Eventually consistent reads require less effort than strongly consistent
reads, so a setting of 50 ReadCapacityUnits per second provides 100 eventually consistent
ReadCapacityUnits per second.
For a table or global secondary index that uses on-demand capacity mode (PAY_PER_REQUEST),
this value is 0, because on-demand mode does not use provisioned throughput.
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException. Eventually consistent reads require less effort than strongly consistent
reads, so a setting of 50 ReadCapacityUnits per second provides 100 eventually consistent
ReadCapacityUnits per second.
For a table or global secondary index that uses on-demand capacity mode (PAY_PER_REQUEST),
this value is 0, because on-demand mode does not use provisioned throughput.
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException.
For a table or global secondary index that uses on-demand capacity mode (PAY_PER_REQUEST),
this value is 0, because on-demand mode does not use provisioned throughput.
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException.
For a table or global secondary index that uses on-demand capacity mode (PAY_PER_REQUEST),
this value is 0, because on-demand mode does not use provisioned throughput.