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
@@ -0,0 +1,721 @@
1
+ {
2
+ "metadata":{
3
+ "apiVersion":"2014-06-30",
4
+ "endpointPrefix":"cognito-sync",
5
+ "jsonVersion":"1.1",
6
+ "serviceFullName":"Amazon Cognito Sync",
7
+ "signatureVersion":"v4",
8
+ "protocol":"rest-json"
9
+ },
10
+ "operations":{
11
+ "DeleteDataset":{
12
+ "name":"DeleteDataset",
13
+ "http":{
14
+ "method":"DELETE",
15
+ "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
16
+ "responseCode":200
17
+ },
18
+ "input":{"shape":"DeleteDatasetRequest"},
19
+ "output":{"shape":"DeleteDatasetResponse"},
20
+ "errors":[
21
+ {
22
+ "shape":"NotAuthorizedException",
23
+ "error":{"httpStatusCode":403},
24
+ "exception":true
25
+ },
26
+ {
27
+ "shape":"InvalidParameterException",
28
+ "error":{"httpStatusCode":400},
29
+ "exception":true
30
+ },
31
+ {
32
+ "shape":"ResourceNotFoundException",
33
+ "error":{"httpStatusCode":404},
34
+ "exception":true
35
+ },
36
+ {
37
+ "shape":"InternalErrorException",
38
+ "error":{"httpStatusCode":500},
39
+ "exception":true
40
+ }
41
+ ]
42
+ },
43
+ "DescribeDataset":{
44
+ "name":"DescribeDataset",
45
+ "http":{
46
+ "method":"GET",
47
+ "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
48
+ "responseCode":200
49
+ },
50
+ "input":{"shape":"DescribeDatasetRequest"},
51
+ "output":{"shape":"DescribeDatasetResponse"},
52
+ "errors":[
53
+ {
54
+ "shape":"NotAuthorizedException",
55
+ "error":{"httpStatusCode":403},
56
+ "exception":true
57
+ },
58
+ {
59
+ "shape":"InvalidParameterException",
60
+ "error":{"httpStatusCode":400},
61
+ "exception":true
62
+ },
63
+ {
64
+ "shape":"ResourceNotFoundException",
65
+ "error":{"httpStatusCode":404},
66
+ "exception":true
67
+ },
68
+ {
69
+ "shape":"InternalErrorException",
70
+ "error":{"httpStatusCode":500},
71
+ "exception":true
72
+ }
73
+ ]
74
+ },
75
+ "DescribeIdentityPoolUsage":{
76
+ "name":"DescribeIdentityPoolUsage",
77
+ "http":{
78
+ "method":"GET",
79
+ "requestUri":"/identitypools/{IdentityPoolId}",
80
+ "responseCode":200
81
+ },
82
+ "input":{"shape":"DescribeIdentityPoolUsageRequest"},
83
+ "output":{"shape":"DescribeIdentityPoolUsageResponse"},
84
+ "errors":[
85
+ {
86
+ "shape":"NotAuthorizedException",
87
+ "error":{"httpStatusCode":403},
88
+ "exception":true
89
+ },
90
+ {
91
+ "shape":"InvalidParameterException",
92
+ "error":{"httpStatusCode":400},
93
+ "exception":true
94
+ },
95
+ {
96
+ "shape":"ResourceNotFoundException",
97
+ "error":{"httpStatusCode":404},
98
+ "exception":true
99
+ },
100
+ {
101
+ "shape":"InternalErrorException",
102
+ "error":{"httpStatusCode":500},
103
+ "exception":true
104
+ }
105
+ ]
106
+ },
107
+ "DescribeIdentityUsage":{
108
+ "name":"DescribeIdentityUsage",
109
+ "http":{
110
+ "method":"GET",
111
+ "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}",
112
+ "responseCode":200
113
+ },
114
+ "input":{"shape":"DescribeIdentityUsageRequest"},
115
+ "output":{"shape":"DescribeIdentityUsageResponse"},
116
+ "errors":[
117
+ {
118
+ "shape":"NotAuthorizedException",
119
+ "error":{"httpStatusCode":403},
120
+ "exception":true
121
+ },
122
+ {
123
+ "shape":"InvalidParameterException",
124
+ "error":{"httpStatusCode":400},
125
+ "exception":true
126
+ },
127
+ {
128
+ "shape":"ResourceNotFoundException",
129
+ "error":{"httpStatusCode":404},
130
+ "exception":true
131
+ },
132
+ {
133
+ "shape":"InternalErrorException",
134
+ "error":{"httpStatusCode":500},
135
+ "exception":true
136
+ }
137
+ ]
138
+ },
139
+ "ListDatasets":{
140
+ "name":"ListDatasets",
141
+ "http":{
142
+ "method":"GET",
143
+ "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets",
144
+ "responseCode":200
145
+ },
146
+ "input":{"shape":"ListDatasetsRequest"},
147
+ "output":{"shape":"ListDatasetsResponse"},
148
+ "errors":[
149
+ {
150
+ "shape":"NotAuthorizedException",
151
+ "error":{"httpStatusCode":403},
152
+ "exception":true
153
+ },
154
+ {
155
+ "shape":"InvalidParameterException",
156
+ "error":{"httpStatusCode":400},
157
+ "exception":true
158
+ },
159
+ {
160
+ "shape":"InternalErrorException",
161
+ "error":{"httpStatusCode":500},
162
+ "exception":true
163
+ }
164
+ ]
165
+ },
166
+ "ListIdentityPoolUsage":{
167
+ "name":"ListIdentityPoolUsage",
168
+ "http":{
169
+ "method":"GET",
170
+ "requestUri":"/identitypools",
171
+ "responseCode":200
172
+ },
173
+ "input":{"shape":"ListIdentityPoolUsageRequest"},
174
+ "output":{"shape":"ListIdentityPoolUsageResponse"},
175
+ "errors":[
176
+ {
177
+ "shape":"NotAuthorizedException",
178
+ "error":{"httpStatusCode":403},
179
+ "exception":true
180
+ },
181
+ {
182
+ "shape":"InvalidParameterException",
183
+ "error":{"httpStatusCode":400},
184
+ "exception":true
185
+ },
186
+ {
187
+ "shape":"InternalErrorException",
188
+ "error":{"httpStatusCode":500},
189
+ "exception":true
190
+ }
191
+ ]
192
+ },
193
+ "ListRecords":{
194
+ "name":"ListRecords",
195
+ "http":{
196
+ "method":"GET",
197
+ "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records",
198
+ "responseCode":200
199
+ },
200
+ "input":{"shape":"ListRecordsRequest"},
201
+ "output":{"shape":"ListRecordsResponse"},
202
+ "errors":[
203
+ {
204
+ "shape":"InvalidParameterException",
205
+ "error":{"httpStatusCode":400},
206
+ "exception":true
207
+ },
208
+ {
209
+ "shape":"NotAuthorizedException",
210
+ "error":{"httpStatusCode":403},
211
+ "exception":true
212
+ },
213
+ {
214
+ "shape":"TooManyRequestsException",
215
+ "error":{"httpStatusCode":429},
216
+ "exception":true
217
+ },
218
+ {
219
+ "shape":"InternalErrorException",
220
+ "error":{"httpStatusCode":500},
221
+ "exception":true
222
+ }
223
+ ]
224
+ },
225
+ "UpdateRecords":{
226
+ "name":"UpdateRecords",
227
+ "http":{
228
+ "method":"POST",
229
+ "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
230
+ "responseCode":200
231
+ },
232
+ "input":{"shape":"UpdateRecordsRequest"},
233
+ "output":{"shape":"UpdateRecordsResponse"},
234
+ "errors":[
235
+ {
236
+ "shape":"InvalidParameterException",
237
+ "error":{"httpStatusCode":400},
238
+ "exception":true
239
+ },
240
+ {
241
+ "shape":"LimitExceededException",
242
+ "error":{"httpStatusCode":400},
243
+ "exception":true
244
+ },
245
+ {
246
+ "shape":"NotAuthorizedException",
247
+ "error":{"httpStatusCode":403},
248
+ "exception":true
249
+ },
250
+ {
251
+ "shape":"ResourceNotFoundException",
252
+ "error":{"httpStatusCode":404},
253
+ "exception":true
254
+ },
255
+ {
256
+ "shape":"ResourceConflictException",
257
+ "error":{"httpStatusCode":409},
258
+ "exception":true
259
+ },
260
+ {
261
+ "shape":"TooManyRequestsException",
262
+ "error":{"httpStatusCode":429},
263
+ "exception":true
264
+ },
265
+ {
266
+ "shape":"InternalErrorException",
267
+ "error":{"httpStatusCode":500},
268
+ "exception":true
269
+ }
270
+ ]
271
+ }
272
+ },
273
+ "shapes":{
274
+ "Boolean":{"type":"boolean"},
275
+ "ClientContext":{"type":"string"},
276
+ "Dataset":{
277
+ "type":"structure",
278
+ "members":{
279
+ "IdentityId":{"shape":"IdentityId"},
280
+ "DatasetName":{"shape":"DatasetName"},
281
+ "CreationDate":{"shape":"Date"},
282
+ "LastModifiedDate":{"shape":"Date"},
283
+ "LastModifiedBy":{"shape":"String"},
284
+ "DataStorage":{"shape":"Long"},
285
+ "NumRecords":{"shape":"Long"}
286
+ }
287
+ },
288
+ "DatasetList":{
289
+ "type":"list",
290
+ "member":{"shape":"Dataset"}
291
+ },
292
+ "DatasetName":{
293
+ "type":"string",
294
+ "min":1,
295
+ "max":128,
296
+ "pattern":"[a-zA-Z0-9_.:-]+"
297
+ },
298
+ "Date":{"type":"timestamp"},
299
+ "DeleteDatasetRequest":{
300
+ "type":"structure",
301
+ "required":[
302
+ "IdentityPoolId",
303
+ "IdentityId",
304
+ "DatasetName"
305
+ ],
306
+ "members":{
307
+ "IdentityPoolId":{
308
+ "shape":"IdentityPoolId",
309
+ "location":"uri",
310
+ "locationName":"IdentityPoolId"
311
+ },
312
+ "IdentityId":{
313
+ "shape":"IdentityId",
314
+ "location":"uri",
315
+ "locationName":"IdentityId"
316
+ },
317
+ "DatasetName":{
318
+ "shape":"DatasetName",
319
+ "location":"uri",
320
+ "locationName":"DatasetName"
321
+ }
322
+ }
323
+ },
324
+ "DeleteDatasetResponse":{
325
+ "type":"structure",
326
+ "members":{
327
+ "Dataset":{"shape":"Dataset"}
328
+ }
329
+ },
330
+ "DescribeDatasetRequest":{
331
+ "type":"structure",
332
+ "required":[
333
+ "IdentityPoolId",
334
+ "IdentityId",
335
+ "DatasetName"
336
+ ],
337
+ "members":{
338
+ "IdentityPoolId":{
339
+ "shape":"IdentityPoolId",
340
+ "location":"uri",
341
+ "locationName":"IdentityPoolId"
342
+ },
343
+ "IdentityId":{
344
+ "shape":"IdentityId",
345
+ "location":"uri",
346
+ "locationName":"IdentityId"
347
+ },
348
+ "DatasetName":{
349
+ "shape":"DatasetName",
350
+ "location":"uri",
351
+ "locationName":"DatasetName"
352
+ }
353
+ }
354
+ },
355
+ "DescribeDatasetResponse":{
356
+ "type":"structure",
357
+ "members":{
358
+ "Dataset":{"shape":"Dataset"}
359
+ }
360
+ },
361
+ "DescribeIdentityPoolUsageRequest":{
362
+ "type":"structure",
363
+ "required":["IdentityPoolId"],
364
+ "members":{
365
+ "IdentityPoolId":{
366
+ "shape":"IdentityPoolId",
367
+ "location":"uri",
368
+ "locationName":"IdentityPoolId"
369
+ }
370
+ }
371
+ },
372
+ "DescribeIdentityPoolUsageResponse":{
373
+ "type":"structure",
374
+ "members":{
375
+ "IdentityPoolUsage":{"shape":"IdentityPoolUsage"}
376
+ }
377
+ },
378
+ "DescribeIdentityUsageRequest":{
379
+ "type":"structure",
380
+ "required":[
381
+ "IdentityPoolId",
382
+ "IdentityId"
383
+ ],
384
+ "members":{
385
+ "IdentityPoolId":{
386
+ "shape":"IdentityPoolId",
387
+ "location":"uri",
388
+ "locationName":"IdentityPoolId"
389
+ },
390
+ "IdentityId":{
391
+ "shape":"IdentityId",
392
+ "location":"uri",
393
+ "locationName":"IdentityId"
394
+ }
395
+ }
396
+ },
397
+ "DescribeIdentityUsageResponse":{
398
+ "type":"structure",
399
+ "members":{
400
+ "IdentityUsage":{"shape":"IdentityUsage"}
401
+ }
402
+ },
403
+ "ExceptionMessage":{"type":"string"},
404
+ "IdentityId":{
405
+ "type":"string",
406
+ "min":1,
407
+ "max":50,
408
+ "pattern":"[\\w-]+:[0-9a-f-]+"
409
+ },
410
+ "IdentityPoolId":{
411
+ "type":"string",
412
+ "min":1,
413
+ "max":50,
414
+ "pattern":"[\\w-]+:[0-9a-f-]+"
415
+ },
416
+ "IdentityPoolUsage":{
417
+ "type":"structure",
418
+ "members":{
419
+ "IdentityPoolId":{"shape":"IdentityPoolId"},
420
+ "SyncSessionsCount":{"shape":"Long"},
421
+ "DataStorage":{"shape":"Long"},
422
+ "LastModifiedDate":{"shape":"Date"}
423
+ }
424
+ },
425
+ "IdentityPoolUsageList":{
426
+ "type":"list",
427
+ "member":{"shape":"IdentityPoolUsage"}
428
+ },
429
+ "IdentityUsage":{
430
+ "type":"structure",
431
+ "members":{
432
+ "IdentityId":{"shape":"IdentityId"},
433
+ "IdentityPoolId":{"shape":"IdentityPoolId"},
434
+ "LastModifiedDate":{"shape":"Date"},
435
+ "DatasetCount":{"shape":"Integer"},
436
+ "DataStorage":{"shape":"Long"}
437
+ }
438
+ },
439
+ "Integer":{"type":"integer"},
440
+ "IntegerString":{"type":"integer"},
441
+ "InternalErrorException":{
442
+ "type":"structure",
443
+ "required":["message"],
444
+ "members":{
445
+ "message":{"shape":"ExceptionMessage"}
446
+ },
447
+ "error":{"httpStatusCode":500},
448
+ "exception":true
449
+ },
450
+ "InvalidParameterException":{
451
+ "type":"structure",
452
+ "required":["message"],
453
+ "members":{
454
+ "message":{"shape":"ExceptionMessage"}
455
+ },
456
+ "error":{"httpStatusCode":400},
457
+ "exception":true
458
+ },
459
+ "LimitExceededException":{
460
+ "type":"structure",
461
+ "required":["message"],
462
+ "members":{
463
+ "message":{"shape":"ExceptionMessage"}
464
+ },
465
+ "error":{"httpStatusCode":400},
466
+ "exception":true
467
+ },
468
+ "ListDatasetsRequest":{
469
+ "type":"structure",
470
+ "required":[
471
+ "IdentityId",
472
+ "IdentityPoolId"
473
+ ],
474
+ "members":{
475
+ "IdentityPoolId":{
476
+ "shape":"IdentityPoolId",
477
+ "location":"uri",
478
+ "locationName":"IdentityPoolId"
479
+ },
480
+ "IdentityId":{
481
+ "shape":"IdentityId",
482
+ "location":"uri",
483
+ "locationName":"IdentityId"
484
+ },
485
+ "NextToken":{
486
+ "shape":"String",
487
+ "location":"querystring",
488
+ "locationName":"nextToken"
489
+ },
490
+ "MaxResults":{
491
+ "shape":"IntegerString",
492
+ "location":"querystring",
493
+ "locationName":"maxResults"
494
+ }
495
+ }
496
+ },
497
+ "ListDatasetsResponse":{
498
+ "type":"structure",
499
+ "members":{
500
+ "Datasets":{"shape":"DatasetList"},
501
+ "Count":{"shape":"Integer"},
502
+ "NextToken":{"shape":"String"}
503
+ }
504
+ },
505
+ "ListIdentityPoolUsageRequest":{
506
+ "type":"structure",
507
+ "members":{
508
+ "NextToken":{
509
+ "shape":"String",
510
+ "location":"querystring",
511
+ "locationName":"nextToken"
512
+ },
513
+ "MaxResults":{
514
+ "shape":"IntegerString",
515
+ "location":"querystring",
516
+ "locationName":"maxResults"
517
+ }
518
+ }
519
+ },
520
+ "ListIdentityPoolUsageResponse":{
521
+ "type":"structure",
522
+ "members":{
523
+ "IdentityPoolUsages":{"shape":"IdentityPoolUsageList"},
524
+ "MaxResults":{"shape":"Integer"},
525
+ "Count":{"shape":"Integer"},
526
+ "NextToken":{"shape":"String"}
527
+ }
528
+ },
529
+ "ListRecordsRequest":{
530
+ "type":"structure",
531
+ "required":[
532
+ "IdentityPoolId",
533
+ "IdentityId",
534
+ "DatasetName"
535
+ ],
536
+ "members":{
537
+ "IdentityPoolId":{
538
+ "shape":"IdentityPoolId",
539
+ "location":"uri",
540
+ "locationName":"IdentityPoolId"
541
+ },
542
+ "IdentityId":{
543
+ "shape":"IdentityId",
544
+ "location":"uri",
545
+ "locationName":"IdentityId"
546
+ },
547
+ "DatasetName":{
548
+ "shape":"DatasetName",
549
+ "location":"uri",
550
+ "locationName":"DatasetName"
551
+ },
552
+ "LastSyncCount":{
553
+ "shape":"Long",
554
+ "location":"querystring",
555
+ "locationName":"lastSyncCount"
556
+ },
557
+ "NextToken":{
558
+ "shape":"String",
559
+ "location":"querystring",
560
+ "locationName":"nextToken"
561
+ },
562
+ "MaxResults":{
563
+ "shape":"IntegerString",
564
+ "location":"querystring",
565
+ "locationName":"maxResults"
566
+ },
567
+ "SyncSessionToken":{
568
+ "shape":"SyncSessionToken",
569
+ "location":"querystring",
570
+ "locationName":"syncSessionToken"
571
+ }
572
+ }
573
+ },
574
+ "ListRecordsResponse":{
575
+ "type":"structure",
576
+ "members":{
577
+ "Records":{"shape":"RecordList"},
578
+ "NextToken":{"shape":"String"},
579
+ "Count":{"shape":"Integer"},
580
+ "DatasetSyncCount":{"shape":"Long"},
581
+ "LastModifiedBy":{"shape":"String"},
582
+ "MergedDatasetNames":{"shape":"MergedDatasetNameList"},
583
+ "DatasetExists":{"shape":"Boolean"},
584
+ "DatasetDeletedAfterRequestedSyncCount":{"shape":"Boolean"},
585
+ "SyncSessionToken":{"shape":"String"}
586
+ }
587
+ },
588
+ "Long":{"type":"long"},
589
+ "MergedDatasetNameList":{
590
+ "type":"list",
591
+ "member":{"shape":"String"}
592
+ },
593
+ "NotAuthorizedException":{
594
+ "type":"structure",
595
+ "required":["message"],
596
+ "members":{
597
+ "message":{"shape":"ExceptionMessage"}
598
+ },
599
+ "error":{"httpStatusCode":403},
600
+ "exception":true
601
+ },
602
+ "Operation":{
603
+ "type":"string",
604
+ "enum":[
605
+ "replace",
606
+ "remove"
607
+ ]
608
+ },
609
+ "Record":{
610
+ "type":"structure",
611
+ "members":{
612
+ "Key":{"shape":"RecordKey"},
613
+ "Value":{"shape":"RecordValue"},
614
+ "SyncCount":{"shape":"Long"},
615
+ "LastModifiedDate":{"shape":"Date"},
616
+ "LastModifiedBy":{"shape":"String"},
617
+ "DeviceLastModifiedDate":{"shape":"Date"}
618
+ }
619
+ },
620
+ "RecordKey":{
621
+ "type":"string",
622
+ "min":1,
623
+ "max":1024
624
+ },
625
+ "RecordList":{
626
+ "type":"list",
627
+ "member":{"shape":"Record"}
628
+ },
629
+ "RecordPatch":{
630
+ "type":"structure",
631
+ "required":[
632
+ "Op",
633
+ "Key",
634
+ "SyncCount"
635
+ ],
636
+ "members":{
637
+ "Op":{"shape":"Operation"},
638
+ "Key":{"shape":"RecordKey"},
639
+ "Value":{"shape":"RecordValue"},
640
+ "SyncCount":{"shape":"Long"},
641
+ "DeviceLastModifiedDate":{"shape":"Date"}
642
+ }
643
+ },
644
+ "RecordPatchList":{
645
+ "type":"list",
646
+ "member":{"shape":"RecordPatch"}
647
+ },
648
+ "RecordValue":{
649
+ "type":"string",
650
+ "max":1048575
651
+ },
652
+ "ResourceConflictException":{
653
+ "type":"structure",
654
+ "required":["message"],
655
+ "members":{
656
+ "message":{"shape":"ExceptionMessage"}
657
+ },
658
+ "error":{"httpStatusCode":409},
659
+ "exception":true
660
+ },
661
+ "ResourceNotFoundException":{
662
+ "type":"structure",
663
+ "required":["message"],
664
+ "members":{
665
+ "message":{"shape":"ExceptionMessage"}
666
+ },
667
+ "error":{"httpStatusCode":404},
668
+ "exception":true
669
+ },
670
+ "String":{"type":"string"},
671
+ "SyncSessionToken":{"type":"string"},
672
+ "TooManyRequestsException":{
673
+ "type":"structure",
674
+ "required":["message"],
675
+ "members":{
676
+ "message":{"shape":"ExceptionMessage"}
677
+ },
678
+ "error":{"httpStatusCode":429},
679
+ "exception":true
680
+ },
681
+ "UpdateRecordsRequest":{
682
+ "type":"structure",
683
+ "required":[
684
+ "IdentityPoolId",
685
+ "IdentityId",
686
+ "DatasetName",
687
+ "SyncSessionToken"
688
+ ],
689
+ "members":{
690
+ "IdentityPoolId":{
691
+ "shape":"IdentityPoolId",
692
+ "location":"uri",
693
+ "locationName":"IdentityPoolId"
694
+ },
695
+ "IdentityId":{
696
+ "shape":"IdentityId",
697
+ "location":"uri",
698
+ "locationName":"IdentityId"
699
+ },
700
+ "DatasetName":{
701
+ "shape":"DatasetName",
702
+ "location":"uri",
703
+ "locationName":"DatasetName"
704
+ },
705
+ "RecordPatches":{"shape":"RecordPatchList"},
706
+ "SyncSessionToken":{"shape":"SyncSessionToken"},
707
+ "ClientContext":{
708
+ "shape":"ClientContext",
709
+ "location":"header",
710
+ "locationName":"x-amz-Client-Context"
711
+ }
712
+ }
713
+ },
714
+ "UpdateRecordsResponse":{
715
+ "type":"structure",
716
+ "members":{
717
+ "Records":{"shape":"RecordList"}
718
+ }
719
+ }
720
+ }
721
+ }