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 #

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 #

Contains the parameters for ActivatePipeline.

See: activatePipeline smart constructor.

Instances

Eq ActivatePipeline # 
Data ActivatePipeline # 

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 # 
Show ActivatePipeline # 
Generic ActivatePipeline # 
Hashable ActivatePipeline # 
ToJSON ActivatePipeline # 
NFData ActivatePipeline # 

Methods

rnf :: ActivatePipeline -> () #

AWSRequest ActivatePipeline # 
ToQuery ActivatePipeline # 
ToPath ActivatePipeline # 
ToHeaders ActivatePipeline # 
type Rep ActivatePipeline # 
type Rep ActivatePipeline = D1 (MetaData "ActivatePipeline" "Network.AWS.DataPipeline.ActivatePipeline" "amazonka-datapipeline-1.4.5-BJaoECYz4XDHL06I8wcb9o" 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 # 

Request Lenses

apStartTimestamp :: Lens' ActivatePipeline (Maybe UTCTime) #

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

apParameterValues :: Lens' ActivatePipeline [ParameterValue] #

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

apPipelineId :: Lens' ActivatePipeline Text #

The ID of the pipeline.

Destructuring the Response

activatePipelineResponse #

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 #

Contains the output of ActivatePipeline.

See: activatePipelineResponse smart constructor.

Instances

Eq ActivatePipelineResponse # 
Data ActivatePipelineResponse # 

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 # 
Show ActivatePipelineResponse # 
Generic ActivatePipelineResponse # 
NFData ActivatePipelineResponse # 
type Rep ActivatePipelineResponse # 
type Rep ActivatePipelineResponse = D1 (MetaData "ActivatePipelineResponse" "Network.AWS.DataPipeline.ActivatePipeline" "amazonka-datapipeline-1.4.5-BJaoECYz4XDHL06I8wcb9o" True) (C1 (MetaCons "ActivatePipelineResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_aprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

aprsResponseStatus :: Lens' ActivatePipelineResponse Int #

  • - | The response status code.