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 |
Retrieve the JSON for a specific job template.
Synopsis
- data GetJobTemplate = GetJobTemplate' {}
- newGetJobTemplate :: Text -> GetJobTemplate
- getJobTemplate_name :: Lens' GetJobTemplate Text
- data GetJobTemplateResponse = GetJobTemplateResponse' {}
- newGetJobTemplateResponse :: Int -> GetJobTemplateResponse
- getJobTemplateResponse_jobTemplate :: Lens' GetJobTemplateResponse (Maybe JobTemplate)
- getJobTemplateResponse_httpStatus :: Lens' GetJobTemplateResponse Int
Creating a Request
data GetJobTemplate Source #
See: newGetJobTemplate
smart constructor.
Instances
Create a value of GetJobTemplate
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:name:GetJobTemplate'
, getJobTemplate_name
- The name of the job template.
Request Lenses
getJobTemplate_name :: Lens' GetJobTemplate Text Source #
The name of the job template.
Destructuring the Response
data GetJobTemplateResponse Source #
See: newGetJobTemplateResponse
smart constructor.
GetJobTemplateResponse' | |
|
Instances
newGetJobTemplateResponse Source #
Create a value of GetJobTemplateResponse
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:jobTemplate:GetJobTemplateResponse'
, getJobTemplateResponse_jobTemplate
- A job template is a pre-made set of encoding instructions that you can
use to quickly create a job.
$sel:httpStatus:GetJobTemplateResponse'
, getJobTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
getJobTemplateResponse_jobTemplate :: Lens' GetJobTemplateResponse (Maybe JobTemplate) Source #
A job template is a pre-made set of encoding instructions that you can use to quickly create a job.
getJobTemplateResponse_httpStatus :: Lens' GetJobTemplateResponse Int Source #
The response's http status code.