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