PersonalizeRuntimeClient

Properties

Link copied to clipboard

PersonalizeRuntimeClient's configuration

Functions

Link copied to clipboard
abstract suspend fun getActionRecommendations(input: GetActionRecommendationsRequest = GetActionRecommendationsRequest { }): GetActionRecommendationsResponse

Returns a list of recommended actions in sorted in descending order by prediction score. Use the GetActionRecommendations API if you have a custom campaign that deploys a solution version trained with a PERSONALIZED_ACTIONS recipe.

Link copied to clipboard

Re-ranks a list of recommended items for the given user. The first item in the list is deemed the most likely item to be of interest to the user.

Link copied to clipboard
abstract suspend fun getRecommendations(input: GetRecommendationsRequest = GetRecommendationsRequest { }): GetRecommendationsResponse

Returns a list of recommended items. For campaigns, the campaign's Amazon Resource Name (ARN) is required and the required user and item input depends on the recipe type used to create the solution backing the campaign as follows:

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Returns a list of recommended actions in sorted in descending order by prediction score. Use the GetActionRecommendations API if you have a custom campaign that deploys a solution version trained with a PERSONALIZED_ACTIONS recipe.

Link copied to clipboard

Re-ranks a list of recommended items for the given user. The first item in the list is deemed the most likely item to be of interest to the user.

Link copied to clipboard

Returns a list of recommended items. For campaigns, the campaign's Amazon Resource Name (ARN) is required and the required user and item input depends on the recipe type used to create the solution backing the campaign as follows:

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.