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 specific snapshot of a virtual private server (or instance ).
- deleteInstanceSnapshot :: Text -> DeleteInstanceSnapshot
- data DeleteInstanceSnapshot
- disInstanceSnapshotName :: Lens' DeleteInstanceSnapshot Text
- deleteInstanceSnapshotResponse :: Int -> DeleteInstanceSnapshotResponse
- data DeleteInstanceSnapshotResponse
- disrsOperations :: Lens' DeleteInstanceSnapshotResponse [Operation]
- disrsResponseStatus :: Lens' DeleteInstanceSnapshotResponse Int
Creating a Request
deleteInstanceSnapshot Source #
Creates a value of DeleteInstanceSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
disInstanceSnapshotName
- The name of the snapshot to delete.
data DeleteInstanceSnapshot Source #
See: deleteInstanceSnapshot
smart constructor.
Request Lenses
disInstanceSnapshotName :: Lens' DeleteInstanceSnapshot Text Source #
The name of the snapshot to delete.
Destructuring the Response
deleteInstanceSnapshotResponse Source #
Creates a value of DeleteInstanceSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
disrsOperations
- An array of key-value pairs containing information about the results of your delete instance snapshot request.disrsResponseStatus
- -- | The response status code.
data DeleteInstanceSnapshotResponse Source #
See: deleteInstanceSnapshotResponse
smart constructor.
Response Lenses
disrsOperations :: Lens' DeleteInstanceSnapshotResponse [Operation] Source #
An array of key-value pairs containing information about the results of your delete instance snapshot request.
disrsResponseStatus :: Lens' DeleteInstanceSnapshotResponse Int Source #
- - | The response status code.