| 1 | import * as sqs from "@distilled.cloud/aws/sqs"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeQueueUrlHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ChangeMessageVisibilityBatch } from "./ChangeMessageVisibilityBatch.ts"; |
| 5 | |
| 6 | export 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 | ); |