Class: Aws::IoTDataPlane::Types::GetRetainedMessageResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTDataPlane::Types::GetRetainedMessageResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iotdataplane/types.rb
Overview
The output from the GetRetainedMessage operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#last_modified_time ⇒ Integer
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
-
#payload ⇒ String
The Base64-encoded message payload of the retained message body.
-
#qos ⇒ Integer
The quality of service (QoS) level used to publish the retained message.
-
#topic ⇒ String
The topic name to which the retained message was published.
-
#user_properties ⇒ String
A base64-encoded JSON string that includes an array of JSON objects, or null if the retained message doesn’t include any user properties.
Instance Attribute Details
#last_modified_time ⇒ Integer
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
98 99 100 101 102 103 104 105 106 |
# File 'lib/aws-sdk-iotdataplane/types.rb', line 98 class GetRetainedMessageResponse < Struct.new( :topic, :payload, :qos, :last_modified_time, :user_properties) SENSITIVE = [] include Aws::Structure end |
#payload ⇒ String
The Base64-encoded message payload of the retained message body.
98 99 100 101 102 103 104 105 106 |
# File 'lib/aws-sdk-iotdataplane/types.rb', line 98 class GetRetainedMessageResponse < Struct.new( :topic, :payload, :qos, :last_modified_time, :user_properties) SENSITIVE = [] include Aws::Structure end |
#qos ⇒ Integer
The quality of service (QoS) level used to publish the retained message.
98 99 100 101 102 103 104 105 106 |
# File 'lib/aws-sdk-iotdataplane/types.rb', line 98 class GetRetainedMessageResponse < Struct.new( :topic, :payload, :qos, :last_modified_time, :user_properties) SENSITIVE = [] include Aws::Structure end |
#topic ⇒ String
The topic name to which the retained message was published.
98 99 100 101 102 103 104 105 106 |
# File 'lib/aws-sdk-iotdataplane/types.rb', line 98 class GetRetainedMessageResponse < Struct.new( :topic, :payload, :qos, :last_modified_time, :user_properties) SENSITIVE = [] include Aws::Structure end |
#user_properties ⇒ String
A base64-encoded JSON string that includes an array of JSON objects, or null if the retained message doesn’t include any user properties.
The following example ‘userProperties` parameter is a JSON string that represents two user properties. Note that it will be base64-encoded:
‘[“alpha”, “45”]`
98 99 100 101 102 103 104 105 106 |
# File 'lib/aws-sdk-iotdataplane/types.rb', line 98 class GetRetainedMessageResponse < Struct.new( :topic, :payload, :qos, :last_modified_time, :user_properties) SENSITIVE = [] include Aws::Structure end |