GetRetainedMessageResponse
¶
Source code in docs_src/capo_iot_data_plane/types/get_retained_message_response.py
last_modified_time
instance-attribute
¶
last_modified_time: Timestamp
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
payload
instance-attribute
¶
payload: NotRequired[Payload]
The Base64-encoded message payload of the retained message body.
qos
instance-attribute
¶
qos: Qos
The quality of service (QoS) level used to publish the retained message.
topic
instance-attribute
¶
topic: NotRequired[Topic]
The topic name to which the retained message was published.
user_properties
instance-attribute
¶
user_properties: NotRequired[UserPropertiesBlob]
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:
[{"deviceName": "alpha"}, {"deviceCnt": "45"}]