StartSession
Source:
src/AWS/EMRServerless/StartSession.ts
Runtime binding for emr-serverless:StartSession.
Starts an interactive session on the bound Application (the
application must enable interactiveConfiguration). The session assumes
the given execution role; grants iam:PassRole (conditioned to
emr-serverless.amazonaws.com) accordingly. Provide the implementation
with Effect.provide(AWS.EMRServerless.StartSessionHttp).
Interactive Sessions
Section titled “Interactive Sessions”// initconst startSession = yield* AWS.EMRServerless.StartSession(app);
// runtimeconst session = yield* startSession({ executionRoleArn: sessionRoleArn });yield* Effect.log(`started ${session.sessionId}`);