Learn R Programming

paws.database (version 0.7.0)

redshiftserverless_restore_from_snapshot: Restores a namespace from a snapshot

Description

Restores a namespace from a snapshot.

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

Usage

redshiftserverless_restore_from_snapshot(
  adminPasswordSecretKmsKeyId = NULL,
  manageAdminPassword = NULL,
  namespaceName,
  ownerAccount = NULL,
  snapshotArn = NULL,
  snapshotName = NULL,
  workgroupName
)

Arguments

adminPasswordSecretKmsKeyId

The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.

manageAdminPassword

If true, Amazon Redshift uses Secrets Manager to manage the restored snapshot's admin credentials. If MmanageAdminPassword is false or not set, Amazon Redshift uses the admin credentials that the namespace or cluster had at the time the snapshot was taken.

namespaceName

[required] The name of the namespace to restore the snapshot to.

ownerAccount

The Amazon Web Services account that owns the snapshot.

snapshotArn

The Amazon Resource Name (ARN) of the snapshot to restore from. Required if restoring from Amazon Redshift Serverless to a provisioned cluster. Must not be specified at the same time as snapshotName.

The format of the ARN is arn:aws:redshift:\<region\>:\<account_id\>:snapshot:\<cluster_identifier\>/\<snapshot_identifier\>.

snapshotName

The name of the snapshot to restore from. Must not be specified at the same time as snapshotArn.

workgroupName

[required] The name of the workgroup used to restore the snapshot.