get_loader_job_status
¶
get_loader_job_status(
load_id: str,
*,
config_overrides: Optional[neptunedataClientConfig] = None,
details: Optional[bool] = None,
errors: Optional[bool] = None,
page: Optional[PositiveInteger] = None,
errors_per_page: Optional[PositiveInteger] = None,
) -> GetLoaderJobStatusOutput
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..
Parameters:
-
load_id(str) –The load ID of the load job to get the status of.
-
details(Optional[bool], default:None) –Flag indicating whether or not to include details beyond the overall status (
TRUEorFALSE; the default isFALSE). -
errors(Optional[bool], default:None) –Flag indicating whether or not to include a list of errors encountered (
TRUEorFALSE; the default isFALSE).The list of errors is paged. The
pageanderrorsPerPageparameters allow you to page through all the errors. -
page(Optional[PositiveInteger], default:None) –The error page number (a positive integer; the default is
1). Only valid when theerrorsparameter is set toTRUE. -
errors_per_page(Optional[PositiveInteger], default:None) –The number of errors returned in each page (a positive integer; the default is
10). Only valid when theerrorsparameter set toTRUE.
Raises:
-
BadRequestException–Raised when a request is submitted that cannot be processed.
-
BulkLoadIdNotFoundException–Raised when a specified bulk-load job ID cannot be found.
-
ClientTimeoutException–Raised when a request timed out in the client.
-
ConstraintViolationException–Raised when a value in a request field did not satisfy required constraints.
-
IllegalArgumentException–Raised when an argument in a request is not supported.
-
InternalFailureException–Raised when the processing of the request failed unexpectedly.
-
InvalidArgumentException–Raised when an argument in a request has an invalid value.
-
InvalidParameterException–Raised when a parameter value is not valid.
-
LoadUrlAccessDeniedException–Raised when access is denied to a specified load URL.
-
MissingParameterException–Raised when a required parameter is missing.
-
PreconditionsFailedException–Raised when a precondition for processing a request is not satisfied.
-
TooManyRequestsException–Raised when the number of requests being processed exceeds the limit.
-
UnsupportedOperationException–Raised when a request attempts to initiate an operation that is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_neptunedata/_services/neptunedata.py
1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 | |