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

************
delete_index
************



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

  

  Deletes an Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the ``Status`` field returned by a call to the ``DescribeIndex`` API is set to ``DELETING``.

  

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


  **Request Syntax**
  ::

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

    The identifier of the index you want to delete.

    

  
  
  :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`

  