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 schemas from "@distilled.cloud/aws/schemas"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeSchemasDiscovererHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { StopDiscoverer } from "./StopDiscoverer.ts"; |
| 5 | |
| 6 | export const StopDiscovererHttp = Layer.effect( |
| 7 | StopDiscoverer, |
| 8 | makeSchemasDiscovererHttpBinding({ |
| 9 | tag: "AWS.Schemas.StopDiscoverer", |
| 10 | operation: schemas.stopDiscoverer, |
| 11 | actions: ["schemas:StopDiscoverer"], |
| 12 | // StopDiscoverer disables the discoverer's managed EventBridge rule. |
| 13 | ruleActions: ["events:DisableRule"], |
| 14 | }), |
| 15 | ); |