Struct aws_sdk_dynamodb::operation::export_table_to_point_in_time::builders::ExportTableToPointInTimeFluentBuilder
source · pub struct ExportTableToPointInTimeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ExportTableToPointInTime
.
Exports table data to an S3 bucket. The table must have point in time recovery enabled, and you can export data from any time within the point in time recovery window.
Implementations§
source§impl ExportTableToPointInTimeFluentBuilder
impl ExportTableToPointInTimeFluentBuilder
sourcepub async fn send(
self
) -> Result<ExportTableToPointInTimeOutput, SdkError<ExportTableToPointInTimeError>>
pub async fn send( self ) -> Result<ExportTableToPointInTimeOutput, SdkError<ExportTableToPointInTimeError>>
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, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ExportTableToPointInTime, AwsResponseRetryClassifier>, SdkError<ExportTableToPointInTimeError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ExportTableToPointInTime, AwsResponseRetryClassifier>, SdkError<ExportTableToPointInTimeError>>
Consumes this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub fn table_arn(self, input: impl Into<String>) -> Self
pub fn table_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) associated with the table to export.
sourcepub fn set_table_arn(self, input: Option<String>) -> Self
pub fn set_table_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) associated with the table to export.
sourcepub fn export_time(self, input: DateTime) -> Self
pub fn export_time(self, input: DateTime) -> Self
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 set_export_time(self, input: Option<DateTime>) -> Self
pub fn set_export_time(self, input: Option<DateTime>) -> Self
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, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
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 set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket to export the snapshot to.
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket to export the snapshot to.
sourcepub fn s3_bucket_owner(self, input: impl Into<String>) -> Self
pub fn s3_bucket_owner(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the bucket the export will be stored in.
sourcepub fn set_s3_bucket_owner(self, input: Option<String>) -> Self
pub fn set_s3_bucket_owner(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the bucket the export will be stored in.
sourcepub fn s3_prefix(self, input: impl Into<String>) -> Self
pub fn s3_prefix(self, input: impl Into<String>) -> Self
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
sourcepub fn set_s3_prefix(self, input: Option<String>) -> Self
pub fn set_s3_prefix(self, input: Option<String>) -> Self
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
sourcepub fn s3_sse_algorithm(self, input: S3SseAlgorithm) -> Self
pub fn s3_sse_algorithm(self, input: S3SseAlgorithm) -> Self
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 set_s3_sse_algorithm(self, input: Option<S3SseAlgorithm>) -> Self
pub fn set_s3_sse_algorithm(self, input: Option<S3SseAlgorithm>) -> Self
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, input: impl Into<String>) -> Self
pub fn s3_sse_kms_key_id(self, input: impl Into<String>) -> Self
The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
sourcepub fn set_s3_sse_kms_key_id(self, input: Option<String>) -> Self
pub fn set_s3_sse_kms_key_id(self, input: Option<String>) -> Self
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, input: ExportFormat) -> Self
pub fn export_format(self, input: ExportFormat) -> Self
The format for the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
sourcepub fn set_export_format(self, input: Option<ExportFormat>) -> Self
pub fn set_export_format(self, input: Option<ExportFormat>) -> Self
The format for the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
Trait Implementations§
source§impl Clone for ExportTableToPointInTimeFluentBuilder
impl Clone for ExportTableToPointInTimeFluentBuilder
source§fn clone(&self) -> ExportTableToPointInTimeFluentBuilder
fn clone(&self) -> ExportTableToPointInTimeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more