:doc:`FraudDetector <../../frauddetector>` / Client / cancel_batch_import_job

***********************
cancel_batch_import_job
***********************



.. py:method:: FraudDetector.Client.cancel_batch_import_job(**kwargs)

  

  Cancels an in-progress batch import job.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchImportJob>`_  


  **Request Syntax**
  ::

    response = client.cancel_batch_import_job(
        jobId='string'
    )
    
  :type jobId: string
  :param jobId: **[REQUIRED]** 

    The ID of an in-progress batch import job to cancel.

     

    Amazon Fraud Detector will throw an error if the batch import job is in ``FAILED``, ``CANCELED``, or ``COMPLETED`` state.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`FraudDetector.Client.exceptions.ValidationException`

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

  
  *   :py:class:`FraudDetector.Client.exceptions.InternalServerException`

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

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

  