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 |
Deletes a DBSnapshot. If the snapshot is being copied, the copy operation is terminated.
- 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
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 theavailable
state.
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:
ddbsrsDBSnapshot
- Undocumented member.ddbsrsResponseStatus
- -- | The response status code.
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.