@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 453 Bytes
Raw
1 import * as mq from "@distilled.cloud/aws/mq";
2 import * as Layer from "effect/Layer";
3 import { makeMqBrokerHttpBinding } from "./BindingHttp.ts";
4 import { Promote } from "./Promote.ts";
5
6 export const PromoteHttp = Layer.effect(
7 Promote,
8 makeMqBrokerHttpBinding<Omit<mq.PromoteRequest, "BrokerId">, mq.PromoteResponse, mq.PromoteError>(
9 {
10 capability: "Promote",
11 operation: mq.promote,
12 iamActions: ["mq:Promote"],
13 },
14 ),
15 );