aws-sdk-core 2.6.9 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/apis/acm/2015-12-08/api-2.json +34 -3
  3. data/apis/acm/2015-12-08/paginators-1.json +2 -2
  4. data/apis/apigateway/2015-07-09/api-2.json +625 -17
  5. data/apis/application-autoscaling/2016-02-06/api-2.json +5 -2
  6. data/apis/appstream/2016-12-01/api-2.json +820 -0
  7. data/apis/appstream/2016-12-01/examples-1.json +5 -0
  8. data/apis/appstream/2016-12-01/waiters-2.json +55 -0
  9. data/apis/autoscaling/2011-01-01/api-2.json +1 -0
  10. data/apis/autoscaling/2011-01-01/resources-1.json +12 -1
  11. data/apis/batch/2016-08-10/api-2.json +885 -0
  12. data/apis/batch/2016-08-10/examples-1.json +589 -0
  13. data/apis/budgets/2016-10-20/api-2.json +696 -0
  14. data/apis/budgets/2016-10-20/examples-1.json +5 -0
  15. data/apis/cloudformation/2010-05-15/api-2.json +126 -11
  16. data/apis/cloudformation/2010-05-15/examples-1.json +153 -0
  17. data/apis/cloudformation/2010-05-15/resources-1.json +10 -1
  18. data/apis/cloudformation/2010-05-15/waiters-2.json +18 -96
  19. data/apis/cloudfront/2016-01-28/api-2.json +1 -0
  20. data/apis/cloudfront/2016-08-01/api-2.json +1 -0
  21. data/apis/cloudfront/2016-08-20/api-2.json +1 -0
  22. data/apis/cloudfront/2016-09-07/api-2.json +1 -0
  23. data/apis/cloudfront/2016-09-29/api-2.json +2599 -0
  24. data/apis/cloudfront/2016-09-29/examples-1.json +5 -0
  25. data/apis/cloudfront/2016-09-29/paginators-1.json +32 -0
  26. data/apis/cloudfront/2016-09-29/waiters-2.json +47 -0
  27. data/apis/cloudfront/2016-11-25/api-2.json +2665 -0
  28. data/apis/cloudfront/2016-11-25/examples-1.json +5 -0
  29. data/apis/cloudfront/2016-11-25/paginators-1.json +32 -0
  30. data/apis/cloudfront/2016-11-25/waiters-2.json +47 -0
  31. data/apis/cloudhsm/2014-05-30/api-2.json +2 -1
  32. data/apis/cloudsearch/2013-01-01/api-2.json +2 -1
  33. data/apis/cloudsearchdomain/2013-01-01/api-2.json +2 -1
  34. data/apis/cloudtrail/2013-11-01/api-2.json +109 -3
  35. data/apis/cloudtrail/2013-11-01/paginators-1.json +6 -0
  36. data/apis/codebuild/2016-10-06/api-2.json +702 -0
  37. data/apis/codebuild/2016-10-06/examples-1.json +5 -0
  38. data/apis/codecommit/2015-04-13/api-2.json +2 -1
  39. data/apis/codedeploy/2014-10-06/api-2.json +35 -6
  40. data/apis/codepipeline/2015-07-09/api-2.json +3 -2
  41. data/apis/cognito-identity/2014-06-30/api-2.json +84 -5
  42. data/apis/cognito-idp/2016-04-18/api-2.json +368 -5
  43. data/apis/cognito-sync/2014-06-30/api-2.json +2 -1
  44. data/apis/config/2014-11-12/api-2.json +40 -9
  45. data/apis/config/2014-11-12/paginators-1.json +2 -2
  46. data/apis/cur/2017-01-06/api-2.json +226 -0
  47. data/apis/cur/2017-01-06/examples-1.json +5 -0
  48. data/apis/cur/2017-01-06/paginators-1.json +9 -0
  49. data/apis/datapipeline/2012-10-29/api-2.json +2 -1
  50. data/apis/devicefarm/2015-06-23/api-2.json +2 -1
  51. data/apis/directconnect/2012-10-25/api-2.json +257 -10
  52. data/apis/discovery/2015-11-01/api-2.json +316 -5
  53. data/apis/dms/2016-01-01/api-2.json +45 -9
  54. data/apis/ds/2015-04-16/api-2.json +144 -1
  55. data/apis/dynamodb/2011-12-05/api-2.json +802 -0
  56. data/apis/dynamodb/2011-12-05/examples-1.json +5 -0
  57. data/apis/dynamodb/2011-12-05/paginators-1.json +26 -0
  58. data/apis/dynamodb/2011-12-05/waiters-2.json +35 -0
  59. data/apis/dynamodb/2012-08-10/api-2.json +115 -1
  60. data/apis/dynamodb/2012-08-10/examples-1.json +623 -0
  61. data/apis/dynamodb/2012-08-10/paginators-1.json +4 -4
  62. data/apis/ec2/2015-10-01/api-2.json +1 -0
  63. data/apis/ec2/2016-04-01/api-2.json +1 -0
  64. data/apis/ec2/2016-09-15/api-2.json +1 -0
  65. data/apis/ec2/2016-11-15/api-2.json +15037 -0
  66. data/apis/ec2/2016-11-15/examples-1.json +3740 -0
  67. data/apis/ec2/2016-11-15/paginators-1.json +138 -0
  68. data/apis/ec2/2016-11-15/resources-1.json +2582 -0
  69. data/apis/ec2/2016-11-15/waiters-2.json +593 -0
  70. data/apis/ecr/2015-09-21/api-2.json +17 -3
  71. data/apis/ecr/2015-09-21/paginators-1.json +12 -6
  72. data/apis/ecs/2014-11-13/api-2.json +183 -9
  73. data/apis/elasticache/2015-02-02/api-2.json +5 -2
  74. data/apis/elasticache/2015-02-02/examples-1.json +2963 -0
  75. data/apis/elasticbeanstalk/2010-12-01/api-2.json +123 -6
  76. data/apis/elasticfilesystem/2015-02-01/api-2.json +2 -1
  77. data/apis/elasticfilesystem/2015-02-01/examples-1.json +217 -0
  78. data/apis/elasticloadbalancing/2012-06-01/api-2.json +1 -0
  79. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +1 -0
  80. data/apis/elasticmapreduce/2009-03-31/api-2.json +322 -5
  81. data/apis/elastictranscoder/2012-09-25/api-2.json +44 -13
  82. data/apis/elastictranscoder/2012-09-25/examples-1.json +5 -0
  83. data/apis/email/2010-12-01/api-2.json +425 -4
  84. data/apis/es/2015-01-01/api-2.json +1 -0
  85. data/apis/events/2015-10-07/api-2.json +1 -0
  86. data/apis/firehose/2015-08-04/api-2.json +151 -4
  87. data/apis/firehose/2015-08-04/examples-1.json +5 -0
  88. data/apis/gamelift/2015-10-01/api-2.json +59 -1
  89. data/apis/glacier/2012-06-01/api-2.json +369 -779
  90. data/apis/glacier/2012-06-01/examples-1.json +806 -0
  91. data/apis/glacier/2012-06-01/paginators-1.json +5 -5
  92. data/apis/health/2016-08-04/api-2.json +547 -0
  93. data/apis/health/2016-08-04/examples-1.json +5 -0
  94. data/apis/health/2016-08-04/paginators-1.json +31 -0
  95. data/apis/iam/2010-05-08/api-2.json +209 -0
  96. data/apis/iam/2010-05-08/examples-1.json +1186 -0
  97. data/apis/importexport/2010-06-01/api-2.json +1 -0
  98. data/apis/inspector/2016-02-16/api-2.json +2 -1
  99. data/apis/inspector/2016-02-16/examples-1.json +1135 -0
  100. data/apis/iot-data/2015-05-28/api-2.json +1 -0
  101. data/apis/iot/2015-05-28/api-2.json +16 -0
  102. data/apis/kinesis/2013-12-02/api-2.json +80 -12
  103. data/apis/kinesisanalytics/2015-08-14/api-2.json +7 -2
  104. data/apis/kms/2014-11-01/api-2.json +2 -1
  105. data/apis/kms/2014-11-01/examples-1.json +810 -0
  106. data/apis/lambda/2014-11-11/api-2.json +1 -0
  107. data/apis/lambda/2015-03-31/api-2.json +162 -9
  108. data/apis/lambda/2015-03-31/examples-1.json +609 -0
  109. data/apis/lightsail/2016-11-28/api-2.json +2137 -0
  110. data/apis/lightsail/2016-11-28/examples-1.json +5 -0
  111. data/apis/logs/2014-03-28/api-2.json +113 -6
  112. data/apis/machinelearning/2014-12-12/api-2.json +1 -0
  113. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +5 -2
  114. data/apis/meteringmarketplace/2016-01-14/api-2.json +136 -0
  115. data/apis/monitoring/2010-08-01/api-2.json +27 -6
  116. data/apis/opsworks/2013-02-18/api-2.json +1 -0
  117. data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
  118. data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
  119. data/apis/pinpoint/2016-12-01/api-2.json +2753 -0
  120. data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
  121. data/apis/polly/2016-06-10/api-2.json +504 -0
  122. data/apis/polly/2016-06-10/examples-1.json +171 -0
  123. data/apis/rds/2013-01-10/api-2.json +2902 -0
  124. data/apis/rds/2013-01-10/examples-1.json +5 -0
  125. data/apis/rds/2013-01-10/paginators-1.json +97 -0
  126. data/apis/rds/2013-02-12/api-2.json +3058 -0
  127. data/apis/rds/2013-02-12/examples-1.json +5 -0
  128. data/apis/rds/2013-02-12/paginators-1.json +110 -0
  129. data/apis/rds/2013-09-09/api-2.json +3159 -0
  130. data/apis/rds/2013-09-09/examples-1.json +5 -0
  131. data/apis/rds/2013-09-09/paginators-1.json +110 -0
  132. data/apis/rds/2013-09-09/waiters-2.json +97 -0
  133. data/apis/rds/2014-09-01/api-2.json +3272 -0
  134. data/apis/rds/2014-09-01/examples-1.json +5 -0
  135. data/apis/rds/2014-09-01/paginators-1.json +4 -0
  136. data/apis/rds/2014-10-31/api-2.json +121 -6
  137. data/apis/rds/2014-10-31/examples-1.json +0 -444
  138. data/apis/rds/2014-10-31/paginators-1.json +18 -18
  139. data/apis/rds/2014-10-31/resources-1.json +1 -1
  140. data/apis/redshift/2012-12-01/api-2.json +1 -0
  141. data/apis/rekognition/2016-06-27/api-2.json +836 -0
  142. data/apis/rekognition/2016-06-27/examples-1.json +651 -0
  143. data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
  144. data/apis/route53/2013-04-01/api-2.json +186 -219
  145. data/apis/route53/2013-04-01/paginators-1.json +9 -9
  146. data/apis/route53domains/2014-05-15/api-2.json +1 -0
  147. data/apis/s3/2006-03-01/api-2.json +843 -23
  148. data/apis/sdb/2009-04-15/api-2.json +1 -0
  149. data/apis/servicecatalog/2015-12-10/api-2.json +1214 -29
  150. data/apis/shield/2016-06-02/api-2.json +494 -0
  151. data/apis/shield/2016-06-02/examples-1.json +5 -0
  152. data/apis/sms/2016-10-24/api-2.json +612 -0
  153. data/apis/sms/2016-10-24/examples-1.json +5 -0
  154. data/apis/sms/2016-10-24/paginators-1.json +28 -0
  155. data/apis/snowball/2016-06-30/api-2.json +283 -11
  156. data/apis/snowball/2016-06-30/examples-1.json +437 -0
  157. data/apis/sns/2010-03-31/api-2.json +1 -0
  158. data/apis/sqs/2012-11-05/api-2.json +74 -38
  159. data/apis/sqs/2012-11-05/examples-1.json +0 -613
  160. data/apis/sqs/2012-11-05/resources-1.json +232 -0
  161. data/apis/ssm/2014-11-06/api-2.json +4036 -536
  162. data/apis/states/2016-11-23/api-2.json +1021 -0
  163. data/apis/states/2016-11-23/examples-1.json +5 -0
  164. data/apis/states/2016-11-23/paginators-1.json +28 -0
  165. data/apis/storagegateway/2013-06-30/api-2.json +269 -6
  166. data/apis/storagegateway/2013-06-30/examples-1.json +1376 -0
  167. data/apis/streams.dynamodb/2012-08-10/api-2.json +2 -1
  168. data/apis/streams.dynamodb/2012-08-10/examples-1.json +207 -0
  169. data/apis/sts/2011-06-15/api-2.json +1 -0
  170. data/apis/sts/2011-06-15/examples-1.json +201 -0
  171. data/apis/support/2013-04-15/api-2.json +1 -0
  172. data/apis/swf/2012-01-25/api-2.json +1 -0
  173. data/apis/waf-regional/2016-11-28/api-2.json +2090 -0
  174. data/apis/waf-regional/2016-11-28/examples-1.json +1017 -0
  175. data/apis/waf/2015-08-24/api-2.json +3 -1
  176. data/apis/waf/2015-08-24/examples-1.json +1012 -0
  177. data/apis/workspaces/2015-04-08/api-2.json +1 -0
  178. data/apis/xray/2016-04-12/api-2.json +491 -0
  179. data/apis/xray/2016-04-12/examples-1.json +5 -0
  180. data/endpoints.json +781 -392
  181. data/lib/aws-sdk-core.rb +20 -0
  182. data/lib/aws-sdk-core/api/customizations.rb +16 -0
  183. data/lib/aws-sdk-core/api/docs/builder.rb +2 -1
  184. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +9 -0
  185. data/lib/aws-sdk-core/api/docs/crosslink.rb +43 -0
  186. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +11 -2
  187. data/lib/aws-sdk-core/appstream.rb +6 -0
  188. data/lib/aws-sdk-core/batch.rb +5 -0
  189. data/lib/aws-sdk-core/budgets.rb +5 -0
  190. data/lib/aws-sdk-core/client.rb +1 -0
  191. data/lib/aws-sdk-core/client_waiters.rb +5 -5
  192. data/lib/aws-sdk-core/cloudfront.rb +5 -5
  193. data/lib/aws-sdk-core/cloudfront/url_signer.rb +1 -1
  194. data/lib/aws-sdk-core/codebuild.rb +5 -0
  195. data/lib/aws-sdk-core/costandusagereportservice.rb +6 -0
  196. data/lib/aws-sdk-core/credential_provider_chain.rb +3 -3
  197. data/lib/aws-sdk-core/cur.rb +6 -0
  198. data/lib/aws-sdk-core/ec2.rb +6 -6
  199. data/lib/aws-sdk-core/elastictranscoder.rb +1 -0
  200. data/lib/aws-sdk-core/firehose.rb +1 -0
  201. data/lib/aws-sdk-core/glacier.rb +1 -0
  202. data/lib/aws-sdk-core/health.rb +6 -0
  203. data/lib/aws-sdk-core/lightsail.rb +5 -0
  204. data/lib/aws-sdk-core/opsworkscm.rb +5 -0
  205. data/lib/aws-sdk-core/partitions/region.rb +0 -12
  206. data/lib/aws-sdk-core/partitions/service.rb +1 -11
  207. data/lib/aws-sdk-core/pinpoint.rb +5 -0
  208. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +24 -55
  209. data/lib/aws-sdk-core/plugins/idempotency_token.rb +37 -0
  210. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +64 -0
  211. data/lib/aws-sdk-core/plugins/request_signer.rb +4 -0
  212. data/lib/aws-sdk-core/plugins/retry_errors.rb +1 -0
  213. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +1 -1
  214. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +1 -1
  215. data/lib/aws-sdk-core/polly.rb +13 -0
  216. data/lib/aws-sdk-core/polly/presigner.rb +70 -0
  217. data/lib/aws-sdk-core/rekognition.rb +6 -0
  218. data/lib/aws-sdk-core/rest/request/endpoint.rb +11 -66
  219. data/lib/aws-sdk-core/rest/request/querystring_builder.rb +90 -0
  220. data/lib/aws-sdk-core/shield.rb +5 -0
  221. data/lib/aws-sdk-core/signers/v4.rb +2 -1
  222. data/lib/aws-sdk-core/sms.rb +6 -0
  223. data/lib/aws-sdk-core/sqs.rb +1 -0
  224. data/lib/aws-sdk-core/states.rb +6 -0
  225. data/lib/aws-sdk-core/version.rb +1 -1
  226. data/lib/aws-sdk-core/wafregional.rb +5 -0
  227. data/lib/aws-sdk-core/xray.rb +5 -0
  228. data/lib/seahorse/client/net_http/connection_pool.rb +11 -7
  229. data/lib/seahorse/client/net_http/handler.rb +5 -2
  230. data/lib/seahorse/client/plugin_list.rb +3 -1
  231. data/lib/seahorse/client/response.rb +9 -20
  232. data/service-models.json +66 -2
  233. metadata +110 -2
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ }
5
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "pagination": {
3
+ "BatchGetItem": {
4
+ "input_token": "RequestItems",
5
+ "output_token": "UnprocessedKeys"
6
+ },
7
+ "ListTables": {
8
+ "input_token": "ExclusiveStartTableName",
9
+ "limit_key": "Limit",
10
+ "output_token": "LastEvaluatedTableName",
11
+ "result_key": "TableNames"
12
+ },
13
+ "Query": {
14
+ "input_token": "ExclusiveStartKey",
15
+ "limit_key": "Limit",
16
+ "output_token": "LastEvaluatedKey",
17
+ "result_key": "Items"
18
+ },
19
+ "Scan": {
20
+ "input_token": "ExclusiveStartKey",
21
+ "limit_key": "Limit",
22
+ "output_token": "LastEvaluatedKey",
23
+ "result_key": "Items"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "version": 2,
3
+ "waiters": {
4
+ "TableExists": {
5
+ "delay": 20,
6
+ "operation": "DescribeTable",
7
+ "maxAttempts": 25,
8
+ "acceptors": [
9
+ {
10
+ "expected": "ACTIVE",
11
+ "matcher": "path",
12
+ "state": "success",
13
+ "argument": "Table.TableStatus"
14
+ },
15
+ {
16
+ "expected": "ResourceNotFoundException",
17
+ "matcher": "error",
18
+ "state": "retry"
19
+ }
20
+ ]
21
+ },
22
+ "TableNotExists": {
23
+ "delay": 20,
24
+ "operation": "DescribeTable",
25
+ "maxAttempts": 25,
26
+ "acceptors": [
27
+ {
28
+ "expected": "ResourceNotFoundException",
29
+ "matcher": "error",
30
+ "state": "success"
31
+ }
32
+ ]
33
+ }
34
+ }
35
+ }
@@ -8,7 +8,8 @@
8
8
  "serviceAbbreviation":"DynamoDB",
9
9
  "serviceFullName":"Amazon DynamoDB",
10
10
  "signatureVersion":"v4",
11
- "targetPrefix":"DynamoDB_20120810"
11
+ "targetPrefix":"DynamoDB_20120810",
12
+ "uid":"dynamodb-2012-08-10"
12
13
  },
