aws-sdk-core 2.0.0.rc4 → 2.0.0.rc5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/apis/CloudFront-2013-11-11.json +5502 -0
  3. data/apis/CloudWatch-2010-08-01.json +186 -1
  4. data/apis/DirectConnect-2012-10-25.json +758 -140
  5. data/apis/DynamoDB-2012-08-10.json +860 -2
  6. data/apis/EC2-2013-10-15.json +14698 -0
  7. data/apis/EMR-2009-03-31.json +86 -0
  8. data/apis/ElastiCache-2013-06-15.json +13 -5
  9. data/apis/ElasticBeanstalk-2010-12-01.json +141 -16
  10. data/apis/ElasticLoadBalancing-2012-06-01.json +0 -72
  11. data/apis/IAM-2010-05-08.json +156 -0
  12. data/apis/Kinesis-2013-12-02.json +9 -1
  13. data/apis/OpsWorks-2013-02-18.json +180 -6
  14. data/apis/RDS-2013-02-12.json +2 -1
  15. data/apis/RDS-2013-09-09.json +7963 -0
  16. data/apis/Redshift-2012-12-01.json +3273 -702
  17. data/apis/Route53-2012-12-12.json +2 -2
  18. data/apis/S3-2006-03-01.json +579 -538
  19. data/apis/SNS-2010-03-31.json +14 -0
  20. data/apis/SQS-2012-11-05.json +43 -6
  21. data/apis/STS-2011-06-15.json +81 -0
  22. data/apis/StorageGateway-2013-06-30.json +28 -28
  23. data/apis/source/cloudformation-2010-05-15.json +199 -199
  24. data/apis/source/cloudfront-2013-11-11.json +8828 -0
  25. data/apis/source/cloudfront-2013-11-11.paginators.json +32 -0
  26. data/apis/source/cloudfront-2013-11-11.waiters.json +29 -0
  27. data/apis/source/cloudsearch-2011-02-01.json +16 -23
  28. data/apis/source/datapipeline-2012-10-29.paginators.json +3 -2
  29. data/apis/source/directconnect-2012-10-25.json +1302 -363
  30. data/apis/source/dynamodb-2011-12-05.paginators.json +4 -1
  31. data/apis/source/dynamodb-2011-12-05.waiters.json +27 -0
  32. data/apis/source/dynamodb-2012-08-10.json +1634 -417
  33. data/apis/source/dynamodb-2012-08-10.paginators.json +4 -1
  34. data/apis/source/dynamodb-2012-08-10.waiters.json +25 -0
  35. data/apis/source/ec2-2013-10-15.json +19911 -0
  36. data/apis/source/ec2-2013-10-15.paginators.json +126 -0
  37. data/apis/source/ec2-2013-10-15.waiters.json +146 -0
  38. data/apis/source/elasticache-2013-06-15.json +10 -8
  39. data/apis/source/elasticache-2013-06-15.paginators.json +8 -2
  40. data/apis/source/elasticbeanstalk-2010-12-01.json +186 -32
  41. data/apis/source/elasticloadbalancing-2012-06-01.json +166 -293
  42. data/apis/source/elasticmapreduce-2009-03-31.json +229 -134
  43. data/apis/source/elastictranscoder-2012-09-25.json +1 -1
  44. data/apis/source/glacier-2012-06-01.paginators.json +3 -3
  45. data/apis/source/glacier-2012-06-01.waiters.json +23 -0
  46. data/apis/source/iam-2010-05-08.json +1306 -626
  47. data/apis/source/iam-2010-05-08.paginators.json +3 -0
  48. data/apis/source/kinesis-2013-12-02.json +4 -4
  49. data/apis/source/kinesis-2013-12-02.paginators.json +10 -4
  50. data/apis/source/monitoring-2010-08-01.json +336 -28
  51. data/apis/source/opsworks-2013-02-18.json +385 -102
  52. data/apis/source/rds-2013-01-10.paginators.json +6 -2
  53. data/apis/source/rds-2013-02-12.paginators.json +6 -2
  54. data/apis/source/rds-2013-09-09.json +10658 -0
  55. data/apis/source/rds-2013-09-09.paginators.json +110 -0
  56. data/apis/source/rds-2013-09-09.waiters.json +36 -0
  57. data/apis/source/redshift-2012-12-01.json +4759 -1237
  58. data/apis/source/redshift-2012-12-01.paginators.json +20 -1
  59. data/apis/source/redshift-2012-12-01.waiters.json +43 -0
  60. data/apis/source/route53-2012-12-12.paginators.json +2 -2
  61. data/apis/source/s3-2006-03-01.json +1032 -985
  62. data/apis/source/s3-2006-03-01.paginators.json +14 -3
  63. data/apis/source/s3-2006-03-01.waiters.json +27 -0
  64. data/apis/source/sns-2010-03-31.paginators.json +10 -0
  65. data/apis/source/sqs-2012-11-05.json +153 -101
  66. data/apis/source/storagegateway-2013-06-30.json +403 -442
  67. data/apis/source/storagegateway-2013-06-30.paginators.json +24 -0
  68. data/apis/source/sts-2011-06-15.json +258 -75
  69. data/apis/source/support-2013-04-15.paginators.json +0 -6
  70. data/apis/source/swf-2012-01-25.paginators.json +7 -7
  71. data/features/autoscaling/client.feature +6 -10
  72. data/features/autoscaling/{setup.rb → step_definitions.rb} +1 -1
  73. data/features/cloudformation/client.feature +5 -6
  74. data/features/cloudformation/{setup.rb → step_definitions.rb} +1 -1
  75. data/features/cloudfront/client.feature +5 -9
  76. data/features/cloudfront/{setup.rb → step_definitions.rb} +1 -1
  77. data/features/cloudsearch/client.feature +4 -6
  78. data/features/cloudsearch/{setup.rb → step_definitions.rb} +1 -1
  79. data/features/cloudwatch/client.feature +7 -9
  80. data/features/cloudwatch/{setup.rb → step_definitions.rb} +1 -1
  81. data/features/datapipeline/client.feature +5 -7
  82. data/features/datapipeline/{setup.rb → step_definitions.rb} +1 -1
  83. data/features/directconnect/client.feature +5 -7
  84. data/features/directconnect/{setup.rb → step_definitions.rb} +1 -1
  85. data/features/dynamodb/client.feature +6 -10
  86. data/features/dynamodb/simplified.feature +5 -9
  87. data/features/dynamodb/step_definitions.rb +9 -1
  88. data/features/ec2/client.feature +4 -9
  89. data/features/ec2/step_definitions.rb +3 -16
  90. data/features/elasticache/client.feature +4 -6
  91. data/features/elasticache/{setup.rb → step_definitions.rb} +1 -1
  92. data/features/elasticbeanstalk/client.feature +4 -6
  93. data/features/elasticbeanstalk/{setup.rb → step_definitions.rb} +1 -1
  94. data/features/elasticloadbalancing/client.feature +4 -6
  95. data/features/elasticloadbalancing/{setup.rb → step_definitions.rb} +1 -1
  96. data/features/elastictranscoder/client.feature +4 -6
  97. data/features/elastictranscoder/{setup.rb → step_definitions.rb} +1 -1
  98. data/features/emr/client.feature +4 -6
  99. data/features/emr/{setup.rb → step_definitions.rb} +1 -1
  100. data/features/env.rb +0 -2
  101. data/features/glacier/client.feature +10 -34
  102. data/features/glacier/step_definitions.rb +25 -8
  103. data/features/glacier/upload.feature +27 -0
  104. data/features/iam/client.feature +4 -6
  105. data/features/iam/{setup.rb → step_definitions.rb} +1 -1
  106. data/features/importexport/client.feature +4 -6
  107. data/features/importexport/{setup.rb → step_definitions.rb} +1 -1
  108. data/features/kinesis/client.feature +4 -6
  109. data/features/kinesis/{setup.rb → step_definitions.rb} +1 -1
  110. data/features/opsworks/client.feature +4 -6
  111. data/features/opsworks/{setup.rb → step_definitions.rb} +1 -1
  112. data/features/rds/client.feature +4 -6
  113. data/features/rds/{setup.rb → step_definitions.rb} +1 -1
  114. data/features/redshift/client.feature +4 -6
  115. data/features/redshift/{setup.rb → step_definitions.rb} +1 -1
  116. data/features/route53/client.feature +4 -6
  117. data/features/route53/{setup.rb → step_definitions.rb} +1 -1
  118. data/features/s3/buckets.feature +8 -0
  119. data/features/s3/step_definitions.rb +42 -3
  120. data/features/sdb/client.feature +4 -6
  121. data/features/sdb/{setup.rb → step_definitions.rb} +1 -1
  122. data/features/ses/client.feature +4 -6
  123. data/features/ses/{setup.rb → step_definitions.rb} +1 -1
  124. data/features/sns/client.feature +5 -6
  125. data/features/sns/{setup.rb → step_definitions.rb} +1 -1
  126. data/features/sqs/client.feature +5 -7
  127. data/features/sqs/step_definitions.rb +11 -0
  128. data/features/step_definitions.rb +88 -0
  129. data/features/storagegateway/client.feature +4 -6
  130. data/features/storagegateway/{setup.rb → step_definitions.rb} +1 -1
  131. data/features/sts/client.feature +5 -6
  132. data/features/sts/{setup.rb → step_definitions.rb} +1 -1
  133. data/features/swf/client.feature +5 -9
  134. data/features/swf/{setup.rb → step_definitions.rb} +1 -1
  135. data/lib/aws/api/shape_translator.rb +1 -0
  136. data/lib/aws/errors.rb +35 -11
  137. data/lib/aws/plugins/credentials.rb +11 -5
  138. data/lib/aws/plugins/regional_endpoint.rb +7 -3
  139. data/lib/aws/plugins/s3_regional_endpoint.rb +0 -2
  140. data/lib/aws/request_handler.rb +8 -3
  141. data/lib/aws/signers/s3.rb +14 -18
  142. data/lib/aws/version.rb +1 -1
  143. data/spec/aws/errors_spec.rb +39 -0
  144. data/spec/aws/plugins/credentials_spec.rb +12 -0
  145. data/spec/aws/plugins/region_endpoint_spec.rb +16 -4
  146. data/spec/aws/plugins/retry_errors_spec.rb +26 -26
  147. data/spec/aws/service_spec.rb +1 -1
  148. data/spec/fixtures/operations/route53/change_resource_record_sets.yml +18 -0
  149. data/tasks/test.rake +6 -18
  150. data/vendor/seahorse/lib/seahorse/client/http/headers.rb +20 -0
  151. data/vendor/seahorse/tasks/test.rake +2 -15
  152. metadata +77 -64
  153. data/features/common/step_definitions.rb +0 -63
  154. data/features/dynamodb/setup.rb +0 -8
  155. data/features/ec2/setup.rb +0 -6
  156. data/features/glacier/setup.rb +0 -16
  157. data/features/s3/setup.rb +0 -17
  158. data/features/sqs/setup.rb +0 -10
