Learn R Programming

paws.database (version 0.7.0)

redshift_authorize_snapshot_access: Authorizes the specified Amazon Web Services account to restore the specified snapshot

Description

Authorizes the specified Amazon Web Services account to restore the specified snapshot.

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

Usage

redshift_authorize_snapshot_access(
  SnapshotIdentifier = NULL,
  SnapshotArn = NULL,
  SnapshotClusterIdentifier = NULL,
  AccountWithRestoreAccess
)

Arguments

SnapshotIdentifier

The identifier of the snapshot the account is authorized to restore.

SnapshotArn

The Amazon Resource Name (ARN) of the snapshot to authorize access to.

SnapshotClusterIdentifier

The identifier of the cluster the snapshot was created from.

  • If the snapshot to access doesn't exist and the associated IAM policy doesn't allow access to all () snapshots* - This parameter is required. Otherwise, permissions aren't available to check if the snapshot exists.

  • If the snapshot to access exists - This parameter isn't required. Redshift can retrieve the cluster identifier and use it to validate snapshot authorization.

AccountWithRestoreAccess

[required] The identifier of the Amazon Web Services account authorized to restore the specified snapshot.

To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.