Find or Create Tracker and Report Position
A 4-step recipe with Amazon Location Service. We can help you get access.
Recipe · 4 steps
Find or Create Tracker and Report Position
Ensure a tracker exists and then report a device position to it.
- List the trackers in the account to detect whether the requested tracker already exists.
- Upload the device position to the already-existing tracker.
- Create the tracker because no existing tracker matched the requested name.
- Seed the newly created tracker with the supplied device position.
What you'll need to have ready
- TrackerName: The tracker resource name to find or create.
- PositionFiltering: Position filtering method applied only when creating the tracker.
- DeviceId: The identifier of the device whose position is being uploaded.
- Longitude: The longitude coordinate of the device position.
- Latitude: The latitude coordinate of the device position.
- SampleTime: ISO-8601 timestamp for when the position was sampled.
For your developer
Arazzo workflow amazon-location-service:find-or-create-tracker, 4 operations: ListTrackers → BatchUpdateDevicePosition → CreateTracker → BatchUpdateDevicePosition. Specs on APIs.io.