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
Status
field returned by a call to theDescribeDataSource
API is set toDELETING
. 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