RetainedMessage

@JsonSerializable
data class RetainedMessage(val topic: TopicName, val lastModifiedTime: TimestampMillis, val qos: Int = 0, val payload: Base64Blob? = null, val userProperties: Base64Blob? = null)(source)

userProperties stays as the base64 JSON AWS sends. Decoding it here would turn a successful call into a parse failure if AWS ever shaped it differently.

Constructors

Link copied to clipboard
constructor(topic: TopicName, lastModifiedTime: TimestampMillis, qos: Int = 0, payload: Base64Blob? = null, userProperties: Base64Blob? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val qos: Int
Link copied to clipboard
Link copied to clipboard