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

main
ts 13 lines 360 Bytes
Raw
1 import * as kms from "@distilled.cloud/aws/kms";
2 import * as Layer from "effect/Layer";
3 import { makeKmsKeyHttpBinding } from "./BindingHttp.ts";
4 import { Decrypt } from "./Decrypt.ts";
5
6 export const DecryptHttp = Layer.effect(
7 Decrypt,
8 makeKmsKeyHttpBinding({
9 tag: "AWS.KMS.Decrypt",
10 operation: kms.decrypt,
11 actions: ["kms:Decrypt"],
12 }),
13 );