GetPersonalizedRankingRequest

public struct GetPersonalizedRankingRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.

    Declaration

    Swift

    public let campaignArn: String
  • The contextual metadata to use when getting recommendations. Contextual metadata includes any interaction information that might be relevant when getting a user’s recommendations, such as the user’s current location or device type.

    Declaration

    Swift

    public let context: [String : String]?
  • The Amazon Resource Name (ARN) of a filter you created to include or exclude items from recommendations for a given user.

    Declaration

    Swift

    public let filterArn: String?
  • A list of items (by itemId) to rank. If an item was not included in the training dataset, the item is appended to the end of the reranked list. The maximum is 500.

    Declaration

    Swift

    public let inputList: [String]
  • The user for which you want the campaign to provide a personalized ranking.

    Declaration

    Swift

    public let userId: String
  • Undocumented

    Declaration

    Swift

    public init(campaignArn: String, context: [String : String]? = nil, filterArn: String? = nil, inputList: [String], userId: String)
  • Declaration

    Swift

    public func validate(name: String) throws