:doc:`NeptuneData <../../neptunedata>` / Client / cancel_loader_job

*****************
cancel_loader_job
*****************



.. py:method:: NeptuneData.Client.cancel_loader_job(**kwargs)

  

  Cancels a specified load job. This is an HTTP ``DELETE`` request. See `Neptune Loader Get-Status API <https://docs.aws.amazon.com/neptune/latest/userguide/load-api-reference-status.htm>`__ for more information.

   

  When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the `neptune-db\:CancelLoaderJob <https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelloaderjob>`__ IAM action in that cluster..

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/neptunedata-2023-08-01/CancelLoaderJob>`_  


  **Request Syntax**
  ::

    response = client.cancel_loader_job(
        loadId='string'
    )
    
  :type loadId: string
  :param loadId: **[REQUIRED]** 

    The ID of the load job to be deleted.

    

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

    
    ::

      {
          'status': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **status** *(string) --* 

        The cancellation status.

        
  
  **Exceptions**
  
  *   :py:class:`NeptuneData.Client.exceptions.BadRequestException`

  
  *   :py:class:`NeptuneData.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`NeptuneData.Client.exceptions.BulkLoadIdNotFoundException`

  
  *   :py:class:`NeptuneData.Client.exceptions.ClientTimeoutException`

  
  *   :py:class:`NeptuneData.Client.exceptions.LoadUrlAccessDeniedException`

  
  *   :py:class:`NeptuneData.Client.exceptions.IllegalArgumentException`

  
  *   :py:class:`NeptuneData.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`NeptuneData.Client.exceptions.UnsupportedOperationException`

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

  
  *   :py:class:`NeptuneData.Client.exceptions.PreconditionsFailedException`

  
  *   :py:class:`NeptuneData.Client.exceptions.ConstraintViolationException`

  
  *   :py:class:`NeptuneData.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`NeptuneData.Client.exceptions.MissingParameterException`

  