:doc:`NeptuneData <../../neptunedata>` / Client / list_ml_model_training_jobs

***************************
list_ml_model_training_jobs
***************************



.. py:method:: NeptuneData.Client.list_ml_model_training_jobs(**kwargs)

  

  Lists Neptune ML model-training jobs. See `Model training using the modeltraining command <https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-modeltraining.html>`__.

   

  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 <https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#neptune-db:listmlmodeltrainingjobs>`__ IAM action in that cluster.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/neptunedata-2023-08-01/ListMLModelTrainingJobs>`_  


  **Request Syntax**
  ::

    response = client.list_ml_model_training_jobs(
        maxItems=123,
        neptuneIamRoleArn='string'
    )
    
  :type maxItems: integer
  :param maxItems: 

    The maximum number of items to return (from 1 to 1024; the default is 10).

    

  
  :type neptuneIamRoleArn: string
  :param 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.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'ids': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ids** *(list) --* 

        A page of the list of model training job IDs.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`NeptuneData.Client.exceptions.UnsupportedOperationException`

  
  *   :py:class:`NeptuneData.Client.exceptions.BadRequestException`

  
  *   :py:class:`NeptuneData.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`NeptuneData.Client.exceptions.MLResourceNotFoundException`

  
  *   :py:class:`NeptuneData.Client.exceptions.ClientTimeoutException`

  
  *   :py:class:`NeptuneData.Client.exceptions.PreconditionsFailedException`

  
  *   :py:class:`NeptuneData.Client.exceptions.ConstraintViolationException`

  
  *   :py:class:`NeptuneData.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`NeptuneData.Client.exceptions.MissingParameterException`

  
  *   :py:class:`NeptuneData.Client.exceptions.IllegalArgumentException`

  
  *   :py:class:`NeptuneData.Client.exceptions.TooManyRequestsException`

  