NeptuneData / Client / cancel_ml_data_processing_job

cancel_ml_data_processing_job#

NeptuneData.Client.cancel_ml_data_processing_job(**kwargs)#

Cancels a Neptune ML data processing job. See The dataprocessing command.

See also: AWS API Documentation

Request Syntax

response = client.cancel_ml_data_processing_job(
    id='string',
    neptuneIamRoleArn='string',
    clean=True|False
)
Parameters:
  • id (string) –

    [REQUIRED]

    The unique identifier of the data-processing job.

  • neptuneIamRoleArn (string) – The ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will occur.

  • clean (boolean) – If set to TRUE, this flag specifies that all Neptune ML S3 artifacts should be deleted when the job is stopped. The default is FALSE.

Return type:

dict

Returns:

Response Syntax

{
    'status': 'string'
}

Response Structure

  • (dict) –

    • status (string) –

      The status of the cancellation request.

Exceptions

  • NeptuneData.Client.exceptions.UnsupportedOperationException

  • NeptuneData.Client.exceptions.BadRequestException

  • NeptuneData.Client.exceptions.MLResourceNotFoundException

  • NeptuneData.Client.exceptions.InvalidParameterException

  • NeptuneData.Client.exceptions.ClientTimeoutException

  • NeptuneData.Client.exceptions.PreconditionsFailedException

  • NeptuneData.Client.exceptions.ConstraintViolationException

  • NeptuneData.Client.exceptions.InvalidArgumentException

  • NeptuneData.Client.exceptions.MissingParameterException

  • NeptuneData.Client.exceptions.IllegalArgumentException

  • NeptuneData.Client.exceptions.TooManyRequestsException