|
158 | 158 | },
|
159 | 159 | "filterValues":{
|
160 | 160 | "shape":"FilterValues",
|
161 |
| - "documentation":"<p>The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case) as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma. </p> <p>For filter expressions that use an <code>INCLUDE</code> element to include items, you must provide values for all parameters that are defined in the expression. For filters with expressions that use an <code>EXCLUDE</code> element to exclude items, you can omit the <code>filter-values</code>.In this case, Amazon Personalize doesn't use that portion of the expression to filter recommendations.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/filter.html\">Filtering Recommendations</a>.</p>" |
| 161 | + "documentation":"<p>The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case) as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma. </p> <p>For filter expressions that use an <code>INCLUDE</code> element to include items, you must provide values for all parameters that are defined in the expression. For filters with expressions that use an <code>EXCLUDE</code> element to exclude items, you can omit the <code>filter-values</code>.In this case, Amazon Personalize doesn't use that portion of the expression to filter recommendations.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/filter.html\">Filtering recommendations and user segments</a>.</p>" |
162 | 162 | },
|
163 | 163 | "recommenderArn":{
|
164 | 164 | "shape":"Arn",
|
165 | 165 | "documentation":"<p>The Amazon Resource Name (ARN) of the recommender to use to get recommendations. Provide a recommender ARN if you created a Domain dataset group with a recommender for a domain use case.</p>"
|
| 166 | + }, |
| 167 | + "promotions":{ |
| 168 | + "shape":"PromotionList", |
| 169 | + "documentation":"<p>The promotions to apply to the recommendation request. A promotion defines additional business rules that apply to a configurable subset of recommended items.</p>" |
166 | 170 | }
|
167 | 171 | }
|
168 | 172 | },
|
|
200 | 204 | "type":"list",
|
201 | 205 | "member":{"shape":"PredictedItem"}
|
202 | 206 | },
|
| 207 | + "Name":{ |
| 208 | + "type":"string", |
| 209 | + "max":63, |
| 210 | + "min":1, |
| 211 | + "pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\-_]*" |
| 212 | + }, |
203 | 213 | "NumResults":{
|
204 | 214 | "type":"integer",
|
205 | 215 | "min":0
|
206 | 216 | },
|
| 217 | + "PercentPromotedItems":{ |
| 218 | + "type":"integer", |
| 219 | + "max":100, |
| 220 | + "min":1 |
| 221 | + }, |
207 | 222 | "PredictedItem":{
|
208 | 223 | "type":"structure",
|
209 | 224 | "members":{
|
|
214 | 229 | "score":{
|
215 | 230 | "shape":"Score",
|
216 | 231 | "documentation":"<p>A numeric representation of the model's certainty that the item will be the next user selection. For more information on scoring logic, see <a>how-scores-work</a>.</p>"
|
| 232 | + }, |
| 233 | + "promotionName":{ |
| 234 | + "shape":"Name", |
| 235 | + "documentation":"<p>The name of the promotion that included the predicted item.</p>" |
217 | 236 | }
|
218 | 237 | },
|
219 | 238 | "documentation":"<p>An object that identifies an item.</p> <p>The and APIs return a list of <code>PredictedItem</code>s.</p>"
|
220 | 239 | },
|
| 240 | + "Promotion":{ |
| 241 | + "type":"structure", |
| 242 | + "members":{ |
| 243 | + "name":{ |
| 244 | + "shape":"Name", |
| 245 | + "documentation":"<p>The name of the promotion.</p>" |
| 246 | + }, |
| 247 | + "percentPromotedItems":{ |
| 248 | + "shape":"PercentPromotedItems", |
| 249 | + "documentation":"<p>The percentage of recommended items to apply the promotion to.</p>" |
| 250 | + }, |
| 251 | + "filterArn":{ |
| 252 | + "shape":"Arn", |
| 253 | + "documentation":"<p>The Amazon Resource Name (ARN) of the filter used by the promotion. This filter defines the criteria for promoted items. For more information, see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/promoting-items.html#promotion-filters\">Promotion filters</a>.</p>" |
| 254 | + }, |
| 255 | + "filterValues":{ |
| 256 | + "shape":"FilterValues", |
| 257 | + "documentation":"<p>The values to use when promoting items. For each placeholder parameter in your promotion's filter expression, provide the parameter name (in matching case) as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma. </p> <p>For filter expressions that use an <code>INCLUDE</code> element to include items, you must provide values for all parameters that are defined in the expression. For filters with expressions that use an <code>EXCLUDE</code> element to exclude items, you can omit the <code>filter-values</code>. In this case, Amazon Personalize doesn't use that portion of the expression to filter recommendations.</p> <p>For more information on creating filters, see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/filter.html\">Filtering recommendations and user segments</a>.</p>" |
| 258 | + } |
| 259 | + }, |
| 260 | + "documentation":"<p>Contains information on a promotion. A promotion defines additional business rules that apply to a configurable subset of recommended items.</p>" |
| 261 | + }, |
| 262 | + "PromotionList":{ |
| 263 | + "type":"list", |
| 264 | + "member":{"shape":"Promotion"}, |
| 265 | + "max":1 |
| 266 | + }, |
221 | 267 | "RecommendationID":{"type":"string"},
|
222 | 268 | "ResourceNotFoundException":{
|
223 | 269 | "type":"structure",
|
|
0 commit comments