Class: Aws::IoTAnalytics::Types::Message

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

Overview

Note:

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

{
  message_id: "MessageId", # required
  payload: "data", # required
}

Information about a message.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#message_idString

The ID you wish to assign to the message. Each "messageId" must be unique within each batch sent.

Returns:

  • (String)


2526
2527
2528
2529
2530
2531
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 2526

class Message < Struct.new(
  :message_id,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end

#payloadString

The payload of the message. This may 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).

Returns:

  • (String)


2526
2527
2528
2529
2530
2531
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 2526

class Message < Struct.new(
  :message_id,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end