:doc:`Personalize <../../personalize>` / Client / delete_dataset

**************
delete_dataset
**************



.. py:method:: Personalize.Client.delete_dataset(**kwargs)

  

  Deletes a dataset. You can't delete a dataset if an associated ``DatasetImportJob`` or ``SolutionVersion`` is in the CREATE PENDING or IN PROGRESS state. For more information about deleting datasets, see `Deleting a dataset <https://docs.aws.amazon.com/personalize/latest/dg/delete-dataset.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteDataset>`_  


  **Request Syntax**
  ::

    response = client.delete_dataset(
        datasetArn='string'
    )
    
  :type datasetArn: string
  :param datasetArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the dataset to delete.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Personalize.Client.exceptions.InvalidInputException`

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

  
  *   :py:class:`Personalize.Client.exceptions.ResourceInUseException`

  