NeptuneData / Client / cancel_loader_job
cancel_loader_job#
- NeptuneData.Client.cancel_loader_job(**kwargs)#
Cancels a specified load job. This is an HTTP
DELETErequest. 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:CancelLoaderJob IAM action in that cluster..
See also: AWS API Documentation
Request Syntax
response = client.cancel_loader_job( loadId='string' )
- Parameters:
loadId (string) –
[REQUIRED]
The ID of the load job to be deleted.
- Return type:
dict
- Returns:
Response Syntax
{ 'status': 'string' }
Response Structure
(dict) –
status (string) –
The cancellation status.
Exceptions
NeptuneData.Client.exceptions.BadRequestExceptionNeptuneData.Client.exceptions.InvalidParameterExceptionNeptuneData.Client.exceptions.BulkLoadIdNotFoundExceptionNeptuneData.Client.exceptions.ClientTimeoutExceptionNeptuneData.Client.exceptions.LoadUrlAccessDeniedExceptionNeptuneData.Client.exceptions.IllegalArgumentExceptionNeptuneData.Client.exceptions.TooManyRequestsExceptionNeptuneData.Client.exceptions.UnsupportedOperationExceptionNeptuneData.Client.exceptions.InternalFailureExceptionNeptuneData.Client.exceptions.PreconditionsFailedExceptionNeptuneData.Client.exceptions.ConstraintViolationExceptionNeptuneData.Client.exceptions.InvalidArgumentExceptionNeptuneData.Client.exceptions.MissingParameterException