:doc:`Personalize <../../personalize>` / Client / get_solution_metrics

********************
get_solution_metrics
********************



.. py:method:: Personalize.Client.get_solution_metrics(**kwargs)

  

  Gets the metrics for the specified solution version.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/GetSolutionMetrics>`_  


  **Request Syntax**
  ::

    response = client.get_solution_metrics(
        solutionVersionArn='string'
    )
    
  :type solutionVersionArn: string
  :param solutionVersionArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the solution version for which to get metrics.

    

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

    
    ::

      {
          'solutionVersionArn': 'string',
          'metrics': {
              'string': 123.0
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **solutionVersionArn** *(string) --* 

        The same solution version ARN as specified in the request.

        
      

      - **metrics** *(dict) --* 

        The metrics for the solution version. For more information, see `Evaluating a solution version with metrics <https://docs.aws.amazon.com/personalize/latest/dg/working-with-training-metrics.html>`__.

        
        

        - *(string) --* 
          

          - *(float) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`Personalize.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Personalize.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Personalize.Client.exceptions.ResourceInUseException`

  