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

*************************
delete_dataset_import_job
*************************



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

  

  Deletes a dataset import job created using the `CreateDatasetImportJob <https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html>`__ operation. You can delete only dataset import jobs that have a status of ``ACTIVE`` or ``CREATE_FAILED``. To get the status, use the `DescribeDatasetImportJob <https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetImportJob.html>`__ operation.

  

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


  **Request Syntax**
  ::

    response = client.delete_dataset_import_job(
        DatasetImportJobArn='string'
    )
    
  :type DatasetImportJobArn: string
  :param DatasetImportJobArn: **[REQUIRED]** 

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

    

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

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

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

  