Class: Aws::IoTEvents::Types::IotEventsAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTEvents::Types::IotEventsAction
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iotevents/types.rb
Overview
Note:
When making an API call, you may pass IotEventsAction data as a hash:
{
input_name: "InputName", # required
payload: {
content_expression: "ContentExpression", # required
type: "STRING", # required, accepts STRING, JSON
},
}
Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#input_name ⇒ String
The name of the AWS IoT Events input where the data is sent.
-
#payload ⇒ Types::Payload
You can configure the action payload when you send a message to an AWS IoT Events input.
Instance Attribute Details
#input_name ⇒ String
The name of the AWS IoT Events input where the data is sent.
2608 2609 2610 2611 2612 2613 |
# File 'lib/aws-sdk-iotevents/types.rb', line 2608 class IotEventsAction < Struct.new( :input_name, :payload) SENSITIVE = [] include Aws::Structure end |
#payload ⇒ Types::Payload
You can configure the action payload when you send a message to an AWS IoT Events input.
2608 2609 2610 2611 2612 2613 |
# File 'lib/aws-sdk-iotevents/types.rb', line 2608 class IotEventsAction < Struct.new( :input_name, :payload) SENSITIVE = [] include Aws::Structure end |