|
377 | 377 | "documentation":"<p>Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with <a href=\"https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html\">GetRecommendations</a> and a <code>waitTimeSeconds</code> input for long-polling behavior and avoiding duplicate recommendations.</p>",
|
378 | 378 | "idempotent":true
|
379 | 379 | },
|
380 |
| - "PutFeedback":{ |
381 |
| - "name":"PutFeedback", |
382 |
| - "http":{ |
383 |
| - "method":"PUT", |
384 |
| - "requestUri":"/assistants/{assistantId}/feedback", |
385 |
| - "responseCode":200 |
386 |
| - }, |
387 |
| - "input":{"shape":"PutFeedbackRequest"}, |
388 |
| - "output":{"shape":"PutFeedbackResponse"}, |
389 |
| - "errors":[ |
390 |
| - {"shape":"ValidationException"}, |
391 |
| - {"shape":"AccessDeniedException"}, |
392 |
| - {"shape":"ResourceNotFoundException"} |
393 |
| - ], |
394 |
| - "documentation":"<p>Submits feedback to Wisdom. The feedback is used to improve future recommendations from <a href=\"https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html\">GetRecommendations</a> or results from <a href=\"https://docs.aws.amazon.com/wisdom/latest/APIReference/API_QueryAssistant.html\">QueryAssistant</a>. Feedback can be resubmitted up to 6 hours after submission. </p>", |
395 |
| - "idempotent":true |
396 |
| - }, |
397 | 380 | "QueryAssistant":{
|
398 | 381 | "name":"QueryAssistant",
|
399 | 382 | "http":{
|
|
1366 | 1349 | },
|
1367 | 1350 | "documentation":"<p>The text of the document.</p>"
|
1368 | 1351 | },
|
1369 |
| - "FeedbackData":{ |
1370 |
| - "type":"structure", |
1371 |
| - "required":["relevance"], |
1372 |
| - "members":{ |
1373 |
| - "relevance":{ |
1374 |
| - "shape":"Relevance", |
1375 |
| - "documentation":"<p>The relevance of the target this feedback is for.</p>" |
1376 |
| - } |
1377 |
| - }, |
1378 |
| - "documentation":"<p>The feedback to submit to Wisdom.</p>" |
1379 |
| - }, |
1380 | 1352 | "Filter":{
|
1381 | 1353 | "type":"structure",
|
1382 | 1354 | "required":[
|
|
2054 | 2026 | },
|
2055 | 2027 | "exception":true
|
2056 | 2028 | },
|
2057 |
| - "PutFeedbackRequest":{ |
2058 |
| - "type":"structure", |
2059 |
| - "required":[ |
2060 |
| - "assistantId", |
2061 |
| - "feedback", |
2062 |
| - "targetId", |
2063 |
| - "targetType" |
2064 |
| - ], |
2065 |
| - "members":{ |
2066 |
| - "assistantId":{ |
2067 |
| - "shape":"UuidOrArn", |
2068 |
| - "documentation":"<p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>", |
2069 |
| - "location":"uri", |
2070 |
| - "locationName":"assistantId" |
2071 |
| - }, |
2072 |
| - "feedback":{ |
2073 |
| - "shape":"FeedbackData", |
2074 |
| - "documentation":"<p>The feedback.</p>" |
2075 |
| - }, |
2076 |
| - "targetId":{ |
2077 |
| - "shape":"String", |
2078 |
| - "documentation":"<p>The identifier of a recommendation. or The identifier of the result data.</p>" |
2079 |
| - }, |
2080 |
| - "targetType":{ |
2081 |
| - "shape":"TargetType", |
2082 |
| - "documentation":"<p>The type of the targetId for which The feedback. is targeted.</p>" |
2083 |
| - } |
2084 |
| - } |
2085 |
| - }, |
2086 |
| - "PutFeedbackResponse":{ |
2087 |
| - "type":"structure", |
2088 |
| - "required":[ |
2089 |
| - "assistantArn", |
2090 |
| - "assistantId", |
2091 |
| - "feedback", |
2092 |
| - "targetId", |
2093 |
| - "targetType" |
2094 |
| - ], |
2095 |
| - "members":{ |
2096 |
| - "assistantArn":{ |
2097 |
| - "shape":"UuidOrArn", |
2098 |
| - "documentation":"<p>The Amazon Resource Name (ARN) of the Wisdom assistant.</p>" |
2099 |
| - }, |
2100 |
| - "assistantId":{ |
2101 |
| - "shape":"Uuid", |
2102 |
| - "documentation":"<p>The identifier of the Wisdom assistant.</p>" |
2103 |
| - }, |
2104 |
| - "feedback":{ |
2105 |
| - "shape":"FeedbackData", |
2106 |
| - "documentation":"<p>The feedback.</p>" |
2107 |
| - }, |
2108 |
| - "targetId":{ |
2109 |
| - "shape":"Uuid", |
2110 |
| - "documentation":"<p>The identifier of a recommendation. or The identifier of the result data.</p>" |
2111 |
| - }, |
2112 |
| - "targetType":{ |
2113 |
| - "shape":"TargetType", |
2114 |
| - "documentation":"<p>The type of the targetId for which The feedback. is targeted.</p>" |
2115 |
| - } |
2116 |
| - } |
2117 |
| - }, |
2118 | 2029 | "QueryAssistantRequest":{
|
2119 | 2030 | "type":"structure",
|
2120 | 2031 | "required":[
|
|
2276 | 2187 | "type":"string",
|
2277 | 2188 | "enum":["KNOWLEDGE_CONTENT"]
|
2278 | 2189 | },
|
2279 |
| - "Relevance":{ |
2280 |
| - "type":"string", |
2281 |
| - "enum":[ |
2282 |
| - "HELPFUL", |
2283 |
| - "NOT_HELPFUL" |
2284 |
| - ] |
2285 |
| - }, |
2286 | 2190 | "RelevanceLevel":{
|
2287 | 2191 | "type":"string",
|
2288 | 2192 | "enum":[
|
|
2658 | 2562 | "key":{"shape":"TagKey"},
|
2659 | 2563 | "value":{"shape":"TagValue"}
|
2660 | 2564 | },
|
2661 |
| - "TargetType":{ |
2662 |
| - "type":"string", |
2663 |
| - "enum":[ |
2664 |
| - "RECOMMENDATION", |
2665 |
| - "RESULT" |
2666 |
| - ] |
2667 |
| - }, |
2668 | 2565 | "TooManyTagsException":{
|
2669 | 2566 | "type":"structure",
|
2670 | 2567 | "members":{
|
|
0 commit comments