• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2016-03-11",
5    "endpointPrefix":"query",
6    "jsonVersion":"1.1",
7    "protocol":"query",
8    "serviceAbbreviation":"AmazonProtocolQuery",
9    "serviceFullName":"Amazon Protocol Query",
10    "serviceId":"AmazonProtocolQuery",
11    "signatureVersion":"v4",
12    "targetPrefix":"QueryService",
13    "timestampFormat":"unixTimestamp",
14    "uid":"query-2016-03-11"
15  },
16  "operations":{
17    "AllTypes":{
18      "name":"AllTypes",
19      "http":{
20        "method":"POST",
21        "requestUri":"/2016-03-11/allTypes"
22      },
23      "input":{"shape":"AllTypesStructure"},
24      "output":{"shape":"AllTypesStructure"},
25      "errors":[
26        {"shape":"EmptyModeledException"}
27      ]
28    },
29    "DeleteOperation":{
30      "name":"DeleteOperation",
31      "http":{
32        "method":"DELETE",
33        "requestUri":"/2016-03-11/deleteOperation"
34      }
35    },
36    "HeadOperation":{
37      "name":"HeadOperation",
38      "http":{
39        "method":"HEAD",
40        "requestUri":"/2016-03-11/headOperation"
41      }
42    },
43    "IdempotentOperation":{
44      "name":"IdempotentOperation",
45      "http":{
46        "method":"POST",
47        "requestUri":"/2016-03-11/idempotentOperation/{PathParam}"
48      },
49      "input":{"shape":"IdempotentOperationStructure"}
50    },
51    "JsonValuesOperation":{
52      "name":"JsonValuesOperation",
53      "http":{
54        "method":"POST",
55        "requestUri":"/2016-03-11/JsonValuesStructure"
56      },
57      "input":{"shape":"JsonValuesStructure"},
58      "output":{"shape":"JsonValuesStructure"},
59      "errors":[
60        {"shape":"EmptyModeledException"}
61      ]
62    },
63    "MapOfStringToListOfStringInQueryParams":{
64      "name":"MapOfStringToListOfStringInQueryParams",
65      "http":{
66        "method":"POST",
67        "requestUri":"/2016-03-11/mapOfStringToListOfStringInQueryParams"
68      },
69      "input":{"shape":"MapOfStringToListOfStringInQueryParamsInput"}
70    },
71    "MembersInHeaders":{
72      "name":"MembersInHeaders",
73      "http":{
74        "method":"POST",
75        "requestUri":"/2016-03-11/membersInHeaders"
76      },
77      "input":{"shape":"MembersInHeadersInput"},
78      "output":{"shape":"MembersInHeadersInput"}
79    },
80    "MembersInQueryParams":{
81      "name":"MembersInQueryParams",
82      "http":{
83        "method":"POST",
84        "requestUri":"/2016-03-11/membersInQueryParams?StaticQueryParam=foo"
85      },
86      "input":{"shape":"MembersInQueryParamsInput"}
87    },
88    "MultiLocationOperation":{
89      "name":"MultiLocationOperation",
90      "http":{
91        "method":"POST",
92        "requestUri":"/2016-03-11/multiLocationOperation/{PathParam}"
93      },
94      "input":{"shape":"MultiLocationOperationInput"}
95    },
96    "NestedContainers":{
97      "name":"NestedContainers",
98      "http":{
99        "method":"POST",
100        "requestUri":"/2016-03-11/nestedContainers"
101      },
102      "input":{"shape":"NestedContainersStructure"},
103      "output":{"shape":"NestedContainersStructure"}
104    },
105    "OperationWithExplicitPayloadBlob":{
106      "name":"OperationWithExplicitPayloadBlob",
107      "http":{
108        "method":"POST",
109        "requestUri":"/2016-03-11/operationWithExplicitPayloadBlob"
110      },
111      "input":{"shape":"OperationWithExplicitPayloadBlobInput"},
112      "output":{"shape":"OperationWithExplicitPayloadBlobInput"}
113    },
114    "OperationWithExplicitPayloadStructure":{
115      "name":"OperationWithExplicitPayloadStructure",
116      "http":{
117        "method":"POST",
118        "requestUri":"/2016-03-11/operationWithExplicitPayloadStructure"
119      },
120      "input":{"shape":"OperationWithExplicitPayloadStructureInput"},
121      "output":{"shape":"OperationWithExplicitPayloadStructureInput"}
122    },
123    "OperationWithGreedyLabel":{
124      "name":"OperationWithGreedyLabel",
125      "http":{
126        "method":"POST",
127        "requestUri":"/2016-03-11/operationWithGreedyLabel/{NonGreedyPathParam}/{GreedyPathParam+}"
128      },
129      "input":{"shape":"OperationWithGreedyLabelInput"}
130    },
131    "OperationWithModeledContentType":{
132      "name":"OperationWithModeledContentType",
133      "http":{
134        "method":"POST",
135        "requestUri":"/2016-03-11/operationWithModeledContentType"
136      },
137      "input":{"shape":"OperationWithModeledContentTypeInput"}
138    },
139    "OperationWithNoInputOrOutput":{
140      "name":"OperationWithNoInputOrOutput",
141      "http":{
142        "method":"POST",
143        "requestUri":"/2016-03-11/operationWithNoInputOrOutput"
144      }
145    },
146    "QueryParamWithoutValue":{
147      "name":"QueryParamWithoutValue",
148      "http":{
149        "method":"POST",
150        "requestUri":"/2016-03-11/queryParamWithoutValue?param"
151      },
152      "input":{"shape":"QueryParamWithoutValueInput"}
153    },
154    "StreamingInputOperation":{
155      "name":"StreamingInputOperation",
156      "http":{
157        "method":"POST",
158        "requestUri":"/2016-03-11/streamingInputOperation"
159      },
160      "input":{"shape":"StructureWithStreamingMember"}
161    },
162    "StreamingOutputOperation":{
163      "name":"StreamingOutputOperation",
164      "http":{
165        "method":"POST",
166        "requestUri":"/2016-03-11/streamingOutputOperation"
167      },
168      "output":{"shape":"StructureWithStreamingMember"}
169    }
170  },
171  "shapes":{
172    "AllTypesStructure":{
173      "type":"structure",
174      "members":{
175        "StringMember":{"shape":"String"},
176        "IntegerMember":{"shape":"Integer"},
177        "BooleanMember":{"shape":"Boolean"},
178        "FloatMember":{"shape":"Float"},
179        "DoubleMember":{"shape":"Double"},
180        "LongMember":{"shape":"Long"},
181        "ShortMember":{"shape":"Short"},
182        "EnumMember":{"shape":"EnumType"},
183        "SimpleList":{"shape":"ListOfStrings"},
184        "ListOfEnums":{"shape":"ListOfEnums"},
185        "ListOfMaps":{"shape":"ListOfMapStringToString"},
186        "ListOfStructs":{"shape":"ListOfSimpleStructs"},
187        "MapOfStringToIntegerList":{"shape":"MapOfStringToIntegerList"},
188        "MapOfStringToString":{"shape":"MapOfStringToString"},
189        "MapOfStringToStruct":{"shape":"MapOfStringToSimpleStruct"},
190        "MapOfEnumToEnum":{"shape":"MapOfEnumToEnum"},
191        "TimestampMember":{"shape":"Timestamp"},
192        "StructWithNestedTimestampMember":{"shape":"StructWithTimestamp"},
193        "BlobArg":{"shape":"BlobType"},
194        "StructWithNestedBlob":{"shape":"StructWithNestedBlobType"},
195        "BlobMap":{"shape":"BlobMapType"},
196        "ListOfBlobs":{"shape":"ListOfBlobsType"},
197        "RecursiveStruct":{"shape":"RecursiveStructType"},
198        "PolymorphicTypeWithSubTypes":{"shape":"BaseType"},
199        "PolymorphicTypeWithoutSubTypes":{"shape":"SubTypeOne"}
200      }
201    },
202    "BaseType":{
203      "type":"structure",
204      "members":{
205        "BaseMember":{"shape":"String"}
206      }
207    },
208    "BlobMapType":{
209      "type":"map",
210      "key":{"shape":"String"},
211      "value":{"shape":"BlobType"}
212    },
213    "BlobType":{"type":"blob"},
214    "Boolean":{"type":"boolean"},
215    "Double":{"type":"double"},
216    "EmptyModeledException":{
217      "type":"structure",
218      "members":{
219      },
220      "exception":true
221    },
222    "Float":{"type":"float"},
223    "IdempotentOperationStructure":{
224      "type":"structure",
225      "required":["PathIdempotentToken"],
226      "members":{
227        "PathIdempotentToken":{
228          "shape":"String",
229          "idempotencyToken":true,
230          "location":"uri",
231          "locationName":"PathParam"
232        },
233        "QueryIdempotentToken":{
234          "shape":"String",
235          "idempotencyToken":true,
236          "location":"querystring",
237          "locationName":"QueryParam"
238        },
239        "HeaderIdempotentToken":{
240          "shape":"String",
241          "idempotencyToken":true,
242          "location":"header",
243          "locationName":"x-amz-idempotent-header"
244        }
245      }
246    },
247    "Integer":{"type":"integer"},
248    "JsonValuesStructure":{
249      "type":"structure",
250      "members":{
251        "JsonValueHeaderMember":{
252          "shape":"String",
253          "jsonvalue":true,
254          "location":"header",
255          "locationName":"Encoded-Header"
256        },
257        "JsonValueMember":{
258          "shape":"String",
259          "jsonvalue":true
260        }
261      }
262    },
263    "ListOfBlobsType":{
264      "type":"list",
265      "member":{"shape":"BlobType"}
266    },
267    "ListOfIntegers":{
268      "type":"list",
269      "member":{"shape":"Integer"}
270    },
271    "ListOfListOfListsOfStrings":{
272      "type":"list",
273      "member":{"shape":"ListOfListsOfStrings"}
274    },
275    "ListOfListsOfStrings":{
276      "type":"list",
277      "member":{"shape":"ListOfStrings"}
278    },
279    "ListOfMapStringToString":{
280      "type":"list",
281      "member":{"shape":"MapOfStringToString"}
282    },
283    "ListOfSimpleStructs":{
284      "type":"list",
285      "member":{"shape":"SimpleStruct"}
286    },
287    "ListOfStrings":{
288      "type":"list",
289      "member":{"shape":"String"}
290    },
291    "ListOfEnums":{
292      "type":"list",
293      "member":{"shape":"EnumType"}
294    },
295    "Long":{"type":"long"},
296    "Short":{"type":"short"},
297    "MapOfStringToIntegerList":{
298      "type":"map",
299      "key":{"shape":"String"},
300      "value":{"shape":"ListOfIntegers"}
301    },
302    "MapOfStringToListOfListsOfStrings":{
303      "type":"map",
304      "key":{"shape":"String"},
305      "value":{"shape":"ListOfListsOfStrings"}
306    },
307    "MapOfStringToListOfStringInQueryParamsInput":{
308      "type":"structure",
309      "members":{
310        "MapOfStringToListOfStrings":{
311          "shape":"MapOfStringToListOfStrings",
312          "location":"querystring"
313        }
314      }
315    },
316    "MapOfStringToListOfStrings":{
317      "type":"map",
318      "key":{"shape":"String"},
319      "value":{"shape":"ListOfStrings"}
320    },
321    "MapOfStringToSimpleStruct":{
322      "type":"map",
323      "key":{"shape":"String"},
324      "value":{"shape":"SimpleStruct"}
325    },
326    "MapOfStringToString":{
327      "type":"map",
328      "key":{"shape":"String"},
329      "value":{"shape":"String"}
330    },
331    "MapOfEnumToEnum":{
332      "type":"map",
333      "key":{"shape":"EnumType"},
334      "value":{"shape":"EnumType"}
335    },
336    "MembersInHeadersInput":{
337      "type":"structure",
338      "members":{
339        "StringMember":{
340          "shape":"String",
341          "location":"header",
342          "locationName":"x-amz-string"
343        },
344        "BooleanMember":{
345          "shape":"Boolean",
346          "location":"header",
347          "locationName":"x-amz-boolean"
348        },
349        "IntegerMember":{
350          "shape":"Integer",
351          "location":"header",
352          "locationName":"x-amz-integer"
353        },
354        "LongMember":{
355          "shape":"Long",
356          "location":"header",
357          "locationName":"x-amz-long"
358        },
359        "ShortMember":{
360          "shape":"Short",
361          "location":"header",
362          "locationName":"x-amz-short"
363        },
364        "FloatMember":{
365          "shape":"Float",
366          "location":"header",
367          "locationName":"x-amz-float"
368        },
369        "DoubleMember":{
370          "shape":"Double",
371          "location":"header",
372          "locationName":"x-amz-double"
373        },
374        "TimestampMember":{
375          "shape":"Timestamp",
376          "location":"header",
377          "locationName":"x-amz-timestamp"
378        }
379      }
380    },
381    "MembersInQueryParamsInput":{
382      "type":"structure",
383      "members":{
384        "StringQueryParam":{
385          "shape":"String",
386          "location":"querystring",
387          "locationName":"String"
388        },
389        "BooleanQueryParam":{
390          "shape":"Boolean",
391          "location":"querystring",
392          "locationName":"Boolean"
393        },
394        "IntegerQueryParam":{
395          "shape":"Integer",
396          "location":"querystring",
397          "locationName":"Integer"
398        },
399        "LongQueryParam":{
400          "shape":"Long",
401          "location":"querystring",
402          "locationName":"Long"
403        },
404        "ShortQueryParam":{
405          "shape":"Short",
406          "location":"querystring",
407          "locationName":"Short"
408        },
409        "FloatQueryParam":{
410          "shape":"Float",
411          "location":"querystring",
412          "locationName":"Float"
413        },
414        "DoubleQueryParam":{
415          "shape":"Double",
416          "location":"querystring",
417          "locationName":"Double"
418        },
419        "TimestampQueryParam":{
420          "shape":"Timestamp",
421          "location":"querystring",
422          "locationName":"Timestamp"
423        },
424        "ListOfStrings":{
425          "shape":"ListOfStrings",
426          "location":"querystring",
427          "locationName":"item"
428        },
429        "MapOfStringToString":{
430          "shape":"MapOfStringToString",
431          "location":"querystring"
432        }
433      }
434    },
435    "MultiLocationOperationInput":{
436      "type":"structure",
437      "required":["PathParam"],
438      "members":{
439        "PathParam":{
440          "shape":"String",
441          "location":"uri",
442          "locationName":"PathParam"
443        },
444        "QueryParamOne":{
445          "shape":"String",
446          "location":"querystring",
447          "locationName":"QueryParamOne"
448        },
449        "QueryParamTwo":{
450          "shape":"String",
451          "location":"querystring",
452          "locationName":"QueryParamTwo"
453        },
454        "StringHeaderMember":{
455          "shape":"String",
456          "location":"header",
457          "locationName":"x-amz-header-string"
458        },
459        "TimestampHeaderMember":{
460          "shape":"Timestamp",
461          "location":"header",
462          "locationName":"x-amz-timearg"
463        },
464        "PayloadStructParam":{"shape":"PayloadStructType"}
465      }
466    },
467    "NestedContainersStructure":{
468      "type":"structure",
469      "members":{
470        "ListOfListsOfStrings":{"shape":"ListOfListsOfStrings"},
471        "ListOfListOfListsOfStrings":{"shape":"ListOfListOfListsOfStrings"},
472        "MapOfStringToListOfListsOfStrings":{"shape":"MapOfStringToListOfListsOfStrings"}
473      }
474    },
475    "OperationWithExplicitPayloadBlobInput":{
476      "type":"structure",
477      "members":{
478        "PayloadMember":{"shape":"BlobType"}
479      },
480      "payload":"PayloadMember"
481    },
482    "OperationWithExplicitPayloadStructureInput":{
483      "type":"structure",
484      "members":{
485        "PayloadMember":{"shape":"SimpleStruct"}
486      },
487      "payload":"PayloadMember"
488    },
489    "OperationWithGreedyLabelInput":{
490      "type":"structure",
491      "required":[
492        "NonGreedyPathParam",
493        "GreedyPathParam"
494      ],
495      "members":{
496        "NonGreedyPathParam":{
497          "shape":"String",
498          "location":"uri",
499          "locationName":"NonGreedyPathParam"
500        },
501        "GreedyPathParam":{
502          "shape":"String",
503          "location":"uri",
504          "locationName":"GreedyPathParam"
505        }
506      }
507    },
508    "OperationWithModeledContentTypeInput":{
509      "type":"structure",
510      "members":{
511        "ContentType":{
512          "shape":"String",
513          "location":"header",
514          "locationName":"Content-Type"
515        }
516      }
517    },
518    "PayloadStructType":{
519      "type":"structure",
520      "members":{
521        "PayloadMemberOne":{"shape":"String"},
522        "PayloadMemberTwo":{"shape":"String"}
523      }
524    },
525    "QueryParamWithoutValueInput":{
526      "type":"structure",
527      "members":{
528      }
529    },
530    "RecursiveListType":{
531      "type":"list",
532      "member":{"shape":"RecursiveStructType"}
533    },
534    "RecursiveMapType":{
535      "type":"map",
536      "key":{"shape":"String"},
537      "value":{"shape":"RecursiveStructType"}
538    },
539    "RecursiveStructType":{
540      "type":"structure",
541      "members":{
542        "NoRecurse":{"shape":"String"},
543        "RecursiveStruct":{"shape":"RecursiveStructType"},
544        "RecursiveList":{"shape":"RecursiveListType"},
545        "RecursiveMap":{"shape":"RecursiveMapType"}
546      }
547    },
548    "SimpleStruct":{
549      "type":"structure",
550      "members":{
551        "StringMember":{"shape":"String"}
552      }
553    },
554    "StreamType":{
555      "type":"blob",
556      "streaming":true
557    },
558    "String":{"type":"string"},
559    "StructWithNestedBlobType":{
560      "type":"structure",
561      "members":{
562        "NestedBlob":{"shape":"BlobType"}
563      }
564    },
565    "StructWithTimestamp":{
566      "type":"structure",
567      "members":{
568        "NestedTimestamp":{"shape":"Timestamp"}
569      }
570    },
571    "StructureWithStreamingMember":{
572      "type":"structure",
573      "members":{
574        "StreamingMember":{"shape":"StreamType"}
575      },
576      "payload":"StreamingMember"
577    },
578    "SubTypeOne":{
579      "type":"structure",
580      "members":{
581        "SubTypeOneMember":{"shape":"String"}
582      }
583    },
584    "Timestamp":{"type":"timestamp"},
585    "EnumType": {
586      "type":"string",
587      "enum": [
588        "EnumValue1", "EnumValue2"
589      ]
590    },
591    "EventStreamOperationRequest": {
592      "type": "structure",
593      "required": [
594        "InputEventStream"
595      ],
596      "members": {
597        "InputEventStream": {
598          "shape": "InputEventStream"
599        }
600      },
601      "payload":"InputEventStream"
602    },
603    "EventStreamOutput": {
604      "type": "structure",
605      "required": [
606        "EventStream"
607      ],
608      "members": {
609        "EventStream": {
610          "shape": "EventStream"
611        }
612      }
613    },
614    "InputEventStream": {
615      "type": "structure",
616      "members": {
617        "InputEvent": {
618          "shape": "InputEvent"
619        }
620      },
621      "eventstream": true
622    },
623    "InputEvent": {
624      "type": "structure",
625      "members": {
626        "ExplicitPayloadMember": {
627          "shape":"ExplicitPayloadMember",
628          "eventpayload":true
629        }
630      },
631      "event": true
632    },
633    "ExplicitPayloadMember":{"type":"blob"},
634    "EventStream": {
635      "type": "structure",
636      "members": {
637        "EventOne": {
638          "shape": "EventOne"
639        },
640        "EventTwo": {
641          "shape": "EventTwo"
642        }
643      },
644      "eventstream": true
645    },
646    "EventOne": {
647      "type": "structure",
648      "members": {
649        "Foo": {
650          "shape": "String"
651        }
652      },
653      "event": true
654    },
655    "EventTwo": {
656      "type": "structure",
657      "members": {
658        "Bar": {
659          "shape": "String"
660        }
661      },
662      "event": true
663    }
664  }
665}
666