1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2022-10-19",
5    "endpointPrefix":"kendra-ranking",
6    "jsonVersion":"1.0",
7    "protocol":"json",
8    "serviceAbbreviation":"Kendra Ranking",
9    "serviceFullName":"Amazon Kendra Intelligent Ranking",
10    "serviceId":"Kendra Ranking",
11    "signatureVersion":"v4",
12    "signingName":"kendra-ranking",
13    "targetPrefix":"AWSKendraRerankingFrontendService",
14    "uid":"kendra-ranking-2022-10-19"
15  },
16  "operations":{
17    "CreateRescoreExecutionPlan":{
18      "name":"CreateRescoreExecutionPlan",
19      "http":{
20        "method":"POST",
21        "requestUri":"/"
22      },
23      "input":{"shape":"CreateRescoreExecutionPlanRequest"},
24      "output":{"shape":"CreateRescoreExecutionPlanResponse"},
25      "errors":[
26        {"shape":"AccessDeniedException"},
27        {"shape":"ConflictException"},
28        {"shape":"ServiceQuotaExceededException"},
29        {"shape":"ThrottlingException"},
30        {"shape":"ValidationException"},
31        {"shape":"InternalServerException"}
32      ],
33      "documentation":"<p>Creates a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API. You set the number of capacity units that you require for Amazon Kendra Intelligent Ranking to rescore or re-rank a search service's results.</p> <p>For an example of using the <code>CreateRescoreExecutionPlan</code> API, including using the Python and Java SDKs, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/search-service-rerank.html\">Semantically ranking a search service's results</a>.</p>"
34    },
35    "DeleteRescoreExecutionPlan":{
36      "name":"DeleteRescoreExecutionPlan",
37      "http":{
38        "method":"POST",
39        "requestUri":"/"
40      },
41      "input":{"shape":"DeleteRescoreExecutionPlanRequest"},
42      "errors":[
43        {"shape":"AccessDeniedException"},
44        {"shape":"ValidationException"},
45        {"shape":"ConflictException"},
46        {"shape":"ResourceNotFoundException"},
47        {"shape":"ThrottlingException"},
48        {"shape":"InternalServerException"}
49      ],
50      "documentation":"<p>Deletes a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API.</p>"
51    },
52    "DescribeRescoreExecutionPlan":{
53      "name":"DescribeRescoreExecutionPlan",
54      "http":{
55        "method":"POST",
56        "requestUri":"/"
57      },
58      "input":{"shape":"DescribeRescoreExecutionPlanRequest"},
59      "output":{"shape":"DescribeRescoreExecutionPlanResponse"},
60      "errors":[
61        {"shape":"ValidationException"},
62        {"shape":"ResourceNotFoundException"},
63        {"shape":"ThrottlingException"},
64        {"shape":"AccessDeniedException"},
65        {"shape":"InternalServerException"}
66      ],
67      "documentation":"<p>Gets information about a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API.</p>"
68    },
69    "ListRescoreExecutionPlans":{
70      "name":"ListRescoreExecutionPlans",
71      "http":{
72        "method":"POST",
73        "requestUri":"/"
74      },
75      "input":{"shape":"ListRescoreExecutionPlansRequest"},
76      "output":{"shape":"ListRescoreExecutionPlansResponse"},
77      "errors":[
78        {"shape":"ValidationException"},
79        {"shape":"AccessDeniedException"},
80        {"shape":"ThrottlingException"},
81        {"shape":"InternalServerException"}
82      ],
83      "documentation":"<p>Lists your rescore execution plans. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API.</p>"
84    },
85    "ListTagsForResource":{
86      "name":"ListTagsForResource",
87      "http":{
88        "method":"POST",
89        "requestUri":"/"
90      },
91      "input":{"shape":"ListTagsForResourceRequest"},
92      "output":{"shape":"ListTagsForResourceResponse"},
93      "errors":[
94        {"shape":"ValidationException"},
95        {"shape":"ResourceUnavailableException"},
96        {"shape":"ThrottlingException"},
97        {"shape":"AccessDeniedException"},
98        {"shape":"InternalServerException"}
99      ],
100      "documentation":"<p>Gets a list of tags associated with a specified resource. A rescore execution plan is an example of a resource that can have tags associated with it.</p>"
101    },
102    "Rescore":{
103      "name":"Rescore",
104      "http":{
105        "method":"POST",
106        "requestUri":"/"
107      },
108      "input":{"shape":"RescoreRequest"},
109      "output":{"shape":"RescoreResult"},
110      "errors":[
111        {"shape":"ValidationException"},
112        {"shape":"ConflictException"},
113        {"shape":"AccessDeniedException"},
114        {"shape":"ResourceNotFoundException"},
115        {"shape":"ThrottlingException"},
116        {"shape":"InternalServerException"}
117      ],
118      "documentation":"<p>Rescores or re-ranks search results from a search service such as OpenSearch (self managed). You use the semantic search capabilities of Amazon Kendra Intelligent Ranking to improve the search service's results.</p>"
119    },
120    "TagResource":{
121      "name":"TagResource",
122      "http":{
123        "method":"POST",
124        "requestUri":"/"
125      },
126      "input":{"shape":"TagResourceRequest"},
127      "output":{"shape":"TagResourceResponse"},
128      "errors":[
129        {"shape":"ValidationException"},
130        {"shape":"ResourceUnavailableException"},
131        {"shape":"ThrottlingException"},
132        {"shape":"AccessDeniedException"},
133        {"shape":"InternalServerException"}
134      ],
135      "documentation":"<p>Adds a specified tag to a specified rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API. If the tag already exists, the existing value is replaced with the new value.</p>"
136    },
137    "UntagResource":{
138      "name":"UntagResource",
139      "http":{
140        "method":"POST",
141        "requestUri":"/"
142      },
143      "input":{"shape":"UntagResourceRequest"},
144      "output":{"shape":"UntagResourceResponse"},
145      "errors":[
146        {"shape":"ValidationException"},
147        {"shape":"ResourceUnavailableException"},
148        {"shape":"ThrottlingException"},
149        {"shape":"AccessDeniedException"},
150        {"shape":"InternalServerException"}
151      ],
152      "documentation":"<p>Removes a tag from a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> operation.</p>"
153    },
154    "UpdateRescoreExecutionPlan":{
155      "name":"UpdateRescoreExecutionPlan",
156      "http":{
157        "method":"POST",
158        "requestUri":"/"
159      },
160      "input":{"shape":"UpdateRescoreExecutionPlanRequest"},
161      "errors":[
162        {"shape":"ValidationException"},
163        {"shape":"ResourceNotFoundException"},
164        {"shape":"ThrottlingException"},
165        {"shape":"AccessDeniedException"},
166        {"shape":"ServiceQuotaExceededException"},
167        {"shape":"ConflictException"},
168        {"shape":"InternalServerException"}
169      ],
170      "documentation":"<p>Updates a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API. You can update the number of capacity units you require for Amazon Kendra Intelligent Ranking to rescore or re-rank a search service's results.</p>"
171    }
172  },
173  "shapes":{
174    "AccessDeniedException":{
175      "type":"structure",
176      "members":{
177        "Message":{"shape":"ErrorMessage"}
178      },
179      "documentation":"<p>You don’t have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.</p>",
180      "exception":true
181    },
182    "AmazonResourceName":{
183      "type":"string",
184      "max":1011,
185      "min":1
186    },
187    "BodyTokensList":{
188      "type":"list",
189      "member":{"shape":"Tokens"},
190      "min":1
191    },
192    "CapacityUnitsConfiguration":{
193      "type":"structure",
194      "required":["RescoreCapacityUnits"],
195      "members":{
196        "RescoreCapacityUnits":{
197          "shape":"RescoreCapacityUnit",
198          "documentation":"<p>The amount of extra capacity for your rescore execution plan.</p> <p>A single extra capacity unit for a rescore execution plan provides 0.01 rescore requests per second. You can add up to 1000 extra capacity units.</p>"
199        }
200      },
201      "documentation":"<p>Sets additional capacity units configured for your rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API. You can add and remove capacity units to fit your usage requirements.</p>"
202    },
203    "ClientTokenName":{
204      "type":"string",
205      "max":64,
206      "min":1,
207      "pattern":"^$|[\\x00-\\x7F]+"
208    },
209    "ConflictException":{
210      "type":"structure",
211      "members":{
212        "Message":{"shape":"ErrorMessage"}
213      },
214      "documentation":"<p>A conflict occurred with the request. Please fix any inconsistencies with your resources and try again.</p>",
215      "exception":true
216    },
217    "CreateRescoreExecutionPlanRequest":{
218      "type":"structure",
219      "required":["Name"],
220      "members":{
221        "Name":{
222          "shape":"RescoreExecutionPlanName",
223          "documentation":"<p>A name for the rescore execution plan.</p>"
224        },
225        "Description":{
226          "shape":"Description",
227          "documentation":"<p>A description for the rescore execution plan.</p>"
228        },
229        "CapacityUnits":{
230          "shape":"CapacityUnitsConfiguration",
231          "documentation":"<p>You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html\">Adjusting capacity</a>.</p>"
232        },
233        "Tags":{
234          "shape":"TagList",
235          "documentation":"<p>A list of key-value pairs that identify or categorize your rescore execution plan. You can also use tags to help control access to the rescore execution plan. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>"
236        },
237        "ClientToken":{
238          "shape":"ClientTokenName",
239          "documentation":"<p>A token that you provide to identify the request to create a rescore execution plan. Multiple calls to the <code>CreateRescoreExecutionPlanRequest</code> API with the same client token will create only one rescore execution plan.</p>",
240          "idempotencyToken":true
241        }
242      }
243    },
244    "CreateRescoreExecutionPlanResponse":{
245      "type":"structure",
246      "required":[
247        "Id",
248        "Arn"
249      ],
250      "members":{
251        "Id":{
252          "shape":"RescoreExecutionPlanId",
253          "documentation":"<p>The identifier of the rescore execution plan.</p>"
254        },
255        "Arn":{
256          "shape":"RescoreExecutionPlanArn",
257          "documentation":"<p>The Amazon Resource Name (ARN) of the rescore execution plan.</p>"
258        }
259      }
260    },
261    "DeleteRescoreExecutionPlanRequest":{
262      "type":"structure",
263      "required":["Id"],
264      "members":{
265        "Id":{
266          "shape":"RescoreExecutionPlanId",
267          "documentation":"<p>The identifier of the rescore execution plan that you want to delete.</p>"
268        }
269      }
270    },
271    "DescribeRescoreExecutionPlanRequest":{
272      "type":"structure",
273      "required":["Id"],
274      "members":{
275        "Id":{
276          "shape":"RescoreExecutionPlanId",
277          "documentation":"<p>The identifier of the rescore execution plan that you want to get information on.</p>"
278        }
279      }
280    },
281    "DescribeRescoreExecutionPlanResponse":{
282      "type":"structure",
283      "members":{
284        "Id":{
285          "shape":"RescoreExecutionPlanId",
286          "documentation":"<p>The identifier of the rescore execution plan.</p>"
287        },
288        "Arn":{
289          "shape":"RescoreExecutionPlanArn",
290          "documentation":"<p>The Amazon Resource Name (ARN) of the rescore execution plan.</p>"
291        },
292        "Name":{
293          "shape":"RescoreExecutionPlanName",
294          "documentation":"<p>The name for the rescore execution plan.</p>"
295        },
296        "Description":{
297          "shape":"Description",
298          "documentation":"<p>The description for the rescore execution plan.</p>"
299        },
300        "CapacityUnits":{
301          "shape":"CapacityUnitsConfiguration",
302          "documentation":"<p>The capacity units set for the rescore execution plan. A capacity of zero indicates that the rescore execution plan is using the default capacity. For more information on the default capacity and additional capacity units, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html\">Adjusting capacity</a>.</p>"
303        },
304        "CreatedAt":{
305          "shape":"Timestamp",
306          "documentation":"<p>The Unix timestamp of when the rescore execution plan was created.</p>"
307        },
308        "UpdatedAt":{
309          "shape":"Timestamp",
310          "documentation":"<p>The Unix timestamp of when the rescore execution plan was last updated.</p>"
311        },
312        "Status":{
313          "shape":"RescoreExecutionPlanStatus",
314          "documentation":"<p>The current status of the rescore execution plan. When the value is <code>ACTIVE</code>, the rescore execution plan is ready for use. If the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a message that explains why.</p>"
315        },
316        "ErrorMessage":{
317          "shape":"ErrorMessage",
318          "documentation":"<p>When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a message that explains why.</p>"
319        }
320      }
321    },
322    "Description":{
323      "type":"string",
324      "max":1000,
325      "min":0,
326      "pattern":"^\\P{C}*$"
327    },
328    "Document":{
329      "type":"structure",
330      "required":[
331        "Id",
332        "OriginalScore"
333      ],
334      "members":{
335        "Id":{
336          "shape":"DocumentId",
337          "documentation":"<p>The identifier of the document from the search service.</p>"
338        },
339        "GroupId":{
340          "shape":"GroupId",
341          "documentation":"<p>The optional group identifier of the document from the search service. Documents with the same group identifier are grouped together and processed as one document within the service.</p>"
342        },
343        "Title":{
344          "shape":"DocumentTitle",
345          "documentation":"<p>The title of the search service's document.</p>"
346        },
347        "Body":{
348          "shape":"DocumentBody",
349          "documentation":"<p>The body text of the search service's document.</p>"
350        },
351        "TokenizedTitle":{
352          "shape":"TitleTokensList",
353          "documentation":"<p>The title of the search service's document represented as a list of tokens or words. You must choose to provide <code>Title</code> or <code>TokenizedTitle</code>. You cannot provide both.</p>"
354        },
355        "TokenizedBody":{
356          "shape":"BodyTokensList",
357          "documentation":"<p>The body text of the search service's document represented as a list of tokens or words. You must choose to provide <code>Body</code> or <code>TokenizedBody</code>. You cannot provide both.</p>"
358        },
359        "OriginalScore":{
360          "shape":"Float",
361          "documentation":"<p>The original document score or rank from the search service. Amazon Kendra Intelligent Ranking gives the document a new score or rank based on its intelligent search algorithms.</p>"
362        }
363      },
364      "documentation":"<p>Information about a document from a search service such as OpenSearch (self managed). Amazon Kendra Intelligent Ranking uses this information to rank and score on.</p>"
365    },
366    "DocumentBody":{
367      "type":"string",
368      "max":2048,
369      "min":1,
370      "pattern":"^\\P{C}*$"
371    },
372    "DocumentId":{
373      "type":"string",
374      "max":2048,
375      "min":1
376    },
377    "DocumentList":{
378      "type":"list",
379      "member":{"shape":"Document"},
380      "min":1
381    },
382    "DocumentTitle":{
383      "type":"string",
384      "max":1024,
385      "min":1
386    },
387    "ErrorMessage":{
388      "type":"string",
389      "max":2048,
390      "min":1,
391      "pattern":"^\\P{C}*$"
392    },
393    "Float":{
394      "type":"float",
395      "max":100000,
396      "min":-100000
397    },
398    "GroupId":{
399      "type":"string",
400      "max":2048,
401      "min":1
402    },
403    "InternalServerException":{
404      "type":"structure",
405      "members":{
406        "Message":{"shape":"ErrorMessage"}
407      },
408      "documentation":"<p>An issue occurred with the internal server used for your Amazon Kendra Intelligent Ranking service. Please wait a few minutes and try again, or contact <a href=\"http://aws.amazon.com/contact-us/\">Support</a> for help.</p>",
409      "exception":true,
410      "fault":true
411    },
412    "ListRescoreExecutionPlansRequest":{
413      "type":"structure",
414      "members":{
415        "NextToken":{
416          "shape":"NextToken",
417          "documentation":"<p>If the response is truncated, Amazon Kendra Intelligent Ranking returns a pagination token in the response. You can use this pagination token to retrieve the next set of rescore execution plans.</p>"
418        },
419        "MaxResults":{
420          "shape":"MaxResultsIntegerForListRescoreExecutionPlansRequest",
421          "documentation":"<p>The maximum number of rescore execution plans to return.</p>"
422        }
423      }
424    },
425    "ListRescoreExecutionPlansResponse":{
426      "type":"structure",
427      "members":{
428        "SummaryItems":{
429          "shape":"RescoreExecutionPlanSummaryList",
430          "documentation":"<p>An array of summary information for one or more rescore execution plans.</p>"
431        },
432        "NextToken":{
433          "shape":"NextToken",
434          "documentation":"<p>If the response is truncated, Amazon Kendra Intelligent Ranking returns a pagination token in the response.</p>"
435        }
436      }
437    },
438    "ListTagsForResourceRequest":{
439      "type":"structure",
440      "required":["ResourceARN"],
441      "members":{
442        "ResourceARN":{
443          "shape":"AmazonResourceName",
444          "documentation":"<p>The Amazon Resource Name (ARN) of the rescore execution plan to get a list of tags for.</p>"
445        }
446      },
447      "documentation":"<p>The request information for listing tags associated with a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API.</p>"
448    },
449    "ListTagsForResourceResponse":{
450      "type":"structure",
451      "members":{
452        "Tags":{
453          "shape":"TagList",
454          "documentation":"<p>A list of tags associated with the rescore execution plan.</p>"
455        }
456      },
457      "documentation":"<p>If the action is successful, the service sends back an HTTP 200 response.</p>"
458    },
459    "MaxResultsIntegerForListRescoreExecutionPlansRequest":{
460      "type":"integer",
461      "max":50,
462      "min":1
463    },
464    "NextToken":{
465      "type":"string",
466      "max":800,
467      "min":1,
468      "pattern":"^\\P{C}*$"
469    },
470    "RescoreCapacityUnit":{
471      "type":"integer",
472      "min":0
473    },
474    "RescoreExecutionPlanArn":{
475      "type":"string",
476      "max":1284,
477      "min":0,
478      "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}"
479    },
480    "RescoreExecutionPlanId":{
481      "type":"string",
482      "max":36,
483      "min":36,
484      "pattern":"[a-zA-Z0-9][a-zA-Z0-9-]*"
485    },
486    "RescoreExecutionPlanName":{
487      "type":"string",
488      "max":1000,
489      "min":1,
490      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
491    },
492    "RescoreExecutionPlanStatus":{
493      "type":"string",
494      "enum":[
495        "CREATING",
496        "UPDATING",
497        "ACTIVE",
498        "DELETING",
499        "FAILED"
500      ]
501    },
502    "RescoreExecutionPlanSummary":{
503      "type":"structure",
504      "members":{
505        "Name":{
506          "shape":"RescoreExecutionPlanName",
507          "documentation":"<p>The name of the rescore execution plan.</p>"
508        },
509        "Id":{
510          "shape":"RescoreExecutionPlanId",
511          "documentation":"<p>The identifier of the rescore execution plan.</p>"
512        },
513        "CreatedAt":{
514          "shape":"Timestamp",
515          "documentation":"<p>The Unix timestamp when the rescore execution plan was created.</p>"
516        },
517        "UpdatedAt":{
518          "shape":"Timestamp",
519          "documentation":"<p>The Unix timestamp when the rescore execution plan was last updated.</p>"
520        },
521        "Status":{
522          "shape":"RescoreExecutionPlanStatus",
523          "documentation":"<p>The current status of the rescore execution plan. When the value is <code>ACTIVE</code>, the rescore execution plan is ready for use.</p>"
524        }
525      },
526      "documentation":"<p>Summary information for a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API.</p>"
527    },
528    "RescoreExecutionPlanSummaryList":{
529      "type":"list",
530      "member":{"shape":"RescoreExecutionPlanSummary"}
531    },
532    "RescoreId":{
533      "type":"string",
534      "max":36,
535      "min":1,
536      "pattern":"[a-zA-Z0-9][a-zA-Z0-9-]"
537    },
538    "RescoreRequest":{
539      "type":"structure",
540      "required":[
541        "RescoreExecutionPlanId",
542        "SearchQuery",
543        "Documents"
544      ],
545      "members":{
546        "RescoreExecutionPlanId":{
547          "shape":"RescoreExecutionPlanId",
548          "documentation":"<p>The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API.</p>"
549        },
550        "SearchQuery":{
551          "shape":"SearchQuery",
552          "documentation":"<p>The input query from the search service.</p>"
553        },
554        "Documents":{
555          "shape":"DocumentList",
556          "documentation":"<p>The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.</p>"
557        }
558      }
559    },
560    "RescoreResult":{
561      "type":"structure",
562      "members":{
563        "RescoreId":{
564          "shape":"RescoreId",
565          "documentation":"<p>The identifier associated with the scores that Amazon Kendra Intelligent Ranking gives to the results. Amazon Kendra Intelligent Ranking rescores or re-ranks the results for the search service.</p>"
566        },
567        "ResultItems":{
568          "shape":"RescoreResultItemList",
569          "documentation":"<p>A list of result items for documents with new relevancy scores. The results are in descending order.</p>"
570        }
571      }
572    },
573    "RescoreResultItem":{
574      "type":"structure",
575      "members":{
576        "DocumentId":{
577          "shape":"DocumentId",
578          "documentation":"<p>The identifier of the document from the search service.</p>"
579        },
580        "Score":{
581          "shape":"Float",
582          "documentation":"<p>The relevancy score or rank that Amazon Kendra Intelligent Ranking gives to the result.</p>"
583        }
584      },
585      "documentation":"<p>A result item for a document with a new relevancy score.</p>"
586    },
587    "RescoreResultItemList":{
588      "type":"list",
589      "member":{"shape":"RescoreResultItem"},
590      "min":1
591    },
592    "ResourceNotFoundException":{
593      "type":"structure",
594      "members":{
595        "Message":{"shape":"ErrorMessage"}
596      },
597      "documentation":"<p>The resource you want to use doesn't exist. Please check you have provided the correct resource and try again.</p>",
598      "exception":true
599    },
600    "ResourceUnavailableException":{
601      "type":"structure",
602      "members":{
603        "Message":{"shape":"ErrorMessage"}
604      },
605      "documentation":"<p>The resource you want to use is unavailable. Please check you have provided the correct resource information and try again.</p>",
606      "exception":true
607    },
608    "SearchQuery":{
609      "type":"string",
610      "max":1000,
611      "min":1
612    },
613    "ServiceQuotaExceededException":{
614      "type":"structure",
615      "members":{
616        "Message":{"shape":"ErrorMessage"}
617      },
618      "documentation":"<p>You have exceeded the set limits for your Amazon Kendra Intelligent Ranking service. Please see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas</a> for more information, or contact <a href=\"http://aws.amazon.com/contact-us/\">Support</a> to inquire about an increase of limits.</p>",
619      "exception":true
620    },
621    "Tag":{
622      "type":"structure",
623      "required":[
624        "Key",
625        "Value"
626      ],
627      "members":{
628        "Key":{
629          "shape":"TagKey",
630          "documentation":"<p>The key for the tag. Keys are not case sensitive and must be unique.</p>"
631        },
632        "Value":{
633          "shape":"TagValue",
634          "documentation":"<p>The value associated with the tag. The value can be an empty string but it can't be null.</p>"
635        }
636      },
637      "documentation":"<p>A key-value pair that identifies or categorizes a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API. You can also use a tag to help control access to a rescore execution plan. A tag key and value can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>"
638    },
639    "TagKey":{
640      "type":"string",
641      "max":128,
642      "min":1
643    },
644    "TagKeyList":{
645      "type":"list",
646      "member":{"shape":"TagKey"},
647      "max":200,
648      "min":0
649    },
650    "TagList":{
651      "type":"list",
652      "member":{"shape":"Tag"},
653      "max":200,
654      "min":0
655    },
656    "TagResourceRequest":{
657      "type":"structure",
658      "required":[
659        "ResourceARN",
660        "Tags"
661      ],
662      "members":{
663        "ResourceARN":{
664          "shape":"AmazonResourceName",
665          "documentation":"<p>The Amazon Resource Name (ARN) of the rescore execution plan to tag.</p>"
666        },
667        "Tags":{
668          "shape":"TagList",
669          "documentation":"<p>A list of tag keys to add to a rescore execution plan. If a tag already exists, the existing value is replaced with the new value.</p>"
670        }
671      },
672      "documentation":"<p>The request information for tagging a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API.</p>"
673    },
674    "TagResourceResponse":{
675      "type":"structure",
676      "members":{
677      },
678      "documentation":"<p>If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.</p>"
679    },
680    "TagValue":{
681      "type":"string",
682      "max":256,
683      "min":0
684    },
685    "ThrottlingException":{
686      "type":"structure",
687      "members":{
688        "Message":{"shape":"ErrorMessage"}
689      },
690      "documentation":"<p>The request was denied due to request throttling. Please reduce the number of requests and try again.</p>",
691      "exception":true
692    },
693    "Timestamp":{"type":"timestamp"},
694    "TitleTokensList":{
695      "type":"list",
696      "member":{"shape":"Tokens"},
697      "min":1
698    },
699    "Tokens":{
700      "type":"string",
701      "max":2048,
702      "min":1
703    },
704    "UntagResourceRequest":{
705      "type":"structure",
706      "required":[
707        "ResourceARN",
708        "TagKeys"
709      ],
710      "members":{
711        "ResourceARN":{
712          "shape":"AmazonResourceName",
713          "documentation":"<p>The Amazon Resource Name (ARN) of the rescore execution plan to remove the tag.</p>"
714        },
715        "TagKeys":{
716          "shape":"TagKeyList",
717          "documentation":"<p>A list of tag keys to remove from the rescore execution plan. If a tag key does not exist on the resource, it is ignored.</p>"
718        }
719      },
720      "documentation":"<p>The request information to remove a tag from a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the <code>Rescore</code> API.</p>"
721    },
722    "UntagResourceResponse":{
723      "type":"structure",
724      "members":{
725      },
726      "documentation":"<p>If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.</p>"
727    },
728    "UpdateRescoreExecutionPlanRequest":{
729      "type":"structure",
730      "required":["Id"],
731      "members":{
732        "Id":{
733          "shape":"RescoreExecutionPlanId",
734          "documentation":"<p>The identifier of the rescore execution plan that you want to update.</p>"
735        },
736        "Name":{
737          "shape":"RescoreExecutionPlanName",
738          "documentation":"<p>A new name for the rescore execution plan.</p>"
739        },
740        "Description":{
741          "shape":"Description",
742          "documentation":"<p>A new description for the rescore execution plan.</p>"
743        },
744        "CapacityUnits":{
745          "shape":"CapacityUnitsConfiguration",
746          "documentation":"<p>You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html\">Adjusting capacity</a>.</p>"
747        }
748      }
749    },
750    "ValidationException":{
751      "type":"structure",
752      "members":{
753        "Message":{"shape":"ErrorMessage"}
754      },
755      "documentation":"<p>The input fails to satisfy the constraints set by the Amazon Kendra Intelligent Ranking service. Please provide the correct input and try again.</p>",
756      "exception":true
757    }
758  },
759  "documentation":"<p>Amazon Kendra Intelligent Ranking uses Amazon Kendra semantic search capabilities to intelligently re-rank a search service's results.</p>"
760}
761