QBusiness / Client / delete_data_source

delete_data_source#

QBusiness.Client.delete_data_source(**kwargs)#

Deletes an Amazon Q Business data source connector. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource API is set to DELETING.

See also: AWS API Documentation

Request Syntax

response = client.delete_data_source(
    applicationId='string',
    indexId='string',
    dataSourceId='string'
)
Parameters:
  • applicationId (string) –

    [REQUIRED]

    The identifier of the Amazon Q Business application used with the data source connector.

  • indexId (string) –

    [REQUIRED]

    The identifier of the index used with the data source connector.

  • dataSourceId (string) –

    [REQUIRED]

    The identifier of the data source connector that you want to delete.

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