aws-sdk-core 2.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +7 -0
  3. data/.simplecov +6 -0
  4. data/.travis.yml +12 -0
  5. data/.yardopts +11 -0
  6. data/Gemfile +26 -0
  7. data/LICENSE.txt +12 -0
  8. data/README.md +169 -0
  9. data/Rakefile +15 -0
  10. data/apis/AutoScaling-2011-01-01.json +1852 -0
  11. data/apis/CloudFormation-2010-05-15.json +981 -0
  12. data/apis/CloudFront-2012-05-05.json +3861 -0
  13. data/apis/CloudFront-2013-05-12.json +4593 -0
  14. data/apis/CloudFront-2013-08-26.json +4849 -0
  15. data/apis/CloudSearch-2011-02-01.json +2080 -0
  16. data/apis/CloudWatch-2010-08-01.json +1206 -0
  17. data/apis/DataPipeline-2012-10-29.json +901 -0
  18. data/apis/DirectConnect-2012-10-25.json +825 -0
  19. data/apis/DynamoDB-2011-12-05.json +2857 -0
  20. data/apis/DynamoDB-2012-08-10.json +3127 -0
  21. data/apis/EC2-2013-06-15.json +13600 -0
  22. data/apis/EC2-2013-10-01.json +14574 -0
  23. data/apis/EMR-2009-03-31.json +957 -0
  24. data/apis/ElastiCache-2012-11-15.json +2921 -0
  25. data/apis/ElastiCache-2013-06-15.json +3586 -0
  26. data/apis/ElasticBeanstalk-2010-12-01.json +2225 -0
  27. data/apis/ElasticLoadBalancing-2012-06-01.json +1215 -0
  28. data/apis/ElasticTranscoder-2012-09-25.json +3692 -0
  29. data/apis/Glacier-2012-06-01.json +1058 -0
  30. data/apis/IAM-2010-05-08.json +2863 -0
  31. data/apis/ImportExport-2010-06-01.json +328 -0
  32. data/apis/OpsWorks-2013-02-18.json +3546 -0
  33. data/apis/RDS-2013-01-10.json +6772 -0
  34. data/apis/RDS-2013-02-12.json +7151 -0
  35. data/apis/RDS-2013-05-15.json +7809 -0
  36. data/apis/Redshift-2012-12-01.json +4180 -0
  37. data/apis/Route53-2012-12-12.json +1018 -0
  38. data/apis/S3-2006-03-01.json +3787 -0
  39. data/apis/SDB-2009-04-15.json +539 -0
  40. data/apis/SES-2010-12-01.json +678 -0
  41. data/apis/SNS-2010-03-31.json +870 -0
  42. data/apis/SQS-2012-11-05.json +798 -0
  43. data/apis/STS-2011-06-15.json +352 -0
  44. data/apis/SWF-2012-01-25.json +5451 -0
  45. data/apis/StorageGateway-2012-06-30.json +1696 -0
  46. data/apis/Support-2013-04-15.json +794 -0
  47. data/apis/configuration/endpoints.json +1337 -0
  48. data/apis/source/autoscaling-2011-01-01.json +3215 -0
  49. data/apis/source/autoscaling-2011-01-01.paginators.json +52 -0
  50. data/apis/source/cloudformation-2010-05-15.json +1260 -0
  51. data/apis/source/cloudformation-2010-05-15.paginators.json +24 -0
  52. data/apis/source/cloudfront-2012-05-05.json +6588 -0
  53. data/apis/source/cloudfront-2012-05-05.paginators.json +28 -0
  54. data/apis/source/cloudfront-2013-05-12.json +7614 -0
  55. data/apis/source/cloudfront-2013-05-12.paginators.json +28 -0
  56. data/apis/source/cloudfront-2013-08-26.json +8016 -0
  57. data/apis/source/cloudfront-2013-08-26.paginators.json +28 -0
  58. data/apis/source/cloudsearch-2011-02-01.json +3585 -0
  59. data/apis/source/cloudsearch-2011-02-01.paginators.json +13 -0
  60. data/apis/source/datapipeline-2012-10-29.json +2144 -0
  61. data/apis/source/datapipeline-2012-10-29.paginators.json +25 -0
  62. data/apis/source/directconnect-2012-10-25.json +1271 -0
  63. data/apis/source/directconnect-2012-10-25.paginators.json +16 -0
  64. data/apis/source/dynamodb-2011-12-05.json +4380 -0
  65. data/apis/source/dynamodb-2011-12-05.paginators.json +24 -0
  66. data/apis/source/dynamodb-2012-08-10.json +4839 -0
  67. data/apis/source/dynamodb-2012-08-10.paginators.json +24 -0
  68. data/apis/source/ec2-2013-02-01.json +18820 -0
  69. data/apis/source/ec2-2013-02-01.paginators.json +115 -0
  70. data/apis/source/ec2-2013-06-15.json +18820 -0
  71. data/apis/source/ec2-2013-06-15.paginators.json +115 -0
  72. data/apis/source/ec2-2013-10-01.json +19885 -0
  73. data/apis/source/ec2-2013-10-01.paginators.json +115 -0
  74. data/apis/source/elasticache-2012-11-15.json +4403 -0
  75. data/apis/source/elasticache-2012-11-15.paginators.json +64 -0
  76. data/apis/source/elasticache-2013-06-15.json +5421 -0
  77. data/apis/source/elasticache-2013-06-15.paginators.json +64 -0
  78. data/apis/source/elasticbeanstalk-2010-12-01.json +3151 -0
  79. data/apis/source/elasticbeanstalk-2010-12-01.paginators.json +25 -0
  80. data/apis/source/elasticloadbalancing-2012-06-01.json +2041 -0
  81. data/apis/source/elasticloadbalancing-2012-06-01.paginators.json +18 -0
  82. data/apis/source/elasticmapreduce-2009-03-31.json +1478 -0
  83. data/apis/source/elasticmapreduce-2009-03-31.paginators.json +7 -0
  84. data/apis/source/elastictranscoder-2012-09-25.json +6148 -0
  85. data/apis/source/elastictranscoder-2012-09-25.paginators.json +20 -0
  86. data/apis/source/email-2010-12-01.json +892 -0
  87. data/apis/source/email-2010-12-01.paginators.json +13 -0
  88. data/apis/source/glacier-2012-06-01.json +3147 -0
  89. data/apis/source/glacier-2012-06-01.paginators.json +28 -0
  90. data/apis/source/iam-2010-05-08.json +5857 -0
  91. data/apis/source/iam-2010-05-08.paginators.json +116 -0
  92. data/apis/source/importexport-2010-06-01.json +876 -0
  93. data/apis/source/importexport-2010-06-01.paginators.json +10 -0
  94. data/apis/source/monitoring-2010-08-01.json +1910 -0
  95. data/apis/source/monitoring-2010-08-01.paginators.json +24 -0
  96. data/apis/source/opsworks-2013-02-18.json +5848 -0
  97. data/apis/source/opsworks-2013-02-18.paginators.json +46 -0
  98. data/apis/source/rds-2013-01-10.json +9283 -0
  99. data/apis/source/rds-2013-01-10.paginators.json +105 -0
  100. data/apis/source/rds-2013-02-12.json +9777 -0
  101. data/apis/source/rds-2013-02-12.paginators.json +105 -0
  102. data/apis/source/rds-2013-05-15.json +10618 -0
  103. data/apis/source/rds-2013-05-15.paginators.json +105 -0
  104. data/apis/source/redshift-2012-12-01.json +5742 -0
  105. data/apis/source/redshift-2012-12-01.paginators.json +74 -0
  106. data/apis/source/route53-2012-12-12.json +2067 -0
  107. data/apis/source/route53-2012-12-12.paginators.json +33 -0
  108. data/apis/source/s3-2006-03-01.json +4261 -0
  109. data/apis/source/s3-2006-03-01.paginators.json +46 -0
  110. data/apis/source/sdb-2009-04-15.json +1145 -0
  111. data/apis/source/sdb-2009-04-15.paginators.json +15 -0
  112. data/apis/source/sns-2010-03-31.json +2234 -0
  113. data/apis/source/sns-2010-03-31.paginators.json +19 -0
  114. data/apis/source/sqs-2012-11-05.json +1162 -0
  115. data/apis/source/sqs-2012-11-05.paginators.json +7 -0
  116. data/apis/source/storagegateway-2012-06-30.json +9487 -0
  117. data/apis/source/storagegateway-2012-06-30.paginators.json +28 -0
  118. data/apis/source/sts-2011-06-15.json +627 -0
  119. data/apis/source/support-2013-04-15.json +1261 -0
  120. data/apis/source/support-2013-04-15.paginators.json +31 -0
  121. data/apis/source/swf-2012-01-25.json +8744 -0
  122. data/apis/source/swf-2012-01-25.paginators.json +46 -0
  123. data/aws-sdk-core.gemspec +21 -0
  124. data/bin/aws.rb +156 -0
  125. data/doc-src/images/lastnode.png +0 -0
  126. data/doc-src/images/node.png +0 -0
  127. data/doc-src/images/vline.png +0 -0
  128. data/doc-src/plugins/apis.rb +205 -0
  129. data/doc-src/templates/default/fulldoc/html/css/common.css +90 -0
  130. data/doc-src/templates/default/fulldoc/html/js/tabs.js +21 -0
  131. data/doc-src/templates/default/fulldoc/html/setup.rb +61 -0
  132. data/doc-src/templates/default/layout/html/footer.erb +29 -0
  133. data/doc-src/templates/default/layout/html/setup.rb +3 -0
  134. data/features/autoscaling/client.feature +22 -0
  135. data/features/autoscaling/setup.rb +6 -0
  136. data/features/cloudformation/client.feature +18 -0
  137. data/features/cloudformation/setup.rb +6 -0
  138. data/features/cloudfront/client.feature +21 -0
  139. data/features/cloudfront/setup.rb +6 -0
  140. data/features/cloudsearch/client.feature +18 -0
  141. data/features/cloudsearch/setup.rb +6 -0
  142. data/features/cloudwatch/client.feature +21 -0
  143. data/features/cloudwatch/setup.rb +6 -0
  144. data/features/common/step_definitions.rb +65 -0
  145. data/features/datapipeline/client.feature +18 -0
  146. data/features/datapipeline/setup.rb +6 -0
  147. data/features/directconnect/client.feature +18 -0
  148. data/features/directconnect/setup.rb +6 -0
  149. data/features/dynamodb/client.feature +21 -0
  150. data/features/dynamodb/setup.rb +8 -0
  151. data/features/dynamodb/simplified.feature +32 -0
  152. data/features/dynamodb/step_definitions.rb +3 -0
  153. data/features/ec2/client.feature +21 -0
  154. data/features/ec2/setup.rb +6 -0
  155. data/features/ec2/step_definitions.rb +19 -0
  156. data/features/elasticache/client.feature +18 -0
  157. data/features/elasticache/setup.rb +6 -0
  158. data/features/elasticbeanstalk/client.feature +18 -0
  159. data/features/elasticbeanstalk/setup.rb +6 -0
  160. data/features/elasticloadbalancing/client.feature +18 -0
  161. data/features/elasticloadbalancing/setup.rb +6 -0
  162. data/features/elastictranscoder/client.feature +18 -0
  163. data/features/elastictranscoder/setup.rb +6 -0
  164. data/features/emr/client.feature +18 -0
  165. data/features/emr/setup.rb +6 -0
  166. data/features/env.rb +23 -0
  167. data/features/glacier/client.feature +28 -0
  168. data/features/glacier/setup.rb +16 -0
  169. data/features/glacier/step_definitions.rb +25 -0
  170. data/features/iam/client.feature +18 -0
  171. data/features/iam/setup.rb +6 -0
  172. data/features/importexport/client.feature +18 -0
  173. data/features/importexport/setup.rb +6 -0
  174. data/features/opsworks/client.feature +18 -0
  175. data/features/opsworks/setup.rb +6 -0
  176. data/features/rds/client.feature +18 -0
  177. data/features/rds/setup.rb +6 -0
  178. data/features/redshift/client.feature +18 -0
  179. data/features/redshift/setup.rb +6 -0
  180. data/features/route53/client.feature +18 -0
  181. data/features/route53/setup.rb +6 -0
  182. data/features/s3/buckets.feature +22 -0
  183. data/features/s3/objects.feature +18 -0
  184. data/features/s3/setup.rb +17 -0
  185. data/features/s3/step_definitions.rb +66 -0
  186. data/features/s3/test.png +0 -0
  187. data/features/sdb/client.feature +18 -0
  188. data/features/sdb/setup.rb +6 -0
  189. data/features/ses/client.feature +18 -0
  190. data/features/ses/setup.rb +6 -0
  191. data/features/sns/client.feature +18 -0
  192. data/features/sns/setup.rb +6 -0
  193. data/features/sqs/client.feature +23 -0
  194. data/features/sqs/setup.rb +10 -0
  195. data/features/sqs/step_definitions.rb +18 -0
  196. data/features/storagegateway/client.feature +18 -0
  197. data/features/storagegateway/setup.rb +6 -0
  198. data/features/sts/client.feature +18 -0
  199. data/features/sts/setup.rb +6 -0
  200. data/features/swf/client.feature +21 -0
  201. data/features/swf/setup.rb +6 -0
  202. data/integration-test-config.json.sample +3 -0
  203. data/lib/aws-sdk-core.rb +11 -0
  204. data/lib/aws.rb +175 -0
  205. data/lib/aws/api/base_translator.rb +72 -0
  206. data/lib/aws/api/doc_example.rb +116 -0
  207. data/lib/aws/api/documentor.rb +140 -0
  208. data/lib/aws/api/operation_translator.rb +77 -0
  209. data/lib/aws/api/service_namer.rb +40 -0
  210. data/lib/aws/api/service_translators/cloud_front.rb +19 -0
  211. data/lib/aws/api/service_translators/dynamo_db.rb +7 -0
  212. data/lib/aws/api/service_translators/glacier.rb +37 -0
  213. data/lib/aws/api/service_translators/import_export.rb +15 -0
  214. data/lib/aws/api/service_translators/route53.rb +23 -0
  215. data/lib/aws/api/service_translators/s3.rb +11 -0
  216. data/lib/aws/api/service_translators/sqs.rb +10 -0
  217. data/lib/aws/api/service_translators/swf.rb +7 -0
  218. data/lib/aws/api/shape_translator.rb +96 -0
  219. data/lib/aws/api/translator.rb +150 -0
  220. data/lib/aws/api/visitor.rb +32 -0
  221. data/lib/aws/credentials.rb +35 -0
  222. data/lib/aws/error_handler.rb +48 -0
  223. data/lib/aws/errors.rb +83 -0
  224. data/lib/aws/json/builder.rb +77 -0
  225. data/lib/aws/json/error_parser.rb +20 -0
  226. data/lib/aws/json/parser.rb +67 -0
  227. data/lib/aws/json/serializer.rb +15 -0
  228. data/lib/aws/plugins/credentials.rb +48 -0
  229. data/lib/aws/plugins/dynamodb_extended_retries.rb +22 -0
  230. data/lib/aws/plugins/glacier_api_version.rb +19 -0
  231. data/lib/aws/plugins/glacier_checksums.rb +100 -0
  232. data/lib/aws/plugins/global_configuration.rb +79 -0
  233. data/lib/aws/plugins/json_protocol.rb +30 -0
  234. data/lib/aws/plugins/json_rpc_headers.rb +34 -0
  235. data/lib/aws/plugins/query_protocol.rb +11 -0
  236. data/lib/aws/plugins/regional_endpoint.rb +37 -0
  237. data/lib/aws/plugins/retry_errors.rb +149 -0
  238. data/lib/aws/plugins/s3_bucket_dns.rb +78 -0
  239. data/lib/aws/plugins/s3_complete_multipart_upload_fix.rb +38 -0
  240. data/lib/aws/plugins/s3_get_bucket_location_fix.rb +21 -0
  241. data/lib/aws/plugins/s3_md5s.rb +61 -0
  242. data/lib/aws/plugins/s3_redirects.rb +38 -0
  243. data/lib/aws/plugins/s3_regional_endpoint.rb +19 -0
  244. data/lib/aws/plugins/s3_signer.rb +9 -0
  245. data/lib/aws/plugins/signature_v2.rb +9 -0
  246. data/lib/aws/plugins/signature_v3.rb +9 -0
  247. data/lib/aws/plugins/signature_v4.rb +29 -0
  248. data/lib/aws/plugins/sqs_queue_urls.rb +33 -0
  249. data/lib/aws/plugins/swf_read_timeouts.rb +23 -0
  250. data/lib/aws/plugins/user_agent.rb +32 -0
  251. data/lib/aws/plugins/xml_protocol.rb +11 -0
  252. data/lib/aws/query/builder.rb +102 -0
  253. data/lib/aws/query/param.rb +43 -0
  254. data/lib/aws/query/param_list.rb +91 -0
  255. data/lib/aws/query/serializer.rb +24 -0
  256. data/lib/aws/request_handler.rb +39 -0
  257. data/lib/aws/response_handler.rb +38 -0
  258. data/lib/aws/service.rb +237 -0
  259. data/lib/aws/signers/base.rb +29 -0
  260. data/lib/aws/signers/handler.rb +18 -0
  261. data/lib/aws/signers/s3.rb +162 -0
  262. data/lib/aws/signers/v2.rb +48 -0
  263. data/lib/aws/signers/v3.rb +34 -0
  264. data/lib/aws/signers/v4.rb +142 -0
  265. data/lib/aws/structure.rb +38 -0
  266. data/lib/aws/timestamp_formatter.rb +16 -0
  267. data/lib/aws/util.rb +38 -0
  268. data/lib/aws/version.rb +3 -0
  269. data/lib/aws/xml/builder.rb +134 -0
  270. data/lib/aws/xml/error_parser.rb +24 -0
  271. data/lib/aws/xml/parser.rb +147 -0
  272. data/lib/aws/xml/serializer.rb +16 -0
  273. data/spec/aws/credentials_spec.rb +39 -0
  274. data/spec/aws/iam_spec.rb +17 -0
  275. data/spec/aws/json/builder_spec.rb +183 -0
  276. data/spec/aws/json/parser_spec.rb +238 -0
  277. data/spec/aws/operations_spec.rb +145 -0
  278. data/spec/aws/plugins/credentials_spec.rb +76 -0
  279. data/spec/aws/plugins/global_configuration_spec.rb +56 -0
  280. data/spec/aws/plugins/region_endpoint_spec.rb +77 -0
  281. data/spec/aws/plugins/retry_errors_spec.rb +253 -0
  282. data/spec/aws/query/builder_spec.rb +361 -0
  283. data/spec/aws/query/param_list_spec.rb +80 -0
  284. data/spec/aws/query/param_spec.rb +59 -0
  285. data/spec/aws/service_spec.rb +247 -0
  286. data/spec/aws/signers/v4_spec.rb +141 -0
  287. data/spec/aws/structure_spec.rb +103 -0
  288. data/spec/aws/xml/builder_spec.rb +404 -0
  289. data/spec/aws/xml/parser_spec.rb +716 -0
  290. data/spec/aws_spec.rb +89 -0
  291. data/spec/fixtures/api/swf.json +100 -0
  292. data/spec/fixtures/operations/cloudfront/list_distributions.yml +195 -0
  293. data/spec/fixtures/operations/cloudfront/max_items.yml +12 -0
  294. data/spec/fixtures/operations/dynamodb/error_parsing.yml +13 -0
  295. data/spec/fixtures/operations/glacier/error_parsing.yml +10 -0
  296. data/spec/fixtures/operations/glacier/list_vaults.yml +24 -0
  297. data/spec/fixtures/operations/iam/result_wrapped_elements.yml +31 -0
  298. data/spec/fixtures/operations/s3/304_response.yml +12 -0
  299. data/spec/fixtures/operations/s3/400_response.yml +12 -0
  300. data/spec/fixtures/operations/s3/403_response.yml +12 -0
  301. data/spec/fixtures/operations/s3/404_response.yml +12 -0
  302. data/spec/fixtures/operations/s3/comlete_multipart_upload_error.yml +18 -0
  303. data/spec/fixtures/operations/s3/create_bucket_with_location_constraint.yml +25 -0
  304. data/spec/fixtures/operations/s3/create_bucket_without_location_constraint.yml +9 -0
  305. data/spec/fixtures/operations/s3/delete_objects.yml +54 -0
  306. data/spec/fixtures/operations/s3/error_parsing.yml +17 -0
  307. data/spec/fixtures/operations/s3/get_bucket_location.yml +17 -0
  308. data/spec/fixtures/operations/s3/get_bucket_location_classic.yml +17 -0
  309. data/spec/fixtures/operations/s3/head_bucket_with_dns_incompatible_name.yml +12 -0
  310. data/spec/fixtures/operations/s3/head_object.yml +50 -0
  311. data/spec/fixtures/operations/s3/list_buckets.yml +41 -0
  312. data/spec/fixtures/operations/s3/md5_checksum_disabled.yml +10 -0
  313. data/spec/fixtures/operations/s3/md5_checksum_enabled.yml +8 -0
  314. data/spec/fixtures/operations/swf/list_domains.yml +20 -0
  315. data/spec/spec_helper.rb +55 -0
  316. data/tasks/apis.rake +51 -0
  317. data/tasks/docs.rake +59 -0
  318. data/tasks/test.rake +39 -0
  319. data/vendor/seahorse/.gitignore +5 -0
  320. data/vendor/seahorse/.simplecov +4 -0
  321. data/vendor/seahorse/.yardopts +10 -0
  322. data/vendor/seahorse/Gemfile +20 -0
  323. data/vendor/seahorse/LICENSE.txt +12 -0
  324. data/vendor/seahorse/README.md +129 -0
  325. data/vendor/seahorse/Rakefile +7 -0
  326. data/vendor/seahorse/ca-bundle.crt +3554 -0
  327. data/vendor/seahorse/lib/seahorse.rb +6 -0
  328. data/vendor/seahorse/lib/seahorse/client.rb +61 -0
  329. data/vendor/seahorse/lib/seahorse/client/base.rb +239 -0
  330. data/vendor/seahorse/lib/seahorse/client/block_io.rb +39 -0
  331. data/vendor/seahorse/lib/seahorse/client/configuration.rb +197 -0
  332. data/vendor/seahorse/lib/seahorse/client/handler.rb +26 -0
  333. data/vendor/seahorse/lib/seahorse/client/handler_builder.rb +49 -0
  334. data/vendor/seahorse/lib/seahorse/client/handler_list.rb +250 -0
  335. data/vendor/seahorse/lib/seahorse/client/http/endpoint.rb +95 -0
  336. data/vendor/seahorse/lib/seahorse/client/http/headers.rb +94 -0
  337. data/vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb +11 -0
  338. data/vendor/seahorse/lib/seahorse/client/http/request.rb +78 -0
  339. data/vendor/seahorse/lib/seahorse/client/http/response.rb +45 -0
  340. data/vendor/seahorse/lib/seahorse/client/logging/formatter.rb +319 -0
  341. data/vendor/seahorse/lib/seahorse/client/logging/handler.rb +35 -0
  342. data/vendor/seahorse/lib/seahorse/client/net_http/connection_pool.rb +339 -0
  343. data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +109 -0
  344. data/vendor/seahorse/lib/seahorse/client/param_converter.rb +202 -0
  345. data/vendor/seahorse/lib/seahorse/client/param_validator.rb +139 -0
  346. data/vendor/seahorse/lib/seahorse/client/plugin.rb +80 -0
  347. data/vendor/seahorse/lib/seahorse/client/plugin_list.rb +142 -0
  348. data/vendor/seahorse/lib/seahorse/client/plugins/api.rb +11 -0
  349. data/vendor/seahorse/lib/seahorse/client/plugins/content_length.rb +22 -0
  350. data/vendor/seahorse/lib/seahorse/client/plugins/endpoint.rb +36 -0
  351. data/vendor/seahorse/lib/seahorse/client/plugins/json_simple.rb +34 -0
  352. data/vendor/seahorse/lib/seahorse/client/plugins/logging.rb +37 -0
  353. data/vendor/seahorse/lib/seahorse/client/plugins/net_http.rb +26 -0
  354. data/vendor/seahorse/lib/seahorse/client/plugins/operation_methods.rb +48 -0
  355. data/vendor/seahorse/lib/seahorse/client/plugins/param_conversion.rb +29 -0
  356. data/vendor/seahorse/lib/seahorse/client/plugins/param_validation.rb +30 -0
  357. data/vendor/seahorse/lib/seahorse/client/plugins/raise_response_errors.rb +29 -0
  358. data/vendor/seahorse/lib/seahorse/client/plugins/restful_bindings.rb +205 -0
  359. data/vendor/seahorse/lib/seahorse/client/request.rb +62 -0
  360. data/vendor/seahorse/lib/seahorse/client/request_context.rb +68 -0
  361. data/vendor/seahorse/lib/seahorse/client/response.rb +106 -0
  362. data/vendor/seahorse/lib/seahorse/client/xml/builder.rb +92 -0
  363. data/vendor/seahorse/lib/seahorse/model.rb +38 -0
  364. data/vendor/seahorse/lib/seahorse/model/api.rb +39 -0
  365. data/vendor/seahorse/lib/seahorse/model/node.rb +102 -0
  366. data/vendor/seahorse/lib/seahorse/model/operation.rb +32 -0
  367. data/vendor/seahorse/lib/seahorse/model/operation_input.rb +30 -0
  368. data/vendor/seahorse/lib/seahorse/model/operations.rb +59 -0
  369. data/vendor/seahorse/lib/seahorse/model/property.rb +141 -0
  370. data/vendor/seahorse/lib/seahorse/model/shapes/shape.rb +229 -0
  371. data/vendor/seahorse/lib/seahorse/model/types.rb +8 -0
  372. data/vendor/seahorse/lib/seahorse/version.rb +3 -0
  373. data/vendor/seahorse/seahorse.gemspec +20 -0
  374. data/vendor/seahorse/spec/fixtures/plugin.rb +4 -0
  375. data/vendor/seahorse/spec/seahorse/client/base_spec.rb +308 -0
  376. data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +118 -0
  377. data/vendor/seahorse/spec/seahorse/client/handler_builder_spec.rb +159 -0
  378. data/vendor/seahorse/spec/seahorse/client/handler_list_spec.rb +243 -0
  379. data/vendor/seahorse/spec/seahorse/client/handler_spec.rb +40 -0
  380. data/vendor/seahorse/spec/seahorse/client/http/endpoint_spec.rb +168 -0
  381. data/vendor/seahorse/spec/seahorse/client/http/headers_spec.rb +213 -0
  382. data/vendor/seahorse/spec/seahorse/client/http/plain_string_io_spec.rb +23 -0
  383. data/vendor/seahorse/spec/seahorse/client/http/request_spec.rb +142 -0
  384. data/vendor/seahorse/spec/seahorse/client/http/response_spec.rb +77 -0
  385. data/vendor/seahorse/spec/seahorse/client/logging/formatter_spec.rb +197 -0
  386. data/vendor/seahorse/spec/seahorse/client/logging/handler_spec.rb +63 -0
  387. data/vendor/seahorse/spec/seahorse/client/net_http/connection_pool_spec.rb +10 -0
  388. data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +232 -0
  389. data/vendor/seahorse/spec/seahorse/client/param_converter_spec.rb +318 -0
  390. data/vendor/seahorse/spec/seahorse/client/param_validator_spec.rb +271 -0
  391. data/vendor/seahorse/spec/seahorse/client/plugin_list_spec.rb +166 -0
  392. data/vendor/seahorse/spec/seahorse/client/plugin_spec.rb +118 -0
  393. data/vendor/seahorse/spec/seahorse/client/plugins/content_length_spec.rb +19 -0
  394. data/vendor/seahorse/spec/seahorse/client/plugins/endpoint_spec.rb +43 -0
  395. data/vendor/seahorse/spec/seahorse/client/plugins/logging_spec.rb +46 -0
  396. data/vendor/seahorse/spec/seahorse/client/plugins/net_http_spec.rb +71 -0
  397. data/vendor/seahorse/spec/seahorse/client/plugins/operation_methods_spec.rb +74 -0
  398. data/vendor/seahorse/spec/seahorse/client/plugins/restful_bindings/uri_path_builder_spec.rb +91 -0
  399. data/vendor/seahorse/spec/seahorse/client/request_context_spec.rb +105 -0
  400. data/vendor/seahorse/spec/seahorse/client/request_spec.rb +102 -0
  401. data/vendor/seahorse/spec/seahorse/client/response_spec.rb +171 -0
  402. data/vendor/seahorse/spec/seahorse/client/xml/builder/xml_doc_spec.rb +142 -0
  403. data/vendor/seahorse/spec/seahorse/client/xml/builder_spec.rb +10 -0
  404. data/vendor/seahorse/spec/seahorse/client_spec.rb +13 -0
  405. data/vendor/seahorse/spec/seahorse/model/api_spec.rb +72 -0
  406. data/vendor/seahorse/spec/seahorse/model/node_spec.rb +114 -0
  407. data/vendor/seahorse/spec/seahorse/model/operation_input_spec.rb +53 -0
  408. data/vendor/seahorse/spec/seahorse/model/operation_spec.rb +48 -0
  409. data/vendor/seahorse/spec/seahorse/model/operations_spec.rb +64 -0
  410. data/vendor/seahorse/spec/seahorse/model/property_spec.rb +136 -0
  411. data/vendor/seahorse/spec/seahorse/model/shapes/shape_spec.rb +105 -0
  412. data/vendor/seahorse/spec/seahorse/version_spec.rb +11 -0
  413. data/vendor/seahorse/spec/spec_helper.rb +34 -0
  414. data/vendor/seahorse/tasks/ca_bundle.rake +23 -0
  415. data/vendor/seahorse/tasks/docs.rake +11 -0
  416. data/vendor/seahorse/tasks/test.rake +26 -0
  417. metadata +614 -0
