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

******************
ListImportedModels
******************



.. py:class:: Bedrock.Paginator.ListImportedModels

  ::

    
    paginator = client.get_paginator('list_imported_models')

  
  

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

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

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


    **Request Syntax**
    ::

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

      Return imported models that created before the specified time.

      

    
    :type creationTimeAfter: datetime
    :param creationTimeAfter: 

      Return imported models that were created after the specified time.

      

    
    :type nameContains: string
    :param nameContains: 

      Return imported models only if the model name contains these characters.

      

    
    :type sortBy: string
    :param sortBy: 

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

      

    
    :type sortOrder: string
    :param sortOrder: 

      Specifies whetehr 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**

      
      ::

        {
            'modelSummaries': [
                {
                    'modelArn': 'string',
                    'modelName': 'string',
                    'creationTime': datetime(2015, 1, 1),
                    'instructSupported': True|False,
                    'modelArchitecture': 'string'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **modelSummaries** *(list) --* 

          Model summaries.

          
          

          - *(dict) --* 

            Information about the imported model.

            
            

            - **modelArn** *(string) --* 

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

              
            

            - **modelName** *(string) --* 

              Name of the imported model.

              
            

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

              Creation time of the imported model.

              
            

            - **instructSupported** *(boolean) --* 

              Specifies if the imported model supports converse.

              
            

            - **modelArchitecture** *(string) --* 

              The architecture of the imported model.

              
        
      
        

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

          A token to resume pagination.

          
    