Skip to main content

pipelines

Creates, updates, deletes or gets a pipeline resource or lists pipelines in a region

Overview

Namepipelines
TypeResource
DescriptionResource Type definition for AWS::IoTAnalytics::Pipeline
Idaws.iotanalytics.pipelines

Fields

NameDatatypeDescription
idstring
pipeline_namestring
tagsarray
pipeline_activitiesarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTPipelineActivities, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all pipelines in a region.

SELECT
region,
id,
pipeline_name,
tags,
pipeline_activities
FROM aws.iotanalytics.pipelines
WHERE region = 'us-east-1';

Gets all properties from an individual pipeline.

SELECT
region,
id,
pipeline_name,
tags,
pipeline_activities
FROM aws.iotanalytics.pipelines
WHERE region = 'us-east-1' AND data__Identifier = '<PipelineName>';

INSERT example

Use the following StackQL query and manifest file to create a new pipeline resource, using stack-deploy.

/*+ create */
INSERT INTO aws.iotanalytics.pipelines (
PipelineActivities,
region
)
SELECT
'{{ PipelineActivities }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.iotanalytics.pipelines
WHERE data__Identifier = '<PipelineName>'
AND region = 'us-east-1';

Permissions

To operate on the pipelines resource, the following permissions are required:

Create

iotanalytics:CreatePipeline

Read

iotanalytics:DescribePipeline,
iotanalytics:ListTagsForResource

Update

iotanalytics:UpdatePipeline,
iotanalytics:TagResource,
iotanalytics:UntagResource

Delete

iotanalytics:DeletePipeline

List

iotanalytics:ListPipelines