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 |
Returns a job for a branch of an Amplify app.
Synopsis
- data GetJob = GetJob' {}
- newGetJob :: Text -> Text -> Text -> GetJob
- getJob_appId :: Lens' GetJob Text
- getJob_branchName :: Lens' GetJob Text
- getJob_jobId :: Lens' GetJob Text
- data GetJobResponse = GetJobResponse' {
- httpStatus :: Int
- job :: Job
- newGetJobResponse :: Int -> Job -> GetJobResponse
- getJobResponse_httpStatus :: Lens' GetJobResponse Int
- getJobResponse_job :: Lens' GetJobResponse Job
Creating a Request
The request structure for the get job request.
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:
$sel:appId:GetJob'
, getJob_appId
- The unique ID for an Amplify app.
$sel:branchName:GetJob'
, getJob_branchName
- The branch name for the job.
$sel:jobId:GetJob'
, getJob_jobId
- The unique ID for the job.
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:httpStatus:GetJobResponse'
, getJobResponse_httpStatus
- The response's http status code.
$sel:job:GetJobResponse'
, getJobResponse_job
- Undocumented member.
Response Lenses
getJobResponse_httpStatus :: Lens' GetJobResponse Int Source #
The response's http status code.
getJobResponse_job :: Lens' GetJobResponse Job Source #
Undocumented member.