github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/cloudsearchdomain/2013-01-01/api-2.json (about) 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 "signatureVersion":"v4", 10 "signingName":"cloudsearch", 11 "uid":"cloudsearchdomain-2013-01-01" 12 }, 13 "operations":{ 14 "Search":{ 15 "name":"Search", 16 "http":{ 17 "method":"GET", 18 "requestUri":"/2013-01-01/search?format=sdk&pretty=true" 19 }, 20 "input":{"shape":"SearchRequest"}, 21 "output":{"shape":"SearchResponse"}, 22 "errors":[ 23 {"shape":"SearchException"} 24 ] 25 }, 26 "Suggest":{ 27 "name":"Suggest", 28 "http":{ 29 "method":"GET", 30 "requestUri":"/2013-01-01/suggest?format=sdk&pretty=true" 31 }, 32 "input":{"shape":"SuggestRequest"}, 33 "output":{"shape":"SuggestResponse"}, 34 "errors":[ 35 {"shape":"SearchException"} 36 ] 37 }, 38 "UploadDocuments":{ 39 "name":"UploadDocuments", 40 "http":{ 41 "method":"POST", 42 "requestUri":"/2013-01-01/documents/batch?format=sdk" 43 }, 44 "input":{"shape":"UploadDocumentsRequest"}, 45 "output":{"shape":"UploadDocumentsResponse"}, 46 "errors":[ 47 {"shape":"DocumentServiceException"} 48 ] 49 } 50 }, 51 "shapes":{ 52 "Adds":{"type":"long"}, 53 "Blob":{ 54 "type":"blob", 55 "streaming":true 56 }, 57 "Bucket":{ 58 "type":"structure", 59 "members":{ 60 "value":{"shape":"String"}, 61 "count":{"shape":"Long"} 62 } 63 }, 64 "BucketInfo":{ 65 "type":"structure", 66 "members":{ 67 "buckets":{"shape":"BucketList"} 68 } 69 }, 70 "BucketList":{ 71 "type":"list", 72 "member":{"shape":"Bucket"} 73 }, 74 "ContentType":{ 75 "type":"string", 76 "enum":[ 77 "application/json", 78 "application/xml" 79 ] 80 }, 81 "Cursor":{"type":"string"}, 82 "Deletes":{"type":"long"}, 83 "DocumentServiceException":{ 84 "type":"structure", 85 "members":{ 86 "status":{"shape":"String"}, 87 "message":{"shape":"String"} 88 }, 89 "exception":true 90 }, 91 "DocumentServiceWarning":{ 92 "type":"structure", 93 "members":{ 94 "message":{"shape":"String"} 95 } 96 }, 97 "DocumentServiceWarnings":{ 98 "type":"list", 99 "member":{"shape":"DocumentServiceWarning"} 100 }, 101 "Double":{"type":"double"}, 102 "Expr":{"type":"string"}, 103 "Exprs":{ 104 "type":"map", 105 "key":{"shape":"String"}, 106 "value":{"shape":"String"} 107 }, 108 "Facet":{"type":"string"}, 109 "Facets":{ 110 "type":"map", 111 "key":{"shape":"String"}, 112 "value":{"shape":"BucketInfo"} 113 }, 114 "FieldStats":{ 115 "type":"structure", 116 "members":{ 117 "min":{"shape":"String"}, 118 "max":{"shape":"String"}, 119 "count":{"shape":"Long"}, 120 "missing":{"shape":"Long"}, 121 "sum":{"shape":"Double"}, 122 "sumOfSquares":{"shape":"Double"}, 123 "mean":{"shape":"String"}, 124 "stddev":{"shape":"Double"} 125 } 126 }, 127 "FieldValue":{ 128 "type":"list", 129 "member":{"shape":"String"} 130 }, 131 "Fields":{ 132 "type":"map", 133 "key":{"shape":"String"}, 134 "value":{"shape":"FieldValue"} 135 }, 136 "FilterQuery":{"type":"string"}, 137 "Highlight":{"type":"string"}, 138 "Highlights":{ 139 "type":"map", 140 "key":{"shape":"String"}, 141 "value":{"shape":"String"} 142 }, 143 "Hit":{ 144 "type":"structure", 145 "members":{ 146 "id":{"shape":"String"}, 147 "fields":{"shape":"Fields"}, 148 "exprs":{"shape":"Exprs"}, 149 "highlights":{"shape":"Highlights"} 150 } 151 }, 152 "HitList":{ 153 "type":"list", 154 "member":{"shape":"Hit"} 155 }, 156 "Hits":{ 157 "type":"structure", 158 "members":{ 159 "found":{"shape":"Long"}, 160 "start":{"shape":"Long"}, 161 "cursor":{"shape":"String"}, 162 "hit":{"shape":"HitList"} 163 } 164 }, 165 "Long":{"type":"long"}, 166 "Partial":{"type":"boolean"}, 167 "Query":{"type":"string"}, 168 "QueryOptions":{"type":"string"}, 169 "QueryParser":{ 170 "type":"string", 171 "enum":[ 172 "simple", 173 "structured", 174 "lucene", 175 "dismax" 176 ] 177 }, 178 "Return":{"type":"string"}, 179 "SearchException":{ 180 "type":"structure", 181 "members":{ 182 "message":{"shape":"String"} 183 }, 184 "exception":true 185 }, 186 "SearchRequest":{ 187 "type":"structure", 188 "required":["query"], 189 "members":{ 190 "cursor":{ 191 "shape":"Cursor", 192 "location":"querystring", 193 "locationName":"cursor" 194 }, 195 "expr":{ 196 "shape":"Expr", 197 "location":"querystring", 198 "locationName":"expr" 199 }, 200 "facet":{ 201 "shape":"Facet", 202 "location":"querystring", 203 "locationName":"facet" 204 }, 205 "filterQuery":{ 206 "shape":"FilterQuery", 207 "location":"querystring", 208 "locationName":"fq" 209 }, 210 "highlight":{ 211 "shape":"Highlight", 212 "location":"querystring", 213 "locationName":"highlight" 214 }, 215 "partial":{ 216 "shape":"Partial", 217 "location":"querystring", 218 "locationName":"partial" 219 }, 220 "query":{ 221 "shape":"Query", 222 "location":"querystring", 223 "locationName":"q" 224 }, 225 "queryOptions":{ 226 "shape":"QueryOptions", 227 "location":"querystring", 228 "locationName":"q.options" 229 }, 230 "queryParser":{ 231 "shape":"QueryParser", 232 "location":"querystring", 233 "locationName":"q.parser" 234 }, 235 "return":{ 236 "shape":"Return", 237 "location":"querystring", 238 "locationName":"return" 239 }, 240 "size":{ 241 "shape":"Size", 242 "location":"querystring", 243 "locationName":"size" 244 }, 245 "sort":{ 246 "shape":"Sort", 247 "location":"querystring", 248 "locationName":"sort" 249 }, 250 "start":{ 251 "shape":"Start", 252 "location":"querystring", 253 "locationName":"start" 254 }, 255 "stats":{ 256 "shape":"Stat", 257 "location":"querystring", 258 "locationName":"stats" 259 } 260 } 261 }, 262 "SearchResponse":{ 263 "type":"structure", 264 "members":{ 265 "status":{"shape":"SearchStatus"}, 266 "hits":{"shape":"Hits"}, 267 "facets":{"shape":"Facets"}, 268 "stats":{"shape":"Stats"} 269 } 270 }, 271 "SearchStatus":{ 272 "type":"structure", 273 "members":{ 274 "timems":{"shape":"Long"}, 275 "rid":{"shape":"String"} 276 } 277 }, 278 "Size":{"type":"long"}, 279 "Sort":{"type":"string"}, 280 "Start":{"type":"long"}, 281 "Stat":{"type":"string"}, 282 "Stats":{ 283 "type":"map", 284 "key":{"shape":"String"}, 285 "value":{"shape":"FieldStats"} 286 }, 287 "String":{"type":"string"}, 288 "SuggestModel":{ 289 "type":"structure", 290 "members":{ 291 "query":{"shape":"String"}, 292 "found":{"shape":"Long"}, 293 "suggestions":{"shape":"Suggestions"} 294 } 295 }, 296 "SuggestRequest":{ 297 "type":"structure", 298 "required":[ 299 "query", 300 "suggester" 301 ], 302 "members":{ 303 "query":{ 304 "shape":"Query", 305 "location":"querystring", 306 "locationName":"q" 307 }, 308 "suggester":{ 309 "shape":"Suggester", 310 "location":"querystring", 311 "locationName":"suggester" 312 }, 313 "size":{ 314 "shape":"SuggestionsSize", 315 "location":"querystring", 316 "locationName":"size" 317 } 318 } 319 }, 320 "SuggestResponse":{ 321 "type":"structure", 322 "members":{ 323 "status":{"shape":"SuggestStatus"}, 324 "suggest":{"shape":"SuggestModel"} 325 } 326 }, 327 "SuggestStatus":{ 328 "type":"structure", 329 "members":{ 330 "timems":{"shape":"Long"}, 331 "rid":{"shape":"String"} 332 } 333 }, 334 "Suggester":{"type":"string"}, 335 "SuggestionMatch":{ 336 "type":"structure", 337 "members":{ 338 "suggestion":{"shape":"String"}, 339 "score":{"shape":"Long"}, 340 "id":{"shape":"String"} 341 } 342 }, 343 "Suggestions":{ 344 "type":"list", 345 "member":{"shape":"SuggestionMatch"} 346 }, 347 "SuggestionsSize":{"type":"long"}, 348 "UploadDocumentsRequest":{ 349 "type":"structure", 350 "required":[ 351 "documents", 352 "contentType" 353 ], 354 "members":{ 355 "documents":{"shape":"Blob"}, 356 "contentType":{ 357 "shape":"ContentType", 358 "location":"header", 359 "locationName":"Content-Type" 360 } 361 }, 362 "payload":"documents" 363 }, 364 "UploadDocumentsResponse":{ 365 "type":"structure", 366 "members":{ 367 "status":{"shape":"String"}, 368 "adds":{"shape":"Adds"}, 369 "deletes":{"shape":"Deletes"}, 370 "warnings":{"shape":"DocumentServiceWarnings"} 371 } 372 } 373 } 374 }