The best way to control Claude Code, Codex and more from any computer or phone

main
ts 14 lines 496 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 { DeleteMessageBatch } from "./DeleteMessageBatch.ts";
5
6 export const DeleteMessageBatchHttp = Layer.effect(
7 DeleteMessageBatch,
8 makeQueueUrlHttpBinding({
9 tag: "AWS.SQS.DeleteMessageBatch",
10 operation: sqs.deleteMessageBatch,
11 // Batch entries are authorized by the singular action.
12 actions: ["sqs:DeleteMessage"],
13 }),
14 );