:doc:`IoTAnalytics <../../iotanalytics>` / Client / delete_dataset_content

**********************
delete_dataset_content
**********************



.. py:method:: IoTAnalytics.Client.delete_dataset_content(**kwargs)

  

  Deletes the content of the specified dataset.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeleteDatasetContent>`_  


  **Request Syntax**
  ::

    response = client.delete_dataset_content(
        datasetName='string',
        versionId='string'
    )
    
  :type datasetName: string
  :param datasetName: **[REQUIRED]** 

    The name of the dataset whose content is deleted.

    

  
  :type versionId: string
  :param versionId: 

    The version of the dataset whose content is deleted. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`IoTAnalytics.Client.exceptions.InvalidRequestException`

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

  
  *   :py:class:`IoTAnalytics.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoTAnalytics.Client.exceptions.ServiceUnavailableException`

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

  