You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTAnalytics::Types::BatchPutMessageRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTAnalytics::Types::BatchPutMessageRequest
- Defined in:
- (unknown)
Overview
When passing BatchPutMessageRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
channel_name: "ChannelName", # required
messages: [ # required
{
message_id: "MessageId", # required
payload: "data", # required
},
],
}
Instance Attribute Summary collapse
-
#channel_name ⇒ String
The name of the channel where the messages are sent.
-
#messages ⇒ Array<Types::Message>
The list of messages to be sent.
Instance Attribute Details
#channel_name ⇒ String
The name of the channel where the messages are sent.
#messages ⇒ Array<Types::Message>
The list of messages to be sent. Each message has the format: { \"messageId\": \"string\", \"payload\": \"string\"}.
The field names of message payloads (data) that you send to AWS IoT Analytics:
Must contain only alphanumeric characters and undescores (_). No other special characters are allowed.
Must begin with an alphabetic character or single underscore (_).
Cannot contain hyphens (-).
In regular expression terms: \"^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$\".
Cannot be more than 255 characters.
Are case insensitive. (Fields named foo and FOO in the same payload are considered duplicates.)
For example, 29 or 29 are valid, but 29, 29 or 29 are invalid in message payloads.