| 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.EMRContainers.DeleteJobTemplate
Description
Deletes a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.
Synopsis
- data DeleteJobTemplate = DeleteJobTemplate' {}
- newDeleteJobTemplate :: Text -> DeleteJobTemplate
- deleteJobTemplate_id :: Lens' DeleteJobTemplate Text
- data DeleteJobTemplateResponse = DeleteJobTemplateResponse' {
- id :: Maybe Text
- httpStatus :: Int
- newDeleteJobTemplateResponse :: Int -> DeleteJobTemplateResponse
- deleteJobTemplateResponse_id :: Lens' DeleteJobTemplateResponse (Maybe Text)
- deleteJobTemplateResponse_httpStatus :: Lens' DeleteJobTemplateResponse Int
Creating a Request
data DeleteJobTemplate Source #
See: newDeleteJobTemplate smart constructor.
Constructors
| DeleteJobTemplate' | |
Instances
Arguments
| :: Text | |
| -> DeleteJobTemplate |
Create a value of DeleteJobTemplate 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:
DeleteJobTemplate, deleteJobTemplate_id - The ID of the job template that will be deleted.
Request Lenses
deleteJobTemplate_id :: Lens' DeleteJobTemplate Text Source #
The ID of the job template that will be deleted.
Destructuring the Response
data DeleteJobTemplateResponse Source #
See: newDeleteJobTemplateResponse smart constructor.
Constructors
| DeleteJobTemplateResponse' | |
Fields
| |
Instances
newDeleteJobTemplateResponse Source #
Create a value of DeleteJobTemplateResponse 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:
DeleteJobTemplate, deleteJobTemplateResponse_id - This output contains the ID of the job template that was deleted.
$sel:httpStatus:DeleteJobTemplateResponse', deleteJobTemplateResponse_httpStatus - The response's http status code.
Response Lenses
deleteJobTemplateResponse_id :: Lens' DeleteJobTemplateResponse (Maybe Text) Source #
This output contains the ID of the job template that was deleted.
deleteJobTemplateResponse_httpStatus :: Lens' DeleteJobTemplateResponse Int Source #
The response's http status code.