:doc:`kendra <../../kendra>` / Client / delete_thesaurus

****************
delete_thesaurus
****************



.. py:method:: kendra.Client.delete_thesaurus(**kwargs)

  

  Deletes an Amazon Kendra thesaurus.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteThesaurus>`_  


  **Request Syntax**
  ::

    response = client.delete_thesaurus(
        Id='string',
        IndexId='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The identifier of the thesaurus you want to delete.

    

  
  :type IndexId: string
  :param IndexId: **[REQUIRED]** 

    The identifier of the index for the thesaurus.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`kendra.Client.exceptions.ValidationException`

  
  *   :py:class:`kendra.Client.exceptions.ConflictException`

  
  *   :py:class:`kendra.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`kendra.Client.exceptions.ThrottlingException`

  
  *   :py:class:`kendra.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`kendra.Client.exceptions.InternalServerException`

  