@@ -127,6 +127,7 @@
127
127
  "type": "string",
128
128
  "serialized_name": "ReturnConsumedCapacity",
129
129
  "enum": [
130
+ "INDEXES",
130
131
  "TOTAL",
131
132
  "NONE"
132
133
  ]
@@ -274,6 +275,48 @@
274
275
  "capacity_units": {
275
276
  "type": "float",
276
277
  "serialized_name": "CapacityUnits"
278
+ },
279
+ "table": {
280
+ "type": "structure",
281
+ "serialized_name": "Table",
282
+ "members": {
283
+ "capacity_units": {
284
+ "type": "float",
285
+ "serialized_name": "CapacityUnits"
286
+ }
287
+ }
288
+ },
289
+ "local_secondary_indexes": {
290
+ "type": "map",
291
+ "serialized_name": "LocalSecondaryIndexes",
292
+ "keys": {
293
+ "type": "string"
294
+ },
295
+ "members": {
296
+ "type": "structure",
297
+ "members": {
298
+ "capacity_units": {
299
+ "type": "float",
300
+ "serialized_name": "CapacityUnits"
301
+ }
302
+ }
303
+ }
304
+ },
305
+ "global_secondary_indexes": {
306
+ "type": "map",
307
+ "serialized_name": "GlobalSecondaryIndexes",
308
+ "keys": {
309
+ "type": "string"
310
+ },
311
+ "members": {
312
+ "type": "structure",
313
+ "members": {
314
+ "capacity_units": {
315
+ "type": "float",
316
+ "serialized_name": "CapacityUnits"
317
+ }
318
+ }
319
+ }
277
320
  }
