Skip to content

/AWS1/CL_QQA=>BATCHDELETECATEGORY()

About BatchDeleteCategory

Deletes Categories for the Amazon Q Business application environment instance. Web experience users use Categories to tag and filter library items. For more information, see Custom labels for Amazon Q Apps.

Method Signature

IMPORTING

Required arguments:

iv_instanceid TYPE /AWS1/QQAINSTANCEID /AWS1/QQAINSTANCEID

The unique identifier of the Amazon Q Business application environment instance.

it_categories TYPE /AWS1/CL_QQADELCATINPUTLIST_W=>TT_DELETECATEGORYINPUTLIST TT_DELETECATEGORYINPUTLIST

The list of IDs of the categories to be deleted.

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->/aws1/if_qqa~batchdeletecategory(
  it_categories = VALUE /aws1/cl_qqadelcatinputlist_w=>tt_deletecategoryinputlist(
    ( new /aws1/cl_qqadelcatinputlist_w( |string| ) )
  )
  iv_instanceid = |string|
).

Deletes the categories in the library

Deletes the categories in the library

lo_client->/aws1/if_qqa~batchdeletecategory(
  it_categories = VALUE /aws1/cl_qqadelcatinputlist_w=>tt_deletecategoryinputlist(
    ( new /aws1/cl_qqadelcatinputlist_w( |9c871ed4-1c41-4065-aefe-321cd4b61cf8| ) )
  )
  iv_instanceid = |0b95c9c4-89cc-4aa8-9aae-aa91cbec699f|
).