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 theDescribeDataSourceAPI is set toDELETING. For more information, see Deleting Data Sources.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.AccessDeniedExceptionkendra.Client.exceptions.ValidationExceptionkendra.Client.exceptions.ConflictExceptionkendra.Client.exceptions.ResourceNotFoundExceptionkendra.Client.exceptions.ThrottlingExceptionkendra.Client.exceptions.InternalServerException