amazonka-datapipeline-1.2.0.2: Amazon Data Pipeline SDK.

Copyright(c) 2013-2015 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.

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

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

See: AWS API Reference for PutPipelineDefinition.

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:

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:

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.