1import * as sesv2 from "@distilled.cloud/aws/sesv2";
2import * as Layer from "effect/Layer";
3import { makeSendScopedHttpBinding } from "./BindingHttp.ts";
4import { SendBulkEmail } from "./SendBulkEmail.ts";
5
6export const SendBulkEmailHttp = Layer.effect(
7 SendBulkEmail,
8 makeSendScopedHttpBinding({
9 tag: "AWS.SES.SendBulkEmail",
10 operation: sesv2.sendBulkEmail,
11 actions: [
12 "ses:SendEmail",
13 "ses:SendBulkEmail",
14 "ses:SendTemplatedEmail",
15 "ses:SendBulkTemplatedEmail",
16 ],
17 }),
18);