123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- {
- "version": "2.0",
- "metadata": {
- "apiVersion": "2022-10-19",
- "endpointPrefix": "kendra-ranking",
- "jsonVersion": "1.0",
- "protocol": "json",
- "serviceAbbreviation": "Kendra Ranking",
- "serviceFullName": "Amazon Kendra Intelligent Ranking",
- "serviceId": "Kendra Ranking",
- "signatureVersion": "v4",
- "signingName": "kendra-ranking",
- "targetPrefix": "AWSKendraRerankingFrontendService",
- "uid": "kendra-ranking-2022-10-19"
- },
- "operations": {
- "CreateRescoreExecutionPlan": {
- "input": {
- "type": "structure",
- "required": [
- "Name"
- ],
- "members": {
- "Name": {},
- "Description": {},
- "CapacityUnits": {
- "shape": "S4"
- },
- "Tags": {
- "shape": "S6"
- },
- "ClientToken": {
- "idempotencyToken": true
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "Id",
- "Arn"
- ],
- "members": {
- "Id": {},
- "Arn": {}
- }
- }
- },
- "DeleteRescoreExecutionPlan": {
- "input": {
- "type": "structure",
- "required": [
- "Id"
- ],
- "members": {
- "Id": {}
- }
- }
- },
- "DescribeRescoreExecutionPlan": {
- "input": {
- "type": "structure",
- "required": [
- "Id"
- ],
- "members": {
- "Id": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Id": {},
- "Arn": {},
- "Name": {},
- "Description": {},
- "CapacityUnits": {
- "shape": "S4"
- },
- "CreatedAt": {
- "type": "timestamp"
- },
- "UpdatedAt": {
- "type": "timestamp"
- },
- "Status": {},
- "ErrorMessage": {}
- }
- }
- },
- "ListRescoreExecutionPlans": {
- "input": {
- "type": "structure",
- "members": {
- "NextToken": {},
- "MaxResults": {
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "SummaryItems": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "Name": {},
- "Id": {},
- "CreatedAt": {
- "type": "timestamp"
- },
- "UpdatedAt": {
- "type": "timestamp"
- },
- "Status": {}
- }
- }
- },
- "NextToken": {}
- }
- }
- },
- "ListTagsForResource": {
- "input": {
- "type": "structure",
- "required": [
- "ResourceARN"
- ],
- "members": {
- "ResourceARN": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Tags": {
- "shape": "S6"
- }
- }
- }
- },
- "Rescore": {
- "input": {
- "type": "structure",
- "required": [
- "RescoreExecutionPlanId",
- "SearchQuery",
- "Documents"
- ],
- "members": {
- "RescoreExecutionPlanId": {},
- "SearchQuery": {},
- "Documents": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "Id",
- "OriginalScore"
- ],
- "members": {
- "Id": {},
- "GroupId": {},
- "Title": {},
- "Body": {},
- "TokenizedTitle": {
- "type": "list",
- "member": {}
- },
- "TokenizedBody": {
- "type": "list",
- "member": {}
- },
- "OriginalScore": {
- "type": "float"
- }
- }
- }
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "RescoreId": {},
- "ResultItems": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "DocumentId": {},
- "Score": {
- "type": "float"
- }
- }
- }
- }
- }
- }
- },
- "TagResource": {
- "input": {
- "type": "structure",
- "required": [
- "ResourceARN",
- "Tags"
- ],
- "members": {
- "ResourceARN": {},
- "Tags": {
- "shape": "S6"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- },
- "UntagResource": {
- "input": {
- "type": "structure",
- "required": [
- "ResourceARN",
- "TagKeys"
- ],
- "members": {
- "ResourceARN": {},
- "TagKeys": {
- "type": "list",
- "member": {}
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- },
- "UpdateRescoreExecutionPlan": {
- "input": {
- "type": "structure",
- "required": [
- "Id"
- ],
- "members": {
- "Id": {},
- "Name": {},
- "Description": {},
- "CapacityUnits": {
- "shape": "S4"
- }
- }
- }
- }
- },
- "shapes": {
- "S4": {
- "type": "structure",
- "required": [
- "RescoreCapacityUnits"
- ],
- "members": {
- "RescoreCapacityUnits": {
- "type": "integer"
- }
- }
- },
- "S6": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "Key",
- "Value"
- ],
- "members": {
- "Key": {},
- "Value": {}
- }
- }
- }
- }
- }
|