Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data UpdatePipelineStatus
- updatePipelineStatus :: Text -> Text -> UpdatePipelineStatus
- upsId :: Lens' UpdatePipelineStatus Text
- upsStatus :: Lens' UpdatePipelineStatus Text
- data UpdatePipelineStatusResponse
- updatePipelineStatusResponse :: UpdatePipelineStatusResponse
- upsrPipeline :: Lens' UpdatePipelineStatusResponse (Maybe Pipeline)
Request
data UpdatePipelineStatus Source
Request constructor
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.