| 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.GetJobRun
Description
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.
Constructors
| GetJobRun' | |
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.
GetJobRun, getJobRun_jobName - Name of the job definition being run.
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.
Constructors
| GetJobRunResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetJobRunResponse |
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.