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

Class: Aws::IoTEventsData::Types::Message

Inherits:
Struct
  • Object
show all
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
  input_name: "InputName", # required
  payload: "data", # required
}

Information about a message.

Instance Attribute Summary collapse

Instance Attribute Details

#input_nameString

The name of the input into which the message payload is transformed.

Returns:

  • (String)

    The name of the input into which the message payload is transformed.

#message_idString

The ID to assign to the message. Within each batch sent, each "messageId" must be unique.

Returns:

  • (String)

    The ID to assign to the message.

#payloadString

The payload of the message. This can be a JSON string or a Base-64-encoded string representing binary data (in which case you must decode it).

Returns:

  • (String)

    The payload of the message.