amazonka-redshift-1.4.0: Amazon Redshift SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Redshift.RevokeSnapshotAccess

Contents

Description

Removes the ability of the specified AWS customer account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

Synopsis

Creating a Request

revokeSnapshotAccess Source

Creates a value of RevokeSnapshotAccess with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

rsaSnapshotClusterIdentifier :: Lens' RevokeSnapshotAccess (Maybe Text) Source

The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

rsaSnapshotIdentifier :: Lens' RevokeSnapshotAccess Text Source

The identifier of the snapshot that the account can no longer access.

rsaAccountWithRestoreAccess :: Lens' RevokeSnapshotAccess Text Source

The identifier of the AWS customer account that can no longer restore the specified snapshot.

Destructuring the Response

revokeSnapshotAccessResponse Source

Creates a value of RevokeSnapshotAccessResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses