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.PutPipelineDefinition

Contents

Description

Adds tasks, schedules, and preconditions to the specified pipeline. You can use PutPipelineDefinition to populate a new pipeline.

PutPipelineDefinition also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one of the following three validation errors exists in the pipeline.

  • An object is missing a name or identifier field. * A string or reference field is empty. * The number of objects in the pipeline exceeds the maximum allowed objects. * The pipeline is in a FINISHED state.

Pipeline object definitions are passed to the PutPipelineDefinition action and returned by the GetPipelineDefinition action.

Synopsis

Creating a Request

putPipelineDefinition #

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

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

data PutPipelineDefinition #

Contains the parameters for PutPipelineDefinition.

See: putPipelineDefinition smart constructor.

Instances

Eq PutPipelineDefinition # 
Data PutPipelineDefinition # 

Methods

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

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

toConstr :: PutPipelineDefinition -> Constr #

dataTypeOf :: PutPipelineDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutPipelineDefinition # 
Show PutPipelineDefinition # 
Generic PutPipelineDefinition # 
Hashable PutPipelineDefinition # 
ToJSON PutPipelineDefinition # 
NFData PutPipelineDefinition # 

Methods

rnf :: PutPipelineDefinition -> () #

AWSRequest PutPipelineDefinition # 
ToQuery PutPipelineDefinition # 
ToPath PutPipelineDefinition # 
ToHeaders PutPipelineDefinition # 
type Rep PutPipelineDefinition # 
type Rep PutPipelineDefinition = D1 (MetaData "PutPipelineDefinition" "Network.AWS.DataPipeline.PutPipelineDefinition" "amazonka-datapipeline-1.4.5-BJaoECYz4XDHL06I8wcb9o" False) (C1 (MetaCons "PutPipelineDefinition'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ppdParameterObjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ParameterObject]))) (S1 (MetaSel (Just Symbol "_ppdParameterValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ParameterValue])))) ((:*:) (S1 (MetaSel (Just Symbol "_ppdPipelineId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ppdPipelineObjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [PipelineObject])))))
type Rs PutPipelineDefinition # 

Request Lenses

ppdParameterObjects :: Lens' PutPipelineDefinition [ParameterObject] #

The parameter objects used with the pipeline.

ppdParameterValues :: Lens' PutPipelineDefinition [ParameterValue] #

The parameter values used with the pipeline.

ppdPipelineId :: Lens' PutPipelineDefinition Text #

The ID of the pipeline.

ppdPipelineObjects :: Lens' PutPipelineDefinition [PipelineObject] #

The objects that define the pipeline. These objects overwrite the existing pipeline definition.

Destructuring the Response

putPipelineDefinitionResponse #

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

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

  • ppdrsValidationErrors - The validation errors that are associated with the objects defined in pipelineObjects .
  • ppdrsValidationWarnings - The validation warnings that are associated with the objects defined in pipelineObjects .
  • ppdrsResponseStatus - -- | The response status code.
  • ppdrsErrored - Indicates whether there were validation errors, and the pipeline definition is stored but cannot be activated until you correct the pipeline and call PutPipelineDefinition to commit the corrected pipeline.

data PutPipelineDefinitionResponse #

Contains the output of PutPipelineDefinition.

See: putPipelineDefinitionResponse smart constructor.

Instances

Eq PutPipelineDefinitionResponse # 
Data PutPipelineDefinitionResponse # 

Methods

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

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

toConstr :: PutPipelineDefinitionResponse -> Constr #

dataTypeOf :: PutPipelineDefinitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutPipelineDefinitionResponse # 
Show PutPipelineDefinitionResponse # 
Generic PutPipelineDefinitionResponse # 
NFData PutPipelineDefinitionResponse # 
type Rep PutPipelineDefinitionResponse # 
type Rep PutPipelineDefinitionResponse = D1 (MetaData "PutPipelineDefinitionResponse" "Network.AWS.DataPipeline.PutPipelineDefinition" "amazonka-datapipeline-1.4.5-BJaoECYz4XDHL06I8wcb9o" False) (C1 (MetaCons "PutPipelineDefinitionResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ppdrsValidationErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ValidationError]))) (S1 (MetaSel (Just Symbol "_ppdrsValidationWarnings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ValidationWarning])))) ((:*:) (S1 (MetaSel (Just Symbol "_ppdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ppdrsErrored") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))))

Response Lenses

ppdrsValidationErrors :: Lens' PutPipelineDefinitionResponse [ValidationError] #

The validation errors that are associated with the objects defined in pipelineObjects .

ppdrsValidationWarnings :: Lens' PutPipelineDefinitionResponse [ValidationWarning] #

The validation warnings that are associated with the objects defined in pipelineObjects .

ppdrsErrored :: Lens' PutPipelineDefinitionResponse Bool #

Indicates whether there were validation errors, and the pipeline definition is stored but cannot be activated until you correct the pipeline and call PutPipelineDefinition to commit the corrected pipeline.