UNPKG

13.4 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2011-12-05",
5 "endpointPrefix": "dynamodb",
6 "jsonVersion": "1.0",
7 "protocol": "json",
8 "serviceAbbreviation": "DynamoDB",
9 "serviceFullName": "Amazon DynamoDB",
10 "serviceId": "DynamoDB",
11 "signatureVersion": "v4",
12 "targetPrefix": "DynamoDB_20111205",
13 "uid": "dynamodb-2011-12-05"
14 },
15 "operations": {
16 "BatchGetItem": {
17 "input": {
18 "type": "structure",
19 "required": [
20 "RequestItems"
21 ],
22 "members": {
23 "RequestItems": {
24 "shape": "S2"
25 }
26 }
27 },
28 "output": {
29 "type": "structure",
30 "members": {
31 "Responses": {
32 "type": "map",
33 "key": {},
34 "value": {
35 "type": "structure",
36 "members": {
37 "Items": {
38 "shape": "Sk"
39 },
40 "ConsumedCapacityUnits": {
41 "type": "double"
42 }
43 }
44 }
45 },
46 "UnprocessedKeys": {
47 "shape": "S2"
48 }
49 }
50 }
51 },
52 "BatchWriteItem": {
53 "input": {
54 "type": "structure",
55 "required": [
56 "RequestItems"
57 ],
58 "members": {
59 "RequestItems": {
60 "shape": "So"
61 }
62 }
63 },
64 "output": {
65 "type": "structure",
66 "members": {
67 "Responses": {
68 "type": "map",
69 "key": {},
70 "value": {
71 "type": "structure",
72 "members": {
73 "ConsumedCapacityUnits": {
74 "type": "double"
75 }
76 }
77 }
78 },
79 "UnprocessedItems": {
80 "shape": "So"
81 }
82 }
83 }
84 },
85 "CreateTable": {
86 "input": {
87 "type": "structure",
88 "required": [
89 "TableName",
90 "KeySchema",
91 "ProvisionedThroughput"
92 ],
93 "members": {
94 "TableName": {},
95 "KeySchema": {
96 "shape": "Sy"
97 },
98 "ProvisionedThroughput": {
99 "shape": "S12"
100 }
101 }
102 },
103 "output": {
104 "type": "structure",
105 "members": {
106 "TableDescription": {
107 "shape": "S15"
108 }
109 }
110 }
111 },
112 "DeleteItem": {
113 "input": {
114 "type": "structure",
115 "required": [
116 "TableName",
117 "Key"
118 ],
119 "members": {
120 "TableName": {},
121 "Key": {
122 "shape": "S6"
123 },
124 "Expected": {
125 "shape": "S1b"
126 },
127 "ReturnValues": {}
128 }
129 },
130 "output": {
131 "type": "structure",
132 "members": {
133 "Attributes": {
134 "shape": "Sl"
135 },
136 "ConsumedCapacityUnits": {
137 "type": "double"
138 }
139 }
140 }
141 },
142 "DeleteTable": {
143 "input": {
144 "type": "structure",
145 "required": [
146 "TableName"
147 ],
148 "members": {
149 "TableName": {}
150 }
151 },
152 "output": {
153 "type": "structure",
154 "members": {
155 "TableDescription": {
156 "shape": "S15"
157 }
158 }
159 }
160 },
161 "DescribeTable": {
162 "input": {
163 "type": "structure",
164 "required": [
165 "TableName"
166 ],
167 "members": {
168 "TableName": {}
169 }
170 },
171 "output": {
172 "type": "structure",
173 "members": {
174 "Table": {
175 "shape": "S15"
176 }
177 }
178 }
179 },
180 "GetItem": {
181 "input": {
182 "type": "structure",
183 "required": [
184 "TableName",
185 "Key"
186 ],
187 "members": {
188 "TableName": {},
189 "Key": {
190 "shape": "S6"
191 },
192 "AttributesToGet": {
193 "shape": "Se"
194 },
195 "ConsistentRead": {
196 "type": "boolean"
197 }
198 }
199 },
200 "output": {
201 "type": "structure",
202 "members": {
203 "Item": {
204 "shape": "Sl"
205 },
206 "ConsumedCapacityUnits": {
207 "type": "double"
208 }
209 }
210 }
211 },
212 "ListTables": {
213 "input": {
214 "type": "structure",
215 "members": {
216 "ExclusiveStartTableName": {},
217 "Limit": {
218 "type": "integer"
219 }
220 }
221 },
222 "output": {
223 "type": "structure",
224 "members": {
225 "TableNames": {
226 "type": "list",
227 "member": {}
228 },
229 "LastEvaluatedTableName": {}
230 }
231 }
232 },
233 "PutItem": {
234 "input": {
235 "type": "structure",
236 "required": [
237 "TableName",
238 "Item"
239 ],
240 "members": {
241 "TableName": {},
242 "Item": {
243 "shape": "Ss"
244 },
245 "Expected": {
246 "shape": "S1b"
247 },
248 "ReturnValues": {}
249 }
250 },
251 "output": {
252 "type": "structure",
253 "members": {
254 "Attributes": {
255 "shape": "Sl"
256 },
257 "ConsumedCapacityUnits": {
258 "type": "double"
259 }
260 }
261 }
262 },
263 "Query": {
264 "input": {
265 "type": "structure",
266 "required": [
267 "TableName",
268 "HashKeyValue"
269 ],
270 "members": {
271 "TableName": {},
272 "AttributesToGet": {
273 "shape": "Se"
274 },
275 "Limit": {
276 "type": "integer"
277 },
278 "ConsistentRead": {
279 "type": "boolean"
280 },
281 "Count": {
282 "type": "boolean"
283 },
284 "HashKeyValue": {
285 "shape": "S7"
286 },
287 "RangeKeyCondition": {
288 "shape": "S1u"
289 },
290 "ScanIndexForward": {
291 "type": "boolean"
292 },
293 "ExclusiveStartKey": {
294 "shape": "S6"
295 }
296 }
297 },
298 "output": {
299 "type": "structure",
300 "members": {
301 "Items": {
302 "shape": "Sk"
303 },
304 "Count": {
305 "type": "integer"
306 },
307 "LastEvaluatedKey": {
308 "shape": "S6"
309 },
310 "ConsumedCapacityUnits": {
311 "type": "double"
312 }
313 }
314 }
315 },
316 "Scan": {
317 "input": {
318 "type": "structure",
319 "required": [
320 "TableName"
321 ],
322 "members": {
323 "TableName": {},
324 "AttributesToGet": {
325 "shape": "Se"
326 },
327 "Limit": {
328 "type": "integer"
329 },
330 "Count": {
331 "type": "boolean"
332 },
333 "ScanFilter": {
334 "type": "map",
335 "key": {},
336 "value": {
337 "shape": "S1u"
338 }
339 },
340 "ExclusiveStartKey": {
341 "shape": "S6"
342 }
343 }
344 },
345 "output": {
346 "type": "structure",
347 "members": {
348 "Items": {
349 "shape": "Sk"
350 },
351 "Count": {
352 "type": "integer"
353 },
354 "ScannedCount": {
355 "type": "integer"
356 },
357 "LastEvaluatedKey": {
358 "shape": "S6"
359 },
360 "ConsumedCapacityUnits": {
361 "type": "double"
362 }
363 }
364 }
365 },
366 "UpdateItem": {
367 "input": {
368 "type": "structure",
369 "required": [
370 "TableName",
371 "Key",
372 "AttributeUpdates"
373 ],
374 "members": {
375 "TableName": {},
376 "Key": {
377 "shape": "S6"
378 },
379 "AttributeUpdates": {
380 "type": "map",
381 "key": {},
382 "value": {
383 "type": "structure",
384 "members": {
385 "Value": {
386 "shape": "S7"
387 },
388 "Action": {}
389 }
390 }
391 },
392 "Expected": {
393 "shape": "S1b"
394 },
395 "ReturnValues": {}
396 }
397 },
398 "output": {
399 "type": "structure",
400 "members": {
401 "Attributes": {
402 "shape": "Sl"
403 },
404 "ConsumedCapacityUnits": {
405 "type": "double"
406 }
407 }
408 }
409 },
410 "UpdateTable": {
411 "input": {
412 "type": "structure",
413 "required": [
414 "TableName",
415 "ProvisionedThroughput"
416 ],
417 "members": {
418 "TableName": {},
419 "ProvisionedThroughput": {
420 "shape": "S12"
421 }
422 }
423 },
424 "output": {
425 "type": "structure",
426 "members": {
427 "TableDescription": {
428 "shape": "S15"
429 }
430 }
431 }
432 }
433 },
434 "shapes": {
435 "S2": {
436 "type": "map",
437 "key": {},
438 "value": {
439 "type": "structure",
440 "required": [
441 "Keys"
442 ],
443 "members": {
444 "Keys": {
445 "type": "list",
446 "member": {
447 "shape": "S6"
448 }
449 },
450 "AttributesToGet": {
451 "shape": "Se"
452 },
453 "ConsistentRead": {
454 "type": "boolean"
455 }
456 }
457 }
458 },
459 "S6": {
460 "type": "structure",
461 "required": [
462 "HashKeyElement"
463 ],
464 "members": {
465 "HashKeyElement": {
466 "shape": "S7"
467 },
468 "RangeKeyElement": {
469 "shape": "S7"
470 }
471 }
472 },
473 "S7": {
474 "type": "structure",
475 "members": {
476 "S": {},
477 "N": {},
478 "B": {
479 "type": "blob"
480 },
481 "SS": {
482 "type": "list",
483 "member": {}
484 },
485 "NS": {
486 "type": "list",
487 "member": {}
488 },
489 "BS": {
490 "type": "list",
491 "member": {
492 "type": "blob"
493 }
494 }
495 }
496 },
497 "Se": {
498 "type": "list",
499 "member": {}
500 },
501 "Sk": {
502 "type": "list",
503 "member": {
504 "shape": "Sl"
505 }
506 },
507 "Sl": {
508 "type": "map",
509 "key": {},
510 "value": {
511 "shape": "S7"
512 }
513 },
514 "So": {
515 "type": "map",
516 "key": {},
517 "value": {
518 "type": "list",
519 "member": {
520 "type": "structure",
521 "members": {
522 "PutRequest": {
523 "type": "structure",
524 "required": [
525 "Item"
526 ],
527 "members": {
528 "Item": {
529 "shape": "Ss"
530 }
531 }
532 },
533 "DeleteRequest": {
534 "type": "structure",
535 "required": [
536 "Key"
537 ],
538 "members": {
539 "Key": {
540 "shape": "S6"
541 }
542 }
543 }
544 }
545 }
546 }
547 },
548 "Ss": {
549 "type": "map",
550 "key": {},
551 "value": {
552 "shape": "S7"
553 }
554 },
555 "Sy": {
556 "type": "structure",
557 "required": [
558 "HashKeyElement"
559 ],
560 "members": {
561 "HashKeyElement": {
562 "shape": "Sz"
563 },
564 "RangeKeyElement": {
565 "shape": "Sz"
566 }
567 }
568 },
569 "Sz": {
570 "type": "structure",
571 "required": [
572 "AttributeName",
573 "AttributeType"
574 ],
575 "members": {
576 "AttributeName": {},
577 "AttributeType": {}
578 }
579 },
580 "S12": {
581 "type": "structure",
582 "required": [
583 "ReadCapacityUnits",
584 "WriteCapacityUnits"
585 ],
586 "members": {
587 "ReadCapacityUnits": {
588 "type": "long"
589 },
590 "WriteCapacityUnits": {
591 "type": "long"
592 }
593 }
594 },
595 "S15": {
596 "type": "structure",
597 "members": {
598 "TableName": {},
599 "KeySchema": {
600 "shape": "Sy"
601 },
602 "TableStatus": {},
603 "CreationDateTime": {
604 "type": "timestamp"
605 },
606 "ProvisionedThroughput": {
607 "type": "structure",
608 "members": {
609 "LastIncreaseDateTime": {
610 "type": "timestamp"
611 },
612 "LastDecreaseDateTime": {
613 "type": "timestamp"
614 },
615 "NumberOfDecreasesToday": {
616 "type": "long"
617 },
618 "ReadCapacityUnits": {
619 "type": "long"
620 },
621 "WriteCapacityUnits": {
622 "type": "long"
623 }
624 }
625 },
626 "TableSizeBytes": {
627 "type": "long"
628 },
629 "ItemCount": {
630 "type": "long"
631 }
632 }
633 },
634 "S1b": {
635 "type": "map",
636 "key": {},
637 "value": {
638 "type": "structure",
639 "members": {
640 "Value": {
641 "shape": "S7"
642 },
643 "Exists": {
644 "type": "boolean"
645 }
646 }
647 }
648 },
649 "S1u": {
650 "type": "structure",
651 "required": [
652 "ComparisonOperator"
653 ],
654 "members": {
655 "AttributeValueList": {
656 "type": "list",
657 "member": {
658 "shape": "S7"
659 }
660 },
661 "ComparisonOperator": {}
662 }
663 }
664 }
665}
\No newline at end of file