You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTAnalytics::Types::RunPipelineActivityRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTAnalytics::Types::RunPipelineActivityRequest
- Defined in:
- (unknown)
Overview
Note:
When passing RunPipelineActivityRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
pipeline_activity: { # 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",
},
},
payloads: ["data"], # required
}
Instance Attribute Summary collapse
-
#payloads ⇒ Array<String>
The sample message payloads on which the pipeline activity is run.
-
#pipeline_activity ⇒ Types::PipelineActivity
The pipeline activity that is run.
Instance Attribute Details
#payloads ⇒ Array<String>
The sample message payloads on which the pipeline activity is run.
#pipeline_activity ⇒ Types::PipelineActivity
The pipeline activity that is run. This must not be a channel activity or a datastore activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.