Adds tasks, schedules, and preconditions to the specified pipeline. You
can use PutPipelineDefinition
to populate a new pipeline.
datapipeline_put_pipeline_definition(pipelineId, pipelineObjects,
parameterObjects, parameterValues)
[required] The ID of the pipeline.
[required] The objects that define the pipeline. These objects overwrite the existing pipeline definition.
The parameter objects used with the pipeline.
The parameter values used with the pipeline.
svc$put_pipeline_definition( pipelineId = "string", pipelineObjects = list( list( id = "string", name = "string", fields = list( list( key = "string", stringValue = "string", refValue = "string" ) ) ) ), parameterObjects = list( list( id = "string", attributes = list( list( key = "string", stringValue = "string" ) ) ) ), parameterValues = list( list( id = "string", stringValue = "string" ) ) )
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.