| 1 | import * as qapps from "@distilled.cloud/aws/qapps"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeQAppHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { StartQAppSession } from "./StartQAppSession.ts"; |
| 5 | |
| 6 | export const StartQAppSessionHttp = Layer.effect( |
| 7 | StartQAppSession, |
| 8 | makeQAppHttpBinding({ |
| 9 | capability: "StartQAppSession", |
| 10 | iamActions: ["qapps:StartQAppSession"], |
| 11 | operation: qapps.startQAppSession, |
| 12 | injectAppId: true, |
| 13 | }), |
| 14 | ); |