278
321
  }
279
322
  }
@@ -412,6 +455,7 @@
412
455
  "type": "string",
413
456
  "serialized_name": "ReturnConsumedCapacity",
414
457
  "enum": [
458
+ "INDEXES",
415
459
  "TOTAL",
416
460
  "NONE"
417
461
  ]
@@ -626,6 +670,48 @@
626
670
  "capacity_units": {
627
671
  "type": "float",
628
672
  "serialized_name": "CapacityUnits"
673
+ },
674
+ "table": {
675
+ "type": "structure",
676
+ "serialized_name": "Table",
677
+ "members": {
678
+ "capacity_units": {
679
+ "type": "float",
680
+ "serialized_name": "CapacityUnits"
681
+ }
682
+ }
683
+ },
684
+ "local_secondary_indexes": {
685
+ "type": "map",
686
+ "serialized_name": "LocalSecondaryIndexes",
687
+ "keys": {
688
+ "type": "string"
689
+ },
690
+ "members": {
691
+ "type": "structure",
692
+ "members": {
693
+ "capacity_units": {
694
+ "type": "float",
695
+ "serialized_name": "CapacityUnits"
696
+ }
697
+ }
698
+ }
699
+ },
700
+ "global_secondary_indexes": {
701
+ "type": "map",
702
+ "serialized_name": "GlobalSecondaryIndexes",
703
+ "keys": {
704
+ "type": "string"
705
+ },
706
+ "members": {
707
+ "type": "structure",
708
+ "members": {
709
+ "capacity_units": {
710
+ "type": "float",
711
+ "serialized_name": "CapacityUnits"
712
+ }
713
+ }
714
+ }
629
715
  }
630
716
  }
631
717
  }
@@ -755,6 +841,84 @@
755
841
  }
756
842
  }
757
843
  },
844
+ "global_secondary_indexes": {
845
+ "type": "list",
846
+ "serialized_name": "GlobalSecondaryIndexes",
847
+ "members": {
848
+ "type": "structure",
849
+ "members": {
850
+ "index_name": {
851
+ "type": "string",
852
+ "required": true,
853
+ "serialized_name": "IndexName"
854
+ },
855
+ "key_schema": {
856
+ "type": "list",
857
+ "required": true,
858
+ "serialized_name": "KeySchema",
859
+ "members": {
860
+ "type": "structure",
861
+ "members": {
862
+ "attribute_name": {
863
+ "type": "string",
864
+ "required": true,
865
+ "serialized_name": "AttributeName"
866
+ },
867
+ "key_type": {
868
+ "type": "string",
869
+ "required": true,
870
+ "serialized_name": "KeyType",
871
+ "enum": [
872
+ "HASH",
873
+ "RANGE"
874
+ ]
875
+ }
876
+ }
877
+ }
878
+ },
879
+ "projection": {
880
+ "type": "structure",
881
+ "required": true,
882
+ "serialized_name": "Projection",
883
+ "members": {
884
+ "projection_type": {
885
+ "type": "string",
886
+ "serialized_name": "ProjectionType",
887
+ "enum": [
888
+ "ALL",
889
+ "KEYS_ONLY",
890
+ "INCLUDE"
891
+ ]
892
+ },
893
+ "non_key_attributes": {
894
+ "type": "list",
895
+ "serialized_name": "NonKeyAttributes",
896
+ "members": {
897
+ "type": "string"
898
+ }
899
+ }
900
+ }
901
+ },
902
+ "provisioned_throughput": {
903
+ "type": "structure",
904
+ "required": true,
905
+ "serialized_name": "ProvisionedThroughput",
906
+ "members": {
907
+ "read_capacity_units": {
908
+ "type": "integer",
909
+ "required": true,
910
+ "serialized_name": "ReadCapacityUnits"
911
+ },
912
+ "write_capacity_units": {
913
+ "type": "integer",
914
+ "required": true,
915
+ "serialized_name": "WriteCapacityUnits"
916
+ }
917
+ }
918
+ }
919
+ }
920
+ }
921
+ },
758
922
  "provisioned_throughput": {
759
923
  "type": "structure",
760
924
  "required": true,
@@ -939,6 +1103,106 @@
939
1103
  }
