Class: Aws::IoT::Types::IotEventsAction

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

Overview

Note:

When making an API call, you may pass IotEventsAction data as a hash:

{
  input_name: "InputName", # required
  message_id: "MessageId",
  role_arn: "AwsArn", # required
}

Sends an input to an AWS IoT Events detector.

Instance Attribute Summary collapse

Instance Attribute Details

#input_nameString

The name of the AWS IoT Events input.

Returns:

  • (String)


5400
5401
5402
5403
5404
5405
# File 'lib/aws-sdk-iot/types.rb', line 5400

class IotEventsAction < Struct.new(
  :input_name,
  :message_id,
  :role_arn)
  include Aws::Structure
end

#message_idString

[Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector.

Returns:

  • (String)


5400
5401
5402
5403
5404
5405
# File 'lib/aws-sdk-iot/types.rb', line 5400

class IotEventsAction < Struct.new(
  :input_name,
  :message_id,
  :role_arn)
  include Aws::Structure
end

#role_arnString

The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. (“Action”:“iotevents:BatchPutMessage”).

Returns:

  • (String)


5400
5401
5402
5403
5404
5405
# File 'lib/aws-sdk-iot/types.rb', line 5400

class IotEventsAction < Struct.new(
  :input_name,
  :message_id,
  :role_arn)
  include Aws::Structure
end