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