| 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.DeleteJob
Description
Deletes a job for a branch of an Amplify app.
Synopsis
- data DeleteJob = DeleteJob' {}
- newDeleteJob :: Text -> Text -> Text -> DeleteJob
- deleteJob_appId :: Lens' DeleteJob Text
- deleteJob_branchName :: Lens' DeleteJob Text
- deleteJob_jobId :: Lens' DeleteJob Text
- data DeleteJobResponse = DeleteJobResponse' {}
- newDeleteJobResponse :: Int -> JobSummary -> DeleteJobResponse
- deleteJobResponse_httpStatus :: Lens' DeleteJobResponse Int
- deleteJobResponse_jobSummary :: Lens' DeleteJobResponse JobSummary
Creating a Request
The request structure for the delete job request.
See: newDeleteJob smart constructor.
Constructors
| DeleteJob' | |
Instances
Create a value of DeleteJob 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:
DeleteJob, deleteJob_appId - The unique ID for an Amplify app.
DeleteJob, deleteJob_branchName - The name for the branch, for the job.
DeleteJob, deleteJob_jobId - The unique ID for the job.
Request Lenses
Destructuring the Response
data DeleteJobResponse Source #
The result structure for the delete job request.
See: newDeleteJobResponse smart constructor.
Constructors
| DeleteJobResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> JobSummary | |
| -> DeleteJobResponse |
Create a value of DeleteJobResponse 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:DeleteJobResponse', deleteJobResponse_httpStatus - The response's http status code.
$sel:jobSummary:DeleteJobResponse', deleteJobResponse_jobSummary - Undocumented member.
Response Lenses
deleteJobResponse_httpStatus :: Lens' DeleteJobResponse Int Source #
The response's http status code.
deleteJobResponse_jobSummary :: Lens' DeleteJobResponse JobSummary Source #
Undocumented member.