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.DirectoryService.DeleteSnapshot
Description
Deletes a directory snapshot.
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:
dsSnapshotId
- The identifier of the directory snapshot to be deleted.
data DeleteSnapshot #
Contains the inputs for the DeleteSnapshot
operation.
See: deleteSnapshot
smart constructor.
Instances
Request Lenses
dsSnapshotId :: Lens' DeleteSnapshot Text #
The identifier of the directory snapshot to be deleted.
Destructuring the Response
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:
dsrsSnapshotId
- The identifier of the directory snapshot that was deleted.dsrsResponseStatus
- -- | The response status code.
data DeleteSnapshotResponse #
Contains the results of the DeleteSnapshot
operation.
See: deleteSnapshotResponse
smart constructor.
Response Lenses
dsrsSnapshotId :: Lens' DeleteSnapshotResponse (Maybe Text) #
The identifier of the directory snapshot that was deleted.
dsrsResponseStatus :: Lens' DeleteSnapshotResponse Int #
- - | The response status code.