Struct aws_sdk_dynamodb::operation::import_table::ImportTableInput
source · #[non_exhaustive]pub struct ImportTableInput {
pub client_token: Option<String>,
pub s3_bucket_source: Option<S3BucketSource>,
pub input_format: Option<InputFormat>,
pub input_format_options: Option<InputFormatOptions>,
pub input_compression_type: Option<InputCompressionType>,
pub table_creation_parameters: Option<TableCreationParameters>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_token: Option<String>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.
s3_bucket_source: Option<S3BucketSource>The S3 bucket that provides the source for the import.
input_format: Option<InputFormat>The format of the source data. Valid values for ImportFormat are CSV, DYNAMODB_JSON or ION.
input_format_options: Option<InputFormatOptions>Additional properties that specify how the input is formatted,
input_compression_type: Option<InputCompressionType>Type of compression to be used on the input coming from the imported table.
table_creation_parameters: Option<TableCreationParameters>Parameters for the table to import the data into.
Implementations§
source§impl ImportTableInput
impl ImportTableInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
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.
sourcepub fn s3_bucket_source(&self) -> Option<&S3BucketSource>
pub fn s3_bucket_source(&self) -> Option<&S3BucketSource>
The S3 bucket that provides the source for the import.
sourcepub fn input_format(&self) -> Option<&InputFormat>
pub fn input_format(&self) -> Option<&InputFormat>
The format of the source data. Valid values for ImportFormat are CSV, DYNAMODB_JSON or ION.
sourcepub fn input_format_options(&self) -> Option<&InputFormatOptions>
pub fn input_format_options(&self) -> Option<&InputFormatOptions>
Additional properties that specify how the input is formatted,
sourcepub fn input_compression_type(&self) -> Option<&InputCompressionType>
pub fn input_compression_type(&self) -> Option<&InputCompressionType>
Type of compression to be used on the input coming from the imported table.
sourcepub fn table_creation_parameters(&self) -> Option<&TableCreationParameters>
pub fn table_creation_parameters(&self) -> Option<&TableCreationParameters>
Parameters for the table to import the data into.
source§impl ImportTableInput
impl ImportTableInput
sourcepub fn builder() -> ImportTableInputBuilder
pub fn builder() -> ImportTableInputBuilder
Creates a new builder-style object to manufacture ImportTableInput.
Trait Implementations§
source§impl Clone for ImportTableInput
impl Clone for ImportTableInput
source§fn clone(&self) -> ImportTableInput
fn clone(&self) -> ImportTableInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ImportTableInput
impl Debug for ImportTableInput
source§impl PartialEq for ImportTableInput
impl PartialEq for ImportTableInput
source§fn eq(&self, other: &ImportTableInput) -> bool
fn eq(&self, other: &ImportTableInput) -> bool
self and other values to be equal, and is used
by ==.