Skip to content

ListGeofences

Source: src/AWS/Location/ListGeofences.ts

Lists the geofences stored in the collection.

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

const listGeofences = yield* Location.ListGeofences(collection);
const page = yield* listGeofences();
// page.Entries → [{ GeofenceId, Geometry, Status }, …]