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.AuthorizeSnapshotAccess

Contents

Description

Authorizes the specified AWS customer account to restore the specified snapshot.

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

Synopsis

Creating a Request

authorizeSnapshotAccess Source

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

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

Request Lenses

asaSnapshotClusterIdentifier :: Lens' AuthorizeSnapshotAccess (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.

asaSnapshotIdentifier :: Lens' AuthorizeSnapshotAccess Text Source

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

asaAccountWithRestoreAccess :: Lens' AuthorizeSnapshotAccess Text Source

The identifier of the AWS customer account authorized to restore the specified snapshot.

Destructuring the Response

authorizeSnapshotAccessResponse Source

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

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

Response Lenses