13
14
  "operations":{
14
15
  "BatchGetItem":{
@@ -136,6 +137,19 @@
136
137
  {"shape":"InternalServerError"}
137
138
  ]
138
139
  },
140
+ "ListTagsOfResource":{
141
+ "name":"ListTagsOfResource",
142
+ "http":{
143
+ "method":"POST",
144
+ "requestUri":"/"
145
+ },
146
+ "input":{"shape":"ListTagsOfResourceInput"},
147
+ "output":{"shape":"ListTagsOfResourceOutput"},
148
+ "errors":[
149
+ {"shape":"ResourceNotFoundException"},
150
+ {"shape":"InternalServerError"}
151
+ ]
152
+ },
139
153
  "PutItem":{
140
154
  "name":"PutItem",
141
155
  "http":{
@@ -180,6 +194,34 @@
180
194
  {"shape":"InternalServerError"}
181
195
  ]
182
196
  },
197
+ "TagResource":{
198
+ "name":"TagResource",
199
+ "http":{
200
+ "method":"POST",
201
+ "requestUri":"/"
202
+ },
203
+ "input":{"shape":"TagResourceInput"},
204
+ "errors":[
205
+ {"shape":"LimitExceededException"},
206
+ {"shape":"ResourceNotFoundException"},
207
+ {"shape":"InternalServerError"},
208
+ {"shape":"ResourceInUseException"}
209
+ ]
210
+ },
211
+ "UntagResource":{
212
+ "name":"UntagResource",
213
+ "http":{
214
+ "method":"POST",
215
+ "requestUri":"/"
216
+ },
217
+ "input":{"shape":"UntagResourceInput"},
218
+ "errors":[
219
+ {"shape":"LimitExceededException"},
220
+ {"shape":"ResourceNotFoundException"},
221
+ {"shape":"InternalServerError"},
222
+ {"shape":"ResourceInUseException"}
223
+ ]
224
+ },
183
225
  "UpdateItem":{
184
226
  "name":"UpdateItem",
185
227
  "http":{
@@ -777,6 +819,21 @@
777
819
  "LastEvaluatedTableName":{"shape":"TableName"}
778
820
  }
779
821
  },
