aws-sdk-core 2.0.0.rc14 → 2.0.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -3
  3. data/apis/AutoScaling.api.json +1943 -0
  4. data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  5. data/apis/CloudFormation.api.json +785 -0
  6. data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  7. data/apis/CloudFront.api.json +2581 -0
  8. data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
  9. data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  10. data/apis/CloudSearch.api.json +1955 -0
  11. data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  12. data/apis/CloudSearchDomain.api.json +349 -0
  13. data/apis/CloudTrail.api.json +559 -0
  14. data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  15. data/apis/CloudWatch.api.json +917 -0
  16. data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  17. data/apis/CloudWatchLogs.api.json +816 -0
  18. data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  19. data/apis/CognitoIdentity.api.json +631 -0
  20. data/apis/CognitoSync.api.json +721 -0
  21. data/apis/DataPipeline.api.json +940 -0
  22. data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  23. data/apis/DirectConnect.api.json +833 -0
  24. data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  25. data/apis/DynamoDB.api.json +1210 -0
  26. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
  27. data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  28. data/apis/EC2.api.json +9914 -0
  29. data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  30. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
  31. data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  32. data/apis/EMR.api.json +1339 -0
  33. data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  34. data/apis/ElastiCache.api.json +3410 -0
  35. data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  36. data/apis/ElasticBeanstalk.api.json +1540 -0
  37. data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  38. data/apis/ElasticLoadBalancing.api.json +2131 -0
  39. data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  40. data/apis/ElasticTranscoder.api.json +1647 -0
  41. data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  42. data/apis/Glacier.api.json +1456 -0
  43. data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  44. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
  45. data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  46. data/apis/IAM.api.json +4033 -0
  47. data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  48. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
  49. data/apis/ImportExport.api.json +515 -0
  50. data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  51. data/apis/Kinesis.api.json +548 -0
  52. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
  53. data/apis/OpsWorks.api.json +2524 -0
  54. data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  55. data/apis/RDS.api.json +4473 -0
  56. data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
  57. data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  58. data/apis/Redshift.api.json +4482 -0
  59. data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  60. data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  61. data/apis/Route53.api.json +1935 -0
  62. data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  63. data/apis/Route53Domains.api.json +1129 -0
  64. data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
  65. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  66. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
  67. data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  68. data/apis/SES.api.json +644 -0
  69. data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  70. data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  71. data/apis/SNS.api.json +1760 -0
  72. data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  73. data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  74. data/apis/SQS.api.json +1113 -0
  75. data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  76. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
  77. data/apis/STS.api.json +594 -0
  78. data/apis/SWF.api.json +2656 -0
  79. data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  80. data/apis/SimpleDB.api.json +954 -0
  81. data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  82. data/apis/StorageGateway.api.json +2311 -0
  83. data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  84. data/apis/Support.api.json +869 -0
  85. data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  86. data/lib/aws.rb +96 -53
  87. data/lib/aws/api/documenter.rb +238 -0
  88. data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
  89. data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
  90. data/lib/aws/api/service_customizations.rb +3 -1
  91. data/lib/aws/client.rb +38 -0
  92. data/lib/aws/credential_provider_chain.rb +1 -0
  93. data/lib/aws/dynamodb/attribute_value.rb +87 -0
  94. data/lib/aws/empty_structure.rb +4 -3
  95. data/lib/aws/endpoint_provider.rb +1 -0
  96. data/lib/aws/errors.rb +2 -0
  97. data/lib/aws/instance_profile_credentials.rb +1 -1
  98. data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
  99. data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
  100. data/lib/aws/plugins/global_configuration.rb +13 -3
  101. data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
  102. data/lib/aws/plugins/regional_endpoint.rb +1 -1
  103. data/lib/aws/plugins/request_signer.rb +13 -6
  104. data/lib/aws/plugins/response_paging.rb +1 -2
  105. data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
  106. data/lib/aws/plugins/user_agent.rb +1 -2
  107. data/lib/aws/signers/v4.rb +1 -1
  108. data/lib/aws/structure.rb +49 -2
  109. data/lib/aws/version.rb +1 -1
  110. data/lib/aws/xml/builder.rb +1 -0
  111. data/lib/seahorse.rb +2 -1
  112. data/lib/seahorse/client/handler_list.rb +10 -3
  113. data/lib/seahorse/client/http/request.rb +0 -8
  114. data/lib/seahorse/client/xml/builder.rb +0 -1
  115. data/lib/seahorse/model/shape_map.rb +1 -0
  116. data/lib/seahorse/model/shapes.rb +5 -0
  117. metadata +93 -107
  118. data/apis/autoscaling-2011-01-01.api.json +0 -3063
  119. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  120. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  121. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  122. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  123. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  124. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  125. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  126. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  127. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  128. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  129. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  130. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  131. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  132. data/apis/directconnect-2012-10-25.api.json +0 -1174
  133. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  134. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  135. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  136. data/apis/dynamodb-2012-08-10.paginators.json +0 -26
  137. data/apis/ec2-2014-06-15.api.json +0 -11670
  138. data/apis/elasticache-2014-03-24.api.json +0 -4789
  139. data/apis/elasticache-2014-07-15.api.json +0 -4826
  140. data/apis/elasticache-2014-07-15.paginators.json +0 -76
  141. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  142. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
  143. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  144. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  145. data/apis/email-2010-12-01.api.json +0 -954
  146. data/apis/glacier-2012-06-01.api.json +0 -2012
  147. data/apis/iam-2010-05-08.api.json +0 -5322
  148. data/apis/importexport-2010-06-01.api.json +0 -687
  149. data/apis/kinesis-2013-12-02.api.json +0 -769
  150. data/apis/logs-2014-03-28.api.json +0 -942
  151. data/apis/manifest.json +0 -259
  152. data/apis/monitoring-2010-08-01.api.json +0 -1338
  153. data/apis/opsworks-2013-02-18.api.json +0 -4348
  154. data/apis/rds-2013-01-10.api.json +0 -6074
  155. data/apis/rds-2013-01-10.paginators.json +0 -97
  156. data/apis/rds-2013-02-12.api.json +0 -6392
  157. data/apis/rds-2013-09-09.api.json +0 -6564
  158. data/apis/rds-2013-09-09.paginators.json +0 -110
  159. data/apis/redshift-2012-12-01.api.json +0 -6318
  160. data/apis/route53-2013-04-01.api.json +0 -2493
  161. data/apis/route53domains-2014-05-15.api.json +0 -1622
  162. data/apis/sdb-2009-04-15.api.json +0 -1178
  163. data/apis/sns-2010-03-31.api.json +0 -2275
  164. data/apis/sqs-2012-11-05.api.json +0 -1438
  165. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  166. data/apis/sts-2011-06-15.api.json +0 -786
  167. data/apis/support-2013-04-15.api.json +0 -1379
  168. data/apis/swf-2012-01-25.api.json +0 -4463
  169. data/lib/aws/api/manifest.rb +0 -29
  170. data/lib/aws/api/manifest_builder.rb +0 -57
  171. data/lib/aws/api/minifier.rb +0 -42
  172. data/lib/aws/response_handler.rb +0 -38
  173. data/lib/aws/service_builder.rb +0 -56
