Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieves the metadata for a given job run.
- getJobRun :: Text -> Text -> GetJobRun
- data GetJobRun
- gPredecessorsIncluded :: Lens' GetJobRun (Maybe Bool)
- gJobName :: Lens' GetJobRun Text
- gRunId :: Lens' GetJobRun Text
- getJobRunResponse :: Int -> GetJobRunResponse
- data GetJobRunResponse
- gjrjrsJobRun :: Lens' GetJobRunResponse (Maybe JobRun)
- gjrjrsResponseStatus :: Lens' GetJobRunResponse Int
Creating a Request
Creates a value of GetJobRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gPredecessorsIncluded
- True if a list of predecessor runs should be returned.gJobName
- Name of the job definition being run.gRunId
- The ID of the job run.
See: getJobRun
smart constructor.
Request Lenses
gPredecessorsIncluded :: Lens' GetJobRun (Maybe Bool) Source #
True if a list of predecessor runs should be returned.
Destructuring the Response
Creates a value of GetJobRunResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gjrjrsJobRun
- The requested job-run metadata.gjrjrsResponseStatus
- -- | The response status code.
data GetJobRunResponse Source #
See: getJobRunResponse
smart constructor.
Response Lenses
gjrjrsJobRun :: Lens' GetJobRunResponse (Maybe JobRun) Source #
The requested job-run metadata.
gjrjrsResponseStatus :: Lens' GetJobRunResponse Int Source #
- - | The response status code.