:doc:`DataZone <../../datazone>` / Client / delete_data_product

*******************
delete_data_product
*******************



.. py:method:: DataZone.Client.delete_data_product(**kwargs)

  

  Deletes a data product in Amazon DataZone.

   

  Prerequisites:

   

  
  * The data product must exist and not be deleted or archived.
   
  * The user must have delete permissions for the data product.
   
  * Domain and project must be active.
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteDataProduct>`_  


  **Request Syntax**
  ::

    response = client.delete_data_product(
        domainIdentifier='string',
        identifier='string'
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the Amazon DataZone domain in which the data product is deleted.

    

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

    The identifier of the data product that is deleted.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

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

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

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  