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

main
ts 13 lines 388 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 { GenerateMac } from "./GenerateMac.ts";
5
6 export const GenerateMacHttp = Layer.effect(
7 GenerateMac,
8 makeKmsKeyHttpBinding({
9 tag: "AWS.KMS.GenerateMac",
10 operation: kms.generateMac,
11 actions: ["kms:GenerateMac"],
12 }),
13 );