Personalize / Client / update_recommender

update_recommender#

Personalize.Client.update_recommender(**kwargs)#

Updates the recommender to modify the recommender configuration.

See also: AWS API Documentation

Request Syntax

response = client.update_recommender(
    recommenderArn='string',
    recommenderConfig={
        'itemExplorationConfig': {
            'string': 'string'
        },
        'minRecommendationRequestsPerSecond': 123
    }
)
Parameters:
  • recommenderArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the recommender to modify.

  • recommenderConfig (dict) –

    [REQUIRED]

    The configuration details of the recommender.

    • itemExplorationConfig (dict) –

      Specifies the exploration configuration hyperparameters, including explorationWeight and explorationItemAgeCutOff, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig data only if your recommenders generate personalized recommendations for a user (not popular items or similar items).

      • (string) –

        • (string) –

    • minRecommendationRequestsPerSecond (integer) –

      Specifies the requested minimum provisioned recommendation requests per second that Amazon Personalize will support.

Return type:

dict

Returns:

Response Syntax

{
    'recommenderArn': 'string'
}

Response Structure

  • (dict) –

    • recommenderArn (string) –

      The same recommender Amazon Resource Name (ARN) as given in the request.

Exceptions

  • Personalize.Client.exceptions.InvalidInputException

  • Personalize.Client.exceptions.ResourceNotFoundException

  • Personalize.Client.exceptions.ResourceInUseException