You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTAnalytics::Types::CreatePipelineRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTAnalytics::Types::CreatePipelineRequest
- Defined in:
- (unknown)
Overview
When passing CreatePipelineRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
pipeline_name: "PipelineName", # required
pipeline_activities: [ # required
{
channel: {
name: "ActivityName", # required
channel_name: "ChannelName", # required
next: "ActivityName",
},
lambda: {
name: "ActivityName", # required
lambda_name: "LambdaName", # required
batch_size: 1, # required
next: "ActivityName",
},
datastore: {
name: "ActivityName", # required
datastore_name: "DatastoreName", # required
},
add_attributes: {
name: "ActivityName", # required
attributes: { # required
"AttributeName" => "AttributeName",
},
next: "ActivityName",
},
remove_attributes: {
name: "ActivityName", # required
attributes: ["AttributeName"], # required
next: "ActivityName",
},
select_attributes: {
name: "ActivityName", # required
attributes: ["AttributeName"], # required
next: "ActivityName",
},
filter: {
name: "ActivityName", # required
filter: "FilterExpression", # required
next: "ActivityName",
},
math: {
name: "ActivityName", # required
attribute: "AttributeName", # required
math: "MathExpression", # required
next: "ActivityName",
},
device_registry_enrich: {
name: "ActivityName", # required
attribute: "AttributeName", # required
thing_name: "AttributeName", # required
role_arn: "RoleArn", # required
next: "ActivityName",
},
device_shadow_enrich: {
name: "ActivityName", # required
attribute: "AttributeName", # required
thing_name: "AttributeName", # required
role_arn: "RoleArn", # required
next: "ActivityName",
},
},
],
tags: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Instance Attribute Summary collapse
-
#pipeline_activities ⇒ Array<Types::PipelineActivity>
A list of
PipelineActivity
objects. -
#pipeline_name ⇒ String
The name of the pipeline.
-
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage the pipeline.
Instance Attribute Details
#pipeline_activities ⇒ Array<Types::PipelineActivity>
A list of PipelineActivity
objects. Activities perform transformations
on your messages, such as removing, renaming or adding message
attributes; filtering messages based on attribute values; invoking your
Lambda functions on messages for advanced processing; or performing
mathematical transformations to normalize device data.
The list can be 2-25 PipelineActivity
objects and must contain both a
channel
and a datastore
activity. Each entry in the list must
contain only one activity. For example:
pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } },
... ]
#pipeline_name ⇒ String
The name of the pipeline.
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage the pipeline.