cloudsearchdomain-2013-01-01.min.json 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2013-01-01",
  5. "endpointPrefix": "cloudsearchdomain",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "Amazon CloudSearch Domain",
  9. "serviceId": "CloudSearch Domain",
  10. "signatureVersion": "v4",
  11. "signingName": "cloudsearch",
  12. "uid": "cloudsearchdomain-2013-01-01"
  13. },
  14. "operations": {
  15. "Search": {
  16. "http": {
  17. "method": "GET",
  18. "requestUri": "/2013-01-01/search?format=sdk&pretty=true"
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "query"
  24. ],
  25. "members": {
  26. "cursor": {
  27. "location": "querystring",
  28. "locationName": "cursor"
  29. },
  30. "expr": {
  31. "location": "querystring",
  32. "locationName": "expr"
  33. },
  34. "facet": {
  35. "location": "querystring",
  36. "locationName": "facet"
  37. },
  38. "filterQuery": {
  39. "location": "querystring",
  40. "locationName": "fq"
  41. },
  42. "highlight": {
  43. "location": "querystring",
  44. "locationName": "highlight"
  45. },
  46. "partial": {
  47. "location": "querystring",
  48. "locationName": "partial",
  49. "type": "boolean"
  50. },
  51. "query": {
  52. "location": "querystring",
  53. "locationName": "q"
  54. },
  55. "queryOptions": {
  56. "location": "querystring",
  57. "locationName": "q.options"
  58. },
  59. "queryParser": {
  60. "location": "querystring",
  61. "locationName": "q.parser"
  62. },
  63. "return": {
  64. "location": "querystring",
  65. "locationName": "return"
  66. },
  67. "size": {
  68. "location": "querystring",
  69. "locationName": "size",
  70. "type": "long"
  71. },
  72. "sort": {
  73. "location": "querystring",
  74. "locationName": "sort"
  75. },
  76. "start": {
  77. "location": "querystring",
  78. "locationName": "start",
  79. "type": "long"
  80. },
  81. "stats": {
  82. "location": "querystring",
  83. "locationName": "stats"
  84. }
  85. }
  86. },
  87. "output": {
  88. "type": "structure",
  89. "members": {
  90. "status": {
  91. "type": "structure",
  92. "members": {
  93. "timems": {
  94. "type": "long"
  95. },
  96. "rid": {}
  97. }
  98. },
  99. "hits": {
  100. "type": "structure",
  101. "members": {
  102. "found": {
  103. "type": "long"
  104. },
  105. "start": {
  106. "type": "long"
  107. },
  108. "cursor": {},
  109. "hit": {
  110. "type": "list",
  111. "member": {
  112. "type": "structure",
  113. "members": {
  114. "id": {},
  115. "fields": {
  116. "type": "map",
  117. "key": {},
  118. "value": {
  119. "type": "list",
  120. "member": {}
  121. }
  122. },
  123. "exprs": {
  124. "type": "map",
  125. "key": {},
  126. "value": {}
  127. },
  128. "highlights": {
  129. "type": "map",
  130. "key": {},
  131. "value": {}
  132. }
  133. }
  134. }
  135. }
  136. }
  137. },
  138. "facets": {
  139. "type": "map",
  140. "key": {},
  141. "value": {
  142. "type": "structure",
  143. "members": {
  144. "buckets": {
  145. "type": "list",
  146. "member": {
  147. "type": "structure",
  148. "members": {
  149. "value": {},
  150. "count": {
  151. "type": "long"
  152. }
  153. }
  154. }
  155. }
  156. }
  157. }
  158. },
  159. "stats": {
  160. "type": "map",
  161. "key": {},
  162. "value": {
  163. "type": "structure",
  164. "members": {
  165. "min": {},
  166. "max": {},
  167. "count": {
  168. "type": "long"
  169. },
  170. "missing": {
  171. "type": "long"
  172. },
  173. "sum": {
  174. "type": "double"
  175. },
  176. "sumOfSquares": {
  177. "type": "double"
  178. },
  179. "mean": {},
  180. "stddev": {
  181. "type": "double"
  182. }
  183. }
  184. }
  185. }
  186. }
  187. }
  188. },
  189. "Suggest": {
  190. "http": {
  191. "method": "GET",
  192. "requestUri": "/2013-01-01/suggest?format=sdk&pretty=true"
  193. },
  194. "input": {
  195. "type": "structure",
  196. "required": [
  197. "query",
  198. "suggester"
  199. ],
  200. "members": {
  201. "query": {
  202. "location": "querystring",
  203. "locationName": "q"
  204. },
  205. "suggester": {
  206. "location": "querystring",
  207. "locationName": "suggester"
  208. },
  209. "size": {
  210. "location": "querystring",
  211. "locationName": "size",
  212. "type": "long"
  213. }
  214. }
  215. },
  216. "output": {
  217. "type": "structure",
  218. "members": {
  219. "status": {
  220. "type": "structure",
  221. "members": {
  222. "timems": {
  223. "type": "long"
  224. },
  225. "rid": {}
  226. }
  227. },
  228. "suggest": {
  229. "type": "structure",
  230. "members": {
  231. "query": {},
  232. "found": {
  233. "type": "long"
  234. },
  235. "suggestions": {
  236. "type": "list",
  237. "member": {
  238. "type": "structure",
  239. "members": {
  240. "suggestion": {},
  241. "score": {
  242. "type": "long"
  243. },
  244. "id": {}
  245. }
  246. }
  247. }
  248. }
  249. }
  250. }
  251. }
  252. },
  253. "UploadDocuments": {
  254. "http": {
  255. "requestUri": "/2013-01-01/documents/batch?format=sdk"
  256. },
  257. "input": {
  258. "type": "structure",
  259. "required": [
  260. "documents",
  261. "contentType"
  262. ],
  263. "members": {
  264. "documents": {
  265. "type": "blob",
  266. "streaming": true
  267. },
  268. "contentType": {
  269. "location": "header",
  270. "locationName": "Content-Type"
  271. }
  272. },
  273. "payload": "documents"
  274. },
  275. "output": {
  276. "type": "structure",
  277. "members": {
  278. "status": {},
  279. "adds": {
  280. "type": "long"
  281. },
  282. "deletes": {
  283. "type": "long"
  284. },
  285. "warnings": {
  286. "type": "list",
  287. "member": {
  288. "type": "structure",
  289. "members": {
  290. "message": {}
  291. }
  292. }
  293. }
  294. }
  295. }
  296. }
  297. },
  298. "shapes": {}
  299. }