Skip to content

update_continuous_backups

Operation

update_continuous_backups

update_continuous_backups(request: UpdateContinuousBackupsInput | UpdateContinuousBackupsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateContinuousBackupsInputDict]) -> 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
request UpdateContinuousBackupsInput | UpdateContinuousBackupsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[UpdateContinuousBackupsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateContinuousBackupsOutput

An instance of UpdateContinuousBackupsOutput.

update_continuous_backups async

update_continuous_backups(request: UpdateContinuousBackupsInput | UpdateContinuousBackupsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateContinuousBackupsInputDict]) -> 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
request UpdateContinuousBackupsInput | UpdateContinuousBackupsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[UpdateContinuousBackupsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateContinuousBackupsOutput

An instance of UpdateContinuousBackupsOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

UpdateContinuousBackupsInputDict

Bases: TypedDict

Dictionary form of UpdateContinuousBackupsInput.

Attributes

point_in_time_recovery_specification instance-attribute

Represents the settings used to enable point in time recovery.

table_name instance-attribute
table_name: Required[str]

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

UpdateContinuousBackupsInput dataclass

Bases: _SerdeShape

Dataclass for UpdateContinuousBackupsInput structure.

Attributes

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

Represents the settings used to enable point in time recovery.

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

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

Output

UpdateContinuousBackupsOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateContinuousBackupsOutput structure.

Attributes

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

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

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.