822
+ "ListTagsOfResourceInput":{
823
+ "type":"structure",
824
+ "required":["ResourceArn"],
825
+ "members":{
826
+ "ResourceArn":{"shape":"ResourceArnString"},
827
+ "NextToken":{"shape":"NextTokenString"}
828
+ }
829
+ },
830
+ "ListTagsOfResourceOutput":{
831
+ "type":"structure",
832
+ "members":{
833
+ "Tags":{"shape":"TagList"},
834
+ "NextToken":{"shape":"NextTokenString"}
835
+ }
836
+ },
780
837
  "LocalSecondaryIndex":{
781
838
  "type":"structure",
782
839
  "required":[
@@ -815,6 +872,7 @@
815
872
  "key":{"shape":"AttributeName"},
816
873
  "value":{"shape":"AttributeValue"}
817
874
  },
875
+ "NextTokenString":{"type":"string"},
818
876
  "NonKeyAttributeName":{
819
877
  "type":"string",
820
878
  "max":255,
@@ -956,6 +1014,11 @@
956
1014
  "ConsumedCapacity":{"shape":"ConsumedCapacity"}
957
1015
  }
958
1016
  },
1017
+ "ResourceArnString":{
1018
+ "type":"string",
1019
+ "max":1283,
1020
+ "min":1
1021
+ },
959
1022
  "ResourceInUseException":{
960
1023
  "type":"structure",
961
1024
  "members":{
@@ -1125,6 +1188,57 @@
1125
1188
  "ACTIVE"
1126
1189
  ]
1127
1190
  },
