PutGeofence
Source:
src/AWS/Location/PutGeofence.ts
Stores (creates or replaces) a single geofence geometry in the collection.
Runtime binding for the PutGeofence operation (IAM action
geo:PutGeofence), scoped to one GeofenceCollection. Provide the implementation with
Effect.provide(AWS.Location.PutGeofenceHttp).
Managing Geofences
Section titled “Managing Geofences”const putGeofence = yield* Location.PutGeofence(collection);
yield* putGeofence({ GeofenceId: "warehouse", Geometry: { Circle: { Center: [-122.3493, 47.6205], Radius: 100 } },});