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