QApps / Client / delete_library_item

delete_library_item#

QApps.Client.delete_library_item(**kwargs)#

Deletes a library item for an Amazon Q App, removing it from the library so it can no longer be discovered or used by other users.

See also: AWS API Documentation

Request Syntax

response = client.delete_library_item(
    instanceId='string',
    libraryItemId='string'
)
Parameters:
  • instanceId (string) –

    [REQUIRED]

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

  • libraryItemId (string) –

    [REQUIRED]

    The unique identifier of the library item to delete.

Returns:

None

Exceptions

  • QApps.Client.exceptions.ResourceNotFoundException

  • QApps.Client.exceptions.AccessDeniedException

  • QApps.Client.exceptions.ValidationException

  • QApps.Client.exceptions.InternalServerException

  • QApps.Client.exceptions.UnauthorizedException

  • QApps.Client.exceptions.ServiceQuotaExceededException

  • QApps.Client.exceptions.ThrottlingException