You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing IotEventsAction as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#input_nameString

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

Returns:

  • (String)

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

#payloadTypes::Payload

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

Returns:

  • (Types::Payload)

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