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 ==
.impl StructuralPartialEq for ImportTableInput
Auto Trait Implementations§
impl Freeze for ImportTableInput
impl RefUnwindSafe for ImportTableInput
impl Send for ImportTableInput
impl Sync for ImportTableInput
impl Unpin for ImportTableInput
impl UnwindSafe for ImportTableInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more