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.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 Source #

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 Source #

Contains the parameters for PutPipelineDefinition.

See: putPipelineDefinition smart constructor.

Instances

Eq PutPipelineDefinition Source # 
Data PutPipelineDefinition Source # 

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

Methods

rnf :: PutPipelineDefinition -> () #

AWSRequest PutPipelineDefinition Source # 
ToHeaders PutPipelineDefinition Source # 
ToPath PutPipelineDefinition Source # 
ToQuery PutPipelineDefinition Source # 
type Rep PutPipelineDefinition Source # 
type Rep PutPipelineDefinition = D1 * (MetaData "PutPipelineDefinition" "Network.AWS.DataPipeline.PutPipelineDefinition" "amazonka-datapipeline-1.6.0-kGxEPwUUMy5Qs3ShWYQqJ" 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 Source # 

Request Lenses

ppdParameterObjects :: Lens' PutPipelineDefinition [ParameterObject] Source #

The parameter objects used with the pipeline.

ppdParameterValues :: Lens' PutPipelineDefinition [ParameterValue] Source #

The parameter values used with the pipeline.

ppdPipelineObjects :: Lens' PutPipelineDefinition [PipelineObject] Source #

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

Destructuring the Response

putPipelineDefinitionResponse Source #

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 Source #

Contains the output of PutPipelineDefinition.

See: putPipelineDefinitionResponse smart constructor.

Instances

Eq PutPipelineDefinitionResponse Source # 
Data PutPipelineDefinitionResponse Source # 

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 Source # 
Show PutPipelineDefinitionResponse Source # 
Generic PutPipelineDefinitionResponse Source # 
NFData PutPipelineDefinitionResponse Source # 
type Rep PutPipelineDefinitionResponse Source # 
type Rep PutPipelineDefinitionResponse = D1 * (MetaData "PutPipelineDefinitionResponse" "Network.AWS.DataPipeline.PutPipelineDefinition" "amazonka-datapipeline-1.6.0-kGxEPwUUMy5Qs3ShWYQqJ" 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 DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_ppdrsErrored") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Bool)))))

Response Lenses

ppdrsValidationErrors :: Lens' PutPipelineDefinitionResponse [ValidationError] Source #

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

ppdrsValidationWarnings :: Lens' PutPipelineDefinitionResponse [ValidationWarning] Source #

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

ppdrsErrored :: Lens' PutPipelineDefinitionResponse Bool Source #

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.