| 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 { GetPlace } from "./GetPlace.ts"; |
| 5 | |
| 6 | export const GetPlaceHttp = Layer.effect( |
| 7 | GetPlace, |
| 8 | makeGeoPlacesHttpBinding({ |
| 9 | capability: "GetPlace", |
| 10 | iamActions: ["geo-places:GetPlace"], |
| 11 | operation: geoPlaces.getPlace, |
| 12 | }), |
| 13 | ); |