#[non_exhaustive]pub struct ExportTableToPointInTimeInput { /* private fields */ }
Implementations§
source§impl ExportTableToPointInTimeInput
impl ExportTableToPointInTimeInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ExportTableToPointInTime, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ExportTableToPointInTime, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ExportTableToPointInTime
>
Examples found in repository?
3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ExportTableToPointInTime,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ExportTableToPointInTimeError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::ExportTableToPointInTimeOutput,
aws_smithy_http::result::SdkError<crate::error::ExportTableToPointInTimeError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExportTableToPointInTimeInput
.
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.
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
.
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 more