amazonka-datapipeline-1.4.5: Amazon Data Pipeline SDK.

Copyright(c) 2013-2016 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.DataPipeline.ActivatePipeline

Contents

Description

Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails.

If you need to pause the pipeline to investigate an issue with a component, such as a data source or script, call DeactivatePipeline .

To activate a finished pipeline, modify the end date for the pipeline and then activate it.

Synopsis

Creating a Request

activatePipeline Source #

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

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

  • apStartTimestamp - The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
  • apParameterValues - A list of parameter values to pass to the pipeline at activation.
  • apPipelineId - The ID of the pipeline.

data ActivatePipeline Source #

Contains the parameters for ActivatePipeline.

See: activatePipeline smart constructor.

Instances

Eq ActivatePipeline Source # 
Data ActivatePipeline Source # 

Methods

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

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

toConstr :: ActivatePipeline -> Constr #

dataTypeOf :: ActivatePipeline -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ActivatePipeline -> () #

AWSRequest ActivatePipeline Source # 
ToPath ActivatePipeline Source # 
ToHeaders ActivatePipeline Source # 
ToQuery ActivatePipeline Source # 
type Rep ActivatePipeline Source # 
type Rep ActivatePipeline = D1 (MetaData "ActivatePipeline" "Network.AWS.DataPipeline.ActivatePipeline" "amazonka-datapipeline-1.4.5-2XRiHlI7YUG6vzXDlJG8tH" False) (C1 (MetaCons "ActivatePipeline'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_apStartTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_apParameterValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ParameterValue]))) (S1 (MetaSel (Just Symbol "_apPipelineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ActivatePipeline Source # 

Request Lenses

apStartTimestamp :: Lens' ActivatePipeline (Maybe UTCTime) Source #

The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.

apParameterValues :: Lens' ActivatePipeline [ParameterValue] Source #

A list of parameter values to pass to the pipeline at activation.

apPipelineId :: Lens' ActivatePipeline Text Source #

The ID of the pipeline.

Destructuring the Response

activatePipelineResponse Source #

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

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

data ActivatePipelineResponse Source #

Contains the output of ActivatePipeline.

See: activatePipelineResponse smart constructor.

Instances

Eq ActivatePipelineResponse Source # 
Data ActivatePipelineResponse Source # 

Methods

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

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

toConstr :: ActivatePipelineResponse -> Constr #

dataTypeOf :: ActivatePipelineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ActivatePipelineResponse Source # 
Show ActivatePipelineResponse Source # 
Generic ActivatePipelineResponse Source # 
NFData ActivatePipelineResponse Source # 
type Rep ActivatePipelineResponse Source # 
type Rep ActivatePipelineResponse = D1 (MetaData "ActivatePipelineResponse" "Network.AWS.DataPipeline.ActivatePipeline" "amazonka-datapipeline-1.4.5-2XRiHlI7YUG6vzXDlJG8tH" True) (C1 (MetaCons "ActivatePipelineResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_aprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses