:doc:`AppIntegrationsService <../../appintegrations>` / Client / delete_data_integration

***********************
delete_data_integration
***********************



.. py:method:: AppIntegrationsService.Client.delete_data_integration(**kwargs)

  

  Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.

   

  .. note::

    

    You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the `CreateDataIntegration <https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html>`__ API.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteDataIntegration>`_  


  **Request Syntax**
  ::

    response = client.delete_data_integration(
        DataIntegrationIdentifier='string'
    )
    
  :type DataIntegrationIdentifier: string
  :param DataIntegrationIdentifier: **[REQUIRED]** 

    A unique identifier for the DataIntegration.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AppIntegrationsService.Client.exceptions.InternalServiceError`

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

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

  
  *   :py:class:`AppIntegrationsService.Client.exceptions.InvalidRequestException`

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

  