Skip to content

GetQAppSession

Source: src/AWS/QApps/GetQAppSession.ts

Runtime binding for qapps:GetQAppSession.

Retrieves the current state of a Q App session — execution status plus the per-card status map. Provide the implementation with Effect.provide(AWS.QApps.GetQAppSessionHttp).

// init — bind the operation to the Q App
const getQAppSession = yield* AWS.QApps.GetQAppSession(app);
// runtime
const state = yield* getQAppSession({ sessionId });
if (state.status === "COMPLETED") console.log(state.cardStatus);