Values.GetDevicePositionHistoryRequestSourceRetrieves the device position history from a tracker resource within a specified range of time. Device positions are deleted after 30 days.
type nonrec t = {trackerName : ResourceName.t;The tracker resource receiving the request for the device position history.
*)deviceId : Id.t;The device whose position history you want to retrieve.
*)nextToken : Token.t option;The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page. Default value: null
*)startTimeInclusive : Timestamp.t option;Specify the start time for the position history in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be 24 hours prior to the time that the request is made. Requirement: The time specified for StartTimeInclusive must be before EndTimeExclusive.
*)endTimeExclusive : Timestamp.t option;Specify the end time for the position history in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the time that the request is made. Requirement: The time specified for EndTimeExclusive must be after the time for StartTimeInclusive.
*)maxResults : GetDevicePositionHistoryRequestMaxResultsInteger.t option;An optional limit for the number of device positions returned in a single call. Default value: 100
*)}val make :
?nextToken:??? ->
?startTimeInclusive:??? ->
?endTimeExclusive:??? ->
?maxResults:??? ->
trackerName:ResourceName.t ->
deviceId:Id.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of GetDevicePositionHistoryRequestMaxResultsInteger.t
| `String of ResourceName.t
| `Timestamp of Timestamp.t ])
list ]