Skip to content

StartQAppSession

Source: src/AWS/QApps/StartQAppSession.ts

Runtime binding for qapps:StartQAppSession.

Starts a new session of the bound Q App, optionally seeding initial card values. Provide the implementation with Effect.provide(AWS.QApps.StartQAppSessionHttp).

// init — bind the operation to the Q App
const startQAppSession = yield* AWS.QApps.StartQAppSession(app);
// runtime
const session = yield* startQAppSession({ appVersion: 1 });
console.log(session.sessionId);