keyspaces_restore_table: Restores the table to the specified point in time within the...

View source: R/keyspaces_operations.R

keyspaces_restore_tableR Documentation

Restores the table to the specified point in time within the earliest_restorable_timestamp and the current time

Description

Restores the table to the specified point in time within the earliest_restorable_timestamp and the current time. For more information about restore points, see Time window for PITR continuous backups in the Amazon Keyspaces Developer Guide.

See https://www.paws-r-sdk.com/docs/keyspaces_restore_table/ for full documentation.

Usage

keyspaces_restore_table(
  sourceKeyspaceName,
  sourceTableName,
  targetKeyspaceName,
  targetTableName,
  restoreTimestamp = NULL,
  capacitySpecificationOverride = NULL,
  encryptionSpecificationOverride = NULL,
  pointInTimeRecoveryOverride = NULL,
  tagsOverride = NULL,
  autoScalingSpecification = NULL,
  replicaSpecifications = NULL
)

Arguments

sourceKeyspaceName

[required] The keyspace name of the source table.

sourceTableName

[required] The name of the source table.

targetKeyspaceName

[required] The name of the target keyspace.

targetTableName

[required] The name of the target table.

restoreTimestamp

The restore timestamp in ISO 8601 format.

capacitySpecificationOverride

Specifies the read/write throughput capacity mode for the target table. The options are:

  • throughputMode:PAY_PER_REQUEST

  • throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

The default is throughput_mode:PAY_PER_REQUEST.

For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

encryptionSpecificationOverride

Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):

  • type:AWS_OWNED_KMS_KEY - This key is owned by Amazon Keyspaces.

  • type:CUSTOMER_MANAGED_KMS_KEY - This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier of the KMS key in Amazon Resource Name (ARN) format as input.

The default is type:AWS_OWNED_KMS_KEY.

For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.

pointInTimeRecoveryOverride

Specifies the pointInTimeRecovery settings for the target table. The options are:

  • status=ENABLED

  • status=DISABLED

If it's not specified, the default is status=DISABLED.

For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.

tagsOverride

A list of key-value pair tags to be attached to the restored table.

For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.

autoScalingSpecification

The optional auto scaling settings for the restored table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic.

For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.

replicaSpecifications

The optional Region specific settings of a multi-Regional table.


paws.database documentation built on Sept. 12, 2024, 6:37 a.m.