Values.GetDevicePositionResponseSourceRetrieves a device's most recent position according to its sample time. Device positions are deleted after 30 days.
type nonrec t = {deviceId : Id.t option;The device whose position you retrieved.
*)sampleTime : Timestamp.t option;The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
*)receivedTime : Timestamp.t option;The timestamp for when the tracker resource received the device position. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
*)position : Position.t option;The last known device position.
*)accuracy : PositionalAccuracy.t option;The accuracy of the device position.
*)positionProperties : PositionPropertyMap.t option;The properties associated with the position.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of [> `Double of Double.t ] list
| `Map of
([> `String of PositionPropertyMapKeyString.t ]
* [> `String of PositionPropertyMapValueString.t ])
list
| `String of Id.t
| `Structure of
(string * [> `Double of PositionalAccuracyHorizontalDouble.t ])
list
| `Timestamp of Timestamp.t ])
list ]