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 an existing job definition.
Synopsis
- data GetJob = GetJob' {}
- newGetJob :: Text -> GetJob
- getJob_jobName :: Lens' GetJob Text
- data GetJobResponse = GetJobResponse' {
- job :: Maybe Job
- httpStatus :: Int
- newGetJobResponse :: Int -> GetJobResponse
- getJobResponse_job :: Lens' GetJobResponse (Maybe Job)
- getJobResponse_httpStatus :: Lens' GetJobResponse Int
Creating a Request
See: newGetJob
smart constructor.
Instances
Eq GetJob Source # | |
Read GetJob Source # | |
Show GetJob Source # | |
Generic GetJob Source # | |
NFData GetJob Source # | |
Defined in Amazonka.Glue.GetJob | |
Hashable GetJob Source # | |
Defined in Amazonka.Glue.GetJob | |
ToJSON GetJob Source # | |
Defined in Amazonka.Glue.GetJob | |
AWSRequest GetJob Source # | |
Defined in Amazonka.Glue.GetJob type AWSResponse GetJob # request :: GetJob -> Request GetJob # response :: MonadResource m => Logger -> Service -> Proxy GetJob -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetJob))) # | |
ToHeaders GetJob Source # | |
Defined in Amazonka.Glue.GetJob | |
ToPath GetJob Source # | |
Defined in Amazonka.Glue.GetJob toPath :: GetJob -> ByteString # | |
ToQuery GetJob Source # | |
Defined in Amazonka.Glue.GetJob toQuery :: GetJob -> QueryString # | |
type Rep GetJob Source # | |
Defined in Amazonka.Glue.GetJob | |
type AWSResponse GetJob Source # | |
Defined in Amazonka.Glue.GetJob |
Create a value of GetJob
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:jobName:GetJob'
, getJob_jobName
- The name of the job definition to retrieve.
Request Lenses
Destructuring the Response
data GetJobResponse Source #
See: newGetJobResponse
smart constructor.
GetJobResponse' | |
|
Instances
Create a value of GetJobResponse
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:job:GetJobResponse'
, getJobResponse_job
- The requested job definition.
$sel:httpStatus:GetJobResponse'
, getJobResponse_httpStatus
- The response's http status code.
Response Lenses
getJobResponse_job :: Lens' GetJobResponse (Maybe Job) Source #
The requested job definition.
getJobResponse_httpStatus :: Lens' GetJobResponse Int Source #
The response's http status code.