940
1104
  }
941
1105
  }
1106
+ },
1107
+ "global_secondary_indexes": {
1108
+ "type": "list",
1109
+ "serialized_name": "GlobalSecondaryIndexes",
1110
+ "members": {
1111
+ "type": "structure",
1112
+ "members": {
1113
+ "index_name": {
1114
+ "type": "string",
1115
+ "serialized_name": "IndexName"
1116
+ },
1117
+ "key_schema": {
1118
+ "type": "list",
1119
+ "serialized_name": "KeySchema",
1120
+ "members": {
1121
+ "type": "structure",
1122
+ "members": {
1123
+ "attribute_name": {
1124
+ "type": "string",
1125
+ "serialized_name": "AttributeName"
1126
+ },
1127
+ "key_type": {
1128
+ "type": "string",
1129
+ "serialized_name": "KeyType",
1130
+ "enum": [
1131
+ "HASH",
1132
+ "RANGE"
1133
+ ]
1134
+ }
1135
+ }
1136
+ }
1137
+ },
1138
+ "projection": {
1139
+ "type": "structure",
1140
+ "serialized_name": "Projection",
1141
+ "members": {
1142
+ "projection_type": {
1143
+ "type": "string",
1144
+ "serialized_name": "ProjectionType",
1145
+ "enum": [
1146
+ "ALL",
1147
+ "KEYS_ONLY",
1148
+ "INCLUDE"
1149
+ ]
1150
+ },
1151
+ "non_key_attributes": {
1152
+ "type": "list",
1153
+ "serialized_name": "NonKeyAttributes",
1154
+ "members": {
1155
+ "type": "string"
1156
+ }
1157
+ }
1158
+ }
1159
+ },
1160
+ "index_status": {
1161
+ "type": "string",
1162
+ "serialized_name": "IndexStatus",
1163
+ "enum": [
1164
+ "CREATING",
1165
+ "UPDATING",
1166
+ "DELETING",
1167
+ "ACTIVE"
1168
+ ]
1169
+ },
1170
+ "provisioned_throughput": {
1171
+ "type": "structure",
1172
+ "serialized_name": "ProvisionedThroughput",
1173
+ "members": {
1174
+ "last_increase_date_time": {
1175
+ "type": "iso8601_timestamp",
1176
+ "serialized_name": "LastIncreaseDateTime"
1177
+ },
1178
+ "last_decrease_date_time": {
1179
+ "type": "iso8601_timestamp",
1180
+ "serialized_name": "LastDecreaseDateTime"
1181
+ },
1182
+ "number_of_decreases_today": {
1183
+ "type": "integer",
1184
+ "serialized_name": "NumberOfDecreasesToday"
1185
+ },
1186
+ "read_capacity_units": {
1187
+ "type": "integer",
1188
+ "serialized_name": "ReadCapacityUnits"
1189
+ },
1190
+ "write_capacity_units": {
1191
+ "type": "integer",
1192
+ "serialized_name": "WriteCapacityUnits"
1193
+ }
1194
+ }
1195
+ },
1196
+ "index_size_bytes": {
1197
+ "type": "integer",
1198
+ "serialized_name": "IndexSizeBytes"
1199
+ },
1200
+ "item_count": {
1201
+ "type": "integer",
1202
+ "serialized_name": "ItemCount"
1203
+ }
1204
+ }
1205
+ }
942
1206
  }
943
1207
  }
944
1208
  }
@@ -1073,6 +1337,7 @@
1073
1337
  "type": "string",
1074
1338
  "serialized_name": "ReturnConsumedCapacity",
1075
1339
  "enum": [
1340
+ "INDEXES",
1076
1341
  "TOTAL",
1077
1342
  "NONE"
1078
1343
  ]
@@ -1146,6 +1411,48 @@
1146
1411
  "capacity_units": {
1147
1412
  "type": "float",
1148
1413
  "serialized_name": "CapacityUnits"
1414
+ },
1415
+ "table": {
1416
+ "type": "structure",
1417
+ "serialized_name": "Table",
1418
+ "members": {
1419
+ "capacity_units": {
1420
+ "type": "float",
1421
+ "serialized_name": "CapacityUnits"
1422
+ }
1423
+ }
1424
+ },
1425
+ "local_secondary_indexes": {
1426
+ "type": "map",
1427
+ "serialized_name": "LocalSecondaryIndexes",
1428
+ "keys": {
1429
+ "type": "string"
1430
+ },
1431
+ "members": {
1432
+ "type": "structure",
1433
+ "members": {
1434
+ "capacity_units": {
1435
+ "type": "float",
1436
+ "serialized_name": "CapacityUnits"
1437
+ }
1438
+ }
1439
+ }
1440
+ },
1441
+ "global_secondary_indexes": {
1442
+ "type": "map",
1443
+ "serialized_name": "GlobalSecondaryIndexes",
1444
+ "keys": {
1445
+ "type": "string"
1446
+ },
1447
+ "members": {
1448
+ "type": "structure",
1449
+ "members": {
1450
+ "capacity_units": {
1451
+ "type": "float",
1452
+ "serialized_name": "CapacityUnits"
1453
+ }
1454
+ }
1455
+ }
1149
1456
  }
