kendra / Client / delete_data_source
delete_data_source#
- kendra.Client.delete_data_source(**kwargs)#
- Deletes an Amazon Kendra data source connector. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the - Statusfield returned by a call to the- DescribeDataSourceAPI is set to- DELETING. For more information, see Deleting Data Sources.- Deleting an entire data source or re-syncing your index after deleting specific documents from a data source could take up to an hour or more, depending on the number of documents you want to delete. - See also: AWS API Documentation - Request Syntax- response = client.delete_data_source( Id='string', IndexId='string' ) - Parameters:
- Id (string) – - [REQUIRED] - The identifier of the data source connector you want to delete. 
- IndexId (string) – - [REQUIRED] - The identifier of the index used with the data source connector. 
 
- Returns:
- None 
 - Exceptions- kendra.Client.exceptions.AccessDeniedException
- kendra.Client.exceptions.ValidationException
- kendra.Client.exceptions.ConflictException
- kendra.Client.exceptions.ResourceNotFoundException
- kendra.Client.exceptions.ThrottlingException
- kendra.Client.exceptions.InternalServerException