:doc:`Bedrock <../../bedrock>` / Paginator / ListModelImportJobs

*******************
ListModelImportJobs
*******************



.. py:class:: Bedrock.Paginator.ListModelImportJobs

  ::

    
    paginator = client.get_paginator('list_model_import_jobs')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`Bedrock.Client.list_model_import_jobs`.

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          creationTimeAfter=datetime(2015, 1, 1),
          creationTimeBefore=datetime(2015, 1, 1),
          statusEquals='InProgress'|'Completed'|'Failed',
          nameContains='string',
          sortBy='CreationTime',
          sortOrder='Ascending'|'Descending',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type creationTimeAfter: datetime
    :param creationTimeAfter: 

      Return import jobs that were created after the specified time.

      

    
    :type creationTimeBefore: datetime
    :param creationTimeBefore: 

      Return import jobs that were created before the specified time.

      

    
    :type statusEquals: string
    :param statusEquals: 

      Return imported jobs with the specified status.

      

    
    :type nameContains: string
    :param nameContains: 

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

      

    
    :type sortBy: string
    :param sortBy: 

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

      

    
    :type sortOrder: string
    :param sortOrder: 

      Specifies whether to sort the results in ascending or descending order.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'modelImportJobSummaries': [
                {
                    'jobArn': 'string',
                    'jobName': 'string',
                    'status': 'InProgress'|'Completed'|'Failed',
                    'lastModifiedTime': datetime(2015, 1, 1),
                    'creationTime': datetime(2015, 1, 1),
                    'endTime': datetime(2015, 1, 1),
                    'importedModelArn': 'string',
                    'importedModelName': 'string'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **modelImportJobSummaries** *(list) --* 

          Import job summaries.

          
          

          - *(dict) --* 

            Information about the import job.

            
            

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

              The Amazon Resource Name (ARN) of the import job.

              
            

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

              The name of the import job.

              
            

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

              The status of the imported job.

              
            

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

              The time when the import job was last modified.

              
            

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

              The time import job was created.

              
            

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

              The time when import job ended.

              
            

            - **importedModelArn** *(string) --* 

              The Amazon resource Name (ARN) of the imported model.

              
            

            - **importedModelName** *(string) --* 

              The name of the imported model.

              
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    