DeleteJob
Source:
src/AWS/Amplify/DeleteJob.ts
Runtime binding for amplify:DeleteJob.
Bind an App in the function’s init phase to get a callable that
deletes a build job from a branch’s history — e.g. a maintenance function
pruning old build records. Provide the implementation with
Effect.provide(AWS.Amplify.DeleteJobHttp).
Controlling Jobs
Section titled “Controlling Jobs”// init — bind the operation to the appconst deleteJob = yield* AWS.Amplify.DeleteJob(app);
// runtime — remove the job from the branch's historyyield* deleteJob({ branchName: "main", jobId: "42" });