GetSession
Source:
src/AWS/EMRServerless/GetSession.ts
Runtime binding for emr-serverless:GetSession.
Reads an interactive session’s detail on the bound Application —
state, execution role, idle time, resource utilization. Provide the
implementation with Effect.provide(AWS.EMRServerless.GetSessionHttp).
Interactive Sessions
Section titled “Interactive Sessions”// initconst getSession = yield* AWS.EMRServerless.GetSession(app);
// runtimeconst { session } = yield* getSession({ sessionId });yield* Effect.log(`${session.sessionId} is ${session.state}`);