kendra / Client / delete_thesaurus

delete_thesaurus#

kendra.Client.delete_thesaurus(**kwargs)#

Deletes an Amazon Kendra thesaurus.

See also: AWS API Documentation

Request Syntax

response = client.delete_thesaurus(
    Id='string',
    IndexId='string'
)
Parameters:
  • Id (string) –

    [REQUIRED]

    The identifier of the thesaurus you want to delete.

  • IndexId (string) –

    [REQUIRED]

    The identifier of the index for the thesaurus.

Returns:

None

Exceptions

  • kendra.Client.exceptions.ValidationException

  • kendra.Client.exceptions.ConflictException

  • kendra.Client.exceptions.ResourceNotFoundException

  • kendra.Client.exceptions.ThrottlingException

  • kendra.Client.exceptions.AccessDeniedException

  • kendra.Client.exceptions.InternalServerException