Struct aws_sdk_dynamodb::client::fluent_builders::UpdateContinuousBackups [−][src]
pub struct UpdateContinuousBackups<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateContinuousBackups
.
UpdateContinuousBackups
enables or disables point in time recovery for the specified table.
A successful UpdateContinuousBackups
call returns the current ContinuousBackupsDescription
.
Continuous backups are ENABLED
on all tables at table creation.
If point in time recovery is enabled, PointInTimeRecoveryStatus
will be set to ENABLED.
Once continuous backups and point in time recovery are enabled, you can restore to any point in time within
EarliestRestorableDateTime
and LatestRestorableDateTime
.
LatestRestorableDateTime
is typically 5 minutes before the current time.
You can restore your table to any point in time during the last 35 days.
Implementations
impl<C, M, R> UpdateContinuousBackups<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateContinuousBackups<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateContinuousBackupsOutput, SdkError<UpdateContinuousBackupsError>> where
R::Policy: SmithyRetryPolicy<UpdateContinuousBackupsInputOperationOutputAlias, UpdateContinuousBackupsOutput, UpdateContinuousBackupsError, UpdateContinuousBackupsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateContinuousBackupsOutput, SdkError<UpdateContinuousBackupsError>> where
R::Policy: SmithyRetryPolicy<UpdateContinuousBackupsInputOperationOutputAlias, UpdateContinuousBackupsOutput, UpdateContinuousBackupsError, UpdateContinuousBackupsInputOperationRetryAlias>,
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.
The name of the table.
The name of the table.
pub fn point_in_time_recovery_specification(
self,
inp: PointInTimeRecoverySpecification
) -> Self
pub fn point_in_time_recovery_specification(
self,
inp: PointInTimeRecoverySpecification
) -> Self
Represents the settings used to enable point in time recovery.
pub fn set_point_in_time_recovery_specification(
self,
input: Option<PointInTimeRecoverySpecification>
) -> Self
pub fn set_point_in_time_recovery_specification(
self,
input: Option<PointInTimeRecoverySpecification>
) -> Self
Represents the settings used to enable point in time recovery.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateContinuousBackups<C, M, R>
impl<C, M, R> Send for UpdateContinuousBackups<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateContinuousBackups<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateContinuousBackups<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateContinuousBackups<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more