1150
1457
  }
1151
1458
  },
@@ -1389,6 +1696,106 @@
1389
1696
  }
1390
1697
  }
1391
1698
  }
1699
+ },
1700
+ "global_secondary_indexes": {
1701
+ "type": "list",
1702
+ "serialized_name": "GlobalSecondaryIndexes",
1703
+ "members": {
1704
+ "type": "structure",
1705
+ "members": {
1706
+ "index_name": {
1707
+ "type": "string",
1708
+ "serialized_name": "IndexName"
1709
+ },
1710
+ "key_schema": {
1711
+ "type": "list",
1712
+ "serialized_name": "KeySchema",
1713
+ "members": {
1714
+ "type": "structure",
1715
+ "members": {
1716
+ "attribute_name": {
1717
+ "type": "string",
1718
+ "serialized_name": "AttributeName"
1719
+ },
1720
+ "key_type": {
1721
+ "type": "string",
1722
+ "serialized_name": "KeyType",
1723
+ "enum": [
1724
+ "HASH",
1725
+ "RANGE"
1726
+ ]
1727
+ }
1728
+ }
1729
+ }
1730
+ },
1731
+ "projection": {
1732
+ "type": "structure",
1733
+ "serialized_name": "Projection",
1734
+ "members": {
1735
+ "projection_type": {
1736
+ "type": "string",
1737
+ "serialized_name": "ProjectionType",
1738
+ "enum": [
1739
+ "ALL",
1740
+ "KEYS_ONLY",
1741
+ "INCLUDE"
1742
+ ]
1743
+ },
1744
+ "non_key_attributes": {
1745
+ "type": "list",
1746
+ "serialized_name": "NonKeyAttributes",
1747
+ "members": {
1748
+ "type": "string"
1749
+ }
1750
+ }
1751
+ }
1752
+ },
1753
+ "index_status": {
1754
+ "type": "string",
1755
+ "serialized_name": "IndexStatus",
1756
+ "enum": [
1757
+ "CREATING",
1758
+ "UPDATING",
1759
+ "DELETING",
1760
+ "ACTIVE"
1761
+ ]
1762
+ },
1763
+ "provisioned_throughput": {
1764
+ "type": "structure",
1765
+ "serialized_name": "ProvisionedThroughput",
1766
+ "members": {
1767
+ "last_increase_date_time": {
1768
+ "type": "iso8601_timestamp",
1769
+ "serialized_name": "LastIncreaseDateTime"
1770
+ },
1771
+ "last_decrease_date_time": {
1772
+ "type": "iso8601_timestamp",
1773
+ "serialized_name": "LastDecreaseDateTime"
1774
+ },
1775
+ "number_of_decreases_today": {
1776
+ "type": "integer",
1777
+ "serialized_name": "NumberOfDecreasesToday"
1778
+ },
1779
+ "read_capacity_units": {
1780
+ "type": "integer",
1781
+ "serialized_name": "ReadCapacityUnits"
1782
+ },
1783
+ "write_capacity_units": {
1784
+ "type": "integer",
1785
+ "serialized_name": "WriteCapacityUnits"
1786
+ }
1787
+ }
1788
+ },
1789
+ "index_size_bytes": {
1790
+ "type": "integer",
1791
+ "serialized_name": "IndexSizeBytes"
1792
+ },
1793
+ "item_count": {
1794
+ "type": "integer",
1795
+ "serialized_name": "ItemCount"
1796
+ }
1797
+ }
1798
+ }
1392
1799
  }
1393
1800
  }
1394
1801
  }
@@ -1513,7 +1920,71 @@
1513
1920
  },
1514
1921
  "local_secondary_indexes": {
1515
1922
  "type": "list",
1516
- "serialized_name": "LocalSecondaryIndexes",
1923
+ "serialized_name": "LocalSecondaryIndexes",
1924
+ "members": {
1925
+ "type": "structure",
1926
+ "members": {
1927
+ "index_name": {
1928
+ "type": "string",
1929
+ "serialized_name": "IndexName"
1930
+ },
1931
+ "key_schema": {
1932
+ "type": "list",
1933
+ "serialized_name": "KeySchema",
1934
+ "members": {
1935
+ "type": "structure",
1936
+ "members": {
1937
+ "attribute_name": {
1938
+ "type": "string",
1939
+ "serialized_name": "AttributeName"
1940
+ },
1941
+ "key_type": {
1942
+ "type": "string",
1943
+ "serialized_name": "KeyType",
1944
+ "enum": [
1945
+ "HASH",
1946
+ "RANGE"
1947
+ ]
1948
+ }
1949
+ }
1950
+ }
1951
+ },
1952
+ "projection": {
1953
+ "type": "structure",
1954
+ "serialized_name": "Projection",
1955
+ "members": {
1956
+ "projection_type": {
1957
+ "type": "string",
1958
+ "serialized_name": "ProjectionType",
1959
+ "enum": [
1960
+ "ALL",
1961
+ "KEYS_ONLY",
1962
+ "INCLUDE"
1963
+ ]
1964
+ },
1965
+ "non_key_attributes": {
1966
+ "type": "list",
1967
+ "serialized_name": "NonKeyAttributes",
1968
+ "members": {
1969
+ "type": "string"
1970
+ }
1971
+ }
1972
+ }
1973
+ },
1974
+ "index_size_bytes": {
1975
+ "type": "integer",
1976
+ "serialized_name": "IndexSizeBytes"
1977
+ },
1978
+ "item_count": {
1979
+ "type": "integer",
1980
+ "serialized_name": "ItemCount"
1981
+ }
1982
+ }
1983
+ }
1984
+ },
1985
+ "global_secondary_indexes": {
1986
+ "type": "list",
1987
+ "serialized_name": "GlobalSecondaryIndexes",
1517
1988
  "members": {
1518
1989
  "type": "structure",
1519
1990
  "members": {
@@ -1564,6 +2035,42 @@
1564
2035
  }
1565
2036
  }
1566
2037
  },
