| 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 |
Network.AWS.RDS.DeleteDBSnapshot
Description
Deletes a DBSnapshot. If the snapshot is being copied, the copy operation is terminated.
Synopsis
- 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:
ddbsDBSnapshotIdentifier- The DBSnapshot identifier. Constraints: Must be the name of an existing DB snapshot in theavailablestate.
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:
ddbsrsDBSnapshot- Undocumented member.ddbsrsResponseStatus- -- | The response status code.
data DeleteDBSnapshotResponse Source #
See: deleteDBSnapshotResponse smart constructor.
Instances
Response Lenses
ddbsrsDBSnapshot :: Lens' DeleteDBSnapshotResponse (Maybe DBSnapshot) Source #
Undocumented member.
ddbsrsResponseStatus :: Lens' DeleteDBSnapshotResponse Int Source #
- - | The response status code.