import * as Effect from "effect/Effect"; import type { ServiceLevelObjective } from "./ServiceLevelObjective.ts"; /** * Shared scaffolding for Application Signals 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 builders * below. Everything except the operation, the IAM action list, and (for * SLO-scoped operations) the injected identifier is boilerplate. */ /** * Build the impl Effect for an account-level operation (the service * discovery, audit, and change-event read APIs). The deploy-time half * grants `actions` on `*` because the Application Signals discovery * actions do not support resource-level scoping. */ export declare const makeApplicationSignalsAccountHttpBinding: (options: { /** Fully-qualified binding tag, e.g. `AWS.ApplicationSignals.ListServices`. */ tag: string; /** The distilled operation, invoked with the caller's request as-is. */ operation: Effect.Effect<(input: I) => Effect.Effect, never, R>; /** IAM actions granted on `*`. */ actions: readonly string[]; }) => Effect.Effect<() => Effect.Effect<(request: I) => Effect.Effect, never, never>, never, R>; /** * Build the impl Effect for an SLO-scoped operation taking a single `Id` * (`GetServiceLevelObjective`, `ListServiceLevelObjectiveExclusionWindows`): * the runtime callable injects the bound SLO's ARN as `Id` and the * deploy-time half grants `actions` on the SLO ARN. */ export declare const makeSloIdHttpBinding: (options: { /** Fully-qualified binding tag. */ tag: string; /** The distilled operation; `Id` is injected from the SLO. */ operation: Effect.Effect<(input: I) => Effect.Effect, never, R>; /** IAM actions granted on the SLO ARN. */ actions: readonly string[]; }) => Effect.Effect<(slo: ServiceLevelObjective) => Effect.Effect<(request?: Omit | undefined) => Effect.Effect, never, never>, never, R>; /** * Build the impl Effect for a batch SLO operation taking `SloIds` * (`BatchGetServiceLevelObjectiveBudgetReport`, * `BatchUpdateExclusionWindows`), narrowed to the single bound SLO: the * runtime callable injects `SloIds: [sloArn]` and the deploy-time half * grants `actions` on the SLO ARN. */ export declare const makeSloBatchHttpBinding: (options: { /** Fully-qualified binding tag. */ tag: string; /** The distilled operation; `SloIds` is injected from the SLO. */ operation: Effect.Effect<(input: I) => Effect.Effect, never, R>; /** IAM actions granted on the SLO ARN. */ actions: readonly string[]; /** * Additional IAM actions granted on `*` — dependent permissions the * operation exercises with the caller's credentials (e.g. budget reports * read the SLI metric via `cloudwatch:GetMetricData`). */ accountActions?: readonly string[]; }) => Effect.Effect<(slo: ServiceLevelObjective) => Effect.Effect<(request: Omit) => Effect.Effect, never, never>, never, R>; //# sourceMappingURL=BindingHttp.d.ts.map