Skip to content

ListLibraryItems

Source: src/AWS/QApps/ListLibraryItems.ts

Runtime binding for qapps:ListLibraryItems.

Lists the library items published in the bound app’s Q Business application environment instance. Provide the implementation with Effect.provide(AWS.QApps.ListLibraryItemsHttp).

// init — bind the operation to the Q App
const listLibraryItems = yield* AWS.QApps.ListLibraryItems(app);
// runtime
const page = yield* listLibraryItems({ limit: 25 });
console.log(page.libraryItems?.length);