| 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 |
Amazonka.Glue.DeleteJob
Description
Deletes a specified job definition. If the job definition is not found, no exception is thrown.
Synopsis
- data DeleteJob = DeleteJob' {}
- newDeleteJob :: Text -> DeleteJob
- deleteJob_jobName :: Lens' DeleteJob Text
- data DeleteJobResponse = DeleteJobResponse' {
- jobName :: Maybe Text
- httpStatus :: Int
- newDeleteJobResponse :: Int -> DeleteJobResponse
- deleteJobResponse_jobName :: Lens' DeleteJobResponse (Maybe Text)
- deleteJobResponse_httpStatus :: Lens' DeleteJobResponse Int
Creating a Request
See: newDeleteJob smart constructor.
Constructors
| DeleteJob' | |
Instances
Create a value of DeleteJob 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:
DeleteJob, deleteJob_jobName - The name of the job definition to delete.
Request Lenses
Destructuring the Response
data DeleteJobResponse Source #
See: newDeleteJobResponse smart constructor.
Constructors
| DeleteJobResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> DeleteJobResponse |
Create a value of DeleteJobResponse 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:
DeleteJob, deleteJobResponse_jobName - The name of the job definition that was deleted.
$sel:httpStatus:DeleteJobResponse', deleteJobResponse_httpStatus - The response's http status code.
Response Lenses
deleteJobResponse_jobName :: Lens' DeleteJobResponse (Maybe Text) Source #
The name of the job definition that was deleted.
deleteJobResponse_httpStatus :: Lens' DeleteJobResponse Int Source #
The response's http status code.