amazonka-datapipeline-1.6.0: Amazon Data Pipeline 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.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 # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Data ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.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 # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Show ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Generic ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Associated Types

type Rep ActivatePipeline :: * -> * #

Hashable ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

ToJSON ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

AWSRequest ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Associated Types

type Rs ActivatePipeline :: * #

ToHeaders ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

ToPath ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

ToQuery ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

NFData ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Methods

rnf :: ActivatePipeline -> () #

type Rep ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

type Rep ActivatePipeline = D1 (MetaData "ActivatePipeline" "Network.AWS.DataPipeline.ActivatePipeline" "amazonka-datapipeline-1.6.0-Fz1lwoHlHnB5SoOWTNqZgv" False) (C1 (MetaCons "ActivatePipeline'" PrefixI True) (S1 (MetaSel (Just "_apStartTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_apParameterValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ParameterValue])) :*: S1 (MetaSel (Just "_apPipelineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ActivatePipeline # 
Instance details

Defined in Network.AWS.DataPipeline.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 # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Data ActivatePipelineResponse # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

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 # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Show ActivatePipelineResponse # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Generic ActivatePipelineResponse # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Associated Types

type Rep ActivatePipelineResponse :: * -> * #

NFData ActivatePipelineResponse # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

type Rep ActivatePipelineResponse # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

type Rep ActivatePipelineResponse = D1 (MetaData "ActivatePipelineResponse" "Network.AWS.DataPipeline.ActivatePipeline" "amazonka-datapipeline-1.6.0-Fz1lwoHlHnB5SoOWTNqZgv" True) (C1 (MetaCons "ActivatePipelineResponse'" PrefixI True) (S1 (MetaSel (Just "_aprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

aprsResponseStatus :: Lens' ActivatePipelineResponse Int #

  • - | The response status code.