@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

main
ts 15 lines 575 Bytes
Raw
1 import * as schemas from "@distilled.cloud/aws/schemas";
2 import * as Layer from "effect/Layer";
3 import { makeSchemasDiscovererHttpBinding } from "./BindingHttp.ts";
4 import { StartDiscoverer } from "./StartDiscoverer.ts";
5
6 export const StartDiscovererHttp = Layer.effect(
7 StartDiscoverer,
8 makeSchemasDiscovererHttpBinding({
9 tag: "AWS.Schemas.StartDiscoverer",
10 operation: schemas.startDiscoverer,
11 actions: ["schemas:StartDiscoverer"],
12 // StartDiscoverer re-enables the discoverer's managed EventBridge rule.
13 ruleActions: ["events:EnableRule"],
14 }),
15 );