class Amazonite::DynamoDB::ProvisionedThroughputDescription

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

Defined in:

dynamodb/provisioned_throughput_description.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.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) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def last_decrease_date_time : Time | Nil #

The date and time of the last provisioned throughput decrease for this table.


[View source]
def last_decrease_date_time=(last_decrease_date_time : Time | Nil) #

The date and time of the last provisioned throughput decrease for this table.


[View source]
def last_increase_date_time : Time | Nil #

The date and time of the last provisioned throughput increase for this table.


[View source]
def last_increase_date_time=(last_increase_date_time : Time | Nil) #

The date and time of the last provisioned throughput increase for this table.


[View source]
def number_of_decreases_today : Int64 | Nil #

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.


[View source]
def number_of_decreases_today=(number_of_decreases_today : Int64 | Nil) #

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.


[View source]
def read_capacity_units : Int64 | Nil #

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.


[View source]
def read_capacity_units=(read_capacity_units : Int64 | Nil) #

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.


[View source]
def validate! : Nil #

[View source]
def write_capacity_units : Int64 | Nil #

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.


[View source]
def write_capacity_units=(write_capacity_units : Int64 | Nil) #

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.


[View source]