Skip to content

ListDevicePositions

Source: src/AWS/Location/ListDevicePositions.ts

Lists the latest position of every device reported to the tracker, optionally filtered by a polygon.

Runtime binding for the ListDevicePositions operation (IAM action geo:ListDevicePositions), scoped to one Tracker. Provide the implementation with Effect.provide(AWS.Location.ListDevicePositionsHttp).

const listPositions = yield* Location.ListDevicePositions(tracker);
const page = yield* listPositions();
// page.Entries → [{ DeviceId, Position, SampleTime }, …]