Skip to content

DeleteLibraryItem

Source: src/AWS/QApps/DeleteLibraryItem.ts

Runtime binding for qapps:DeleteLibraryItem.

Unpublishes a library item, removing the app from the instance’s library. Provide the implementation with Effect.provide(AWS.QApps.DeleteLibraryItemHttp).

// init — bind the operation to the Q App
const deleteLibraryItem = yield* AWS.QApps.DeleteLibraryItem(app);
// runtime
yield* deleteLibraryItem({ libraryItemId });