Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
- revokeSnapshotAccess :: Text -> Text -> RevokeSnapshotAccess
- data RevokeSnapshotAccess
- rsaSnapshotClusterIdentifier :: Lens' RevokeSnapshotAccess (Maybe Text)
- rsaSnapshotIdentifier :: Lens' RevokeSnapshotAccess Text
- rsaAccountWithRestoreAccess :: Lens' RevokeSnapshotAccess Text
- revokeSnapshotAccessResponse :: Int -> RevokeSnapshotAccessResponse
- data RevokeSnapshotAccessResponse
- rsarsSnapshot :: Lens' RevokeSnapshotAccessResponse (Maybe Snapshot)
- rsarsResponseStatus :: Lens' RevokeSnapshotAccessResponse Int
Creating a Request
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:
rsaSnapshotClusterIdentifier
- 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
- The identifier of the snapshot that the account can no longer access.rsaAccountWithRestoreAccess
- The identifier of the AWS customer account that can no longer restore the specified snapshot.
data RevokeSnapshotAccess Source #
See: revokeSnapshotAccess
smart constructor.
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:
rsarsSnapshot
- Undocumented member.rsarsResponseStatus
- -- | The response status code.
data RevokeSnapshotAccessResponse Source #
See: revokeSnapshotAccessResponse
smart constructor.
Response Lenses
rsarsSnapshot :: Lens' RevokeSnapshotAccessResponse (Maybe Snapshot) Source #
Undocumented member.
rsarsResponseStatus :: Lens' RevokeSnapshotAccessResponse Int Source #
- - | The response status code.