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

Class: Aws::IoTEventsData::Types::BatchPutMessageRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb

Overview

Note:

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

{
  messages: [ # required
    {
      message_id: "MessageId", # required
      input_name: "InputName", # required
      payload: "data", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#messagesArray<Types::Message>

The list of messages to send. Each message has the following format: '\{ "messageId": "string", "inputName": "string", "payload": "string"\}'

Returns:



52
53
54
55
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 52

class BatchPutMessageRequest < Struct.new(
  :messages)
  include Aws::Structure
end