Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . pinpoint ]

update-recommender-configuration

Description

Updates an Amazon Pinpoint configuration for a recommender model.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  update-recommender-configuration
--recommender-id <value>
--update-recommender-configuration <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--recommender-id (string)

The unique identifier for the recommender model configuration. This identifier is displayed as the Recommender ID on the Amazon Pinpoint console.

--update-recommender-configuration (structure)

Specifies Amazon Pinpoint configuration settings for retrieving and processing recommendation data from a recommender model.

Shorthand Syntax:

Attributes={KeyName1=string,KeyName2=string},Description=string,Name=string,RecommendationProviderIdType=string,RecommendationProviderRoleArn=string,RecommendationProviderUri=string,RecommendationTransformerUri=string,RecommendationsDisplayName=string,RecommendationsPerMessage=integer

JSON Syntax:

{
  "Attributes": {"string": "string"
    ...},
  "Description": "string",
  "Name": "string",
  "RecommendationProviderIdType": "string",
  "RecommendationProviderRoleArn": "string",
  "RecommendationProviderUri": "string",
  "RecommendationTransformerUri": "string",
  "RecommendationsDisplayName": "string",
  "RecommendationsPerMessage": integer
}

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

RecommenderConfigurationResponse -> (structure)

Provides information about Amazon Pinpoint configuration settings for retrieving and processing data from a recommender model.

Attributes -> (map)

A map that defines 1-10 custom endpoint or user attributes, depending on the value for the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing. Each attribute can be used as a message variable in a message template.

This value is null if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.

key -> (string)

value -> (string)

CreationDate -> (string)

The date, in extended ISO 8601 format, when the configuration was created for the recommender model.

Description -> (string)

The custom description of the configuration for the recommender model.

Id -> (string)

The unique identifier for the recommender model configuration.

LastModifiedDate -> (string)

The date, in extended ISO 8601 format, when the configuration for the recommender model was last modified.

Name -> (string)

The custom name of the configuration for the recommender model.

RecommendationProviderIdType -> (string)

The type of Amazon Pinpoint ID that's associated with unique user IDs in the recommender model. This value enables the model to use attribute and event data that’s specific to a particular endpoint or user in an Amazon Pinpoint application. Possible values are:

  • PINPOINT_ENDPOINT_ID - Each user in the model is associated with a particular endpoint in Amazon Pinpoint. The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the default value.
  • PINPOINT_USER_ID - Each user in the model is associated with a particular user and endpoint in Amazon Pinpoint. The data is correlated based on user IDs in Amazon Pinpoint. If this value is specified, an endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) and an endpoint ID. Otherwise, messages won’t be sent to the user's endpoint.

RecommendationProviderRoleArn -> (string)

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.

RecommendationProviderUri -> (string)

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint retrieves the recommendation data from. This value is the ARN of an Amazon Personalize campaign.

RecommendationTransformerUri -> (string)

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to perform additional processing of recommendation data that it retrieves from the recommender model.

RecommendationsDisplayName -> (string)

The custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console.

This value is null if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.

RecommendationsPerMessage -> (integer)

The number of recommended items that are retrieved from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables.