Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a directory snapshot.
See: AWS API Reference for DeleteSnapshot.
Creating a Request
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:
data DeleteSnapshot Source
Contains the inputs for the DeleteSnapshot operation.
See: deleteSnapshot
smart constructor.
Request Lenses
dsSnapshotId :: Lens' DeleteSnapshot Text Source
The identifier of the directory snapshot to be deleted.
Destructuring the Response
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:
data DeleteSnapshotResponse Source
Contains the results of the DeleteSnapshot operation.
See: deleteSnapshotResponse
smart constructor.
Response Lenses
dsrsSnapshotId :: Lens' DeleteSnapshotResponse (Maybe Text) Source
The identifier of the directory snapshot that was deleted.
dsrsStatus :: Lens' DeleteSnapshotResponse Int Source
The response status code.