@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 17 lines 482 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 { CreateUser } from "./CreateUser.ts";
5
6 export const CreateUserHttp = Layer.effect(
7 CreateUser,
8 makeMqBrokerHttpBinding<
9 Omit<mq.CreateUserRequest, "BrokerId">,
10 mq.CreateUserResponse,
11 mq.CreateUserError
12 >({
13 capability: "CreateUser",
14 operation: mq.createUser,
15 iamActions: ["mq:CreateUser"],
16 }),
17 );