1import * as sqs from "@distilled.cloud/aws/sqs";
2import * as Layer from "effect/Layer";
3import { makeQueueUrlHttpBinding } from "./BindingHttp.ts";
4import { ChangeMessageVisibilityBatch } from "./ChangeMessageVisibilityBatch.ts";
5
6export const ChangeMessageVisibilityBatchHttp = Layer.effect(
7 ChangeMessageVisibilityBatch,
8 makeQueueUrlHttpBinding({
9 tag: "AWS.SQS.ChangeMessageVisibilityBatch",
10 operation: sqs.changeMessageVisibilityBatch,
11 // Batch entries are authorized by the singular action.
12 actions: ["sqs:ChangeMessageVisibility"],
13 }),
14);