Class: Aws::IoTEvents::Types::Action

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotevents/types.rb

Overview

An action to be performed when the ‘condition` is TRUE.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#clear_timerTypes::ClearTimerAction

Information needed to clear the timer.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#dynamo_d_bv_2Types::DynamoDBv2Action

Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the [payload]. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see [Actions] in *AWS IoT Events Developer Guide*.

[1]: docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html [2]: docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#dynamo_dbTypes::DynamoDBAction

Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the [payload]. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see [Actions] in *AWS IoT Events Developer Guide*.

[1]: docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html [2]: docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#firehoseTypes::FirehoseAction

Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#iot_eventsTypes::IotEventsAction

Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#iot_site_wiseTypes::IotSiteWiseAction

Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#iot_topic_publishTypes::IotTopicPublishAction

Publishes an MQTT message with the given topic to the AWS IoT message broker.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#lambdaTypes::LambdaAction

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

Returns:



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#reset_timerTypes::ResetTimerAction

Information needed to reset the timer.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#set_timerTypes::SetTimerAction

Information needed to set the timer.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#set_variableTypes::SetVariableAction

Sets a variable to a specified value.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#snsTypes::SNSTopicPublishAction

Sends an Amazon SNS message.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end

#sqsTypes::SqsAction

Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.

Returns:



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/aws-sdk-iotevents/types.rb', line 113

class Action < Struct.new(
  :set_variable,
  :sns,
  :iot_topic_publish,
  :set_timer,
  :clear_timer,
  :reset_timer,
  :lambda,
  :iot_events,
  :sqs,
  :firehose,
  :dynamo_db,
  :dynamo_d_bv_2,
  :iot_site_wise)
  SENSITIVE = []
  include Aws::Structure
end