Module Values_0.TimestreamTimestampSource

Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.

Sourcetype nonrec t = {
  1. value : TimestreamTimestampValue.t;
    (*

    An expression that returns a long epoch time value.

    *)
  2. unit : TimestreamTimestampUnit.t;
    (*

    The precision of the timestamp value that results from the expression described in value. Valid values: SECONDS | MILLISECONDS | MICROSECONDS | NANOSECONDS. The default is MILLISECONDS.

    *)
}
Sourceval context_ : string
Sourceval to_value : t -> [> `Structure of (string * [> `String of TimestreamTimestampValue.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