kendra / Client / delete_index

delete_index#

kendra.Client.delete_index(**kwargs)#

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

Request Syntax

response = client.delete_index(
    Id='string'
)
Parameters:

Id (string) –

[REQUIRED]

The identifier of the index you want to delete.

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