:doc:`Bedrock <../../bedrock>` / Client / list_model_customization_jobs

*****************************
list_model_customization_jobs
*****************************



.. py:method:: Bedrock.Client.list_model_customization_jobs(**kwargs)

  

  Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.

   

  For more information, see `Custom models <https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html>`__ in the `Amazon Bedrock User Guide <https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCustomizationJobs>`_  


  **Request Syntax**
  ::

    response = client.list_model_customization_jobs(
        creationTimeAfter=datetime(2015, 1, 1),
        creationTimeBefore=datetime(2015, 1, 1),
        statusEquals='InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped',
        nameContains='string',
        maxResults=123,
        nextToken='string',
        sortBy='CreationTime',
        sortOrder='Ascending'|'Descending'
    )
    
  :type creationTimeAfter: datetime
  :param creationTimeAfter: 

    Return customization jobs created after the specified time.

    

  
  :type creationTimeBefore: datetime
  :param creationTimeBefore: 

    Return customization jobs created before the specified time.

    

  
  :type statusEquals: string
  :param statusEquals: 

    Return customization jobs with the specified status.

    

  
  :type nameContains: string
  :param nameContains: 

    Return customization jobs only if the job name contains these characters.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the ``nextToken`` field when making another request to return the next batch of results.

    

  
  :type nextToken: string
  :param nextToken: 

    If the total number of results is greater than the ``maxResults`` value provided in the request, enter the token returned in the ``nextToken`` field in the response in this field to return the next batch of results.

    

  
  :type sortBy: string
  :param sortBy: 

    The field to sort by in the returned list of jobs.

    

  
  :type sortOrder: string
  :param sortOrder: 

    The sort order of the results.

    

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

    
    ::

      {
          'nextToken': 'string',
          'modelCustomizationJobSummaries': [
              {
                  'jobArn': 'string',
                  'baseModelArn': 'string',
                  'jobName': 'string',
                  'status': 'InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped',
                  'statusDetails': {
                      'validationDetails': {
                          'status': 'InProgress'|'Completed'|'Stopping'|'Stopped'|'Failed'|'NotStarted',
                          'creationTime': datetime(2015, 1, 1),
                          'lastModifiedTime': datetime(2015, 1, 1)
                      },
                      'dataProcessingDetails': {
                          'status': 'InProgress'|'Completed'|'Stopping'|'Stopped'|'Failed'|'NotStarted',
                          'creationTime': datetime(2015, 1, 1),
                          'lastModifiedTime': datetime(2015, 1, 1)
                      },
                      'trainingDetails': {
                          'status': 'InProgress'|'Completed'|'Stopping'|'Stopped'|'Failed'|'NotStarted',
                          'creationTime': datetime(2015, 1, 1),
                          'lastModifiedTime': datetime(2015, 1, 1)
                      }
                  },
                  'lastModifiedTime': datetime(2015, 1, 1),
                  'creationTime': datetime(2015, 1, 1),
                  'endTime': datetime(2015, 1, 1),
                  'customModelArn': 'string',
                  'customModelName': 'string',
                  'customizationType': 'FINE_TUNING'|'CONTINUED_PRE_TRAINING'|'DISTILLATION'|'REINFORCEMENT_FINE_TUNING'|'IMPORTED'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **nextToken** *(string) --* 

        If the total number of results is greater than the ``maxResults`` value provided in the request, use this token when making another request in the ``nextToken`` field to return the next batch of results.

        
      

      - **modelCustomizationJobSummaries** *(list) --* 

        Job summaries.

        
        

        - *(dict) --* 

          Information about one customization job

          
          

          - **jobArn** *(string) --* 

            Amazon Resource Name (ARN) of the customization job.

            
          

          - **baseModelArn** *(string) --* 

            Amazon Resource Name (ARN) of the base model.

            
          

          - **jobName** *(string) --* 

            Name of the customization job.

            
          

          - **status** *(string) --* 

            Status of the customization job.

            
          

          - **statusDetails** *(dict) --* 

            Details about the status of the data processing sub-task of the job.

            
            

            - **validationDetails** *(dict) --* 

              The status details for the validation sub-task of the job.

              
              

              - **status** *(string) --* 

                The status of the validation sub-task of the job.

                
              

              - **creationTime** *(datetime) --* 

                The start time of the validation sub-task of the job.

                
              

              - **lastModifiedTime** *(datetime) --* 

                The latest update to the validation sub-task of the job.

                
          
            

            - **dataProcessingDetails** *(dict) --* 

              The status details for the data processing sub-task of the job.

              
              

              - **status** *(string) --* 

                The status of the data processing sub-task of the job.

                
              

              - **creationTime** *(datetime) --* 

                The start time of the data processing sub-task of the job.

                
              

              - **lastModifiedTime** *(datetime) --* 

                The latest update to the data processing sub-task of the job.

                
          
            

            - **trainingDetails** *(dict) --* 

              The status details for the training sub-task of the job.

              
              

              - **status** *(string) --* 

                The status of the training sub-task of the job.

                
              

              - **creationTime** *(datetime) --* 

                The start time of the training sub-task of the job.

                
              

              - **lastModifiedTime** *(datetime) --* 

                The latest update to the training sub-task of the job.

                
          
        
          

          - **lastModifiedTime** *(datetime) --* 

            Time that the customization job was last modified.

            
          

          - **creationTime** *(datetime) --* 

            Creation time of the custom model.

            
          

          - **endTime** *(datetime) --* 

            Time that the customization job ended.

            
          

          - **customModelArn** *(string) --* 

            Amazon Resource Name (ARN) of the custom model.

            
          

          - **customModelName** *(string) --* 

            Name of the custom model.

            
          

          - **customizationType** *(string) --* 

            Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see `Custom models <https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html>`__.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Bedrock.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Bedrock.Client.exceptions.ValidationException`

  
  *   :py:class:`Bedrock.Client.exceptions.InternalServerException`

  
  *   :py:class:`Bedrock.Client.exceptions.ThrottlingException`

  