amazonka-elastictranscoder-0.1.1: Amazon Elastic Transcoder SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticTranscoder.UpdatePipelineStatus

Contents

Description

The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs.

Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob request.

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

Synopsis

Request

Request constructor

updatePipelineStatus Source

UpdatePipelineStatus constructor.

The fields accessible through corresponding lenses are:

Request lenses

upsId :: Lens' UpdatePipelineStatus Text Source

The identifier of the pipeline to update.

upsStatus :: Lens' UpdatePipelineStatus Text Source

The desired status of the pipeline:

Active: The pipeline is processing jobs. Paused: The pipeline is not currently processing jobs.

Response

Response constructor

updatePipelineStatusResponse :: UpdatePipelineStatusResponse Source

UpdatePipelineStatusResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

upsrPipeline :: Lens' UpdatePipelineStatusResponse (Maybe Pipeline) Source

A section of the response body that provides information about the pipeline.