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 the specified disk snapshot.
When you make periodic snapshots of a disk, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the disk.
Synopsis
- deleteDiskSnapshot :: Text -> DeleteDiskSnapshot
- data DeleteDiskSnapshot
- ddsDiskSnapshotName :: Lens' DeleteDiskSnapshot Text
- deleteDiskSnapshotResponse :: Int -> DeleteDiskSnapshotResponse
- data DeleteDiskSnapshotResponse
- ddsrsOperations :: Lens' DeleteDiskSnapshotResponse [Operation]
- ddsrsResponseStatus :: Lens' DeleteDiskSnapshotResponse Int
Creating a Request
Creates a value of DeleteDiskSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddsDiskSnapshotName
- The name of the disk snapshot you want to delete (e.g.,my-disk-snapshot
).
data DeleteDiskSnapshot Source #
See: deleteDiskSnapshot
smart constructor.
Instances
Request Lenses
ddsDiskSnapshotName :: Lens' DeleteDiskSnapshot Text Source #
The name of the disk snapshot you want to delete (e.g., my-disk-snapshot
).
Destructuring the Response
deleteDiskSnapshotResponse Source #
Creates a value of DeleteDiskSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddsrsOperations
- An object describing the API operations.ddsrsResponseStatus
- -- | The response status code.
data DeleteDiskSnapshotResponse Source #
See: deleteDiskSnapshotResponse
smart constructor.
Instances
Response Lenses
ddsrsOperations :: Lens' DeleteDiskSnapshotResponse [Operation] Source #
An object describing the API operations.
ddsrsResponseStatus :: Lens' DeleteDiskSnapshotResponse Int Source #
- - | The response status code.