import * as Effect from "effect/Effect"; import type { CertificateAuthority } from "./CertificateAuthority.ts"; /** * Options for {@link makeACMPCAHttpBinding}. * * @internal shared HTTP scaffolding for the ACM PCA capability bindings — * not exported from the service index. */ export interface ACMPCAHttpBindingOptions { /** * The ACM PCA action name, e.g. `"IssueCertificate"`. Used verbatim for * the IAM action (`acm-pca:{action}`), the bind label, and the tracing * span name. */ action: string; /** * The distilled ACM PCA operation. Every ACM PCA data-plane operation is * keyed by `CertificateAuthorityArn`, which the binding injects from the * bound {@link CertificateAuthority}. */ operation: Effect.Effect<(request: Req) => Effect.Effect, never, R>; } /** * Build the implementation Effect for an ACM PCA HTTP capability binding. * * Every ACM PCA capability has the same shape — resolve the CA's ARN, * register an IAM policy statement for `acm-pca:{action}` scoped to that * CA at deploy time, and return a runtime callable that injects * `CertificateAuthorityArn` into the operation's request. Only the * operation and the action name differ, so each `{Op}Http.ts` is a thin * `Layer.effect(Cap, makeACMPCAHttpBinding({ ... }))`. * * @internal */ export declare const makeACMPCAHttpBinding: (options: ACMPCAHttpBindingOptions) => Effect.Effect<(certificateAuthority: CertificateAuthority) => Effect.Effect<(request?: Omit | undefined) => Effect.Effect, never, never>, never, R>; //# sourceMappingURL=BindingHttp.d.ts.map