Personalize / Client / get_solution_metrics

get_solution_metrics#

Personalize.Client.get_solution_metrics(**kwargs)#

Gets the metrics for the specified solution version.

See also: AWS API Documentation

Request Syntax

response = client.get_solution_metrics(
    solutionVersionArn='string'
)
Parameters:

solutionVersionArn (string) –

[REQUIRED]

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

Return type:

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.

      • (string) –

        • (float) –

Exceptions

  • Personalize.Client.exceptions.InvalidInputException

  • Personalize.Client.exceptions.ResourceNotFoundException

  • Personalize.Client.exceptions.ResourceInUseException