1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2018-05-22",
|
5 | "endpointPrefix": "personalize-runtime",
|
6 | "jsonVersion": "1.1",
|
7 | "protocol": "rest-json",
|
8 | "serviceFullName": "Amazon Personalize Runtime",
|
9 | "serviceId": "Personalize Runtime",
|
10 | "signatureVersion": "v4",
|
11 | "signingName": "personalize",
|
12 | "uid": "personalize-runtime-2018-05-22"
|
13 | },
|
14 | "operations": {
|
15 | "GetPersonalizedRanking": {
|
16 | "http": {
|
17 | "requestUri": "/personalize-ranking"
|
18 | },
|
19 | "input": {
|
20 | "type": "structure",
|
21 | "required": [
|
22 | "campaignArn",
|
23 | "inputList",
|
24 | "userId"
|
25 | ],
|
26 | "members": {
|
27 | "campaignArn": {},
|
28 | "inputList": {
|
29 | "type": "list",
|
30 | "member": {}
|
31 | },
|
32 | "userId": {},
|
33 | "context": {
|
34 | "shape": "S6"
|
35 | }
|
36 | }
|
37 | },
|
38 | "output": {
|
39 | "type": "structure",
|
40 | "members": {
|
41 | "personalizedRanking": {
|
42 | "shape": "Sa"
|
43 | }
|
44 | }
|
45 | },
|
46 | "idempotent": true
|
47 | },
|
48 | "GetRecommendations": {
|
49 | "http": {
|
50 | "requestUri": "/recommendations"
|
51 | },
|
52 | "input": {
|
53 | "type": "structure",
|
54 | "required": [
|
55 | "campaignArn"
|
56 | ],
|
57 | "members": {
|
58 | "campaignArn": {},
|
59 | "itemId": {},
|
60 | "userId": {},
|
61 | "numResults": {
|
62 | "type": "integer"
|
63 | },
|
64 | "context": {
|
65 | "shape": "S6"
|
66 | }
|
67 | }
|
68 | },
|
69 | "output": {
|
70 | "type": "structure",
|
71 | "members": {
|
72 | "itemList": {
|
73 | "shape": "Sa"
|
74 | }
|
75 | }
|
76 | },
|
77 | "idempotent": true
|
78 | }
|
79 | },
|
80 | "shapes": {
|
81 | "S6": {
|
82 | "type": "map",
|
83 | "key": {},
|
84 | "value": {
|
85 | "type": "string",
|
86 | "sensitive": true
|
87 | }
|
88 | },
|
89 | "Sa": {
|
90 | "type": "list",
|
91 | "member": {
|
92 | "type": "structure",
|
93 | "members": {
|
94 | "itemId": {},
|
95 | "score": {
|
96 | "type": "double"
|
97 | }
|
98 | }
|
99 | }
|
100 | }
|
101 | }
|
102 | } |
\ | No newline at end of file |