Learn R Programming

paws.database (version 0.1.12)

dynamodb_update_continuous_backups: UpdateContinuousBackups enables or disables point in time recovery for the specified table

Description

update_continuous_backups enables or disables point in time recovery for the specified table. A successful update_continuous_backups 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.

Usage

dynamodb_update_continuous_backups(TableName,
  PointInTimeRecoverySpecification)

Value

A list with the following syntax:

list(
  ContinuousBackupsDescription = list(
    ContinuousBackupsStatus = "ENABLED"|"DISABLED",
    PointInTimeRecoveryDescription = list(
      PointInTimeRecoveryStatus = "ENABLED"|"DISABLED",
      EarliestRestorableDateTime = as.POSIXct(
        "2015-01-01"
      ),
      LatestRestorableDateTime = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Arguments

TableName

[required] The name of the table.

PointInTimeRecoverySpecification

[required] Represents the settings used to enable point in time recovery.

Request syntax

svc$update_continuous_backups(
  TableName = "string",
  PointInTimeRecoverySpecification = list(
    PointInTimeRecoveryEnabled = TRUE|FALSE
  )
)