2038
+ "index_status": {
2039
+ "type": "string",
2040
+ "serialized_name": "IndexStatus",
2041
+ "enum": [
2042
+ "CREATING",
2043
+ "UPDATING",
2044
+ "DELETING",
2045
+ "ACTIVE"
2046
+ ]
2047
+ },
2048
+ "provisioned_throughput": {
2049
+ "type": "structure",
2050
+ "serialized_name": "ProvisionedThroughput",
2051
+ "members": {
2052
+ "last_increase_date_time": {
2053
+ "type": "iso8601_timestamp",
2054
+ "serialized_name": "LastIncreaseDateTime"
2055
+ },
2056
+ "last_decrease_date_time": {
2057
+ "type": "iso8601_timestamp",
2058
+ "serialized_name": "LastDecreaseDateTime"
2059
+ },
2060
+ "number_of_decreases_today": {
2061
+ "type": "integer",
2062
+ "serialized_name": "NumberOfDecreasesToday"
2063
+ },
2064
+ "read_capacity_units": {
2065
+ "type": "integer",
2066
+ "serialized_name": "ReadCapacityUnits"
2067
+ },
2068
+ "write_capacity_units": {
2069
+ "type": "integer",
2070
+ "serialized_name": "WriteCapacityUnits"
2071
+ }
2072
+ }
2073
+ },
1567
2074
  "index_size_bytes": {
1568
2075
  "type": "integer",
1569
2076
  "serialized_name": "IndexSizeBytes"
@@ -1653,6 +2160,7 @@
1653
2160
  "type": "string",
1654
2161
  "serialized_name": "ReturnConsumedCapacity",
1655
2162
  "enum": [
2163
+ "INDEXES",
1656
2164
  "TOTAL",
1657
2165
  "NONE"
1658
2166
  ]
@@ -1718,6 +2226,48 @@
1718
2226
  "capacity_units": {
1719
2227
  "type": "float",
1720
2228
  "serialized_name": "CapacityUnits"
2229
+ },
2230
+ "table": {
2231
+ "type": "structure",
2232
+ "serialized_name": "Table",
2233
+ "members": {
2234
+ "capacity_units": {
2235
+ "type": "float",
2236
+ "serialized_name": "CapacityUnits"
2237
+ }
2238
+ }
2239
+ },
2240
+ "local_secondary_indexes": {
2241
+ "type": "map",
2242
+ "serialized_name": "LocalSecondaryIndexes",
2243
+ "keys": {
2244
+ "type": "string"
2245
+ },
2246
+ "members": {
2247
+ "type": "structure",
2248
+ "members": {
2249
+ "capacity_units": {
2250
+ "type": "float",
2251
+ "serialized_name": "CapacityUnits"
2252
+ }
2253
+ }
2254
+ }
2255
+ },
2256
+ "global_secondary_indexes": {
2257
+ "type": "map",
2258
+ "serialized_name": "GlobalSecondaryIndexes",
2259
+ "keys": {
2260
+ "type": "string"
2261
+ },
2262
+ "members": {
2263
+ "type": "structure",
2264
+ "members": {
2265
+ "capacity_units": {
2266
+ "type": "float",
2267
+ "serialized_name": "CapacityUnits"
2268
+ }
2269
+ }
2270
+ }
1721
2271
  }
1722
2272
  }
1723
2273
  }
@@ -1893,6 +2443,7 @@
1893
2443
  "type": "string",
1894
2444
  "serialized_name": "ReturnConsumedCapacity",
1895
2445
  "enum": [
2446
+ "INDEXES",
1896
2447
  "TOTAL",
1897
2448
  "NONE"
1898
2449
  ]
@@ -1966,6 +2517,48 @@
1966
2517
  "capacity_units": {
1967
2518
  "type": "float",
1968
2519
  "serialized_name": "CapacityUnits"
2520
+ },
2521
+ "table": {
2522
+ "type": "structure",
2523
+ "serialized_name": "Table",
2524
+ "members": {
2525
+ "capacity_units": {
2526
+ "type": "float",
2527
+ "serialized_name": "CapacityUnits"
2528
+ }
2529
+ }
2530
+ },
2531
+ "local_secondary_indexes": {
2532
+ "type": "map",
2533
+ "serialized_name": "LocalSecondaryIndexes",
2534
+ "keys": {
2535
+ "type": "string"
2536
+ },
2537
+ "members": {
2538
+ "type": "structure",
2539
+ "members": {
2540
+ "capacity_units": {
2541
+ "type": "float",
2542
+ "serialized_name": "CapacityUnits"
2543
+ }
2544
+ }
2545
+ }
2546
+ },
2547
+ "global_secondary_indexes": {
2548
+ "type": "map",
2549
+ "serialized_name": "GlobalSecondaryIndexes",
2550
+ "keys": {
2551
+ "type": "string"
2552
+ },
2553
+ "members": {
2554
+ "type": "structure",
2555
+ "members": {
2556
+ "capacity_units": {
2557
+ "type": "float",
2558
+ "serialized_name": "CapacityUnits"
2559
+ }
2560
+ }
2561
+ }
1969
2562
  }
