CreateLibraryItem
Source:
src/AWS/QApps/CreateLibraryItem.ts
Runtime binding for qapps:CreateLibraryItem.
Publishes a version of the bound Q App into the instance’s library so other users can discover and run it. Provide the implementation with
Effect.provide(AWS.QApps.CreateLibraryItemHttp).
Library Items
Section titled “Library Items”// init — bind the operation to the Q Appconst createLibraryItem = yield* AWS.QApps.CreateLibraryItem(app);
// runtimeconst item = yield* createLibraryItem({ appVersion: 1, categories: [categoryId],});console.log(item.libraryItemId);