#[non_exhaustive]pub struct ExportTableToPointInTimeInput {
pub table_arn: Option<String>,
pub export_time: Option<DateTime>,
pub client_token: Option<String>,
pub s3_bucket: Option<String>,
pub s3_bucket_owner: Option<String>,
pub s3_prefix: Option<String>,
pub s3_sse_algorithm: Option<S3SseAlgorithm>,
pub s3_sse_kms_key_id: Option<String>,
pub export_format: Option<ExportFormat>,
pub export_type: Option<ExportType>,
pub incremental_export_specification: Option<IncrementalExportSpecification>,
}
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.table_arn: Option<String>
The Amazon Resource Name (ARN) associated with the table to export.
export_time: Option<DateTime>
Time in the past from which to export table data, counted in seconds from the start of the Unix epoch. The table export will be a snapshot of the table's state at this point in time.
client_token: Option<String>
Providing a ClientToken
makes the call to ExportTableToPointInTimeInput
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 ImportConflictException
.
s3_bucket: Option<String>
The name of the Amazon S3 bucket to export the snapshot to.
s3_bucket_owner: Option<String>
The ID of the Amazon Web Services account that owns the bucket the export will be stored in.
S3BucketOwner is a required parameter when exporting to a S3 bucket in another account.
s3_prefix: Option<String>
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
s3_sse_algorithm: Option<S3SseAlgorithm>
Type of encryption used on the bucket where export data will be stored. Valid values for S3SseAlgorithm
are:
-
AES256
- server-side encryption with Amazon S3 managed keys -
KMS
- server-side encryption with KMS managed keys
s3_sse_kms_key_id: Option<String>
The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
export_format: Option<ExportFormat>
The format for the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
export_type: Option<ExportType>
Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.
incremental_export_specification: Option<IncrementalExportSpecification>
Optional object containing the parameters specific to an incremental export.
Implementations§
Source§impl ExportTableToPointInTimeInput
impl ExportTableToPointInTimeInput
Sourcepub fn table_arn(&self) -> Option<&str>
pub fn table_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) associated with the table to export.
Sourcepub fn export_time(&self) -> Option<&DateTime>
pub fn export_time(&self) -> Option<&DateTime>
Time in the past from which to export table data, counted in seconds from the start of the Unix epoch. The table export will be a snapshot of the table's state at this point in time.
Sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Providing a ClientToken
makes the call to ExportTableToPointInTimeInput
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 ImportConflictException
.
Sourcepub fn s3_bucket(&self) -> Option<&str>
pub fn s3_bucket(&self) -> Option<&str>
The name of the Amazon S3 bucket to export the snapshot to.
Sourcepub fn s3_bucket_owner(&self) -> Option<&str>
pub fn s3_bucket_owner(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the bucket the export will be stored in.
S3BucketOwner is a required parameter when exporting to a S3 bucket in another account.
Sourcepub fn s3_prefix(&self) -> Option<&str>
pub fn s3_prefix(&self) -> Option<&str>
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
Sourcepub fn s3_sse_algorithm(&self) -> Option<&S3SseAlgorithm>
pub fn s3_sse_algorithm(&self) -> Option<&S3SseAlgorithm>
Type of encryption used on the bucket where export data will be stored. Valid values for S3SseAlgorithm
are:
-
AES256
- server-side encryption with Amazon S3 managed keys -
KMS
- server-side encryption with KMS managed keys
Sourcepub fn s3_sse_kms_key_id(&self) -> Option<&str>
pub fn s3_sse_kms_key_id(&self) -> Option<&str>
The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
Sourcepub fn export_format(&self) -> Option<&ExportFormat>
pub fn export_format(&self) -> Option<&ExportFormat>
The format for the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
Sourcepub fn export_type(&self) -> Option<&ExportType>
pub fn export_type(&self) -> Option<&ExportType>
Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.
Sourcepub fn incremental_export_specification(
&self,
) -> Option<&IncrementalExportSpecification>
pub fn incremental_export_specification( &self, ) -> Option<&IncrementalExportSpecification>
Optional object containing the parameters specific to an incremental export.
Source§impl ExportTableToPointInTimeInput
impl ExportTableToPointInTimeInput
Sourcepub fn builder() -> ExportTableToPointInTimeInputBuilder
pub fn builder() -> ExportTableToPointInTimeInputBuilder
Creates a new builder-style object to manufacture ExportTableToPointInTimeInput
.
Trait Implementations§
Source§impl Clone for ExportTableToPointInTimeInput
impl Clone for ExportTableToPointInTimeInput
Source§fn clone(&self) -> ExportTableToPointInTimeInput
fn clone(&self) -> ExportTableToPointInTimeInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl PartialEq for ExportTableToPointInTimeInput
impl PartialEq for ExportTableToPointInTimeInput
Source§fn eq(&self, other: &ExportTableToPointInTimeInput) -> bool
fn eq(&self, other: &ExportTableToPointInTimeInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExportTableToPointInTimeInput
Auto Trait Implementations§
impl Freeze for ExportTableToPointInTimeInput
impl RefUnwindSafe for ExportTableToPointInTimeInput
impl Send for ExportTableToPointInTimeInput
impl Sync for ExportTableToPointInTimeInput
impl Unpin for ExportTableToPointInTimeInput
impl UnwindSafe for ExportTableToPointInTimeInput
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§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