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