:doc:`QBusiness <../../qbusiness>` / Client / delete_data_source

******************
delete_data_source
******************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DeleteDataSource>`_  


  **Request Syntax**
  ::

    response = client.delete_data_source(
        applicationId='string',
        indexId='string',
        dataSourceId='string'
    )
    
  :type applicationId: string
  :param applicationId: **[REQUIRED]** 

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

    

  
  :type indexId: string
  :param indexId: **[REQUIRED]** 

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

    

  
  :type dataSourceId: string
  :param dataSourceId: **[REQUIRED]** 

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

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`QBusiness.Client.exceptions.InternalServerException`

  
  *   :py:class:`QBusiness.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`QBusiness.Client.exceptions.ConflictException`

  
  *   :py:class:`QBusiness.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QBusiness.Client.exceptions.ValidationException`

  
  *   :py:class:`QBusiness.Client.exceptions.AccessDeniedException`

  