NAME

Paws::PersonalizeRuntime - Perl Interface to AWS Amazon Personalize Runtime

SYNOPSIS

  use Paws;

  my $obj = Paws->service('PersonalizeRuntime');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

DESCRIPTION

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22

METHODS

GetPersonalizedRanking

CampaignArn => Str
InputList => ArrayRef[Str|Undef]
UserId => Str

Each argument is described in detail in: Paws::PersonalizeRuntime::GetPersonalizedRanking

Returns: a Paws::PersonalizeRuntime::GetPersonalizedRankingResponse instance

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.

GetRecommendations

CampaignArn => Str
[ItemId => Str]
[NumResults => Int]
[UserId => Str]

Each argument is described in detail in: Paws::PersonalizeRuntime::GetRecommendations

Returns: a Paws::PersonalizeRuntime::GetRecommendationsResponse instance

Returns a list of recommended items. The required input depends on the recipe type used to create the solution backing the campaign, as follows:

  • RELATED_ITEMS - itemId required, userId not used

  • USER_PERSONALIZATION - itemId optional, userId required

Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING use the API.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues