Skip to content

BatchCreateCategory

Source: src/AWS/QApps/BatchCreateCategory.ts

Runtime binding for qapps:BatchCreateCategory.

Creates library categories that web-experience users use to tag and filter library items. Provide the implementation with Effect.provide(AWS.QApps.BatchCreateCategoryHttp).

// init — bind the operation to the Q App
const batchCreateCategory = yield* AWS.QApps.BatchCreateCategory(app);
// runtime
yield* batchCreateCategory({
categories: [{ title: "HR" }, { title: "Marketing" }],
});