amazonka-elastictranscoder-1.6.0: Amazon Elastic Transcoder SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

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:

  • upsId - The identifier of the pipeline to update.
  • upsStatus - The desired status of the pipeline: * Active : The pipeline is processing jobs. * Paused : The pipeline is not currently processing jobs.

data UpdatePipelineStatus Source #

The UpdatePipelineStatusRequest structure.

See: updatePipelineStatus smart constructor.

Instances

Eq UpdatePipelineStatus Source # 
Data UpdatePipelineStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdatePipelineStatus -> c UpdatePipelineStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdatePipelineStatus #

toConstr :: UpdatePipelineStatus -> Constr #

dataTypeOf :: UpdatePipelineStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdatePipelineStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdatePipelineStatus) #

gmapT :: (forall b. Data b => b -> b) -> UpdatePipelineStatus -> UpdatePipelineStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdatePipelineStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdatePipelineStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdatePipelineStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdatePipelineStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdatePipelineStatus -> m UpdatePipelineStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdatePipelineStatus -> m UpdatePipelineStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdatePipelineStatus -> m UpdatePipelineStatus #

Read UpdatePipelineStatus Source # 
Show UpdatePipelineStatus Source # 
Generic UpdatePipelineStatus Source # 
Hashable UpdatePipelineStatus Source # 
ToJSON UpdatePipelineStatus Source # 
NFData UpdatePipelineStatus Source # 

Methods

rnf :: UpdatePipelineStatus -> () #

AWSRequest UpdatePipelineStatus Source # 
ToHeaders UpdatePipelineStatus Source # 
ToPath UpdatePipelineStatus Source # 
ToQuery UpdatePipelineStatus Source # 
type Rep UpdatePipelineStatus Source # 
type Rep UpdatePipelineStatus = D1 * (MetaData "UpdatePipelineStatus" "Network.AWS.ElasticTranscoder.UpdatePipelineStatus" "amazonka-elastictranscoder-1.6.0-38CPPD4da2X1lqPFWRIqIv" False) (C1 * (MetaCons "UpdatePipelineStatus'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_upsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_upsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs UpdatePipelineStatus Source # 

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:

data UpdatePipelineStatusResponse Source #

When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request.

See: updatePipelineStatusResponse smart constructor.

Instances

Eq UpdatePipelineStatusResponse Source # 
Data UpdatePipelineStatusResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdatePipelineStatusResponse -> c UpdatePipelineStatusResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdatePipelineStatusResponse #

toConstr :: UpdatePipelineStatusResponse -> Constr #

dataTypeOf :: UpdatePipelineStatusResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdatePipelineStatusResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdatePipelineStatusResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdatePipelineStatusResponse -> UpdatePipelineStatusResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdatePipelineStatusResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdatePipelineStatusResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdatePipelineStatusResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdatePipelineStatusResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdatePipelineStatusResponse -> m UpdatePipelineStatusResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdatePipelineStatusResponse -> m UpdatePipelineStatusResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdatePipelineStatusResponse -> m UpdatePipelineStatusResponse #

Read UpdatePipelineStatusResponse Source # 
Show UpdatePipelineStatusResponse Source # 
Generic UpdatePipelineStatusResponse Source # 
NFData UpdatePipelineStatusResponse Source # 
type Rep UpdatePipelineStatusResponse Source # 
type Rep UpdatePipelineStatusResponse = D1 * (MetaData "UpdatePipelineStatusResponse" "Network.AWS.ElasticTranscoder.UpdatePipelineStatus" "amazonka-elastictranscoder-1.6.0-38CPPD4da2X1lqPFWRIqIv" False) (C1 * (MetaCons "UpdatePipelineStatusResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_upsrsPipeline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Pipeline))) (S1 * (MetaSel (Just Symbol "_upsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

upsrsPipeline :: Lens' UpdatePipelineStatusResponse (Maybe Pipeline) Source #

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