StopJob
Source:
src/AWS/Amplify/StopJob.ts
Runtime binding for amplify:StopJob.
Bind an App in the function’s init phase to get a callable that
cancels an in-progress build job on one of the app’s branches. Provide the
implementation with Effect.provide(AWS.Amplify.StopJobHttp).
Controlling Jobs
Section titled “Controlling Jobs”// init — bind the operation to the appconst stopJob = yield* AWS.Amplify.StopJob(app);
// runtime — cancel the jobconst { jobSummary } = yield* stopJob({ branchName: "main", jobId: "42",});