Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the specified manual snapshot. The snapshot must be in the
available
state, with no other users authorized to access the
snapshot.
Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot.
See: AWS API Reference for DeleteClusterSnapshot.
- deleteClusterSnapshot :: Text -> DeleteClusterSnapshot
- data DeleteClusterSnapshot
- dcsSnapshotClusterIdentifier :: Lens' DeleteClusterSnapshot (Maybe Text)
- dcsSnapshotIdentifier :: Lens' DeleteClusterSnapshot Text
- deleteClusterSnapshotResponse :: Int -> DeleteClusterSnapshotResponse
- data DeleteClusterSnapshotResponse
- dcsrsSnapshot :: Lens' DeleteClusterSnapshotResponse (Maybe Snapshot)
- dcsrsResponseStatus :: Lens' DeleteClusterSnapshotResponse Int
Creating a Request
Creates a value of DeleteClusterSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteClusterSnapshot Source
See: deleteClusterSnapshot
smart constructor.
Request Lenses
dcsSnapshotClusterIdentifier :: Lens' DeleteClusterSnapshot (Maybe Text) Source
The unique 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.
Constraints: Must be the name of valid cluster.
dcsSnapshotIdentifier :: Lens' DeleteClusterSnapshot Text Source
The unique identifier of the manual snapshot to be deleted.
Constraints: Must be the name of an existing snapshot that is in the
available
state.
Destructuring the Response
deleteClusterSnapshotResponse Source
Creates a value of DeleteClusterSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteClusterSnapshotResponse Source
See: deleteClusterSnapshotResponse
smart constructor.
Response Lenses
dcsrsSnapshot :: Lens' DeleteClusterSnapshotResponse (Maybe Snapshot) Source
Undocumented member.
dcsrsResponseStatus :: Lens' DeleteClusterSnapshotResponse Int Source
The response status code.