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 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.
Instances
Eq DeleteJob Source # | |
Read DeleteJob Source # | |
Show DeleteJob Source # | |
Generic DeleteJob Source # | |
NFData DeleteJob Source # | |
Defined in Amazonka.Glue.DeleteJob | |
Hashable DeleteJob Source # | |
Defined in Amazonka.Glue.DeleteJob | |
ToJSON DeleteJob Source # | |
Defined in Amazonka.Glue.DeleteJob | |
AWSRequest DeleteJob Source # | |
Defined in Amazonka.Glue.DeleteJob type AWSResponse DeleteJob # request :: DeleteJob -> Request DeleteJob # response :: MonadResource m => Logger -> Service -> Proxy DeleteJob -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse DeleteJob))) # | |
ToHeaders DeleteJob Source # | |
Defined in Amazonka.Glue.DeleteJob | |
ToPath DeleteJob Source # | |
Defined in Amazonka.Glue.DeleteJob toPath :: DeleteJob -> ByteString # | |
ToQuery DeleteJob Source # | |
Defined in Amazonka.Glue.DeleteJob toQuery :: DeleteJob -> QueryString # | |
type Rep DeleteJob Source # | |
Defined in Amazonka.Glue.DeleteJob | |
type AWSResponse DeleteJob Source # | |
Defined in Amazonka.Glue.DeleteJob |
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:
$sel:jobName:DeleteJob'
, deleteJob_jobName
- The name of the job definition to delete.
Request Lenses
Destructuring the Response
data DeleteJobResponse Source #
See: newDeleteJobResponse
smart constructor.
DeleteJobResponse' | |
|
Instances
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:
$sel:jobName: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.