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

main
ts 13 lines 448 Bytes
Raw
1 import * as acm from "@distilled.cloud/aws/acm";
2 import * as Layer from "effect/Layer";
3 import { makeAcmCertificateHttpBinding } from "./BindingHttp.ts";
4 import { RevokeCertificate } from "./RevokeCertificate.ts";
5
6 export const RevokeCertificateHttp = Layer.effect(
7 RevokeCertificate,
8 makeAcmCertificateHttpBinding({
9 capability: "RevokeCertificate",
10 iamActions: ["acm:RevokeCertificate"],
11 operation: acm.revokeCertificate,
12 }),
13 );