class Aws::IoTAnalytics::Types::BatchPutMessageRequest

@note When making an API call, you may pass BatchPutMessageRequest

data as a hash:

    {
      channel_name: "ChannelName", # required
      messages: [ # required
        {
          message_id: "MessageId", # required
          payload: "data", # required
        },
      ],
    }

@!attribute [rw] channel_name

The name of the channel where the messages are sent.
@return [String]

@!attribute [rw] messages

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 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, \\\{"temp\_01": 29\\} or \\\{"\_temp\_01": 29\\}
are valid, but \\\{"temp-01": 29\\}, \\\{"01\_temp": 29\\} or
\\\{"\_\_temp\_01": 29\\} are invalid in message payloads.
@return [Array<Types::Message>]

Constants

SENSITIVE