1191
+ "Tag":{
1192
+ "type":"structure",
1193
+ "required":[
1194
+ "Key",
1195
+ "Value"
1196
+ ],
1197
+ "members":{
1198
+ "Key":{"shape":"TagKeyString"},
1199
+ "Value":{"shape":"TagValueString"}
1200
+ }
1201
+ },
1202
+ "TagKeyList":{
1203
+ "type":"list",
1204
+ "member":{"shape":"TagKeyString"}
1205
+ },
1206
+ "TagKeyString":{
1207
+ "type":"string",
1208
+ "max":128,
1209
+ "min":1
1210
+ },
1211
+ "TagList":{
1212
+ "type":"list",
1213
+ "member":{"shape":"Tag"}
1214
+ },
1215
+ "TagResourceInput":{
1216
+ "type":"structure",
1217
+ "required":[
1218
+ "ResourceArn",
1219
+ "Tags"
1220
+ ],
1221
+ "members":{
1222
+ "ResourceArn":{"shape":"ResourceArnString"},
1223
+ "Tags":{"shape":"TagList"}
1224
+ }
1225
+ },
1226
+ "TagValueString":{
1227
+ "type":"string",
1228
+ "max":256,
1229
+ "min":0
1230
+ },
1231
+ "UntagResourceInput":{
1232
+ "type":"structure",
1233
+ "required":[
1234
+ "ResourceArn",
1235
+ "TagKeys"
1236
+ ],
1237
+ "members":{
1238
+ "ResourceArn":{"shape":"ResourceArnString"},
1239
+ "TagKeys":{"shape":"TagKeyList"}
1240
+ }
1241
+ },
1128
1242
  "UpdateExpression":{"type":"string"},
