| 1 | import * as location from "@distilled.cloud/aws/location"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeLocationCollectionHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { PutGeofence } from "./PutGeofence.ts"; |
| 5 | |
| 6 | export const PutGeofenceHttp = Layer.effect( |
| 7 | PutGeofence, |
| 8 | makeLocationCollectionHttpBinding({ |
| 9 | tag: "AWS.Location.PutGeofence", |
| 10 | operation: location.putGeofence, |
| 11 | actions: ["geo:PutGeofence"], |
| 12 | }), |
| 13 | ); |