Skip to main content

loader_job_status

Creates, updates, deletes, gets or lists a loader_job_status resource.

Overview

Nameloader_job_status
TypeResource
Idaws.neptunedata.loader_job_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
payloadobjectStatus information about the load job, in a layout that could look like this:
statusstringThe HTTP response code for the request.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_loader_job_statusselectload_id, regiondetails, errors, page, errorsPerPageGets 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 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 IAM action in that cluster..

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
load_idstringThe load ID of the load job to get the status of.
regionstringAWS region (default: us-east-1)
detailsbooleanFlag indicating whether or not to include details beyond the overall status (TRUE or FALSE; the default is FALSE).
errorsbooleanFlag 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.
errorsPerPageintegerThe number of errors returned in each page (a positive integer; the default is 10). Only valid when the errors parameter set to TRUE.
pageintegerThe error page number (a positive integer; the default is 1). Only valid when the errors parameter is set to TRUE.

SELECT examples

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 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 IAM action in that cluster..

SELECT
payload,
status
FROM aws.neptunedata.loader_job_status
WHERE load_id = '{{ load_id }}' -- required
AND region = '{{ region }}' -- required
AND details = '{{ details }}'
AND errors = '{{ errors }}'
AND page = '{{ page }}'
AND errorsPerPage = '{{ errorsPerPage }}'
;