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

*********************
get_loader_job_status
*********************



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

  

  Gets status information about a specified load job. Neptune keeps track of the most recent 1,024 bulk load jobs, and stores the last 10,000 error details per job.

   

  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\:GetLoaderJobStatus <https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getloaderjobstatus>`__ IAM action in that cluster..

  

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


  **Request Syntax**
  ::

    response = client.get_loader_job_status(
        loadId='string',
        details=True|False,
        errors=True|False,
        page=123,
        errorsPerPage=123
    )
    
  :type loadId: string
  :param loadId: **[REQUIRED]** 

    The load ID of the load job to get the status of.

    

  
  :type details: boolean
  :param details: 

    Flag indicating whether or not to include details beyond the overall status ( ``TRUE`` or ``FALSE``; the default is ``FALSE``).

    

  
  :type errors: boolean
  :param errors: 

    Flag indicating whether or not to include a list of errors encountered ( ``TRUE`` or ``FALSE``; the default is ``FALSE``).

     

    The list of errors is paged. The ``page`` and ``errorsPerPage`` parameters allow you to page through all the errors.

    

  
  :type page: integer
  :param page: 

    The error page number (a positive integer; the default is ``1``). Only valid when the ``errors`` parameter is set to ``TRUE``.

    

  
  :type errorsPerPage: integer
  :param errorsPerPage: 

    The number of errors returned in each page (a positive integer; the default is ``10``). Only valid when the ``errors`` parameter set to ``TRUE``.

    

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

    
    ::

      {
          'status': 'string',
          'payload': {...}|[...]|123|123.4|'string'|True|None
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The HTTP response code for the request.

        
      

      - **payload** (:ref:`document<document>`) -- 

        Status information about the load job, in a layout that could look like this:

        
  
  **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`

  