| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElastiCache.DeleteSnapshot
Description
Deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.
Creating a Request
Arguments
| :: Text | |
| -> DeleteSnapshot |
Creates a value of DeleteSnapshot with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dSnapshotName- The name of the snapshot to be deleted.
data DeleteSnapshot Source #
Represents the input of a DeleteSnapshot operation.
See: deleteSnapshot smart constructor.
Instances
Request Lenses
dSnapshotName :: Lens' DeleteSnapshot Text Source #
The name of the snapshot to be deleted.
Destructuring the Response
deleteSnapshotResponse Source #
Arguments
| :: Int | |
| -> DeleteSnapshotResponse |
Creates a value of DeleteSnapshotResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrsSnapshot- Undocumented member.dsrsResponseStatus- -- | The response status code.
data DeleteSnapshotResponse Source #
See: deleteSnapshotResponse smart constructor.
Response Lenses
dsrsSnapshot :: Lens' DeleteSnapshotResponse (Maybe Snapshot) Source #
Undocumented member.
dsrsResponseStatus :: Lens' DeleteSnapshotResponse Int Source #
- - | The response status code.