The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import * as Layer from "effect/Layer"; |
| 2 | import { makeOpenSearchDataPlaneBinding, makeReadDomainClient } from "./DataPlaneHttp.ts"; |
| 3 | import { DomainRead } from "./DomainRead.ts"; |
| 4 | |
| 5 | export const DomainReadHttp = Layer.effect( |
| 6 | DomainRead, |
| 7 | makeOpenSearchDataPlaneBinding({ |
| 8 | name: "DomainRead", |
| 9 | iamActions: ["es:ESHttpGet", "es:ESHttpHead"], |
| 10 | makeClient: makeReadDomainClient, |
| 11 | }), |
| 12 | ); |