class Amazonite::DynamoDB::Capacity

Overview

Represents the amount of provisioned throughput capacity consumed on a table or an index.

Included Modules

Defined in:

dynamodb/capacity.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(read_capacity_units : Float64 | Nil = nil, write_capacity_units : Float64 | Nil = nil, capacity_units : Float64 | 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 capacity_units : Float64 | Nil #

The total number of capacity units consumed on a table or an index.


[View source]
def capacity_units=(capacity_units : Float64 | Nil) #

The total number of capacity units consumed on a table or an index.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def read_capacity_units : Float64 | Nil #

The total number of read capacity units consumed on a table or an index.


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

The total number of read capacity units consumed on a table or an index.


[View source]
def validate! : Nil #

[View source]
def write_capacity_units : Float64 | Nil #

The total number of write capacity units consumed on a table or an index.


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

The total number of write capacity units consumed on a table or an index.


[View source]