Versions in this module Expand all Collapse all v1 v1.0.1 Jul 4, 2024 v1.0.0 Jul 4, 2024 Changes in this version + const EndpointsID + const ErrCodeInvalidInputException + const ErrCodeResourceNotFoundException + const ServiceID + const ServiceName + type GetPersonalizedRankingInput struct + CampaignArn *string + Context map[string]*string + FilterArn *string + FilterValues map[string]*string + InputList []*string + UserId *string + func (s *GetPersonalizedRankingInput) SetCampaignArn(v string) *GetPersonalizedRankingInput + func (s *GetPersonalizedRankingInput) SetContext(v map[string]*string) *GetPersonalizedRankingInput + func (s *GetPersonalizedRankingInput) SetFilterArn(v string) *GetPersonalizedRankingInput + func (s *GetPersonalizedRankingInput) SetFilterValues(v map[string]*string) *GetPersonalizedRankingInput + func (s *GetPersonalizedRankingInput) SetInputList(v []*string) *GetPersonalizedRankingInput + func (s *GetPersonalizedRankingInput) SetUserId(v string) *GetPersonalizedRankingInput + func (s *GetPersonalizedRankingInput) Validate() error + func (s GetPersonalizedRankingInput) GoString() string + func (s GetPersonalizedRankingInput) String() string + type GetPersonalizedRankingOutput struct + PersonalizedRanking []*PredictedItem + RecommendationId *string + func (s *GetPersonalizedRankingOutput) SetPersonalizedRanking(v []*PredictedItem) *GetPersonalizedRankingOutput + func (s *GetPersonalizedRankingOutput) SetRecommendationId(v string) *GetPersonalizedRankingOutput + func (s GetPersonalizedRankingOutput) GoString() string + func (s GetPersonalizedRankingOutput) String() string + type GetRecommendationsInput struct + CampaignArn *string + Context map[string]*string + FilterArn *string + FilterValues map[string]*string + ItemId *string + NumResults *int64 + Promotions []*Promotion + RecommenderArn *string + UserId *string + func (s *GetRecommendationsInput) SetCampaignArn(v string) *GetRecommendationsInput + func (s *GetRecommendationsInput) SetContext(v map[string]*string) *GetRecommendationsInput + func (s *GetRecommendationsInput) SetFilterArn(v string) *GetRecommendationsInput + func (s *GetRecommendationsInput) SetFilterValues(v map[string]*string) *GetRecommendationsInput + func (s *GetRecommendationsInput) SetItemId(v string) *GetRecommendationsInput + func (s *GetRecommendationsInput) SetNumResults(v int64) *GetRecommendationsInput + func (s *GetRecommendationsInput) SetPromotions(v []*Promotion) *GetRecommendationsInput + func (s *GetRecommendationsInput) SetRecommenderArn(v string) *GetRecommendationsInput + func (s *GetRecommendationsInput) SetUserId(v string) *GetRecommendationsInput + func (s *GetRecommendationsInput) Validate() error + func (s GetRecommendationsInput) GoString() string + func (s GetRecommendationsInput) String() string + type GetRecommendationsOutput struct + ItemList []*PredictedItem + RecommendationId *string + func (s *GetRecommendationsOutput) SetItemList(v []*PredictedItem) *GetRecommendationsOutput + func (s *GetRecommendationsOutput) SetRecommendationId(v string) *GetRecommendationsOutput + func (s GetRecommendationsOutput) GoString() string + func (s GetRecommendationsOutput) String() string + type InvalidInputException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *InvalidInputException) Code() string + func (s *InvalidInputException) Error() string + func (s *InvalidInputException) Message() string + func (s *InvalidInputException) OrigErr() error + func (s *InvalidInputException) RequestID() string + func (s *InvalidInputException) StatusCode() int + func (s InvalidInputException) GoString() string + func (s InvalidInputException) String() string + type PersonalizeRuntime struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *PersonalizeRuntime + func (c *PersonalizeRuntime) GetPersonalizedRanking(input *GetPersonalizedRankingInput) (*GetPersonalizedRankingOutput, error) + func (c *PersonalizeRuntime) GetPersonalizedRankingRequest(input *GetPersonalizedRankingInput) (req *request.Request, output *GetPersonalizedRankingOutput) + func (c *PersonalizeRuntime) GetPersonalizedRankingWithContext(ctx aws.Context, input *GetPersonalizedRankingInput, opts ...request.Option) (*GetPersonalizedRankingOutput, error) + func (c *PersonalizeRuntime) GetRecommendations(input *GetRecommendationsInput) (*GetRecommendationsOutput, error) + func (c *PersonalizeRuntime) GetRecommendationsRequest(input *GetRecommendationsInput) (req *request.Request, output *GetRecommendationsOutput) + func (c *PersonalizeRuntime) GetRecommendationsWithContext(ctx aws.Context, input *GetRecommendationsInput, opts ...request.Option) (*GetRecommendationsOutput, error) + type PredictedItem struct + ItemId *string + PromotionName *string + Score *float64 + func (s *PredictedItem) SetItemId(v string) *PredictedItem + func (s *PredictedItem) SetPromotionName(v string) *PredictedItem + func (s *PredictedItem) SetScore(v float64) *PredictedItem + func (s PredictedItem) GoString() string + func (s PredictedItem) String() string + type Promotion struct + FilterArn *string + FilterValues map[string]*string + Name *string + PercentPromotedItems *int64 + func (s *Promotion) SetFilterArn(v string) *Promotion + func (s *Promotion) SetFilterValues(v map[string]*string) *Promotion + func (s *Promotion) SetName(v string) *Promotion + func (s *Promotion) SetPercentPromotedItems(v int64) *Promotion + func (s *Promotion) Validate() error + func (s Promotion) GoString() string + func (s Promotion) String() string + type ResourceNotFoundException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceNotFoundException) Code() string + func (s *ResourceNotFoundException) Error() string + func (s *ResourceNotFoundException) Message() string + func (s *ResourceNotFoundException) OrigErr() error + func (s *ResourceNotFoundException) RequestID() string + func (s *ResourceNotFoundException) StatusCode() int + func (s ResourceNotFoundException) GoString() string + func (s ResourceNotFoundException) String() string