Class: Aws::IoTEvents::Types::IotEventsAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotevents/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

Instance Attribute Details

#input_nameString

The name of the AWS IoT Events input where the data is sent.

Returns:

  • (String)


2346
2347
2348
2349
2350
2351
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2346

class IotEventsAction < Struct.new(
  :input_name,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end

#payloadTypes::Payload

You can configure the action payload when you send a message to an AWS IoT Events input.

Returns:



2346
2347
2348
2349
2350
2351
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2346

class IotEventsAction < Struct.new(
  :input_name,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end