| 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 |
Network.AWS.RDS.DeleteDBSnapshot
Description
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)
- ddbsrsResponseStatus :: Lens' DeleteDBSnapshotResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DeleteDBSnapshot |
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.
Instances
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
Arguments
| :: Int | |
| -> DeleteDBSnapshotResponse |
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.
ddbsrsResponseStatus :: Lens' DeleteDBSnapshotResponse Int Source
The response status code.