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

******************
get_imported_model
******************



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

  

  Gets properties associated with a customized model you imported.

  

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


  **Request Syntax**
  ::

    response = client.get_imported_model(
        modelIdentifier='string'
    )
    
  :type modelIdentifier: string
  :param modelIdentifier: **[REQUIRED]** 

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

    

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

    
    ::

      {
          'modelArn': 'string',
          'modelName': 'string',
          'jobName': 'string',
          'jobArn': 'string',
          'modelDataSource': {
              's3DataSource': {
                  's3Uri': 'string'
              }
          },
          'creationTime': datetime(2015, 1, 1),
          'modelArchitecture': 'string',
          'modelKmsKeyArn': 'string',
          'instructSupported': True|False,
          'customModelUnits': {
              'customModelUnitsPerModelCopy': 123,
              'customModelUnitsVersion': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The Amazon Resource Name (ARN) associated with this imported model.

        
      

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

        The name of the imported model.

        
      

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

        Job name associated with the imported model.

        
      

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

        Job Amazon Resource Name (ARN) associated with the imported model.

        
      

      - **modelDataSource** *(dict) --* 

        The data source for this imported model.

        .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``s3DataSource``.     If a client receives an unknown member it will     set ``SDK_UNKNOWN_MEMBER`` as the top level key,     which maps to the name or tag of the unknown     member. The structure of ``SDK_UNKNOWN_MEMBER`` is     as follows::

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}


      
        

        - **s3DataSource** *(dict) --* 

          The Amazon S3 data source of the model to import.

          
          

          - **s3Uri** *(string) --* 

            The URI of the Amazon S3 data source.

            
      
    
      

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

        Creation time of the imported model.

        
      

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

        The architecture of the imported model.

        
      

      - **modelKmsKeyArn** *(string) --* 

        The imported model is encrypted at rest using this key.

        
      

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

        Specifies if the imported model supports converse.

        
      

      - **customModelUnits** *(dict) --* 

        Information about the hardware utilization for a single copy of the model.

        
        

        - **customModelUnitsPerModelCopy** *(integer) --* 

          The number of custom model units used to host a model copy.

          
        

        - **customModelUnitsVersion** *(string) --* 

          The version of the custom model unit. Use to determine the billing rate for the custom model unit.

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

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

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

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

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

  