@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

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