[][src]Trait rusoto_personalize_runtime::PersonalizeRuntime

pub trait PersonalizeRuntime {
#[must_use]    pub 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
;
#[must_use] pub 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
; }

Trait representing the capabilities of the Amazon Personalize Runtime API. Amazon Personalize Runtime clients implement this trait.

Required methods

#[must_use]pub 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]

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.

#[must_use]pub 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]

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.

Loading content...

Implementors

impl PersonalizeRuntime for PersonalizeRuntimeClient[src]

pub 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]

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.

pub 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]

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.

Loading content...