Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Grants permission to delete a worker
Synopsis
- data DeleteWorker = DeleteWorker' {}
- newDeleteWorker :: Text -> DeleteWorker
- deleteWorker_id :: Lens' DeleteWorker Text
- data DeleteWorkerResponse = DeleteWorkerResponse' {
- httpStatus :: Int
- newDeleteWorkerResponse :: Int -> DeleteWorkerResponse
- deleteWorkerResponse_httpStatus :: Lens' DeleteWorkerResponse Int
Creating a Request
data DeleteWorker Source #
See: newDeleteWorker
smart constructor.
Instances
Create a value of DeleteWorker
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:
DeleteWorker
, deleteWorker_id
- Undocumented member.
Request Lenses
deleteWorker_id :: Lens' DeleteWorker Text Source #
Undocumented member.
Destructuring the Response
data DeleteWorkerResponse Source #
See: newDeleteWorkerResponse
smart constructor.
DeleteWorkerResponse' | |
|
Instances
newDeleteWorkerResponse Source #
Create a value of DeleteWorkerResponse
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:httpStatus:DeleteWorkerResponse'
, deleteWorkerResponse_httpStatus
- The response's http status code.
Response Lenses
deleteWorkerResponse_httpStatus :: Lens' DeleteWorkerResponse Int Source #
The response's http status code.