[−][src]Struct rusoto_personalize_runtime::PersonalizeRuntimeClient
A client for the Amazon Personalize Runtime API.
Implementations
impl PersonalizeRuntimeClient
[src]
pub fn new(region: Region) -> PersonalizeRuntimeClient
[src]
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> PersonalizeRuntimeClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> PersonalizeRuntimeClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(
client: Client,
region: Region
) -> PersonalizeRuntimeClient
[src]
client: Client,
region: Region
) -> PersonalizeRuntimeClient
Trait Implementations
impl Clone for PersonalizeRuntimeClient
[src]
pub fn clone(&self) -> PersonalizeRuntimeClient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]
&'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.
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]
&'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.
Auto Trait Implementations
impl !RefUnwindSafe for PersonalizeRuntimeClient
[src]
impl Send for PersonalizeRuntimeClient
[src]
impl Sync for PersonalizeRuntimeClient
[src]
impl Unpin for PersonalizeRuntimeClient
[src]
impl !UnwindSafe for PersonalizeRuntimeClient
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,