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 |
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.
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:
$sel:appId:DeleteJob'
, deleteJob_appId
- The unique ID for an Amplify app.
$sel:branchName:DeleteJob'
, deleteJob_branchName
- The name for the branch, for the job.
$sel:jobId: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.
DeleteJobResponse' | |
|
Instances
:: 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.