| 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.Lightsail.DeleteInstanceSnapshot
Description
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 #
Arguments
| :: Text | |
| -> DeleteInstanceSnapshot |
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.
Instances
Request Lenses
disInstanceSnapshotName :: Lens' DeleteInstanceSnapshot Text Source #
The name of the snapshot to delete.
Destructuring the Response
deleteInstanceSnapshotResponse Source #
Arguments
| :: Int | |
| -> DeleteInstanceSnapshotResponse |
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.
Instances
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.