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