QApps / Client / batch_delete_category

batch_delete_category#

QApps.Client.batch_delete_category(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.batch_delete_category(
    instanceId='string',
    categories=[
        'string',
    ]
)
Parameters:
  • instanceId (string) –

    [REQUIRED]

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

  • categories (list) –

    [REQUIRED]

    The list of IDs of the categories to be deleted.

    • (string) –

Returns:

None

Exceptions

  • QApps.Client.exceptions.ResourceNotFoundException

  • QApps.Client.exceptions.AccessDeniedException

  • QApps.Client.exceptions.ConflictException

  • QApps.Client.exceptions.ValidationException

  • QApps.Client.exceptions.InternalServerException

  • QApps.Client.exceptions.UnauthorizedException

  • QApps.Client.exceptions.ThrottlingException