@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 14 lines 482 Bytes
Raw
1 import * as sqs from "@distilled.cloud/aws/sqs";
2 import * as Layer from "effect/Layer";
3 import { makeQueueUrlHttpBinding } from "./BindingHttp.ts";
4 import { SendMessageBatch } from "./SendMessageBatch.ts";
5
6 export const SendMessageBatchHttp = Layer.effect(
7 SendMessageBatch,
8 makeQueueUrlHttpBinding({
9 tag: "AWS.SQS.SendMessageBatch",
10 operation: sqs.sendMessageBatch,
11 // Batch entries are authorized by the singular action.
12 actions: ["sqs:SendMessage"],
13 }),
14 );