@@ -1,1208 +0,0 @@
1
- {
2
- "metadata":{
3
- "apiVersion":"2011-12-05",
4
- "endpointPrefix":"dynamodb",
5
- "jsonVersion":"1.0",
6
- "serviceAbbreviation":"DynamoDB",
7
- "serviceFullName":"Amazon DynamoDB",
8
- "signatureVersion":"v4",
9
- "targetPrefix":"DynamoDB_20111205",
10
- "protocol":"json"
11
- },
12
- "documentation":"<p>Amazon DynamoDB is a fast, highly scalable, highly available, cost-effective non-relational database service.</p> <p>Amazon DynamoDB removes traditional scalability limitations on data storage while maintaining low latency and predictable performance.</p>",
13
- "operations":{
14
- "BatchGetItem":{
15
- "name":"BatchGetItem",
16
- "http":{
17
- "method":"POST",
18
- "requestUri":"/"
19
- },
20
- "input":{"shape":"BatchGetItemInput"},
21
- "output":{"shape":"BatchGetItemOutput"},
22
- "errors":[
23
- {
24
- "shape":"ProvisionedThroughputExceededException",
25
- "exception":true,
26
- "documentation":"<p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>"
27
- },
28
- {
29
- "shape":"ResourceNotFoundException",
30
- "exception":true,
31
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
32
- },
33
- {
34
- "shape":"InternalServerError",
35
- "exception":true,
36
- "fault":true,
37
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
38
- }
39
- ],
40
- "documentation":"<p>Retrieves the attributes for multiple items from multiple tables using their primary keys.</p> <p>The maximum number of item attributes that can be retrieved for a single operation is 100. Also, the number of items retrieved is constrained by a 1 MB the size limit. If the response size limit is exceeded or a partial result is returned due to an internal processing failure, Amazon DynamoDB returns an <code>UnprocessedKeys</code> value so you can retry the operation starting with the next item to get.</p> <p>Amazon DynamoDB automatically adjusts the number of items returned per page to enforce this limit. For example, even if you ask to retrieve 100 items, but each individual item is 50k in size, the system returns 20 items and an appropriate <code>UnprocessedKeys</code> value so you can get the next page of results. If necessary, your application needs its own logic to assemble the pages of results into one set.</p>"
41
- },
42
- "BatchWriteItem":{
43
- "name":"BatchWriteItem",
44
- "http":{
45
- "method":"POST",
46
- "requestUri":"/"
47
- },
48
- "input":{"shape":"BatchWriteItemInput"},
49
- "output":{
50
- "shape":"BatchWriteItemOutput",
51
- "documentation":"<p>A container for <code>BatchWriteItem</code> response</p>"
52
- },
53
- "errors":[
54
- {
55
- "shape":"ProvisionedThroughputExceededException",
56
- "exception":true,
57
- "documentation":"<p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>"
58
- },
59
- {
60
- "shape":"ResourceNotFoundException",
61
- "exception":true,
62
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
63
- },
64
- {
65
- "shape":"LimitExceededException",
66
- "exception":true,
67
- "documentation":"<p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>"
68
- },
69
- {
70
- "shape":"InternalServerError",
71
- "exception":true,
72
- "fault":true,
73
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
74
- }
75
- ],
76
- "documentation":"<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> <p>There are no transaction guarantees provided by this API. It does not allow conditional puts nor does it support return values.</p>"
77
- },
78
- "CreateTable":{
79
- "name":"CreateTable",
80
- "http":{
81
- "method":"POST",
82
- "requestUri":"/"
83
- },
84
- "input":{"shape":"CreateTableInput"},
85
- "output":{"shape":"CreateTableOutput"},
86
- "errors":[
87
- {
88
- "shape":"ResourceInUseException",
89
- "exception":true,
90
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
91
- },
92
- {
93
- "shape":"LimitExceededException",
94
- "exception":true,
95
- "documentation":"<p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>"
96
- },
97
- {
98
- "shape":"InternalServerError",
99
- "exception":true,
100
- "fault":true,
101
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
102
- }
103
- ],
104
- "documentation":"<p>Adds a new table to your account.</p> <p>The table name must be unique among those associated with the AWS Account issuing the request, and the AWS Region that receives the request (e.g. <code>us-east-1</code>).</p> <p>The <code>CreateTable</code> operation triggers an asynchronous workflow to begin creating the table. Amazon DynamoDB immediately returns the state of the table (<code>CREATING</code>) until the table is in the <code>ACTIVE</code> state. Once the table is in the <code>ACTIVE</code> state, you can perform data plane operations.</p>"
105
- },
106
- "DeleteItem":{
107
- "name":"DeleteItem",
108
- "http":{
109
- "method":"POST",
110
- "requestUri":"/"
111
- },
112
- "input":{"shape":"DeleteItemInput"},
113
- "output":{"shape":"DeleteItemOutput"},
114
- "errors":[
115
- {
116
- "shape":"ConditionalCheckFailedException",
117
- "exception":true,
118
- "documentation":"<p>This exception is thrown when an expected value does not match what was found in the system.</p>"
119
- },
120
- {
121
- "shape":"ProvisionedThroughputExceededException",
122
- "exception":true,
123
- "documentation":"<p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>"
124
- },
125
- {
126
- "shape":"ResourceNotFoundException",
127
- "exception":true,
128
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
129
- },
130
- {
131
- "shape":"LimitExceededException",
132
- "exception":true,
133
- "documentation":"<p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>"
134
- },
135
- {
136
- "shape":"InternalServerError",
137
- "exception":true,
138
- "fault":true,
139
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
140
- }
141
- ],
142
- "documentation":"<p>Deletes a single item in a table by primary key.</p> <p>You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.</p>"
143
- },
144
- "DeleteTable":{
145
- "name":"DeleteTable",
146
- "http":{
147
- "method":"POST",
148
- "requestUri":"/"
149
- },
150
- "input":{"shape":"DeleteTableInput"},
151
- "output":{"shape":"DeleteTableOutput"},
152
- "errors":[
153
- {
154
- "shape":"ResourceInUseException",
155
- "exception":true,
156
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
157
- },
158
- {
159
- "shape":"ResourceNotFoundException",
160
- "exception":true,
161
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
162
- },
163
- {
164
- "shape":"LimitExceededException",
165
- "exception":true,
166
- "documentation":"<p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>"
167
- },
168
- {
169
- "shape":"InternalServerError",
170
- "exception":true,
171
- "fault":true,
172
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
173
- }
174
- ],
175
- "documentation":"<p>Deletes a table and all of its items.</p> <p>If the table is in the <code>ACTIVE</code> state, you can delete it. If a table is in <code>CREATING</code> or <code>UPDATING</code> states then Amazon DynamoDB returns a <code>ResourceInUseException</code>. If the specified table does not exist, Amazon DynamoDB returns a <code>ResourceNotFoundException</code>.</p>"
176
- },
177
- "DescribeTable":{
178
- "name":"DescribeTable",
179
- "http":{
180
- "method":"POST",
181
- "requestUri":"/"
182
- },
183
- "input":{"shape":"DescribeTableInput"},
184
- "output":{"shape":"DescribeTableOutput"},
185
- "errors":[
186
- {
187
- "shape":"ResourceNotFoundException",
188
- "exception":true,
189
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
190
- },
191
- {
192
- "shape":"InternalServerError",
193
- "exception":true,
194
- "fault":true,
195
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
196
- }
197
- ],
198
- "documentation":"<p>Retrieves information about the table, including the current status of the table, the primary key schema and when the table was created.</p> <p>If the table does not exist, Amazon DynamoDB returns a <code>ResourceNotFoundException</code>.</p>"
199
- },
200
- "GetItem":{
201
- "name":"GetItem",
202
- "http":{
203
- "method":"POST",
204
- "requestUri":"/"
205
- },
206
- "input":{"shape":"GetItemInput"},
207
- "output":{"shape":"GetItemOutput"},
208
- "errors":[
209
- {
210
- "shape":"ProvisionedThroughputExceededException",
211
- "exception":true,
212
- "documentation":"<p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>"
213
- },
214
- {
215
- "shape":"ResourceNotFoundException",
216
- "exception":true,
217
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
218
- },
219
- {
220
- "shape":"InternalServerError",
221
- "exception":true,
222
- "fault":true,
223
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
224
- }
225
- ],
226
- "documentation":"<p>Retrieves a set of Attributes for an item that matches the primary key.</p> <p>The <code>GetItem</code> operation provides an eventually-consistent read by default. If eventually-consistent reads are not acceptable for your application, use <code>ConsistentRead</code>. Although this operation might take longer than a standard read, it always returns the last updated value.</p>"
227
- },
228
- "ListTables":{
229
- "name":"ListTables",
230
- "http":{
231
- "method":"POST",
232
- "requestUri":"/"
233
- },
234
- "input":{"shape":"ListTablesInput"},
235
- "output":{"shape":"ListTablesOutput"},
236
- "errors":[
237
- {
238
- "shape":"InternalServerError",
239
- "exception":true,
240
- "fault":true,
241
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
242
- }
243
- ],
244
- "documentation":"<p>Retrieves a paginated list of table names created by the AWS Account of the caller in the AWS Region (e.g. <code>us-east-1</code>).</p>"
245
- },
246
- "PutItem":{
247
- "name":"PutItem",
248
- "http":{
249
- "method":"POST",
250
- "requestUri":"/"
251
- },
252
- "input":{"shape":"PutItemInput"},
253
- "output":{"shape":"PutItemOutput"},
254
- "errors":[
255
- {
256
- "shape":"ConditionalCheckFailedException",
257
- "exception":true,
258
- "documentation":"<p>This exception is thrown when an expected value does not match what was found in the system.</p>"
259
- },
260
- {
261
- "shape":"ProvisionedThroughputExceededException",
262
- "exception":true,
263
- "documentation":"<p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>"
264
- },
265
- {
266
- "shape":"ResourceNotFoundException",
267
- "exception":true,
268
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
269
- },
270
- {
271
- "shape":"LimitExceededException",
272
- "exception":true,
273
- "documentation":"<p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>"
274
- },
275
- {
276
- "shape":"InternalServerError",
277
- "exception":true,
278
- "fault":true,
279
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
280
- }
281
- ],
282
- "documentation":"<p>Creates a new item, or replaces an old item with a new item (including all the attributes).</p> <p>If an item already exists in the specified table with the same primary key, the new item completely replaces the existing item. You can perform a conditional put (insert a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values.</p>"
283
- },
284
- "Query":{
285
- "name":"Query",
286
- "http":{
287
- "method":"POST",
288
- "requestUri":"/"
289
- },
290
- "input":{"shape":"QueryInput"},
291
- "output":{"shape":"QueryOutput"},
292
- "errors":[
293
- {
294
- "shape":"ProvisionedThroughputExceededException",
295
- "exception":true,
296
- "documentation":"<p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>"
297
- },
298
- {
299
- "shape":"ResourceNotFoundException",
300
- "exception":true,
301
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
302
- },
303
- {
304
- "shape":"InternalServerError",
305
- "exception":true,
306
- "fault":true,
307
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
308
- }
309
- ],
310
- "documentation":"<p>Gets the values of one or more items and its attributes by primary key (composite primary key, only).</p> <p>Narrow the scope of the query using comparison operators on the <code>RangeKeyValue</code> of the composite key. Use the <code>ScanIndexForward</code> parameter to get results in forward or reverse order by range key.</p>"
311
- },
312
- "Scan":{
313
- "name":"Scan",
314
- "http":{
315
- "method":"POST",
316
- "requestUri":"/"
317
- },
318
- "input":{"shape":"ScanInput"},
319
- "output":{"shape":"ScanOutput"},
320
- "errors":[
321
- {
322
- "shape":"ProvisionedThroughputExceededException",
323
- "exception":true,
324
- "documentation":"<p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>"
325
- },
326
- {
327
- "shape":"ResourceNotFoundException",
328
- "exception":true,
329
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
330
- },
331
- {
332
- "shape":"InternalServerError",
333
- "exception":true,
334
- "fault":true,
335
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
336
- }
337
- ],
338
- "documentation":"<p>Retrieves one or more items and its attributes by performing a full scan of a table.</p> <p>Provide a <code>ScanFilter</code> to get more specific results.</p>"
339
- },
340
- "UpdateItem":{
341
- "name":"UpdateItem",
342
- "http":{
343
- "method":"POST",
344
- "requestUri":"/"
345
- },
346
- "input":{"shape":"UpdateItemInput"},
347
- "output":{"shape":"UpdateItemOutput"},
348
- "errors":[
349
- {
350
- "shape":"ConditionalCheckFailedException",
351
- "exception":true,
352
- "documentation":"<p>This exception is thrown when an expected value does not match what was found in the system.</p>"
353
- },
354
- {
355
- "shape":"ProvisionedThroughputExceededException",
356
- "exception":true,
357
- "documentation":"<p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>"
358
- },
359
- {
360
- "shape":"ResourceNotFoundException",
361
- "exception":true,
362
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
363
- },
364
- {
365
- "shape":"LimitExceededException",
366
- "exception":true,
367
- "documentation":"<p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>"
368
- },
369
- {
370
- "shape":"InternalServerError",
371
- "exception":true,
372
- "fault":true,
373
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
374
- }
375
- ],
376
- "documentation":"<p>Edits an existing item's attributes.</p> <p>You can perform a conditional update (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).</p>"
377
- },
378
- "UpdateTable":{
379
- "name":"UpdateTable",
380
- "http":{
381
- "method":"POST",
382
- "requestUri":"/"
383
- },
384
- "input":{"shape":"UpdateTableInput"},
385
- "output":{"shape":"UpdateTableOutput"},
386
- "errors":[
387
- {
388
- "shape":"ResourceInUseException",
389
- "exception":true,
390
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
391
- },
392
- {
393
- "shape":"ResourceNotFoundException",
394
- "exception":true,
395
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
396
- },
397
- {
398
- "shape":"LimitExceededException",
399
- "exception":true,
400
- "documentation":"<p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>"
401
- },
402
- {
403
- "shape":"InternalServerError",
404
- "exception":true,
405
- "fault":true,
406
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
407
- }
408
- ],
409
- "documentation":"<p>Updates the provisioned throughput for the given table.</p> <p>Setting the throughput for a table helps you manage performance and is part of the Provisioned Throughput feature of Amazon DynamoDB.</p>"
410
- }
411
- },
412
- "shapes":{
413
- "AttributeAction":{
414
- "type":"string",
415
- "enum":[
416
- "ADD",
417
- "PUT",
418
- "DELETE"
419
- ],
420
- "documentation":"<p>The type of action for an item update operation. Only use the add action for numbers or sets; the specified value is added to the existing value. If a set of values is specified, the values are added to the existing set. Adds the specified attribute. If the attribute exists, it is replaced by the new value. If no value is specified, this removes the attribute and its value. If a set of values is specified, then the values in the specified set are removed from the old set.</p>"
421
- },
422
- "AttributeMap":{
423
- "type":"map",
424
- "key":{"shape":"AttributeName"},
425
- "value":{"shape":"AttributeValue"}
426
- },
427
- "AttributeName":{
428
- "type":"string",
429
- "max":65535
430
- },
431
- "AttributeNameList":{
432
- "type":"list",
433
- "member":{"shape":"AttributeName"},
434
- "min":1,
435
- "documentation":"<p>List of <code>Attribute</code> names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result.</p>"
436
- },
437
- "AttributeUpdates":{
438
- "type":"map",
439
- "key":{"shape":"AttributeName"},
440
- "value":{"shape":"AttributeValueUpdate"},
441
- "documentation":"<p>Map of attribute name to the new value and action for the update. The attribute names specify the attributes to modify, and cannot contain any primary key attributes.</p>"
442
- },
443
- "AttributeValue":{
444
- "type":"structure",
445
- "members":{
446
- "S":{
447
- "shape":"StringAttributeValue",
448
- "documentation":"<p>Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</p>"
449
- },
450
- "N":{
451
- "shape":"NumberAttributeValue",
452
- "documentation":"<p>Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</p>"
453
- },
454
- "B":{
455
- "shape":"BinaryAttributeValue",
456
- "documentation":"<p>Binary attributes are sequences of unsigned bytes.</p>"
457
- },
458
- "SS":{
459
- "shape":"StringSetAttributeValue",
460
- "documentation":"<p>A set of strings.</p>"
461
- },
462
- "NS":{
463
- "shape":"NumberSetAttributeValue",
464
- "documentation":"<p>A set of numbers.</p>"
465
- },
466
- "BS":{
467
- "shape":"BinarySetAttributeValue",
468
- "documentation":"<p>A set of binary attributes.</p>"
469
- }
470
- },
471
- "documentation":"<p>AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>.</p>"
472
- },
473
- "AttributeValueList":{
474
- "type":"list",
475
- "member":{"shape":"AttributeValue"},
476
- "documentation":"<p>A list of attribute values to be used with a comparison operator for a scan or query operation. For comparisons that require more than one value, such as a <code>BETWEEN</code> comparison, the AttributeValueList contains two attribute values and the comparison operator.</p>"
477
- },
478
- "AttributeValueUpdate":{
479
- "type":"structure",
480
- "members":{
481
- "Value":{"shape":"AttributeValue"},
482
- "Action":{"shape":"AttributeAction"}
483
- },
484
- "documentation":"<p>Specifies the attribute to update and how to perform the update. Possible values: <code>PUT</code> (default), <code>ADD</code> or <code>DELETE</code>.</p>"
485
- },
486
- "BatchGetItemInput":{
487
- "type":"structure",
488
- "required":["RequestItems"],
489
- "members":{
490
- "RequestItems":{"shape":"BatchGetRequestMap"}
491
- }
492
- },
493
- "BatchGetItemOutput":{
494
- "type":"structure",
495
- "members":{
496
- "Responses":{"shape":"BatchGetResponseMap"},
497
- "UnprocessedKeys":{
498
- "shape":"BatchGetRequestMap",
499
- "documentation":"<p>Contains a map of tables and their respective keys that were not processed with the current response, possibly due to reaching a limit on the response size. The <code>UnprocessedKeys</code> value is in the same form as a <code>RequestItems</code> parameter (so the value can be provided directly to a subsequent <code>BatchGetItem</code> operation). For more information, see the above <code>RequestItems</code> parameter.</p>"
500
- }
501
- }
502
- },
503
- "BatchGetRequestMap":{
504
- "type":"map",
505
- "key":{"shape":"TableName"},
506
- "value":{"shape":"KeysAndAttributes"},
507
- "min":1,
508
- "max":100,
509
- "documentation":"<p>A map of the table name and corresponding items to get by primary key. While requesting items, each table name can be invoked only once per operation.</p>"
510
- },
511
- "BatchGetResponseMap":{
512
- "type":"map",
513
- "key":{"shape":"TableName"},
514
- "value":{"shape":"BatchResponse"},
515
- "documentation":"<p>Table names and the respective item attributes from the tables.</p>"
516
- },
517
- "BatchResponse":{
518
- "type":"structure",
519
- "members":{
520
- "Items":{"shape":"ItemList"},
521
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
522
- },
523
- "documentation":"<p>The item attributes from a response in a specific table, along with the read resources consumed on the table during the request.</p>"
524
- },
525
- "BatchWriteItemInput":{
526
- "type":"structure",
527
- "required":["RequestItems"],
528
- "members":{
529
- "RequestItems":{
530
- "shape":"BatchWriteItemRequestMap",
531
- "documentation":"<p>A map of table name to list-of-write-requests. Used as input to the <code>BatchWriteItem</code> API call</p>"
532
- }
533
- }
534
- },
535
- "BatchWriteItemOutput":{
536
- "type":"structure",
537
- "members":{
538
- "Responses":{
539
- "shape":"BatchWriteResponseMap",
540
- "documentation":"<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>"
541
- },
542
- "UnprocessedItems":{
543
- "shape":"BatchWriteItemRequestMap",
544
- "documentation":"<p>The Items which we could not successfully process in a <code>BatchWriteItem</code> call is returned as <code>UnprocessedItems</code></p>"
545
- }
546
- },
547
- "documentation":"<p>A container for <code>BatchWriteItem</code> response</p>"
548
- },
549
- "BatchWriteItemRequestMap":{
550
- "type":"map",
551
- "key":{"shape":"TableName"},
552
- "value":{"shape":"WriteRequests"},
553
- "min":1,
554
- "max":25,
555
- "documentation":"<p>A map of table name to list-of-write-requests.</p> <p>Key: The table name corresponding to the list of requests</p> <p>Value: Essentially a list of request items. Each request item could contain either a <code>PutRequest</code> or <code>DeleteRequest</code>. Never both.</p>"
556
- },
557
- "BatchWriteResponse":{
558
- "type":"structure",
559
- "members":{
560
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
561
- }
562
- },
563
- "BatchWriteResponseMap":{
564
- "type":"map",
565
- "key":{"shape":"TableName"},
566
- "value":{"shape":"BatchWriteResponse"}
567
- },
568
- "BinaryAttributeValue":{"type":"blob"},
569
- "BinarySetAttributeValue":{
570
- "type":"list",
571
- "member":{"shape":"BinaryAttributeValue"}
572
- },
573
- "BooleanObject":{"type":"boolean"},
574
- "ComparisonOperator":{
575
- "type":"string",
576
- "enum":[
577
- "EQ",
578
- "NE",
579
- "IN",
580
- "LE",
581
- "LT",
582
- "GE",
583
- "GT",
584
- "BETWEEN",
585
- "NOT_NULL",
586
- "NULL",
587
- "CONTAINS",
588
- "NOT_CONTAINS",
589
- "BEGINS_WITH"
590
- ],
591
- "documentation":"<p>A comparison operator is an enumeration of several operations:</p> <ul> <li> <code>EQ</code> for <em>equal</em>.</li> <li> <code>NE</code> for <em>not equal</em>.</li> <li> <code>IN</code> checks for exact matches.</li> <li> <code>LE</code> for <em>less than or equal to</em>.</li> <li> <code>LT</code> for <em>less than</em>.</li> <li> <code>GE</code> for <em>greater than or equal to</em>.</li> <li> <code>GT</code> for <em>greater than</em>.</li> <li> <code>BETWEEN</code> for <em>between</em>.</li> <li> <code>NOT_NULL</code> for <em>exists</em>.</li> <li> <code>NULL</code> for <em>not exists</em>.</li> <li> <code>CONTAINS</code> for substring or value in a set.</li> <li> <code>NOT_CONTAINS</code> for absence of a substring or absence of a value in a set.</li> <li> <code>BEGINS_WITH</code> for a substring prefix.</li> </ul> <p>Scan operations support all available comparison operators.</p> <p>Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.</p>"
592
- },
593
- "Condition":{
594
- "type":"structure",
595
- "required":["ComparisonOperator"],
596
- "members":{
597
- "AttributeValueList":{"shape":"AttributeValueList"},
598
- "ComparisonOperator":{"shape":"ComparisonOperator"}
599
- }
600
- },
601
- "ConditionalCheckFailedException":{
602
- "type":"structure",
603
- "members":{
604
- "message":{"shape":"ErrorMessage"}
605
- },
606
- "exception":true,
607
- "documentation":"<p>This exception is thrown when an expected value does not match what was found in the system.</p>"
608
- },
609
- "ConsistentRead":{
610
- "type":"boolean",
611
- "documentation":"<p>If set to <code>true</code>, then a consistent read is issued. Otherwise eventually-consistent is used.</p>"
612
- },
613
- "ConsumedCapacityUnits":{
614
- "type":"double",
615
- "documentation":"<p>The number of Capacity Units of the provisioned throughput of the table consumed during the operation. <code>GetItem</code>, <code>BatchGetItem</code>, <code>BatchWriteItem</code>, <code>Query</code>, and <code>Scan</code> operations consume <code>ReadCapacityUnits</code>, while <code>PutItem</code>, <code>UpdateItem</code>, and <code>DeleteItem</code> operations consume <code>WriteCapacityUnits</code>.</p>"
616
- },
617
- "CreateTableInput":{
618
- "type":"structure",
619
- "required":[
620
- "TableName",
621
- "KeySchema",
622
- "ProvisionedThroughput"
623
- ],
624
- "members":{
625
- "TableName":{
626
- "shape":"TableName",
627
- "documentation":"<p>The name of the table you want to create. Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
628
- },
629
- "KeySchema":{"shape":"KeySchema"},
630
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
631
- }
632
- },
633
- "CreateTableOutput":{
634
- "type":"structure",
635
- "members":{
636
- "TableDescription":{"shape":"TableDescription"}
637
- }
638
- },
639
- "Date":{"type":"timestamp"},
640
- "DeleteItemInput":{
641
- "type":"structure",
642
- "required":[
643
- "TableName",
644
- "Key"
645
- ],
646
- "members":{
647
- "TableName":{
648
- "shape":"TableName",
649
- "documentation":"<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>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
650
- },
651
- "Key":{"shape":"Key"},
652
- "Expected":{"shape":"ExpectedAttributeMap"},
653
- "ReturnValues":{"shape":"ReturnValue"}
654
- }
655
- },
656
- "DeleteItemOutput":{
657
- "type":"structure",
658
- "members":{
659
- "Attributes":{
660
- "shape":"AttributeMap",
661
- "documentation":"<p>If the <code>ReturnValues</code> parameter is provided as <code>ALL_OLD</code> in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item). Otherwise, the response contains an empty set.</p>"
662
- },
663
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
664
- }
665
- },
666
- "DeleteRequest":{
667
- "type":"structure",
668
- "required":["Key"],
669
- "members":{
670
- "Key":{
671
- "shape":"Key",
672
- "documentation":"<p>The item's key to be delete</p>"
673
- }
674
- },
675
- "documentation":"<p>A container for a Delete BatchWrite request</p>"
676
- },
677
- "DeleteTableInput":{
678
- "type":"structure",
679
- "required":["TableName"],
680
- "members":{
681
- "TableName":{
682
- "shape":"TableName",
683
- "documentation":"<p>The name of the table you want to delete. Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
684
- }
685
- }
686
- },
687
- "DeleteTableOutput":{
688
- "type":"structure",
689
- "members":{
690
- "TableDescription":{"shape":"TableDescription"}
691
- }
692
- },
693
- "DescribeTableInput":{
694
- "type":"structure",
695
- "required":["TableName"],
696
- "members":{
697
- "TableName":{
698
- "shape":"TableName",
699
- "documentation":"<p>The name of the table you want to describe. Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
700
- }
701
- }
702
- },
703
- "DescribeTableOutput":{
704
- "type":"structure",
705
- "members":{
706
- "Table":{"shape":"TableDescription"}
707
- }
708
- },
709
- "ErrorMessage":{"type":"string"},
710
- "ExpectedAttributeMap":{
711
- "type":"map",
712
- "key":{"shape":"AttributeName"},
713
- "value":{"shape":"ExpectedAttributeValue"},
714
- "documentation":"<p>Designates an attribute for a conditional modification. The <code>Expected</code> parameter allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value before modifying it.</p>"
715
- },
716
- "ExpectedAttributeValue":{
717
- "type":"structure",
718
- "members":{
719
- "Value":{
720
- "shape":"AttributeValue",
721
- "documentation":"<p>Specify whether or not a value already exists and has a specific content for the attribute name-value pair.</p>"
722
- },
723
- "Exists":{
724
- "shape":"BooleanObject",
725
- "documentation":"<p>Specify whether or not a value already exists for the attribute name-value pair.</p>"
726
- }
727
- },
728
- "documentation":"<p>Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute value already exists; or if the attribute value exists and has a particular value before changing it.</p>"
729
- },
730
- "FilterConditionMap":{
731
- "type":"map",
732
- "key":{"shape":"String"},
733
- "value":{"shape":"Condition"}
734
- },
735
- "GetItemInput":{
736
- "type":"structure",
737
- "required":[
738
- "TableName",
739
- "Key"
740
- ],
741
- "members":{
742
- "TableName":{
743
- "shape":"TableName",
744
- "documentation":"<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>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
745
- },
746
- "Key":{"shape":"Key"},
747
- "AttributesToGet":{"shape":"AttributeNameList"},
748
- "ConsistentRead":{"shape":"ConsistentRead"}
749
- }
750
- },
751
- "GetItemOutput":{
752
- "type":"structure",
753
- "members":{
754
- "Item":{
755
- "shape":"AttributeMap",
756
- "documentation":"<p>Contains the requested attributes.</p>"
757
- },
758
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
759
- }
760
- },
761
- "Integer":{"type":"integer"},
762
- "InternalServerError":{
763
- "type":"structure",
764
- "members":{
765
- "message":{"shape":"ErrorMessage"}
766
- },
767
- "exception":true,
768
- "fault":true,
769
- "documentation":"<p>This exception is thrown when the service has a problem when trying to process the request.</p>"
770
- },
771
- "ItemList":{
772
- "type":"list",
773
- "member":{"shape":"AttributeMap"}
774
- },
775
- "Key":{
776
- "type":"structure",
777
- "required":["HashKeyElement"],
778
- "members":{
779
- "HashKeyElement":{
780
- "shape":"AttributeValue",
781
- "documentation":"<p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>"
782
- },
783
- "RangeKeyElement":{
784
- "shape":"AttributeValue",
785
- "documentation":"<p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>"
786
- }
787
- },
788
- "documentation":"<p>The primary key that uniquely identifies each item in a table. A primary key can be a one attribute (hash) primary key or a two attribute (hash-and-range) primary key.</p>"
789
- },
790
- "KeyList":{
791
- "type":"list",
792
- "member":{"shape":"Key"},
793
- "min":1,
794
- "max":100
795
- },
796
- "KeySchema":{
797
- "type":"structure",
798
- "required":["HashKeyElement"],
799
- "members":{
800
- "HashKeyElement":{
801
- "shape":"KeySchemaElement",
802
- "documentation":"<p>A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>"
803
- },
804
- "RangeKeyElement":{
805
- "shape":"KeySchemaElement",
806
- "documentation":"<p>A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>.</p>"
807
- }
808
- },
809
- "documentation":"<p>The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute (hash-and-range) primary key. Single attribute primary keys have one index value: a <code>HashKeyElement</code>. A composite hash-and-range primary key contains two attribute values: a <code>HashKeyElement</code> and a <code>RangeKeyElement</code>.</p>"
810
- },
811
- "KeySchemaAttributeName":{
812
- "type":"string",
813
- "min":1,
814
- "max":255
815
- },
816
- "KeySchemaElement":{
817
- "type":"structure",
818
- "required":[
819
- "AttributeName",
820
- "AttributeType"
821
- ],
822
- "members":{
823
- "AttributeName":{
824
- "shape":"KeySchemaAttributeName",
825
- "documentation":"<p>The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</p>"
826
- },
827
- "AttributeType":{
828
- "shape":"ScalarAttributeType",
829
- "documentation":"<p>The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a <code>Number</code>.</p>"
830
- }
831
- },
832
- "documentation":"<p><code>KeySchemaElement</code> is the primary key (hash or hash-and-range) structure for the table.</p>"
833
- },
834
- "KeysAndAttributes":{
835
- "type":"structure",
836
- "required":["Keys"],
837
- "members":{
838
- "Keys":{"shape":"KeyList"},
839
- "AttributesToGet":{"shape":"AttributeNameList"},
840
- "ConsistentRead":{"shape":"ConsistentRead"}
841
- }
842
- },
843
- "LimitExceededException":{
844
- "type":"structure",
845
- "members":{
846
- "message":{"shape":"ErrorMessage"}
847
- },
848
- "exception":true,
849
- "documentation":"<p>This exception is thrown when the subscriber exceeded the limits on the number of objects or operations.</p>"
850
- },
851
- "ListTablesInput":{
852
- "type":"structure",
853
- "members":{
854
- "ExclusiveStartTableName":{
855
- "shape":"TableName",
856
- "documentation":"<p>The name of the table that starts the list. If you already ran a <code>ListTables</code> operation and received a <code>LastEvaluatedTableName</code> value in the response, use that value here to continue the list.</p>"
857
- },
858
- "Limit":{"shape":"ListTablesInputLimit"}
859
- }
860
- },
861
- "ListTablesInputLimit":{
862
- "type":"integer",
863
- "min":1,
864
- "max":100,
865
- "documentation":"<p>A number of maximum table names to return.</p>"
866
- },
867
- "ListTablesOutput":{
868
- "type":"structure",
869
- "members":{
870
- "TableNames":{"shape":"TableNameList"},
871
- "LastEvaluatedTableName":{
872
- "shape":"TableName",
873
- "documentation":"<p>The name of the last table in the current list. Use this value as the <code>ExclusiveStartTableName</code> in a new request to continue the list until all the table names are returned. If this value is null, all table names have been returned.</p>"
874
- }
875
- }
876
- },
877
- "Long":{"type":"long"},
878
- "NumberAttributeValue":{"type":"string"},
879
- "NumberSetAttributeValue":{
880
- "type":"list",
881
- "member":{"shape":"NumberAttributeValue"}
882
- },
883
- "PositiveIntegerObject":{
884
- "type":"integer",
885
- "min":1
886
- },
887
- "PositiveLongObject":{
888
- "type":"long",
889
- "min":1
890
- },
891
- "ProvisionedThroughput":{
892
- "type":"structure",
893
- "required":[
894
- "ReadCapacityUnits",
895
- "WriteCapacityUnits"
896
- ],
897
- "members":{
898
- "ReadCapacityUnits":{
899
- "shape":"PositiveLongObject",
900
- "documentation":"<p><code>ReadCapacityUnits</code> are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the <code>ReadCapacityUnits</code>. Eventually-consistent reads only require half the <code>ReadCapacityUnits</code> of stirctly consistent reads.</p>"
901
- },
902
- "WriteCapacityUnits":{
903
- "shape":"PositiveLongObject",
904
- "documentation":"<p><code>WriteCapacityUnits</code> are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the <code>WriteCapacityUnits</code>.</p>"
905
- }
906
- },
907
- "documentation":"<p>Provisioned throughput reserves the required read and write resources for your table in terms of <code>ReadCapacityUnits</code> and <code>WriteCapacityUnits</code>. Values for provisioned throughput depend upon your expected read/write rates, item size, and consistency. Provide the expected number of read and write operations, assuming an item size of 1k and strictly consistent reads. For 2k item size, double the value. For 3k, triple the value, etc. Eventually-consistent reads consume half the resources of strictly consistent reads.</p>"
908
- },
909
- "ProvisionedThroughputDescription":{
910
- "type":"structure",
911
- "members":{
912
- "LastIncreaseDateTime":{"shape":"Date"},
913
- "LastDecreaseDateTime":{"shape":"Date"},
914
- "NumberOfDecreasesToday":{"shape":"PositiveLongObject"},
915
- "ReadCapacityUnits":{"shape":"PositiveLongObject"},
916
- "WriteCapacityUnits":{"shape":"PositiveLongObject"}
917
- }
918
- },
919
- "ProvisionedThroughputExceededException":{
920
- "type":"structure",
921
- "members":{
922
- "message":{"shape":"ErrorMessage"}
923
- },
924
- "exception":true,
925
- "documentation":"<p>This exception is thrown when the level of provisioned throughput defined for the table is exceeded.</p>"
926
- },
927
- "PutItemInput":{
928
- "type":"structure",
929
- "required":[
930
- "TableName",
931
- "Item"
932
- ],
933
- "members":{
934
- "TableName":{
935
- "shape":"TableName",
936
- "documentation":"<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>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
937
- },
938
- "Item":{"shape":"PutItemInputAttributeMap"},
939
- "Expected":{"shape":"ExpectedAttributeMap"},
940
- "ReturnValues":{"shape":"ReturnValue"}
941
- }
942
- },
943
- "PutItemInputAttributeMap":{
944
- "type":"map",
945
- "key":{"shape":"AttributeName"},
946
- "value":{"shape":"AttributeValue"},
947
- "documentation":"<p>A map of the attributes for the item, and must include the primary key values that define the item. Other attribute name-value pairs can be provided for the item.</p>"
948
- },
949
- "PutItemOutput":{
950
- "type":"structure",
951
- "members":{
952
- "Attributes":{
953
- "shape":"AttributeMap",
954
- "documentation":"<p>Attribute values before the put operation, but only if the <code>ReturnValues</code> parameter is specified as <code>ALL_OLD</code> in the request.</p>"
955
- },
956
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
957
- }
958
- },
959
- "PutRequest":{
960
- "type":"structure",
961
- "required":["Item"],
962
- "members":{
963
- "Item":{
964
- "shape":"PutItemInputAttributeMap",
965
- "documentation":"<p>The item to put</p>"
966
- }
967
- },
968
- "documentation":"<p>A container for a Put BatchWrite request</p>"
969
- },
970
- "QueryInput":{
971
- "type":"structure",
972
- "required":[
973
- "TableName",
974
- "HashKeyValue"
975
- ],
976
- "members":{
977
- "TableName":{
978
- "shape":"TableName",
979
- "documentation":"<p>The name of the table in which you want to query. Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
980
- },
981
- "AttributesToGet":{"shape":"AttributeNameList"},
982
- "Limit":{
983
- "shape":"PositiveIntegerObject",
984
- "documentation":"<p>The maximum number of items to return. If Amazon DynamoDB hits this limit while querying the table, it stops the query and returns the matching values up to the limit, and a <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the query. Also, if the result set size exceeds 1MB before Amazon DynamoDB hits this limit, it stops the query and returns the matching values, and a <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the query.</p>"
985
- },
986
- "ConsistentRead":{"shape":"ConsistentRead"},
987
- "Count":{
988
- "shape":"BooleanObject",
989
- "documentation":"<p>If set to <code>true</code>, Amazon DynamoDB returns a total number of items that match the query parameters, instead of a list of the matching items and their attributes. Do not set <code>Count</code> to <code>true</code> while providing a list of <code>AttributesToGet</code>, otherwise Amazon DynamoDB returns a validation error.</p>"
990
- },
991
- "HashKeyValue":{
992
- "shape":"AttributeValue",
993
- "documentation":"<p>Attribute value of the hash component of the composite primary key.</p>"
994
- },
995
- "RangeKeyCondition":{
996
- "shape":"Condition",
997
- "documentation":"<p>A container for the attribute values and comparison operators to use for the query.</p>"
998
- },
999
- "ScanIndexForward":{
1000
- "shape":"BooleanObject",
1001
- "documentation":"<p>Specifies forward or backward traversal of the index. Amazon DynamoDB returns results reflecting the requested order, determined by the range key. The default value is <code>true</code> (forward).</p>"
1002
- },
1003
- "ExclusiveStartKey":{
1004
- "shape":"Key",
1005
- "documentation":"<p>Primary key of the item from which to continue an earlier query. An earlier query might provide this value as the <code>LastEvaluatedKey</code> if that query operation was interrupted before completing the query; either because of the result set size or the <code>Limit</code> parameter. The <code>LastEvaluatedKey</code> can be passed back in a new query request to continue the operation from that point.</p>"
1006
- }
1007
- }
1008
- },
1009
- "QueryOutput":{
1010
- "type":"structure",
1011
- "members":{
1012
- "Items":{"shape":"ItemList"},
1013
- "Count":{
1014
- "shape":"Integer",
1015
- "documentation":"<p>Number of items in the response.</p>"
1016
- },
1017
- "LastEvaluatedKey":{
1018
- "shape":"Key",
1019
- "documentation":"<p>Primary key of the item where the query operation stopped, inclusive of the previous result set. Use this value to start a new operation excluding this value in the new request. The <code>LastEvaluatedKey</code> is null when the entire query result set is complete (i.e. the operation processed the \"last page\").</p>"
1020
- },
1021
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
1022
- }
1023
- },
1024
- "ResourceInUseException":{
1025
- "type":"structure",
1026
- "members":{
1027
- "message":{"shape":"ErrorMessage"}
1028
- },
1029
- "exception":true,
1030
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
1031
- },
1032
- "ResourceNotFoundException":{
1033
- "type":"structure",
1034
- "members":{
1035
- "message":{"shape":"ErrorMessage"}
1036
- },
1037
- "exception":true,
1038
- "documentation":"<p>This exception is thrown when the resource which is being attempted to be changed is in use.</p>"
1039
- },
1040
- "ReturnValue":{
1041
- "type":"string",
1042
- "enum":[
1043
- "NONE",
1044
- "ALL_OLD",
1045
- "UPDATED_OLD",
1046
- "ALL_NEW",
1047
- "UPDATED_NEW"
1048
- ],
1049
- "documentation":"<p>Use this parameter if you want to get the attribute name-value pairs before or after they are modified. For <code>PUT</code> operations, the possible parameter values are <code>NONE</code> (default) or <code>ALL_OLD</code>. For update operations, the possible parameter values are <code>NONE</code> (default) or <code>ALL_OLD</code>, <code>UPDATED_OLD</code>, <code>ALL_NEW</code> or <code>UPDATED_NEW</code>.</p> <ul> <li> <code>NONE</code>: Nothing is returned.</li> <li> <code>ALL_OLD</code>: Returns the attributes of the item as they were before the operation.</li> <li> <code>UPDATED_OLD</code>: Returns the values of the updated attributes, only, as they were before the operation.</li> <li> <code>ALL_NEW</code>: Returns all the attributes and their new values after the operation.</li> <li> <code>UPDATED_NEW</code>: Returns the values of the updated attributes, only, as they are after the operation.</li> </ul>"
1050
- },
1051
- "ScalarAttributeType":{
1052
- "type":"string",
1053
- "enum":[
1054
- "S",
1055
- "N",
1056
- "B"
1057
- ]
1058
- },
1059
- "ScanInput":{
1060
- "type":"structure",
1061
- "required":["TableName"],
1062
- "members":{
1063
- "TableName":{
1064
- "shape":"TableName",
1065
- "documentation":"<p>The name of the table in which you want to scan. Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
1066
- },
1067
- "AttributesToGet":{"shape":"AttributeNameList"},
1068
- "Limit":{
1069
- "shape":"PositiveIntegerObject",
1070
- "documentation":"<p>The maximum number of items to return. If Amazon DynamoDB hits this limit while scanning the table, it stops the scan and returns the matching values up to the limit, and a <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the scan. Also, if the scanned data set size exceeds 1 MB before Amazon DynamoDB hits this limit, it stops the scan and returns the matching values up to the limit, and a <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the scan.</p>"
1071
- },
1072
- "Count":{
1073
- "shape":"BooleanObject",
1074
- "documentation":"<p>If set to <code>true</code>, Amazon DynamoDB returns a total number of items for the <code>Scan</code> operation, even if the operation has no matching items for the assigned filter. Do not set <code>Count</code> to <code>true</code> while providing a list of <code>AttributesToGet</code>, otherwise Amazon DynamoDB returns a validation error.</p>"
1075
- },
1076
- "ScanFilter":{
1077
- "shape":"FilterConditionMap",
1078
- "documentation":"<p>Evaluates the scan results and returns only the desired values.</p>"
1079
- },
1080
- "ExclusiveStartKey":{
1081
- "shape":"Key",
1082
- "documentation":"<p>Primary key of the item from which to continue an earlier scan. An earlier scan might provide this value if that scan operation was interrupted before scanning the entire table; either because of the result set size or the <code>Limit</code> parameter. The <code>LastEvaluatedKey</code> can be passed back in a new scan request to continue the operation from that point.</p>"
1083
- }
1084
- }
1085
- },
1086
- "ScanOutput":{
1087
- "type":"structure",
1088
- "members":{
1089
- "Items":{"shape":"ItemList"},
1090
- "Count":{
1091
- "shape":"Integer",
1092
- "documentation":"<p>Number of items in the response.</p>"
1093
- },
1094
- "ScannedCount":{
1095
- "shape":"Integer",
1096
- "documentation":"<p>Number of items in the complete scan before any filters are applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Scan</code> operation.</p>"
1097
- },
1098
- "LastEvaluatedKey":{
1099
- "shape":"Key",
1100
- "documentation":"<p>Primary key of the item where the scan operation stopped. Provide this value in a subsequent scan operation to continue the operation from that point. The <code>LastEvaluatedKey</code> is null when the entire scan result set is complete (i.e. the operation processed the \"last page\").</p>"
1101
- },
1102
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
1103
- }
1104
- },
1105
- "String":{"type":"string"},
1106
- "StringAttributeValue":{"type":"string"},
1107
- "StringSetAttributeValue":{
1108
- "type":"list",
1109
- "member":{"shape":"StringAttributeValue"}
1110
- },
1111
- "TableDescription":{
1112
- "type":"structure",
1113
- "members":{
1114
- "TableName":{
1115
- "shape":"TableName",
1116
- "documentation":"<p>The name of the table being described.</p>"
1117
- },
1118
- "KeySchema":{"shape":"KeySchema"},
1119
- "TableStatus":{"shape":"TableStatus"},
1120
- "CreationDateTime":{"shape":"Date"},
1121
- "ProvisionedThroughput":{"shape":"ProvisionedThroughputDescription"},
1122
- "TableSizeBytes":{"shape":"Long"},
1123
- "ItemCount":{"shape":"Long"}
1124
- }
1125
- },
1126
- "TableName":{
1127
- "type":"string",
1128
- "min":3,
1129
- "max":255,
1130
- "pattern":"[a-zA-Z0-9_.-]+"
1131
- },
1132
- "TableNameList":{
1133
- "type":"list",
1134
- "member":{"shape":"TableName"}
1135
- },
1136
- "TableStatus":{
1137
- "type":"string",
1138
- "enum":[
1139
- "CREATING",
1140
- "UPDATING",
1141
- "DELETING",
1142
- "ACTIVE"
1143
- ]
1144
- },
1145
- "UpdateItemInput":{
1146
- "type":"structure",
1147
- "required":[
1148
- "TableName",
1149
- "Key",
1150
- "AttributeUpdates"
1151
- ],
1152
- "members":{
1153
- "TableName":{
1154
- "shape":"TableName",
1155
- "documentation":"<p>The name of the table in which you want to update an item. Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
1156
- },
1157
- "Key":{"shape":"Key"},
1158
- "AttributeUpdates":{"shape":"AttributeUpdates"},
1159
- "Expected":{"shape":"ExpectedAttributeMap"},
1160
- "ReturnValues":{"shape":"ReturnValue"}
1161
- }
1162
- },
1163
- "UpdateItemOutput":{
1164
- "type":"structure",
1165
- "members":{
1166
- "Attributes":{
1167
- "shape":"AttributeMap",
1168
- "documentation":"<p>A map of attribute name-value pairs, but only if the <code>ReturnValues</code> parameter is specified as something other than <code>NONE</code> in the request.</p>"
1169
- },
1170
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
1171
- }
1172
- },
1173
- "UpdateTableInput":{
1174
- "type":"structure",
1175
- "required":[
1176
- "TableName",
1177
- "ProvisionedThroughput"
1178
- ],
1179
- "members":{
1180
- "TableName":{
1181
- "shape":"TableName",
1182
- "documentation":"<p>The name of the table you want to update. Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period).</p>"
1183
- },
1184
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
1185
- }
1186
- },
1187
- "UpdateTableOutput":{
1188
- "type":"structure",
1189
- "members":{
1190
- "TableDescription":{"shape":"TableDescription"}
1191
- }
1192
- },
1193
- "WriteRequest":{
1194
- "type":"structure",
1195
- "members":{
1196
- "PutRequest":{"shape":"PutRequest"},
1197
- "DeleteRequest":{"shape":"DeleteRequest"}
1198
- },
1199
- "documentation":"<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>"
1200
- },
1201
- "WriteRequests":{
1202
- "type":"list",
1203
- "member":{"shape":"WriteRequest"},
1204
- "min":1,
1205
- "max":25
1206
- }
1207
- }
1208
- }