Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_thesaurus

delete_thesaurus(**kwargs)

Deletes an existing 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