Class: Aws::IoT::Types::Action
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::Action
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Describes the actions associated with a rule.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cloudwatch_alarm ⇒ Types::CloudwatchAlarmAction
Change the state of a CloudWatch alarm.
-
#cloudwatch_logs ⇒ Types::CloudwatchLogsAction
Send data to CloudWatch Logs.
-
#cloudwatch_metric ⇒ Types::CloudwatchMetricAction
Capture a CloudWatch metric.
-
#dynamo_d_bv_2 ⇒ Types::DynamoDBv2Action
Write to a DynamoDB table.
-
#dynamo_db ⇒ Types::DynamoDBAction
Write to a DynamoDB table.
-
#elasticsearch ⇒ Types::ElasticsearchAction
Write data to an Amazon OpenSearch Service domain.
-
#firehose ⇒ Types::FirehoseAction
Write to an Amazon Kinesis Firehose stream.
-
#http ⇒ Types::HttpAction
Send data to an HTTPS endpoint.
-
#iot_analytics ⇒ Types::IotAnalyticsAction
Sends message data to an IoT Analytics channel.
-
#iot_events ⇒ Types::IotEventsAction
Sends an input to an IoT Events detector.
-
#iot_site_wise ⇒ Types::IotSiteWiseAction
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
-
#kafka ⇒ Types::KafkaAction
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
-
#kinesis ⇒ Types::KinesisAction
Write data to an Amazon Kinesis stream.
-
#lambda ⇒ Types::LambdaAction
Invoke a Lambda function.
-
#location ⇒ Types::LocationAction
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
-
#open_search ⇒ Types::OpenSearchAction
Write data to an Amazon OpenSearch Service domain.
-
#republish ⇒ Types::RepublishAction
Publish to another MQTT topic.
-
#s3 ⇒ Types::S3Action
Write to an Amazon S3 bucket.
-
#salesforce ⇒ Types::SalesforceAction
Send a message to a Salesforce IoT Cloud Input Stream.
-
#sns ⇒ Types::SnsAction
Publish to an Amazon SNS topic.
-
#sqs ⇒ Types::SqsAction
Publish to an Amazon SQS queue.
-
#step_functions ⇒ Types::StepFunctionsAction
Starts execution of a Step Functions state machine.
-
#timestream ⇒ Types::TimestreamAction
The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table.
Instance Attribute Details
#cloudwatch_alarm ⇒ Types::CloudwatchAlarmAction
Change the state of a CloudWatch alarm.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#cloudwatch_logs ⇒ Types::CloudwatchLogsAction
Send data to CloudWatch Logs.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#cloudwatch_metric ⇒ Types::CloudwatchMetricAction
Capture a CloudWatch metric.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#dynamo_d_bv_2 ⇒ Types::DynamoDBv2Action
Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#dynamo_db ⇒ Types::DynamoDBAction
Write to a DynamoDB table.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#elasticsearch ⇒ Types::ElasticsearchAction
Write data to an Amazon OpenSearch Service domain.
<note markdown=“1”> The ‘Elasticsearch` action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use the `OpenSearch` rule action instead. For more information, see [OpenSearchAction].
</note>
[1]: docs.aws.amazon.com/iot/latest/apireference/API_OpenSearchAction.html
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#firehose ⇒ Types::FirehoseAction
Write to an Amazon Kinesis Firehose stream.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#http ⇒ Types::HttpAction
Send data to an HTTPS endpoint.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#iot_analytics ⇒ Types::IotAnalyticsAction
Sends message data to an IoT Analytics channel.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#iot_events ⇒ Types::IotEventsAction
Sends an input to an IoT Events detector.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#iot_site_wise ⇒ Types::IotSiteWiseAction
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#kafka ⇒ Types::KafkaAction
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#kinesis ⇒ Types::KinesisAction
Write data to an Amazon Kinesis stream.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#lambda ⇒ Types::LambdaAction
Invoke a Lambda function.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#location ⇒ Types::LocationAction
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#open_search ⇒ Types::OpenSearchAction
Write data to an Amazon OpenSearch Service domain.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#republish ⇒ Types::RepublishAction
Publish to another MQTT topic.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#s3 ⇒ Types::S3Action
Write to an Amazon S3 bucket.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#salesforce ⇒ Types::SalesforceAction
Send a message to a Salesforce IoT Cloud Input Stream.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#sns ⇒ Types::SnsAction
Publish to an Amazon SNS topic.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#sqs ⇒ Types::SqsAction
Publish to an Amazon SQS queue.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#step_functions ⇒ Types::StepFunctionsAction
Starts execution of a Step Functions state machine.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |
#timestream ⇒ Types::TimestreamAction
The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table. For more information, see the [Timestream] topic rule action documentation.
[1]: docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/aws-sdk-iot/types.rb', line 191 class Action < Struct.new( :dynamo_db, :dynamo_d_bv_2, :lambda, :sns, :sqs, :kinesis, :republish, :s3, :firehose, :cloudwatch_metric, :cloudwatch_alarm, :cloudwatch_logs, :elasticsearch, :salesforce, :iot_analytics, :iot_events, :iot_site_wise, :step_functions, :timestream, :http, :kafka, :open_search, :location) SENSITIVE = [] include Aws::Structure end |