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