1129
1243
  "UpdateGlobalSecondaryIndexAction":{
1130
1244
  "type":"structure",
@@ -1,5 +1,628 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "examples": {
4
+ "BatchGetItem": [
5
+ {
6
+ "input": {
7
+ "RequestItems": {
8
+ "Music": {
9
+ "Keys": [
10
+ {
11
+ "Artist": {
12
+ "S": "No One You Know"
13
+ },
14
+ "SongTitle": {
15
+ "S": "Call Me Today"
16
+ }
17
+ },
18
+ {
19
+ "Artist": {
20
+ "S": "Acme Band"
21
+ },
22
+ "SongTitle": {
23
+ "S": "Happy Day"
24
+ }
25
+ },
26
+ {
27
+ "Artist": {
28
+ "S": "No One You Know"
29
+ },
30
+ "SongTitle": {
31
+ "S": "Scared of My Shadow"
32
+ }
33
+ }
34
+ ],
35
+ "ProjectionExpression": "AlbumTitle"
36
+ }
37
+ }
38
+ },
39
+ "output": {
40
+ "Responses": {
41
+ "Music": [
42
+ {
43
+ "AlbumTitle": {
44
+ "S": "Somewhat Famous"
45
+ }
46
+ },
47
+ {
48
+ "AlbumTitle": {
49
+ "S": "Blue Sky Blues"
50
+ }
51
+ },
52
+ {
53
+ "AlbumTitle": {
54
+ "S": "Louder Than Ever"
55
+ }
56
+ }
57
+ ]
58
+ }
59
+ },
60
+ "comments": {
61
+ "input": {
62
+ },
63
+ "output": {
64
+ }
65
+ },
66
+ "description": "This example reads multiple items from the Music table using a batch of three GetItem requests. Only the AlbumTitle attribute is returned.",
67
+ "id": "to-retrieve-multiple-items-from-a-table-1476118438992",
68
+ "title": "To retrieve multiple items from a table"
69
+ }
70
+ ],
71
+ "BatchWriteItem": [
72
+ {
73
+ "input": {
74
+ "RequestItems": {
75
+ "Music": [
76
+ {
77
+ "PutRequest": {
78
+ "Item": {
79
+ "AlbumTitle": {
80
+ "S": "Somewhat Famous"
81
+ },
82
+ "Artist": {
83
+ "S": "No One You Know"
84
+ },
85
+ "SongTitle": {
86
+ "S": "Call Me Today"
87
+ }
88
+ }
89
+ }
90
+ },
91
+ {
92
+ "PutRequest": {
93
+ "Item": {
94
+ "AlbumTitle": {
95
+ "S": "Songs About Life"
96
+ },
97
+ "Artist": {
98
+ "S": "Acme Band"
99
+ },
100
+ "SongTitle": {
101
+ "S": "Happy Day"
102
+ }
103
+ }
104
+ }
105
+ },
106
+ {
107
+ "PutRequest": {
108
+ "Item": {
109
+ "AlbumTitle": {
110
+ "S": "Blue Sky Blues"
111
+ },
112
+ "Artist": {
113
+ "S": "No One You Know"
114
+ },
115
+ "SongTitle": {
116
+ "S": "Scared of My Shadow"
117
+ }
118
+ }
119
+ }
120
+ }
121
+ ]
122
+ }
123
+ },
124
+ "output": {
125
+ },
126
+ "comments": {
127
+ "input": {
128
+ },
129
+ "output": {
130
+ }
131
+ },
132
+ "description": "This example adds three new items to the Music table using a batch of three PutItem requests.",
133
+ "id": "to-add-multiple-items-to-a-table-1476118519747",
134
+ "title": "To add multiple items to a table"
135
+ }
136
+ ],
137
+ "CreateTable": [
138
+ {
139
+ "input": {
140
+ "AttributeDefinitions": [
141
+ {
142
+ "AttributeName": "Artist",
143
+ "AttributeType": "S"
144
+ },
145
+ {
146
+ "AttributeName": "SongTitle",
147
+ "AttributeType": "S"
148
+ }
149
+ ],
150
+ "KeySchema": [
151
+ {
152
+ "AttributeName": "Artist",
153
+ "KeyType": "HASH"
154
+ },
155
+ {
156
+ "AttributeName": "SongTitle",
157
+ "KeyType": "RANGE"
158
+ }
159
+ ],
160
+ "ProvisionedThroughput": {
161
+ "ReadCapacityUnits": 5,
162
+ "WriteCapacityUnits": 5
163
+ },
164
+ "TableName": "Music"
165
+ },
166
+ "output": {
167
+ "TableDescription": {
168
+ "AttributeDefinitions": [
169
+ {
170
+ "AttributeName": "Artist",
171
+ "AttributeType": "S"
172
+ },
173
+ {
174
+ "AttributeName": "SongTitle",
175
+ "AttributeType": "S"
176
+ }
177
+ ],
178
+ "CreationDateTime": "1421866952.062",
179
+ "ItemCount": 0,
180
+ "KeySchema": [
181
+ {
182
+ "AttributeName": "Artist",
183
+ "KeyType": "HASH"
184
+ },
185
+ {
186
+ "AttributeName": "SongTitle",
187
+ "KeyType": "RANGE"
188
+ }
189
+ ],
190
+ "ProvisionedThroughput": {
191
+ "ReadCapacityUnits": 5,
192
+ "WriteCapacityUnits": 5
193
+ },
194
+ "TableName": "Music",
195
+ "TableSizeBytes": 0,
196
+ "TableStatus": "CREATING"
197
+ }
198
+ },
199
+ "comments": {
200
+ "input": {
201
+ },
202
+ "output": {
203
+ }
204
+ },
205
+ "description": "This example creates a table named Music.",
206
+ "id": "to-create-a-table-1476116291743",
207
+ "title": "To create a table"
208
+ }
209
+ ],
210
+ "DeleteItem": [
211
+ {
212
+ "input": {
213
+ "Key": {
214
+ "Artist": {
215
+ "S": "No One You Know"
216
+ },
217
+ "SongTitle": {
218
+ "S": "Scared of My Shadow"
219
+ }
220
+ },
221
+ "TableName": "Music"
222
+ },
223
+ "output": {
224
+ "ConsumedCapacity": {
225
+ "CapacityUnits": 1,
226
+ "TableName": "Music"
227
+ }
228
+ },
229
+ "comments": {
230
+ "input": {
231
+ },
232
+ "output": {
233
+ }
234
+ },
235
+ "description": "This example deletes an item from the Music table.",
236
+ "id": "to-delete-an-item-1475884573758",
237
+ "title": "To delete an item"
238
+ }
239
+ ],
240
+ "DeleteTable": [
241
+ {
242
+ "input": {
243
+ "TableName": "Music"
244
+ },
245
+ "output": {
246
+ "TableDescription": {
247
+ "ItemCount": 0,
248
+ "ProvisionedThroughput": {
249
+ "NumberOfDecreasesToday": 1,
250
+ "ReadCapacityUnits": 5,
251
+ "WriteCapacityUnits": 5
252
+ },
253
+ "TableName": "Music",
254
+ "TableSizeBytes": 0,
255
+ "TableStatus": "DELETING"
256
+ }
257
+ },
258
+ "comments": {
259
+ "input": {
260
+ },
261
+ "output": {
262
+ }
263
+ },
264
+ "description": "This example deletes the Music table.",
265
+ "id": "to-delete-a-table-1475884368755",
266
+ "title": "To delete a table"
267
+ }
268
+ ],
269
+ "DescribeLimits": [
270
+ {
271
+ "input": {
272
+ },
273
+ "output": {
274
+ "AccountMaxReadCapacityUnits": 20000,
275
+ "AccountMaxWriteCapacityUnits": 20000,
276
+ "TableMaxReadCapacityUnits": 10000,
277
+ "TableMaxWriteCapacityUnits": 10000
278
+ },
279
+ "comments": {
280
+ "input": {
281
+ },
282
+ "output": {
283
+ }
284
+ },
285
+ "description": "The following example returns the maximum read and write capacity units per table, and for the AWS account, in the current AWS region.",
286
+ "id": "to-determine-capacity-limits-per-table-and-account-in-the-current-aws-region-1475884162064",
287
+ "title": "To determine capacity limits per table and account, in the current AWS region"
288
+ }
289
+ ],
290
+ "DescribeTable": [
291
+ {
292
+ "input": {
293
+ "TableName": "Music"
294
+ },
295
+ "output": {
296
+ "Table": {
297
+ "AttributeDefinitions": [
298
+ {
299
+ "AttributeName": "Artist",
300
+ "AttributeType": "S"
301
+ },
302
+ {
303
+ "AttributeName": "SongTitle",
304
+ "AttributeType": "S"
305
+ }
306
+ ],
307
+ "CreationDateTime": "1421866952.062",
308
+ "ItemCount": 0,
309
+ "KeySchema": [
310
+ {
311
+ "AttributeName": "Artist",
312
+ "KeyType": "HASH"
313
+ },
314
+ {
315
+ "AttributeName": "SongTitle",
316
+ "KeyType": "RANGE"
317
+ }
318
+ ],
319
+ "ProvisionedThroughput": {
320
+ "NumberOfDecreasesToday": 1,
321
+ "ReadCapacityUnits": 5,
322
+ "WriteCapacityUnits": 5
323
+ },
324
+ "TableName": "Music",
325
+ "TableSizeBytes": 0,
326
+ "TableStatus": "ACTIVE"
327
+ }
328
+ },
329
+ "comments": {
330
+ "input": {
331
+ },
332
+ "output": {
333
+ }
334
+ },
335
+ "description": "This example describes the Music table.",
336
+ "id": "to-describe-a-table-1475884440502",
337
+ "title": "To describe a table"
338
+ }
339
+ ],
340
+ "GetItem": [
341
+ {
342
+ "input": {
343
+ "Key": {
344
+ "Artist": {
345
+ "S": "Acme Band"
346
+ },
347
+ "SongTitle": {
348
+ "S": "Happy Day"
349
+ }
350
+ },
351
+ "TableName": "Music"
352
+ },
353
+ "output": {
354
+ "Item": {
355
+ "AlbumTitle": {
356
+ "S": "Songs About Life"
357
+ },
358
+ "Artist": {
359
+ "S": "Acme Band"
360
+ },
361
+ "SongTitle": {
362
+ "S": "Happy Day"
363
+ }
364
+ }
365
+ },
366
+ "comments": {
367
+ "input": {
368
+ },
369
+ "output": {
370
+ }
371
+ },
372
+ "description": "This example retrieves an item from the Music table. The table has a partition key and a sort key (Artist and SongTitle), so you must specify both of these attributes.",
373
+ "id": "to-read-an-item-from-a-table-1475884258350",
374
+ "title": "To read an item from a table"
375
+ }
376
+ ],
377
+ "ListTables": [
378
+ {
379
+ "input": {
380
+ },
381
+ "output": {
382
+ "TableNames": [
383
+ "Forum",
384
+ "ProductCatalog",
385
+ "Reply",
386
+ "Thread"
387
+ ]
388
+ },
389
+ "comments": {
390
+ "input": {
391
+ },
392
+ "output": {
393
+ }
394
+ },
395
+ "description": "This example lists all of the tables associated with the current AWS account and endpoint.",
396
+ "id": "to-list-tables-1475884741238",
397
+ "title": "To list tables"
398
+ }
399
+ ],
400
+ "PutItem": [
401
+ {
402
+ "input": {
403
+ "Item": {
404
+ "AlbumTitle": {
405
+ "S": "Somewhat Famous"
406
+ },
407
+ "Artist": {
408
+ "S": "No One You Know"
409
+ },
410
+ "SongTitle": {
411
+ "S": "Call Me Today"
412
+ }
413
+ },
414
+ "ReturnConsumedCapacity": "TOTAL",
415
+ "TableName": "Music"
416
+ },
417
+ "output": {
418
+ "ConsumedCapacity": {
419
+ "CapacityUnits": 1,
420
+ "TableName": "Music"
421
+ }
422
+ },
423
+ "comments": {
424
+ "input": {
425
+ },
426
+ "output": {
427
+ }
428
+ },
429
+ "description": "This example adds a new item to the Music table.",
430
+ "id": "to-add-an-item-to-a-table-1476116191110",
431
+ "title": "To add an item to a table"
432
+ }
433
+ ],
434
+ "Query": [
435
+ {
436
+ "input": {
437
+ "ExpressionAttributeValues": {
438
+ ":v1": {
439
+ "S": "No One You Know"
440
+ }
441
+ },
442
+ "KeyConditionExpression": "Artist = :v1",
443
+ "ProjectionExpression": "SongTitle",
444
+ "TableName": "Music"
445
+ },
446
+ "output": {
447
+ "ConsumedCapacity": {
448
+ },
449
+ "Count": 2,
450
+ "Items": [
451
+ {
452
+ "SongTitle": {
453
+ "S": "Call Me Today"
454
+ }
455
+ }
456
+ ],
457
+ "ScannedCount": 2
458
+ },
459
+ "comments": {
460
+ "input": {
461
+ },
462
+ "output": {
463
+ }
464
+ },
465
+ "description": "This example queries items in the Music table. The table has a partition key and sort key (Artist and SongTitle), but this query only specifies the partition key value. It returns song titles by the artist named \"No One You Know\".",
466
+ "id": "to-query-an-item-1475883874631",
467
+ "title": "To query an item"
468
+ }
469
+ ],
470
+ "Scan": [
471
+ {
472
+ "input": {
473
+ "ExpressionAttributeNames": {
474
+ "AT": "AlbumTitle",
475
+ "ST": "SongTitle"
476
+ },
477
+ "ExpressionAttributeValues": {
478
+ ":a": {
479
+ "S": "No One You Know"
480
+ }
481
+ },
482
+ "FilterExpression": "Artist = :a",
483
+ "ProjectionExpression": "#ST, #AT",
484
+ "TableName": "Music"
485
+ },
486
+ "output": {
487
+ "ConsumedCapacity": {
488
+ },
489
+ "Count": 2,
490
+ "Items": [
491
+ {
492
+ "AlbumTitle": {
493
+ "S": "Somewhat Famous"
494
+ },
495
+ "SongTitle": {
496
+ "S": "Call Me Today"
497
+ }
498
+ },
499
+ {
500
+ "AlbumTitle": {
501
+ "S": "Blue Sky Blues"
502
+ },
503
+ "SongTitle": {
504
+ "S": "Scared of My Shadow"
505
+ }
506
+ }
507
+ ],
508
+ "ScannedCount": 3
509
+ },
510
+ "comments": {
511
+ "input": {
512
+ },
513
+ "output": {
514
+ }
515
+ },
516
+ "description": "This example scans the entire Music table, and then narrows the results to songs by the artist \"No One You Know\". For each item, only the album title and song title are returned.",
517
+ "id": "to-scan-a-table-1475883652470",
518
+ "title": "To scan a table"
519
+ }
520
+ ],
521
+ "UpdateItem": [
522
+ {
523
+ "input": {
524
+ "ExpressionAttributeNames": {
525
+ "#AT": "AlbumTitle",
526
+ "#Y": "Year"
527
+ },
528
+ "ExpressionAttributeValues": {
529
+ ":t": {
530
+ "S": "Louder Than Ever"
531
+ },
532
+ ":y": {
533
+ "N": "2015"
534
+ }
535
+ },
536
+ "Key": {
537
+ "Artist": {
538
+ "S": "Acme Band"
539
+ },
540
+ "SongTitle": {
541
+ "S": "Happy Day"
542
+ }
543
+ },
544
+ "ReturnValues": "ALL_NEW",
545
+ "TableName": "Music",
546
+ "UpdateExpression": "SET #Y = :y, #AT = :t"
547
+ },
548
+ "output": {
549
+ "Attributes": {
550
+ "AlbumTitle": {
551
+ "S": "Songs About Life"
552
+ },
553
+ "Artist": {
554
+ "S": "Acme Band"
555
+ },
556
+ "SongTitle": {
557
+ "S": "Happy Day"
558
+ }
559
+ }
560
+ },
561
+ "comments": {
562
+ "input": {
563
+ },
564
+ "output": {
565
+ }
566
+ },
567
+ "description": "This example updates an item in the Music table. It adds a new attribute (Year) and modifies the AlbumTitle attribute. All of the attributes in the item, as they appear after the update, are returned in the response.",
568
+ "id": "to-update-an-item-in-a-table-1476118250055",
569
+ "title": "To update an item in a table"
570
+ }
571
+ ],
572
+ "UpdateTable": [
573
+ {
574
+ "input": {
575
+ "ProvisionedThroughput": {
576
+ "ReadCapacityUnits": 10,
577
+ "WriteCapacityUnits": 10
578
+ },
579
+ "TableName": "MusicCollection"
580
+ },
581
+ "output": {
582
+ "TableDescription": {
583
+ "AttributeDefinitions": [
584
+ {
585
+ "AttributeName": "Artist",
586
+ "AttributeType": "S"
587
+ },
588
+ {
589
+ "AttributeName": "SongTitle",
590
+ "AttributeType": "S"
591
+ }
592
+ ],
593
+ "CreationDateTime": "1421866952.062",
594
+ "ItemCount": 0,
595
+ "KeySchema": [
596
+ {
597
+ "AttributeName": "Artist",
598
+ "KeyType": "HASH"
599
+ },
600
+ {
601
+ "AttributeName": "SongTitle",
602
+ "KeyType": "RANGE"
603
+ }
604
+ ],
605
+ "ProvisionedThroughput": {
606
+ "LastIncreaseDateTime": "1421874759.194",
607
+ "NumberOfDecreasesToday": 1,
608
+ "ReadCapacityUnits": 1,
609
+ "WriteCapacityUnits": 1
610
+ },
611
+ "TableName": "MusicCollection",
612
+ "TableSizeBytes": 0,
613
+ "TableStatus": "UPDATING"
614
+ }
615
+ },
616
+ "comments": {
617
+ "input": {
618
+ },
619
+ "output": {
620
+ }
621
+ },
622
+ "description": "This example increases the provisioned read and write capacity on the Music table.",
623
+ "id": "to-modify-a-tables-provisioned-throughput-1476118076147",
624
+ "title": "To modify a table's provisioned throughput"
625
+ }
626
+ ]
4
627
  }
5
628
  }