Safe Haskell | None |
---|---|
Language | Haskell2010 |
Adds tasks, schedules, and preconditions that control the behavior of the 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
A list of parameter objects used with the pipeline.
ppdParameterValues :: Lens' PutPipelineDefinition [ParameterValue] Source
A list of parameter values used with the pipeline.
ppdPipelineId :: Lens' PutPipelineDefinition Text Source
The identifier of the pipeline to be configured.
ppdPipelineObjects :: Lens' PutPipelineDefinition [PipelineObject] Source
The objects that define the pipeline. These will 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
If True
, there were validation errors. If errored is True
, 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
A list of the validation errors that are associated with the objects defined
in pipelineObjects
.
ppdrValidationWarnings :: Lens' PutPipelineDefinitionResponse [ValidationWarning] Source
A list of the validation warnings that are associated with the objects
defined in pipelineObjects
.