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 |
Gets information about a job.
Synopsis
- data GetJob = GetJob' {}
- newGetJob :: Text -> GetJob
- getJob_arn :: 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
Represents a request to the get job operation.
See: newGetJob
smart constructor.
Instances
Eq GetJob Source # | |
Read GetJob Source # | |
Show GetJob Source # | |
Generic GetJob Source # | |
NFData GetJob Source # | |
Defined in Amazonka.DeviceFarm.GetJob | |
Hashable GetJob Source # | |
Defined in Amazonka.DeviceFarm.GetJob | |
ToJSON GetJob Source # | |
Defined in Amazonka.DeviceFarm.GetJob | |
AWSRequest GetJob Source # | |
Defined in Amazonka.DeviceFarm.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.DeviceFarm.GetJob | |
ToPath GetJob Source # | |
Defined in Amazonka.DeviceFarm.GetJob toPath :: GetJob -> ByteString # | |
ToQuery GetJob Source # | |
Defined in Amazonka.DeviceFarm.GetJob toQuery :: GetJob -> QueryString # | |
type Rep GetJob Source # | |
Defined in Amazonka.DeviceFarm.GetJob | |
type AWSResponse GetJob Source # | |
Defined in Amazonka.DeviceFarm.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:arn:GetJob'
, getJob_arn
- The job's ARN.
Request Lenses
Destructuring the Response
data GetJobResponse Source #
Represents the result of a get job request.
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
- An object that contains information about the requested job.
$sel:httpStatus:GetJobResponse'
, getJobResponse_httpStatus
- The response's http status code.
Response Lenses
getJobResponse_job :: Lens' GetJobResponse (Maybe Job) Source #
An object that contains information about the requested job.
getJobResponse_httpStatus :: Lens' GetJobResponse Int Source #
The response's http status code.