1import * as emr from "@distilled.cloud/aws/emr-serverless";
2import * as Layer from "effect/Layer";
3import { makeEmrServerlessHttpBinding } from "./BindingHttp.ts";
4import { StartSession } from "./StartSession.ts";
5
6export const StartSessionHttp = Layer.effect(
7 StartSession,
8 makeEmrServerlessHttpBinding({
9 tag: "AWS.EMRServerless.StartSession",
10 operation: emr.startSession,
11 actions: ["emr-serverless:StartSession"],
12 passRole: true,
13 }),
14);