aws.location.get_device_position_history
Example SQL Queries
SELECT * FROMaws.location.get_device_position_historyWHERE"tracker_name" = 'VALUE'AND "device_id" = 'VALUE';Description
Retrieves the device position history from a tracker resource within a specified range of time.
Device positions are deleted after 30 days.
Table Definition
| Column Name | Column Data Type |
|---|---|
| device_id Required Input Column The device whose position you retrieved. | VARCHAR |
| tracker_name Required Input Column The tracker resource receiving the request for the device position history. | VARCHAR |
| end_time_exclusive Input Column 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:
| TIMESTAMP_S |
| start_time_inclusive Input Column 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:
| TIMESTAMP_S |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| accuracy The accuracy of the device position. | STRUCT( |
Show child fields
| |
| position The last known device position. | DOUBLE[] |
Show child fields
| |
| position_properties The properties associated with the position. | MAP(VARCHAR, VARCHAR) |
| received_time The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. | TIMESTAMP_S |
| sample_time The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. | TIMESTAMP_S |