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