import * as Effect from "effect/Effect"; /** * Shared HTTP scaffolding for the AWS Elemental MediaConvert runtime * bindings. * * MediaConvert jobs are created *at runtime* with server-assigned ids, so * their ARNs are unknowable at deploy time — every binding is account-level * and grants its action(s) on `Resource: ["*"]`. The only variation between * bindings is the distilled operation, the IAM action, and whether the * operation passes an S3-access role to the service (`CreateJob`, which * additionally needs `iam:PassRole` conditioned to * `mediaconvert.amazonaws.com`). * * NOT exported from `index.ts` — every thin `{Op}Http.ts` in this service is * a `Layer.effect(Cap, makeMediaConvertHttpBinding({ … }))`. */ export declare const makeMediaConvertHttpBinding: (options: { /** * Short capability name used in the binding sid and runtime span, e.g. * `"CreateJob"`. */ capability: string; /** * IAM actions granted on `Resource: ["*"]` (job ARNs are server-assigned * at runtime and unknowable at deploy time). */ iamActions: readonly string[]; /** * The distilled operation implementing the capability. */ operation: Effect.Effect<(input: I) => Effect.Effect, never, R>; /** * Grant `iam:PassRole` (conditioned to `mediaconvert.amazonaws.com`) so * the function can hand the service the role it assumes to read the input * from and write the output to S3. Set on `CreateJob`. */ passRole?: boolean; }) => Effect.Effect<() => Effect.Effect<(request?: I | undefined) => Effect.Effect, never, never>, never, R>; //# sourceMappingURL=BindingHttp.d.ts.map