| 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.Amplify.GetJob
Description
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.
Constructors
| GetJob' | |
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_appId - The unique ID for an Amplify app.
GetJob, getJob_branchName - The branch name for the job.
GetJob, getJob_jobId - The unique ID for the job.
Request Lenses
Destructuring the Response
data GetJobResponse Source #
See: newGetJobResponse smart constructor.
Constructors
| GetJobResponse' | |
Fields
| |
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.