| 1 | import * as geoPlaces from "@distilled.cloud/aws/geo-places"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeGeoPlacesHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { SearchNearby } from "./SearchNearby.ts"; |
| 5 | |
| 6 | export const SearchNearbyHttp = Layer.effect( |
| 7 | SearchNearby, |
| 8 | makeGeoPlacesHttpBinding({ |
| 9 | capability: "SearchNearby", |
| 10 | iamActions: ["geo-places:SearchNearby"], |
| 11 | operation: geoPlaces.searchNearby, |
| 12 | }), |
| 13 | ); |