@@ -0,0 +1,3127 @@
1
+ {
2
+ "version": "2012-08-10",
3
+ "metadata": {
4
+ "endpoint_prefix": "dynamodb",
5
+ "json_target_prefix": "DynamoDB_20120810",
6
+ "json_version": 1.0,
7
+ "regional_endpoints": {
8
+ "us-east-1": "dynamodb.us-east-1.amazonaws.com",
9
+ "us-west-1": "dynamodb.us-west-1.amazonaws.com",
10
+ "us-west-2": "dynamodb.us-west-2.amazonaws.com",
11
+ "eu-west-1": "dynamodb.eu-west-1.amazonaws.com",
12
+ "ap-northeast-1": "dynamodb.ap-northeast-1.amazonaws.com",
13
+ "ap-southeast-1": "dynamodb.ap-southeast-1.amazonaws.com",
14
+ "ap-southeast-2": "dynamodb.ap-southeast-2.amazonaws.com",
15
+ "sa-east-1": "dynamodb.sa-east-1.amazonaws.com",
16
+ "us-gov-west-1": "dynamodb.us-gov-west-1.amazonaws.com"
17
+ },
18
+ "service_abbreviation": "DynamoDB",
19
+ "service_class_name": "DynamoDB",
20
+ "service_full_name": "Amazon DynamoDB"
21
+ },
22
+ "plugins": [
23
+ "Seahorse::Client::Plugins::Logging",
24
+ "Seahorse::Client::Plugins::RestfulBindings",
25
+ "Seahorse::Client::Plugins::ContentLength",
26
+ "Aws::Plugins::UserAgent",
27
+ "Aws::Plugins::RetryErrors",
28
+ "Aws::Plugins::GlobalConfiguration",
29
+ "Aws::Plugins::RegionalEndpoint",
30
+ "Aws::Plugins::Credentials",
31
+ "Aws::Plugins::JsonProtocol",
32
+ "Aws::Plugins::JsonRpcHeaders",
33
+ "Aws::Plugins::SignatureV4",
34
+ "Aws::Plugins::DynamoDBExtendedRetries"
35
+ ],
36
+ "operations": {
37
+ "batch_get_item": {
38
+ "name": "BatchGetItem",
39
+ "http_method": "POST",
40
+ "http_path": "/",
41
+ "input": {
42
+ "type": "input",
43
+ "members": {
44
+ "request_items": {
45
+ "type": "map",
46
+ "required": true,
47
+ "serialized_name": "RequestItems",
48
+ "keys": {
49
+ "type": "string"
50
+ },
51
+ "members": {
52
+ "type": "structure",
53
+ "members": {
54
+ "keys": {
55
+ "type": "list",
56
+ "required": true,
57
+ "serialized_name": "Keys",
58
+ "members": {
59
+ "type": "map",
60
+ "keys": {
61
+ "type": "string"
62
+ },
63
+ "members": {
64
+ "type": "structure",
65
+ "members": {
66
+ "s": {
67
+ "type": "string",
68
+ "serialized_name": "S"
69
+ },
70
+ "n": {
71
+ "type": "string",
72
+ "serialized_name": "N"
73
+ },
74
+ "b": {
75
+ "type": "blob",
76
+ "serialized_name": "B"
77
+ },
78
+ "ss": {
79
+ "type": "list",
80
+ "serialized_name": "SS",
81
+ "members": {
82
+ "type": "string"
83
+ }
84
+ },
85
+ "ns": {
86
+ "type": "list",
87
+ "serialized_name": "NS",
88
+ "members": {
89
+ "type": "string"
90
+ }
91
+ },
92
+ "bs": {
93
+ "type": "list",
94
+ "serialized_name": "BS",
95
+ "members": {
96
+ "type": "blob"
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
102
+ },
103
+ "attributes_to_get": {
104
+ "type": "list",
105
+ "serialized_name": "AttributesToGet",
106
+ "members": {
107
+ "type": "string"
108
+ }
109
+ },
110
+ "consistent_read": {
111
+ "type": "boolean",
112
+ "serialized_name": "ConsistentRead"
113
+ }
114
+ }
115
+ }
116
+ },
117
+ "return_consumed_capacity": {
118
+ "type": "string",
119
+ "serialized_name": "ReturnConsumedCapacity",
120
+ "enum": [
121
+ "TOTAL",
122
+ "NONE"
123
+ ]
124
+ }
125
+ }
126
+ },
127
+ "output": {
128
+ "type": "output",
129
+ "members": {
130
+ "responses": {
131
+ "type": "map",
132
+ "serialized_name": "Responses",
133
+ "keys": {
134
+ "type": "string"
135
+ },
136
+ "members": {
137
+ "type": "list",
138
+ "members": {
139
+ "type": "map",
140
+ "keys": {
141
+ "type": "string"
142
+ },
143
+ "members": {
144
+ "type": "structure",
145
+ "members": {
146
+ "s": {
147
+ "type": "string",
148
+ "serialized_name": "S"
149
+ },
150
+ "n": {
151
+ "type": "string",
152
+ "serialized_name": "N"
153
+ },
154
+ "b": {
155
+ "type": "blob",
156
+ "serialized_name": "B"
157
+ },
158
+ "ss": {
159
+ "type": "list",
160
+ "serialized_name": "SS",
161
+ "members": {
162
+ "type": "string"
163
+ }
164
+ },
165
+ "ns": {
166
+ "type": "list",
167
+ "serialized_name": "NS",
168
+ "members": {
169
+ "type": "string"
170
+ }
171
+ },
172
+ "bs": {
173
+ "type": "list",
174
+ "serialized_name": "BS",
175
+ "members": {
176
+ "type": "blob"
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ },
184
+ "unprocessed_keys": {
185
+ "type": "map",
186
+ "serialized_name": "UnprocessedKeys",
187
+ "keys": {
188
+ "type": "string"
189
+ },
190
+ "members": {
191
+ "type": "structure",
192
+ "members": {
193
+ "keys": {
194
+ "type": "list",
195
+ "serialized_name": "Keys",
196
+ "members": {
197
+ "type": "map",
198
+ "keys": {
199
+ "type": "string"
200
+ },
201
+ "members": {
202
+ "type": "structure",
203
+ "members": {
204
+ "s": {
205
+ "type": "string",
206
+ "serialized_name": "S"
207
+ },
208
+ "n": {
209
+ "type": "string",
210
+ "serialized_name": "N"
211
+ },
212
+ "b": {
213
+ "type": "blob",
214
+ "serialized_name": "B"
215
+ },
216
+ "ss": {
217
+ "type": "list",
218
+ "serialized_name": "SS",
219
+ "members": {
220
+ "type": "string"
221
+ }
222
+ },
223
+ "ns": {
224
+ "type": "list",
225
+ "serialized_name": "NS",
226
+ "members": {
227
+ "type": "string"
228
+ }
229
+ },
230
+ "bs": {
231
+ "type": "list",
232
+ "serialized_name": "BS",
233
+ "members": {
234
+ "type": "blob"
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ },
241
+ "attributes_to_get": {
242
+ "type": "list",
243
+ "serialized_name": "AttributesToGet",
244
+ "members": {
245
+ "type": "string"
246
+ }
247
+ },
248
+ "consistent_read": {
249
+ "type": "boolean",
250
+ "serialized_name": "ConsistentRead"
251
+ }
252
+ }
253
+ }
254
+ },
255
+ "consumed_capacity": {
256
+ "type": "list",
257
+ "serialized_name": "ConsumedCapacity",
258
+ "members": {
259
+ "type": "structure",
260
+ "members": {
261
+ "table_name": {
262
+ "type": "string",
263
+ "serialized_name": "TableName"
264
+ },
265
+ "capacity_units": {
266
+ "type": "float",
267
+ "serialized_name": "CapacityUnits"
268
+ }
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+ },
275
+ "batch_write_item": {
276
+ "name": "BatchWriteItem",
277
+ "http_method": "POST",
278
+ "http_path": "/",
279
+ "input": {
280
+ "type": "input",
281
+ "members": {
282
+ "request_items": {
283
+ "type": "map",
284
+ "required": true,
285
+ "serialized_name": "RequestItems",
286
+ "keys": {
287
+ "type": "string"
288
+ },
289
+ "members": {
290
+ "type": "list",
291
+ "members": {
292
+ "type": "structure",
293
+ "members": {
294
+ "put_request": {
295
+ "type": "structure",
296
+ "serialized_name": "PutRequest",
297
+ "members": {
298
+ "item": {
299
+ "type": "map",
300
+ "required": true,
301
+ "serialized_name": "Item",
302
+ "keys": {
303
+ "type": "string"
304
+ },
305
+ "members": {
306
+ "type": "structure",
307
+ "members": {
308
+ "s": {
309
+ "type": "string",
310
+ "serialized_name": "S"
311
+ },
312
+ "n": {
313
+ "type": "string",
314
+ "serialized_name": "N"
315
+ },
316
+ "b": {
317
+ "type": "blob",
318
+ "serialized_name": "B"
319
+ },
320
+ "ss": {
321
+ "type": "list",
322
+ "serialized_name": "SS",
323
+ "members": {
324
+ "type": "string"
325
+ }
326
+ },
327
+ "ns": {
328
+ "type": "list",
329
+ "serialized_name": "NS",
330
+ "members": {
331
+ "type": "string"
332
+ }
333
+ },
334
+ "bs": {
335
+ "type": "list",
336
+ "serialized_name": "BS",
337
+ "members": {
338
+ "type": "blob"
339
+ }
340
+ }
341
+ }
342
+ }
343
+ }
344
+ }
345
+ },
346
+ "delete_request": {
347
+ "type": "structure",
348
+ "serialized_name": "DeleteRequest",
349
+ "members": {
350
+ "key": {
351
+ "type": "map",
352
+ "required": true,
353
+ "serialized_name": "Key",
354
+ "keys": {
355
+ "type": "string"
356
+ },
357
+ "members": {
358
+ "type": "structure",
359
+ "members": {
360
+ "s": {
361
+ "type": "string",
362
+ "serialized_name": "S"
363
+ },
364
+ "n": {
365
+ "type": "string",
366
+ "serialized_name": "N"
367
+ },
368
+ "b": {
369
+ "type": "blob",
370
+ "serialized_name": "B"
371
+ },
372
+ "ss": {
373
+ "type": "list",
374
+ "serialized_name": "SS",
375
+ "members": {
376
+ "type": "string"
377
+ }
378
+ },
379
+ "ns": {
380
+ "type": "list",
381
+ "serialized_name": "NS",
382
+ "members": {
383
+ "type": "string"
384
+ }
385
+ },
386
+ "bs": {
387
+ "type": "list",
388
+ "serialized_name": "BS",
389
+ "members": {
390
+ "type": "blob"
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ }
397
+ }
398
+ }
399
+ }
400
+ }
401
+ },
402
+ "return_consumed_capacity": {
403
+ "type": "string",
404
+ "serialized_name": "ReturnConsumedCapacity",
405
+ "enum": [
406
+ "TOTAL",
407
+ "NONE"
408
+ ]
409
+ },
410
+ "return_item_collection_metrics": {
411
+ "type": "string",
412
+ "serialized_name": "ReturnItemCollectionMetrics",
413
+ "enum": [
414
+ "SIZE",
415
+ "NONE"
416
+ ]
417
+ }
418
+ }
419
+ },
420
+ "output": {
421
+ "type": "output",
422
+ "members": {
423
+ "unprocessed_items": {
424
+ "type": "map",
425
+ "serialized_name": "UnprocessedItems",
426
+ "keys": {
427
+ "type": "string"
428
+ },
429
+ "members": {
430
+ "type": "list",
431
+ "members": {
432
+ "type": "structure",
433
+ "members": {
434
+ "put_request": {
435
+ "type": "structure",
436
+ "serialized_name": "PutRequest",
437
+ "members": {
438
+ "item": {
439
+ "type": "map",
440
+ "serialized_name": "Item",
441
+ "keys": {
442
+ "type": "string"
443
+ },
444
+ "members": {
445
+ "type": "structure",
446
+ "members": {
447
+ "s": {
448
+ "type": "string",
449
+ "serialized_name": "S"
450
+ },
451
+ "n": {
452
+ "type": "string",
453
+ "serialized_name": "N"
454
+ },
455
+ "b": {
456
+ "type": "blob",
457
+ "serialized_name": "B"
458
+ },
459
+ "ss": {
460
+ "type": "list",
461
+ "serialized_name": "SS",
462
+ "members": {
463
+ "type": "string"
464
+ }
465
+ },
466
+ "ns": {
467
+ "type": "list",
468
+ "serialized_name": "NS",
469
+ "members": {
470
+ "type": "string"
471
+ }
472
+ },
473
+ "bs": {
474
+ "type": "list",
475
+ "serialized_name": "BS",
476
+ "members": {
477
+ "type": "blob"
478
+ }
479
+ }
480
+ }
481
+ }
482
+ }
483
+ }
484
+ },
485
+ "delete_request": {
486
+ "type": "structure",
487
+ "serialized_name": "DeleteRequest",
488
+ "members": {
489
+ "key": {
490
+ "type": "map",
491
+ "serialized_name": "Key",
492
+ "keys": {
493
+ "type": "string"
494
+ },
495
+ "members": {
496
+ "type": "structure",
497
+ "members": {
498
+ "s": {
499
+ "type": "string",
500
+ "serialized_name": "S"
501
+ },
502
+ "n": {
503
+ "type": "string",
504
+ "serialized_name": "N"
505
+ },
506
+ "b": {
507
+ "type": "blob",
508
+ "serialized_name": "B"
509
+ },
510
+ "ss": {
511
+ "type": "list",
512
+ "serialized_name": "SS",
513
+ "members": {
514
+ "type": "string"
515
+ }
516
+ },
517
+ "ns": {
518
+ "type": "list",
519
+ "serialized_name": "NS",
520
+ "members": {
521
+ "type": "string"
522
+ }
523
+ },
524
+ "bs": {
525
+ "type": "list",
526
+ "serialized_name": "BS",
527
+ "members": {
528
+ "type": "blob"
529
+ }
530
+ }
531
+ }
532
+ }
533
+ }
534
+ }
535
+ }
536
+ }
537
+ }
538
+ }
539
+ },
540
+ "item_collection_metrics": {
541
+ "type": "map",
542
+ "serialized_name": "ItemCollectionMetrics",
543
+ "keys": {
544
+ "type": "string"
545
+ },
546
+ "members": {
547
+ "type": "list",
548
+ "members": {
549
+ "type": "structure",
550
+ "members": {
551
+ "item_collection_key": {
552
+ "type": "map",
553
+ "serialized_name": "ItemCollectionKey",
554
+ "keys": {
555
+ "type": "string"
556
+ },
557
+ "members": {
558
+ "type": "structure",
559
+ "members": {
560
+ "s": {
561
+ "type": "string",
562
+ "serialized_name": "S"
563
+ },
564
+ "n": {
565
+ "type": "string",
566
+ "serialized_name": "N"
567
+ },
568
+ "b": {
569
+ "type": "blob",
570
+ "serialized_name": "B"
571
+ },
572
+ "ss": {
573
+ "type": "list",
574
+ "serialized_name": "SS",
575
+ "members": {
576
+ "type": "string"
577
+ }
578
+ },
579
+ "ns": {
580
+ "type": "list",
581
+ "serialized_name": "NS",
582
+ "members": {
583
+ "type": "string"
584
+ }
585
+ },
586
+ "bs": {
587
+ "type": "list",
588
+ "serialized_name": "BS",
589
+ "members": {
590
+ "type": "blob"
591
+ }
592
+ }
593
+ }
594
+ }
595
+ },
596
+ "size_estimate_range_gb": {
597
+ "type": "list",
598
+ "serialized_name": "SizeEstimateRangeGB",
599
+ "members": {
600
+ "type": "float"
601
+ }
602
+ }
603
+ }
604
+ }
605
+ }
606
+ },
607
+ "consumed_capacity": {
608
+ "type": "list",
609
+ "serialized_name": "ConsumedCapacity",
610
+ "members": {
611
+ "type": "structure",
612
+ "members": {
613
+ "table_name": {
614
+ "type": "string",
615
+ "serialized_name": "TableName"
616
+ },
617
+ "capacity_units": {
618
+ "type": "float",
619
+ "serialized_name": "CapacityUnits"
620
+ }
621
+ }
622
+ }
623
+ }
624
+ }
625
+ }
626
+ },
627
+ "create_table": {
628
+ "name": "CreateTable",
629
+ "http_method": "POST",
630
+ "http_path": "/",
631
+ "input": {
632
+ "type": "input",
633
+ "members": {
634
+ "attribute_definitions": {
635
+ "type": "list",
636
+ "required": true,
637
+ "serialized_name": "AttributeDefinitions",
638
+ "members": {
639
+ "type": "structure",
640
+ "members": {
641
+ "attribute_name": {
642
+ "type": "string",
643
+ "required": true,
644
+ "serialized_name": "AttributeName"
645
+ },
646
+ "attribute_type": {
647
+ "type": "string",
648
+ "required": true,
649
+ "serialized_name": "AttributeType",
650
+ "enum": [
651
+ "S",
652
+ "N",
653
+ "B"
654
+ ]
655
+ }
656
+ }
657
+ }
658
+ },
659
+ "table_name": {
660
+ "type": "string",
661
+ "required": true,
662
+ "serialized_name": "TableName"
663
+ },
664
+ "key_schema": {
665
+ "type": "list",
666
+ "required": true,
667
+ "serialized_name": "KeySchema",
668
+ "members": {
669
+ "type": "structure",
670
+ "members": {
671
+ "attribute_name": {
672
+ "type": "string",
673
+ "required": true,
674
+ "serialized_name": "AttributeName"
675
+ },
676
+ "key_type": {
677
+ "type": "string",
678
+ "required": true,
679
+ "serialized_name": "KeyType",
680
+ "enum": [
681
+ "HASH",
682
+ "RANGE"
683
+ ]
684
+ }
685
+ }
686
+ }
687
+ },
688
+ "local_secondary_indexes": {
689
+ "type": "list",
690
+ "serialized_name": "LocalSecondaryIndexes",
691
+ "members": {
692
+ "type": "structure",
693
+ "members": {
694
+ "index_name": {
695
+ "type": "string",
696
+ "required": true,
697
+ "serialized_name": "IndexName"
698
+ },
699
+ "key_schema": {
700
+ "type": "list",
701
+ "required": true,
702
+ "serialized_name": "KeySchema",
703
+ "members": {
704
+ "type": "structure",
705
+ "members": {
706
+ "attribute_name": {
707
+ "type": "string",
708
+ "required": true,
709
+ "serialized_name": "AttributeName"
710
+ },
711
+ "key_type": {
712
+ "type": "string",
713
+ "required": true,
714
+ "serialized_name": "KeyType",
715
+ "enum": [
716
+ "HASH",
717
+ "RANGE"
718
+ ]
719
+ }
720
+ }
721
+ }
722
+ },
723
+ "projection": {
724
+ "type": "structure",
725
+ "required": true,
726
+ "serialized_name": "Projection",
727
+ "members": {
728
+ "projection_type": {
729
+ "type": "string",
730
+ "serialized_name": "ProjectionType",
731
+ "enum": [
732
+ "ALL",
733
+ "KEYS_ONLY",
734
+ "INCLUDE"
735
+ ]
736
+ },
737
+ "non_key_attributes": {
738
+ "type": "list",
739
+ "serialized_name": "NonKeyAttributes",
740
+ "members": {
741
+ "type": "string"
742
+ }
743
+ }
744
+ }
745
+ }
746
+ }
747
+ }
748
+ },
749
+ "provisioned_throughput": {
750
+ "type": "structure",
751
+ "required": true,
752
+ "serialized_name": "ProvisionedThroughput",
753
+ "members": {
754
+ "read_capacity_units": {
755
+ "type": "integer",
756
+ "required": true,
757
+ "serialized_name": "ReadCapacityUnits"
758
+ },
759
+ "write_capacity_units": {
760
+ "type": "integer",
761
+ "required": true,
762
+ "serialized_name": "WriteCapacityUnits"
763
+ }
764
+ }
765
+ }
766
+ }
767
+ },
768
+ "output": {
769
+ "type": "output",
770
+ "members": {
771
+ "table_description": {
772
+ "type": "structure",
773
+ "serialized_name": "TableDescription",
774
+ "members": {
775
+ "attribute_definitions": {
776
+ "type": "list",
777
+ "serialized_name": "AttributeDefinitions",
778
+ "members": {
779
+ "type": "structure",
780
+ "members": {
781
+ "attribute_name": {
782
+ "type": "string",
783
+ "serialized_name": "AttributeName"
784
+ },
785
+ "attribute_type": {
786
+ "type": "string",
787
+ "serialized_name": "AttributeType",
788
+ "enum": [
789
+ "S",
790
+ "N",
791
+ "B"
792
+ ]
793
+ }
794
+ }
795
+ }
796
+ },
797
+ "table_name": {
798
+ "type": "string",
799
+ "serialized_name": "TableName"
800
+ },
801
+ "key_schema": {
802
+ "type": "list",
803
+ "serialized_name": "KeySchema",
804
+ "members": {
805
+ "type": "structure",
806
+ "members": {
807
+ "attribute_name": {
808
+ "type": "string",
809
+ "serialized_name": "AttributeName"
810
+ },
811
+ "key_type": {
812
+ "type": "string",
813
+ "serialized_name": "KeyType",
814
+ "enum": [
815
+ "HASH",
816
+ "RANGE"
817
+ ]
818
+ }
819
+ }
820
+ }
821
+ },
822
+ "table_status": {
823
+ "type": "string",
824
+ "serialized_name": "TableStatus",
825
+ "enum": [
826
+ "CREATING",
827
+ "UPDATING",
828
+ "DELETING",
829
+ "ACTIVE"
830
+ ]
831
+ },
832
+ "creation_date_time": {
833
+ "type": "iso8601_timestamp",
834
+ "serialized_name": "CreationDateTime"
835
+ },
836
+ "provisioned_throughput": {
837
+ "type": "structure",
838
+ "serialized_name": "ProvisionedThroughput",
839
+ "members": {
840
+ "last_increase_date_time": {
841
+ "type": "iso8601_timestamp",
842
+ "serialized_name": "LastIncreaseDateTime"
843
+ },
844
+ "last_decrease_date_time": {
845
+ "type": "iso8601_timestamp",
846
+ "serialized_name": "LastDecreaseDateTime"
847
+ },
848
+ "number_of_decreases_today": {
849
+ "type": "integer",
850
+ "serialized_name": "NumberOfDecreasesToday"
851
+ },
852
+ "read_capacity_units": {
853
+ "type": "integer",
854
+ "serialized_name": "ReadCapacityUnits"
855
+ },
856
+ "write_capacity_units": {
857
+ "type": "integer",
858
+ "serialized_name": "WriteCapacityUnits"
859
+ }
860
+ }
861
+ },
862
+ "table_size_bytes": {
863
+ "type": "integer",
864
+ "serialized_name": "TableSizeBytes"
865
+ },
866
+ "item_count": {
867
+ "type": "integer",
868
+ "serialized_name": "ItemCount"
869
+ },
870
+ "local_secondary_indexes": {
871
+ "type": "list",
872
+ "serialized_name": "LocalSecondaryIndexes",
873
+ "members": {
874
+ "type": "structure",
875
+ "members": {
876
+ "index_name": {
877
+ "type": "string",
878
+ "serialized_name": "IndexName"
879
+ },
880
+ "key_schema": {
881
+ "type": "list",
882
+ "serialized_name": "KeySchema",
883
+ "members": {
884
+ "type": "structure",
885
+ "members": {
886
+ "attribute_name": {
887
+ "type": "string",
888
+ "serialized_name": "AttributeName"
889
+ },
890
+ "key_type": {
891
+ "type": "string",
892
+ "serialized_name": "KeyType",
893
+ "enum": [
894
+ "HASH",
895
+ "RANGE"
896
+ ]
897
+ }
898
+ }
899
+ }
900
+ },
901
+ "projection": {
902
+ "type": "structure",
903
+ "serialized_name": "Projection",
904
+ "members": {
905
+ "projection_type": {
906
+ "type": "string",
907
+ "serialized_name": "ProjectionType",
908
+ "enum": [
909
+ "ALL",
910
+ "KEYS_ONLY",
911
+ "INCLUDE"
912
+ ]
913
+ },
914
+ "non_key_attributes": {
915
+ "type": "list",
916
+ "serialized_name": "NonKeyAttributes",
917
+ "members": {
918
+ "type": "string"
919
+ }
920
+ }
921
+ }
922
+ },
923
+ "index_size_bytes": {
924
+ "type": "integer",
925
+ "serialized_name": "IndexSizeBytes"
926
+ },
927
+ "item_count": {
928
+ "type": "integer",
929
+ "serialized_name": "ItemCount"
930
+ }
931
+ }
932
+ }
933
+ }
934
+ }
935
+ }
936
+ }
937
+ }
938
+ },
939
+ "delete_item": {
940
+ "name": "DeleteItem",
941
+ "http_method": "POST",
942
+ "http_path": "/",
943
+ "input": {
944
+ "type": "input",
945
+ "members": {
946
+ "table_name": {
947
+ "type": "string",
948
+ "required": true,
949
+ "serialized_name": "TableName"
950
+ },
951
+ "key": {
952
+ "type": "map",
953
+ "required": true,
954
+ "serialized_name": "Key",
955
+ "keys": {
956
+ "type": "string"
957
+ },
958
+ "members": {
959
+ "type": "structure",
960
+ "members": {
961
+ "s": {
962
+ "type": "string",
963
+ "serialized_name": "S"
964
+ },
965
+ "n": {
966
+ "type": "string",
967
+ "serialized_name": "N"
968
+ },
969
+ "b": {
970
+ "type": "blob",
971
+ "serialized_name": "B"
972
+ },
973
+ "ss": {
974
+ "type": "list",
975
+ "serialized_name": "SS",
976
+ "members": {
977
+ "type": "string"
978
+ }
979
+ },
980
+ "ns": {
981
+ "type": "list",
982
+ "serialized_name": "NS",
983
+ "members": {
984
+ "type": "string"
985
+ }
986
+ },
987
+ "bs": {
988
+ "type": "list",
989
+ "serialized_name": "BS",
990
+ "members": {
991
+ "type": "blob"
992
+ }
993
+ }
994
+ }
995
+ }
996
+ },
997
+ "expected": {
998
+ "type": "map",
999
+ "serialized_name": "Expected",
1000
+ "keys": {
1001
+ "type": "string"
1002
+ },
1003
+ "members": {
1004
+ "type": "structure",
1005
+ "members": {
1006
+ "value": {
1007
+ "type": "structure",
1008
+ "serialized_name": "Value",
1009
+ "members": {
1010
+ "s": {
1011
+ "type": "string",
1012
+ "serialized_name": "S"
1013
+ },
1014
+ "n": {
1015
+ "type": "string",
1016
+ "serialized_name": "N"
1017
+ },
1018
+ "b": {
1019
+ "type": "blob",
1020
+ "serialized_name": "B"
1021
+ },
1022
+ "ss": {
1023
+ "type": "list",
1024
+ "serialized_name": "SS",
1025
+ "members": {
1026
+ "type": "string"
1027
+ }
1028
+ },
1029
+ "ns": {
1030
+ "type": "list",
1031
+ "serialized_name": "NS",
1032
+ "members": {
1033
+ "type": "string"
1034
+ }
1035
+ },
1036
+ "bs": {
1037
+ "type": "list",
1038
+ "serialized_name": "BS",
1039
+ "members": {
1040
+ "type": "blob"
1041
+ }
1042
+ }
1043
+ }
1044
+ },
1045
+ "exists": {
1046
+ "type": "boolean",
1047
+ "serialized_name": "Exists"
1048
+ }
1049
+ }
1050
+ }
1051
+ },
1052
+ "return_values": {
1053
+ "type": "string",
1054
+ "serialized_name": "ReturnValues",
1055
+ "enum": [
1056
+ "NONE",
1057
+ "ALL_OLD",
1058
+ "UPDATED_OLD",
1059
+ "ALL_NEW",
1060
+ "UPDATED_NEW"
1061
+ ]
1062
+ },
1063
+ "return_consumed_capacity": {
1064
+ "type": "string",
1065
+ "serialized_name": "ReturnConsumedCapacity",
1066
+ "enum": [
1067
+ "TOTAL",
1068
+ "NONE"
1069
+ ]
1070
+ },
1071
+ "return_item_collection_metrics": {
1072
+ "type": "string",
1073
+ "serialized_name": "ReturnItemCollectionMetrics",
1074
+ "enum": [
1075
+ "SIZE",
1076
+ "NONE"
1077
+ ]
1078
+ }
1079
+ }
1080
+ },
1081
+ "output": {
1082
+ "type": "output",
1083
+ "members": {
1084
+ "attributes": {
1085
+ "type": "map",
1086
+ "serialized_name": "Attributes",
1087
+ "keys": {
1088
+ "type": "string"
1089
+ },
1090
+ "members": {
1091
+ "type": "structure",
1092
+ "members": {
1093
+ "s": {
1094
+ "type": "string",
1095
+ "serialized_name": "S"
1096
+ },
1097
+ "n": {
1098
+ "type": "string",
1099
+ "serialized_name": "N"
1100
+ },
1101
+ "b": {
1102
+ "type": "blob",
1103
+ "serialized_name": "B"
1104
+ },
1105
+ "ss": {
1106
+ "type": "list",
1107
+ "serialized_name": "SS",
1108
+ "members": {
1109
+ "type": "string"
1110
+ }
1111
+ },
1112
+ "ns": {
1113
+ "type": "list",
1114
+ "serialized_name": "NS",
1115
+ "members": {
1116
+ "type": "string"
1117
+ }
1118
+ },
1119
+ "bs": {
1120
+ "type": "list",
1121
+ "serialized_name": "BS",
1122
+ "members": {
1123
+ "type": "blob"
1124
+ }
1125
+ }
1126
+ }
1127
+ }
1128
+ },
1129
+ "consumed_capacity": {
1130
+ "type": "structure",
1131
+ "serialized_name": "ConsumedCapacity",
1132
+ "members": {
1133
+ "table_name": {
1134
+ "type": "string",
1135
+ "serialized_name": "TableName"
1136
+ },
1137
+ "capacity_units": {
1138
+ "type": "float",
1139
+ "serialized_name": "CapacityUnits"
1140
+ }
1141
+ }
1142
+ },
1143
+ "item_collection_metrics": {
1144
+ "type": "structure",
1145
+ "serialized_name": "ItemCollectionMetrics",
1146
+ "members": {
1147
+ "item_collection_key": {
1148
+ "type": "map",
1149
+ "serialized_name": "ItemCollectionKey",
1150
+ "keys": {
1151
+ "type": "string"
1152
+ },
1153
+ "members": {
1154
+ "type": "structure",
1155
+ "members": {
1156
+ "s": {
1157
+ "type": "string",
1158
+ "serialized_name": "S"
1159
+ },
1160
+ "n": {
1161
+ "type": "string",
1162
+ "serialized_name": "N"
1163
+ },
1164
+ "b": {
1165
+ "type": "blob",
1166
+ "serialized_name": "B"
1167
+ },
1168
+ "ss": {
1169
+ "type": "list",
1170
+ "serialized_name": "SS",
1171
+ "members": {
1172
+ "type": "string"
1173
+ }
1174
+ },
1175
+ "ns": {
1176
+ "type": "list",
1177
+ "serialized_name": "NS",
1178
+ "members": {
1179
+ "type": "string"
1180
+ }
1181
+ },
1182
+ "bs": {
1183
+ "type": "list",
1184
+ "serialized_name": "BS",
1185
+ "members": {
1186
+ "type": "blob"
1187
+ }
1188
+ }
1189
+ }
1190
+ }
1191
+ },
1192
+ "size_estimate_range_gb": {
1193
+ "type": "list",
1194
+ "serialized_name": "SizeEstimateRangeGB",
1195
+ "members": {
1196
+ "type": "float"
1197
+ }
1198
+ }
1199
+ }
1200
+ }
1201
+ }
1202
+ }
1203
+ },
1204
+ "delete_table": {
1205
+ "name": "DeleteTable",
1206
+ "http_method": "POST",
1207
+ "http_path": "/",
1208
+ "input": {
1209
+ "type": "input",
1210
+ "members": {
1211
+ "table_name": {
1212
+ "type": "string",
1213
+ "required": true,
1214
+ "serialized_name": "TableName"
1215
+ }
1216
+ }
1217
+ },
1218
+ "output": {
1219
+ "type": "output",
1220
+ "members": {
1221
+ "table_description": {
1222
+ "type": "structure",
1223
+ "serialized_name": "TableDescription",
1224
+ "members": {
1225
+ "attribute_definitions": {
1226
+ "type": "list",
1227
+ "serialized_name": "AttributeDefinitions",
1228
+ "members": {
1229
+ "type": "structure",
1230
+ "members": {
1231
+ "attribute_name": {
1232
+ "type": "string",
1233
+ "serialized_name": "AttributeName"
1234
+ },
1235
+ "attribute_type": {
1236
+ "type": "string",
1237
+ "serialized_name": "AttributeType",
1238
+ "enum": [
1239
+ "S",
1240
+ "N",
1241
+ "B"
1242
+ ]
1243
+ }
1244
+ }
1245
+ }
1246
+ },
1247
+ "table_name": {
1248
+ "type": "string",
1249
+ "serialized_name": "TableName"
1250
+ },
1251
+ "key_schema": {
1252
+ "type": "list",
1253
+ "serialized_name": "KeySchema",
1254
+ "members": {
1255
+ "type": "structure",
1256
+ "members": {
1257
+ "attribute_name": {
1258
+ "type": "string",
1259
+ "serialized_name": "AttributeName"
1260
+ },
1261
+ "key_type": {
1262
+ "type": "string",
1263
+ "serialized_name": "KeyType",
1264
+ "enum": [
1265
+ "HASH",
1266
+ "RANGE"
1267
+ ]
1268
+ }
1269
+ }
1270
+ }
1271
+ },
1272
+ "table_status": {
1273
+ "type": "string",
1274
+ "serialized_name": "TableStatus",
1275
+ "enum": [
1276
+ "CREATING",
1277
+ "UPDATING",
1278
+ "DELETING",
1279
+ "ACTIVE"
1280
+ ]
1281
+ },
1282
+ "creation_date_time": {
1283
+ "type": "iso8601_timestamp",
1284
+ "serialized_name": "CreationDateTime"
1285
+ },
1286
+ "provisioned_throughput": {
1287
+ "type": "structure",
1288
+ "serialized_name": "ProvisionedThroughput",
1289
+ "members": {
1290
+ "last_increase_date_time": {
1291
+ "type": "iso8601_timestamp",
1292
+ "serialized_name": "LastIncreaseDateTime"
1293
+ },
1294
+ "last_decrease_date_time": {
1295
+ "type": "iso8601_timestamp",
1296
+ "serialized_name": "LastDecreaseDateTime"
1297
+ },
1298
+ "number_of_decreases_today": {
1299
+ "type": "integer",
1300
+ "serialized_name": "NumberOfDecreasesToday"
1301
+ },
1302
+ "read_capacity_units": {
1303
+ "type": "integer",
1304
+ "serialized_name": "ReadCapacityUnits"
1305
+ },
1306
+ "write_capacity_units": {
1307
+ "type": "integer",
1308
+ "serialized_name": "WriteCapacityUnits"
1309
+ }
1310
+ }
1311
+ },
1312
+ "table_size_bytes": {
1313
+ "type": "integer",
1314
+ "serialized_name": "TableSizeBytes"
1315
+ },
1316
+ "item_count": {
1317
+ "type": "integer",
1318
+ "serialized_name": "ItemCount"
1319
+ },
1320
+ "local_secondary_indexes": {
1321
+ "type": "list",
1322
+ "serialized_name": "LocalSecondaryIndexes",
1323
+ "members": {
1324
+ "type": "structure",
1325
+ "members": {
1326
+ "index_name": {
1327
+ "type": "string",
1328
+ "serialized_name": "IndexName"
1329
+ },
1330
+ "key_schema": {
1331
+ "type": "list",
1332
+ "serialized_name": "KeySchema",
1333
+ "members": {
1334
+ "type": "structure",
1335
+ "members": {
1336
+ "attribute_name": {
1337
+ "type": "string",
1338
+ "serialized_name": "AttributeName"
1339
+ },
1340
+ "key_type": {
1341
+ "type": "string",
1342
+ "serialized_name": "KeyType",
1343
+ "enum": [
1344
+ "HASH",
1345
+ "RANGE"
1346
+ ]
1347
+ }
1348
+ }
1349
+ }
1350
+ },
1351
+ "projection": {
1352
+ "type": "structure",
1353
+ "serialized_name": "Projection",
1354
+ "members": {
1355
+ "projection_type": {
1356
+ "type": "string",
1357
+ "serialized_name": "ProjectionType",
1358
+ "enum": [
1359
+ "ALL",
1360
+ "KEYS_ONLY",
1361
+ "INCLUDE"
1362
+ ]
1363
+ },
1364
+ "non_key_attributes": {
1365
+ "type": "list",
1366
+ "serialized_name": "NonKeyAttributes",
1367
+ "members": {
1368
+ "type": "string"
1369
+ }
1370
+ }
1371
+ }
1372
+ },
1373
+ "index_size_bytes": {
1374
+ "type": "integer",
1375
+ "serialized_name": "IndexSizeBytes"
1376
+ },
1377
+ "item_count": {
1378
+ "type": "integer",
1379
+ "serialized_name": "ItemCount"
1380
+ }
1381
+ }
1382
+ }
1383
+ }
1384
+ }
1385
+ }
1386
+ }
1387
+ }
1388
+ },
1389
+ "describe_table": {
1390
+ "name": "DescribeTable",
1391
+ "http_method": "POST",
1392
+ "http_path": "/",
1393
+ "input": {
1394
+ "type": "input",
1395
+ "members": {
1396
+ "table_name": {
1397
+ "type": "string",
1398
+ "required": true,
1399
+ "serialized_name": "TableName"
1400
+ }
1401
+ }
1402
+ },
1403
+ "output": {
1404
+ "type": "output",
1405
+ "members": {
1406
+ "table": {
1407
+ "type": "structure",
1408
+ "serialized_name": "Table",
1409
+ "members": {
1410
+ "attribute_definitions": {
1411
+ "type": "list",
1412
+ "serialized_name": "AttributeDefinitions",
1413
+ "members": {
1414
+ "type": "structure",
1415
+ "members": {
1416
+ "attribute_name": {
1417
+ "type": "string",
1418
+ "serialized_name": "AttributeName"
1419
+ },
1420
+ "attribute_type": {
1421
+ "type": "string",
1422
+ "serialized_name": "AttributeType",
1423
+ "enum": [
1424
+ "S",
1425
+ "N",
1426
+ "B"
1427
+ ]
1428
+ }
1429
+ }
1430
+ }
1431
+ },
1432
+ "table_name": {
1433
+ "type": "string",
1434
+ "serialized_name": "TableName"
1435
+ },
1436
+ "key_schema": {
1437
+ "type": "list",
1438
+ "serialized_name": "KeySchema",
1439
+ "members": {
1440
+ "type": "structure",
1441
+ "members": {
1442
+ "attribute_name": {
1443
+ "type": "string",
1444
+ "serialized_name": "AttributeName"
1445
+ },
1446
+ "key_type": {
1447
+ "type": "string",
1448
+ "serialized_name": "KeyType",
1449
+ "enum": [
1450
+ "HASH",
1451
+ "RANGE"
1452
+ ]
1453
+ }
1454
+ }
1455
+ }
1456
+ },
1457
+ "table_status": {
1458
+ "type": "string",
1459
+ "serialized_name": "TableStatus",
1460
+ "enum": [
1461
+ "CREATING",
1462
+ "UPDATING",
1463
+ "DELETING",
1464
+ "ACTIVE"
1465
+ ]
1466
+ },
1467
+ "creation_date_time": {
1468
+ "type": "iso8601_timestamp",
1469
+ "serialized_name": "CreationDateTime"
1470
+ },
1471
+ "provisioned_throughput": {
1472
+ "type": "structure",
1473
+ "serialized_name": "ProvisionedThroughput",
1474
+ "members": {
1475
+ "last_increase_date_time": {
1476
+ "type": "iso8601_timestamp",
1477
+ "serialized_name": "LastIncreaseDateTime"
1478
+ },
1479
+ "last_decrease_date_time": {
1480
+ "type": "iso8601_timestamp",
1481
+ "serialized_name": "LastDecreaseDateTime"
1482
+ },
1483
+ "number_of_decreases_today": {
1484
+ "type": "integer",
1485
+ "serialized_name": "NumberOfDecreasesToday"
1486
+ },
1487
+ "read_capacity_units": {
1488
+ "type": "integer",
1489
+ "serialized_name": "ReadCapacityUnits"
1490
+ },
1491
+ "write_capacity_units": {
1492
+ "type": "integer",
1493
+ "serialized_name": "WriteCapacityUnits"
1494
+ }
1495
+ }
1496
+ },
1497
+ "table_size_bytes": {
1498
+ "type": "integer",
1499
+ "serialized_name": "TableSizeBytes"
1500
+ },
1501
+ "item_count": {
1502
+ "type": "integer",
1503
+ "serialized_name": "ItemCount"
1504
+ },
1505
+ "local_secondary_indexes": {
1506
+ "type": "list",
1507
+ "serialized_name": "LocalSecondaryIndexes",
1508
+ "members": {
1509
+ "type": "structure",
1510
+ "members": {
1511
+ "index_name": {
1512
+ "type": "string",
1513
+ "serialized_name": "IndexName"
1514
+ },
1515
+ "key_schema": {
1516
+ "type": "list",
1517
+ "serialized_name": "KeySchema",
1518
+ "members": {
1519
+ "type": "structure",
1520
+ "members": {
1521
+ "attribute_name": {
1522
+ "type": "string",
1523
+ "serialized_name": "AttributeName"
1524
+ },
1525
+ "key_type": {
1526
+ "type": "string",
1527
+ "serialized_name": "KeyType",
1528
+ "enum": [
1529
+ "HASH",
1530
+ "RANGE"
1531
+ ]
1532
+ }
1533
+ }
1534
+ }
1535
+ },
1536
+ "projection": {
1537
+ "type": "structure",
1538
+ "serialized_name": "Projection",
1539
+ "members": {
1540
+ "projection_type": {
1541
+ "type": "string",
1542
+ "serialized_name": "ProjectionType",
1543
+ "enum": [
1544
+ "ALL",
1545
+ "KEYS_ONLY",
1546
+ "INCLUDE"
1547
+ ]
1548
+ },
1549
+ "non_key_attributes": {
1550
+ "type": "list",
1551
+ "serialized_name": "NonKeyAttributes",
1552
+ "members": {
1553
+ "type": "string"
1554
+ }
1555
+ }
1556
+ }
1557
+ },
1558
+ "index_size_bytes": {
1559
+ "type": "integer",
1560
+ "serialized_name": "IndexSizeBytes"
1561
+ },
1562
+ "item_count": {
1563
+ "type": "integer",
1564
+ "serialized_name": "ItemCount"
1565
+ }
1566
+ }
1567
+ }
1568
+ }
1569
+ }
1570
+ }
1571
+ }
1572
+ }
1573
+ },
1574
+ "get_item": {
1575
+ "name": "GetItem",
1576
+ "http_method": "POST",
1577
+ "http_path": "/",
1578
+ "input": {
1579
+ "type": "input",
1580
+ "members": {
1581
+ "table_name": {
1582
+ "type": "string",
1583
+ "required": true,
1584
+ "serialized_name": "TableName"
1585
+ },
1586
+ "key": {
1587
+ "type": "map",
1588
+ "required": true,
1589
+ "serialized_name": "Key",
1590
+ "keys": {
1591
+ "type": "string"
1592
+ },
1593
+ "members": {
1594
+ "type": "structure",
1595
+ "members": {
1596
+ "s": {
1597
+ "type": "string",
1598
+ "serialized_name": "S"
1599
+ },
1600
+ "n": {
1601
+ "type": "string",
1602
+ "serialized_name": "N"
1603
+ },
1604
+ "b": {
1605
+ "type": "blob",
1606
+ "serialized_name": "B"
1607
+ },
1608
+ "ss": {
1609
+ "type": "list",
1610
+ "serialized_name": "SS",
1611
+ "members": {
1612
+ "type": "string"
1613
+ }
1614
+ },
1615
+ "ns": {
1616
+ "type": "list",
1617
+ "serialized_name": "NS",
1618
+ "members": {
1619
+ "type": "string"
1620
+ }
1621
+ },
1622
+ "bs": {
1623
+ "type": "list",
1624
+ "serialized_name": "BS",
1625
+ "members": {
1626
+ "type": "blob"
1627
+ }
1628
+ }
1629
+ }
1630
+ }
1631
+ },
1632
+ "attributes_to_get": {
1633
+ "type": "list",
1634
+ "serialized_name": "AttributesToGet",
1635
+ "members": {
1636
+ "type": "string"
1637
+ }
1638
+ },
1639
+ "consistent_read": {
1640
+ "type": "boolean",
1641
+ "serialized_name": "ConsistentRead"
1642
+ },
1643
+ "return_consumed_capacity": {
1644
+ "type": "string",
1645
+ "serialized_name": "ReturnConsumedCapacity",
1646
+ "enum": [
1647
+ "TOTAL",
1648
+ "NONE"
1649
+ ]
1650
+ }
1651
+ }
1652
+ },
1653
+ "output": {
1654
+ "type": "output",
1655
+ "members": {
1656
+ "item": {
1657
+ "type": "map",
1658
+ "serialized_name": "Item",
1659
+ "keys": {
1660
+ "type": "string"
1661
+ },
1662
+ "members": {
1663
+ "type": "structure",
1664
+ "members": {
1665
+ "s": {
1666
+ "type": "string",
1667
+ "serialized_name": "S"
1668
+ },
1669
+ "n": {
1670
+ "type": "string",
1671
+ "serialized_name": "N"
1672
+ },
1673
+ "b": {
1674
+ "type": "blob",
1675
+ "serialized_name": "B"
1676
+ },
1677
+ "ss": {
1678
+ "type": "list",
1679
+ "serialized_name": "SS",
1680
+ "members": {
1681
+ "type": "string"
1682
+ }
1683
+ },
1684
+ "ns": {
1685
+ "type": "list",
1686
+ "serialized_name": "NS",
1687
+ "members": {
1688
+ "type": "string"
1689
+ }
1690
+ },
1691
+ "bs": {
1692
+ "type": "list",
1693
+ "serialized_name": "BS",
1694
+ "members": {
1695
+ "type": "blob"
1696
+ }
1697
+ }
1698
+ }
1699
+ }
1700
+ },
1701
+ "consumed_capacity": {
1702
+ "type": "structure",
1703
+ "serialized_name": "ConsumedCapacity",
1704
+ "members": {
1705
+ "table_name": {
1706
+ "type": "string",
1707
+ "serialized_name": "TableName"
1708
+ },
1709
+ "capacity_units": {
1710
+ "type": "float",
1711
+ "serialized_name": "CapacityUnits"
1712
+ }
1713
+ }
1714
+ }
1715
+ }
1716
+ }
1717
+ },
1718
+ "list_tables": {
1719
+ "name": "ListTables",
1720
+ "http_method": "POST",
1721
+ "http_path": "/",
1722
+ "input": {
1723
+ "type": "input",
1724
+ "members": {
1725
+ "exclusive_start_table_name": {
1726
+ "type": "string",
1727
+ "serialized_name": "ExclusiveStartTableName"
1728
+ },
1729
+ "limit": {
1730
+ "type": "integer",
1731
+ "serialized_name": "Limit"
1732
+ }
1733
+ }
1734
+ },
1735
+ "output": {
1736
+ "type": "output",
1737
+ "members": {
1738
+ "table_names": {
1739
+ "type": "list",
1740
+ "serialized_name": "TableNames",
1741
+ "members": {
1742
+ "type": "string"
1743
+ }
1744
+ },
1745
+ "last_evaluated_table_name": {
1746
+ "type": "string",
1747
+ "serialized_name": "LastEvaluatedTableName"
1748
+ }
1749
+ }
1750
+ }
1751
+ },
1752
+ "put_item": {
1753
+ "name": "PutItem",
1754
+ "http_method": "POST",
1755
+ "http_path": "/",
1756
+ "input": {
1757
+ "type": "input",
1758
+ "members": {
1759
+ "table_name": {
1760
+ "type": "string",
1761
+ "required": true,
1762
+ "serialized_name": "TableName"
1763
+ },
1764
+ "item": {
1765
+ "type": "map",
1766
+ "required": true,
1767
+ "serialized_name": "Item",
1768
+ "keys": {
1769
+ "type": "string"
1770
+ },
1771
+ "members": {
1772
+ "type": "structure",
1773
+ "members": {
1774
+ "s": {
1775
+ "type": "string",
1776
+ "serialized_name": "S"
1777
+ },
1778
+ "n": {
1779
+ "type": "string",
1780
+ "serialized_name": "N"
1781
+ },
1782
+ "b": {
1783
+ "type": "blob",
1784
+ "serialized_name": "B"
1785
+ },
1786
+ "ss": {
1787
+ "type": "list",
1788
+ "serialized_name": "SS",
1789
+ "members": {
1790
+ "type": "string"
1791
+ }
1792
+ },
1793
+ "ns": {
1794
+ "type": "list",
1795
+ "serialized_name": "NS",
1796
+ "members": {
1797
+ "type": "string"
1798
+ }
1799
+ },
1800
+ "bs": {
1801
+ "type": "list",
1802
+ "serialized_name": "BS",
1803
+ "members": {
1804
+ "type": "blob"
1805
+ }
1806
+ }
1807
+ }
1808
+ }
1809
+ },
1810
+ "expected": {
1811
+ "type": "map",
1812
+ "serialized_name": "Expected",
1813
+ "keys": {
1814
+ "type": "string"
1815
+ },
1816
+ "members": {
1817
+ "type": "structure",
1818
+ "members": {
1819
+ "value": {
1820
+ "type": "structure",
1821
+ "serialized_name": "Value",
1822
+ "members": {
1823
+ "s": {
1824
+ "type": "string",
1825
+ "serialized_name": "S"
1826
+ },
1827
+ "n": {
1828
+ "type": "string",
1829
+ "serialized_name": "N"
1830
+ },
1831
+ "b": {
1832
+ "type": "blob",
1833
+ "serialized_name": "B"
1834
+ },
1835
+ "ss": {
1836
+ "type": "list",
1837
+ "serialized_name": "SS",
1838
+ "members": {
1839
+ "type": "string"
1840
+ }
1841
+ },
1842
+ "ns": {
1843
+ "type": "list",
1844
+ "serialized_name": "NS",
1845
+ "members": {
1846
+ "type": "string"
1847
+ }
1848
+ },
1849
+ "bs": {
1850
+ "type": "list",
1851
+ "serialized_name": "BS",
1852
+ "members": {
1853
+ "type": "blob"
1854
+ }
1855
+ }
1856
+ }
1857
+ },
1858
+ "exists": {
1859
+ "type": "boolean",
1860
+ "serialized_name": "Exists"
1861
+ }
1862
+ }
1863
+ }
1864
+ },
1865
+ "return_values": {
1866
+ "type": "string",
1867
+ "serialized_name": "ReturnValues",
1868
+ "enum": [
1869
+ "NONE",
1870
+ "ALL_OLD",
1871
+ "UPDATED_OLD",
1872
+ "ALL_NEW",
1873
+ "UPDATED_NEW"
1874
+ ]
1875
+ },
1876
+ "return_consumed_capacity": {
1877
+ "type": "string",
1878
+ "serialized_name": "ReturnConsumedCapacity",
1879
+ "enum": [
1880
+ "TOTAL",
1881
+ "NONE"
1882
+ ]
1883
+ },
1884
+ "return_item_collection_metrics": {
1885
+ "type": "string",
1886
+ "serialized_name": "ReturnItemCollectionMetrics",
1887
+ "enum": [
1888
+ "SIZE",
1889
+ "NONE"
1890
+ ]
1891
+ }
1892
+ }
1893
+ },
1894
+ "output": {
1895
+ "type": "output",
1896
+ "members": {
1897
+ "attributes": {
1898
+ "type": "map",
1899
+ "serialized_name": "Attributes",
1900
+ "keys": {
1901
+ "type": "string"
1902
+ },
1903
+ "members": {
1904
+ "type": "structure",
1905
+ "members": {
1906
+ "s": {
1907
+ "type": "string",
1908
+ "serialized_name": "S"
1909
+ },
1910
+ "n": {
1911
+ "type": "string",
1912
+ "serialized_name": "N"
1913
+ },
1914
+ "b": {
1915
+ "type": "blob",
1916
+ "serialized_name": "B"
1917
+ },
1918
+ "ss": {
1919
+ "type": "list",
1920
+ "serialized_name": "SS",
1921
+ "members": {
1922
+ "type": "string"
1923
+ }
1924
+ },
1925
+ "ns": {
1926
+ "type": "list",
1927
+ "serialized_name": "NS",
1928
+ "members": {
1929
+ "type": "string"
1930
+ }
1931
+ },
1932
+ "bs": {
1933
+ "type": "list",
1934
+ "serialized_name": "BS",
1935
+ "members": {
1936
+ "type": "blob"
1937
+ }
1938
+ }
1939
+ }
1940
+ }
1941
+ },
1942
+ "consumed_capacity": {
1943
+ "type": "structure",
1944
+ "serialized_name": "ConsumedCapacity",
1945
+ "members": {
1946
+ "table_name": {
1947
+ "type": "string",
1948
+ "serialized_name": "TableName"
1949
+ },
1950
+ "capacity_units": {
1951
+ "type": "float",
1952
+ "serialized_name": "CapacityUnits"
1953
+ }
1954
+ }
1955
+ },
1956
+ "item_collection_metrics": {
1957
+ "type": "structure",
1958
+ "serialized_name": "ItemCollectionMetrics",
1959
+ "members": {
1960
+ "item_collection_key": {
1961
+ "type": "map",
1962
+ "serialized_name": "ItemCollectionKey",
1963
+ "keys": {
1964
+ "type": "string"
1965
+ },
1966
+ "members": {
1967
+ "type": "structure",
1968
+ "members": {
1969
+ "s": {
1970
+ "type": "string",
1971
+ "serialized_name": "S"
1972
+ },
1973
+ "n": {
1974
+ "type": "string",
1975
+ "serialized_name": "N"
1976
+ },
1977
+ "b": {
1978
+ "type": "blob",
1979
+ "serialized_name": "B"
1980
+ },
1981
+ "ss": {
1982
+ "type": "list",
1983
+ "serialized_name": "SS",
1984
+ "members": {
1985
+ "type": "string"
1986
+ }
1987
+ },
1988
+ "ns": {
1989
+ "type": "list",
1990
+ "serialized_name": "NS",
1991
+ "members": {
1992
+ "type": "string"
1993
+ }
1994
+ },
1995
+ "bs": {
1996
+ "type": "list",
1997
+ "serialized_name": "BS",
1998
+ "members": {
1999
+ "type": "blob"
2000
+ }
2001
+ }
2002
+ }
2003
+ }
2004
+ },
2005
+ "size_estimate_range_gb": {
2006
+ "type": "list",
2007
+ "serialized_name": "SizeEstimateRangeGB",
2008
+ "members": {
2009
+ "type": "float"
2010
+ }
2011
+ }
2012
+ }
2013
+ }
2014
+ }
2015
+ }
2016
+ },
2017
+ "query": {
2018
+ "name": "Query",
2019
+ "http_method": "POST",
2020
+ "http_path": "/",
2021
+ "input": {
2022
+ "type": "input",
2023
+ "members": {
2024
+ "table_name": {
2025
+ "type": "string",
2026
+ "required": true,
2027
+ "serialized_name": "TableName"
2028
+ },
2029
+ "index_name": {
2030
+ "type": "string",
2031
+ "serialized_name": "IndexName"
2032
+ },
2033
+ "select": {
2034
+ "type": "string",
2035
+ "serialized_name": "Select",
2036
+ "enum": [
2037
+ "ALL_ATTRIBUTES",
2038
+ "ALL_PROJECTED_ATTRIBUTES",
2039
+ "SPECIFIC_ATTRIBUTES",
2040
+ "COUNT"
2041
+ ]
2042
+ },
2043
+ "attributes_to_get": {
2044
+ "type": "list",
2045
+ "serialized_name": "AttributesToGet",
2046
+ "members": {
2047
+ "type": "string"
2048
+ }
2049
+ },
2050
+ "limit": {
2051
+ "type": "integer",
2052
+ "serialized_name": "Limit"
2053
+ },
2054
+ "consistent_read": {
2055
+ "type": "boolean",
2056
+ "serialized_name": "ConsistentRead"
2057
+ },
2058
+ "key_conditions": {
2059
+ "type": "map",
2060
+ "serialized_name": "KeyConditions",
2061
+ "keys": {
2062
+ "type": "string"
2063
+ },
2064
+ "members": {
2065
+ "type": "structure",
2066
+ "members": {
2067
+ "attribute_value_list": {
2068
+ "type": "list",
2069
+ "serialized_name": "AttributeValueList",
2070
+ "members": {
2071
+ "type": "structure",
2072
+ "members": {
2073
+ "s": {
2074
+ "type": "string",
2075
+ "serialized_name": "S"
2076
+ },
2077
+ "n": {
2078
+ "type": "string",
2079
+ "serialized_name": "N"
2080
+ },
2081
+ "b": {
2082
+ "type": "blob",
2083
+ "serialized_name": "B"
2084
+ },
2085
+ "ss": {
2086
+ "type": "list",
2087
+ "serialized_name": "SS",
2088
+ "members": {
2089
+ "type": "string"
2090
+ }
2091
+ },
2092
+ "ns": {
2093
+ "type": "list",
2094
+ "serialized_name": "NS",
2095
+ "members": {
2096
+ "type": "string"
2097
+ }
2098
+ },
2099
+ "bs": {
2100
+ "type": "list",
2101
+ "serialized_name": "BS",
2102
+ "members": {
2103
+ "type": "blob"
2104
+ }
2105
+ }
2106
+ }
2107
+ }
2108
+ },
2109
+ "comparison_operator": {
2110
+ "type": "string",
2111
+ "required": true,
2112
+ "serialized_name": "ComparisonOperator",
2113
+ "enum": [
2114
+ "EQ",
2115
+ "NE",
2116
+ "IN",
2117
+ "LE",
2118
+ "LT",
2119
+ "GE",
2120
+ "GT",
2121
+ "BETWEEN",
2122
+ "NOT_NULL",
2123
+ "NULL",
2124
+ "CONTAINS",
2125
+ "NOT_CONTAINS",
2126
+ "BEGINS_WITH"
2127
+ ]
2128
+ }
2129
+ }
2130
+ }
2131
+ },
2132
+ "scan_index_forward": {
2133
+ "type": "boolean",
2134
+ "serialized_name": "ScanIndexForward"
2135
+ },
2136
+ "exclusive_start_key": {
2137
+ "type": "map",
2138
+ "serialized_name": "ExclusiveStartKey",
2139
+ "keys": {
2140
+ "type": "string"
2141
+ },
2142
+ "members": {
2143
+ "type": "structure",
2144
+ "members": {
2145
+ "s": {
2146
+ "type": "string",
2147
+ "serialized_name": "S"
2148
+ },
2149
+ "n": {
2150
+ "type": "string",
2151
+ "serialized_name": "N"
2152
+ },
2153
+ "b": {
2154
+ "type": "blob",
2155
+ "serialized_name": "B"
2156
+ },
2157
+ "ss": {
2158
+ "type": "list",
2159
+ "serialized_name": "SS",
2160
+ "members": {
2161
+ "type": "string"
2162
+ }
2163
+ },
2164
+ "ns": {
2165
+ "type": "list",
2166
+ "serialized_name": "NS",
2167
+ "members": {
2168
+ "type": "string"
2169
+ }
2170
+ },
2171
+ "bs": {
2172
+ "type": "list",
2173
+ "serialized_name": "BS",
2174
+ "members": {
2175
+ "type": "blob"
2176
+ }
2177
+ }
2178
+ }
2179
+ }
2180
+ },
2181
+ "return_consumed_capacity": {
2182
+ "type": "string",
2183
+ "serialized_name": "ReturnConsumedCapacity",
2184
+ "enum": [
2185
+ "TOTAL",
2186
+ "NONE"
2187
+ ]
2188
+ }
2189
+ }
2190
+ },
2191
+ "output": {
2192
+ "type": "output",
2193
+ "members": {
2194
+ "items": {
2195
+ "type": "list",
2196
+ "serialized_name": "Items",
2197
+ "members": {
2198
+ "type": "map",
2199
+ "keys": {
2200
+ "type": "string"
2201
+ },
2202
+ "members": {
2203
+ "type": "structure",
2204
+ "members": {
2205
+ "s": {
2206
+ "type": "string",
2207
+ "serialized_name": "S"
2208
+ },
2209
+ "n": {
2210
+ "type": "string",
2211
+ "serialized_name": "N"
2212
+ },
2213
+ "b": {
2214
+ "type": "blob",
2215
+ "serialized_name": "B"
2216
+ },
2217
+ "ss": {
2218
+ "type": "list",
2219
+ "serialized_name": "SS",
2220
+ "members": {
2221
+ "type": "string"
2222
+ }
2223
+ },
2224
+ "ns": {
2225
+ "type": "list",
2226
+ "serialized_name": "NS",
2227
+ "members": {
2228
+ "type": "string"
2229
+ }
2230
+ },
2231
+ "bs": {
2232
+ "type": "list",
2233
+ "serialized_name": "BS",
2234
+ "members": {
2235
+ "type": "blob"
2236
+ }
2237
+ }
2238
+ }
2239
+ }
2240
+ }
2241
+ },
2242
+ "count": {
2243
+ "type": "integer",
2244
+ "serialized_name": "Count"
2245
+ },
2246
+ "last_evaluated_key": {
2247
+ "type": "map",
2248
+ "serialized_name": "LastEvaluatedKey",
2249
+ "keys": {
2250
+ "type": "string"
2251
+ },
2252
+ "members": {
2253
+ "type": "structure",
2254
+ "members": {
2255
+ "s": {
2256
+ "type": "string",
2257
+ "serialized_name": "S"
2258
+ },
2259
+ "n": {
2260
+ "type": "string",
2261
+ "serialized_name": "N"
2262
+ },
2263
+ "b": {
2264
+ "type": "blob",
2265
+ "serialized_name": "B"
2266
+ },
2267
+ "ss": {
2268
+ "type": "list",
2269
+ "serialized_name": "SS",
2270
+ "members": {
2271
+ "type": "string"
2272
+ }
2273
+ },
2274
+ "ns": {
2275
+ "type": "list",
2276
+ "serialized_name": "NS",
2277
+ "members": {
2278
+ "type": "string"
2279
+ }
2280
+ },
2281
+ "bs": {
2282
+ "type": "list",
2283
+ "serialized_name": "BS",
2284
+ "members": {
2285
+ "type": "blob"
2286
+ }
2287
+ }
2288
+ }
2289
+ }
2290
+ },
2291
+ "consumed_capacity": {
2292
+ "type": "structure",
2293
+ "serialized_name": "ConsumedCapacity",
2294
+ "members": {
2295
+ "table_name": {
2296
+ "type": "string",
2297
+ "serialized_name": "TableName"
2298
+ },
2299
+ "capacity_units": {
2300
+ "type": "float",
2301
+ "serialized_name": "CapacityUnits"
2302
+ }
2303
+ }
2304
+ }
2305
+ }
2306
+ }
2307
+ },
2308
+ "scan": {
2309
+ "name": "Scan",
2310
+ "http_method": "POST",
2311
+ "http_path": "/",
2312
+ "input": {
2313
+ "type": "input",
2314
+ "members": {
2315
+ "table_name": {
2316
+ "type": "string",
2317
+ "required": true,
2318
+ "serialized_name": "TableName"
2319
+ },
2320
+ "attributes_to_get": {
2321
+ "type": "list",
2322
+ "serialized_name": "AttributesToGet",
2323
+ "members": {
2324
+ "type": "string"
2325
+ }
2326
+ },
2327
+ "limit": {
2328
+ "type": "integer",
2329
+ "serialized_name": "Limit"
2330
+ },
2331
+ "select": {
2332
+ "type": "string",
2333
+ "serialized_name": "Select",
2334
+ "enum": [
2335
+ "ALL_ATTRIBUTES",
2336
+ "ALL_PROJECTED_ATTRIBUTES",
2337
+ "SPECIFIC_ATTRIBUTES",
2338
+ "COUNT"
2339
+ ]
2340
+ },
2341
+ "scan_filter": {
2342
+ "type": "map",
2343
+ "serialized_name": "ScanFilter",
2344
+ "keys": {
2345
+ "type": "string"
2346
+ },
2347
+ "members": {
2348
+ "type": "structure",
2349
+ "members": {
2350
+ "attribute_value_list": {
2351
+ "type": "list",
2352
+ "serialized_name": "AttributeValueList",
2353
+ "members": {
2354
+ "type": "structure",
2355
+ "members": {
2356
+ "s": {
2357
+ "type": "string",
2358
+ "serialized_name": "S"
2359
+ },
2360
+ "n": {
2361
+ "type": "string",
2362
+ "serialized_name": "N"
2363
+ },
2364
+ "b": {
2365
+ "type": "blob",
2366
+ "serialized_name": "B"
2367
+ },
2368
+ "ss": {
2369
+ "type": "list",
2370
+ "serialized_name": "SS",
2371
+ "members": {
2372
+ "type": "string"
2373
+ }
2374
+ },
2375
+ "ns": {
2376
+ "type": "list",
2377
+ "serialized_name": "NS",
2378
+ "members": {
2379
+ "type": "string"
2380
+ }
2381
+ },
2382
+ "bs": {
2383
+ "type": "list",
2384
+ "serialized_name": "BS",
2385
+ "members": {
2386
+ "type": "blob"
2387
+ }
2388
+ }
2389
+ }
2390
+ }
2391
+ },
2392
+ "comparison_operator": {
2393
+ "type": "string",
2394
+ "required": true,
2395
+ "serialized_name": "ComparisonOperator",
2396
+ "enum": [
2397
+ "EQ",
2398
+ "NE",
2399
+ "IN",
2400
+ "LE",
2401
+ "LT",
2402
+ "GE",
2403
+ "GT",
2404
+ "BETWEEN",
2405
+ "NOT_NULL",
2406
+ "NULL",
2407
+ "CONTAINS",
2408
+ "NOT_CONTAINS",
2409
+ "BEGINS_WITH"
2410
+ ]
2411
+ }
2412
+ }
2413
+ }
2414
+ },
2415
+ "exclusive_start_key": {
2416
+ "type": "map",
2417
+ "serialized_name": "ExclusiveStartKey",
2418
+ "keys": {
2419
+ "type": "string"
2420
+ },
2421
+ "members": {
2422
+ "type": "structure",
2423
+ "members": {
2424
+ "s": {
2425
+ "type": "string",
2426
+ "serialized_name": "S"
2427
+ },
2428
+ "n": {
2429
+ "type": "string",
2430
+ "serialized_name": "N"
2431
+ },
2432
+ "b": {
2433
+ "type": "blob",
2434
+ "serialized_name": "B"
2435
+ },
2436
+ "ss": {
2437
+ "type": "list",
2438
+ "serialized_name": "SS",
2439
+ "members": {
2440
+ "type": "string"
2441
+ }
2442
+ },
2443
+ "ns": {
2444
+ "type": "list",
2445
+ "serialized_name": "NS",
2446
+ "members": {
2447
+ "type": "string"
2448
+ }
2449
+ },
2450
+ "bs": {
2451
+ "type": "list",
2452
+ "serialized_name": "BS",
2453
+ "members": {
2454
+ "type": "blob"
2455
+ }
2456
+ }
2457
+ }
2458
+ }
2459
+ },
2460
+ "return_consumed_capacity": {
2461
+ "type": "string",
2462
+ "serialized_name": "ReturnConsumedCapacity",
2463
+ "enum": [
2464
+ "TOTAL",
2465
+ "NONE"
2466
+ ]
2467
+ },
2468
+ "total_segments": {
2469
+ "type": "integer",
2470
+ "serialized_name": "TotalSegments"
2471
+ },
2472
+ "segment": {
2473
+ "type": "integer",
2474
+ "serialized_name": "Segment"
2475
+ }
2476
+ }
2477
+ },
2478
+ "output": {
2479
+ "type": "output",
2480
+ "members": {
2481
+ "items": {
2482
+ "type": "list",
2483
+ "serialized_name": "Items",
2484
+ "members": {
2485
+ "type": "map",
2486
+ "keys": {
2487
+ "type": "string"
2488
+ },
2489
+ "members": {
2490
+ "type": "structure",
2491
+ "members": {
2492
+ "s": {
2493
+ "type": "string",
2494
+ "serialized_name": "S"
2495
+ },
2496
+ "n": {
2497
+ "type": "string",
2498
+ "serialized_name": "N"
2499
+ },
2500
+ "b": {
2501
+ "type": "blob",
2502
+ "serialized_name": "B"
2503
+ },
2504
+ "ss": {
2505
+ "type": "list",
2506
+ "serialized_name": "SS",
2507
+ "members": {
2508
+ "type": "string"
2509
+ }
2510
+ },
2511
+ "ns": {
2512
+ "type": "list",
2513
+ "serialized_name": "NS",
2514
+ "members": {
2515
+ "type": "string"
2516
+ }
2517
+ },
2518
+ "bs": {
2519
+ "type": "list",
2520
+ "serialized_name": "BS",
2521
+ "members": {
2522
+ "type": "blob"
2523
+ }
2524
+ }
2525
+ }
2526
+ }
2527
+ }
2528
+ },
2529
+ "count": {
2530
+ "type": "integer",
2531
+ "serialized_name": "Count"
2532
+ },
2533
+ "scanned_count": {
2534
+ "type": "integer",
2535
+ "serialized_name": "ScannedCount"
2536
+ },
2537
+ "last_evaluated_key": {
2538
+ "type": "map",
2539
+ "serialized_name": "LastEvaluatedKey",
2540
+ "keys": {
2541
+ "type": "string"
2542
+ },
2543
+ "members": {
2544
+ "type": "structure",
2545
+ "members": {
2546
+ "s": {
2547
+ "type": "string",
2548
+ "serialized_name": "S"
2549
+ },
2550
+ "n": {
2551
+ "type": "string",
2552
+ "serialized_name": "N"
2553
+ },
2554
+ "b": {
2555
+ "type": "blob",
2556
+ "serialized_name": "B"
2557
+ },
2558
+ "ss": {
2559
+ "type": "list",
2560
+ "serialized_name": "SS",
2561
+ "members": {
2562
+ "type": "string"
2563
+ }
2564
+ },
2565
+ "ns": {
2566
+ "type": "list",
2567
+ "serialized_name": "NS",
2568
+ "members": {
2569
+ "type": "string"
2570
+ }
2571
+ },
2572
+ "bs": {
2573
+ "type": "list",
2574
+ "serialized_name": "BS",
2575
+ "members": {
2576
+ "type": "blob"
2577
+ }
2578
+ }
2579
+ }
2580
+ }
2581
+ },
2582
+ "consumed_capacity": {
2583
+ "type": "structure",
2584
+ "serialized_name": "ConsumedCapacity",
2585
+ "members": {
2586
+ "table_name": {
2587
+ "type": "string",
2588
+ "serialized_name": "TableName"
2589
+ },
2590
+ "capacity_units": {
2591
+ "type": "float",
2592
+ "serialized_name": "CapacityUnits"
2593
+ }
2594
+ }
2595
+ }
2596
+ }
2597
+ }
2598
+ },
2599
+ "update_item": {
2600
+ "name": "UpdateItem",
2601
+ "http_method": "POST",
2602
+ "http_path": "/",
2603
+ "input": {
2604
+ "type": "input",
2605
+ "members": {
2606
+ "table_name": {
2607
+ "type": "string",
2608
+ "required": true,
2609
+ "serialized_name": "TableName"
2610
+ },
2611
+ "key": {
2612
+ "type": "map",
2613
+ "required": true,
2614
+ "serialized_name": "Key",
2615
+ "keys": {
2616
+ "type": "string"
2617
+ },
2618
+ "members": {
2619
+ "type": "structure",
2620
+ "members": {
2621
+ "s": {
2622
+ "type": "string",
2623
+ "serialized_name": "S"
2624
+ },
2625
+ "n": {
2626
+ "type": "string",
2627
+ "serialized_name": "N"
2628
+ },
2629
+ "b": {
2630
+ "type": "blob",
2631
+ "serialized_name": "B"
2632
+ },
2633
+ "ss": {
2634
+ "type": "list",
2635
+ "serialized_name": "SS",
2636
+ "members": {
2637
+ "type": "string"
2638
+ }
2639
+ },
2640
+ "ns": {
2641
+ "type": "list",
2642
+ "serialized_name": "NS",
2643
+ "members": {
2644
+ "type": "string"
2645
+ }
2646
+ },
2647
+ "bs": {
2648
+ "type": "list",
2649
+ "serialized_name": "BS",
2650
+ "members": {
2651
+ "type": "blob"
2652
+ }
2653
+ }
2654
+ }
2655
+ }
2656
+ },
2657
+ "attribute_updates": {
2658
+ "type": "map",
2659
+ "serialized_name": "AttributeUpdates",
2660
+ "keys": {
2661
+ "type": "string"
2662
+ },
2663
+ "members": {
2664
+ "type": "structure",
2665
+ "members": {
2666
+ "value": {
2667
+ "type": "structure",
2668
+ "serialized_name": "Value",
2669
+ "members": {
2670
+ "s": {
2671
+ "type": "string",
2672
+ "serialized_name": "S"
2673
+ },
2674
+ "n": {
2675
+ "type": "string",
2676
+ "serialized_name": "N"
2677
+ },
2678
+ "b": {
2679
+ "type": "blob",
2680
+ "serialized_name": "B"
2681
+ },
2682
+ "ss": {
2683
+ "type": "list",
2684
+ "serialized_name": "SS",
2685
+ "members": {
2686
+ "type": "string"
2687
+ }
2688
+ },
2689
+ "ns": {
2690
+ "type": "list",
2691
+ "serialized_name": "NS",
2692
+ "members": {
2693
+ "type": "string"
2694
+ }
2695
+ },
2696
+ "bs": {
2697
+ "type": "list",
2698
+ "serialized_name": "BS",
2699
+ "members": {
2700
+ "type": "blob"
2701
+ }
2702
+ }
2703
+ }
2704
+ },
2705
+ "action": {
2706
+ "type": "string",
2707
+ "serialized_name": "Action",
2708
+ "enum": [
2709
+ "ADD",
2710
+ "PUT",
2711
+ "DELETE"
2712
+ ]
2713
+ }
2714
+ }
2715
+ }
2716
+ },
2717
+ "expected": {
2718
+ "type": "map",
2719
+ "serialized_name": "Expected",
2720
+ "keys": {
2721
+ "type": "string"
2722
+ },
2723
+ "members": {
2724
+ "type": "structure",
2725
+ "members": {
2726
+ "value": {
2727
+ "type": "structure",
2728
+ "serialized_name": "Value",
2729
+ "members": {
2730
+ "s": {
2731
+ "type": "string",
2732
+ "serialized_name": "S"
2733
+ },
2734
+ "n": {
2735
+ "type": "string",
2736
+ "serialized_name": "N"
2737
+ },
2738
+ "b": {
2739
+ "type": "blob",
2740
+ "serialized_name": "B"
2741
+ },
2742
+ "ss": {
2743
+ "type": "list",
2744
+ "serialized_name": "SS",
2745
+ "members": {
2746
+ "type": "string"
2747
+ }
2748
+ },
2749
+ "ns": {
2750
+ "type": "list",
2751
+ "serialized_name": "NS",
2752
+ "members": {
2753
+ "type": "string"
2754
+ }
2755
+ },
2756
+ "bs": {
2757
+ "type": "list",
2758
+ "serialized_name": "BS",
2759
+ "members": {
2760
+ "type": "blob"
2761
+ }
2762
+ }
2763
+ }
2764
+ },
2765
+ "exists": {
2766
+ "type": "boolean",
2767
+ "serialized_name": "Exists"
2768
+ }
2769
+ }
2770
+ }
2771
+ },
2772
+ "return_values": {
2773
+ "type": "string",
2774
+ "serialized_name": "ReturnValues",
2775
+ "enum": [
2776
+ "NONE",
2777
+ "ALL_OLD",
2778
+ "UPDATED_OLD",
2779
+ "ALL_NEW",
2780
+ "UPDATED_NEW"
2781
+ ]
2782
+ },
2783
+ "return_consumed_capacity": {
2784
+ "type": "string",
2785
+ "serialized_name": "ReturnConsumedCapacity",
2786
+ "enum": [
2787
+ "TOTAL",
2788
+ "NONE"
2789
+ ]
2790
+ },
2791
+ "return_item_collection_metrics": {
2792
+ "type": "string",
2793
+ "serialized_name": "ReturnItemCollectionMetrics",
2794
+ "enum": [
2795
+ "SIZE",
2796
+ "NONE"
2797
+ ]
2798
+ }
2799
+ }
2800
+ },
2801
+ "output": {
2802
+ "type": "output",
2803
+ "members": {
2804
+ "attributes": {
2805
+ "type": "map",
2806
+ "serialized_name": "Attributes",
2807
+ "keys": {
2808
+ "type": "string"
2809
+ },
2810
+ "members": {
2811
+ "type": "structure",
2812
+ "members": {
2813
+ "s": {
2814
+ "type": "string",
2815
+ "serialized_name": "S"
2816
+ },
2817
+ "n": {
2818
+ "type": "string",
2819
+ "serialized_name": "N"
2820
+ },
2821
+ "b": {
2822
+ "type": "blob",
2823
+ "serialized_name": "B"
2824
+ },
2825
+ "ss": {
2826
+ "type": "list",
2827
+ "serialized_name": "SS",
2828
+ "members": {
2829
+ "type": "string"
2830
+ }
2831
+ },
2832
+ "ns": {
2833
+ "type": "list",
2834
+ "serialized_name": "NS",
2835
+ "members": {
2836
+ "type": "string"
2837
+ }
2838
+ },
2839
+ "bs": {
2840
+ "type": "list",
2841
+ "serialized_name": "BS",
2842
+ "members": {
2843
+ "type": "blob"
2844
+ }
2845
+ }
2846
+ }
2847
+ }
2848
+ },
2849
+ "consumed_capacity": {
2850
+ "type": "structure",
2851
+ "serialized_name": "ConsumedCapacity",
2852
+ "members": {
2853
+ "table_name": {
2854
+ "type": "string",
2855
+ "serialized_name": "TableName"
2856
+ },
2857
+ "capacity_units": {
2858
+ "type": "float",
2859
+ "serialized_name": "CapacityUnits"
2860
+ }
2861
+ }
2862
+ },
2863
+ "item_collection_metrics": {
2864
+ "type": "structure",
2865
+ "serialized_name": "ItemCollectionMetrics",
2866
+ "members": {
2867
+ "item_collection_key": {
2868
+ "type": "map",
2869
+ "serialized_name": "ItemCollectionKey",
2870
+ "keys": {
2871
+ "type": "string"
2872
+ },
2873
+ "members": {
2874
+ "type": "structure",
2875
+ "members": {
2876
+ "s": {
2877
+ "type": "string",
2878
+ "serialized_name": "S"
2879
+ },
2880
+ "n": {
2881
+ "type": "string",
2882
+ "serialized_name": "N"
2883
+ },
2884
+ "b": {
2885
+ "type": "blob",
2886
+ "serialized_name": "B"
2887
+ },
2888
+ "ss": {
2889
+ "type": "list",
2890
+ "serialized_name": "SS",
2891
+ "members": {
2892
+ "type": "string"
2893
+ }
2894
+ },
2895
+ "ns": {
2896
+ "type": "list",
2897
+ "serialized_name": "NS",
2898
+ "members": {
2899
+ "type": "string"
2900
+ }
2901
+ },
2902
+ "bs": {
2903
+ "type": "list",
2904
+ "serialized_name": "BS",
2905
+ "members": {
2906
+ "type": "blob"
2907
+ }
2908
+ }
2909
+ }
2910
+ }
2911
+ },
2912
+ "size_estimate_range_gb": {
2913
+ "type": "list",
2914
+ "serialized_name": "SizeEstimateRangeGB",
2915
+ "members": {
2916
+ "type": "float"
2917
+ }
2918
+ }
2919
+ }
2920
+ }
2921
+ }
2922
+ }
2923
+ },
2924
+ "update_table": {
2925
+ "name": "UpdateTable",
2926
+ "http_method": "POST",
2927
+ "http_path": "/",
2928
+ "input": {
2929
+ "type": "input",
2930
+ "members": {
2931
+ "table_name": {
2932
+ "type": "string",
2933
+ "required": true,
2934
+ "serialized_name": "TableName"
2935
+ },
2936
+ "provisioned_throughput": {
2937
+ "type": "structure",
2938
+ "required": true,
2939
+ "serialized_name": "ProvisionedThroughput",
2940
+ "members": {
2941
+ "read_capacity_units": {
2942
+ "type": "integer",
2943
+ "required": true,
2944
+ "serialized_name": "ReadCapacityUnits"
2945
+ },
2946
+ "write_capacity_units": {
2947
+ "type": "integer",
2948
+ "required": true,
2949
+ "serialized_name": "WriteCapacityUnits"
2950
+ }
2951
+ }
2952
+ }
2953
+ }
2954
+ },
2955
+ "output": {
2956
+ "type": "output",
2957
+ "members": {
2958
+ "table_description": {
2959
+ "type": "structure",
2960
+ "serialized_name": "TableDescription",
2961
+ "members": {
2962
+ "attribute_definitions": {
2963
+ "type": "list",
2964
+ "serialized_name": "AttributeDefinitions",
2965
+ "members": {
2966
+ "type": "structure",
2967
+ "members": {
2968
+ "attribute_name": {
2969
+ "type": "string",
2970
+ "serialized_name": "AttributeName"
2971
+ },
2972
+ "attribute_type": {
2973
+ "type": "string",
2974
+ "serialized_name": "AttributeType",
2975
+ "enum": [
2976
+ "S",
2977
+ "N",
2978
+ "B"
2979
+ ]
2980
+ }
2981
+ }
2982
+ }
2983
+ },
2984
+ "table_name": {
2985
+ "type": "string",
2986
+ "serialized_name": "TableName"
2987
+ },
2988
+ "key_schema": {
2989
+ "type": "list",
2990
+ "serialized_name": "KeySchema",
2991
+ "members": {
2992
+ "type": "structure",
2993
+ "members": {
2994
+ "attribute_name": {
2995
+ "type": "string",
2996
+ "serialized_name": "AttributeName"
2997
+ },
2998
+ "key_type": {
2999
+ "type": "string",
3000
+ "serialized_name": "KeyType",
3001
+ "enum": [
3002
+ "HASH",
3003
+ "RANGE"
3004
+ ]
3005
+ }
3006
+ }
3007
+ }
3008
+ },
3009
+ "table_status": {
3010
+ "type": "string",
3011
+ "serialized_name": "TableStatus",
3012
+ "enum": [
3013
+ "CREATING",
3014
+ "UPDATING",
3015
+ "DELETING",
3016
+ "ACTIVE"
3017
+ ]
3018
+ },
3019
+ "creation_date_time": {
3020
+ "type": "iso8601_timestamp",
3021
+ "serialized_name": "CreationDateTime"
3022
+ },
3023
+ "provisioned_throughput": {
3024
+ "type": "structure",
3025
+ "serialized_name": "ProvisionedThroughput",
3026
+ "members": {
3027
+ "last_increase_date_time": {
3028
+ "type": "iso8601_timestamp",
3029
+ "serialized_name": "LastIncreaseDateTime"
3030
+ },
3031
+ "last_decrease_date_time": {
3032
+ "type": "iso8601_timestamp",
3033
+ "serialized_name": "LastDecreaseDateTime"
3034
+ },
3035
+ "number_of_decreases_today": {
3036
+ "type": "integer",
3037
+ "serialized_name": "NumberOfDecreasesToday"
3038
+ },
3039
+ "read_capacity_units": {
3040
+ "type": "integer",
3041
+ "serialized_name": "ReadCapacityUnits"
3042
+ },
3043
+ "write_capacity_units": {
3044
+ "type": "integer",
3045
+ "serialized_name": "WriteCapacityUnits"
3046
+ }
3047
+ }
3048
+ },
3049
+ "table_size_bytes": {
3050
+ "type": "integer",
3051
+ "serialized_name": "TableSizeBytes"
3052
+ },
3053
+ "item_count": {
3054
+ "type": "integer",
3055
+ "serialized_name": "ItemCount"
3056
+ },
3057
+ "local_secondary_indexes": {
3058
+ "type": "list",
3059
+ "serialized_name": "LocalSecondaryIndexes",
3060
+ "members": {
3061
+ "type": "structure",
3062
+ "members": {
3063
+ "index_name": {
3064
+ "type": "string",
3065
+ "serialized_name": "IndexName"
3066
+ },
3067
+ "key_schema": {
3068
+ "type": "list",
3069
+ "serialized_name": "KeySchema",
3070
+ "members": {
3071
+ "type": "structure",
3072
+ "members": {
3073
+ "attribute_name": {
3074
+ "type": "string",
3075
+ "serialized_name": "AttributeName"
3076
+ },
3077
+ "key_type": {
3078
+ "type": "string",
3079
+ "serialized_name": "KeyType",
3080
+ "enum": [
3081
+ "HASH",
3082
+ "RANGE"
3083
+ ]
3084
+ }
3085
+ }
3086
+ }
3087
+ },
3088
+ "projection": {
3089
+ "type": "structure",
3090
+ "serialized_name": "Projection",
3091
+ "members": {
3092
+ "projection_type": {
3093
+ "type": "string",
3094
+ "serialized_name": "ProjectionType",
3095
+ "enum": [
3096
+ "ALL",
3097
+ "KEYS_ONLY",
3098
+ "INCLUDE"
3099
+ ]
3100
+ },
3101
+ "non_key_attributes": {
3102
+ "type": "list",
3103
+ "serialized_name": "NonKeyAttributes",
3104
+ "members": {
3105
+ "type": "string"
3106
+ }
3107
+ }
3108
+ }
3109
+ },
3110
+ "index_size_bytes": {
3111
+ "type": "integer",
3112
+ "serialized_name": "IndexSizeBytes"
3113
+ },
3114
+ "item_count": {
3115
+ "type": "integer",
3116
+ "serialized_name": "ItemCount"
3117
+ }
3118
+ }
3119
+ }
3120
+ }
3121
+ }
3122
+ }
3123
+ }
3124
+ }
3125
+ }
3126
+ }
3127
+ }