class Amazonite::DynamoDB::ImportTableInput

Included Modules

Defined in:

dynamodb/import_table_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(s3_bucket_source : S3BucketSource, input_format : InputFormat, table_creation_parameters : TableCreationParameters, client_token : String | Nil = nil, input_format_options : InputFormatOptions | Nil = nil, input_compression_type : InputCompressionType | 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 client_token : String | Nil #

Providing a ClientToken makes the call to ImportTableInput idempotent, meaning that multiple identical calls have the same effect as one single call.

A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.

If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.


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

Providing a ClientToken makes the call to ImportTableInput idempotent, meaning that multiple identical calls have the same effect as one single call.

A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.

If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.


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

See Object#hash(hasher)


def input_compression_type : InputCompressionType | Nil #

Type of compression to be used on the input coming from the imported table.


[View source]
def input_compression_type=(input_compression_type : InputCompressionType | Nil) #

Type of compression to be used on the input coming from the imported table.


[View source]
def input_format : InputFormat #

The format of the source data. Valid values for ImportFormat are CSV, DYNAMODB_JSON or ION.


[View source]
def input_format=(input_format : InputFormat) #

The format of the source data. Valid values for ImportFormat are CSV, DYNAMODB_JSON or ION.


[View source]
def input_format_options : InputFormatOptions | Nil #

Additional properties that specify how the input is formatted,


[View source]
def input_format_options=(input_format_options : InputFormatOptions | Nil) #

Additional properties that specify how the input is formatted,


[View source]
def s3_bucket_source : S3BucketSource #

The S3 bucket that provides the source for the import.


[View source]
def s3_bucket_source=(s3_bucket_source : S3BucketSource) #

The S3 bucket that provides the source for the import.


[View source]
def table_creation_parameters : TableCreationParameters #

Parameters for the table to import the data into.


[View source]
def table_creation_parameters=(table_creation_parameters : TableCreationParameters) #

Parameters for the table to import the data into.


[View source]
def validate! : Nil #

[View source]