1970
2563
  }
1971
2564
  },
@@ -2205,6 +2798,7 @@
2205
2798
  "type": "string",
2206
2799
  "serialized_name": "ReturnConsumedCapacity",
2207
2800
  "enum": [
2801
+ "INDEXES",
2208
2802
  "TOTAL",
2209
2803
  "NONE"
2210
2804
  ]
@@ -2322,6 +2916,48 @@
2322
2916
  "capacity_units": {
2323
2917
  "type": "float",
2324
2918
  "serialized_name": "CapacityUnits"
2919
+ },
2920
+ "table": {
2921
+ "type": "structure",
2922
+ "serialized_name": "Table",
2923
+ "members": {
2924
+ "capacity_units": {
2925
+ "type": "float",
2926
+ "serialized_name": "CapacityUnits"
2927
+ }
2928
+ }
2929
+ },
2930
+ "local_secondary_indexes": {
2931
+ "type": "map",
2932
+ "serialized_name": "LocalSecondaryIndexes",
2933
+ "keys": {
2934
+ "type": "string"
2935
+ },
2936
+ "members": {
2937
+ "type": "structure",
2938
+ "members": {
2939
+ "capacity_units": {
2940
+ "type": "float",
2941
+ "serialized_name": "CapacityUnits"
2942
+ }
2943
+ }
2944
+ }
2945
+ },
2946
+ "global_secondary_indexes": {
2947
+ "type": "map",
2948
+ "serialized_name": "GlobalSecondaryIndexes",
2949
+ "keys": {
2950
+ "type": "string"
2951
+ },
2952
+ "members": {
2953
+ "type": "structure",
2954
+ "members": {
2955
+ "capacity_units": {
2956
+ "type": "float",
2957
+ "serialized_name": "CapacityUnits"
2958
+ }
2959
+ }
2960
+ }
2325
2961
  }
2326
2962
  }
2327
2963
  }
@@ -2491,6 +3127,7 @@
2491
3127
  "type": "string",
2492
3128
  "serialized_name": "ReturnConsumedCapacity",
2493
3129
  "enum": [
3130
+ "INDEXES",
2494
3131
  "TOTAL",
2495
3132
  "NONE"
2496
3133
  ]
@@ -2620,6 +3257,48 @@
2620
3257
  "capacity_units": {
2621
3258
  "type": "float",
2622
3259
  "serialized_name": "CapacityUnits"
3260
+ },
3261
+ "table": {
3262
+ "type": "structure",
3263
+ "serialized_name": "Table",
3264
+ "members": {
3265
+ "capacity_units": {
3266
+ "type": "float",
3267
+ "serialized_name": "CapacityUnits"
3268
+ }
3269
+ }
3270
+ },
3271
+ "local_secondary_indexes": {
3272
+ "type": "map",
3273
+ "serialized_name": "LocalSecondaryIndexes",
3274
+ "keys": {
3275
+ "type": "string"
3276
+ },
3277
+ "members": {
3278
+ "type": "structure",
3279
+ "members": {
3280
+ "capacity_units": {
3281
+ "type": "float",
3282
+ "serialized_name": "CapacityUnits"
3283
+ }
3284
+ }
3285
+ }
3286
+ },
3287
+ "global_secondary_indexes": {
3288
+ "type": "map",
3289
+ "serialized_name": "GlobalSecondaryIndexes",
3290
+ "keys": {
3291
+ "type": "string"
3292
+ },
3293
+ "members": {
3294
+ "type": "structure",
3295
+ "members": {
3296
+ "capacity_units": {
3297
+ "type": "float",
3298
+ "serialized_name": "CapacityUnits"
3299
+ }
3300
+ }
3301
+ }
2623
3302
  }
2624
3303
  }
2625
3304
  }
@@ -2814,6 +3493,7 @@
2814
3493
  "type": "string",
2815
3494
  "serialized_name": "ReturnConsumedCapacity",
2816
3495
  "enum": [
3496
+ "INDEXES",
2817
3497
  "TOTAL",
2818
3498
  "NONE"
2819
3499
  ]
@@ -2887,6 +3567,48 @@
2887
3567
  "capacity_units": {
2888
3568
  "type": "float",
2889
3569
  "serialized_name": "CapacityUnits"
3570
+ },
3571
+ "table": {
3572
+ "type": "structure",
3573
+ "serialized_name": "Table",
3574
+ "members": {
3575
+ "capacity_units": {
3576
+ "type": "float",
3577
+ "serialized_name": "CapacityUnits"
3578
+ }
3579
+ }
3580
+ },
3581
+ "local_secondary_indexes": {
3582
+ "type": "map",
3583
+ "serialized_name": "LocalSecondaryIndexes",
3584
+ "keys": {
3585
+ "type": "string"
3586
+ },
3587
+ "members": {
3588
+ "type": "structure",
3589
+ "members": {
3590
+ "capacity_units": {
3591
+ "type": "float",
3592
+ "serialized_name": "CapacityUnits"
3593
+ }
3594
+ }
3595
+ }
3596
+ },
3597
+ "global_secondary_indexes": {
3598
+ "type": "map",
3599
+ "serialized_name": "GlobalSecondaryIndexes",
3600
+ "keys": {
3601
+ "type": "string"
3602
+ },
3603
+ "members": {
3604
+ "type": "structure",
3605
+ "members": {
3606
+ "capacity_units": {
3607
+ "type": "float",
3608
+ "serialized_name": "CapacityUnits"
3609
+ }
3610
+ }
3611
+ }
2890
3612
  }
