Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_PutPipelineDefinition.html
- data PutPipelineDefinition
- putPipelineDefinition :: Text -> PutPipelineDefinition
- ppdParameterObjects :: Lens' PutPipelineDefinition [ParameterObject]
- ppdParameterValues :: Lens' PutPipelineDefinition [ParameterValue]
- ppdPipelineId :: Lens' PutPipelineDefinition Text
- ppdPipelineObjects :: Lens' PutPipelineDefinition [PipelineObject]
- data PutPipelineDefinitionResponse
- putPipelineDefinitionResponse :: Bool -> PutPipelineDefinitionResponse
- ppdrErrored :: Lens' PutPipelineDefinitionResponse Bool
- ppdrValidationErrors :: Lens' PutPipelineDefinitionResponse [ValidationError]
- ppdrValidationWarnings :: Lens' PutPipelineDefinitionResponse [ValidationWarning]
Request
data PutPipelineDefinition Source
Request constructor
PutPipelineDefinition
constructor.
The fields accessible through corresponding lenses are:
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.
ppdPipelineId :: Lens' PutPipelineDefinition Text Source
The ID of the pipeline.
ppdPipelineObjects :: Lens' PutPipelineDefinition [PipelineObject] Source
The objects that define the pipeline. These objects overwrite the existing pipeline definition.
Response
Response constructor
putPipelineDefinitionResponse Source
PutPipelineDefinitionResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
ppdrErrored :: 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.
ppdrValidationErrors :: Lens' PutPipelineDefinitionResponse [ValidationError] Source
The validation errors that are associated with the objects defined in pipelineObjects
.
ppdrValidationWarnings :: Lens' PutPipelineDefinitionResponse [ValidationWarning] Source
The validation warnings that are associated with the objects defined in pipelineObjects
.