Skip to content
TypeScript
454 B
Raw Blame
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,
  }),
);