class Amazonite::DynamoDB::SourceTableDetails

Overview

Contains the details of the table when the backup was created.

Included Modules

Defined in:

dynamodb/source_table_details.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(table_name : String, table_id : String, key_schema : Array(KeySchemaElement), table_creation_date_time : Time, provisioned_throughput : ProvisionedThroughput, table_arn : String | Nil = nil, table_size_bytes : Int64 | Nil = nil, on_demand_throughput : OnDemandThroughput | Nil = nil, item_count : Int64 | Nil = nil, billing_mode : BillingMode | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[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 billing_mode : BillingMode | Nil #

Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

  • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

  • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.


[View source]
def billing_mode=(billing_mode : BillingMode | Nil) #

Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

  • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

  • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.


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

See Object#hash(hasher)


def item_count : Int64 | Nil #

Number of items in the table. Note that this is an approximate value.


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

Number of items in the table. Note that this is an approximate value.


[View source]
def key_schema : Array(KeySchemaElement) #

Schema of the table.


[View source]
def key_schema=(key_schema : Array(KeySchemaElement)) #

Schema of the table.


[View source]
def on_demand_throughput : OnDemandThroughput | Nil #

[View source]
def on_demand_throughput=(on_demand_throughput : OnDemandThroughput | Nil) #

[View source]
def provisioned_throughput : ProvisionedThroughput #

Read IOPs and Write IOPS on the table when the backup was created.


[View source]
def provisioned_throughput=(provisioned_throughput : ProvisionedThroughput) #

Read IOPs and Write IOPS on the table when the backup was created.


[View source]
def table_arn : String | Nil #

ARN of the table for which backup was created.


[View source]
def table_arn=(table_arn : String | Nil) #

ARN of the table for which backup was created.


[View source]
def table_creation_date_time : Time #

Time when the source table was created.


[View source]
def table_creation_date_time=(table_creation_date_time : Time) #

Time when the source table was created.


[View source]
def table_id : String #

Unique identifier for the table for which the backup was created.


[View source]
def table_id=(table_id : String) #

Unique identifier for the table for which the backup was created.


[View source]
def table_name : String #

The name of the table for which the backup was created.


[View source]
def table_name=(table_name : String) #

The name of the table for which the backup was created.


[View source]
def table_size_bytes : Int64 | Nil #

Size of the table in bytes. Note that this is an approximate value.


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

Size of the table in bytes. Note that this is an approximate value.


[View source]
def validate! : Nil #

[View source]