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 a DBSnapshot. If the snapshot is being copied, the copy operation is terminated.
The DBSnapshot must be in the available
state to be deleted.
See: AWS API Reference for DeleteDBSnapshot.
- deleteDBSnapshot :: Text -> DeleteDBSnapshot
- data DeleteDBSnapshot
- ddbsDBSnapshotIdentifier :: Lens' DeleteDBSnapshot Text
- deleteDBSnapshotResponse :: Int -> DeleteDBSnapshotResponse
- data DeleteDBSnapshotResponse
- ddbsrsDBSnapshot :: Lens' DeleteDBSnapshotResponse (Maybe DBSnapshot)
- ddbsrsStatus :: Lens' DeleteDBSnapshotResponse Int
Creating a Request
Creates a value of DeleteDBSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteDBSnapshot Source
See: deleteDBSnapshot
smart constructor.
Request Lenses
ddbsDBSnapshotIdentifier :: Lens' DeleteDBSnapshot Text Source
The DBSnapshot identifier.
Constraints: Must be the name of an existing DB snapshot in the
available
state.
Destructuring the Response
deleteDBSnapshotResponse Source
Creates a value of DeleteDBSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteDBSnapshotResponse Source
See: deleteDBSnapshotResponse
smart constructor.
Response Lenses
ddbsrsDBSnapshot :: Lens' DeleteDBSnapshotResponse (Maybe DBSnapshot) Source
Undocumented member.
ddbsrsStatus :: Lens' DeleteDBSnapshotResponse Int Source
The response status code.