Skip to content

Cancel Ml Model Training Job

neptunedata_cancel_ml_model_training_job R Documentation

Cancels a Neptune ML model training job

Description

Cancels a Neptune ML model training job. See Model training using the modeltraining command.

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

Usage

neptunedata_cancel_ml_model_training_job(id, neptuneIamRoleArn, clean)

Arguments

id

[required] The unique identifier of the model-training job to be canceled.

neptuneIamRoleArn

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

If set to TRUE, this flag specifies that all Amazon S3 artifacts should be deleted when the job is stopped. The default is FALSE.

Value

A list with the following syntax:

list(
  status = "string"
)

Request syntax

svc$cancel_ml_model_training_job(
  id = "string",
  neptuneIamRoleArn = "string",
  clean = TRUE|FALSE
)