| 1 | import * as Layer from "effect/Layer"; |
| 2 | import { ConnectRead } from "./Connect.ts"; |
| 3 | import { |
| 4 | DAX_PROTOCOL_ACTIONS, |
| 5 | DAX_READ_ACTIONS, |
| 6 | makeDaxConnectHttpBinding, |
| 7 | } from "./ConnectHttp.ts"; |
| 8 | |
| 9 | export const ConnectReadHttp = Layer.effect( |
| 10 | ConnectRead, |
| 11 | makeDaxConnectHttpBinding({ |
| 12 | tag: "AWS.DAX.ConnectRead", |
| 13 | actions: [...DAX_PROTOCOL_ACTIONS, ...DAX_READ_ACTIONS], |
| 14 | }), |
| 15 | ); |