amazonka-datapipeline-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Data ActivatePipeline Source # 
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 Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Show ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Generic ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Associated Types

type Rep ActivatePipeline :: Type -> Type #

Hashable ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

ToJSON ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

AWSRequest ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Associated Types

type Rs ActivatePipeline :: Type #

ToHeaders ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

ToPath ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

ToQuery ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

NFData ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Methods

rnf :: ActivatePipeline -> () #

type Rep ActivatePipeline Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

type Rep ActivatePipeline = D1 (MetaData "ActivatePipeline" "Network.AWS.DataPipeline.ActivatePipeline" "amazonka-datapipeline-1.6.1-3JyTLPZzwy0KRZE2VQaeKm" 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 Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

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

Defined in Network.AWS.DataPipeline.ActivatePipeline

Data ActivatePipelineResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Show ActivatePipelineResponse Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Generic ActivatePipelineResponse Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

Associated Types

type Rep ActivatePipelineResponse :: Type -> Type #

NFData ActivatePipelineResponse Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

type Rep ActivatePipelineResponse Source # 
Instance details

Defined in Network.AWS.DataPipeline.ActivatePipeline

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

Response Lenses