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