1import * as sns from "@distilled.cloud/aws/sns";
2import * as Layer from "effect/Layer";
3import { makeSnsTopicHttpBinding } from "./BindingHttp.ts";
4import { PublishBatch } from "./PublishBatch.ts";
5
6export const PublishBatchHttp = Layer.effect(
7 PublishBatch,
8 makeSnsTopicHttpBinding({
9 tag: "AWS.SNS.PublishBatch",
10 operation: sns.publishBatch,
11 actions: ["sns:Publish"],
12 key: "TopicArn",
13 }),
14);