Skip to content

BatchDeleteGeofence

Source: src/AWS/Location/BatchDeleteGeofence.ts

Deletes up to 10 geofences from the collection in one call.

Runtime binding for the BatchDeleteGeofence operation (IAM action geo:BatchDeleteGeofence), scoped to one GeofenceCollection. Provide the implementation with Effect.provide(AWS.Location.BatchDeleteGeofenceHttp).

const batchDelete = yield* Location.BatchDeleteGeofence(collection);
yield* batchDelete({ GeofenceIds: ["warehouse"] });