Module Values.GetDevicePositionHistoryRequestSource

Retrieves the device position history from a tracker resource within a specified range of time. Device positions are deleted after 30 days.

Sourcetype nonrec t = {
  1. trackerName : ResourceName.t;
    (*

    The tracker resource receiving the request for the device position history.

    *)
  2. deviceId : Id.t;
    (*

    The device whose position history you want to retrieve.

    *)
  3. 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

    *)
  4. 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.

    *)
  5. 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.

    *)
  6. maxResults : GetDevicePositionHistoryRequestMaxResultsInteger.t option;
    (*

    An optional limit for the number of device positions returned in a single call. Default value: 100

    *)
}
Sourceval context_ : string
Sourceval make : ?nextToken:??? -> ?startTimeInclusive:??? -> ?endTimeExclusive:??? -> ?maxResults:??? -> trackerName:ResourceName.t -> deviceId:Id.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of GetDevicePositionHistoryRequestMaxResultsInteger.t | `String of ResourceName.t | `Timestamp of Timestamp.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