Skip to content

BatchDeleteDevicePositionHistory

Source: src/AWS/Location/BatchDeleteDevicePositionHistory.ts

Deletes the complete position history of up to 100 devices from the tracker.

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

const deleteHistory = yield* Location.BatchDeleteDevicePositionHistory(tracker);
yield* deleteHistory({ DeviceIds: ["vehicle-1"] });