Skip to content

DynamoDB  >  Operations  >  update_continuous_backups

update_continuous_backups

Operation

update_continuous_backups async

update_continuous_backups(input: UpdateContinuousBackupsInput, plugins: list[Plugin] | None = None) -> UpdateContinuousBackupsOutput

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 in the last 35 days. You can set the RecoveryPeriodInDays to any value between 1 and 35 days.

Parameters:

Name Type Description Default
input UpdateContinuousBackupsInput

An instance of UpdateContinuousBackupsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateContinuousBackupsOutput

An instance of UpdateContinuousBackupsOutput.

Input

UpdateContinuousBackupsInput dataclass

Dataclass for UpdateContinuousBackupsInput structure.

Attributes

point_in_time_recovery_specification class-attribute instance-attribute
point_in_time_recovery_specification: PointInTimeRecoverySpecification | None = None

Represents the settings used to enable point in time recovery.

table_name class-attribute instance-attribute
table_name: str | None = None

The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

Output

UpdateContinuousBackupsOutput dataclass

Dataclass for UpdateContinuousBackupsOutput structure.

Attributes

continuous_backups_description class-attribute instance-attribute
continuous_backups_description: ContinuousBackupsDescription | None = None

Represents the continuous backups and point in time recovery settings on the table.