Safe Haskell | None |
---|---|
Language | Haskell2010 |
Authorizes the specified AWS customer account to restore the specified snapshot.
For more information about working with snapshots, go to Amazon RedshiftSnapshots in the Amazon Redshift Cluster Management Guide.
http://docs.aws.amazon.com/redshift/latest/APIReference/API_AuthorizeSnapshotAccess.html
- data AuthorizeSnapshotAccess
- authorizeSnapshotAccess :: Text -> Text -> AuthorizeSnapshotAccess
- asaAccountWithRestoreAccess :: Lens' AuthorizeSnapshotAccess Text
- asaSnapshotClusterIdentifier :: Lens' AuthorizeSnapshotAccess (Maybe Text)
- asaSnapshotIdentifier :: Lens' AuthorizeSnapshotAccess Text
- data AuthorizeSnapshotAccessResponse
- authorizeSnapshotAccessResponse :: AuthorizeSnapshotAccessResponse
- asarSnapshot :: Lens' AuthorizeSnapshotAccessResponse (Maybe Snapshot)
Request
data AuthorizeSnapshotAccess Source
Request constructor
authorizeSnapshotAccess Source
AuthorizeSnapshotAccess
constructor.
The fields accessible through corresponding lenses are:
Request lenses
asaAccountWithRestoreAccess :: Lens' AuthorizeSnapshotAccess Text Source
The identifier of the AWS customer account authorized to restore the specified snapshot.
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.
Response
Response constructor
authorizeSnapshotAccessResponse :: AuthorizeSnapshotAccessResponse Source
AuthorizeSnapshotAccessResponse
constructor.
The fields accessible through corresponding lenses are: