Awso_personalize_runtime_eioSourceval get_action_recommendations :
?endpoint_url:string ->
?cfg:Awso_eio.Cfg.t ->
Awso_personalize_runtime.Values.GetActionRecommendationsRequest.t ->
(Awso_personalize_runtime.Values.GetActionRecommendationsResponse.t,
Awso_personalize_runtime.Values.GetActionRecommendationsResponse.error)
Result.tval get_personalized_ranking :
?endpoint_url:string ->
?cfg:Awso_eio.Cfg.t ->
Awso_personalize_runtime.Values.GetPersonalizedRankingRequest.t ->
(Awso_personalize_runtime.Values.GetPersonalizedRankingResponse.t,
Awso_personalize_runtime.Values.GetPersonalizedRankingResponse.error)
Result.tval get_recommendations :
?endpoint_url:string ->
?cfg:Awso_eio.Cfg.t ->
Awso_personalize_runtime.Values.GetRecommendationsRequest.t ->
(Awso_personalize_runtime.Values.GetRecommendationsResponse.t,
Awso_personalize_runtime.Values.GetRecommendationsResponse.error)
Result.tinclude module type of struct include Awso_personalize_runtime.Values endval structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]An object that identifies an item. The and APIs return a list of PredictedItems.
Contains information on a promotion. A promotion defines additional business rules that apply to a configurable subset of recommended items.
An object that identifies an action. The API returns a list of PredictedActions.
Provide a valid value for the field or parameter.
The specified resource does not exist.
module GetRecommendationsResponse =
Awso_personalize_runtime.Values.GetRecommendationsResponseReturns 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: USER_PERSONALIZATION - userId required, itemId not used RELATED_ITEMS - itemId required, userId not used Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING use the API. For recommenders, the recommender's ARN is required and the required item and user input depends on the use case (domain-based recipe) backing the recommender. For information on use case requirements see Choosing recommender use cases.
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: USER_PERSONALIZATION - userId required, itemId not used RELATED_ITEMS - itemId required, userId not used Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING use the API. For recommenders, the recommender's ARN is required and the required item and user input depends on the use case (domain-based recipe) backing the recommender. For information on use case requirements see Choosing recommender use cases.
module GetPersonalizedRankingResponse =
Awso_personalize_runtime.Values.GetPersonalizedRankingResponseRe-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.
module GetPersonalizedRankingRequest =
Awso_personalize_runtime.Values.GetPersonalizedRankingRequestRe-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.
module GetActionRecommendationsResponse =
Awso_personalize_runtime.Values.GetActionRecommendationsResponseReturns 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. For more information about PERSONALIZED_ACTIONS recipes, see PERSONALIZED_ACTIONS recipes. For more information about getting action recommendations, see Getting action recommendations.
module GetActionRecommendationsRequest =
Awso_personalize_runtime.Values.GetActionRecommendationsRequestReturns 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. For more information about PERSONALIZED_ACTIONS recipes, see PERSONALIZED_ACTIONS recipes. For more information about getting action recommendations, see Getting action recommendations.