QBusiness / Client / delete_data_source
delete_data_source#
- QBusiness.Client.delete_data_source(**kwargs)#
Deletes an Amazon Q data source connector. While the data source is being deleted, the
Status
field returned by a call to theDescribeDataSource
API is set toDELETING
.See also: AWS API Documentation
Request Syntax
response = client.delete_data_source( applicationId='string', dataSourceId='string', indexId='string' )
- Parameters:
applicationId (string) –
[REQUIRED]
The identifier of the Amazon Q application used with the data source connector.
dataSourceId (string) –
[REQUIRED]
The identifier of the data source connector that you want to delete.
indexId (string) –
[REQUIRED]
The identifier of the index used with the data source connector.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
QBusiness.Client.exceptions.ResourceNotFoundException
QBusiness.Client.exceptions.InternalServerException
QBusiness.Client.exceptions.ConflictException
QBusiness.Client.exceptions.ThrottlingException
QBusiness.Client.exceptions.ValidationException
QBusiness.Client.exceptions.AccessDeniedException