Module Values.GetRetainedMessageResponseSource

The output from the GetRetainedMessage operation.

Sourcetype nonrec t = {
  1. topic : Topic.t option;
    (*

    The topic name to which the retained message was published.

    *)
  2. payload : Payload.t option;
    (*

    The Base64-encoded message payload of the retained message body.

    *)
  3. qos : Qos.t option;
    (*

    The quality of service (QoS) level used to publish the retained message.

    *)
  4. lastModifiedTime : Timestamp.t option;
    (*

    The Epoch date and time, in milliseconds, when the retained message was stored by IoT.

    *)
  5. userProperties : UserPropertiesBlob.t option;
    (*

    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"}]

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of InternalFailureException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `MethodNotAllowedException of MethodNotAllowedException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceUnavailableException of ServiceUnavailableException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `UnauthorizedException of UnauthorizedException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?topic:??? -> ?payload:??? -> ?qos:??? -> ?lastModifiedTime:??? -> ?userProperties:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `MethodNotAllowedException of MethodNotAllowedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `MethodNotAllowedException of MethodNotAllowedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Payload.t | `Integer of Qos.t | `Long of Timestamp.t | `String of Topic.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t