fake_dynamo 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1555 @@
1
+ # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ ---
15
+ :target_prefix: DynamoDB_20120810.
16
+ :api_version: '2012-08-10'
17
+ :operations:
18
+ - :name: BatchGetItem
19
+ :method: :batch_get_item
20
+ :inputs:
21
+ RequestItems:
22
+ - :map:
23
+ :key:
24
+ - :string
25
+ :value:
26
+ - :structure:
27
+ Keys:
28
+ - :list:
29
+ - :map:
30
+ :key:
31
+ - :string
32
+ :value:
33
+ - :structure:
34
+ S:
35
+ - :string
36
+ N:
37
+ - :string
38
+ B:
39
+ - :blob
40
+ SS:
41
+ - :list:
42
+ - :string
43
+ NS:
44
+ - :list:
45
+ - :string
46
+ BS:
47
+ - :list:
48
+ - :blob
49
+ - :required
50
+ - :within: !ruby/range 1..100
51
+ AttributesToGet:
52
+ - :list:
53
+ - :string
54
+ - :within: !ruby/range 1..10000
55
+ ConsistentRead:
56
+ - :boolean
57
+ - :required
58
+ ReturnConsumedCapacity:
59
+ - :string
60
+ - :enum: [TOTAL, NONE]
61
+ :outputs:
62
+ Responses:
63
+ :sym: :responses
64
+ :type: :map
65
+ :members:
66
+ :sym: :member
67
+ :type: :map
68
+ :members:
69
+ :sym: :map_value
70
+ :type: :hash
71
+ :members:
72
+ S:
73
+ :sym: :s
74
+ :type: :string
75
+ N:
76
+ :sym: :n
77
+ :type: :string
78
+ B:
79
+ :sym: :b
80
+ :type: :blob
81
+ SS:
82
+ :sym: :ss
83
+ :type: :string
84
+ NS:
85
+ :sym: :ns
86
+ :type: :string
87
+ BS:
88
+ :sym: :bs
89
+ :type: :blob
90
+ UnprocessedKeys:
91
+ :sym: :unprocessed_keys
92
+ :type: :map
93
+ :members:
94
+ :sym: :map_value
95
+ :type: :hash
96
+ :members:
97
+ Keys:
98
+ :sym: :member
99
+ :type: :map
100
+ :members:
101
+ :sym: :map_value
102
+ :type: :hash
103
+ :members:
104
+ S:
105
+ :sym: :s
106
+ :type: :string
107
+ N:
108
+ :sym: :n
109
+ :type: :string
110
+ B:
111
+ :sym: :b
112
+ :type: :blob
113
+ SS:
114
+ :sym: :ss
115
+ :type: :string
116
+ NS:
117
+ :sym: :ns
118
+ :type: :string
119
+ BS:
120
+ :sym: :bs
121
+ :type: :blob
122
+ AttributesToGet:
123
+ :sym: :attributes_to_get
124
+ :type: :string
125
+ ConsistentRead:
126
+ :sym: :consistent_read
127
+ :type: :boolean
128
+ ConsumedCapacity:
129
+ :sym: :consumed_capacity
130
+ :type: :hash
131
+ :members:
132
+ TableName:
133
+ :sym: :table_name
134
+ :type: :string
135
+ CapacityUnits:
136
+ :sym: :capacity_units
137
+ :type: :float
138
+ - :name: BatchWriteItem
139
+ :method: :batch_write_item
140
+ :inputs:
141
+ RequestItems:
142
+ - :map:
143
+ :key:
144
+ - :string
145
+ :value:
146
+ - :list:
147
+ - :structure:
148
+ PutRequest:
149
+ - :structure:
150
+ Item:
151
+ - :map:
152
+ :key:
153
+ - :string
154
+ :value:
155
+ - :structure:
156
+ S:
157
+ - :string
158
+ N:
159
+ - :string
160
+ B:
161
+ - :blob
162
+ SS:
163
+ - :list:
164
+ - :string
165
+ NS:
166
+ - :list:
167
+ - :string
168
+ BS:
169
+ - :list:
170
+ - :blob
171
+ - :required
172
+ DeleteRequest:
173
+ - :structure:
174
+ Key:
175
+ - :map:
176
+ :key:
177
+ - :string
178
+ :value:
179
+ - :structure:
180
+ S:
181
+ - :string
182
+ N:
183
+ - :string
184
+ B:
185
+ - :blob
186
+ SS:
187
+ - :list:
188
+ - :string
189
+ NS:
190
+ - :list:
191
+ - :string
192
+ BS:
193
+ - :list:
194
+ - :blob
195
+ - :required
196
+ - :within: !ruby/range 1..25
197
+ - :required
198
+ ReturnConsumedCapacity:
199
+ - :string
200
+ - :enum: [TOTAL, NONE]
201
+ ReturnItemCollectionMetrics:
202
+ - :string
203
+ - :enum: [SIZE, NONE]
204
+ :outputs:
205
+ UnprocessedItems:
206
+ :sym: :unprocessed_items
207
+ :type: :map
208
+ :members:
209
+ :sym: :value
210
+ :type: :hash
211
+ :members:
212
+ PutRequest:
213
+ :sym: :put_request
214
+ :type: :hash
215
+ :members:
216
+ Item:
217
+ :sym: :item
218
+ :type: :map
219
+ :members:
220
+ :sym: :map_value
221
+ :type: :hash
222
+ :members:
223
+ S:
224
+ :sym: :s
225
+ :type: :string
226
+ N:
227
+ :sym: :n
228
+ :type: :string
229
+ B:
230
+ :sym: :b
231
+ :type: :blob
232
+ SS:
233
+ :sym: :ss
234
+ :type: :string
235
+ NS:
236
+ :sym: :ns
237
+ :type: :string
238
+ BS:
239
+ :sym: :bs
240
+ :type: :blob
241
+ DeleteRequest:
242
+ :sym: :delete_request
243
+ :type: :hash
244
+ :members:
245
+ Key:
246
+ :sym: :key
247
+ :type: :map
248
+ :members:
249
+ :sym: :map_value
250
+ :type: :hash
251
+ :members:
252
+ S:
253
+ :sym: :s
254
+ :type: :string
255
+ N:
256
+ :sym: :n
257
+ :type: :string
258
+ B:
259
+ :sym: :b
260
+ :type: :blob
261
+ SS:
262
+ :sym: :ss
263
+ :type: :string
264
+ NS:
265
+ :sym: :ns
266
+ :type: :string
267
+ BS:
268
+ :sym: :bs
269
+ :type: :blob
270
+ ItemCollectionMetrics:
271
+ :sym: :item_collection_metrics
272
+ :type: :map
273
+ :members:
274
+ :sym: :value
275
+ :type: :hash
276
+ :members:
277
+ ItemCollectionKey:
278
+ :sym: :item_collection_key
279
+ :type: :map
280
+ :members:
281
+ :sym: :map_value
282
+ :type: :hash
283
+ :members:
284
+ S:
285
+ :sym: :s
286
+ :type: :string
287
+ N:
288
+ :sym: :n
289
+ :type: :string
290
+ B:
291
+ :sym: :b
292
+ :type: :blob
293
+ SS:
294
+ :sym: :ss
295
+ :type: :string
296
+ NS:
297
+ :sym: :ns
298
+ :type: :string
299
+ BS:
300
+ :sym: :bs
301
+ :type: :blob
302
+ SizeEstimateRangeGB:
303
+ :sym: :size_estimate_range_gb
304
+ :type: :float
305
+ ConsumedCapacity:
306
+ :sym: :consumed_capacity
307
+ :type: :hash
308
+ :members:
309
+ TableName:
310
+ :sym: :table_name
311
+ :type: :string
312
+ CapacityUnits:
313
+ :sym: :capacity_units
314
+ :type: :float
315
+ - :name: CreateTable
316
+ :method: :create_table
317
+ :inputs:
318
+ AttributeDefinitions:
319
+ - :list:
320
+ - :structure:
321
+ AttributeName:
322
+ - :string
323
+ - :required
324
+ AttributeType:
325
+ - :string
326
+ - :enum: [B, N, S]
327
+ - :required
328
+ - :required
329
+ TableName:
330
+ - :string
331
+ - :pattern: !ruby/regexp /[a-zA-Z0-9_.-]+/
332
+ - :within: !ruby/range 3..255
333
+ - :required
334
+ KeySchema:
335
+ - :list:
336
+ - :structure:
337
+ AttributeName:
338
+ - :string
339
+ - :required
340
+ KeyType:
341
+ - :string
342
+ - :required
343
+ - :enum: [HASH, RANGE]
344
+ - :required
345
+ - :within: !ruby/range 1..2
346
+ LocalSecondaryIndexes:
347
+ - :list:
348
+ - :structure:
349
+ IndexName:
350
+ - :string
351
+ - :pattern: !ruby/regexp /[a-zA-Z0-9_.-]+/
352
+ - :within: !ruby/range 3..255
353
+ - :required
354
+ KeySchema:
355
+ - :list:
356
+ - :structure:
357
+ AttributeName:
358
+ - :string
359
+ - :required
360
+ KeyType:
361
+ - :string
362
+ - :required
363
+ - :enum: [HASH, RANGE]
364
+ - :required
365
+ Projection:
366
+ - :structure:
367
+ ProjectionType:
368
+ - :string
369
+ - :enum: [ALL, KEYS_ONLY, INCLUDE]
370
+ NonKeyAttributes:
371
+ - :list:
372
+ - :string
373
+ - :within: !ruby/range 1..20
374
+ - :required
375
+ - :within: !ruby/range 1..5
376
+ ProvisionedThroughput:
377
+ - :structure:
378
+ ReadCapacityUnits:
379
+ - :long
380
+ - :required
381
+ WriteCapacityUnits:
382
+ - :long
383
+ - :required
384
+ - :required
385
+ :outputs:
386
+ TableDescription:
387
+ :sym: :table_description
388
+ :type: :hash
389
+ :members:
390
+ AttributeDefinitions:
391
+ :sym: :attribute_definitions
392
+ :type: :hash
393
+ :members:
394
+ AttributeName:
395
+ :sym: :attribute_name
396
+ :type: :string
397
+ AttributeType:
398
+ :sym: :attribute_type
399
+ :type: :string
400
+ TableName:
401
+ :sym: :table_name
402
+ :type: :string
403
+ KeySchema:
404
+ :sym: :key_schema
405
+ :type: :hash
406
+ :members:
407
+ AttributeName:
408
+ :sym: :attribute_name
409
+ :type: :string
410
+ KeyType:
411
+ :sym: :key_type
412
+ :type: :string
413
+ TableStatus:
414
+ :sym: :table_status
415
+ :type: :string
416
+ CreationDateTime:
417
+ :sym: :creation_date_time
418
+ :type: :time
419
+ ProvisionedThroughput:
420
+ :sym: :provisioned_throughput
421
+ :type: :hash
422
+ :members:
423
+ LastIncreaseDateTime:
424
+ :sym: :last_increase_date_time
425
+ :type: :time
426
+ LastDecreaseDateTime:
427
+ :sym: :last_decrease_date_time
428
+ :type: :time
429
+ NumberOfDecreasesToday:
430
+ :sym: :number_of_decreases_today
431
+ :type: :integer
432
+ ReadCapacityUnits:
433
+ :sym: :read_capacity_units
434
+ :type: :integer
435
+ WriteCapacityUnits:
436
+ :sym: :write_capacity_units
437
+ :type: :integer
438
+ TableSizeBytes:
439
+ :sym: :table_size_bytes
440
+ :type: :integer
441
+ ItemCount:
442
+ :sym: :item_count
443
+ :type: :integer
444
+ LocalSecondaryIndexes:
445
+ :sym: :local_secondary_indexes
446
+ :type: :hash
447
+ :members:
448
+ IndexName:
449
+ :sym: :index_name
450
+ :type: :string
451
+ KeySchema:
452
+ :sym: :key_schema
453
+ :type: :hash
454
+ :members:
455
+ AttributeName:
456
+ :sym: :attribute_name
457
+ :type: :string
458
+ KeyType:
459
+ :sym: :key_type
460
+ :type: :string
461
+ Projection:
462
+ :sym: :projection
463
+ :type: :hash
464
+ :members:
465
+ ProjectionType:
466
+ :sym: :projection_type
467
+ :type: :string
468
+ NonKeyAttributes:
469
+ :sym: :non_key_attributes
470
+ :type: :string
471
+ IndexSizeBytes:
472
+ :sym: :index_size_bytes
473
+ :type: :integer
474
+ ItemCount:
475
+ :sym: :item_count
476
+ :type: :integer
477
+ - :name: DeleteItem
478
+ :method: :delete_item
479
+ :inputs:
480
+ TableName:
481
+ - :string
482
+ - :required
483
+ Key:
484
+ - :map:
485
+ :key:
486
+ - :string
487
+ :value:
488
+ - :structure:
489
+ S:
490
+ - :string
491
+ N:
492
+ - :string
493
+ B:
494
+ - :blob
495
+ SS:
496
+ - :list:
497
+ - :string
498
+ NS:
499
+ - :list:
500
+ - :string
501
+ BS:
502
+ - :list:
503
+ - :blob
504
+ - :required
505
+ Expected:
506
+ - :map:
507
+ :key:
508
+ - :string
509
+ :value:
510
+ - :structure:
511
+ Value:
512
+ - :structure:
513
+ S:
514
+ - :string
515
+ N:
516
+ - :string
517
+ B:
518
+ - :blob
519
+ SS:
520
+ - :list:
521
+ - :string
522
+ NS:
523
+ - :list:
524
+ - :string
525
+ BS:
526
+ - :list:
527
+ - :blob
528
+ Exists:
529
+ - :boolean
530
+ ReturnValues:
531
+ - :string
532
+ - :enum: [ALL_OLD, NONE]
533
+ ReturnConsumedCapacity:
534
+ - :string
535
+ - :enum: [TOTAL, NONE]
536
+ ReturnItemCollectionMetrics:
537
+ - :string
538
+ - :enum: [SIZE, NONE]
539
+ :outputs:
540
+ Attributes:
541
+ :sym: :attributes
542
+ :type: :map
543
+ :members:
544
+ :sym: :map_value
545
+ :type: :hash
546
+ :members:
547
+ S:
548
+ :sym: :s
549
+ :type: :string
550
+ N:
551
+ :sym: :n
552
+ :type: :string
553
+ B:
554
+ :sym: :b
555
+ :type: :blob
556
+ SS:
557
+ :sym: :ss
558
+ :type: :string
559
+ NS:
560
+ :sym: :ns
561
+ :type: :string
562
+ BS:
563
+ :sym: :bs
564
+ :type: :blob
565
+ ConsumedCapacity:
566
+ :sym: :consumed_capacity
567
+ :type: :hash
568
+ :members:
569
+ TableName:
570
+ :sym: :table_name
571
+ :type: :string
572
+ CapacityUnits:
573
+ :sym: :capacity_units
574
+ :type: :float
575
+ ItemCollectionMetrics:
576
+ :sym: :item_collection_metrics
577
+ :type: :hash
578
+ :members:
579
+ ItemCollectionKey:
580
+ :sym: :item_collection_key
581
+ :type: :map
582
+ :members:
583
+ :sym: :map_value
584
+ :type: :hash
585
+ :members:
586
+ S:
587
+ :sym: :s
588
+ :type: :string
589
+ N:
590
+ :sym: :n
591
+ :type: :string
592
+ B:
593
+ :sym: :b
594
+ :type: :blob
595
+ SS:
596
+ :sym: :ss
597
+ :type: :string
598
+ NS:
599
+ :sym: :ns
600
+ :type: :string
601
+ BS:
602
+ :sym: :bs
603
+ :type: :blob
604
+ SizeEstimateRangeGB:
605
+ :sym: :size_estimate_range_gb
606
+ :type: :float
607
+ - :name: DeleteTable
608
+ :method: :delete_table
609
+ :inputs:
610
+ TableName:
611
+ - :string
612
+ - :required
613
+ :outputs:
614
+ TableDescription:
615
+ :sym: :table_description
616
+ :type: :hash
617
+ :members:
618
+ AttributeDefinitions:
619
+ :sym: :attribute_definitions
620
+ :type: :hash
621
+ :members:
622
+ AttributeName:
623
+ :sym: :attribute_name
624
+ :type: :string
625
+ AttributeType:
626
+ :sym: :attribute_type
627
+ :type: :string
628
+ TableName:
629
+ :sym: :table_name
630
+ :type: :string
631
+ KeySchema:
632
+ :sym: :key_schema
633
+ :type: :hash
634
+ :members:
635
+ AttributeName:
636
+ :sym: :attribute_name
637
+ :type: :string
638
+ KeyType:
639
+ :sym: :key_type
640
+ :type: :string
641
+ TableStatus:
642
+ :sym: :table_status
643
+ :type: :string
644
+ CreationDateTime:
645
+ :sym: :creation_date_time
646
+ :type: :time
647
+ ProvisionedThroughput:
648
+ :sym: :provisioned_throughput
649
+ :type: :hash
650
+ :members:
651
+ LastIncreaseDateTime:
652
+ :sym: :last_increase_date_time
653
+ :type: :time
654
+ LastDecreaseDateTime:
655
+ :sym: :last_decrease_date_time
656
+ :type: :time
657
+ NumberOfDecreasesToday:
658
+ :sym: :number_of_decreases_today
659
+ :type: :integer
660
+ ReadCapacityUnits:
661
+ :sym: :read_capacity_units
662
+ :type: :integer
663
+ WriteCapacityUnits:
664
+ :sym: :write_capacity_units
665
+ :type: :integer
666
+ TableSizeBytes:
667
+ :sym: :table_size_bytes
668
+ :type: :integer
669
+ ItemCount:
670
+ :sym: :item_count
671
+ :type: :integer
672
+ LocalSecondaryIndexes:
673
+ :sym: :local_secondary_indexes
674
+ :type: :hash
675
+ :members:
676
+ IndexName:
677
+ :sym: :index_name
678
+ :type: :string
679
+ KeySchema:
680
+ :sym: :key_schema
681
+ :type: :hash
682
+ :members:
683
+ AttributeName:
684
+ :sym: :attribute_name
685
+ :type: :string
686
+ KeyType:
687
+ :sym: :key_type
688
+ :type: :string
689
+ Projection:
690
+ :sym: :projection
691
+ :type: :hash
692
+ :members:
693
+ ProjectionType:
694
+ :sym: :projection_type
695
+ :type: :string
696
+ NonKeyAttributes:
697
+ :sym: :non_key_attributes
698
+ :type: :string
699
+ IndexSizeBytes:
700
+ :sym: :index_size_bytes
701
+ :type: :integer
702
+ ItemCount:
703
+ :sym: :item_count
704
+ :type: :integer
705
+ - :name: DescribeTable
706
+ :method: :describe_table
707
+ :inputs:
708
+ TableName:
709
+ - :string
710
+ - :required
711
+ :outputs:
712
+ Table:
713
+ :sym: :table
714
+ :type: :hash
715
+ :members:
716
+ AttributeDefinitions:
717
+ :sym: :attribute_definitions
718
+ :type: :hash
719
+ :members:
720
+ AttributeName:
721
+ :sym: :attribute_name
722
+ :type: :string
723
+ AttributeType:
724
+ :sym: :attribute_type
725
+ :type: :string
726
+ TableName:
727
+ :sym: :table_name
728
+ :type: :string
729
+ KeySchema:
730
+ :sym: :key_schema
731
+ :type: :hash
732
+ :members:
733
+ AttributeName:
734
+ :sym: :attribute_name
735
+ :type: :string
736
+ KeyType:
737
+ :sym: :key_type
738
+ :type: :string
739
+ TableStatus:
740
+ :sym: :table_status
741
+ :type: :string
742
+ CreationDateTime:
743
+ :sym: :creation_date_time
744
+ :type: :time
745
+ ProvisionedThroughput:
746
+ :sym: :provisioned_throughput
747
+ :type: :hash
748
+ :members:
749
+ LastIncreaseDateTime:
750
+ :sym: :last_increase_date_time
751
+ :type: :time
752
+ LastDecreaseDateTime:
753
+ :sym: :last_decrease_date_time
754
+ :type: :time
755
+ NumberOfDecreasesToday:
756
+ :sym: :number_of_decreases_today
757
+ :type: :integer
758
+ ReadCapacityUnits:
759
+ :sym: :read_capacity_units
760
+ :type: :integer
761
+ WriteCapacityUnits:
762
+ :sym: :write_capacity_units
763
+ :type: :integer
764
+ TableSizeBytes:
765
+ :sym: :table_size_bytes
766
+ :type: :integer
767
+ ItemCount:
768
+ :sym: :item_count
769
+ :type: :integer
770
+ LocalSecondaryIndexes:
771
+ :sym: :local_secondary_indexes
772
+ :type: :hash
773
+ :members:
774
+ IndexName:
775
+ :sym: :index_name
776
+ :type: :string
777
+ KeySchema:
778
+ :sym: :key_schema
779
+ :type: :hash
780
+ :members:
781
+ AttributeName:
782
+ :sym: :attribute_name
783
+ :type: :string
784
+ KeyType:
785
+ :sym: :key_type
786
+ :type: :string
787
+ Projection:
788
+ :sym: :projection
789
+ :type: :hash
790
+ :members:
791
+ ProjectionType:
792
+ :sym: :projection_type
793
+ :type: :string
794
+ NonKeyAttributes:
795
+ :sym: :non_key_attributes
796
+ :type: :string
797
+ IndexSizeBytes:
798
+ :sym: :index_size_bytes
799
+ :type: :integer
800
+ ItemCount:
801
+ :sym: :item_count
802
+ :type: :integer
803
+ - :name: GetItem
804
+ :method: :get_item
805
+ :inputs:
806
+ TableName:
807
+ - :string
808
+ - :required
809
+ Key:
810
+ - :map:
811
+ :key:
812
+ - :string
813
+ :value:
814
+ - :structure:
815
+ S:
816
+ - :string
817
+ N:
818
+ - :string
819
+ B:
820
+ - :blob
821
+ SS:
822
+ - :list:
823
+ - :string
824
+ NS:
825
+ - :list:
826
+ - :string
827
+ BS:
828
+ - :list:
829
+ - :blob
830
+ - :required
831
+ AttributesToGet:
832
+ - :list:
833
+ - :string
834
+ - :within: !ruby/range 1..10000
835
+ ConsistentRead:
836
+ - :boolean
837
+ ReturnConsumedCapacity:
838
+ - :string
839
+ - :enum: [TOTAL, NONE]
840
+ :outputs:
841
+ Item:
842
+ :sym: :item
843
+ :type: :map
844
+ :members:
845
+ :sym: :map_value
846
+ :type: :hash
847
+ :members:
848
+ S:
849
+ :sym: :s
850
+ :type: :string
851
+ N:
852
+ :sym: :n
853
+ :type: :string
854
+ B:
855
+ :sym: :b
856
+ :type: :blob
857
+ SS:
858
+ :sym: :ss
859
+ :type: :string
860
+ NS:
861
+ :sym: :ns
862
+ :type: :string
863
+ BS:
864
+ :sym: :bs
865
+ :type: :blob
866
+ ConsumedCapacity:
867
+ :sym: :consumed_capacity
868
+ :type: :hash
869
+ :members:
870
+ TableName:
871
+ :sym: :table_name
872
+ :type: :string
873
+ CapacityUnits:
874
+ :sym: :capacity_units
875
+ :type: :float
876
+ - :name: ListTables
877
+ :method: :list_tables
878
+ :inputs:
879
+ ExclusiveStartTableName:
880
+ - :string
881
+ Limit:
882
+ - :integer
883
+ :outputs:
884
+ TableNames:
885
+ :sym: :table_names
886
+ :type: :string
887
+ LastEvaluatedTableName:
888
+ :sym: :last_evaluated_table_name
889
+ :type: :string
890
+ - :name: PutItem
891
+ :method: :put_item
892
+ :inputs:
893
+ TableName:
894
+ - :string
895
+ - :required
896
+ Item:
897
+ - :map:
898
+ :key:
899
+ - :string
900
+ :value:
901
+ - :structure:
902
+ S:
903
+ - :string
904
+ N:
905
+ - :string
906
+ B:
907
+ - :blob
908
+ SS:
909
+ - :list:
910
+ - :string
911
+ NS:
912
+ - :list:
913
+ - :string
914
+ BS:
915
+ - :list:
916
+ - :blob
917
+ - :required
918
+ Expected:
919
+ - :map:
920
+ :key:
921
+ - :string
922
+ :value:
923
+ - :structure:
924
+ Value:
925
+ - :structure:
926
+ S:
927
+ - :string
928
+ N:
929
+ - :string
930
+ B:
931
+ - :blob
932
+ SS:
933
+ - :list:
934
+ - :string
935
+ NS:
936
+ - :list:
937
+ - :string
938
+ BS:
939
+ - :list:
940
+ - :blob
941
+ Exists:
942
+ - :boolean
943
+ ReturnValues:
944
+ - :string
945
+ - :enum: [ALL_NEW, UPDATED_OLD, ALL_OLD, NONE, UPDATED_NEW]
946
+ ReturnConsumedCapacity:
947
+ - :string
948
+ - :enum: [TOTAL, NONE]
949
+ ReturnItemCollectionMetrics:
950
+ - :string
951
+ - :enum: [SIZE, NONE]
952
+ :outputs:
953
+ Attributes:
954
+ :sym: :attributes
955
+ :type: :map
956
+ :members:
957
+ :sym: :map_value
958
+ :type: :hash
959
+ :members:
960
+ S:
961
+ :sym: :s
962
+ :type: :string
963
+ N:
964
+ :sym: :n
965
+ :type: :string
966
+ B:
967
+ :sym: :b
968
+ :type: :blob
969
+ SS:
970
+ :sym: :ss
971
+ :type: :string
972
+ NS:
973
+ :sym: :ns
974
+ :type: :string
975
+ BS:
976
+ :sym: :bs
977
+ :type: :blob
978
+ ConsumedCapacity:
979
+ :sym: :consumed_capacity
980
+ :type: :hash
981
+ :members:
982
+ TableName:
983
+ :sym: :table_name
984
+ :type: :string
985
+ CapacityUnits:
986
+ :sym: :capacity_units
987
+ :type: :float
988
+ ItemCollectionMetrics:
989
+ :sym: :item_collection_metrics
990
+ :type: :hash
991
+ :members:
992
+ ItemCollectionKey:
993
+ :sym: :item_collection_key
994
+ :type: :map
995
+ :members:
996
+ :sym: :map_value
997
+ :type: :hash
998
+ :members:
999
+ S:
1000
+ :sym: :s
1001
+ :type: :string
1002
+ N:
1003
+ :sym: :n
1004
+ :type: :string
1005
+ B:
1006
+ :sym: :b
1007
+ :type: :blob
1008
+ SS:
1009
+ :sym: :ss
1010
+ :type: :string
1011
+ NS:
1012
+ :sym: :ns
1013
+ :type: :string
1014
+ BS:
1015
+ :sym: :bs
1016
+ :type: :blob
1017
+ SizeEstimateRangeGB:
1018
+ :sym: :size_estimate_range_gb
1019
+ :type: :float
1020
+ - :name: Query
1021
+ :method: :query
1022
+ :inputs:
1023
+ TableName:
1024
+ - :string
1025
+ - :required
1026
+ IndexName:
1027
+ - :string
1028
+ Select:
1029
+ - :string
1030
+ - :enum: [ALL_ATTRIBUTES, ALL_PROJECTED_ATTRIBUTES, COUNT, SPECIFIC_ATTRIBUTES]
1031
+ AttributesToGet:
1032
+ - :list:
1033
+ - :string
1034
+ - :within: !ruby/range 1..10000
1035
+ Limit:
1036
+ - :integer
1037
+ ConsistentRead:
1038
+ - :boolean
1039
+ KeyConditions:
1040
+ - :map:
1041
+ :key:
1042
+ - :string
1043
+ :value:
1044
+ - :structure:
1045
+ AttributeValueList:
1046
+ - :list:
1047
+ - :structure:
1048
+ S:
1049
+ - :string
1050
+ N:
1051
+ - :string
1052
+ B:
1053
+ - :blob
1054
+ SS:
1055
+ - :list:
1056
+ - :string
1057
+ NS:
1058
+ - :list:
1059
+ - :string
1060
+ BS:
1061
+ - :list:
1062
+ - :blob
1063
+ ComparisonOperator:
1064
+ - :string
1065
+ - :required
1066
+ - :enum: [EQ, LE, LT, GE, GT, BEGINS_WITH, BETWEEN]
1067
+ - :within: !ruby/range 1..2
1068
+ ScanIndexForward:
1069
+ - :boolean
1070
+ ExclusiveStartKey:
1071
+ - :map:
1072
+ :key:
1073
+ - :string
1074
+ :value:
1075
+ - :structure:
1076
+ S:
1077
+ - :string
1078
+ N:
1079
+ - :string
1080
+ B:
1081
+ - :blob
1082
+ SS:
1083
+ - :list:
1084
+ - :string
1085
+ NS:
1086
+ - :list:
1087
+ - :string
1088
+ BS:
1089
+ - :list:
1090
+ - :blob
1091
+ ReturnConsumedCapacity:
1092
+ - :string
1093
+ - :enum: [TOTAL, NONE]
1094
+ :outputs:
1095
+ Items:
1096
+ :sym: :member
1097
+ :type: :map
1098
+ :members:
1099
+ :sym: :map_value
1100
+ :type: :hash
1101
+ :members:
1102
+ S:
1103
+ :sym: :s
1104
+ :type: :string
1105
+ N:
1106
+ :sym: :n
1107
+ :type: :string
1108
+ B:
1109
+ :sym: :b
1110
+ :type: :blob
1111
+ SS:
1112
+ :sym: :ss
1113
+ :type: :string
1114
+ NS:
1115
+ :sym: :ns
1116
+ :type: :string
1117
+ BS:
1118
+ :sym: :bs
1119
+ :type: :blob
1120
+ Count:
1121
+ :sym: :count
1122
+ :type: :integer
1123
+ LastEvaluatedKey:
1124
+ :sym: :last_evaluated_key
1125
+ :type: :map
1126
+ :members:
1127
+ :sym: :map_value
1128
+ :type: :hash
1129
+ :members:
1130
+ S:
1131
+ :sym: :s
1132
+ :type: :string
1133
+ N:
1134
+ :sym: :n
1135
+ :type: :string
1136
+ B:
1137
+ :sym: :b
1138
+ :type: :blob
1139
+ SS:
1140
+ :sym: :ss
1141
+ :type: :string
1142
+ NS:
1143
+ :sym: :ns
1144
+ :type: :string
1145
+ BS:
1146
+ :sym: :bs
1147
+ :type: :blob
1148
+ ConsumedCapacity:
1149
+ :sym: :consumed_capacity
1150
+ :type: :hash
1151
+ :members:
1152
+ TableName:
1153
+ :sym: :table_name
1154
+ :type: :string
1155
+ CapacityUnits:
1156
+ :sym: :capacity_units
1157
+ :type: :float
1158
+ - :name: Scan
1159
+ :method: :scan
1160
+ :inputs:
1161
+ TableName:
1162
+ - :string
1163
+ - :required
1164
+ AttributesToGet:
1165
+ - :list:
1166
+ - :string
1167
+ - :within: !ruby/range 1..10000
1168
+ Limit:
1169
+ - :integer
1170
+ Select:
1171
+ - :string
1172
+ - :enum: [ALL_ATTRIBUTES, ALL_PROJECTED_ATTRIBUTES, COUNT, SPECIFIC_ATTRIBUTES]
1173
+ ScanFilter:
1174
+ - :map:
1175
+ :key:
1176
+ - :string
1177
+ :value:
1178
+ - :structure:
1179
+ AttributeValueList:
1180
+ - :list:
1181
+ - :structure:
1182
+ S:
1183
+ - :string
1184
+ N:
1185
+ - :string
1186
+ B:
1187
+ - :blob
1188
+ SS:
1189
+ - :list:
1190
+ - :string
1191
+ NS:
1192
+ - :list:
1193
+ - :string
1194
+ BS:
1195
+ - :list:
1196
+ - :blob
1197
+ ComparisonOperator:
1198
+ - :string
1199
+ - :required
1200
+ - :enum: [EQ, NE, LE, LT, GE, GT, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH, IN, BETWEEN]
1201
+ ExclusiveStartKey:
1202
+ - :map:
1203
+ :key:
1204
+ - :string
1205
+ :value:
1206
+ - :structure:
1207
+ S:
1208
+ - :string
1209
+ N:
1210
+ - :string
1211
+ B:
1212
+ - :blob
1213
+ SS:
1214
+ - :list:
1215
+ - :string
1216
+ NS:
1217
+ - :list:
1218
+ - :string
1219
+ BS:
1220
+ - :list:
1221
+ - :blob
1222
+ ReturnConsumedCapacity:
1223
+ - :string
1224
+ - :enum: [TOTAL, NONE]
1225
+ :outputs:
1226
+ Items:
1227
+ :sym: :member
1228
+ :type: :map
1229
+ :members:
1230
+ :sym: :map_value
1231
+ :type: :hash
1232
+ :members:
1233
+ S:
1234
+ :sym: :s
1235
+ :type: :string
1236
+ N:
1237
+ :sym: :n
1238
+ :type: :string
1239
+ B:
1240
+ :sym: :b
1241
+ :type: :blob
1242
+ SS:
1243
+ :sym: :ss
1244
+ :type: :string
1245
+ NS:
1246
+ :sym: :ns
1247
+ :type: :string
1248
+ BS:
1249
+ :sym: :bs
1250
+ :type: :blob
1251
+ Count:
1252
+ :sym: :count
1253
+ :type: :integer
1254
+ ScannedCount:
1255
+ :sym: :scanned_count
1256
+ :type: :integer
1257
+ LastEvaluatedKey:
1258
+ :sym: :last_evaluated_key
1259
+ :type: :map
1260
+ :members:
1261
+ :sym: :map_value
1262
+ :type: :hash
1263
+ :members:
1264
+ S:
1265
+ :sym: :s
1266
+ :type: :string
1267
+ N:
1268
+ :sym: :n
1269
+ :type: :string
1270
+ B:
1271
+ :sym: :b
1272
+ :type: :blob
1273
+ SS:
1274
+ :sym: :ss
1275
+ :type: :string
1276
+ NS:
1277
+ :sym: :ns
1278
+ :type: :string
1279
+ BS:
1280
+ :sym: :bs
1281
+ :type: :blob
1282
+ ConsumedCapacity:
1283
+ :sym: :consumed_capacity
1284
+ :type: :hash
1285
+ :members:
1286
+ TableName:
1287
+ :sym: :table_name
1288
+ :type: :string
1289
+ CapacityUnits:
1290
+ :sym: :capacity_units
1291
+ :type: :float
1292
+ - :name: UpdateItem
1293
+ :method: :update_item
1294
+ :inputs:
1295
+ TableName:
1296
+ - :string
1297
+ - :required
1298
+ Key:
1299
+ - :map:
1300
+ :key:
1301
+ - :string
1302
+ :value:
1303
+ - :structure:
1304
+ S:
1305
+ - :string
1306
+ N:
1307
+ - :string
1308
+ B:
1309
+ - :blob
1310
+ SS:
1311
+ - :list:
1312
+ - :string
1313
+ NS:
1314
+ - :list:
1315
+ - :string
1316
+ BS:
1317
+ - :list:
1318
+ - :blob
1319
+ - :required
1320
+ AttributeUpdates:
1321
+ - :map:
1322
+ :key:
1323
+ - :string
1324
+ :value:
1325
+ - :structure:
1326
+ Value:
1327
+ - :structure:
1328
+ S:
1329
+ - :string
1330
+ N:
1331
+ - :string
1332
+ B:
1333
+ - :blob
1334
+ SS:
1335
+ - :list:
1336
+ - :string
1337
+ NS:
1338
+ - :list:
1339
+ - :string
1340
+ BS:
1341
+ - :list:
1342
+ - :blob
1343
+ Action:
1344
+ - :string
1345
+ Expected:
1346
+ - :map:
1347
+ :key:
1348
+ - :string
1349
+ :value:
1350
+ - :structure:
1351
+ Value:
1352
+ - :structure:
1353
+ S:
1354
+ - :string
1355
+ N:
1356
+ - :string
1357
+ B:
1358
+ - :blob
1359
+ SS:
1360
+ - :list:
1361
+ - :string
1362
+ NS:
1363
+ - :list:
1364
+ - :string
1365
+ BS:
1366
+ - :list:
1367
+ - :blob
1368
+ Exists:
1369
+ - :boolean
1370
+ ReturnValues:
1371
+ - :string
1372
+ - :enum: [ALL_NEW, UPDATED_OLD, ALL_OLD, NONE, UPDATED_NEW]
1373
+ ReturnConsumedCapacity:
1374
+ - :string
1375
+ - :enum: [TOTAL, NONE]
1376
+ ReturnItemCollectionMetrics:
1377
+ - :string
1378
+ - :enum: [SIZE, NONE]
1379
+ :outputs:
1380
+ Attributes:
1381
+ :sym: :attributes
1382
+ :type: :map
1383
+ :members:
1384
+ :sym: :map_value
1385
+ :type: :hash
1386
+ :members:
1387
+ S:
1388
+ :sym: :s
1389
+ :type: :string
1390
+ N:
1391
+ :sym: :n
1392
+ :type: :string
1393
+ B:
1394
+ :sym: :b
1395
+ :type: :blob
1396
+ SS:
1397
+ :sym: :ss
1398
+ :type: :string
1399
+ NS:
1400
+ :sym: :ns
1401
+ :type: :string
1402
+ BS:
1403
+ :sym: :bs
1404
+ :type: :blob
1405
+ ConsumedCapacity:
1406
+ :sym: :consumed_capacity
1407
+ :type: :hash
1408
+ :members:
1409
+ TableName:
1410
+ :sym: :table_name
1411
+ :type: :string
1412
+ CapacityUnits:
1413
+ :sym: :capacity_units
1414
+ :type: :float
1415
+ ItemCollectionMetrics:
1416
+ :sym: :item_collection_metrics
1417
+ :type: :hash
1418
+ :members:
1419
+ ItemCollectionKey:
1420
+ :sym: :item_collection_key
1421
+ :type: :map
1422
+ :members:
1423
+ :sym: :map_value
1424
+ :type: :hash
1425
+ :members:
1426
+ S:
1427
+ :sym: :s
1428
+ :type: :string
1429
+ N:
1430
+ :sym: :n
1431
+ :type: :string
1432
+ B:
1433
+ :sym: :b
1434
+ :type: :blob
1435
+ SS:
1436
+ :sym: :ss
1437
+ :type: :string
1438
+ NS:
1439
+ :sym: :ns
1440
+ :type: :string
1441
+ BS:
1442
+ :sym: :bs
1443
+ :type: :blob
1444
+ SizeEstimateRangeGB:
1445
+ :sym: :size_estimate_range_gb
1446
+ :type: :float
1447
+ - :name: UpdateTable
1448
+ :method: :update_table
1449
+ :inputs:
1450
+ TableName:
1451
+ - :string
1452
+ - :pattern: !ruby/regexp /[a-zA-Z0-9_.-]+/
1453
+ - :within: !ruby/range 3..255
1454
+ - :required
1455
+ ProvisionedThroughput:
1456
+ - :structure:
1457
+ ReadCapacityUnits:
1458
+ - :long
1459
+ - :required
1460
+ WriteCapacityUnits:
1461
+ - :long
1462
+ - :required
1463
+ - :required
1464
+ :outputs:
1465
+ TableDescription:
1466
+ :sym: :table_description
1467
+ :type: :hash
1468
+ :members:
1469
+ AttributeDefinitions:
1470
+ :sym: :attribute_definitions
1471
+ :type: :hash
1472
+ :members:
1473
+ AttributeName:
1474
+ :sym: :attribute_name
1475
+ :type: :string
1476
+ AttributeType:
1477
+ :sym: :attribute_type
1478
+ :type: :string
1479
+ TableName:
1480
+ :sym: :table_name
1481
+ :type: :string
1482
+ KeySchema:
1483
+ :sym: :key_schema
1484
+ :type: :hash
1485
+ :members:
1486
+ AttributeName:
1487
+ :sym: :attribute_name
1488
+ :type: :string
1489
+ KeyType:
1490
+ :sym: :key_type
1491
+ :type: :string
1492
+ TableStatus:
1493
+ :sym: :table_status
1494
+ :type: :string
1495
+ CreationDateTime:
1496
+ :sym: :creation_date_time
1497
+ :type: :time
1498
+ ProvisionedThroughput:
1499
+ :sym: :provisioned_throughput
1500
+ :type: :hash
1501
+ :members:
1502
+ LastIncreaseDateTime:
1503
+ :sym: :last_increase_date_time
1504
+ :type: :time
1505
+ LastDecreaseDateTime:
1506
+ :sym: :last_decrease_date_time
1507
+ :type: :time
1508
+ NumberOfDecreasesToday:
1509
+ :sym: :number_of_decreases_today
1510
+ :type: :integer
1511
+ ReadCapacityUnits:
1512
+ :sym: :read_capacity_units
1513
+ :type: :integer
1514
+ WriteCapacityUnits:
1515
+ :sym: :write_capacity_units
1516
+ :type: :integer
1517
+ TableSizeBytes:
1518
+ :sym: :table_size_bytes
1519
+ :type: :integer
1520
+ ItemCount:
1521
+ :sym: :item_count
1522
+ :type: :integer
1523
+ LocalSecondaryIndexes:
1524
+ :sym: :local_secondary_indexes
1525
+ :type: :hash
1526
+ :members:
1527
+ IndexName:
1528
+ :sym: :index_name
1529
+ :type: :string
1530
+ KeySchema:
1531
+ :sym: :key_schema
1532
+ :type: :hash
1533
+ :members:
1534
+ AttributeName:
1535
+ :sym: :attribute_name
1536
+ :type: :string
1537
+ KeyType:
1538
+ :sym: :key_type
1539
+ :type: :string
1540
+ Projection:
1541
+ :sym: :projection
1542
+ :type: :hash
1543
+ :members:
1544
+ ProjectionType:
1545
+ :sym: :projection_type
1546
+ :type: :string
1547
+ NonKeyAttributes:
1548
+ :sym: :non_key_attributes
1549
+ :type: :string
1550
+ IndexSizeBytes:
1551
+ :sym: :index_size_bytes
1552
+ :type: :integer
1553
+ ItemCount:
1554
+ :sym: :item_count
1555
+ :type: :integer