sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ EMRServerless/ StartSessionHttp.ts
import * as emr from "@distilled.cloud/aws/emr-serverless";
import * as Layer from "effect/Layer";
import { makeEmrServerlessHttpBinding } from "./BindingHttp.ts";
import { StartSession } from "./StartSession.ts";
export const StartSessionHttp = Layer.effect(
StartSession,
makeEmrServerlessHttpBinding({
tag: "AWS.EMRServerless.StartSession",
operation: emr.startSession,
actions: ["emr-serverless:StartSession"],
passRole: true,
}),
);