NeptuneData / Client / list_ml_model_training_jobs

list_ml_model_training_jobs#

NeptuneData.Client.list_ml_model_training_jobs(**kwargs)#

Lists Neptune ML model-training jobs. 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:neptune-db:ListMLModelTrainingJobs IAM action in that cluster.

See also: AWS API Documentation

Request Syntax

response = client.list_ml_model_training_jobs(
    maxItems=123,
    neptuneIamRoleArn='string'
)
Parameters:
  • maxItems (integer) – The maximum number of items to return (from 1 to 1024; the default is 10).

  • 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.

Return type:

dict

Returns:

Response Syntax

{
    'ids': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • ids (list) –

      A page of the list of model training job IDs.

      • (string) –

Exceptions