Skip to content

GetQAppSessionMetadata

Source: src/AWS/QApps/GetQAppSessionMetadata.ts

Runtime binding for qapps:GetQAppSessionMetadata.

Retrieves a Q App session’s metadata — name, sharing configuration, and ownership. Provide the implementation with Effect.provide(AWS.QApps.GetQAppSessionMetadataHttp).

// init — bind the operation to the Q App
const getQAppSessionMetadata = yield* AWS.QApps.GetQAppSessionMetadata(app);
// runtime
const metadata = yield* getQAppSessionMetadata({ sessionId });
console.log(metadata.sharingConfiguration.enabled);