[−][src]Trait rusoto_personalize_runtime::PersonalizeRuntime
Trait representing the capabilities of the Amazon Personalize Runtime API. Amazon Personalize Runtime clients implement this trait.
Required methods
fn get_personalized_ranking<'life0, 'async_trait>(
&'life0 self,
input: GetPersonalizedRankingRequest
) -> Pin<Box<dyn Future<Output = Result<GetPersonalizedRankingResponse, RusotoError<GetPersonalizedRankingError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: GetPersonalizedRankingRequest
) -> Pin<Box<dyn Future<Output = Result<GetPersonalizedRankingResponse, RusotoError<GetPersonalizedRankingError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
The solution backing the campaign must have been created using a recipe of type PERSONALIZED_RANKING.
fn get_recommendations<'life0, 'async_trait>(
&'life0 self,
input: GetRecommendationsRequest
) -> Pin<Box<dyn Future<Output = Result<GetRecommendationsResponse, RusotoError<GetRecommendationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: GetRecommendationsRequest
) -> Pin<Box<dyn Future<Output = Result<GetRecommendationsResponse, RusotoError<GetRecommendationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of recommended items. The required input depends on the recipe type used to create the solution backing the campaign, as follows:
-
RELATEDITEMS -
itemId
required,userId
not used -
USERPERSONALIZATION -
itemId
optional,userId
required
Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING use the API.
Implementors
impl PersonalizeRuntime for PersonalizeRuntimeClient
[src]
fn get_personalized_ranking<'life0, 'async_trait>(
&'life0 self,
input: GetPersonalizedRankingRequest
) -> Pin<Box<dyn Future<Output = Result<GetPersonalizedRankingResponse, RusotoError<GetPersonalizedRankingError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: GetPersonalizedRankingRequest
) -> Pin<Box<dyn Future<Output = Result<GetPersonalizedRankingResponse, RusotoError<GetPersonalizedRankingError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
The solution backing the campaign must have been created using a recipe of type PERSONALIZED_RANKING.
fn get_recommendations<'life0, 'async_trait>(
&'life0 self,
input: GetRecommendationsRequest
) -> Pin<Box<dyn Future<Output = Result<GetRecommendationsResponse, RusotoError<GetRecommendationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: GetRecommendationsRequest
) -> Pin<Box<dyn Future<Output = Result<GetRecommendationsResponse, RusotoError<GetRecommendationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of recommended items. The required input depends on the recipe type used to create the solution backing the campaign, as follows:
-
RELATEDITEMS -
itemId
required,userId
not used -
USERPERSONALIZATION -
itemId
optional,userId
required
Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING use the API.