The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 443 Bytes
Raw
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 { ReverseGeocode } from "./ReverseGeocode.ts";
5
6 export const ReverseGeocodeHttp = Layer.effect(
7 ReverseGeocode,
8 makeGeoPlacesHttpBinding({
9 capability: "ReverseGeocode",
10 iamActions: ["geo-places:ReverseGeocode"],
11 operation: geoPlaces.reverseGeocode,
12 }),
13 );