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,16 @@
1
+ {
2
+ "pagination": {
3
+ "DescribeConnections": {
4
+ "result_key": "connections"
5
+ },
6
+ "DescribeOfferings": {
7
+ "result_key": "offerings"
8
+ },
9
+ "DescribeVirtualGateways": {
10
+ "result_key": "virtualGateways"
11
+ },
12
+ "DescribeVirtualInterfaces": {
13
+ "result_key": "virtualInterfaces"
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,4380 @@
1
+ {
2
+ "api_version": "2011-12-05",
3
+ "type": "json",
4
+ "json_version": 1.0,
5
+ "target_prefix": "DynamoDB_20111205",
6
+ "signature_version": "v4",
7
+ "service_full_name": "Amazon DynamoDB",
8
+ "service_abbreviation": "DynamoDB",
9
+ "endpoint_prefix": "dynamodb",
10
+ "xmlnamespace": "http://dynamodb.amazonaws.com/doc/2011-12-05/",
11
+ "documentation": "\n <p>Amazon DynamoDB is a fast, highly scalable, highly available, cost-effective non-relational database service.</p>\n\n <p>Amazon DynamoDB removes traditional scalability limitations on data storage while maintaining low latency and\n predictable performance.</p>\n\n ",
12
+ "operations": {
13
+ "BatchGetItem": {
14
+ "name": "BatchGetItem",
15
+ "input": {
16
+ "shape_name": "BatchGetItemInput",
17
+ "type": "structure",
18
+ "members": {
19
+ "RequestItems": {
20
+ "shape_name": "BatchGetRequestMap",
21
+ "type": "map",
22
+ "keys": {
23
+ "shape_name": "TableName",
24
+ "type": "string",
25
+ "min_length": 3,
26
+ "max_length": 255,
27
+ "pattern": "[a-zA-Z0-9_.-]+",
28
+ "documentation": null
29
+ },
30
+ "members": {
31
+ "shape_name": "KeysAndAttributes",
32
+ "type": "structure",
33
+ "members": {
34
+ "Keys": {
35
+ "shape_name": "KeyList",
36
+ "type": "list",
37
+ "members": {
38
+ "shape_name": "Key",
39
+ "type": "structure",
40
+ "members": {
41
+ "HashKeyElement": {
42
+ "shape_name": "AttributeValue",
43
+ "type": "structure",
44
+ "members": {
45
+ "S": {
46
+ "shape_name": "StringAttributeValue",
47
+ "type": "string",
48
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
49
+ },
50
+ "N": {
51
+ "shape_name": "NumberAttributeValue",
52
+ "type": "string",
53
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
54
+ },
55
+ "B": {
56
+ "shape_name": "BinaryAttributeValue",
57
+ "type": "blob",
58
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
59
+ },
60
+ "SS": {
61
+ "shape_name": "StringSetAttributeValue",
62
+ "type": "list",
63
+ "members": {
64
+ "shape_name": "StringAttributeValue",
65
+ "type": "string",
66
+ "documentation": null
67
+ },
68
+ "documentation": "\n <p>A set of strings.</p>\n "
69
+ },
70
+ "NS": {
71
+ "shape_name": "NumberSetAttributeValue",
72
+ "type": "list",
73
+ "members": {
74
+ "shape_name": "NumberAttributeValue",
75
+ "type": "string",
76
+ "documentation": null
77
+ },
78
+ "documentation": "\n <p>A set of numbers.</p>\n "
79
+ },
80
+ "BS": {
81
+ "shape_name": "BinarySetAttributeValue",
82
+ "type": "list",
83
+ "members": {
84
+ "shape_name": "BinaryAttributeValue",
85
+ "type": "blob",
86
+ "documentation": null
87
+ },
88
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
89
+ }
90
+ },
91
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
92
+ "required": true
93
+ },
94
+ "RangeKeyElement": {
95
+ "shape_name": "AttributeValue",
96
+ "type": "structure",
97
+ "members": {
98
+ "S": {
99
+ "shape_name": "StringAttributeValue",
100
+ "type": "string",
101
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
102
+ },
103
+ "N": {
104
+ "shape_name": "NumberAttributeValue",
105
+ "type": "string",
106
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
107
+ },
108
+ "B": {
109
+ "shape_name": "BinaryAttributeValue",
110
+ "type": "blob",
111
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
112
+ },
113
+ "SS": {
114
+ "shape_name": "StringSetAttributeValue",
115
+ "type": "list",
116
+ "members": {
117
+ "shape_name": "StringAttributeValue",
118
+ "type": "string",
119
+ "documentation": null
120
+ },
121
+ "documentation": "\n <p>A set of strings.</p>\n "
122
+ },
123
+ "NS": {
124
+ "shape_name": "NumberSetAttributeValue",
125
+ "type": "list",
126
+ "members": {
127
+ "shape_name": "NumberAttributeValue",
128
+ "type": "string",
129
+ "documentation": null
130
+ },
131
+ "documentation": "\n <p>A set of numbers.</p>\n "
132
+ },
133
+ "BS": {
134
+ "shape_name": "BinarySetAttributeValue",
135
+ "type": "list",
136
+ "members": {
137
+ "shape_name": "BinaryAttributeValue",
138
+ "type": "blob",
139
+ "documentation": null
140
+ },
141
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
142
+ }
143
+ },
144
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
145
+ }
146
+ },
147
+ "documentation": "\n <p>The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash)\n primary key or a two attribute (hash-and-range) primary key.</p>\n "
148
+ },
149
+ "min_length": 1,
150
+ "max_length": 100,
151
+ "documentation": null,
152
+ "required": true
153
+ },
154
+ "AttributesToGet": {
155
+ "shape_name": "AttributeNameList",
156
+ "type": "list",
157
+ "members": {
158
+ "shape_name": "AttributeName",
159
+ "type": "string",
160
+ "documentation": null
161
+ },
162
+ "min_length": 1,
163
+ "documentation": "\n <p>List of <code>Attribute</code> names. If attribute names are not specified then all attributes will be returned.\n If some attributes are not found, they will not appear in the result.</p>\n "
164
+ },
165
+ "ConsistentRead": {
166
+ "shape_name": "ConsistentRead",
167
+ "type": "boolean",
168
+ "documentation": "\n <p>If set to <code>true</code>, then a consistent read is issued. Otherwise eventually-consistent is used.</p>\n "
169
+ }
170
+ },
171
+ "documentation": null
172
+ },
173
+ "min_length": 1,
174
+ "max_length": 100,
175
+ "documentation": "\n <p>A map of the table name and corresponding items to get by primary key. While requesting items, each table name\n can be invoked only once per operation.</p>\n ",
176
+ "required": true
177
+ }
178
+ },
179
+ "documentation": null
180
+ },
181
+ "output": {
182
+ "shape_name": "BatchGetItemOutput",
183
+ "type": "structure",
184
+ "members": {
185
+ "Responses": {
186
+ "shape_name": "BatchGetResponseMap",
187
+ "type": "map",
188
+ "keys": {
189
+ "shape_name": "TableName",
190
+ "type": "string",
191
+ "min_length": 3,
192
+ "max_length": 255,
193
+ "pattern": "[a-zA-Z0-9_.-]+",
194
+ "documentation": null
195
+ },
196
+ "members": {
197
+ "shape_name": "BatchResponse",
198
+ "type": "structure",
199
+ "members": {
200
+ "Items": {
201
+ "shape_name": "ItemList",
202
+ "type": "list",
203
+ "members": {
204
+ "shape_name": "AttributeMap",
205
+ "type": "map",
206
+ "keys": {
207
+ "shape_name": "AttributeName",
208
+ "type": "string",
209
+ "documentation": null
210
+ },
211
+ "members": {
212
+ "shape_name": "AttributeValue",
213
+ "type": "structure",
214
+ "members": {
215
+ "S": {
216
+ "shape_name": "StringAttributeValue",
217
+ "type": "string",
218
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
219
+ },
220
+ "N": {
221
+ "shape_name": "NumberAttributeValue",
222
+ "type": "string",
223
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
224
+ },
225
+ "B": {
226
+ "shape_name": "BinaryAttributeValue",
227
+ "type": "blob",
228
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
229
+ },
230
+ "SS": {
231
+ "shape_name": "StringSetAttributeValue",
232
+ "type": "list",
233
+ "members": {
234
+ "shape_name": "StringAttributeValue",
235
+ "type": "string",
236
+ "documentation": null
237
+ },
238
+ "documentation": "\n <p>A set of strings.</p>\n "
239
+ },
240
+ "NS": {
241
+ "shape_name": "NumberSetAttributeValue",
242
+ "type": "list",
243
+ "members": {
244
+ "shape_name": "NumberAttributeValue",
245
+ "type": "string",
246
+ "documentation": null
247
+ },
248
+ "documentation": "\n <p>A set of numbers.</p>\n "
249
+ },
250
+ "BS": {
251
+ "shape_name": "BinarySetAttributeValue",
252
+ "type": "list",
253
+ "members": {
254
+ "shape_name": "BinaryAttributeValue",
255
+ "type": "blob",
256
+ "documentation": null
257
+ },
258
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
259
+ }
260
+ },
261
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
262
+ },
263
+ "documentation": null
264
+ },
265
+ "documentation": null
266
+ },
267
+ "ConsumedCapacityUnits": {
268
+ "shape_name": "ConsumedCapacityUnits",
269
+ "type": "double",
270
+ "documentation": "\n <p>The number of Capacity Units of the provisioned throughput of the table consumed during the operation.\n <code>GetItem</code>, <code>BatchGetItem</code>, <code>BatchWriteItem</code>, <code>Query</code>, and <code>Scan</code> operations consume\n <code>ReadCapacityUnits</code>, while <code>PutItem</code>, <code>UpdateItem</code>, and <code>DeleteItem</code>\n operations consume <code>WriteCapacityUnits</code>.</p>\n "
271
+ }
272
+ },
273
+ "documentation": "\n <p>The item attributes from a response in a specific table, along with the read resources consumed on the table\n during the request.</p>\n "
274
+ },
275
+ "documentation": "\n <p>Table names and the respective item attributes from the tables.</p>\n "
276
+ },
277
+ "UnprocessedKeys": {
278
+ "shape_name": "BatchGetRequestMap",
279
+ "type": "map",
280
+ "keys": {
281
+ "shape_name": "TableName",
282
+ "type": "string",
283
+ "min_length": 3,
284
+ "max_length": 255,
285
+ "pattern": "[a-zA-Z0-9_.-]+",
286
+ "documentation": null
287
+ },
288
+ "members": {
289
+ "shape_name": "KeysAndAttributes",
290
+ "type": "structure",
291
+ "members": {
292
+ "Keys": {
293
+ "shape_name": "KeyList",
294
+ "type": "list",
295
+ "members": {
296
+ "shape_name": "Key",
297
+ "type": "structure",
298
+ "members": {
299
+ "HashKeyElement": {
300
+ "shape_name": "AttributeValue",
301
+ "type": "structure",
302
+ "members": {
303
+ "S": {
304
+ "shape_name": "StringAttributeValue",
305
+ "type": "string",
306
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
307
+ },
308
+ "N": {
309
+ "shape_name": "NumberAttributeValue",
310
+ "type": "string",
311
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
312
+ },
313
+ "B": {
314
+ "shape_name": "BinaryAttributeValue",
315
+ "type": "blob",
316
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
317
+ },
318
+ "SS": {
319
+ "shape_name": "StringSetAttributeValue",
320
+ "type": "list",
321
+ "members": {
322
+ "shape_name": "StringAttributeValue",
323
+ "type": "string",
324
+ "documentation": null
325
+ },
326
+ "documentation": "\n <p>A set of strings.</p>\n "
327
+ },
328
+ "NS": {
329
+ "shape_name": "NumberSetAttributeValue",
330
+ "type": "list",
331
+ "members": {
332
+ "shape_name": "NumberAttributeValue",
333
+ "type": "string",
334
+ "documentation": null
335
+ },
336
+ "documentation": "\n <p>A set of numbers.</p>\n "
337
+ },
338
+ "BS": {
339
+ "shape_name": "BinarySetAttributeValue",
340
+ "type": "list",
341
+ "members": {
342
+ "shape_name": "BinaryAttributeValue",
343
+ "type": "blob",
344
+ "documentation": null
345
+ },
346
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
347
+ }
348
+ },
349
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
350
+ "required": true
351
+ },
352
+ "RangeKeyElement": {
353
+ "shape_name": "AttributeValue",
354
+ "type": "structure",
355
+ "members": {
356
+ "S": {
357
+ "shape_name": "StringAttributeValue",
358
+ "type": "string",
359
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
360
+ },
361
+ "N": {
362
+ "shape_name": "NumberAttributeValue",
363
+ "type": "string",
364
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
365
+ },
366
+ "B": {
367
+ "shape_name": "BinaryAttributeValue",
368
+ "type": "blob",
369
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
370
+ },
371
+ "SS": {
372
+ "shape_name": "StringSetAttributeValue",
373
+ "type": "list",
374
+ "members": {
375
+ "shape_name": "StringAttributeValue",
376
+ "type": "string",
377
+ "documentation": null
378
+ },
379
+ "documentation": "\n <p>A set of strings.</p>\n "
380
+ },
381
+ "NS": {
382
+ "shape_name": "NumberSetAttributeValue",
383
+ "type": "list",
384
+ "members": {
385
+ "shape_name": "NumberAttributeValue",
386
+ "type": "string",
387
+ "documentation": null
388
+ },
389
+ "documentation": "\n <p>A set of numbers.</p>\n "
390
+ },
391
+ "BS": {
392
+ "shape_name": "BinarySetAttributeValue",
393
+ "type": "list",
394
+ "members": {
395
+ "shape_name": "BinaryAttributeValue",
396
+ "type": "blob",
397
+ "documentation": null
398
+ },
399
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
400
+ }
401
+ },
402
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
403
+ }
404
+ },
405
+ "documentation": "\n <p>The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash)\n primary key or a two attribute (hash-and-range) primary key.</p>\n "
406
+ },
407
+ "min_length": 1,
408
+ "max_length": 100,
409
+ "documentation": null,
410
+ "required": true
411
+ },
412
+ "AttributesToGet": {
413
+ "shape_name": "AttributeNameList",
414
+ "type": "list",
415
+ "members": {
416
+ "shape_name": "AttributeName",
417
+ "type": "string",
418
+ "documentation": null
419
+ },
420
+ "min_length": 1,
421
+ "documentation": "\n <p>List of <code>Attribute</code> names. If attribute names are not specified then all attributes will be returned.\n If some attributes are not found, they will not appear in the result.</p>\n "
422
+ },
423
+ "ConsistentRead": {
424
+ "shape_name": "ConsistentRead",
425
+ "type": "boolean",
426
+ "documentation": "\n <p>If set to <code>true</code>, then a consistent read is issued. Otherwise eventually-consistent is used.</p>\n "
427
+ }
428
+ },
429
+ "documentation": null
430
+ },
431
+ "min_length": 1,
432
+ "max_length": 100,
433
+ "documentation": "\n <p>Contains a map of tables and their respective keys that were not processed with the current response, possibly\n due to reaching a limit on the response size. The <code>UnprocessedKeys</code> value is in the same form as a\n <code>RequestItems</code> parameter (so the value can be provided directly to a subsequent <code>BatchGetItem</code>\n operation). For more information, see the above <code>RequestItems</code> parameter.</p>\n "
434
+ }
435
+ },
436
+ "documentation": null
437
+ },
438
+ "errors": [
439
+ {
440
+ "shape_name": "ProvisionedThroughputExceededException",
441
+ "type": "structure",
442
+ "members": {
443
+ "message": {
444
+ "shape_name": "ErrorMessage",
445
+ "type": "string",
446
+ "documentation": null
447
+ }
448
+ },
449
+ "documentation": "\n <p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>\n "
450
+ },
451
+ {
452
+ "shape_name": "ResourceNotFoundException",
453
+ "type": "structure",
454
+ "members": {
455
+ "message": {
456
+ "shape_name": "ErrorMessage",
457
+ "type": "string",
458
+ "documentation": null
459
+ }
460
+ },
461
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
462
+ },
463
+ {
464
+ "shape_name": "InternalServerError",
465
+ "type": "structure",
466
+ "members": {
467
+ "message": {
468
+ "shape_name": "ErrorMessage",
469
+ "type": "string",
470
+ "documentation": null
471
+ }
472
+ },
473
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
474
+ }
475
+ ],
476
+ "documentation": "\n <p>Retrieves the attributes for multiple items from multiple tables using their primary keys.</p>\n\n <p>The maximum number of item attributes that can be retrieved for a single operation is 100. Also, the number of\n items retrieved is constrained by a 1 MB the size limit. If the response size limit is exceeded or a partial\n result is returned due to an internal processing failure, Amazon DynamoDB returns an <code>UnprocessedKeys</code>\n value so you can retry the operation starting with the next item to get.</p>\n\n <p>Amazon DynamoDB automatically adjusts the number of items returned per page to enforce this limit. For example,\n even if you ask to retrieve 100 items, but each individual item is 50k in size, the system returns 20 items\n and an appropriate <code>UnprocessedKeys</code> value so you can get the next page of results. If necessary,\n your application needs its own logic to assemble the pages of results into one set.</p>\n\n "
477
+ },
478
+ "BatchWriteItem": {
479
+ "name": "BatchWriteItem",
480
+ "input": {
481
+ "shape_name": "BatchWriteItemInput",
482
+ "type": "structure",
483
+ "members": {
484
+ "RequestItems": {
485
+ "shape_name": "BatchWriteItemRequestMap",
486
+ "type": "map",
487
+ "keys": {
488
+ "shape_name": "TableName",
489
+ "type": "string",
490
+ "min_length": 3,
491
+ "max_length": 255,
492
+ "pattern": "[a-zA-Z0-9_.-]+",
493
+ "documentation": null
494
+ },
495
+ "members": {
496
+ "shape_name": "WriteRequests",
497
+ "type": "list",
498
+ "members": {
499
+ "shape_name": "WriteRequest",
500
+ "type": "structure",
501
+ "members": {
502
+ "PutRequest": {
503
+ "shape_name": "PutRequest",
504
+ "type": "structure",
505
+ "members": {
506
+ "Item": {
507
+ "shape_name": "PutItemInputAttributeMap",
508
+ "type": "map",
509
+ "keys": {
510
+ "shape_name": "AttributeName",
511
+ "type": "string",
512
+ "documentation": null
513
+ },
514
+ "members": {
515
+ "shape_name": "AttributeValue",
516
+ "type": "structure",
517
+ "members": {
518
+ "S": {
519
+ "shape_name": "StringAttributeValue",
520
+ "type": "string",
521
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
522
+ },
523
+ "N": {
524
+ "shape_name": "NumberAttributeValue",
525
+ "type": "string",
526
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
527
+ },
528
+ "B": {
529
+ "shape_name": "BinaryAttributeValue",
530
+ "type": "blob",
531
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
532
+ },
533
+ "SS": {
534
+ "shape_name": "StringSetAttributeValue",
535
+ "type": "list",
536
+ "members": {
537
+ "shape_name": "StringAttributeValue",
538
+ "type": "string",
539
+ "documentation": null
540
+ },
541
+ "documentation": "\n <p>A set of strings.</p>\n "
542
+ },
543
+ "NS": {
544
+ "shape_name": "NumberSetAttributeValue",
545
+ "type": "list",
546
+ "members": {
547
+ "shape_name": "NumberAttributeValue",
548
+ "type": "string",
549
+ "documentation": null
550
+ },
551
+ "documentation": "\n <p>A set of numbers.</p>\n "
552
+ },
553
+ "BS": {
554
+ "shape_name": "BinarySetAttributeValue",
555
+ "type": "list",
556
+ "members": {
557
+ "shape_name": "BinaryAttributeValue",
558
+ "type": "blob",
559
+ "documentation": null
560
+ },
561
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
562
+ }
563
+ },
564
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
565
+ },
566
+ "documentation": "\n <p>The item to put</p>\n ",
567
+ "required": true
568
+ }
569
+ },
570
+ "documentation": "\n <p>A container for a Put BatchWrite request</p>\n "
571
+ },
572
+ "DeleteRequest": {
573
+ "shape_name": "DeleteRequest",
574
+ "type": "structure",
575
+ "members": {
576
+ "Key": {
577
+ "shape_name": "Key",
578
+ "type": "structure",
579
+ "members": {
580
+ "HashKeyElement": {
581
+ "shape_name": "AttributeValue",
582
+ "type": "structure",
583
+ "members": {
584
+ "S": {
585
+ "shape_name": "StringAttributeValue",
586
+ "type": "string",
587
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
588
+ },
589
+ "N": {
590
+ "shape_name": "NumberAttributeValue",
591
+ "type": "string",
592
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
593
+ },
594
+ "B": {
595
+ "shape_name": "BinaryAttributeValue",
596
+ "type": "blob",
597
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
598
+ },
599
+ "SS": {
600
+ "shape_name": "StringSetAttributeValue",
601
+ "type": "list",
602
+ "members": {
603
+ "shape_name": "StringAttributeValue",
604
+ "type": "string",
605
+ "documentation": null
606
+ },
607
+ "documentation": "\n <p>A set of strings.</p>\n "
608
+ },
609
+ "NS": {
610
+ "shape_name": "NumberSetAttributeValue",
611
+ "type": "list",
612
+ "members": {
613
+ "shape_name": "NumberAttributeValue",
614
+ "type": "string",
615
+ "documentation": null
616
+ },
617
+ "documentation": "\n <p>A set of numbers.</p>\n "
618
+ },
619
+ "BS": {
620
+ "shape_name": "BinarySetAttributeValue",
621
+ "type": "list",
622
+ "members": {
623
+ "shape_name": "BinaryAttributeValue",
624
+ "type": "blob",
625
+ "documentation": null
626
+ },
627
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
628
+ }
629
+ },
630
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
631
+ "required": true
632
+ },
633
+ "RangeKeyElement": {
634
+ "shape_name": "AttributeValue",
635
+ "type": "structure",
636
+ "members": {
637
+ "S": {
638
+ "shape_name": "StringAttributeValue",
639
+ "type": "string",
640
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
641
+ },
642
+ "N": {
643
+ "shape_name": "NumberAttributeValue",
644
+ "type": "string",
645
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
646
+ },
647
+ "B": {
648
+ "shape_name": "BinaryAttributeValue",
649
+ "type": "blob",
650
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
651
+ },
652
+ "SS": {
653
+ "shape_name": "StringSetAttributeValue",
654
+ "type": "list",
655
+ "members": {
656
+ "shape_name": "StringAttributeValue",
657
+ "type": "string",
658
+ "documentation": null
659
+ },
660
+ "documentation": "\n <p>A set of strings.</p>\n "
661
+ },
662
+ "NS": {
663
+ "shape_name": "NumberSetAttributeValue",
664
+ "type": "list",
665
+ "members": {
666
+ "shape_name": "NumberAttributeValue",
667
+ "type": "string",
668
+ "documentation": null
669
+ },
670
+ "documentation": "\n <p>A set of numbers.</p>\n "
671
+ },
672
+ "BS": {
673
+ "shape_name": "BinarySetAttributeValue",
674
+ "type": "list",
675
+ "members": {
676
+ "shape_name": "BinaryAttributeValue",
677
+ "type": "blob",
678
+ "documentation": null
679
+ },
680
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
681
+ }
682
+ },
683
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
684
+ }
685
+ },
686
+ "documentation": "\n <p>The item's key to be delete</p>\n ",
687
+ "required": true
688
+ }
689
+ },
690
+ "documentation": "\n <p>A container for a Delete BatchWrite request</p>\n "
691
+ }
692
+ },
693
+ "documentation": "\n <p>This structure is a Union of PutRequest and DeleteRequest. It can contain exactly one of <code>PutRequest</code> or <code>DeleteRequest</code>. Never Both. This is enforced in the code.</p>\n "
694
+ },
695
+ "min_length": 1,
696
+ "max_length": 25,
697
+ "documentation": null
698
+ },
699
+ "min_length": 1,
700
+ "max_length": 25,
701
+ "documentation": "\n <p>A map of table name to list-of-write-requests. Used as input to the <code>BatchWriteItem</code> API call</p>\n ",
702
+ "required": true
703
+ }
704
+ },
705
+ "documentation": null
706
+ },
707
+ "output": {
708
+ "shape_name": "BatchWriteItemOutput",
709
+ "type": "structure",
710
+ "members": {
711
+ "Responses": {
712
+ "shape_name": "BatchWriteResponseMap",
713
+ "type": "map",
714
+ "keys": {
715
+ "shape_name": "TableName",
716
+ "type": "string",
717
+ "min_length": 3,
718
+ "max_length": 255,
719
+ "pattern": "[a-zA-Z0-9_.-]+",
720
+ "documentation": null
721
+ },
722
+ "members": {
723
+ "shape_name": "BatchWriteResponse",
724
+ "type": "structure",
725
+ "members": {
726
+ "ConsumedCapacityUnits": {
727
+ "shape_name": "ConsumedCapacityUnits",
728
+ "type": "double",
729
+ "documentation": "\n <p>The number of Capacity Units of the provisioned throughput of the table consumed during the operation.\n <code>GetItem</code>, <code>BatchGetItem</code>, <code>BatchWriteItem</code>, <code>Query</code>, and <code>Scan</code> operations consume\n <code>ReadCapacityUnits</code>, while <code>PutItem</code>, <code>UpdateItem</code>, and <code>DeleteItem</code>\n operations consume <code>WriteCapacityUnits</code>.</p>\n "
730
+ }
731
+ },
732
+ "documentation": null
733
+ },
734
+ "documentation": "\n <p>The response object as a result of <code>BatchWriteItem</code> call. This is essentially a map of table name to <code>ConsumedCapacityUnits</code>.</p>\n "
735
+ },
736
+ "UnprocessedItems": {
737
+ "shape_name": "BatchWriteItemRequestMap",
738
+ "type": "map",
739
+ "keys": {
740
+ "shape_name": "TableName",
741
+ "type": "string",
742
+ "min_length": 3,
743
+ "max_length": 255,
744
+ "pattern": "[a-zA-Z0-9_.-]+",
745
+ "documentation": null
746
+ },
747
+ "members": {
748
+ "shape_name": "WriteRequests",
749
+ "type": "list",
750
+ "members": {
751
+ "shape_name": "WriteRequest",
752
+ "type": "structure",
753
+ "members": {
754
+ "PutRequest": {
755
+ "shape_name": "PutRequest",
756
+ "type": "structure",
757
+ "members": {
758
+ "Item": {
759
+ "shape_name": "PutItemInputAttributeMap",
760
+ "type": "map",
761
+ "keys": {
762
+ "shape_name": "AttributeName",
763
+ "type": "string",
764
+ "documentation": null
765
+ },
766
+ "members": {
767
+ "shape_name": "AttributeValue",
768
+ "type": "structure",
769
+ "members": {
770
+ "S": {
771
+ "shape_name": "StringAttributeValue",
772
+ "type": "string",
773
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
774
+ },
775
+ "N": {
776
+ "shape_name": "NumberAttributeValue",
777
+ "type": "string",
778
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
779
+ },
780
+ "B": {
781
+ "shape_name": "BinaryAttributeValue",
782
+ "type": "blob",
783
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
784
+ },
785
+ "SS": {
786
+ "shape_name": "StringSetAttributeValue",
787
+ "type": "list",
788
+ "members": {
789
+ "shape_name": "StringAttributeValue",
790
+ "type": "string",
791
+ "documentation": null
792
+ },
793
+ "documentation": "\n <p>A set of strings.</p>\n "
794
+ },
795
+ "NS": {
796
+ "shape_name": "NumberSetAttributeValue",
797
+ "type": "list",
798
+ "members": {
799
+ "shape_name": "NumberAttributeValue",
800
+ "type": "string",
801
+ "documentation": null
802
+ },
803
+ "documentation": "\n <p>A set of numbers.</p>\n "
804
+ },
805
+ "BS": {
806
+ "shape_name": "BinarySetAttributeValue",
807
+ "type": "list",
808
+ "members": {
809
+ "shape_name": "BinaryAttributeValue",
810
+ "type": "blob",
811
+ "documentation": null
812
+ },
813
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
814
+ }
815
+ },
816
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
817
+ },
818
+ "documentation": "\n <p>The item to put</p>\n ",
819
+ "required": true
820
+ }
821
+ },
822
+ "documentation": "\n <p>A container for a Put BatchWrite request</p>\n "
823
+ },
824
+ "DeleteRequest": {
825
+ "shape_name": "DeleteRequest",
826
+ "type": "structure",
827
+ "members": {
828
+ "Key": {
829
+ "shape_name": "Key",
830
+ "type": "structure",
831
+ "members": {
832
+ "HashKeyElement": {
833
+ "shape_name": "AttributeValue",
834
+ "type": "structure",
835
+ "members": {
836
+ "S": {
837
+ "shape_name": "StringAttributeValue",
838
+ "type": "string",
839
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
840
+ },
841
+ "N": {
842
+ "shape_name": "NumberAttributeValue",
843
+ "type": "string",
844
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
845
+ },
846
+ "B": {
847
+ "shape_name": "BinaryAttributeValue",
848
+ "type": "blob",
849
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
850
+ },
851
+ "SS": {
852
+ "shape_name": "StringSetAttributeValue",
853
+ "type": "list",
854
+ "members": {
855
+ "shape_name": "StringAttributeValue",
856
+ "type": "string",
857
+ "documentation": null
858
+ },
859
+ "documentation": "\n <p>A set of strings.</p>\n "
860
+ },
861
+ "NS": {
862
+ "shape_name": "NumberSetAttributeValue",
863
+ "type": "list",
864
+ "members": {
865
+ "shape_name": "NumberAttributeValue",
866
+ "type": "string",
867
+ "documentation": null
868
+ },
869
+ "documentation": "\n <p>A set of numbers.</p>\n "
870
+ },
871
+ "BS": {
872
+ "shape_name": "BinarySetAttributeValue",
873
+ "type": "list",
874
+ "members": {
875
+ "shape_name": "BinaryAttributeValue",
876
+ "type": "blob",
877
+ "documentation": null
878
+ },
879
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
880
+ }
881
+ },
882
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
883
+ "required": true
884
+ },
885
+ "RangeKeyElement": {
886
+ "shape_name": "AttributeValue",
887
+ "type": "structure",
888
+ "members": {
889
+ "S": {
890
+ "shape_name": "StringAttributeValue",
891
+ "type": "string",
892
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
893
+ },
894
+ "N": {
895
+ "shape_name": "NumberAttributeValue",
896
+ "type": "string",
897
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
898
+ },
899
+ "B": {
900
+ "shape_name": "BinaryAttributeValue",
901
+ "type": "blob",
902
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
903
+ },
904
+ "SS": {
905
+ "shape_name": "StringSetAttributeValue",
906
+ "type": "list",
907
+ "members": {
908
+ "shape_name": "StringAttributeValue",
909
+ "type": "string",
910
+ "documentation": null
911
+ },
912
+ "documentation": "\n <p>A set of strings.</p>\n "
913
+ },
914
+ "NS": {
915
+ "shape_name": "NumberSetAttributeValue",
916
+ "type": "list",
917
+ "members": {
918
+ "shape_name": "NumberAttributeValue",
919
+ "type": "string",
920
+ "documentation": null
921
+ },
922
+ "documentation": "\n <p>A set of numbers.</p>\n "
923
+ },
924
+ "BS": {
925
+ "shape_name": "BinarySetAttributeValue",
926
+ "type": "list",
927
+ "members": {
928
+ "shape_name": "BinaryAttributeValue",
929
+ "type": "blob",
930
+ "documentation": null
931
+ },
932
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
933
+ }
934
+ },
935
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
936
+ }
937
+ },
938
+ "documentation": "\n <p>The item's key to be delete</p>\n ",
939
+ "required": true
940
+ }
941
+ },
942
+ "documentation": "\n <p>A container for a Delete BatchWrite request</p>\n "
943
+ }
944
+ },
945
+ "documentation": "\n <p>This structure is a Union of PutRequest and DeleteRequest. It can contain exactly one of <code>PutRequest</code> or <code>DeleteRequest</code>. Never Both. This is enforced in the code.</p>\n "
946
+ },
947
+ "min_length": 1,
948
+ "max_length": 25,
949
+ "documentation": null
950
+ },
951
+ "min_length": 1,
952
+ "max_length": 25,
953
+ "documentation": "\n <p>The Items which we could not successfully process in a <code>BatchWriteItem</code> call is returned as <code>UnprocessedItems</code></p>\n "
954
+ }
955
+ },
956
+ "documentation": "\n <p>A container for <code>BatchWriteItem</code> response</p>\n "
957
+ },
958
+ "errors": [
959
+ {
960
+ "shape_name": "ProvisionedThroughputExceededException",
961
+ "type": "structure",
962
+ "members": {
963
+ "message": {
964
+ "shape_name": "ErrorMessage",
965
+ "type": "string",
966
+ "documentation": null
967
+ }
968
+ },
969
+ "documentation": "\n <p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>\n "
970
+ },
971
+ {
972
+ "shape_name": "ResourceNotFoundException",
973
+ "type": "structure",
974
+ "members": {
975
+ "message": {
976
+ "shape_name": "ErrorMessage",
977
+ "type": "string",
978
+ "documentation": null
979
+ }
980
+ },
981
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
982
+ },
983
+ {
984
+ "shape_name": "LimitExceededException",
985
+ "type": "structure",
986
+ "members": {
987
+ "message": {
988
+ "shape_name": "ErrorMessage",
989
+ "type": "string",
990
+ "documentation": null
991
+ }
992
+ },
993
+ "documentation": "\n <p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>\n "
994
+ },
995
+ {
996
+ "shape_name": "InternalServerError",
997
+ "type": "structure",
998
+ "members": {
999
+ "message": {
1000
+ "shape_name": "ErrorMessage",
1001
+ "type": "string",
1002
+ "documentation": null
1003
+ }
1004
+ },
1005
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
1006
+ }
1007
+ ],
1008
+ "documentation": "\n <p>Allows to execute a batch of Put and/or Delete Requests for many tables in a single call. A total of 25 requests are allowed.</p>\n <p>There are no transaction guarantees provided by this API. It does not allow conditional puts nor does it support return values.</p>\n "
1009
+ },
1010
+ "CreateTable": {
1011
+ "name": "CreateTable",
1012
+ "input": {
1013
+ "shape_name": "CreateTableInput",
1014
+ "type": "structure",
1015
+ "members": {
1016
+ "TableName": {
1017
+ "shape_name": "TableName",
1018
+ "type": "string",
1019
+ "min_length": 3,
1020
+ "max_length": 255,
1021
+ "pattern": "[a-zA-Z0-9_.-]+",
1022
+ "documentation": "\n <p>The name of the table you want to create. Allowed characters are <code>a-z</code>, <code>A-Z</code>,\n <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>\n ",
1023
+ "required": true
1024
+ },
1025
+ "KeySchema": {
1026
+ "shape_name": "KeySchema",
1027
+ "type": "structure",
1028
+ "members": {
1029
+ "HashKeyElement": {
1030
+ "shape_name": "KeySchemaElement",
1031
+ "type": "structure",
1032
+ "members": {
1033
+ "AttributeName": {
1034
+ "shape_name": "KeySchemaAttributeName",
1035
+ "type": "string",
1036
+ "min_length": 1,
1037
+ "max_length": 255,
1038
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
1039
+ "required": true
1040
+ },
1041
+ "AttributeType": {
1042
+ "shape_name": "ScalarAttributeType",
1043
+ "type": "string",
1044
+ "enum": [
1045
+ "S",
1046
+ "N",
1047
+ "B"
1048
+ ],
1049
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
1050
+ "required": true
1051
+ }
1052
+ },
1053
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
1054
+ "required": true
1055
+ },
1056
+ "RangeKeyElement": {
1057
+ "shape_name": "KeySchemaElement",
1058
+ "type": "structure",
1059
+ "members": {
1060
+ "AttributeName": {
1061
+ "shape_name": "KeySchemaAttributeName",
1062
+ "type": "string",
1063
+ "min_length": 1,
1064
+ "max_length": 255,
1065
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
1066
+ "required": true
1067
+ },
1068
+ "AttributeType": {
1069
+ "shape_name": "ScalarAttributeType",
1070
+ "type": "string",
1071
+ "enum": [
1072
+ "S",
1073
+ "N",
1074
+ "B"
1075
+ ],
1076
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
1077
+ "required": true
1078
+ }
1079
+ },
1080
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
1081
+ }
1082
+ },
1083
+ "documentation": "\n <p>The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute\n (hash-and-range) primary key. Single attribute primary keys have one index value: a <code>HashKeyElement</code>.\n A composite hash-and-range primary key contains two attribute values: a <code>HashKeyElement</code> and a\n <code>RangeKeyElement</code>.</p>\n ",
1084
+ "required": true
1085
+ },
1086
+ "ProvisionedThroughput": {
1087
+ "shape_name": "ProvisionedThroughput",
1088
+ "type": "structure",
1089
+ "members": {
1090
+ "ReadCapacityUnits": {
1091
+ "shape_name": "PositiveLongObject",
1092
+ "type": "long",
1093
+ "min_length": 1,
1094
+ "documentation": "\n <p><code>ReadCapacityUnits</code> are in terms of strictly consistent reads, assuming items of 1k. 2k items\n require twice the <code>ReadCapacityUnits</code>. Eventually-consistent reads only require half the\n <code>ReadCapacityUnits</code> of stirctly consistent reads.</p>\n ",
1095
+ "required": true
1096
+ },
1097
+ "WriteCapacityUnits": {
1098
+ "shape_name": "PositiveLongObject",
1099
+ "type": "long",
1100
+ "min_length": 1,
1101
+ "documentation": "\n <p><code>WriteCapacityUnits</code> are in terms of strictly consistent reads, assuming items of 1k. 2k items\n require twice the <code>WriteCapacityUnits</code>.</p>\n ",
1102
+ "required": true
1103
+ }
1104
+ },
1105
+ "documentation": "\n <p>Provisioned throughput reserves the required read and write resources for your table in terms of\n <code>ReadCapacityUnits</code> and <code>WriteCapacityUnits</code>. Values for provisioned throughput depend\n upon your expected read/write rates, item size, and consistency. Provide the expected number of read and write\n operations, assuming an item size of 1k and strictly consistent reads. For 2k item size, double the value.\n For 3k, triple the value, etc. Eventually-consistent reads consume half the resources of strictly consistent\n reads.</p>\n ",
1106
+ "required": true
1107
+ }
1108
+ },
1109
+ "documentation": null
1110
+ },
1111
+ "output": {
1112
+ "shape_name": "CreateTableOutput",
1113
+ "type": "structure",
1114
+ "members": {
1115
+ "TableDescription": {
1116
+ "shape_name": "TableDescription",
1117
+ "type": "structure",
1118
+ "members": {
1119
+ "TableName": {
1120
+ "shape_name": "TableName",
1121
+ "type": "string",
1122
+ "min_length": 3,
1123
+ "max_length": 255,
1124
+ "pattern": "[a-zA-Z0-9_.-]+",
1125
+ "documentation": "\n <p>The name of the table being described.</p>\n "
1126
+ },
1127
+ "KeySchema": {
1128
+ "shape_name": "KeySchema",
1129
+ "type": "structure",
1130
+ "members": {
1131
+ "HashKeyElement": {
1132
+ "shape_name": "KeySchemaElement",
1133
+ "type": "structure",
1134
+ "members": {
1135
+ "AttributeName": {
1136
+ "shape_name": "KeySchemaAttributeName",
1137
+ "type": "string",
1138
+ "min_length": 1,
1139
+ "max_length": 255,
1140
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
1141
+ "required": true
1142
+ },
1143
+ "AttributeType": {
1144
+ "shape_name": "ScalarAttributeType",
1145
+ "type": "string",
1146
+ "enum": [
1147
+ "S",
1148
+ "N",
1149
+ "B"
1150
+ ],
1151
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
1152
+ "required": true
1153
+ }
1154
+ },
1155
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
1156
+ "required": true
1157
+ },
1158
+ "RangeKeyElement": {
1159
+ "shape_name": "KeySchemaElement",
1160
+ "type": "structure",
1161
+ "members": {
1162
+ "AttributeName": {
1163
+ "shape_name": "KeySchemaAttributeName",
1164
+ "type": "string",
1165
+ "min_length": 1,
1166
+ "max_length": 255,
1167
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
1168
+ "required": true
1169
+ },
1170
+ "AttributeType": {
1171
+ "shape_name": "ScalarAttributeType",
1172
+ "type": "string",
1173
+ "enum": [
1174
+ "S",
1175
+ "N",
1176
+ "B"
1177
+ ],
1178
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
1179
+ "required": true
1180
+ }
1181
+ },
1182
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
1183
+ }
1184
+ },
1185
+ "documentation": "\n <p>The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute\n (hash-and-range) primary key. Single attribute primary keys have one index value: a <code>HashKeyElement</code>.\n A composite hash-and-range primary key contains two attribute values: a <code>HashKeyElement</code> and a\n <code>RangeKeyElement</code>.</p>\n "
1186
+ },
1187
+ "TableStatus": {
1188
+ "shape_name": "TableStatus",
1189
+ "type": "string",
1190
+ "enum": [
1191
+ "CREATING",
1192
+ "UPDATING",
1193
+ "DELETING",
1194
+ "ACTIVE"
1195
+ ],
1196
+ "documentation": null
1197
+ },
1198
+ "CreationDateTime": {
1199
+ "shape_name": "Date",
1200
+ "type": "timestamp",
1201
+ "documentation": null
1202
+ },
1203
+ "ProvisionedThroughput": {
1204
+ "shape_name": "ProvisionedThroughputDescription",
1205
+ "type": "structure",
1206
+ "members": {
1207
+ "LastIncreaseDateTime": {
1208
+ "shape_name": "Date",
1209
+ "type": "timestamp",
1210
+ "documentation": null
1211
+ },
1212
+ "LastDecreaseDateTime": {
1213
+ "shape_name": "Date",
1214
+ "type": "timestamp",
1215
+ "documentation": null
1216
+ },
1217
+ "NumberOfDecreasesToday": {
1218
+ "shape_name": "PositiveLongObject",
1219
+ "type": "long",
1220
+ "min_length": 1,
1221
+ "documentation": null
1222
+ },
1223
+ "ReadCapacityUnits": {
1224
+ "shape_name": "PositiveLongObject",
1225
+ "type": "long",
1226
+ "min_length": 1,
1227
+ "documentation": null
1228
+ },
1229
+ "WriteCapacityUnits": {
1230
+ "shape_name": "PositiveLongObject",
1231
+ "type": "long",
1232
+ "min_length": 1,
1233
+ "documentation": null
1234
+ }
1235
+ },
1236
+ "documentation": null
1237
+ },
1238
+ "TableSizeBytes": {
1239
+ "shape_name": "Long",
1240
+ "type": "long",
1241
+ "documentation": null
1242
+ },
1243
+ "ItemCount": {
1244
+ "shape_name": "Long",
1245
+ "type": "long",
1246
+ "documentation": null
1247
+ }
1248
+ },
1249
+ "documentation": null
1250
+ }
1251
+ },
1252
+ "documentation": null
1253
+ },
1254
+ "errors": [
1255
+ {
1256
+ "shape_name": "ResourceInUseException",
1257
+ "type": "structure",
1258
+ "members": {
1259
+ "message": {
1260
+ "shape_name": "ErrorMessage",
1261
+ "type": "string",
1262
+ "documentation": null
1263
+ }
1264
+ },
1265
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
1266
+ },
1267
+ {
1268
+ "shape_name": "LimitExceededException",
1269
+ "type": "structure",
1270
+ "members": {
1271
+ "message": {
1272
+ "shape_name": "ErrorMessage",
1273
+ "type": "string",
1274
+ "documentation": null
1275
+ }
1276
+ },
1277
+ "documentation": "\n <p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>\n "
1278
+ },
1279
+ {
1280
+ "shape_name": "InternalServerError",
1281
+ "type": "structure",
1282
+ "members": {
1283
+ "message": {
1284
+ "shape_name": "ErrorMessage",
1285
+ "type": "string",
1286
+ "documentation": null
1287
+ }
1288
+ },
1289
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
1290
+ }
1291
+ ],
1292
+ "documentation": "\n <p>Adds a new table to your account.</p>\n\n <p>The table name must be unique among those associated with the AWS Account issuing the request, and the AWS\n Region that receives the request (e.g. <code>us-east-1</code>).</p>\n\n <p>The <code>CreateTable</code> operation triggers an asynchronous workflow to begin creating the table. Amazon\n DynamoDB immediately returns the state of the table (<code>CREATING</code>) until the table is in the\n <code>ACTIVE</code> state. Once the table is in the <code>ACTIVE</code> state, you can perform data plane\n operations.</p>\n\n "
1293
+ },
1294
+ "DeleteItem": {
1295
+ "name": "DeleteItem",
1296
+ "input": {
1297
+ "shape_name": "DeleteItemInput",
1298
+ "type": "structure",
1299
+ "members": {
1300
+ "TableName": {
1301
+ "shape_name": "TableName",
1302
+ "type": "string",
1303
+ "min_length": 3,
1304
+ "max_length": 255,
1305
+ "pattern": "[a-zA-Z0-9_.-]+",
1306
+ "documentation": "\n <p>The name of the table in which you want to delete an item. Allowed characters are <code>a-z</code>, <code>A-Z</code>,\n <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>\n ",
1307
+ "required": true
1308
+ },
1309
+ "Key": {
1310
+ "shape_name": "Key",
1311
+ "type": "structure",
1312
+ "members": {
1313
+ "HashKeyElement": {
1314
+ "shape_name": "AttributeValue",
1315
+ "type": "structure",
1316
+ "members": {
1317
+ "S": {
1318
+ "shape_name": "StringAttributeValue",
1319
+ "type": "string",
1320
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
1321
+ },
1322
+ "N": {
1323
+ "shape_name": "NumberAttributeValue",
1324
+ "type": "string",
1325
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
1326
+ },
1327
+ "B": {
1328
+ "shape_name": "BinaryAttributeValue",
1329
+ "type": "blob",
1330
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
1331
+ },
1332
+ "SS": {
1333
+ "shape_name": "StringSetAttributeValue",
1334
+ "type": "list",
1335
+ "members": {
1336
+ "shape_name": "StringAttributeValue",
1337
+ "type": "string",
1338
+ "documentation": null
1339
+ },
1340
+ "documentation": "\n <p>A set of strings.</p>\n "
1341
+ },
1342
+ "NS": {
1343
+ "shape_name": "NumberSetAttributeValue",
1344
+ "type": "list",
1345
+ "members": {
1346
+ "shape_name": "NumberAttributeValue",
1347
+ "type": "string",
1348
+ "documentation": null
1349
+ },
1350
+ "documentation": "\n <p>A set of numbers.</p>\n "
1351
+ },
1352
+ "BS": {
1353
+ "shape_name": "BinarySetAttributeValue",
1354
+ "type": "list",
1355
+ "members": {
1356
+ "shape_name": "BinaryAttributeValue",
1357
+ "type": "blob",
1358
+ "documentation": null
1359
+ },
1360
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
1361
+ }
1362
+ },
1363
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
1364
+ "required": true
1365
+ },
1366
+ "RangeKeyElement": {
1367
+ "shape_name": "AttributeValue",
1368
+ "type": "structure",
1369
+ "members": {
1370
+ "S": {
1371
+ "shape_name": "StringAttributeValue",
1372
+ "type": "string",
1373
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
1374
+ },
1375
+ "N": {
1376
+ "shape_name": "NumberAttributeValue",
1377
+ "type": "string",
1378
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
1379
+ },
1380
+ "B": {
1381
+ "shape_name": "BinaryAttributeValue",
1382
+ "type": "blob",
1383
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
1384
+ },
1385
+ "SS": {
1386
+ "shape_name": "StringSetAttributeValue",
1387
+ "type": "list",
1388
+ "members": {
1389
+ "shape_name": "StringAttributeValue",
1390
+ "type": "string",
1391
+ "documentation": null
1392
+ },
1393
+ "documentation": "\n <p>A set of strings.</p>\n "
1394
+ },
1395
+ "NS": {
1396
+ "shape_name": "NumberSetAttributeValue",
1397
+ "type": "list",
1398
+ "members": {
1399
+ "shape_name": "NumberAttributeValue",
1400
+ "type": "string",
1401
+ "documentation": null
1402
+ },
1403
+ "documentation": "\n <p>A set of numbers.</p>\n "
1404
+ },
1405
+ "BS": {
1406
+ "shape_name": "BinarySetAttributeValue",
1407
+ "type": "list",
1408
+ "members": {
1409
+ "shape_name": "BinaryAttributeValue",
1410
+ "type": "blob",
1411
+ "documentation": null
1412
+ },
1413
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
1414
+ }
1415
+ },
1416
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
1417
+ }
1418
+ },
1419
+ "documentation": "\n <p>The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash)\n primary key or a two attribute (hash-and-range) primary key.</p>\n ",
1420
+ "required": true
1421
+ },
1422
+ "Expected": {
1423
+ "shape_name": "ExpectedAttributeMap",
1424
+ "type": "map",
1425
+ "keys": {
1426
+ "shape_name": "AttributeName",
1427
+ "type": "string",
1428
+ "documentation": null
1429
+ },
1430
+ "members": {
1431
+ "shape_name": "ExpectedAttributeValue",
1432
+ "type": "structure",
1433
+ "members": {
1434
+ "Value": {
1435
+ "shape_name": "AttributeValue",
1436
+ "type": "structure",
1437
+ "members": {
1438
+ "S": {
1439
+ "shape_name": "StringAttributeValue",
1440
+ "type": "string",
1441
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
1442
+ },
1443
+ "N": {
1444
+ "shape_name": "NumberAttributeValue",
1445
+ "type": "string",
1446
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
1447
+ },
1448
+ "B": {
1449
+ "shape_name": "BinaryAttributeValue",
1450
+ "type": "blob",
1451
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
1452
+ },
1453
+ "SS": {
1454
+ "shape_name": "StringSetAttributeValue",
1455
+ "type": "list",
1456
+ "members": {
1457
+ "shape_name": "StringAttributeValue",
1458
+ "type": "string",
1459
+ "documentation": null
1460
+ },
1461
+ "documentation": "\n <p>A set of strings.</p>\n "
1462
+ },
1463
+ "NS": {
1464
+ "shape_name": "NumberSetAttributeValue",
1465
+ "type": "list",
1466
+ "members": {
1467
+ "shape_name": "NumberAttributeValue",
1468
+ "type": "string",
1469
+ "documentation": null
1470
+ },
1471
+ "documentation": "\n <p>A set of numbers.</p>\n "
1472
+ },
1473
+ "BS": {
1474
+ "shape_name": "BinarySetAttributeValue",
1475
+ "type": "list",
1476
+ "members": {
1477
+ "shape_name": "BinaryAttributeValue",
1478
+ "type": "blob",
1479
+ "documentation": null
1480
+ },
1481
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
1482
+ }
1483
+ },
1484
+ "documentation": "\n <p>Specify whether or not a value already exists and has a specific content for the attribute name-value pair.</p>\n "
1485
+ },
1486
+ "Exists": {
1487
+ "shape_name": "BooleanObject",
1488
+ "type": "boolean",
1489
+ "documentation": "\n <p>Specify whether or not a value already exists for the attribute name-value pair.</p>\n "
1490
+ }
1491
+ },
1492
+ "documentation": "\n <p>Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute\n value already exists; or if the attribute value exists and has a particular value before changing it.</p>\n "
1493
+ },
1494
+ "documentation": "\n <p>Designates an attribute for a conditional modification. The <code>Expected</code> parameter allows you to provide\n an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value\n before modifying it.</p>\n "
1495
+ },
1496
+ "ReturnValues": {
1497
+ "shape_name": "ReturnValue",
1498
+ "type": "string",
1499
+ "enum": [
1500
+ "NONE",
1501
+ "ALL_OLD",
1502
+ "UPDATED_OLD",
1503
+ "ALL_NEW",
1504
+ "UPDATED_NEW"
1505
+ ],
1506
+ "documentation": "\n <p>Use this parameter if you want to get the attribute name-value pairs before or after they are modified. For\n <code>PUT</code> operations, the possible parameter values are <code>NONE</code> (default) or\n <code>ALL_OLD</code>. For update operations, the possible parameter values are <code>NONE</code> (default) or\n <code>ALL_OLD</code>, <code>UPDATED_OLD</code>, <code>ALL_NEW</code> or <code>UPDATED_NEW</code>.</p>\n <ul>\n <li>\n<code>NONE</code>: Nothing is returned.</li>\n <li>\n<code>ALL_OLD</code>: Returns the attributes of the item as they were before the operation.</li>\n <li>\n<code>UPDATED_OLD</code>: Returns the values of the updated attributes, only, as they were before the operation.</li>\n <li>\n<code>ALL_NEW</code>: Returns all the attributes and their new values after the operation.</li>\n <li>\n<code>UPDATED_NEW</code>: Returns the values of the updated attributes, only, as they are after the operation.</li>\n </ul>\n "
1507
+ }
1508
+ },
1509
+ "documentation": null
1510
+ },
1511
+ "output": {
1512
+ "shape_name": "DeleteItemOutput",
1513
+ "type": "structure",
1514
+ "members": {
1515
+ "Attributes": {
1516
+ "shape_name": "AttributeMap",
1517
+ "type": "map",
1518
+ "keys": {
1519
+ "shape_name": "AttributeName",
1520
+ "type": "string",
1521
+ "documentation": null
1522
+ },
1523
+ "members": {
1524
+ "shape_name": "AttributeValue",
1525
+ "type": "structure",
1526
+ "members": {
1527
+ "S": {
1528
+ "shape_name": "StringAttributeValue",
1529
+ "type": "string",
1530
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
1531
+ },
1532
+ "N": {
1533
+ "shape_name": "NumberAttributeValue",
1534
+ "type": "string",
1535
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
1536
+ },
1537
+ "B": {
1538
+ "shape_name": "BinaryAttributeValue",
1539
+ "type": "blob",
1540
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
1541
+ },
1542
+ "SS": {
1543
+ "shape_name": "StringSetAttributeValue",
1544
+ "type": "list",
1545
+ "members": {
1546
+ "shape_name": "StringAttributeValue",
1547
+ "type": "string",
1548
+ "documentation": null
1549
+ },
1550
+ "documentation": "\n <p>A set of strings.</p>\n "
1551
+ },
1552
+ "NS": {
1553
+ "shape_name": "NumberSetAttributeValue",
1554
+ "type": "list",
1555
+ "members": {
1556
+ "shape_name": "NumberAttributeValue",
1557
+ "type": "string",
1558
+ "documentation": null
1559
+ },
1560
+ "documentation": "\n <p>A set of numbers.</p>\n "
1561
+ },
1562
+ "BS": {
1563
+ "shape_name": "BinarySetAttributeValue",
1564
+ "type": "list",
1565
+ "members": {
1566
+ "shape_name": "BinaryAttributeValue",
1567
+ "type": "blob",
1568
+ "documentation": null
1569
+ },
1570
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
1571
+ }
1572
+ },
1573
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
1574
+ },
1575
+ "documentation": "\n <p>If the <code>ReturnValues</code> parameter is provided as <code>ALL_OLD</code> in the request, Amazon DynamoDB\n returns an array of attribute name-value pairs (essentially, the deleted item). Otherwise, the response contains\n an empty set.</p>\n "
1576
+ },
1577
+ "ConsumedCapacityUnits": {
1578
+ "shape_name": "ConsumedCapacityUnits",
1579
+ "type": "double",
1580
+ "documentation": "\n <p>The number of Capacity Units of the provisioned throughput of the table consumed during the operation.\n <code>GetItem</code>, <code>BatchGetItem</code>, <code>BatchWriteItem</code>, <code>Query</code>, and <code>Scan</code> operations consume\n <code>ReadCapacityUnits</code>, while <code>PutItem</code>, <code>UpdateItem</code>, and <code>DeleteItem</code>\n operations consume <code>WriteCapacityUnits</code>.</p>\n "
1581
+ }
1582
+ },
1583
+ "documentation": null
1584
+ },
1585
+ "errors": [
1586
+ {
1587
+ "shape_name": "ConditionalCheckFailedException",
1588
+ "type": "structure",
1589
+ "members": {
1590
+ "message": {
1591
+ "shape_name": "ErrorMessage",
1592
+ "type": "string",
1593
+ "documentation": null
1594
+ }
1595
+ },
1596
+ "documentation": "\n <p>This exception is thrown when an expected value does not match what was found in the system.</p>\n "
1597
+ },
1598
+ {
1599
+ "shape_name": "ProvisionedThroughputExceededException",
1600
+ "type": "structure",
1601
+ "members": {
1602
+ "message": {
1603
+ "shape_name": "ErrorMessage",
1604
+ "type": "string",
1605
+ "documentation": null
1606
+ }
1607
+ },
1608
+ "documentation": "\n <p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>\n "
1609
+ },
1610
+ {
1611
+ "shape_name": "ResourceNotFoundException",
1612
+ "type": "structure",
1613
+ "members": {
1614
+ "message": {
1615
+ "shape_name": "ErrorMessage",
1616
+ "type": "string",
1617
+ "documentation": null
1618
+ }
1619
+ },
1620
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
1621
+ },
1622
+ {
1623
+ "shape_name": "LimitExceededException",
1624
+ "type": "structure",
1625
+ "members": {
1626
+ "message": {
1627
+ "shape_name": "ErrorMessage",
1628
+ "type": "string",
1629
+ "documentation": null
1630
+ }
1631
+ },
1632
+ "documentation": "\n <p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>\n "
1633
+ },
1634
+ {
1635
+ "shape_name": "InternalServerError",
1636
+ "type": "structure",
1637
+ "members": {
1638
+ "message": {
1639
+ "shape_name": "ErrorMessage",
1640
+ "type": "string",
1641
+ "documentation": null
1642
+ }
1643
+ },
1644
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
1645
+ }
1646
+ ],
1647
+ "documentation": "\n <p>Deletes a single item in a table by primary key.</p>\n\n <p>You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected\n attribute value.</p>\n\n "
1648
+ },
1649
+ "DeleteTable": {
1650
+ "name": "DeleteTable",
1651
+ "input": {
1652
+ "shape_name": "DeleteTableInput",
1653
+ "type": "structure",
1654
+ "members": {
1655
+ "TableName": {
1656
+ "shape_name": "TableName",
1657
+ "type": "string",
1658
+ "min_length": 3,
1659
+ "max_length": 255,
1660
+ "pattern": "[a-zA-Z0-9_.-]+",
1661
+ "documentation": "\n <p>The name of the table you want to delete. Allowed characters are <code>a-z</code>, <code>A-Z</code>,\n <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>\n ",
1662
+ "required": true
1663
+ }
1664
+ },
1665
+ "documentation": null
1666
+ },
1667
+ "output": {
1668
+ "shape_name": "DeleteTableOutput",
1669
+ "type": "structure",
1670
+ "members": {
1671
+ "TableDescription": {
1672
+ "shape_name": "TableDescription",
1673
+ "type": "structure",
1674
+ "members": {
1675
+ "TableName": {
1676
+ "shape_name": "TableName",
1677
+ "type": "string",
1678
+ "min_length": 3,
1679
+ "max_length": 255,
1680
+ "pattern": "[a-zA-Z0-9_.-]+",
1681
+ "documentation": "\n <p>The name of the table being described.</p>\n "
1682
+ },
1683
+ "KeySchema": {
1684
+ "shape_name": "KeySchema",
1685
+ "type": "structure",
1686
+ "members": {
1687
+ "HashKeyElement": {
1688
+ "shape_name": "KeySchemaElement",
1689
+ "type": "structure",
1690
+ "members": {
1691
+ "AttributeName": {
1692
+ "shape_name": "KeySchemaAttributeName",
1693
+ "type": "string",
1694
+ "min_length": 1,
1695
+ "max_length": 255,
1696
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
1697
+ "required": true
1698
+ },
1699
+ "AttributeType": {
1700
+ "shape_name": "ScalarAttributeType",
1701
+ "type": "string",
1702
+ "enum": [
1703
+ "S",
1704
+ "N",
1705
+ "B"
1706
+ ],
1707
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
1708
+ "required": true
1709
+ }
1710
+ },
1711
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
1712
+ "required": true
1713
+ },
1714
+ "RangeKeyElement": {
1715
+ "shape_name": "KeySchemaElement",
1716
+ "type": "structure",
1717
+ "members": {
1718
+ "AttributeName": {
1719
+ "shape_name": "KeySchemaAttributeName",
1720
+ "type": "string",
1721
+ "min_length": 1,
1722
+ "max_length": 255,
1723
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
1724
+ "required": true
1725
+ },
1726
+ "AttributeType": {
1727
+ "shape_name": "ScalarAttributeType",
1728
+ "type": "string",
1729
+ "enum": [
1730
+ "S",
1731
+ "N",
1732
+ "B"
1733
+ ],
1734
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
1735
+ "required": true
1736
+ }
1737
+ },
1738
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
1739
+ }
1740
+ },
1741
+ "documentation": "\n <p>The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute\n (hash-and-range) primary key. Single attribute primary keys have one index value: a <code>HashKeyElement</code>.\n A composite hash-and-range primary key contains two attribute values: a <code>HashKeyElement</code> and a\n <code>RangeKeyElement</code>.</p>\n "
1742
+ },
1743
+ "TableStatus": {
1744
+ "shape_name": "TableStatus",
1745
+ "type": "string",
1746
+ "enum": [
1747
+ "CREATING",
1748
+ "UPDATING",
1749
+ "DELETING",
1750
+ "ACTIVE"
1751
+ ],
1752
+ "documentation": null
1753
+ },
1754
+ "CreationDateTime": {
1755
+ "shape_name": "Date",
1756
+ "type": "timestamp",
1757
+ "documentation": null
1758
+ },
1759
+ "ProvisionedThroughput": {
1760
+ "shape_name": "ProvisionedThroughputDescription",
1761
+ "type": "structure",
1762
+ "members": {
1763
+ "LastIncreaseDateTime": {
1764
+ "shape_name": "Date",
1765
+ "type": "timestamp",
1766
+ "documentation": null
1767
+ },
1768
+ "LastDecreaseDateTime": {
1769
+ "shape_name": "Date",
1770
+ "type": "timestamp",
1771
+ "documentation": null
1772
+ },
1773
+ "NumberOfDecreasesToday": {
1774
+ "shape_name": "PositiveLongObject",
1775
+ "type": "long",
1776
+ "min_length": 1,
1777
+ "documentation": null
1778
+ },
1779
+ "ReadCapacityUnits": {
1780
+ "shape_name": "PositiveLongObject",
1781
+ "type": "long",
1782
+ "min_length": 1,
1783
+ "documentation": null
1784
+ },
1785
+ "WriteCapacityUnits": {
1786
+ "shape_name": "PositiveLongObject",
1787
+ "type": "long",
1788
+ "min_length": 1,
1789
+ "documentation": null
1790
+ }
1791
+ },
1792
+ "documentation": null
1793
+ },
1794
+ "TableSizeBytes": {
1795
+ "shape_name": "Long",
1796
+ "type": "long",
1797
+ "documentation": null
1798
+ },
1799
+ "ItemCount": {
1800
+ "shape_name": "Long",
1801
+ "type": "long",
1802
+ "documentation": null
1803
+ }
1804
+ },
1805
+ "documentation": null
1806
+ }
1807
+ },
1808
+ "documentation": null
1809
+ },
1810
+ "errors": [
1811
+ {
1812
+ "shape_name": "ResourceInUseException",
1813
+ "type": "structure",
1814
+ "members": {
1815
+ "message": {
1816
+ "shape_name": "ErrorMessage",
1817
+ "type": "string",
1818
+ "documentation": null
1819
+ }
1820
+ },
1821
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
1822
+ },
1823
+ {
1824
+ "shape_name": "ResourceNotFoundException",
1825
+ "type": "structure",
1826
+ "members": {
1827
+ "message": {
1828
+ "shape_name": "ErrorMessage",
1829
+ "type": "string",
1830
+ "documentation": null
1831
+ }
1832
+ },
1833
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
1834
+ },
1835
+ {
1836
+ "shape_name": "LimitExceededException",
1837
+ "type": "structure",
1838
+ "members": {
1839
+ "message": {
1840
+ "shape_name": "ErrorMessage",
1841
+ "type": "string",
1842
+ "documentation": null
1843
+ }
1844
+ },
1845
+ "documentation": "\n <p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>\n "
1846
+ },
1847
+ {
1848
+ "shape_name": "InternalServerError",
1849
+ "type": "structure",
1850
+ "members": {
1851
+ "message": {
1852
+ "shape_name": "ErrorMessage",
1853
+ "type": "string",
1854
+ "documentation": null
1855
+ }
1856
+ },
1857
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
1858
+ }
1859
+ ],
1860
+ "documentation": "\n <p>Deletes a table and all of its items.</p>\n\n <p>If the table is in the <code>ACTIVE</code> state, you can delete it. If a table is in <code>CREATING</code> or\n <code>UPDATING</code> states then Amazon DynamoDB returns a <code>ResourceInUseException</code>. If\n the specified table does not exist, Amazon DynamoDB returns a <code>ResourceNotFoundException</code>.</p>\n\n "
1861
+ },
1862
+ "DescribeTable": {
1863
+ "name": "DescribeTable",
1864
+ "input": {
1865
+ "shape_name": "DescribeTableInput",
1866
+ "type": "structure",
1867
+ "members": {
1868
+ "TableName": {
1869
+ "shape_name": "TableName",
1870
+ "type": "string",
1871
+ "min_length": 3,
1872
+ "max_length": 255,
1873
+ "pattern": "[a-zA-Z0-9_.-]+",
1874
+ "documentation": "\n <p>The name of the table you want to describe. Allowed characters are <code>a-z</code>, <code>A-Z</code>,\n <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>\n ",
1875
+ "required": true
1876
+ }
1877
+ },
1878
+ "documentation": null
1879
+ },
1880
+ "output": {
1881
+ "shape_name": "DescribeTableOutput",
1882
+ "type": "structure",
1883
+ "members": {
1884
+ "Table": {
1885
+ "shape_name": "TableDescription",
1886
+ "type": "structure",
1887
+ "members": {
1888
+ "TableName": {
1889
+ "shape_name": "TableName",
1890
+ "type": "string",
1891
+ "min_length": 3,
1892
+ "max_length": 255,
1893
+ "pattern": "[a-zA-Z0-9_.-]+",
1894
+ "documentation": "\n <p>The name of the table being described.</p>\n "
1895
+ },
1896
+ "KeySchema": {
1897
+ "shape_name": "KeySchema",
1898
+ "type": "structure",
1899
+ "members": {
1900
+ "HashKeyElement": {
1901
+ "shape_name": "KeySchemaElement",
1902
+ "type": "structure",
1903
+ "members": {
1904
+ "AttributeName": {
1905
+ "shape_name": "KeySchemaAttributeName",
1906
+ "type": "string",
1907
+ "min_length": 1,
1908
+ "max_length": 255,
1909
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
1910
+ "required": true
1911
+ },
1912
+ "AttributeType": {
1913
+ "shape_name": "ScalarAttributeType",
1914
+ "type": "string",
1915
+ "enum": [
1916
+ "S",
1917
+ "N",
1918
+ "B"
1919
+ ],
1920
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
1921
+ "required": true
1922
+ }
1923
+ },
1924
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
1925
+ "required": true
1926
+ },
1927
+ "RangeKeyElement": {
1928
+ "shape_name": "KeySchemaElement",
1929
+ "type": "structure",
1930
+ "members": {
1931
+ "AttributeName": {
1932
+ "shape_name": "KeySchemaAttributeName",
1933
+ "type": "string",
1934
+ "min_length": 1,
1935
+ "max_length": 255,
1936
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
1937
+ "required": true
1938
+ },
1939
+ "AttributeType": {
1940
+ "shape_name": "ScalarAttributeType",
1941
+ "type": "string",
1942
+ "enum": [
1943
+ "S",
1944
+ "N",
1945
+ "B"
1946
+ ],
1947
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
1948
+ "required": true
1949
+ }
1950
+ },
1951
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
1952
+ }
1953
+ },
1954
+ "documentation": "\n <p>The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute\n (hash-and-range) primary key. Single attribute primary keys have one index value: a <code>HashKeyElement</code>.\n A composite hash-and-range primary key contains two attribute values: a <code>HashKeyElement</code> and a\n <code>RangeKeyElement</code>.</p>\n "
1955
+ },
1956
+ "TableStatus": {
1957
+ "shape_name": "TableStatus",
1958
+ "type": "string",
1959
+ "enum": [
1960
+ "CREATING",
1961
+ "UPDATING",
1962
+ "DELETING",
1963
+ "ACTIVE"
1964
+ ],
1965
+ "documentation": null
1966
+ },
1967
+ "CreationDateTime": {
1968
+ "shape_name": "Date",
1969
+ "type": "timestamp",
1970
+ "documentation": null
1971
+ },
1972
+ "ProvisionedThroughput": {
1973
+ "shape_name": "ProvisionedThroughputDescription",
1974
+ "type": "structure",
1975
+ "members": {
1976
+ "LastIncreaseDateTime": {
1977
+ "shape_name": "Date",
1978
+ "type": "timestamp",
1979
+ "documentation": null
1980
+ },
1981
+ "LastDecreaseDateTime": {
1982
+ "shape_name": "Date",
1983
+ "type": "timestamp",
1984
+ "documentation": null
1985
+ },
1986
+ "NumberOfDecreasesToday": {
1987
+ "shape_name": "PositiveLongObject",
1988
+ "type": "long",
1989
+ "min_length": 1,
1990
+ "documentation": null
1991
+ },
1992
+ "ReadCapacityUnits": {
1993
+ "shape_name": "PositiveLongObject",
1994
+ "type": "long",
1995
+ "min_length": 1,
1996
+ "documentation": null
1997
+ },
1998
+ "WriteCapacityUnits": {
1999
+ "shape_name": "PositiveLongObject",
2000
+ "type": "long",
2001
+ "min_length": 1,
2002
+ "documentation": null
2003
+ }
2004
+ },
2005
+ "documentation": null
2006
+ },
2007
+ "TableSizeBytes": {
2008
+ "shape_name": "Long",
2009
+ "type": "long",
2010
+ "documentation": null
2011
+ },
2012
+ "ItemCount": {
2013
+ "shape_name": "Long",
2014
+ "type": "long",
2015
+ "documentation": null
2016
+ }
2017
+ },
2018
+ "documentation": null
2019
+ }
2020
+ },
2021
+ "documentation": null
2022
+ },
2023
+ "errors": [
2024
+ {
2025
+ "shape_name": "ResourceNotFoundException",
2026
+ "type": "structure",
2027
+ "members": {
2028
+ "message": {
2029
+ "shape_name": "ErrorMessage",
2030
+ "type": "string",
2031
+ "documentation": null
2032
+ }
2033
+ },
2034
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
2035
+ },
2036
+ {
2037
+ "shape_name": "InternalServerError",
2038
+ "type": "structure",
2039
+ "members": {
2040
+ "message": {
2041
+ "shape_name": "ErrorMessage",
2042
+ "type": "string",
2043
+ "documentation": null
2044
+ }
2045
+ },
2046
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
2047
+ }
2048
+ ],
2049
+ "documentation": "\n <p>Retrieves information about the table, including the current status of the table, the primary key schema and\n when the table was created.</p>\n\n <p>If the table does not exist, Amazon DynamoDB returns a <code>ResourceNotFoundException</code>.</p>\n\n "
2050
+ },
2051
+ "GetItem": {
2052
+ "name": "GetItem",
2053
+ "input": {
2054
+ "shape_name": "GetItemInput",
2055
+ "type": "structure",
2056
+ "members": {
2057
+ "TableName": {
2058
+ "shape_name": "TableName",
2059
+ "type": "string",
2060
+ "min_length": 3,
2061
+ "max_length": 255,
2062
+ "pattern": "[a-zA-Z0-9_.-]+",
2063
+ "documentation": "\n <p>The name of the table in which you want to get an item. Allowed characters are <code>a-z</code>, <code>A-Z</code>,\n <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>\n ",
2064
+ "required": true
2065
+ },
2066
+ "Key": {
2067
+ "shape_name": "Key",
2068
+ "type": "structure",
2069
+ "members": {
2070
+ "HashKeyElement": {
2071
+ "shape_name": "AttributeValue",
2072
+ "type": "structure",
2073
+ "members": {
2074
+ "S": {
2075
+ "shape_name": "StringAttributeValue",
2076
+ "type": "string",
2077
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2078
+ },
2079
+ "N": {
2080
+ "shape_name": "NumberAttributeValue",
2081
+ "type": "string",
2082
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2083
+ },
2084
+ "B": {
2085
+ "shape_name": "BinaryAttributeValue",
2086
+ "type": "blob",
2087
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2088
+ },
2089
+ "SS": {
2090
+ "shape_name": "StringSetAttributeValue",
2091
+ "type": "list",
2092
+ "members": {
2093
+ "shape_name": "StringAttributeValue",
2094
+ "type": "string",
2095
+ "documentation": null
2096
+ },
2097
+ "documentation": "\n <p>A set of strings.</p>\n "
2098
+ },
2099
+ "NS": {
2100
+ "shape_name": "NumberSetAttributeValue",
2101
+ "type": "list",
2102
+ "members": {
2103
+ "shape_name": "NumberAttributeValue",
2104
+ "type": "string",
2105
+ "documentation": null
2106
+ },
2107
+ "documentation": "\n <p>A set of numbers.</p>\n "
2108
+ },
2109
+ "BS": {
2110
+ "shape_name": "BinarySetAttributeValue",
2111
+ "type": "list",
2112
+ "members": {
2113
+ "shape_name": "BinaryAttributeValue",
2114
+ "type": "blob",
2115
+ "documentation": null
2116
+ },
2117
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2118
+ }
2119
+ },
2120
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
2121
+ "required": true
2122
+ },
2123
+ "RangeKeyElement": {
2124
+ "shape_name": "AttributeValue",
2125
+ "type": "structure",
2126
+ "members": {
2127
+ "S": {
2128
+ "shape_name": "StringAttributeValue",
2129
+ "type": "string",
2130
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2131
+ },
2132
+ "N": {
2133
+ "shape_name": "NumberAttributeValue",
2134
+ "type": "string",
2135
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2136
+ },
2137
+ "B": {
2138
+ "shape_name": "BinaryAttributeValue",
2139
+ "type": "blob",
2140
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2141
+ },
2142
+ "SS": {
2143
+ "shape_name": "StringSetAttributeValue",
2144
+ "type": "list",
2145
+ "members": {
2146
+ "shape_name": "StringAttributeValue",
2147
+ "type": "string",
2148
+ "documentation": null
2149
+ },
2150
+ "documentation": "\n <p>A set of strings.</p>\n "
2151
+ },
2152
+ "NS": {
2153
+ "shape_name": "NumberSetAttributeValue",
2154
+ "type": "list",
2155
+ "members": {
2156
+ "shape_name": "NumberAttributeValue",
2157
+ "type": "string",
2158
+ "documentation": null
2159
+ },
2160
+ "documentation": "\n <p>A set of numbers.</p>\n "
2161
+ },
2162
+ "BS": {
2163
+ "shape_name": "BinarySetAttributeValue",
2164
+ "type": "list",
2165
+ "members": {
2166
+ "shape_name": "BinaryAttributeValue",
2167
+ "type": "blob",
2168
+ "documentation": null
2169
+ },
2170
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2171
+ }
2172
+ },
2173
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
2174
+ }
2175
+ },
2176
+ "documentation": "\n <p>The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash)\n primary key or a two attribute (hash-and-range) primary key.</p>\n ",
2177
+ "required": true
2178
+ },
2179
+ "AttributesToGet": {
2180
+ "shape_name": "AttributeNameList",
2181
+ "type": "list",
2182
+ "members": {
2183
+ "shape_name": "AttributeName",
2184
+ "type": "string",
2185
+ "documentation": null
2186
+ },
2187
+ "min_length": 1,
2188
+ "documentation": "\n <p>List of <code>Attribute</code> names. If attribute names are not specified then all attributes will be returned.\n If some attributes are not found, they will not appear in the result.</p>\n "
2189
+ },
2190
+ "ConsistentRead": {
2191
+ "shape_name": "ConsistentRead",
2192
+ "type": "boolean",
2193
+ "documentation": "\n <p>If set to <code>true</code>, then a consistent read is issued. Otherwise eventually-consistent is used.</p>\n "
2194
+ }
2195
+ },
2196
+ "documentation": null
2197
+ },
2198
+ "output": {
2199
+ "shape_name": "GetItemOutput",
2200
+ "type": "structure",
2201
+ "members": {
2202
+ "Item": {
2203
+ "shape_name": "AttributeMap",
2204
+ "type": "map",
2205
+ "keys": {
2206
+ "shape_name": "AttributeName",
2207
+ "type": "string",
2208
+ "documentation": null
2209
+ },
2210
+ "members": {
2211
+ "shape_name": "AttributeValue",
2212
+ "type": "structure",
2213
+ "members": {
2214
+ "S": {
2215
+ "shape_name": "StringAttributeValue",
2216
+ "type": "string",
2217
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2218
+ },
2219
+ "N": {
2220
+ "shape_name": "NumberAttributeValue",
2221
+ "type": "string",
2222
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2223
+ },
2224
+ "B": {
2225
+ "shape_name": "BinaryAttributeValue",
2226
+ "type": "blob",
2227
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2228
+ },
2229
+ "SS": {
2230
+ "shape_name": "StringSetAttributeValue",
2231
+ "type": "list",
2232
+ "members": {
2233
+ "shape_name": "StringAttributeValue",
2234
+ "type": "string",
2235
+ "documentation": null
2236
+ },
2237
+ "documentation": "\n <p>A set of strings.</p>\n "
2238
+ },
2239
+ "NS": {
2240
+ "shape_name": "NumberSetAttributeValue",
2241
+ "type": "list",
2242
+ "members": {
2243
+ "shape_name": "NumberAttributeValue",
2244
+ "type": "string",
2245
+ "documentation": null
2246
+ },
2247
+ "documentation": "\n <p>A set of numbers.</p>\n "
2248
+ },
2249
+ "BS": {
2250
+ "shape_name": "BinarySetAttributeValue",
2251
+ "type": "list",
2252
+ "members": {
2253
+ "shape_name": "BinaryAttributeValue",
2254
+ "type": "blob",
2255
+ "documentation": null
2256
+ },
2257
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2258
+ }
2259
+ },
2260
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
2261
+ },
2262
+ "documentation": "\n <p>Contains the requested attributes.</p>\n "
2263
+ },
2264
+ "ConsumedCapacityUnits": {
2265
+ "shape_name": "ConsumedCapacityUnits",
2266
+ "type": "double",
2267
+ "documentation": "\n <p>The number of Capacity Units of the provisioned throughput of the table consumed during the operation.\n <code>GetItem</code>, <code>BatchGetItem</code>, <code>BatchWriteItem</code>, <code>Query</code>, and <code>Scan</code> operations consume\n <code>ReadCapacityUnits</code>, while <code>PutItem</code>, <code>UpdateItem</code>, and <code>DeleteItem</code>\n operations consume <code>WriteCapacityUnits</code>.</p>\n "
2268
+ }
2269
+ },
2270
+ "documentation": null
2271
+ },
2272
+ "errors": [
2273
+ {
2274
+ "shape_name": "ProvisionedThroughputExceededException",
2275
+ "type": "structure",
2276
+ "members": {
2277
+ "message": {
2278
+ "shape_name": "ErrorMessage",
2279
+ "type": "string",
2280
+ "documentation": null
2281
+ }
2282
+ },
2283
+ "documentation": "\n <p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>\n "
2284
+ },
2285
+ {
2286
+ "shape_name": "ResourceNotFoundException",
2287
+ "type": "structure",
2288
+ "members": {
2289
+ "message": {
2290
+ "shape_name": "ErrorMessage",
2291
+ "type": "string",
2292
+ "documentation": null
2293
+ }
2294
+ },
2295
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
2296
+ },
2297
+ {
2298
+ "shape_name": "InternalServerError",
2299
+ "type": "structure",
2300
+ "members": {
2301
+ "message": {
2302
+ "shape_name": "ErrorMessage",
2303
+ "type": "string",
2304
+ "documentation": null
2305
+ }
2306
+ },
2307
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
2308
+ }
2309
+ ],
2310
+ "documentation": "\n <p>Retrieves a set of Attributes for an item that matches the primary key.</p>\n\n <p>The <code>GetItem</code> operation provides an eventually-consistent read by default. If eventually-consistent\n reads are not acceptable for your application, use <code>ConsistentRead</code>. Although this operation might\n take longer than a standard read, it always returns the last updated value.</p>\n\n "
2311
+ },
2312
+ "ListTables": {
2313
+ "name": "ListTables",
2314
+ "input": {
2315
+ "shape_name": "ListTablesInput",
2316
+ "type": "structure",
2317
+ "members": {
2318
+ "ExclusiveStartTableName": {
2319
+ "shape_name": "TableName",
2320
+ "type": "string",
2321
+ "min_length": 3,
2322
+ "max_length": 255,
2323
+ "pattern": "[a-zA-Z0-9_.-]+",
2324
+ "documentation": "\n <p>The name of the table that starts the list. If you already ran a <code>ListTables</code> operation and received\n a <code>LastEvaluatedTableName</code> value in the response, use that value here to continue the list.</p>\n "
2325
+ },
2326
+ "Limit": {
2327
+ "shape_name": "ListTablesInputLimit",
2328
+ "type": "integer",
2329
+ "min_length": 1,
2330
+ "max_length": 100,
2331
+ "documentation": "\n <p>A number of maximum table names to return.</p>\n "
2332
+ }
2333
+ },
2334
+ "documentation": null
2335
+ },
2336
+ "output": {
2337
+ "shape_name": "ListTablesOutput",
2338
+ "type": "structure",
2339
+ "members": {
2340
+ "TableNames": {
2341
+ "shape_name": "TableNameList",
2342
+ "type": "list",
2343
+ "members": {
2344
+ "shape_name": "TableName",
2345
+ "type": "string",
2346
+ "min_length": 3,
2347
+ "max_length": 255,
2348
+ "pattern": "[a-zA-Z0-9_.-]+",
2349
+ "documentation": null
2350
+ },
2351
+ "documentation": null
2352
+ },
2353
+ "LastEvaluatedTableName": {
2354
+ "shape_name": "TableName",
2355
+ "type": "string",
2356
+ "min_length": 3,
2357
+ "max_length": 255,
2358
+ "pattern": "[a-zA-Z0-9_.-]+",
2359
+ "documentation": "\n <p>The name of the last table in the current list. Use this value as the <code>ExclusiveStartTableName</code> in a\n new request to continue the list until all the table names are returned. If this value is null, all table names\n have been returned.</p>\n "
2360
+ }
2361
+ },
2362
+ "documentation": null
2363
+ },
2364
+ "errors": [
2365
+ {
2366
+ "shape_name": "InternalServerError",
2367
+ "type": "structure",
2368
+ "members": {
2369
+ "message": {
2370
+ "shape_name": "ErrorMessage",
2371
+ "type": "string",
2372
+ "documentation": null
2373
+ }
2374
+ },
2375
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
2376
+ }
2377
+ ],
2378
+ "documentation": "\n <p>Retrieves a paginated list of table names created by the AWS Account of the caller in the AWS Region (e.g.\n <code>us-east-1</code>).</p>\n\n "
2379
+ },
2380
+ "PutItem": {
2381
+ "name": "PutItem",
2382
+ "input": {
2383
+ "shape_name": "PutItemInput",
2384
+ "type": "structure",
2385
+ "members": {
2386
+ "TableName": {
2387
+ "shape_name": "TableName",
2388
+ "type": "string",
2389
+ "min_length": 3,
2390
+ "max_length": 255,
2391
+ "pattern": "[a-zA-Z0-9_.-]+",
2392
+ "documentation": "\n <p>The name of the table in which you want to put an item. Allowed characters are <code>a-z</code>, <code>A-Z</code>,\n <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>\n ",
2393
+ "required": true
2394
+ },
2395
+ "Item": {
2396
+ "shape_name": "PutItemInputAttributeMap",
2397
+ "type": "map",
2398
+ "keys": {
2399
+ "shape_name": "AttributeName",
2400
+ "type": "string",
2401
+ "documentation": null
2402
+ },
2403
+ "members": {
2404
+ "shape_name": "AttributeValue",
2405
+ "type": "structure",
2406
+ "members": {
2407
+ "S": {
2408
+ "shape_name": "StringAttributeValue",
2409
+ "type": "string",
2410
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2411
+ },
2412
+ "N": {
2413
+ "shape_name": "NumberAttributeValue",
2414
+ "type": "string",
2415
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2416
+ },
2417
+ "B": {
2418
+ "shape_name": "BinaryAttributeValue",
2419
+ "type": "blob",
2420
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2421
+ },
2422
+ "SS": {
2423
+ "shape_name": "StringSetAttributeValue",
2424
+ "type": "list",
2425
+ "members": {
2426
+ "shape_name": "StringAttributeValue",
2427
+ "type": "string",
2428
+ "documentation": null
2429
+ },
2430
+ "documentation": "\n <p>A set of strings.</p>\n "
2431
+ },
2432
+ "NS": {
2433
+ "shape_name": "NumberSetAttributeValue",
2434
+ "type": "list",
2435
+ "members": {
2436
+ "shape_name": "NumberAttributeValue",
2437
+ "type": "string",
2438
+ "documentation": null
2439
+ },
2440
+ "documentation": "\n <p>A set of numbers.</p>\n "
2441
+ },
2442
+ "BS": {
2443
+ "shape_name": "BinarySetAttributeValue",
2444
+ "type": "list",
2445
+ "members": {
2446
+ "shape_name": "BinaryAttributeValue",
2447
+ "type": "blob",
2448
+ "documentation": null
2449
+ },
2450
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2451
+ }
2452
+ },
2453
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
2454
+ },
2455
+ "documentation": "\n <p>A map of the attributes for the item, and must include the primary key values that define the item. Other\n attribute name-value pairs can be provided for the item.</p>\n ",
2456
+ "required": true
2457
+ },
2458
+ "Expected": {
2459
+ "shape_name": "ExpectedAttributeMap",
2460
+ "type": "map",
2461
+ "keys": {
2462
+ "shape_name": "AttributeName",
2463
+ "type": "string",
2464
+ "documentation": null
2465
+ },
2466
+ "members": {
2467
+ "shape_name": "ExpectedAttributeValue",
2468
+ "type": "structure",
2469
+ "members": {
2470
+ "Value": {
2471
+ "shape_name": "AttributeValue",
2472
+ "type": "structure",
2473
+ "members": {
2474
+ "S": {
2475
+ "shape_name": "StringAttributeValue",
2476
+ "type": "string",
2477
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2478
+ },
2479
+ "N": {
2480
+ "shape_name": "NumberAttributeValue",
2481
+ "type": "string",
2482
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2483
+ },
2484
+ "B": {
2485
+ "shape_name": "BinaryAttributeValue",
2486
+ "type": "blob",
2487
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2488
+ },
2489
+ "SS": {
2490
+ "shape_name": "StringSetAttributeValue",
2491
+ "type": "list",
2492
+ "members": {
2493
+ "shape_name": "StringAttributeValue",
2494
+ "type": "string",
2495
+ "documentation": null
2496
+ },
2497
+ "documentation": "\n <p>A set of strings.</p>\n "
2498
+ },
2499
+ "NS": {
2500
+ "shape_name": "NumberSetAttributeValue",
2501
+ "type": "list",
2502
+ "members": {
2503
+ "shape_name": "NumberAttributeValue",
2504
+ "type": "string",
2505
+ "documentation": null
2506
+ },
2507
+ "documentation": "\n <p>A set of numbers.</p>\n "
2508
+ },
2509
+ "BS": {
2510
+ "shape_name": "BinarySetAttributeValue",
2511
+ "type": "list",
2512
+ "members": {
2513
+ "shape_name": "BinaryAttributeValue",
2514
+ "type": "blob",
2515
+ "documentation": null
2516
+ },
2517
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2518
+ }
2519
+ },
2520
+ "documentation": "\n <p>Specify whether or not a value already exists and has a specific content for the attribute name-value pair.</p>\n "
2521
+ },
2522
+ "Exists": {
2523
+ "shape_name": "BooleanObject",
2524
+ "type": "boolean",
2525
+ "documentation": "\n <p>Specify whether or not a value already exists for the attribute name-value pair.</p>\n "
2526
+ }
2527
+ },
2528
+ "documentation": "\n <p>Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute\n value already exists; or if the attribute value exists and has a particular value before changing it.</p>\n "
2529
+ },
2530
+ "documentation": "\n <p>Designates an attribute for a conditional modification. The <code>Expected</code> parameter allows you to provide\n an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value\n before modifying it.</p>\n "
2531
+ },
2532
+ "ReturnValues": {
2533
+ "shape_name": "ReturnValue",
2534
+ "type": "string",
2535
+ "enum": [
2536
+ "NONE",
2537
+ "ALL_OLD",
2538
+ "UPDATED_OLD",
2539
+ "ALL_NEW",
2540
+ "UPDATED_NEW"
2541
+ ],
2542
+ "documentation": "\n <p>Use this parameter if you want to get the attribute name-value pairs before or after they are modified. For\n <code>PUT</code> operations, the possible parameter values are <code>NONE</code> (default) or\n <code>ALL_OLD</code>. For update operations, the possible parameter values are <code>NONE</code> (default) or\n <code>ALL_OLD</code>, <code>UPDATED_OLD</code>, <code>ALL_NEW</code> or <code>UPDATED_NEW</code>.</p>\n <ul>\n <li>\n<code>NONE</code>: Nothing is returned.</li>\n <li>\n<code>ALL_OLD</code>: Returns the attributes of the item as they were before the operation.</li>\n <li>\n<code>UPDATED_OLD</code>: Returns the values of the updated attributes, only, as they were before the operation.</li>\n <li>\n<code>ALL_NEW</code>: Returns all the attributes and their new values after the operation.</li>\n <li>\n<code>UPDATED_NEW</code>: Returns the values of the updated attributes, only, as they are after the operation.</li>\n </ul>\n "
2543
+ }
2544
+ },
2545
+ "documentation": null
2546
+ },
2547
+ "output": {
2548
+ "shape_name": "PutItemOutput",
2549
+ "type": "structure",
2550
+ "members": {
2551
+ "Attributes": {
2552
+ "shape_name": "AttributeMap",
2553
+ "type": "map",
2554
+ "keys": {
2555
+ "shape_name": "AttributeName",
2556
+ "type": "string",
2557
+ "documentation": null
2558
+ },
2559
+ "members": {
2560
+ "shape_name": "AttributeValue",
2561
+ "type": "structure",
2562
+ "members": {
2563
+ "S": {
2564
+ "shape_name": "StringAttributeValue",
2565
+ "type": "string",
2566
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2567
+ },
2568
+ "N": {
2569
+ "shape_name": "NumberAttributeValue",
2570
+ "type": "string",
2571
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2572
+ },
2573
+ "B": {
2574
+ "shape_name": "BinaryAttributeValue",
2575
+ "type": "blob",
2576
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2577
+ },
2578
+ "SS": {
2579
+ "shape_name": "StringSetAttributeValue",
2580
+ "type": "list",
2581
+ "members": {
2582
+ "shape_name": "StringAttributeValue",
2583
+ "type": "string",
2584
+ "documentation": null
2585
+ },
2586
+ "documentation": "\n <p>A set of strings.</p>\n "
2587
+ },
2588
+ "NS": {
2589
+ "shape_name": "NumberSetAttributeValue",
2590
+ "type": "list",
2591
+ "members": {
2592
+ "shape_name": "NumberAttributeValue",
2593
+ "type": "string",
2594
+ "documentation": null
2595
+ },
2596
+ "documentation": "\n <p>A set of numbers.</p>\n "
2597
+ },
2598
+ "BS": {
2599
+ "shape_name": "BinarySetAttributeValue",
2600
+ "type": "list",
2601
+ "members": {
2602
+ "shape_name": "BinaryAttributeValue",
2603
+ "type": "blob",
2604
+ "documentation": null
2605
+ },
2606
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2607
+ }
2608
+ },
2609
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
2610
+ },
2611
+ "documentation": "\n <p>Attribute values before the put operation, but only if the <code>ReturnValues</code> parameter is specified as\n <code>ALL_OLD</code> in the request.</p>\n "
2612
+ },
2613
+ "ConsumedCapacityUnits": {
2614
+ "shape_name": "ConsumedCapacityUnits",
2615
+ "type": "double",
2616
+ "documentation": "\n <p>The number of Capacity Units of the provisioned throughput of the table consumed during the operation.\n <code>GetItem</code>, <code>BatchGetItem</code>, <code>BatchWriteItem</code>, <code>Query</code>, and <code>Scan</code> operations consume\n <code>ReadCapacityUnits</code>, while <code>PutItem</code>, <code>UpdateItem</code>, and <code>DeleteItem</code>\n operations consume <code>WriteCapacityUnits</code>.</p>\n "
2617
+ }
2618
+ },
2619
+ "documentation": null
2620
+ },
2621
+ "errors": [
2622
+ {
2623
+ "shape_name": "ConditionalCheckFailedException",
2624
+ "type": "structure",
2625
+ "members": {
2626
+ "message": {
2627
+ "shape_name": "ErrorMessage",
2628
+ "type": "string",
2629
+ "documentation": null
2630
+ }
2631
+ },
2632
+ "documentation": "\n <p>This exception is thrown when an expected value does not match what was found in the system.</p>\n "
2633
+ },
2634
+ {
2635
+ "shape_name": "ProvisionedThroughputExceededException",
2636
+ "type": "structure",
2637
+ "members": {
2638
+ "message": {
2639
+ "shape_name": "ErrorMessage",
2640
+ "type": "string",
2641
+ "documentation": null
2642
+ }
2643
+ },
2644
+ "documentation": "\n <p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>\n "
2645
+ },
2646
+ {
2647
+ "shape_name": "ResourceNotFoundException",
2648
+ "type": "structure",
2649
+ "members": {
2650
+ "message": {
2651
+ "shape_name": "ErrorMessage",
2652
+ "type": "string",
2653
+ "documentation": null
2654
+ }
2655
+ },
2656
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
2657
+ },
2658
+ {
2659
+ "shape_name": "LimitExceededException",
2660
+ "type": "structure",
2661
+ "members": {
2662
+ "message": {
2663
+ "shape_name": "ErrorMessage",
2664
+ "type": "string",
2665
+ "documentation": null
2666
+ }
2667
+ },
2668
+ "documentation": "\n <p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>\n "
2669
+ },
2670
+ {
2671
+ "shape_name": "InternalServerError",
2672
+ "type": "structure",
2673
+ "members": {
2674
+ "message": {
2675
+ "shape_name": "ErrorMessage",
2676
+ "type": "string",
2677
+ "documentation": null
2678
+ }
2679
+ },
2680
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
2681
+ }
2682
+ ],
2683
+ "documentation": "\n <p>Creates a new item, or replaces an old item with a new item (including all the attributes).</p>\n\n <p>If an item already exists in the specified table with the same primary key, the new item completely replaces the\n existing item. You can perform a conditional put (insert a new item if one with the specified primary key doesn't\n exist), or replace an existing item if it has certain attribute values.</p>\n\n "
2684
+ },
2685
+ "Query": {
2686
+ "name": "Query",
2687
+ "input": {
2688
+ "shape_name": "QueryInput",
2689
+ "type": "structure",
2690
+ "members": {
2691
+ "TableName": {
2692
+ "shape_name": "TableName",
2693
+ "type": "string",
2694
+ "min_length": 3,
2695
+ "max_length": 255,
2696
+ "pattern": "[a-zA-Z0-9_.-]+",
2697
+ "documentation": "\n <p>The name of the table in which you want to query. Allowed characters are <code>a-z</code>, <code>A-Z</code>,\n <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>\n ",
2698
+ "required": true
2699
+ },
2700
+ "AttributesToGet": {
2701
+ "shape_name": "AttributeNameList",
2702
+ "type": "list",
2703
+ "members": {
2704
+ "shape_name": "AttributeName",
2705
+ "type": "string",
2706
+ "documentation": null
2707
+ },
2708
+ "min_length": 1,
2709
+ "documentation": "\n <p>List of <code>Attribute</code> names. If attribute names are not specified then all attributes will be returned.\n If some attributes are not found, they will not appear in the result.</p>\n "
2710
+ },
2711
+ "Limit": {
2712
+ "shape_name": "PositiveIntegerObject",
2713
+ "type": "integer",
2714
+ "min_length": 1,
2715
+ "documentation": "\n <p>The maximum number of items to return. If Amazon DynamoDB hits this limit while querying the table, it stops the\n query and returns the matching values up to the limit, and a <code>LastEvaluatedKey</code> to apply in a\n subsequent operation to continue the query. Also, if the result set size exceeds 1MB before Amazon DynamoDB hits\n this limit, it stops the query and returns the matching values, and a <code>LastEvaluatedKey</code> to apply in a\n subsequent operation to continue the query.</p>\n "
2716
+ },
2717
+ "ConsistentRead": {
2718
+ "shape_name": "ConsistentRead",
2719
+ "type": "boolean",
2720
+ "documentation": "\n <p>If set to <code>true</code>, then a consistent read is issued. Otherwise eventually-consistent is used.</p>\n "
2721
+ },
2722
+ "Count": {
2723
+ "shape_name": "BooleanObject",
2724
+ "type": "boolean",
2725
+ "documentation": "\n <p>If set to <code>true</code>, Amazon DynamoDB returns a total number of items that match the query parameters,\n instead of a list of the matching items and their attributes. Do not set <code>Count</code> to <code>true</code> while providing\n a list of <code>AttributesToGet</code>, otherwise Amazon DynamoDB returns a validation error.</p>\n "
2726
+ },
2727
+ "HashKeyValue": {
2728
+ "shape_name": "AttributeValue",
2729
+ "type": "structure",
2730
+ "members": {
2731
+ "S": {
2732
+ "shape_name": "StringAttributeValue",
2733
+ "type": "string",
2734
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2735
+ },
2736
+ "N": {
2737
+ "shape_name": "NumberAttributeValue",
2738
+ "type": "string",
2739
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2740
+ },
2741
+ "B": {
2742
+ "shape_name": "BinaryAttributeValue",
2743
+ "type": "blob",
2744
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2745
+ },
2746
+ "SS": {
2747
+ "shape_name": "StringSetAttributeValue",
2748
+ "type": "list",
2749
+ "members": {
2750
+ "shape_name": "StringAttributeValue",
2751
+ "type": "string",
2752
+ "documentation": null
2753
+ },
2754
+ "documentation": "\n <p>A set of strings.</p>\n "
2755
+ },
2756
+ "NS": {
2757
+ "shape_name": "NumberSetAttributeValue",
2758
+ "type": "list",
2759
+ "members": {
2760
+ "shape_name": "NumberAttributeValue",
2761
+ "type": "string",
2762
+ "documentation": null
2763
+ },
2764
+ "documentation": "\n <p>A set of numbers.</p>\n "
2765
+ },
2766
+ "BS": {
2767
+ "shape_name": "BinarySetAttributeValue",
2768
+ "type": "list",
2769
+ "members": {
2770
+ "shape_name": "BinaryAttributeValue",
2771
+ "type": "blob",
2772
+ "documentation": null
2773
+ },
2774
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2775
+ }
2776
+ },
2777
+ "documentation": "\n <p>Attribute value of the hash component of the composite primary key.</p>\n ",
2778
+ "required": true
2779
+ },
2780
+ "RangeKeyCondition": {
2781
+ "shape_name": "Condition",
2782
+ "type": "structure",
2783
+ "members": {
2784
+ "AttributeValueList": {
2785
+ "shape_name": "AttributeValueList",
2786
+ "type": "list",
2787
+ "members": {
2788
+ "shape_name": "AttributeValue",
2789
+ "type": "structure",
2790
+ "members": {
2791
+ "S": {
2792
+ "shape_name": "StringAttributeValue",
2793
+ "type": "string",
2794
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2795
+ },
2796
+ "N": {
2797
+ "shape_name": "NumberAttributeValue",
2798
+ "type": "string",
2799
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2800
+ },
2801
+ "B": {
2802
+ "shape_name": "BinaryAttributeValue",
2803
+ "type": "blob",
2804
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2805
+ },
2806
+ "SS": {
2807
+ "shape_name": "StringSetAttributeValue",
2808
+ "type": "list",
2809
+ "members": {
2810
+ "shape_name": "StringAttributeValue",
2811
+ "type": "string",
2812
+ "documentation": null
2813
+ },
2814
+ "documentation": "\n <p>A set of strings.</p>\n "
2815
+ },
2816
+ "NS": {
2817
+ "shape_name": "NumberSetAttributeValue",
2818
+ "type": "list",
2819
+ "members": {
2820
+ "shape_name": "NumberAttributeValue",
2821
+ "type": "string",
2822
+ "documentation": null
2823
+ },
2824
+ "documentation": "\n <p>A set of numbers.</p>\n "
2825
+ },
2826
+ "BS": {
2827
+ "shape_name": "BinarySetAttributeValue",
2828
+ "type": "list",
2829
+ "members": {
2830
+ "shape_name": "BinaryAttributeValue",
2831
+ "type": "blob",
2832
+ "documentation": null
2833
+ },
2834
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2835
+ }
2836
+ },
2837
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
2838
+ },
2839
+ "documentation": "\n <p>A list of attribute values to be used with a comparison operator for a scan or query operation. For comparisons\n that require more than one value, such as a <code>BETWEEN</code> comparison, the AttributeValueList contains\n two attribute values and the comparison operator.</p>\n "
2840
+ },
2841
+ "ComparisonOperator": {
2842
+ "shape_name": "ComparisonOperator",
2843
+ "type": "string",
2844
+ "enum": [
2845
+ "EQ",
2846
+ "NE",
2847
+ "IN",
2848
+ "LE",
2849
+ "LT",
2850
+ "GE",
2851
+ "GT",
2852
+ "BETWEEN",
2853
+ "NOT_NULL",
2854
+ "NULL",
2855
+ "CONTAINS",
2856
+ "NOT_CONTAINS",
2857
+ "BEGINS_WITH"
2858
+ ],
2859
+ "documentation": "\n <p>A comparison operator is an enumeration of several operations:</p>\n <ul>\n <li>\n<code>EQ</code> for <em>equal</em>.</li>\n <li>\n<code>NE</code> for <em>not equal</em>.</li>\n <li>\n<code>IN</code> checks for exact matches.</li>\n <li>\n<code>LE</code> for <em>less than or equal to</em>.</li>\n <li>\n<code>LT</code> for <em>less than</em>.</li>\n <li>\n<code>GE</code> for <em>greater than or equal to</em>.</li>\n <li>\n<code>GT</code> for <em>greater than</em>.</li>\n <li>\n<code>BETWEEN</code> for <em>between</em>.</li>\n <li>\n<code>NOT_NULL</code> for <em>exists</em>.</li>\n <li>\n<code>NULL</code> for <em>not exists</em>.</li>\n <li>\n<code>CONTAINS</code> for substring or value in a set.</li>\n <li>\n<code>NOT_CONTAINS</code> for absence of a substring or absence of a value in a set.</li>\n <li>\n<code>BEGINS_WITH</code> for a substring prefix.</li>\n </ul>\n <p>Scan operations support all available comparison operators.</p>\n <p>Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.</p>\n ",
2860
+ "required": true
2861
+ }
2862
+ },
2863
+ "documentation": "\n <p>A container for the attribute values and comparison operators to use for the query.</p>\n "
2864
+ },
2865
+ "ScanIndexForward": {
2866
+ "shape_name": "BooleanObject",
2867
+ "type": "boolean",
2868
+ "documentation": "\n <p>Specifies forward or backward traversal of the index. Amazon DynamoDB returns results reflecting the requested\n order, determined by the range key. The default value is <code>true</code> (forward).</p>\n "
2869
+ },
2870
+ "ExclusiveStartKey": {
2871
+ "shape_name": "Key",
2872
+ "type": "structure",
2873
+ "members": {
2874
+ "HashKeyElement": {
2875
+ "shape_name": "AttributeValue",
2876
+ "type": "structure",
2877
+ "members": {
2878
+ "S": {
2879
+ "shape_name": "StringAttributeValue",
2880
+ "type": "string",
2881
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2882
+ },
2883
+ "N": {
2884
+ "shape_name": "NumberAttributeValue",
2885
+ "type": "string",
2886
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2887
+ },
2888
+ "B": {
2889
+ "shape_name": "BinaryAttributeValue",
2890
+ "type": "blob",
2891
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2892
+ },
2893
+ "SS": {
2894
+ "shape_name": "StringSetAttributeValue",
2895
+ "type": "list",
2896
+ "members": {
2897
+ "shape_name": "StringAttributeValue",
2898
+ "type": "string",
2899
+ "documentation": null
2900
+ },
2901
+ "documentation": "\n <p>A set of strings.</p>\n "
2902
+ },
2903
+ "NS": {
2904
+ "shape_name": "NumberSetAttributeValue",
2905
+ "type": "list",
2906
+ "members": {
2907
+ "shape_name": "NumberAttributeValue",
2908
+ "type": "string",
2909
+ "documentation": null
2910
+ },
2911
+ "documentation": "\n <p>A set of numbers.</p>\n "
2912
+ },
2913
+ "BS": {
2914
+ "shape_name": "BinarySetAttributeValue",
2915
+ "type": "list",
2916
+ "members": {
2917
+ "shape_name": "BinaryAttributeValue",
2918
+ "type": "blob",
2919
+ "documentation": null
2920
+ },
2921
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2922
+ }
2923
+ },
2924
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
2925
+ "required": true
2926
+ },
2927
+ "RangeKeyElement": {
2928
+ "shape_name": "AttributeValue",
2929
+ "type": "structure",
2930
+ "members": {
2931
+ "S": {
2932
+ "shape_name": "StringAttributeValue",
2933
+ "type": "string",
2934
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
2935
+ },
2936
+ "N": {
2937
+ "shape_name": "NumberAttributeValue",
2938
+ "type": "string",
2939
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
2940
+ },
2941
+ "B": {
2942
+ "shape_name": "BinaryAttributeValue",
2943
+ "type": "blob",
2944
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
2945
+ },
2946
+ "SS": {
2947
+ "shape_name": "StringSetAttributeValue",
2948
+ "type": "list",
2949
+ "members": {
2950
+ "shape_name": "StringAttributeValue",
2951
+ "type": "string",
2952
+ "documentation": null
2953
+ },
2954
+ "documentation": "\n <p>A set of strings.</p>\n "
2955
+ },
2956
+ "NS": {
2957
+ "shape_name": "NumberSetAttributeValue",
2958
+ "type": "list",
2959
+ "members": {
2960
+ "shape_name": "NumberAttributeValue",
2961
+ "type": "string",
2962
+ "documentation": null
2963
+ },
2964
+ "documentation": "\n <p>A set of numbers.</p>\n "
2965
+ },
2966
+ "BS": {
2967
+ "shape_name": "BinarySetAttributeValue",
2968
+ "type": "list",
2969
+ "members": {
2970
+ "shape_name": "BinaryAttributeValue",
2971
+ "type": "blob",
2972
+ "documentation": null
2973
+ },
2974
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
2975
+ }
2976
+ },
2977
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
2978
+ }
2979
+ },
2980
+ "documentation": "\n <p>Primary key of the item from which to continue an earlier query. An earlier query might provide this value as the\n <code>LastEvaluatedKey</code> if that query operation was interrupted before completing the query; either because\n of the result set size or the <code>Limit</code> parameter. The <code>LastEvaluatedKey</code> can be passed back\n in a new query request to continue the operation from that point.</p>\n "
2981
+ }
2982
+ },
2983
+ "documentation": null
2984
+ },
2985
+ "output": {
2986
+ "shape_name": "QueryOutput",
2987
+ "type": "structure",
2988
+ "members": {
2989
+ "Items": {
2990
+ "shape_name": "ItemList",
2991
+ "type": "list",
2992
+ "members": {
2993
+ "shape_name": "AttributeMap",
2994
+ "type": "map",
2995
+ "keys": {
2996
+ "shape_name": "AttributeName",
2997
+ "type": "string",
2998
+ "documentation": null
2999
+ },
3000
+ "members": {
3001
+ "shape_name": "AttributeValue",
3002
+ "type": "structure",
3003
+ "members": {
3004
+ "S": {
3005
+ "shape_name": "StringAttributeValue",
3006
+ "type": "string",
3007
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3008
+ },
3009
+ "N": {
3010
+ "shape_name": "NumberAttributeValue",
3011
+ "type": "string",
3012
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3013
+ },
3014
+ "B": {
3015
+ "shape_name": "BinaryAttributeValue",
3016
+ "type": "blob",
3017
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3018
+ },
3019
+ "SS": {
3020
+ "shape_name": "StringSetAttributeValue",
3021
+ "type": "list",
3022
+ "members": {
3023
+ "shape_name": "StringAttributeValue",
3024
+ "type": "string",
3025
+ "documentation": null
3026
+ },
3027
+ "documentation": "\n <p>A set of strings.</p>\n "
3028
+ },
3029
+ "NS": {
3030
+ "shape_name": "NumberSetAttributeValue",
3031
+ "type": "list",
3032
+ "members": {
3033
+ "shape_name": "NumberAttributeValue",
3034
+ "type": "string",
3035
+ "documentation": null
3036
+ },
3037
+ "documentation": "\n <p>A set of numbers.</p>\n "
3038
+ },
3039
+ "BS": {
3040
+ "shape_name": "BinarySetAttributeValue",
3041
+ "type": "list",
3042
+ "members": {
3043
+ "shape_name": "BinaryAttributeValue",
3044
+ "type": "blob",
3045
+ "documentation": null
3046
+ },
3047
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3048
+ }
3049
+ },
3050
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
3051
+ },
3052
+ "documentation": null
3053
+ },
3054
+ "documentation": null
3055
+ },
3056
+ "Count": {
3057
+ "shape_name": "Integer",
3058
+ "type": "integer",
3059
+ "documentation": "\n <p>Number of items in the response.</p>\n "
3060
+ },
3061
+ "LastEvaluatedKey": {
3062
+ "shape_name": "Key",
3063
+ "type": "structure",
3064
+ "members": {
3065
+ "HashKeyElement": {
3066
+ "shape_name": "AttributeValue",
3067
+ "type": "structure",
3068
+ "members": {
3069
+ "S": {
3070
+ "shape_name": "StringAttributeValue",
3071
+ "type": "string",
3072
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3073
+ },
3074
+ "N": {
3075
+ "shape_name": "NumberAttributeValue",
3076
+ "type": "string",
3077
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3078
+ },
3079
+ "B": {
3080
+ "shape_name": "BinaryAttributeValue",
3081
+ "type": "blob",
3082
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3083
+ },
3084
+ "SS": {
3085
+ "shape_name": "StringSetAttributeValue",
3086
+ "type": "list",
3087
+ "members": {
3088
+ "shape_name": "StringAttributeValue",
3089
+ "type": "string",
3090
+ "documentation": null
3091
+ },
3092
+ "documentation": "\n <p>A set of strings.</p>\n "
3093
+ },
3094
+ "NS": {
3095
+ "shape_name": "NumberSetAttributeValue",
3096
+ "type": "list",
3097
+ "members": {
3098
+ "shape_name": "NumberAttributeValue",
3099
+ "type": "string",
3100
+ "documentation": null
3101
+ },
3102
+ "documentation": "\n <p>A set of numbers.</p>\n "
3103
+ },
3104
+ "BS": {
3105
+ "shape_name": "BinarySetAttributeValue",
3106
+ "type": "list",
3107
+ "members": {
3108
+ "shape_name": "BinaryAttributeValue",
3109
+ "type": "blob",
3110
+ "documentation": null
3111
+ },
3112
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3113
+ }
3114
+ },
3115
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
3116
+ "required": true
3117
+ },
3118
+ "RangeKeyElement": {
3119
+ "shape_name": "AttributeValue",
3120
+ "type": "structure",
3121
+ "members": {
3122
+ "S": {
3123
+ "shape_name": "StringAttributeValue",
3124
+ "type": "string",
3125
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3126
+ },
3127
+ "N": {
3128
+ "shape_name": "NumberAttributeValue",
3129
+ "type": "string",
3130
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3131
+ },
3132
+ "B": {
3133
+ "shape_name": "BinaryAttributeValue",
3134
+ "type": "blob",
3135
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3136
+ },
3137
+ "SS": {
3138
+ "shape_name": "StringSetAttributeValue",
3139
+ "type": "list",
3140
+ "members": {
3141
+ "shape_name": "StringAttributeValue",
3142
+ "type": "string",
3143
+ "documentation": null
3144
+ },
3145
+ "documentation": "\n <p>A set of strings.</p>\n "
3146
+ },
3147
+ "NS": {
3148
+ "shape_name": "NumberSetAttributeValue",
3149
+ "type": "list",
3150
+ "members": {
3151
+ "shape_name": "NumberAttributeValue",
3152
+ "type": "string",
3153
+ "documentation": null
3154
+ },
3155
+ "documentation": "\n <p>A set of numbers.</p>\n "
3156
+ },
3157
+ "BS": {
3158
+ "shape_name": "BinarySetAttributeValue",
3159
+ "type": "list",
3160
+ "members": {
3161
+ "shape_name": "BinaryAttributeValue",
3162
+ "type": "blob",
3163
+ "documentation": null
3164
+ },
3165
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3166
+ }
3167
+ },
3168
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
3169
+ }
3170
+ },
3171
+ "documentation": "\n <p>Primary key of the item where the query operation stopped, inclusive of the previous result set. Use this value\n to start a new operation excluding this value in the new request. The <code>LastEvaluatedKey</code> is null when\n the entire query result set is complete (i.e. the operation processed the \"last page\").</p>\n "
3172
+ },
3173
+ "ConsumedCapacityUnits": {
3174
+ "shape_name": "ConsumedCapacityUnits",
3175
+ "type": "double",
3176
+ "documentation": "\n <p>The number of Capacity Units of the provisioned throughput of the table consumed during the operation.\n <code>GetItem</code>, <code>BatchGetItem</code>, <code>BatchWriteItem</code>, <code>Query</code>, and <code>Scan</code> operations consume\n <code>ReadCapacityUnits</code>, while <code>PutItem</code>, <code>UpdateItem</code>, and <code>DeleteItem</code>\n operations consume <code>WriteCapacityUnits</code>.</p>\n "
3177
+ }
3178
+ },
3179
+ "documentation": null
3180
+ },
3181
+ "errors": [
3182
+ {
3183
+ "shape_name": "ProvisionedThroughputExceededException",
3184
+ "type": "structure",
3185
+ "members": {
3186
+ "message": {
3187
+ "shape_name": "ErrorMessage",
3188
+ "type": "string",
3189
+ "documentation": null
3190
+ }
3191
+ },
3192
+ "documentation": "\n <p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>\n "
3193
+ },
3194
+ {
3195
+ "shape_name": "ResourceNotFoundException",
3196
+ "type": "structure",
3197
+ "members": {
3198
+ "message": {
3199
+ "shape_name": "ErrorMessage",
3200
+ "type": "string",
3201
+ "documentation": null
3202
+ }
3203
+ },
3204
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
3205
+ },
3206
+ {
3207
+ "shape_name": "InternalServerError",
3208
+ "type": "structure",
3209
+ "members": {
3210
+ "message": {
3211
+ "shape_name": "ErrorMessage",
3212
+ "type": "string",
3213
+ "documentation": null
3214
+ }
3215
+ },
3216
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
3217
+ }
3218
+ ],
3219
+ "documentation": "\n <p>Gets the values of one or more items and its attributes by primary key (composite primary key, only).</p>\n\n <p>Narrow the scope of the query using comparison operators on the <code>RangeKeyValue</code> of the composite key.\n Use the <code>ScanIndexForward</code> parameter to get results in forward or reverse order by range key.</p>\n\n "
3220
+ },
3221
+ "Scan": {
3222
+ "name": "Scan",
3223
+ "input": {
3224
+ "shape_name": "ScanInput",
3225
+ "type": "structure",
3226
+ "members": {
3227
+ "TableName": {
3228
+ "shape_name": "TableName",
3229
+ "type": "string",
3230
+ "min_length": 3,
3231
+ "max_length": 255,
3232
+ "pattern": "[a-zA-Z0-9_.-]+",
3233
+ "documentation": "\n <p>The name of the table in which you want to scan. Allowed characters are <code>a-z</code>, <code>A-Z</code>,\n <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>\n ",
3234
+ "required": true
3235
+ },
3236
+ "AttributesToGet": {
3237
+ "shape_name": "AttributeNameList",
3238
+ "type": "list",
3239
+ "members": {
3240
+ "shape_name": "AttributeName",
3241
+ "type": "string",
3242
+ "documentation": null
3243
+ },
3244
+ "min_length": 1,
3245
+ "documentation": "\n <p>List of <code>Attribute</code> names. If attribute names are not specified then all attributes will be returned.\n If some attributes are not found, they will not appear in the result.</p>\n "
3246
+ },
3247
+ "Limit": {
3248
+ "shape_name": "PositiveIntegerObject",
3249
+ "type": "integer",
3250
+ "min_length": 1,
3251
+ "documentation": "\n <p>The maximum number of items to return. If Amazon DynamoDB hits this limit while scanning the table, it stops the\n scan and returns the matching values up to the limit, and a <code>LastEvaluatedKey</code> to apply in a subsequent\n operation to continue the scan. Also, if the scanned data set size exceeds 1 MB before Amazon DynamoDB hits this\n limit, it stops the scan and returns the matching values up to the limit, and a <code>LastEvaluatedKey</code> to\n apply in a subsequent operation to continue the scan.</p>\n "
3252
+ },
3253
+ "Count": {
3254
+ "shape_name": "BooleanObject",
3255
+ "type": "boolean",
3256
+ "documentation": "\n <p>If set to <code>true</code>, Amazon DynamoDB returns a total number of items for the <code>Scan</code> operation, even if the\n operation has no matching items for the assigned filter. Do not set <code>Count</code> to <code>true</code> while providing a\n list of <code>AttributesToGet</code>, otherwise Amazon DynamoDB returns a validation error.</p>\n "
3257
+ },
3258
+ "ScanFilter": {
3259
+ "shape_name": "FilterConditionMap",
3260
+ "type": "map",
3261
+ "keys": {
3262
+ "shape_name": "String",
3263
+ "type": "string",
3264
+ "documentation": null
3265
+ },
3266
+ "members": {
3267
+ "shape_name": "Condition",
3268
+ "type": "structure",
3269
+ "members": {
3270
+ "AttributeValueList": {
3271
+ "shape_name": "AttributeValueList",
3272
+ "type": "list",
3273
+ "members": {
3274
+ "shape_name": "AttributeValue",
3275
+ "type": "structure",
3276
+ "members": {
3277
+ "S": {
3278
+ "shape_name": "StringAttributeValue",
3279
+ "type": "string",
3280
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3281
+ },
3282
+ "N": {
3283
+ "shape_name": "NumberAttributeValue",
3284
+ "type": "string",
3285
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3286
+ },
3287
+ "B": {
3288
+ "shape_name": "BinaryAttributeValue",
3289
+ "type": "blob",
3290
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3291
+ },
3292
+ "SS": {
3293
+ "shape_name": "StringSetAttributeValue",
3294
+ "type": "list",
3295
+ "members": {
3296
+ "shape_name": "StringAttributeValue",
3297
+ "type": "string",
3298
+ "documentation": null
3299
+ },
3300
+ "documentation": "\n <p>A set of strings.</p>\n "
3301
+ },
3302
+ "NS": {
3303
+ "shape_name": "NumberSetAttributeValue",
3304
+ "type": "list",
3305
+ "members": {
3306
+ "shape_name": "NumberAttributeValue",
3307
+ "type": "string",
3308
+ "documentation": null
3309
+ },
3310
+ "documentation": "\n <p>A set of numbers.</p>\n "
3311
+ },
3312
+ "BS": {
3313
+ "shape_name": "BinarySetAttributeValue",
3314
+ "type": "list",
3315
+ "members": {
3316
+ "shape_name": "BinaryAttributeValue",
3317
+ "type": "blob",
3318
+ "documentation": null
3319
+ },
3320
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3321
+ }
3322
+ },
3323
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
3324
+ },
3325
+ "documentation": "\n <p>A list of attribute values to be used with a comparison operator for a scan or query operation. For comparisons\n that require more than one value, such as a <code>BETWEEN</code> comparison, the AttributeValueList contains\n two attribute values and the comparison operator.</p>\n "
3326
+ },
3327
+ "ComparisonOperator": {
3328
+ "shape_name": "ComparisonOperator",
3329
+ "type": "string",
3330
+ "enum": [
3331
+ "EQ",
3332
+ "NE",
3333
+ "IN",
3334
+ "LE",
3335
+ "LT",
3336
+ "GE",
3337
+ "GT",
3338
+ "BETWEEN",
3339
+ "NOT_NULL",
3340
+ "NULL",
3341
+ "CONTAINS",
3342
+ "NOT_CONTAINS",
3343
+ "BEGINS_WITH"
3344
+ ],
3345
+ "documentation": "\n <p>A comparison operator is an enumeration of several operations:</p>\n <ul>\n <li>\n<code>EQ</code> for <em>equal</em>.</li>\n <li>\n<code>NE</code> for <em>not equal</em>.</li>\n <li>\n<code>IN</code> checks for exact matches.</li>\n <li>\n<code>LE</code> for <em>less than or equal to</em>.</li>\n <li>\n<code>LT</code> for <em>less than</em>.</li>\n <li>\n<code>GE</code> for <em>greater than or equal to</em>.</li>\n <li>\n<code>GT</code> for <em>greater than</em>.</li>\n <li>\n<code>BETWEEN</code> for <em>between</em>.</li>\n <li>\n<code>NOT_NULL</code> for <em>exists</em>.</li>\n <li>\n<code>NULL</code> for <em>not exists</em>.</li>\n <li>\n<code>CONTAINS</code> for substring or value in a set.</li>\n <li>\n<code>NOT_CONTAINS</code> for absence of a substring or absence of a value in a set.</li>\n <li>\n<code>BEGINS_WITH</code> for a substring prefix.</li>\n </ul>\n <p>Scan operations support all available comparison operators.</p>\n <p>Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.</p>\n ",
3346
+ "required": true
3347
+ }
3348
+ },
3349
+ "documentation": null
3350
+ },
3351
+ "documentation": "\n <p>Evaluates the scan results and returns only the desired values.</p>\n "
3352
+ },
3353
+ "ExclusiveStartKey": {
3354
+ "shape_name": "Key",
3355
+ "type": "structure",
3356
+ "members": {
3357
+ "HashKeyElement": {
3358
+ "shape_name": "AttributeValue",
3359
+ "type": "structure",
3360
+ "members": {
3361
+ "S": {
3362
+ "shape_name": "StringAttributeValue",
3363
+ "type": "string",
3364
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3365
+ },
3366
+ "N": {
3367
+ "shape_name": "NumberAttributeValue",
3368
+ "type": "string",
3369
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3370
+ },
3371
+ "B": {
3372
+ "shape_name": "BinaryAttributeValue",
3373
+ "type": "blob",
3374
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3375
+ },
3376
+ "SS": {
3377
+ "shape_name": "StringSetAttributeValue",
3378
+ "type": "list",
3379
+ "members": {
3380
+ "shape_name": "StringAttributeValue",
3381
+ "type": "string",
3382
+ "documentation": null
3383
+ },
3384
+ "documentation": "\n <p>A set of strings.</p>\n "
3385
+ },
3386
+ "NS": {
3387
+ "shape_name": "NumberSetAttributeValue",
3388
+ "type": "list",
3389
+ "members": {
3390
+ "shape_name": "NumberAttributeValue",
3391
+ "type": "string",
3392
+ "documentation": null
3393
+ },
3394
+ "documentation": "\n <p>A set of numbers.</p>\n "
3395
+ },
3396
+ "BS": {
3397
+ "shape_name": "BinarySetAttributeValue",
3398
+ "type": "list",
3399
+ "members": {
3400
+ "shape_name": "BinaryAttributeValue",
3401
+ "type": "blob",
3402
+ "documentation": null
3403
+ },
3404
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3405
+ }
3406
+ },
3407
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
3408
+ "required": true
3409
+ },
3410
+ "RangeKeyElement": {
3411
+ "shape_name": "AttributeValue",
3412
+ "type": "structure",
3413
+ "members": {
3414
+ "S": {
3415
+ "shape_name": "StringAttributeValue",
3416
+ "type": "string",
3417
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3418
+ },
3419
+ "N": {
3420
+ "shape_name": "NumberAttributeValue",
3421
+ "type": "string",
3422
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3423
+ },
3424
+ "B": {
3425
+ "shape_name": "BinaryAttributeValue",
3426
+ "type": "blob",
3427
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3428
+ },
3429
+ "SS": {
3430
+ "shape_name": "StringSetAttributeValue",
3431
+ "type": "list",
3432
+ "members": {
3433
+ "shape_name": "StringAttributeValue",
3434
+ "type": "string",
3435
+ "documentation": null
3436
+ },
3437
+ "documentation": "\n <p>A set of strings.</p>\n "
3438
+ },
3439
+ "NS": {
3440
+ "shape_name": "NumberSetAttributeValue",
3441
+ "type": "list",
3442
+ "members": {
3443
+ "shape_name": "NumberAttributeValue",
3444
+ "type": "string",
3445
+ "documentation": null
3446
+ },
3447
+ "documentation": "\n <p>A set of numbers.</p>\n "
3448
+ },
3449
+ "BS": {
3450
+ "shape_name": "BinarySetAttributeValue",
3451
+ "type": "list",
3452
+ "members": {
3453
+ "shape_name": "BinaryAttributeValue",
3454
+ "type": "blob",
3455
+ "documentation": null
3456
+ },
3457
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3458
+ }
3459
+ },
3460
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
3461
+ }
3462
+ },
3463
+ "documentation": "\n <p>Primary key of the item from which to continue an earlier scan. An earlier scan might provide this value if that\n scan operation was interrupted before scanning the entire table; either because of the result set size or the\n <code>Limit</code> parameter. The <code>LastEvaluatedKey</code> can be passed back in a new scan request to\n continue the operation from that point.</p>\n "
3464
+ }
3465
+ },
3466
+ "documentation": null
3467
+ },
3468
+ "output": {
3469
+ "shape_name": "ScanOutput",
3470
+ "type": "structure",
3471
+ "members": {
3472
+ "Items": {
3473
+ "shape_name": "ItemList",
3474
+ "type": "list",
3475
+ "members": {
3476
+ "shape_name": "AttributeMap",
3477
+ "type": "map",
3478
+ "keys": {
3479
+ "shape_name": "AttributeName",
3480
+ "type": "string",
3481
+ "documentation": null
3482
+ },
3483
+ "members": {
3484
+ "shape_name": "AttributeValue",
3485
+ "type": "structure",
3486
+ "members": {
3487
+ "S": {
3488
+ "shape_name": "StringAttributeValue",
3489
+ "type": "string",
3490
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3491
+ },
3492
+ "N": {
3493
+ "shape_name": "NumberAttributeValue",
3494
+ "type": "string",
3495
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3496
+ },
3497
+ "B": {
3498
+ "shape_name": "BinaryAttributeValue",
3499
+ "type": "blob",
3500
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3501
+ },
3502
+ "SS": {
3503
+ "shape_name": "StringSetAttributeValue",
3504
+ "type": "list",
3505
+ "members": {
3506
+ "shape_name": "StringAttributeValue",
3507
+ "type": "string",
3508
+ "documentation": null
3509
+ },
3510
+ "documentation": "\n <p>A set of strings.</p>\n "
3511
+ },
3512
+ "NS": {
3513
+ "shape_name": "NumberSetAttributeValue",
3514
+ "type": "list",
3515
+ "members": {
3516
+ "shape_name": "NumberAttributeValue",
3517
+ "type": "string",
3518
+ "documentation": null
3519
+ },
3520
+ "documentation": "\n <p>A set of numbers.</p>\n "
3521
+ },
3522
+ "BS": {
3523
+ "shape_name": "BinarySetAttributeValue",
3524
+ "type": "list",
3525
+ "members": {
3526
+ "shape_name": "BinaryAttributeValue",
3527
+ "type": "blob",
3528
+ "documentation": null
3529
+ },
3530
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3531
+ }
3532
+ },
3533
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
3534
+ },
3535
+ "documentation": null
3536
+ },
3537
+ "documentation": null
3538
+ },
3539
+ "Count": {
3540
+ "shape_name": "Integer",
3541
+ "type": "integer",
3542
+ "documentation": "\n <p>Number of items in the response.</p>\n "
3543
+ },
3544
+ "ScannedCount": {
3545
+ "shape_name": "Integer",
3546
+ "type": "integer",
3547
+ "documentation": "\n <p>Number of items in the complete scan before any filters are applied. A high <code>ScannedCount</code> value with\n few, or no, <code>Count</code> results indicates an inefficient <code>Scan</code> operation.</p>\n "
3548
+ },
3549
+ "LastEvaluatedKey": {
3550
+ "shape_name": "Key",
3551
+ "type": "structure",
3552
+ "members": {
3553
+ "HashKeyElement": {
3554
+ "shape_name": "AttributeValue",
3555
+ "type": "structure",
3556
+ "members": {
3557
+ "S": {
3558
+ "shape_name": "StringAttributeValue",
3559
+ "type": "string",
3560
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3561
+ },
3562
+ "N": {
3563
+ "shape_name": "NumberAttributeValue",
3564
+ "type": "string",
3565
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3566
+ },
3567
+ "B": {
3568
+ "shape_name": "BinaryAttributeValue",
3569
+ "type": "blob",
3570
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3571
+ },
3572
+ "SS": {
3573
+ "shape_name": "StringSetAttributeValue",
3574
+ "type": "list",
3575
+ "members": {
3576
+ "shape_name": "StringAttributeValue",
3577
+ "type": "string",
3578
+ "documentation": null
3579
+ },
3580
+ "documentation": "\n <p>A set of strings.</p>\n "
3581
+ },
3582
+ "NS": {
3583
+ "shape_name": "NumberSetAttributeValue",
3584
+ "type": "list",
3585
+ "members": {
3586
+ "shape_name": "NumberAttributeValue",
3587
+ "type": "string",
3588
+ "documentation": null
3589
+ },
3590
+ "documentation": "\n <p>A set of numbers.</p>\n "
3591
+ },
3592
+ "BS": {
3593
+ "shape_name": "BinarySetAttributeValue",
3594
+ "type": "list",
3595
+ "members": {
3596
+ "shape_name": "BinaryAttributeValue",
3597
+ "type": "blob",
3598
+ "documentation": null
3599
+ },
3600
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3601
+ }
3602
+ },
3603
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
3604
+ "required": true
3605
+ },
3606
+ "RangeKeyElement": {
3607
+ "shape_name": "AttributeValue",
3608
+ "type": "structure",
3609
+ "members": {
3610
+ "S": {
3611
+ "shape_name": "StringAttributeValue",
3612
+ "type": "string",
3613
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3614
+ },
3615
+ "N": {
3616
+ "shape_name": "NumberAttributeValue",
3617
+ "type": "string",
3618
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3619
+ },
3620
+ "B": {
3621
+ "shape_name": "BinaryAttributeValue",
3622
+ "type": "blob",
3623
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3624
+ },
3625
+ "SS": {
3626
+ "shape_name": "StringSetAttributeValue",
3627
+ "type": "list",
3628
+ "members": {
3629
+ "shape_name": "StringAttributeValue",
3630
+ "type": "string",
3631
+ "documentation": null
3632
+ },
3633
+ "documentation": "\n <p>A set of strings.</p>\n "
3634
+ },
3635
+ "NS": {
3636
+ "shape_name": "NumberSetAttributeValue",
3637
+ "type": "list",
3638
+ "members": {
3639
+ "shape_name": "NumberAttributeValue",
3640
+ "type": "string",
3641
+ "documentation": null
3642
+ },
3643
+ "documentation": "\n <p>A set of numbers.</p>\n "
3644
+ },
3645
+ "BS": {
3646
+ "shape_name": "BinarySetAttributeValue",
3647
+ "type": "list",
3648
+ "members": {
3649
+ "shape_name": "BinaryAttributeValue",
3650
+ "type": "blob",
3651
+ "documentation": null
3652
+ },
3653
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3654
+ }
3655
+ },
3656
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
3657
+ }
3658
+ },
3659
+ "documentation": "\n <p>Primary key of the item where the scan operation stopped. Provide this value in a subsequent scan operation to\n continue the operation from that point. The <code>LastEvaluatedKey</code> is null when the entire scan result\n set is complete (i.e. the operation processed the \"last page\").</p>\n "
3660
+ },
3661
+ "ConsumedCapacityUnits": {
3662
+ "shape_name": "ConsumedCapacityUnits",
3663
+ "type": "double",
3664
+ "documentation": "\n <p>The number of Capacity Units of the provisioned throughput of the table consumed during the operation.\n <code>GetItem</code>, <code>BatchGetItem</code>, <code>BatchWriteItem</code>, <code>Query</code>, and <code>Scan</code> operations consume\n <code>ReadCapacityUnits</code>, while <code>PutItem</code>, <code>UpdateItem</code>, and <code>DeleteItem</code>\n operations consume <code>WriteCapacityUnits</code>.</p>\n "
3665
+ }
3666
+ },
3667
+ "documentation": null
3668
+ },
3669
+ "errors": [
3670
+ {
3671
+ "shape_name": "ProvisionedThroughputExceededException",
3672
+ "type": "structure",
3673
+ "members": {
3674
+ "message": {
3675
+ "shape_name": "ErrorMessage",
3676
+ "type": "string",
3677
+ "documentation": null
3678
+ }
3679
+ },
3680
+ "documentation": "\n <p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>\n "
3681
+ },
3682
+ {
3683
+ "shape_name": "ResourceNotFoundException",
3684
+ "type": "structure",
3685
+ "members": {
3686
+ "message": {
3687
+ "shape_name": "ErrorMessage",
3688
+ "type": "string",
3689
+ "documentation": null
3690
+ }
3691
+ },
3692
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
3693
+ },
3694
+ {
3695
+ "shape_name": "InternalServerError",
3696
+ "type": "structure",
3697
+ "members": {
3698
+ "message": {
3699
+ "shape_name": "ErrorMessage",
3700
+ "type": "string",
3701
+ "documentation": null
3702
+ }
3703
+ },
3704
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
3705
+ }
3706
+ ],
3707
+ "documentation": "\n <p>Retrieves one or more items and its attributes by performing a full scan of a table.</p>\n\n <p>Provide a <code>ScanFilter</code> to get more specific results.</p>\n\n "
3708
+ },
3709
+ "UpdateItem": {
3710
+ "name": "UpdateItem",
3711
+ "input": {
3712
+ "shape_name": "UpdateItemInput",
3713
+ "type": "structure",
3714
+ "members": {
3715
+ "TableName": {
3716
+ "shape_name": "TableName",
3717
+ "type": "string",
3718
+ "min_length": 3,
3719
+ "max_length": 255,
3720
+ "pattern": "[a-zA-Z0-9_.-]+",
3721
+ "documentation": "\n <p>The name of the table in which you want to update an item. Allowed characters are <code>a-z</code>,\n <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code>\n (period).</p>\n ",
3722
+ "required": true
3723
+ },
3724
+ "Key": {
3725
+ "shape_name": "Key",
3726
+ "type": "structure",
3727
+ "members": {
3728
+ "HashKeyElement": {
3729
+ "shape_name": "AttributeValue",
3730
+ "type": "structure",
3731
+ "members": {
3732
+ "S": {
3733
+ "shape_name": "StringAttributeValue",
3734
+ "type": "string",
3735
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3736
+ },
3737
+ "N": {
3738
+ "shape_name": "NumberAttributeValue",
3739
+ "type": "string",
3740
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3741
+ },
3742
+ "B": {
3743
+ "shape_name": "BinaryAttributeValue",
3744
+ "type": "blob",
3745
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3746
+ },
3747
+ "SS": {
3748
+ "shape_name": "StringSetAttributeValue",
3749
+ "type": "list",
3750
+ "members": {
3751
+ "shape_name": "StringAttributeValue",
3752
+ "type": "string",
3753
+ "documentation": null
3754
+ },
3755
+ "documentation": "\n <p>A set of strings.</p>\n "
3756
+ },
3757
+ "NS": {
3758
+ "shape_name": "NumberSetAttributeValue",
3759
+ "type": "list",
3760
+ "members": {
3761
+ "shape_name": "NumberAttributeValue",
3762
+ "type": "string",
3763
+ "documentation": null
3764
+ },
3765
+ "documentation": "\n <p>A set of numbers.</p>\n "
3766
+ },
3767
+ "BS": {
3768
+ "shape_name": "BinarySetAttributeValue",
3769
+ "type": "list",
3770
+ "members": {
3771
+ "shape_name": "BinaryAttributeValue",
3772
+ "type": "blob",
3773
+ "documentation": null
3774
+ },
3775
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3776
+ }
3777
+ },
3778
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
3779
+ "required": true
3780
+ },
3781
+ "RangeKeyElement": {
3782
+ "shape_name": "AttributeValue",
3783
+ "type": "structure",
3784
+ "members": {
3785
+ "S": {
3786
+ "shape_name": "StringAttributeValue",
3787
+ "type": "string",
3788
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3789
+ },
3790
+ "N": {
3791
+ "shape_name": "NumberAttributeValue",
3792
+ "type": "string",
3793
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3794
+ },
3795
+ "B": {
3796
+ "shape_name": "BinaryAttributeValue",
3797
+ "type": "blob",
3798
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3799
+ },
3800
+ "SS": {
3801
+ "shape_name": "StringSetAttributeValue",
3802
+ "type": "list",
3803
+ "members": {
3804
+ "shape_name": "StringAttributeValue",
3805
+ "type": "string",
3806
+ "documentation": null
3807
+ },
3808
+ "documentation": "\n <p>A set of strings.</p>\n "
3809
+ },
3810
+ "NS": {
3811
+ "shape_name": "NumberSetAttributeValue",
3812
+ "type": "list",
3813
+ "members": {
3814
+ "shape_name": "NumberAttributeValue",
3815
+ "type": "string",
3816
+ "documentation": null
3817
+ },
3818
+ "documentation": "\n <p>A set of numbers.</p>\n "
3819
+ },
3820
+ "BS": {
3821
+ "shape_name": "BinarySetAttributeValue",
3822
+ "type": "list",
3823
+ "members": {
3824
+ "shape_name": "BinaryAttributeValue",
3825
+ "type": "blob",
3826
+ "documentation": null
3827
+ },
3828
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3829
+ }
3830
+ },
3831
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
3832
+ }
3833
+ },
3834
+ "documentation": "\n <p>The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash)\n primary key or a two attribute (hash-and-range) primary key.</p>\n ",
3835
+ "required": true
3836
+ },
3837
+ "AttributeUpdates": {
3838
+ "shape_name": "AttributeUpdates",
3839
+ "type": "map",
3840
+ "keys": {
3841
+ "shape_name": "AttributeName",
3842
+ "type": "string",
3843
+ "documentation": null
3844
+ },
3845
+ "members": {
3846
+ "shape_name": "AttributeValueUpdate",
3847
+ "type": "structure",
3848
+ "members": {
3849
+ "Value": {
3850
+ "shape_name": "AttributeValue",
3851
+ "type": "structure",
3852
+ "members": {
3853
+ "S": {
3854
+ "shape_name": "StringAttributeValue",
3855
+ "type": "string",
3856
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3857
+ },
3858
+ "N": {
3859
+ "shape_name": "NumberAttributeValue",
3860
+ "type": "string",
3861
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3862
+ },
3863
+ "B": {
3864
+ "shape_name": "BinaryAttributeValue",
3865
+ "type": "blob",
3866
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3867
+ },
3868
+ "SS": {
3869
+ "shape_name": "StringSetAttributeValue",
3870
+ "type": "list",
3871
+ "members": {
3872
+ "shape_name": "StringAttributeValue",
3873
+ "type": "string",
3874
+ "documentation": null
3875
+ },
3876
+ "documentation": "\n <p>A set of strings.</p>\n "
3877
+ },
3878
+ "NS": {
3879
+ "shape_name": "NumberSetAttributeValue",
3880
+ "type": "list",
3881
+ "members": {
3882
+ "shape_name": "NumberAttributeValue",
3883
+ "type": "string",
3884
+ "documentation": null
3885
+ },
3886
+ "documentation": "\n <p>A set of numbers.</p>\n "
3887
+ },
3888
+ "BS": {
3889
+ "shape_name": "BinarySetAttributeValue",
3890
+ "type": "list",
3891
+ "members": {
3892
+ "shape_name": "BinaryAttributeValue",
3893
+ "type": "blob",
3894
+ "documentation": null
3895
+ },
3896
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3897
+ }
3898
+ },
3899
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
3900
+ },
3901
+ "Action": {
3902
+ "shape_name": "AttributeAction",
3903
+ "type": "string",
3904
+ "enum": [
3905
+ "ADD",
3906
+ "PUT",
3907
+ "DELETE"
3908
+ ],
3909
+ "documentation": "\n <p>The type of action for an item update operation. Only use the add action for numbers or sets; the specified\n value is added to the existing value. If a set of values is specified, the values are added to the existing\n set. Adds the specified attribute. If the attribute exists, it is replaced by the new value. If no value is\n specified, this removes the attribute and its value. If a set of values is specified, then the values in the\n specified set are removed from the old set.</p>\n "
3910
+ }
3911
+ },
3912
+ "documentation": "\n <p>Specifies the attribute to update and how to perform the update. Possible values: <code>PUT</code> (default),\n <code>ADD</code> or <code>DELETE</code>.</p>\n "
3913
+ },
3914
+ "documentation": "\n <p>Map of attribute name to the new value and action for the update. The attribute names specify the attributes to\n modify, and cannot contain any primary key attributes.</p>\n ",
3915
+ "required": true
3916
+ },
3917
+ "Expected": {
3918
+ "shape_name": "ExpectedAttributeMap",
3919
+ "type": "map",
3920
+ "keys": {
3921
+ "shape_name": "AttributeName",
3922
+ "type": "string",
3923
+ "documentation": null
3924
+ },
3925
+ "members": {
3926
+ "shape_name": "ExpectedAttributeValue",
3927
+ "type": "structure",
3928
+ "members": {
3929
+ "Value": {
3930
+ "shape_name": "AttributeValue",
3931
+ "type": "structure",
3932
+ "members": {
3933
+ "S": {
3934
+ "shape_name": "StringAttributeValue",
3935
+ "type": "string",
3936
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
3937
+ },
3938
+ "N": {
3939
+ "shape_name": "NumberAttributeValue",
3940
+ "type": "string",
3941
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
3942
+ },
3943
+ "B": {
3944
+ "shape_name": "BinaryAttributeValue",
3945
+ "type": "blob",
3946
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
3947
+ },
3948
+ "SS": {
3949
+ "shape_name": "StringSetAttributeValue",
3950
+ "type": "list",
3951
+ "members": {
3952
+ "shape_name": "StringAttributeValue",
3953
+ "type": "string",
3954
+ "documentation": null
3955
+ },
3956
+ "documentation": "\n <p>A set of strings.</p>\n "
3957
+ },
3958
+ "NS": {
3959
+ "shape_name": "NumberSetAttributeValue",
3960
+ "type": "list",
3961
+ "members": {
3962
+ "shape_name": "NumberAttributeValue",
3963
+ "type": "string",
3964
+ "documentation": null
3965
+ },
3966
+ "documentation": "\n <p>A set of numbers.</p>\n "
3967
+ },
3968
+ "BS": {
3969
+ "shape_name": "BinarySetAttributeValue",
3970
+ "type": "list",
3971
+ "members": {
3972
+ "shape_name": "BinaryAttributeValue",
3973
+ "type": "blob",
3974
+ "documentation": null
3975
+ },
3976
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
3977
+ }
3978
+ },
3979
+ "documentation": "\n <p>Specify whether or not a value already exists and has a specific content for the attribute name-value pair.</p>\n "
3980
+ },
3981
+ "Exists": {
3982
+ "shape_name": "BooleanObject",
3983
+ "type": "boolean",
3984
+ "documentation": "\n <p>Specify whether or not a value already exists for the attribute name-value pair.</p>\n "
3985
+ }
3986
+ },
3987
+ "documentation": "\n <p>Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute\n value already exists; or if the attribute value exists and has a particular value before changing it.</p>\n "
3988
+ },
3989
+ "documentation": "\n <p>Designates an attribute for a conditional modification. The <code>Expected</code> parameter allows you to provide\n an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value\n before modifying it.</p>\n "
3990
+ },
3991
+ "ReturnValues": {
3992
+ "shape_name": "ReturnValue",
3993
+ "type": "string",
3994
+ "enum": [
3995
+ "NONE",
3996
+ "ALL_OLD",
3997
+ "UPDATED_OLD",
3998
+ "ALL_NEW",
3999
+ "UPDATED_NEW"
4000
+ ],
4001
+ "documentation": "\n <p>Use this parameter if you want to get the attribute name-value pairs before or after they are modified. For\n <code>PUT</code> operations, the possible parameter values are <code>NONE</code> (default) or\n <code>ALL_OLD</code>. For update operations, the possible parameter values are <code>NONE</code> (default) or\n <code>ALL_OLD</code>, <code>UPDATED_OLD</code>, <code>ALL_NEW</code> or <code>UPDATED_NEW</code>.</p>\n <ul>\n <li>\n<code>NONE</code>: Nothing is returned.</li>\n <li>\n<code>ALL_OLD</code>: Returns the attributes of the item as they were before the operation.</li>\n <li>\n<code>UPDATED_OLD</code>: Returns the values of the updated attributes, only, as they were before the operation.</li>\n <li>\n<code>ALL_NEW</code>: Returns all the attributes and their new values after the operation.</li>\n <li>\n<code>UPDATED_NEW</code>: Returns the values of the updated attributes, only, as they are after the operation.</li>\n </ul>\n "
4002
+ }
4003
+ },
4004
+ "documentation": null
4005
+ },
4006
+ "output": {
4007
+ "shape_name": "UpdateItemOutput",
4008
+ "type": "structure",
4009
+ "members": {
4010
+ "Attributes": {
4011
+ "shape_name": "AttributeMap",
4012
+ "type": "map",
4013
+ "keys": {
4014
+ "shape_name": "AttributeName",
4015
+ "type": "string",
4016
+ "documentation": null
4017
+ },
4018
+ "members": {
4019
+ "shape_name": "AttributeValue",
4020
+ "type": "structure",
4021
+ "members": {
4022
+ "S": {
4023
+ "shape_name": "StringAttributeValue",
4024
+ "type": "string",
4025
+ "documentation": "\n <p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024\n bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>\n "
4026
+ },
4027
+ "N": {
4028
+ "shape_name": "NumberAttributeValue",
4029
+ "type": "string",
4030
+ "documentation": "\n <p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision\n and can be between 10^-128 to 10^+126.</p>\n "
4031
+ },
4032
+ "B": {
4033
+ "shape_name": "BinaryAttributeValue",
4034
+ "type": "blob",
4035
+ "documentation": "\n <p>Binary attributes are sequences of unsigned bytes.</p>\n "
4036
+ },
4037
+ "SS": {
4038
+ "shape_name": "StringSetAttributeValue",
4039
+ "type": "list",
4040
+ "members": {
4041
+ "shape_name": "StringAttributeValue",
4042
+ "type": "string",
4043
+ "documentation": null
4044
+ },
4045
+ "documentation": "\n <p>A set of strings.</p>\n "
4046
+ },
4047
+ "NS": {
4048
+ "shape_name": "NumberSetAttributeValue",
4049
+ "type": "list",
4050
+ "members": {
4051
+ "shape_name": "NumberAttributeValue",
4052
+ "type": "string",
4053
+ "documentation": null
4054
+ },
4055
+ "documentation": "\n <p>A set of numbers.</p>\n "
4056
+ },
4057
+ "BS": {
4058
+ "shape_name": "BinarySetAttributeValue",
4059
+ "type": "list",
4060
+ "members": {
4061
+ "shape_name": "BinaryAttributeValue",
4062
+ "type": "blob",
4063
+ "documentation": null
4064
+ },
4065
+ "documentation": "\n <p>A set of binary attributes.</p>\n "
4066
+ }
4067
+ },
4068
+ "documentation": "\n <p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>\n "
4069
+ },
4070
+ "documentation": "\n <p>A map of attribute name-value pairs, but only if the <code>ReturnValues</code> parameter is specified as something\n other than <code>NONE</code> in the request.</p>\n "
4071
+ },
4072
+ "ConsumedCapacityUnits": {
4073
+ "shape_name": "ConsumedCapacityUnits",
4074
+ "type": "double",
4075
+ "documentation": "\n <p>The number of Capacity Units of the provisioned throughput of the table consumed during the operation.\n <code>GetItem</code>, <code>BatchGetItem</code>, <code>BatchWriteItem</code>, <code>Query</code>, and <code>Scan</code> operations consume\n <code>ReadCapacityUnits</code>, while <code>PutItem</code>, <code>UpdateItem</code>, and <code>DeleteItem</code>\n operations consume <code>WriteCapacityUnits</code>.</p>\n "
4076
+ }
4077
+ },
4078
+ "documentation": null
4079
+ },
4080
+ "errors": [
4081
+ {
4082
+ "shape_name": "ConditionalCheckFailedException",
4083
+ "type": "structure",
4084
+ "members": {
4085
+ "message": {
4086
+ "shape_name": "ErrorMessage",
4087
+ "type": "string",
4088
+ "documentation": null
4089
+ }
4090
+ },
4091
+ "documentation": "\n <p>This exception is thrown when an expected value does not match what was found in the system.</p>\n "
4092
+ },
4093
+ {
4094
+ "shape_name": "ProvisionedThroughputExceededException",
4095
+ "type": "structure",
4096
+ "members": {
4097
+ "message": {
4098
+ "shape_name": "ErrorMessage",
4099
+ "type": "string",
4100
+ "documentation": null
4101
+ }
4102
+ },
4103
+ "documentation": "\n <p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>\n "
4104
+ },
4105
+ {
4106
+ "shape_name": "ResourceNotFoundException",
4107
+ "type": "structure",
4108
+ "members": {
4109
+ "message": {
4110
+ "shape_name": "ErrorMessage",
4111
+ "type": "string",
4112
+ "documentation": null
4113
+ }
4114
+ },
4115
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
4116
+ },
4117
+ {
4118
+ "shape_name": "LimitExceededException",
4119
+ "type": "structure",
4120
+ "members": {
4121
+ "message": {
4122
+ "shape_name": "ErrorMessage",
4123
+ "type": "string",
4124
+ "documentation": null
4125
+ }
4126
+ },
4127
+ "documentation": "\n <p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>\n "
4128
+ },
4129
+ {
4130
+ "shape_name": "InternalServerError",
4131
+ "type": "structure",
4132
+ "members": {
4133
+ "message": {
4134
+ "shape_name": "ErrorMessage",
4135
+ "type": "string",
4136
+ "documentation": null
4137
+ }
4138
+ },
4139
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
4140
+ }
4141
+ ],
4142
+ "documentation": "\n <p>Edits an existing item's attributes.</p>\n\n <p>You can perform a conditional update (insert a new attribute name-value pair if it doesn't exist, or replace an\n existing name-value pair if it has certain expected attribute values).</p>\n\n "
4143
+ },
4144
+ "UpdateTable": {
4145
+ "name": "UpdateTable",
4146
+ "input": {
4147
+ "shape_name": "UpdateTableInput",
4148
+ "type": "structure",
4149
+ "members": {
4150
+ "TableName": {
4151
+ "shape_name": "TableName",
4152
+ "type": "string",
4153
+ "min_length": 3,
4154
+ "max_length": 255,
4155
+ "pattern": "[a-zA-Z0-9_.-]+",
4156
+ "documentation": "\n <p>The name of the table you want to update. Allowed characters are <code>a-z</code>, <code>A-Z</code>,\n <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>\n ",
4157
+ "required": true
4158
+ },
4159
+ "ProvisionedThroughput": {
4160
+ "shape_name": "ProvisionedThroughput",
4161
+ "type": "structure",
4162
+ "members": {
4163
+ "ReadCapacityUnits": {
4164
+ "shape_name": "PositiveLongObject",
4165
+ "type": "long",
4166
+ "min_length": 1,
4167
+ "documentation": "\n <p><code>ReadCapacityUnits</code> are in terms of strictly consistent reads, assuming items of 1k. 2k items\n require twice the <code>ReadCapacityUnits</code>. Eventually-consistent reads only require half the\n <code>ReadCapacityUnits</code> of stirctly consistent reads.</p>\n ",
4168
+ "required": true
4169
+ },
4170
+ "WriteCapacityUnits": {
4171
+ "shape_name": "PositiveLongObject",
4172
+ "type": "long",
4173
+ "min_length": 1,
4174
+ "documentation": "\n <p><code>WriteCapacityUnits</code> are in terms of strictly consistent reads, assuming items of 1k. 2k items\n require twice the <code>WriteCapacityUnits</code>.</p>\n ",
4175
+ "required": true
4176
+ }
4177
+ },
4178
+ "documentation": "\n <p>Provisioned throughput reserves the required read and write resources for your table in terms of\n <code>ReadCapacityUnits</code> and <code>WriteCapacityUnits</code>. Values for provisioned throughput depend\n upon your expected read/write rates, item size, and consistency. Provide the expected number of read and write\n operations, assuming an item size of 1k and strictly consistent reads. For 2k item size, double the value.\n For 3k, triple the value, etc. Eventually-consistent reads consume half the resources of strictly consistent\n reads.</p>\n ",
4179
+ "required": true
4180
+ }
4181
+ },
4182
+ "documentation": null
4183
+ },
4184
+ "output": {
4185
+ "shape_name": "UpdateTableOutput",
4186
+ "type": "structure",
4187
+ "members": {
4188
+ "TableDescription": {
4189
+ "shape_name": "TableDescription",
4190
+ "type": "structure",
4191
+ "members": {
4192
+ "TableName": {
4193
+ "shape_name": "TableName",
4194
+ "type": "string",
4195
+ "min_length": 3,
4196
+ "max_length": 255,
4197
+ "pattern": "[a-zA-Z0-9_.-]+",
4198
+ "documentation": "\n <p>The name of the table being described.</p>\n "
4199
+ },
4200
+ "KeySchema": {
4201
+ "shape_name": "KeySchema",
4202
+ "type": "structure",
4203
+ "members": {
4204
+ "HashKeyElement": {
4205
+ "shape_name": "KeySchemaElement",
4206
+ "type": "structure",
4207
+ "members": {
4208
+ "AttributeName": {
4209
+ "shape_name": "KeySchemaAttributeName",
4210
+ "type": "string",
4211
+ "min_length": 1,
4212
+ "max_length": 255,
4213
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
4214
+ "required": true
4215
+ },
4216
+ "AttributeType": {
4217
+ "shape_name": "ScalarAttributeType",
4218
+ "type": "string",
4219
+ "enum": [
4220
+ "S",
4221
+ "N",
4222
+ "B"
4223
+ ],
4224
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
4225
+ "required": true
4226
+ }
4227
+ },
4228
+ "documentation": "\n <p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys\n have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>,\n <code>NumberSet</code>.</p>\n ",
4229
+ "required": true
4230
+ },
4231
+ "RangeKeyElement": {
4232
+ "shape_name": "KeySchemaElement",
4233
+ "type": "structure",
4234
+ "members": {
4235
+ "AttributeName": {
4236
+ "shape_name": "KeySchemaAttributeName",
4237
+ "type": "string",
4238
+ "min_length": 1,
4239
+ "max_length": 255,
4240
+ "documentation": "\n <p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>\n ",
4241
+ "required": true
4242
+ },
4243
+ "AttributeType": {
4244
+ "shape_name": "ScalarAttributeType",
4245
+ "type": "string",
4246
+ "enum": [
4247
+ "S",
4248
+ "N",
4249
+ "B"
4250
+ ],
4251
+ "documentation": "\n <p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a\n <code>Number</code>.</p>\n ",
4252
+ "required": true
4253
+ }
4254
+ },
4255
+ "documentation": "\n <p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string\n or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>,\n <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>\n "
4256
+ }
4257
+ },
4258
+ "documentation": "\n <p>The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute\n (hash-and-range) primary key. Single attribute primary keys have one index value: a <code>HashKeyElement</code>.\n A composite hash-and-range primary key contains two attribute values: a <code>HashKeyElement</code> and a\n <code>RangeKeyElement</code>.</p>\n "
4259
+ },
4260
+ "TableStatus": {
4261
+ "shape_name": "TableStatus",
4262
+ "type": "string",
4263
+ "enum": [
4264
+ "CREATING",
4265
+ "UPDATING",
4266
+ "DELETING",
4267
+ "ACTIVE"
4268
+ ],
4269
+ "documentation": null
4270
+ },
4271
+ "CreationDateTime": {
4272
+ "shape_name": "Date",
4273
+ "type": "timestamp",
4274
+ "documentation": null
4275
+ },
4276
+ "ProvisionedThroughput": {
4277
+ "shape_name": "ProvisionedThroughputDescription",
4278
+ "type": "structure",
4279
+ "members": {
4280
+ "LastIncreaseDateTime": {
4281
+ "shape_name": "Date",
4282
+ "type": "timestamp",
4283
+ "documentation": null
4284
+ },
4285
+ "LastDecreaseDateTime": {
4286
+ "shape_name": "Date",
4287
+ "type": "timestamp",
4288
+ "documentation": null
4289
+ },
4290
+ "NumberOfDecreasesToday": {
4291
+ "shape_name": "PositiveLongObject",
4292
+ "type": "long",
4293
+ "min_length": 1,
4294
+ "documentation": null
4295
+ },
4296
+ "ReadCapacityUnits": {
4297
+ "shape_name": "PositiveLongObject",
4298
+ "type": "long",
4299
+ "min_length": 1,
4300
+ "documentation": null
4301
+ },
4302
+ "WriteCapacityUnits": {
4303
+ "shape_name": "PositiveLongObject",
4304
+ "type": "long",
4305
+ "min_length": 1,
4306
+ "documentation": null
4307
+ }
4308
+ },
4309
+ "documentation": null
4310
+ },
4311
+ "TableSizeBytes": {
4312
+ "shape_name": "Long",
4313
+ "type": "long",
4314
+ "documentation": null
4315
+ },
4316
+ "ItemCount": {
4317
+ "shape_name": "Long",
4318
+ "type": "long",
4319
+ "documentation": null
4320
+ }
4321
+ },
4322
+ "documentation": null
4323
+ }
4324
+ },
4325
+ "documentation": null
4326
+ },
4327
+ "errors": [
4328
+ {
4329
+ "shape_name": "ResourceInUseException",
4330
+ "type": "structure",
4331
+ "members": {
4332
+ "message": {
4333
+ "shape_name": "ErrorMessage",
4334
+ "type": "string",
4335
+ "documentation": null
4336
+ }
4337
+ },
4338
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
4339
+ },
4340
+ {
4341
+ "shape_name": "ResourceNotFoundException",
4342
+ "type": "structure",
4343
+ "members": {
4344
+ "message": {
4345
+ "shape_name": "ErrorMessage",
4346
+ "type": "string",
4347
+ "documentation": null
4348
+ }
4349
+ },
4350
+ "documentation": "\n <p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>\n "
4351
+ },
4352
+ {
4353
+ "shape_name": "LimitExceededException",
4354
+ "type": "structure",
4355
+ "members": {
4356
+ "message": {
4357
+ "shape_name": "ErrorMessage",
4358
+ "type": "string",
4359
+ "documentation": null
4360
+ }
4361
+ },
4362
+ "documentation": "\n <p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>\n "
4363
+ },
4364
+ {
4365
+ "shape_name": "InternalServerError",
4366
+ "type": "structure",
4367
+ "members": {
4368
+ "message": {
4369
+ "shape_name": "ErrorMessage",
4370
+ "type": "string",
4371
+ "documentation": null
4372
+ }
4373
+ },
4374
+ "documentation": "\n <p>This exception is thrown when the service has a problem when trying to process the request.</p>\n "
4375
+ }
4376
+ ],
4377
+ "documentation": "\n <p>Updates the provisioned throughput for the given table.</p>\n\n <p>Setting the throughput for a table helps you manage performance and is part of the Provisioned Throughput feature\n of Amazon DynamoDB.</p>\n\n "
4378
+ }
4379
+ }
4380
+ }