Debian Codegraph @

models/apis/elastic-inference/2017-07-25/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2017-07-25",
5 "endpointPrefix":"api.elastic-inference",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceAbbreviation":"Amazon Elastic Inference",
9 "serviceFullName":"Amazon Elastic Inference",
10 "serviceId":"Elastic Inference",
11 "signatureVersion":"v4",
12 "signingName":"elastic-inference",
13 "uid":"elastic-inference-2017-07-25"
14 },
15 "operations":{
16 "DescribeAcceleratorOfferings":{
17 "name":"DescribeAcceleratorOfferings",
18 "http":{
19 "method":"POST",
20 "requestUri":"/describe-accelerator-offerings"
21 },
22 "input":{"shape":"DescribeAcceleratorOfferingsRequest"},
23 "output":{"shape":"DescribeAcceleratorOfferingsResponse"},
24 "errors":[
25 {"shape":"BadRequestException"},
26 {"shape":"ResourceNotFoundException"},
27 {"shape":"InternalServerException"}
28 ]
29 },
30 "DescribeAcceleratorTypes":{
31 "name":"DescribeAcceleratorTypes",
32 "http":{
33 "method":"GET",
34 "requestUri":"/describe-accelerator-types"
35 },
36 "input":{"shape":"DescribeAcceleratorTypesRequest"},
37 "output":{"shape":"DescribeAcceleratorTypesResponse"},
38 "errors":[
39 {"shape":"InternalServerException"}
40 ]
41 },
42 "DescribeAccelerators":{
43 "name":"DescribeAccelerators",
44 "http":{
45 "method":"POST",
46 "requestUri":"/describe-accelerators"
47 },
48 "input":{"shape":"DescribeAcceleratorsRequest"},
49 "output":{"shape":"DescribeAcceleratorsResponse"},
50 "errors":[
51 {"shape":"BadRequestException"},
52 {"shape":"ResourceNotFoundException"},
53 {"shape":"InternalServerException"}
54 ]
55 },
56 "ListTagsForResource":{
57 "name":"ListTagsForResource",
58 "http":{
59 "method":"GET",
60 "requestUri":"/tags/{resourceArn}"
61 },
62 "input":{"shape":"ListTagsForResourceRequest"},
63 "output":{"shape":"ListTagsForResourceResult"},
64 "errors":[
65 {"shape":"BadRequestException"},
66 {"shape":"ResourceNotFoundException"},
67 {"shape":"InternalServerException"}
68 ]
69 },
70 "TagResource":{
71 "name":"TagResource",
72 "http":{
73 "method":"POST",
74 "requestUri":"/tags/{resourceArn}"
75 },
76 "input":{"shape":"TagResourceRequest"},
77 "output":{"shape":"TagResourceResult"},
78 "errors":[
79 {"shape":"BadRequestException"},
80 {"shape":"ResourceNotFoundException"},
81 {"shape":"InternalServerException"}
82 ]
83 },
84 "UntagResource":{
85 "name":"UntagResource",
86 "http":{
87 "method":"DELETE",
88 "requestUri":"/tags/{resourceArn}"
89 },
90 "input":{"shape":"UntagResourceRequest"},
91 "output":{"shape":"UntagResourceResult"},
92 "errors":[
93 {"shape":"BadRequestException"},
94 {"shape":"ResourceNotFoundException"},
95 {"shape":"InternalServerException"}
96 ]
97 }
98 },
99 "shapes":{
100 "AcceleratorHealthStatus":{
101 "type":"string",
102 "max":256,
103 "min":1
104 },
105 "AcceleratorId":{
106 "type":"string",
107 "max":256,
108 "min":1,
109 "pattern":"^eia-[0-9a-f]+$"
110 },
111 "AcceleratorIdList":{
112 "type":"list",
113 "member":{"shape":"AcceleratorId"},
114 "max":1000,
115 "min":0
116 },
117 "AcceleratorType":{
118 "type":"structure",
119 "members":{
120 "acceleratorTypeName":{"shape":"AcceleratorTypeName"},
121 "memoryInfo":{"shape":"MemoryInfo"},
122 "throughputInfo":{"shape":"ThroughputInfoList"}
123 }
124 },
125 "AcceleratorTypeList":{
126 "type":"list",
127 "member":{"shape":"AcceleratorType"},
128 "max":100,
129 "min":0
130 },
131 "AcceleratorTypeName":{
132 "type":"string",
133 "max":256,
134 "min":1,
135 "pattern":"^\\S+$"
136 },
137 "AcceleratorTypeNameList":{
138 "type":"list",
139 "member":{"shape":"AcceleratorTypeName"},
140 "max":100,
141 "min":0
142 },
143 "AcceleratorTypeOffering":{
144 "type":"structure",
145 "members":{
146 "acceleratorType":{"shape":"AcceleratorTypeName"},
147 "locationType":{"shape":"LocationType"},
148 "location":{"shape":"Location"}
149 }
150 },
151 "AcceleratorTypeOfferingList":{
152 "type":"list",
153 "member":{"shape":"AcceleratorTypeOffering"},
154 "max":100,
155 "min":0
156 },
157 "AvailabilityZone":{
158 "type":"string",
159 "max":256,
160 "min":1
161 },
162 "BadRequestException":{
163 "type":"structure",
164 "members":{
165 "message":{"shape":"String"}
166 },
167 "error":{"httpStatusCode":400},
168 "exception":true
169 },
170 "DescribeAcceleratorOfferingsRequest":{
171 "type":"structure",
172 "required":["locationType"],
173 "members":{
174 "locationType":{"shape":"LocationType"},
175 "acceleratorTypes":{"shape":"AcceleratorTypeNameList"}
176 }
177 },
178 "DescribeAcceleratorOfferingsResponse":{
179 "type":"structure",
180 "members":{
181 "acceleratorTypeOfferings":{"shape":"AcceleratorTypeOfferingList"}
182 }
183 },
184 "DescribeAcceleratorTypesRequest":{
185 "type":"structure",
186 "members":{
187 }
188 },
189 "DescribeAcceleratorTypesResponse":{
190 "type":"structure",
191 "members":{
192 "acceleratorTypes":{"shape":"AcceleratorTypeList"}
193 }
194 },
195 "DescribeAcceleratorsRequest":{
196 "type":"structure",
197 "members":{
198 "acceleratorIds":{"shape":"AcceleratorIdList"},
199 "filters":{"shape":"FilterList"},
200 "maxResults":{"shape":"MaxResults"},
201 "nextToken":{"shape":"NextToken"}
202 }
203 },
204 "DescribeAcceleratorsResponse":{
205 "type":"structure",
206 "members":{
207 "acceleratorSet":{"shape":"ElasticInferenceAcceleratorSet"},
208 "nextToken":{"shape":"NextToken"}
209 }
210 },
211 "ElasticInferenceAccelerator":{
212 "type":"structure",
213 "members":{
214 "acceleratorHealth":{"shape":"ElasticInferenceAcceleratorHealth"},
215 "acceleratorType":{"shape":"AcceleratorTypeName"},
216 "acceleratorId":{"shape":"AcceleratorId"},
217 "availabilityZone":{"shape":"AvailabilityZone"},
218 "attachedResource":{"shape":"ResourceArn"}
219 }
220 },
221 "ElasticInferenceAcceleratorHealth":{
222 "type":"structure",
223 "members":{
224 "status":{"shape":"AcceleratorHealthStatus"}
225 }
226 },
227 "ElasticInferenceAcceleratorSet":{
228 "type":"list",
229 "member":{"shape":"ElasticInferenceAccelerator"}
230 },
231 "Filter":{
232 "type":"structure",
233 "members":{
234 "name":{"shape":"FilterName"},
235 "values":{"shape":"ValueStringList"}
236 }
237 },
238 "FilterList":{
239 "type":"list",
240 "member":{"shape":"Filter"},
241 "max":100,
242 "min":0
243 },
244 "FilterName":{
245 "type":"string",
246 "max":128,
247 "min":1,
248 "pattern":"^\\S+$"
249 },
250 "Integer":{"type":"integer"},
251 "InternalServerException":{
252 "type":"structure",
253 "members":{
254 "message":{"shape":"String"}
255 },
256 "error":{"httpStatusCode":500},
257 "exception":true
258 },
259 "Key":{
260 "type":"string",
261 "max":256,
262 "min":1,
263 "pattern":"^\\S+$"
264 },
265 "KeyValuePair":{
266 "type":"structure",
267 "members":{
268 "key":{"shape":"Key"},
269 "value":{"shape":"Value"}
270 }
271 },
272 "ListTagsForResourceRequest":{
273 "type":"structure",
274 "required":["resourceArn"],
275 "members":{
276 "resourceArn":{
277 "shape":"ResourceARN",
278 "location":"uri",
279 "locationName":"resourceArn"
280 }
281 }
282 },
283 "ListTagsForResourceResult":{
284 "type":"structure",
285 "members":{
286 "tags":{"shape":"TagMap"}
287 }
288 },
289 "Location":{
290 "type":"string",
291 "max":256,
292 "min":1
293 },
294 "LocationType":{
295 "type":"string",
296 "enum":[
297 "region",
298 "availability-zone",
299 "availability-zone-id"
300 ],
301 "max":256,
302 "min":1
303 },
304 "MaxResults":{
305 "type":"integer",
306 "max":100,
307 "min":0
308 },
309 "MemoryInfo":{
310 "type":"structure",
311 "members":{
312 "sizeInMiB":{"shape":"Integer"}
313 }
314 },
315 "NextToken":{
316 "type":"string",
317 "max":2048,
318 "min":1,
319 "pattern":"^[A-Za-z0-9+/]+={0,2}$"
320 },
321 "ResourceARN":{
322 "type":"string",
323 "max":1011,
324 "min":1,
325 "pattern":"^arn:aws[^\\s:]*:elastic-inference:[^\\s:]+:\\d{12}:elastic-inference-accelerator/eia-[0-9a-f]+$"
326 },
327 "ResourceArn":{
328 "type":"string",
329 "max":1283,
330 "min":1
331 },
332 "ResourceNotFoundException":{
333 "type":"structure",
334 "members":{
335 "message":{"shape":"String"}
336 },
337 "error":{"httpStatusCode":404},
338 "exception":true
339 },
340 "String":{
341 "type":"string",
342 "max":500000,
343 "pattern":"^.*$"
344 },
345 "TagKey":{
346 "type":"string",
347 "max":128,
348 "min":1,
349 "pattern":"^\\S$"
350 },
351 "TagKeyList":{
352 "type":"list",
353 "member":{"shape":"TagKey"},
354 "max":50,
355 "min":1
356 },
357 "TagMap":{
358 "type":"map",
359 "key":{"shape":"TagKey"},
360 "value":{"shape":"TagValue"},
361 "max":50,
362 "min":1
363 },
364 "TagResourceRequest":{
365 "type":"structure",
366 "required":[
367 "resourceArn",
368 "tags"
369 ],
370 "members":{
371 "resourceArn":{
372 "shape":"ResourceARN",
373 "location":"uri",
374 "locationName":"resourceArn"
375 },
376 "tags":{"shape":"TagMap"}
377 }
378 },
379 "TagResourceResult":{
380 "type":"structure",
381 "members":{
382 }
383 },
384 "TagValue":{
385 "type":"string",
386 "max":256,
387 "pattern":".*"
388 },
389 "ThroughputInfoList":{
390 "type":"list",
391 "member":{"shape":"KeyValuePair"},
392 "max":100,
393 "min":0
394 },
395 "UntagResourceRequest":{
396 "type":"structure",
397 "required":[
398 "resourceArn",
399 "tagKeys"
400 ],
401 "members":{
402 "resourceArn":{
403 "shape":"ResourceARN",
404 "location":"uri",
405 "locationName":"resourceArn"
406 },
407 "tagKeys":{
408 "shape":"TagKeyList",
409 "location":"querystring",
410 "locationName":"tagKeys"
411 }
412 }
413 },
414 "UntagResourceResult":{
415 "type":"structure",
416 "members":{
417 }
418 },
419 "Value":{"type":"integer"},
420 "ValueStringList":{
421 "type":"list",
422 "member":{"shape":"String"},
423 "max":100,
424 "min":0
425 }
426 }
427 }