amazonka-elastictranscoder-1.2.0.1: Amazon Elastic Transcoder SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for UpdatePipelineStatus.

Synopsis

Creating a Request

updatePipelineStatus Source

Creates a value of UpdatePipelineStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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.

Destructuring the Response

updatePipelineStatusResponse Source

Creates a value of UpdatePipelineStatusResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

upsrsPipeline :: Lens' UpdatePipelineStatusResponse (Maybe Pipeline) Source

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