PERSONALIZE-RUNTIME

GetActionRecommendations

valid {
    input.Body.campaignArn == STRING
    input.Body.userId == STRING
    input.Body.numResults == INTEGER
    input.Body.filterArn == STRING
    input.Body.filterValues.STRING == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetPersonalizedRanking

valid {
    input.Body.campaignArn == STRING
    input.Body.inputList[_] == STRING
    input.Body.userId == STRING
    input.Body.context.STRING == STRING
    input.Body.filterArn == STRING
    input.Body.filterValues.STRING == STRING
    input.Body.metadataColumns.STRING[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetRecommendations

valid {
    input.Body.campaignArn == STRING
    input.Body.itemId == STRING
    input.Body.userId == STRING
    input.Body.numResults == INTEGER
    input.Body.context.STRING == STRING
    input.Body.filterArn == STRING
    input.Body.filterValues.STRING == STRING
    input.Body.recommenderArn == STRING
    input.Body.promotions[_].name == STRING
    input.Body.promotions[_].percentPromotedItems == INTEGER
    input.Body.promotions[_].filterArn == STRING
    input.Body.promotions[_].filterValues.STRING == STRING
    input.Body.metadataColumns.STRING[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}