Copyright | (c) 2013-2021 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 |
Deletes a directory snapshot.
Synopsis
- data DeleteSnapshot = DeleteSnapshot' {
- snapshotId :: Text
- newDeleteSnapshot :: Text -> DeleteSnapshot
- deleteSnapshot_snapshotId :: Lens' DeleteSnapshot Text
- data DeleteSnapshotResponse = DeleteSnapshotResponse' {
- snapshotId :: Maybe Text
- httpStatus :: Int
- newDeleteSnapshotResponse :: Int -> DeleteSnapshotResponse
- deleteSnapshotResponse_snapshotId :: Lens' DeleteSnapshotResponse (Maybe Text)
- deleteSnapshotResponse_httpStatus :: Lens' DeleteSnapshotResponse Int
Creating a Request
data DeleteSnapshot Source #
Contains the inputs for the DeleteSnapshot operation.
See: newDeleteSnapshot
smart constructor.
DeleteSnapshot' | |
|
Instances
Create a value of DeleteSnapshot
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:snapshotId:DeleteSnapshot'
, deleteSnapshot_snapshotId
- The identifier of the directory snapshot to be deleted.
Request Lenses
deleteSnapshot_snapshotId :: Lens' DeleteSnapshot Text Source #
The identifier of the directory snapshot to be deleted.
Destructuring the Response
data DeleteSnapshotResponse Source #
Contains the results of the DeleteSnapshot operation.
See: newDeleteSnapshotResponse
smart constructor.
DeleteSnapshotResponse' | |
|
Instances
newDeleteSnapshotResponse Source #
Create a value of DeleteSnapshotResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:snapshotId:DeleteSnapshot'
, deleteSnapshotResponse_snapshotId
- The identifier of the directory snapshot that was deleted.
$sel:httpStatus:DeleteSnapshotResponse'
, deleteSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSnapshotResponse_snapshotId :: Lens' DeleteSnapshotResponse (Maybe Text) Source #
The identifier of the directory snapshot that was deleted.
deleteSnapshotResponse_httpStatus :: Lens' DeleteSnapshotResponse Int Source #
The response's http status code.