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.DeviceFarm.GetJob
Description
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
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:
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.
Constructors
GetJobResponse' | |
Fields
|
Instances
Arguments
:: Int | |
-> GetJobResponse |
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:
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.