• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2016-03-11",
5    "endpointPrefix":"query",
6    "protocol":"query",
7    "serviceAbbreviation":"AmazonProtocolQuery",
8    "serviceFullName":"AWS DR Tools Query Protocol Tests",
9    "serviceId":"AmazonProtocolQuery",
10    "signatureVersion":"v4",
11    "timestampFormat":"unixTimestamp"
12  },
13  "operations":{
14    "AllTypes":{
15      "name":"AllTypes",
16      "http":{
17        "method":"POST",
18        "requestUri":"/"
19      },
20      "input":{"shape":"AllTypesStructure"},
21      "output":{
22        "shape":"AllTypesStructure",
23        "resultWrapper":"AllTypesResult"
24      },
25      "errors":[
26        {"shape":"EmptyModeledException"},
27        {"shape":"ImplicitPayloadException"}
28      ]
29    },
30    "IdempotentOperation":{
31      "name":"IdempotentOperation",
32      "http":{
33        "method":"POST",
34        "requestUri":"/"
35      },
36      "input":{"shape":"IdempotentOperationStructure"},
37      "output":{
38        "shape":"IdempotentOperationStructure",
39        "resultWrapper":"IdempotentOperationResult"
40      }
41    },
42    "QueryTypes":{
43      "name":"QueryTypes",
44      "http":{
45        "method":"POST",
46        "requestUri":"/"
47      },
48      "input":{"shape":"QueryTypesInput"},
49      "output":{
50        "shape":"QueryTypesInput",
51        "resultWrapper":"QueryTypesResult"
52      }
53    },
54    "StreamingInputOperation":{
55      "name":"StreamingInputOperation",
56      "http":{
57        "method":"POST",
58        "requestUri":"/"
59      },
60      "input":{"shape":"StructureWithStreamingMember"}
61    },
62    "StreamingOutputOperation":{
63      "name":"StreamingOutputOperation",
64      "http":{
65        "method":"POST",
66        "requestUri":"/2016-03-11/streamingOutputOperation"
67      },
68      "output":{"shape":"StructureWithStreamingMember"}
69    }
70  },
71  "shapes":{
72    "AllTypesStructure":{
73      "type":"structure",
74      "members":{
75        "stringMember":{"shape":"String"},
76        "integerMember":{"shape":"Integer"},
77        "booleanMember":{"shape":"Boolean"},
78        "floatMember":{"shape":"Float"},
79        "doubleMember":{"shape":"Double"},
80        "longMember":{"shape":"Long"},
81        "shortMember":{"shape":"Short"},
82        "simpleStructMember":{"shape":"SimpleStruct"},
83        "simpleList":{"shape":"ListOfStrings"},
84        "listOfStructs":{"shape":"ListOfSimpleStructs"},
85        "mapOfStringToString":{"shape":"MapOfStringToString"},
86        "timestampMember":{"shape":"Timestamp"},
87        "structWithNestedTimestampMember":{"shape":"StructWithTimestamp"},
88        "blobArg":{"shape":"BlobType"},
89        "blobMap":{"shape":"BlobMapType"},
90        "listOfBlobs":{"shape":"ListOfBlobsType"},
91        "ListOfTimeStamp": {"shape": "ListOfTimeStamp"},
92        "MapOfTimeStamp": {"shape": "MapOfTimeStamp"}
93      }
94    },
95    "BlobMapType":{
96      "type":"map",
97      "key":{"shape":"String"},
98      "value":{"shape":"BlobType"}
99    },
100    "BlobType":{"type":"blob"},
101    "Boolean":{"type":"boolean"},
102    "Double":{"type":"double"},
103    "FlattenedListOfStrings":{
104      "type":"list",
105      "member":{"shape":"String"},
106      "flattened":true
107    },
108    "FlattenedListOfStructs":{
109      "type":"list",
110      "member":{"shape":"SimpleStruct"},
111      "flattened":true
112    },
113    "FlattenedListWithLocation":{
114      "type":"list",
115      "member":{
116        "shape":"String",
117        "locationName":"item"
118      },
119      "flattened":true
120    },
121    "FlattenedMap":{
122      "type":"map",
123      "key":{"shape":"String"},
124      "value":{"shape":"String"},
125      "flattened":true
126    },
127    "FlattenedMapWithLocation":{
128      "type":"map",
129      "key":{
130        "shape":"String",
131        "locationName":"thekey"
132      },
133      "value":{
134        "shape":"String",
135        "locationName":"thevalue"
136      },
137      "flattened":true
138    },
139    "Float":{"type":"float"},
140    "IdempotentOperationStructure":{
141      "type":"structure",
142      "members":{
143        "IdempotencyToken":{
144          "shape":"String",
145          "idempotencyToken":true
146        }
147      }
148    },
149    "Integer":{"type":"integer"},
150    "ListOfBlobsType":{
151      "type":"list",
152      "member":{"shape":"BlobType"}
153    },
154    "ListOfSimpleStructs":{
155      "type":"list",
156      "member":{"shape":"SimpleStruct"}
157    },
158    "ListOfStrings":{
159      "type":"list",
160      "member":{"shape":"String"}
161    },
162    "Long":{"type":"long"},
163    "Short":{"type":"short"},
164    "MapOfStringToString":{
165      "type":"map",
166      "key":{"shape":"String"},
167      "value":{"shape":"String"}
168    },
169    "NonFlattenedListWithLocation":{
170      "type":"list",
171      "member":{
172        "shape":"String",
173        "locationName":"item"
174      }
175    },
176    "NonFlattenedMapWithLocation":{
177      "type":"map",
178      "key":{
179        "shape":"String",
180        "locationName":"thekey"
181      },
182      "value":{
183        "shape":"String",
184        "locationName":"thevalue"
185      }
186    },
187    "QueryTypesInput":{
188      "type":"structure",
189      "members":{
190        "FlattenedListOfStrings":{"shape":"FlattenedListOfStrings"},
191        "NonFlattenedListWithLocation":{"shape":"NonFlattenedListWithLocation"},
192        "FlattenedListOfStructs":{"shape":"FlattenedListOfStructs"},
193        "FlattenedListWithLocation":{"shape":"FlattenedListWithLocation"},
194        "FlattenedMap":{"shape":"FlattenedMap"},
195        "FlattenedMapWithLocation":{
196          "shape":"FlattenedMapWithLocation",
197          "locationName":"flatmap"
198        },
199        "NonFlattenedMapWithLocation":{
200          "shape":"NonFlattenedMapWithLocation",
201          "locationName":"themap"
202        }
203      }
204    },
205    "SimpleStruct":{
206      "type":"structure",
207      "members":{
208        "StringMember":{"shape":"String"}
209      }
210    },
211    "String":{"type":"string"},
212    "StructWithTimestamp":{
213      "type":"structure",
214      "members":{
215        "NestedTimestamp":{"shape":"Timestamp"}
216      }
217    },
218    "ListOfTimeStamp":{
219      "type":"list",
220      "member":{"shape":"UnixTimestamp","locationName":"item"}
221    },
222    "MapOfTimeStamp":{
223      "type":"map",
224      "key":{"shape":"String"},
225      "value":{"shape":"UnixTimestamp"}
226    },
227    "UnixTimestamp":{
228      "type":"timestamp",
229      "timestampFormat":"unixTimestamp"
230    },
231    "ImplicitPayloadException":{
232      "type":"structure",
233      "members":{
234        "StringMember":{"shape":"String"},
235        "IntegerMember":{"shape":"Integer"},
236        "LongMember":{"shape":"Long"},
237        "ShortMember":{"shape":"Short"},
238        "DoubleMember":{"shape":"Double"},
239        "FloatMember":{"shape":"Float"},
240        "TimestampMember":{"shape":"Timestamp"},
241        "BooleanMember":{"shape":"Boolean"},
242        "BlobMember":{"shape":"BlobType"},
243        "ListMember":{"shape":"ListOfStrings"},
244        "MapMember":{"shape":"MapOfStringToString"},
245        "SimpleStructMember":{"shape":"SimpleStruct"}
246      },
247      "exception":true
248    },
249    "EmptyModeledException":{
250      "type":"structure",
251      "members":{
252      },
253      "exception":true
254    },
255    "Timestamp":{"type":"timestamp"},
256    "StructureWithStreamingMember":{
257      "type":"structure",
258      "members":{
259        "StreamingMember":{"shape":"StreamType"}
260      },
261      "payload":"StreamingMember"
262    },
263    "StreamType":{
264      "type":"blob",
265      "streaming":true,
266      "requiresLength":true
267    }
268  }
269}
270