sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ EMRServerless/ StartJobRunHttp.ts

import * as emr from "@distilled.cloud/aws/emr-serverless";
import * as Layer from "effect/Layer";
import { makeEmrServerlessHttpBinding } from "./BindingHttp.ts";
import { StartJobRun } from "./StartJobRun.ts";

export const StartJobRunHttp = Layer.effect(
  StartJobRun,
  makeEmrServerlessHttpBinding({
    tag: "AWS.EMRServerless.StartJobRun",
    operation: emr.startJobRun,
    actions: ["emr-serverless:StartJobRun"],
    passRole: true,
  }),
);