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

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

Overview

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)


1016
1017
1018
1019
1020
1021
1022
1023
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1016

class Message < Struct.new(
  :message_id,
  :input_name,
  :payload,
  :timestamp)
  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)


1016
1017
1018
1019
1020
1021
1022
1023
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1016

class Message < Struct.new(
  :message_id,
  :input_name,
  :payload,
  :timestamp)
  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)


1016
1017
1018
1019
1020
1021
1022
1023
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1016

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

#timestampTypes::TimestampValue

The timestamp associated with the message.



1016
1017
1018
1019
1020
1021
1022
1023
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1016

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