You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTAnalytics::Types::Message
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTAnalytics::Types::Message
- Defined in:
- (unknown)
Overview
Note:
When passing Message as input to an Aws::Client method, you can use a vanilla Hash:
{
message_id: "MessageId", # required
payload: "data", # required
}
Information about a message.
Instance Attribute Summary collapse
-
#message_id ⇒ String
The ID you want to assign to the message.
-
#payload ⇒ String
The payload of the message.
Instance Attribute Details
#message_id ⇒ String
The ID you want to assign to the message. Each messageId
must be
unique within each batch sent.
#payload ⇒ String
The payload of the message. This can be a JSON string or a base64-encoded string representing binary data, in which case you must decode it by means of a pipeline activity.