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 |
Retrieves the metadata for a given job run.
Synopsis
- data GetJobRun = GetJobRun' {}
- newGetJobRun :: Text -> Text -> GetJobRun
- getJobRun_predecessorsIncluded :: Lens' GetJobRun (Maybe Bool)
- getJobRun_jobName :: Lens' GetJobRun Text
- getJobRun_runId :: Lens' GetJobRun Text
- data GetJobRunResponse = GetJobRunResponse' {
- jobRun :: Maybe JobRun
- httpStatus :: Int
- newGetJobRunResponse :: Int -> GetJobRunResponse
- getJobRunResponse_jobRun :: Lens' GetJobRunResponse (Maybe JobRun)
- getJobRunResponse_httpStatus :: Lens' GetJobRunResponse Int
Creating a Request
See: newGetJobRun
smart constructor.
Instances
Create a value of GetJobRun
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:predecessorsIncluded:GetJobRun'
, getJobRun_predecessorsIncluded
- True if a list of predecessor runs should be returned.
$sel:jobName:GetJobRun'
, getJobRun_jobName
- Name of the job definition being run.
$sel:runId:GetJobRun'
, getJobRun_runId
- The ID of the job run.
Request Lenses
getJobRun_predecessorsIncluded :: Lens' GetJobRun (Maybe Bool) Source #
True if a list of predecessor runs should be returned.
Destructuring the Response
data GetJobRunResponse Source #
See: newGetJobRunResponse
smart constructor.
GetJobRunResponse' | |
|
Instances
Create a value of GetJobRunResponse
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:jobRun:GetJobRunResponse'
, getJobRunResponse_jobRun
- The requested job-run metadata.
$sel:httpStatus:GetJobRunResponse'
, getJobRunResponse_httpStatus
- The response's http status code.
Response Lenses
getJobRunResponse_jobRun :: Lens' GetJobRunResponse (Maybe JobRun) Source #
The requested job-run metadata.
getJobRunResponse_httpStatus :: Lens' GetJobRunResponse Int Source #
The response's http status code.