amazonka-elastictranscoder-0.1.3: Amazon Elastic Transcoder SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticTranscoder.CancelJob

Contents

Description

The CancelJob operation cancels an unfinished job.

You can only cancel a job that has a status of Submitted. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline.

http://docs.aws.amazon.com/elastictranscoder/latest/developerguide/CancelJob.html

Synopsis

Request

Request constructor

cancelJob Source

Arguments

:: Text

cjId

-> CancelJob 

CancelJob constructor.

The fields accessible through corresponding lenses are:

Request lenses

cjId :: Lens' CancelJob Text Source

The identifier of the job that you want to cancel.

To get a list of the jobs (including their jobId) that have a status of Submitted, use the ListJobsByStatus API action.

Response

Response constructor