:doc:`ForecastService <../../forecast>` / Client / delete_dataset_group

********************
delete_dataset_group
********************



.. py:method:: ForecastService.Client.delete_dataset_group(**kwargs)

  

  Deletes a dataset group created using the `CreateDatasetGroup <https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetGroup.html>`__ operation. You can only delete dataset groups that have a status of ``ACTIVE``, ``CREATE_FAILED``, or ``UPDATE_FAILED``. To get the status, use the `DescribeDatasetGroup <https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetGroup.html>`__ operation.

   

  This operation deletes only the dataset group, not the datasets in the group.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteDatasetGroup>`_  


  **Request Syntax**
  ::

    response = client.delete_dataset_group(
        DatasetGroupArn='string'
    )
    
  :type DatasetGroupArn: string
  :param DatasetGroupArn: **[REQUIRED]** 

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

    

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

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

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

  