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

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

Overview

Note:

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

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

Information about a message.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#input_nameString

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

Returns:

  • (String)


442
443
444
445
446
447
448
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 442

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

#message_idString

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

Returns:

  • (String)


442
443
444
445
446
447
448
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 442

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

#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)


442
443
444
445
446
447
448
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 442

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