sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ ACM/ RenewCertificateHttp.ts

import * as acm from "@distilled.cloud/aws/acm";
import * as Layer from "effect/Layer";
import { makeAcmCertificateHttpBinding } from "./BindingHttp.ts";
import { RenewCertificate } from "./RenewCertificate.ts";

export const RenewCertificateHttp = Layer.effect(
  RenewCertificate,
  makeAcmCertificateHttpBinding({
    capability: "RenewCertificate",
    iamActions: ["acm:RenewCertificate"],
    operation: acm.renewCertificate,
  }),
);