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