import type * as acm from "@distilled.cloud/aws/acm"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Certificate } from "./Certificate.ts"; /** * The revoke request without the injected `CertificateArn`. */ export interface RevokeCertificateRequest extends Omit { } /** * Runtime binding for `acm:RevokeCertificate`. * * Bind this operation to a {@link Certificate} to get a callable that revokes * a previously exported public certificate — e.g. from a security-automation * function reacting to a leaked private key. Revocation is permanent. Provide * the implementation with `Effect.provide(AWS.ACM.RevokeCertificateHttp)`. * ### Revoking Certificates * **Example:** Revoke a Compromised Certificate * ```typescript * // init — bind the operation to the certificate * const revokeCertificate = yield* AWS.ACM.RevokeCertificate(certificate); * * // runtime * yield* revokeCertificate({ RevocationReason: "KEY_COMPROMISE" }); * ``` * * @binding */ export interface RevokeCertificate extends Binding.Service Effect.Effect<(request: RevokeCertificateRequest) => Effect.Effect>> { } export declare const RevokeCertificate: RevokeCertificate; //# sourceMappingURL=RevokeCertificate.d.ts.map