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.
Example
Use a bare-bones client and the command you need to make an API call.
A source table with the name TableName does not currently exist within
the subscriber's account or the subscriber is operating in the wrong Amazon Web Services Region.
UpdateContinuousBackups
enables or disables point in time recovery for the specified table. A successfulUpdateContinuousBackups
call returns the currentContinuousBackupsDescription
. Continuous backups areENABLED
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
andLatestRestorableDateTime
.LatestRestorableDateTime
is typically 5 minutes before the current time. You can restore your table to any point in time during the last 35 days.Example
Use a bare-bones client and the command you need to make an API call.
Param
UpdateContinuousBackupsCommandInput
Returns
UpdateContinuousBackupsCommandOutput
See
input
shape.response
shape.config
shape.Throws
ContinuousBackupsUnavailableException (client fault)
Backups have not yet been enabled for this table.
Throws
InternalServerError (server fault)
An error occurred on the server side.
Throws
InvalidEndpointException (client fault)
Throws
TableNotFoundException (client fault)
A source table with the name
TableName
does not currently exist within the subscriber's account or the subscriber is operating in the wrong Amazon Web Services Region.Throws
DynamoDBServiceException
Base exception class for all service exceptions from DynamoDB service.