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 the DescribeDataSource
API is set to DELETING
. For more information, see Deleting Data Sources.
See also: AWS API Documentation
Request Syntax
response = client.delete_data_source(
Id='string',
IndexId='string'
)
[REQUIRED]
The identifier of the data source connector you want to delete.
[REQUIRED]
The identifier of the index used with the data source connector.
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