Skip to main content

pipeline_definitions

Creates, updates, deletes, gets or lists a pipeline_definitions resource.

Overview

Namepipeline_definitions
TypeResource
Idaws.datapipeline.pipeline_definitions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
parameter_objectsarrayThe parameter objects used in the pipeline definition.
parameter_valuesarrayThe parameter values used in the pipeline definition.
pipeline_objectsarrayThe objects defined in the pipeline.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_pipeline_definitionselectregionGets the definition of the specified pipeline. You can call GetPipelineDefinition to retrieve the pipeline definition that you provided using PutPipelineDefinition.
put_pipeline_definitionreplaceregion, pipelineId, pipelineObjectsAdds 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the definition of the specified pipeline. You can call GetPipelineDefinition to retrieve the pipeline definition that you provided using PutPipelineDefinition.

SELECT
parameter_objects,
parameter_values,
pipeline_objects
FROM aws.datapipeline.pipeline_definitions
WHERE region = '{{ region }}' -- required
;

REPLACE examples

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.

REPLACE aws.datapipeline.pipeline_definitions
SET
pipelineId = '{{ pipelineId }}',
pipelineObjects = '{{ pipelineObjects }}',
parameterObjects = '{{ parameterObjects }}',
parameterValues = '{{ parameterValues }}'
WHERE
region = '{{ region }}' --required
AND pipelineId = '{{ pipelineId }}' --required
AND pipelineObjects = '{{ pipelineObjects }}' --required
RETURNING
errored,
validation_errors,
validation_warnings;