2891
3613
  }
2892
3614
  },
@@ -2965,7 +3687,6 @@
2965
3687
  },
2966
3688
  "provisioned_throughput": {
2967
3689
  "type": "structure",
2968
- "required": true,
2969
3690
  "serialized_name": "ProvisionedThroughput",
2970
3691
  "members": {
2971
3692
  "read_capacity_units": {
@@ -2979,6 +3700,43 @@
2979
3700
  "serialized_name": "WriteCapacityUnits"
2980
3701
  }
2981
3702
  }
3703
+ },
3704
+ "global_secondary_index_updates": {
3705
+ "type": "list",
3706
+ "serialized_name": "GlobalSecondaryIndexUpdates",
3707
+ "members": {
3708
+ "type": "structure",
3709
+ "members": {
3710
+ "update": {
3711
+ "type": "structure",
3712
+ "serialized_name": "Update",
3713
+ "members": {
3714
+ "index_name": {
3715
+ "type": "string",
3716
+ "required": true,
3717
+ "serialized_name": "IndexName"
3718
+ },
3719
+ "provisioned_throughput": {
3720
+ "type": "structure",
3721
+ "required": true,
3722
+ "serialized_name": "ProvisionedThroughput",
3723
+ "members": {
3724
+ "read_capacity_units": {
3725
+ "type": "integer",
3726
+ "required": true,
3727
+ "serialized_name": "ReadCapacityUnits"
3728
+ },
3729
+ "write_capacity_units": {
3730
+ "type": "integer",
3731
+ "required": true,
3732
+ "serialized_name": "WriteCapacityUnits"
3733
+ }
3734
+ }
3735
+ }
3736
+ }
3737
+ }
3738
+ }
3739
+ }
2982
3740
  }
2983
3741
  }
2984
3742
  },
@@ -3147,6 +3905,106 @@
3147
3905
  }
3148
3906
  }
3149
3907
  }
3908
+ },
3909
+ "global_secondary_indexes": {
3910
+ "type": "list",
3911
+ "serialized_name": "GlobalSecondaryIndexes",
3912
+ "members": {
3913
+ "type": "structure",
3914
+ "members": {
3915
+ "index_name": {
3916
+ "type": "string",
3917
+ "serialized_name": "IndexName"
3918
+ },
3919
+ "key_schema": {
3920
+ "type": "list",
3921
+ "serialized_name": "KeySchema",
3922
+ "members": {
3923
+ "type": "structure",
3924
+ "members": {
3925
+ "attribute_name": {
3926
+ "type": "string",
3927
+ "serialized_name": "AttributeName"
3928
+ },
3929
+ "key_type": {
3930
+ "type": "string",
3931
+ "serialized_name": "KeyType",
3932
+ "enum": [
3933
+ "HASH",
3934
+ "RANGE"
3935
+ ]
3936
+ }
3937
+ }
3938
+ }
3939
+ },
3940
+ "projection": {
3941
+ "type": "structure",
3942
+ "serialized_name": "Projection",
3943
+ "members": {
3944
+ "projection_type": {
3945
+ "type": "string",
3946
+ "serialized_name": "ProjectionType",
3947
+ "enum": [
3948
+ "ALL",
3949
+ "KEYS_ONLY",
3950
+ "INCLUDE"
3951
+ ]
3952
+ },
3953
+ "non_key_attributes": {
3954
+ "type": "list",
3955
+ "serialized_name": "NonKeyAttributes",
3956
+ "members": {
3957
+ "type": "string"
3958
+ }
3959
+ }
3960
+ }
3961
+ },
3962
+ "index_status": {
3963
+ "type": "string",
3964
+ "serialized_name": "IndexStatus",
3965
+ "enum": [
3966
+ "CREATING",
3967
+ "UPDATING",
3968
+ "DELETING",
3969
+ "ACTIVE"
3970
+ ]
3971
+ },
3972
+ "provisioned_throughput": {
3973
+ "type": "structure",
3974
+ "serialized_name": "ProvisionedThroughput",
3975
+ "members": {
3976
+ "last_increase_date_time": {
3977
+ "type": "iso8601_timestamp",
3978
+ "serialized_name": "LastIncreaseDateTime"
3979
+ },
3980
+ "last_decrease_date_time": {
3981
+ "type": "iso8601_timestamp",
3982
+ "serialized_name": "LastDecreaseDateTime"
3983
+ },
3984
+ "number_of_decreases_today": {
3985
+ "type": "integer",
3986
+ "serialized_name": "NumberOfDecreasesToday"
3987
+ },
3988
+ "read_capacity_units": {
3989
+ "type": "integer",
3990
+ "serialized_name": "ReadCapacityUnits"
3991
+ },
3992
+ "write_capacity_units": {
3993
+ "type": "integer",
3994
+ "serialized_name": "WriteCapacityUnits"
3995
+ }
3996
+ }
3997
+ },
3998
+ "index_size_bytes": {
3999
+ "type": "integer",
4000
+ "serialized_name": "IndexSizeBytes"
4001
+ },
4002
+ "item_count": {
4003
+ "type": "integer",
4004
+ "serialized_name": "ItemCount"
4005
+ }
4006
+ }
4007
+ }
3150
4008
  }
3151
4009
  }
3152
4010
  }