Amazon Elastic Transcoder · Arazzo Workflow
Amazon Elastic Transcoder Pause Pipeline and Cancel a Submitted Job
Version 1.0.0
Pause a pipeline so no new jobs start, then cancel a job that is still in the Submitted state.
Provider
Workflows
pause-pipeline-cancel-job
Pause a pipeline and cancel a still-submitted job.
Pauses the pipeline to stop it starting new work, reads the job to confirm it is still Submitted, and cancels it only when the cancel is permitted.
1
pausePipeline
UpdatePipelineStatus
Set the pipeline status to Paused so Elastic Transcoder stops starting new jobs while the cancel is prepared.
2
readJob
ReadJob
Read the job and branch: only proceed to cancel when the job is still in the Submitted state, since cancel is rejected once processing begins.
3
cancelJob
CancelJob
Cancel the still-submitted job now that the pipeline is paused and the job is confirmed cancellable.