import * as Effect from "effect/Effect"; import type { ResolverEndpoint } from "./ResolverEndpoint.ts"; import type { ResolverRule } from "./ResolverRule.ts"; /** * Shared scaffolding for AWS Route 53 Resolver HTTP bindings. * * NOT exported from `index.ts` — every `{Op}Http.ts` in this service is a * thin `Layer.effect(Cap, make…HttpBinding({ … }))` over one of the two * builders below. Everything except the operation and the IAM action is * boilerplate: * * - {@link makeRoute53ResolverEndpointHttpBinding} — operations scoped to one * bound {@link ResolverEndpoint}. The runtime callable injects the * endpoint's ID as the request's `ResolverEndpointId`; the deploy-time half * grants `actions` on the endpoint ARN. * - {@link makeRoute53ResolverRuleHttpBinding} — operations scoped to one * bound {@link ResolverRule}; injects `ResolverRuleId` and grants `actions` * on the rule ARN. */ /** * Build the impl Effect for an operation scoped to a single bound * {@link ResolverEndpoint}. The runtime callable injects the endpoint's ID as * the request's `ResolverEndpointId`; the deploy-time half grants `actions` * on the endpoint ARN. */ export declare const makeRoute53ResolverEndpointHttpBinding: (options: { /** Fully-qualified binding tag, e.g. `AWS.Route53Resolver.GetResolverEndpoint`. */ tag: string; /** The distilled operation; `ResolverEndpointId` is injected from the resource. */ operation: Effect.Effect<(input: I) => Effect.Effect, never, R>; /** IAM actions granted on the resolver endpoint ARN. */ actions: readonly string[]; }) => Effect.Effect<(endpoint: ResolverEndpoint) => Effect.Effect<(request?: Omit | undefined) => Effect.Effect, never, never>, never, R>; /** * Build the impl Effect for an operation scoped to a single bound * {@link ResolverRule}. The runtime callable injects the rule's ID as the * request's `ResolverRuleId`; the deploy-time half grants `actions` on the * rule ARN. */ export declare const makeRoute53ResolverRuleHttpBinding: (options: { /** Fully-qualified binding tag, e.g. `AWS.Route53Resolver.GetResolverRule`. */ tag: string; /** The distilled operation; `ResolverRuleId` is injected from the resource. */ operation: Effect.Effect<(input: I) => Effect.Effect, never, R>; /** IAM actions granted on the resolver rule ARN. */ actions: readonly string[]; }) => Effect.Effect<(rule: ResolverRule) => Effect.Effect<(request?: Omit | undefined) => Effect.Effect, never, never>, never, R>; //# sourceMappingURL=BindingHttp.d.ts.map