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: "EphemeralInputName", # required
  payload: "data", # required
  timestamp: {
    time_in_millis: 1,
  },
}

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)


1249
1250
1251
1252
1253
1254
1255
1256
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1249

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)


1249
1250
1251
1252
1253
1254
1255
1256
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1249

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)


1249
1250
1251
1252
1253
1254
1255
1256
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1249

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

#timestampTypes::TimestampValue

The timestamp associated with the message.



1249
1250
1251
1252
1253
1254
1255
1256
# File 'gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/types.rb', line 1249

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