aws-sdk-core 2.0.0.rc12 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (536) hide show
  1. checksums.yaml +4 -4
  2. data/apis/AutoScaling.api.json +1943 -0
  3. data/apis/CloudFormation.api.json +785 -0
  4. data/apis/CloudFront.api.json +2581 -0
  5. data/apis/CloudFront.paginators.json +32 -0
  6. data/apis/CloudSearch.api.json +1955 -0
  7. data/apis/CloudSearchDomain.api.json +349 -0
  8. data/apis/CloudTrail.api.json +559 -0
  9. data/apis/CloudWatch.api.json +917 -0
  10. data/apis/CloudWatchLogs.api.json +816 -0
  11. data/apis/CognitoIdentity.api.json +631 -0
  12. data/apis/CognitoSync.api.json +721 -0
  13. data/apis/DataPipeline.api.json +940 -0
  14. data/apis/DirectConnect.api.json +833 -0
  15. data/apis/DynamoDB.api.json +1210 -0
  16. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +1 -3
  17. data/apis/EC2.api.json +9914 -0
  18. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +16 -0
  19. data/apis/EMR.api.json +1339 -0
  20. data/apis/ElastiCache.api.json +3410 -0
  21. data/apis/ElasticBeanstalk.api.json +1543 -0
  22. data/apis/ElasticLoadBalancing.api.json +2131 -0
  23. data/apis/ElasticTranscoder.api.json +1647 -0
  24. data/apis/Glacier.api.json +1456 -0
  25. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +5 -9
  26. data/apis/IAM.api.json +4033 -0
  27. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +1 -1
  28. data/apis/ImportExport.api.json +515 -0
  29. data/apis/Kinesis.api.json +706 -0
  30. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -6
  31. data/apis/OpsWorks.api.json +2555 -0
  32. data/apis/OpsWorks.resources.json +181 -0
  33. data/apis/RDS.api.json +4473 -0
  34. data/apis/Redshift.api.json +4482 -0
  35. data/apis/Route53.api.json +1935 -0
  36. data/apis/Route53Domains.api.json +1129 -0
  37. data/apis/{s3-2006-03-01.api.json → S3.api.json} +377 -972
  38. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  39. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +13 -2
  40. data/apis/SES.api.json +644 -0
  41. data/apis/SNS.api.json +1760 -0
  42. data/apis/SQS.api.json +1113 -0
  43. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -10
  44. data/apis/STS.api.json +594 -0
  45. data/apis/SWF.api.json +2656 -0
  46. data/apis/SimpleDB.api.json +954 -0
  47. data/apis/StorageGateway.api.json +2311 -0
  48. data/apis/Support.api.json +869 -0
  49. data/bin/aws.rb +19 -1
  50. data/endpoints.json +77 -0
  51. data/lib/aws-sdk-core/api/docstrings.rb +35 -0
  52. data/lib/aws-sdk-core/api/documenter.rb +241 -0
  53. data/lib/{aws/api/documentor.rb → aws-sdk-core/api/operation_documenter.rb} +39 -28
  54. data/lib/{aws/api/doc_example.rb → aws-sdk-core/api/operation_example.rb} +31 -22
  55. data/lib/{aws → aws-sdk-core}/api/service_customizations.rb +5 -1
  56. data/lib/aws-sdk-core/autoscaling.rb +5 -0
  57. data/lib/aws-sdk-core/client.rb +121 -0
  58. data/lib/aws-sdk-core/cloudformation.rb +5 -0
  59. data/lib/aws-sdk-core/cloudfront.rb +6 -0
  60. data/lib/aws-sdk-core/cloudsearch.rb +5 -0
  61. data/lib/aws-sdk-core/cloudsearchdomain.rb +4 -0
  62. data/lib/aws-sdk-core/cloudtrail.rb +5 -0
  63. data/lib/aws-sdk-core/cloudwatch.rb +5 -0
  64. data/lib/aws-sdk-core/cloudwatchlogs.rb +5 -0
  65. data/lib/aws-sdk-core/cognitoidentity.rb +4 -0
  66. data/lib/aws-sdk-core/cognitosync.rb +4 -0
  67. data/lib/{aws → aws-sdk-core}/credential_provider_chain.rb +4 -1
  68. data/lib/aws-sdk-core/datapipeline.rb +5 -0
  69. data/lib/aws-sdk-core/directconnect.rb +5 -0
  70. data/lib/aws-sdk-core/dynamodb/attribute_value.rb +87 -0
  71. data/lib/aws-sdk-core/dynamodb.rb +12 -0
  72. data/lib/aws-sdk-core/ec2.rb +7 -0
  73. data/lib/aws-sdk-core/elasticache.rb +5 -0
  74. data/lib/aws-sdk-core/elasticbeanstalk.rb +5 -0
  75. data/lib/aws-sdk-core/elasticloadbalancing.rb +5 -0
  76. data/lib/aws-sdk-core/elastictranscoder.rb +5 -0
  77. data/lib/{aws → aws-sdk-core}/empty_structure.rb +4 -3
  78. data/lib/aws-sdk-core/emr.rb +5 -0
  79. data/lib/aws-sdk-core/endpoint_provider.rb +97 -0
  80. data/lib/{aws → aws-sdk-core}/errors.rb +27 -8
  81. data/lib/aws-sdk-core/glacier.rb +7 -0
  82. data/lib/aws-sdk-core/iam.rb +6 -0
  83. data/lib/aws-sdk-core/importexport.rb +5 -0
  84. data/lib/{aws → aws-sdk-core}/instance_profile_credentials.rb +13 -9
  85. data/lib/aws-sdk-core/kinesis.rb +5 -0
  86. data/lib/aws-sdk-core/opsworks.rb +6 -0
  87. data/lib/{aws → aws-sdk-core}/pageable_response.rb +1 -1
  88. data/lib/aws-sdk-core/plugins/csd_conditional_signing.rb +37 -0
  89. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +179 -0
  90. data/lib/{aws → aws-sdk-core}/plugins/global_configuration.rb +14 -7
  91. data/lib/{aws → aws-sdk-core}/plugins/protocols/json_rpc.rb +9 -7
  92. data/lib/{aws → aws-sdk-core}/plugins/regional_endpoint.rb +2 -4
  93. data/lib/{aws → aws-sdk-core}/plugins/request_signer.rb +18 -8
  94. data/lib/aws-sdk-core/plugins/response_paging.rb +25 -0
  95. data/lib/{aws → aws-sdk-core}/plugins/retry_errors.rb +11 -1
  96. data/lib/aws-sdk-core/plugins/route_53_id_fix.rb +55 -0
  97. data/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb +27 -0
  98. data/lib/aws-sdk-core/plugins/s3_sse_cpk.rb +63 -0
  99. data/lib/aws-sdk-core/plugins/s3_url_encoded_keys.rb +92 -0
  100. data/lib/{aws → aws-sdk-core}/plugins/user_agent.rb +1 -2
  101. data/lib/{aws → aws-sdk-core}/query/handler.rb +4 -5
  102. data/lib/aws-sdk-core/rds.rb +6 -0
  103. data/lib/aws-sdk-core/redshift.rb +6 -0
  104. data/lib/aws-sdk-core/route53.rb +5 -0
  105. data/lib/aws-sdk-core/route53domains.rb +4 -0
  106. data/lib/aws-sdk-core/s3/presigner.rb +64 -0
  107. data/lib/aws-sdk-core/s3.rb +13 -0
  108. data/lib/aws-sdk-core/service.rb +4 -0
  109. data/lib/aws-sdk-core/ses.rb +6 -0
  110. data/lib/{aws → aws-sdk-core}/signers/v4.rb +6 -5
  111. data/lib/aws-sdk-core/simpledb.rb +5 -0
  112. data/lib/aws-sdk-core/sns.rb +6 -0
  113. data/lib/aws-sdk-core/sqs.rb +6 -0
  114. data/lib/aws-sdk-core/storagegateway.rb +5 -0
  115. data/lib/{aws → aws-sdk-core}/structure.rb +60 -4
  116. data/lib/aws-sdk-core/sts.rb +4 -0
  117. data/lib/aws-sdk-core/support.rb +5 -0
  118. data/lib/aws-sdk-core/swf.rb +5 -0
  119. data/lib/aws-sdk-core/version.rb +3 -0
  120. data/lib/aws-sdk-core/waiters/errors.rb +30 -0
  121. data/lib/aws-sdk-core/waiters/null_provider.rb +12 -0
  122. data/lib/aws-sdk-core/waiters/provider.rb +54 -0
  123. data/lib/aws-sdk-core/waiters/waiter.rb +194 -0
  124. data/lib/{aws → aws-sdk-core}/xml/builder.rb +4 -3
  125. data/lib/aws-sdk-core/xml/default_list.rb +10 -0
  126. data/lib/{aws → aws-sdk-core}/xml/parser.rb +6 -1
  127. data/lib/aws-sdk-core.rb +288 -1
  128. data/{vendor/seahorse/lib → lib}/seahorse/client/base.rb +45 -20
  129. data/{vendor/seahorse/lib → lib}/seahorse/client/handler_list.rb +17 -3
  130. data/{vendor/seahorse/lib → lib}/seahorse/client/http/error.rb +2 -2
  131. data/{vendor/seahorse/lib → lib}/seahorse/client/http/request.rb +1 -9
  132. data/{vendor/seahorse/lib → lib}/seahorse/client/net_http/connection_pool.rb +2 -0
  133. data/{vendor/seahorse/lib → lib}/seahorse/client/net_http/handler.rb +13 -1
  134. data/lib/seahorse/client/net_http/patches.rb +97 -0
  135. data/{vendor/seahorse/lib → lib}/seahorse/client/param_converter.rb +2 -2
  136. data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/endpoint.rb +24 -15
  137. data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/restful_bindings.rb +1 -1
  138. data/{vendor/seahorse/lib → lib}/seahorse/client/request.rb +1 -1
  139. data/{vendor/seahorse/lib → lib}/seahorse/client/response.rb +0 -2
  140. data/{vendor/seahorse/lib → lib}/seahorse/client/xml/builder.rb +0 -1
  141. data/{vendor/seahorse/lib → lib}/seahorse/model/shape_map.rb +1 -0
  142. data/{vendor/seahorse/lib → lib}/seahorse/model/shapes.rb +13 -4
  143. data/{vendor/seahorse/lib → lib}/seahorse.rb +3 -3
  144. metadata +257 -593
  145. data/.gitignore +0 -8
  146. data/.simplecov +0 -6
  147. data/.travis.yml +0 -20
  148. data/.yardopts +0 -11
  149. data/Gemfile +0 -26
  150. data/LICENSE.txt +0 -12
  151. data/README.md +0 -250
  152. data/Rakefile +0 -17
  153. data/apis/autoscaling-2011-01-01.api.json +0 -2602
  154. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  155. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  156. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  157. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  158. data/apis/cloudfront-2014-05-31.paginators.json +0 -32
  159. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  160. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  161. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  162. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  163. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  164. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  165. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  166. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  167. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  168. data/apis/directconnect-2012-10-25.api.json +0 -1174
  169. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  170. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  171. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  172. data/apis/dynamodb-2012-08-10.paginators.json +0 -27
  173. data/apis/ec2-2014-06-15.api.json +0 -11661
  174. data/apis/elasticache-2014-03-24.api.json +0 -4789
  175. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  176. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2576
  177. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  178. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  179. data/apis/email-2010-12-01.api.json +0 -954
  180. data/apis/endpoints.json +0 -98
  181. data/apis/glacier-2012-06-01.api.json +0 -2012
  182. data/apis/iam-2010-05-08.api.json +0 -5046
  183. data/apis/importexport-2010-06-01.api.json +0 -687
  184. data/apis/kinesis-2013-12-02.api.json +0 -769
  185. data/apis/logs-2014-03-28.api.json +0 -942
  186. data/apis/manifest.json +0 -250
  187. data/apis/monitoring-2010-08-01.api.json +0 -1338
  188. data/apis/opsworks-2013-02-18.api.json +0 -4348
  189. data/apis/rds-2013-01-10.api.json +0 -6074
  190. data/apis/rds-2013-02-12.api.json +0 -6392
  191. data/apis/rds-2013-02-12.paginators.json +0 -110
  192. data/apis/rds-2013-09-09.api.json +0 -6564
  193. data/apis/rds-2013-09-09.paginators.json +0 -110
  194. data/apis/redshift-2012-12-01.api.json +0 -6318
  195. data/apis/route53-2013-04-01.api.json +0 -1927
  196. data/apis/sdb-2009-04-15.api.json +0 -1178
  197. data/apis/sns-2010-03-31.api.json +0 -2275
  198. data/apis/sqs-2012-11-05.api.json +0 -1438
  199. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  200. data/apis/sts-2011-06-15.api.json +0 -786
  201. data/apis/support-2013-04-15.api.json +0 -1115
  202. data/apis/swf-2012-01-25.api.json +0 -4463
  203. data/aws-sdk-core.gemspec +0 -22
  204. data/doc-src/images/lastnode.png +0 -0
  205. data/doc-src/images/node.png +0 -0
  206. data/doc-src/images/vline.png +0 -0
  207. data/doc-src/plugins/apis.rb +0 -260
  208. data/doc-src/plugins/stability.rb +0 -1
  209. data/doc-src/services/CloudSearchDomain/client.md +0 -8
  210. data/doc-src/services/CloudSearchDomain/service.md +0 -0
  211. data/doc-src/services/default/client.md +0 -84
  212. data/doc-src/services/default/errors.md +0 -45
  213. data/doc-src/services/default/service.md +0 -28
  214. data/doc-src/templates/default/fulldoc/html/css/common.css +0 -90
  215. data/doc-src/templates/default/fulldoc/html/js/tabs.js +0 -21
  216. data/doc-src/templates/default/fulldoc/html/setup.rb +0 -66
  217. data/doc-src/templates/default/layout/html/footer.erb +0 -29
  218. data/doc-src/templates/default/layout/html/layout.erb +0 -37
  219. data/doc-src/templates/default/layout/html/setup.rb +0 -3
  220. data/features/autoscaling/client.feature +0 -18
  221. data/features/autoscaling/step_definitions.rb +0 -6
  222. data/features/cloudformation/client.feature +0 -17
  223. data/features/cloudformation/step_definitions.rb +0 -6
  224. data/features/cloudfront/client.feature +0 -17
  225. data/features/cloudfront/step_definitions.rb +0 -6
  226. data/features/cloudsearch/client.feature +0 -16
  227. data/features/cloudsearch/step_definitions.rb +0 -6
  228. data/features/cloudtrail/client.feature +0 -16
  229. data/features/cloudtrail/step_definitions.rb +0 -6
  230. data/features/cloudwatch/client.feature +0 -19
  231. data/features/cloudwatch/step_definitions.rb +0 -6
  232. data/features/cloudwatchlogs/client.feature +0 -17
  233. data/features/cloudwatchlogs/step_definitions.rb +0 -6
  234. data/features/cognitoidentity/client.feature +0 -17
  235. data/features/cognitoidentity/step_definitions.rb +0 -6
  236. data/features/cognitosync/client.feature +0 -16
  237. data/features/cognitosync/step_definitions.rb +0 -6
  238. data/features/datapipeline/client.feature +0 -16
  239. data/features/datapipeline/step_definitions.rb +0 -6
  240. data/features/directconnect/client.feature +0 -16
  241. data/features/directconnect/step_definitions.rb +0 -6
  242. data/features/dynamodb/client.feature +0 -17
  243. data/features/dynamodb/simplified.feature +0 -32
  244. data/features/dynamodb/step_definitions.rb +0 -11
  245. data/features/ec2/client.feature +0 -16
  246. data/features/ec2/step_definitions.rb +0 -6
  247. data/features/elasticache/client.feature +0 -16
  248. data/features/elasticache/step_definitions.rb +0 -6
  249. data/features/elasticbeanstalk/client.feature +0 -16
  250. data/features/elasticbeanstalk/step_definitions.rb +0 -6
  251. data/features/elasticloadbalancing/client.feature +0 -16
  252. data/features/elasticloadbalancing/step_definitions.rb +0 -6
  253. data/features/elastictranscoder/client.feature +0 -16
  254. data/features/elastictranscoder/step_definitions.rb +0 -6
  255. data/features/emr/client.feature +0 -16
  256. data/features/emr/step_definitions.rb +0 -6
  257. data/features/env.rb +0 -23
  258. data/features/glacier/client.feature +0 -17
  259. data/features/glacier/step_definitions.rb +0 -93
  260. data/features/glacier/upload.feature +0 -27
  261. data/features/iam/client.feature +0 -16
  262. data/features/iam/step_definitions.rb +0 -6
  263. data/features/importexport/client.feature +0 -16
  264. data/features/importexport/step_definitions.rb +0 -6
  265. data/features/kinesis/client.feature +0 -16
  266. data/features/kinesis/step_definitions.rb +0 -6
  267. data/features/opsworks/client.feature +0 -16
  268. data/features/opsworks/step_definitions.rb +0 -6
  269. data/features/rds/client.feature +0 -16
  270. data/features/rds/step_definitions.rb +0 -6
  271. data/features/redshift/client.feature +0 -16
  272. data/features/redshift/step_definitions.rb +0 -6
  273. data/features/route53/client.feature +0 -16
  274. data/features/route53/step_definitions.rb +0 -6
  275. data/features/s3/buckets.feature +0 -40
  276. data/features/s3/objects.feature +0 -37
  277. data/features/s3/step_definitions.rb +0 -165
  278. data/features/s3/test.png +0 -0
  279. data/features/ses/client.feature +0 -16
  280. data/features/ses/step_definitions.rb +0 -6
  281. data/features/simpledb/client.feature +0 -16
  282. data/features/simpledb/step_definitions.rb +0 -6
  283. data/features/sns/client.feature +0 -17
  284. data/features/sns/step_definitions.rb +0 -6
  285. data/features/sqs/client.feature +0 -21
  286. data/features/sqs/step_definitions.rb +0 -29
  287. data/features/step_definitions.rb +0 -94
  288. data/features/storagegateway/client.feature +0 -16
  289. data/features/storagegateway/step_definitions.rb +0 -6
  290. data/features/sts/client.feature +0 -17
  291. data/features/sts/step_definitions.rb +0 -6
  292. data/features/swf/client.feature +0 -17
  293. data/features/swf/step_definitions.rb +0 -6
  294. data/integration-test-config.json.sample +0 -3
  295. data/lib/aws/api/manifest.rb +0 -29
  296. data/lib/aws/api/manifest_builder.rb +0 -57
  297. data/lib/aws/client.rb +0 -241
  298. data/lib/aws/endpoint_provider.rb +0 -165
  299. data/lib/aws/plugins/response_paging.rb +0 -20
  300. data/lib/aws/plugins/s3_sse_cpk.rb +0 -42
  301. data/lib/aws/response_handler.rb +0 -38
  302. data/lib/aws/service.rb +0 -32
  303. data/lib/aws/signers/v4.rb.orig +0 -243
  304. data/lib/aws/version.rb +0 -3
  305. data/lib/aws/version.rb.orig +0 -7
  306. data/lib/aws.rb +0 -208
  307. data/lib/aws.rb.orig +0 -218
  308. data/spec/aws/client_spec.rb +0 -269
  309. data/spec/aws/credential_provider_chain_spec.rb +0 -120
  310. data/spec/aws/credentials_spec.rb +0 -47
  311. data/spec/aws/errors_spec.rb +0 -39
  312. data/spec/aws/iam_spec.rb +0 -17
  313. data/spec/aws/instance_profile_credentials_spec.rb +0 -94
  314. data/spec/aws/json/builder_spec.rb +0 -188
  315. data/spec/aws/json/parser_spec.rb +0 -214
  316. data/spec/aws/operations_spec.rb +0 -145
  317. data/spec/aws/pageable_response_spec.rb +0 -171
  318. data/spec/aws/plugins/global_configuration_spec.rb +0 -58
  319. data/spec/aws/plugins/region_endpoint_spec.rb +0 -86
  320. data/spec/aws/plugins/request_signer_spec.rb +0 -88
  321. data/spec/aws/plugins/retry_errors_spec.rb +0 -266
  322. data/spec/aws/plugins/s3_md5s_spec.rb +0 -84
  323. data/spec/aws/plugins/sqs_queue_urls_spec.rb +0 -42
  324. data/spec/aws/query/param_builder_spec.rb +0 -362
  325. data/spec/aws/query/param_list_spec.rb +0 -80
  326. data/spec/aws/query/param_spec.rb +0 -64
  327. data/spec/aws/s3_spec.rb +0 -79
  328. data/spec/aws/shared_credentials_spec.rb +0 -68
  329. data/spec/aws/signers/v4_spec.rb +0 -141
  330. data/spec/aws/structure_spec.rb +0 -166
  331. data/spec/aws/util_spec.rb +0 -60
  332. data/spec/aws/xml/builder_spec.rb +0 -412
  333. data/spec/aws/xml/parser_spec.rb +0 -723
  334. data/spec/aws_spec.rb +0 -94
  335. data/spec/fixtures/api/swf.json +0 -100
  336. data/spec/fixtures/credentials/mock_shared_credentials +0 -14
  337. data/spec/fixtures/operations/cloudfront/list_distributions.yml +0 -199
  338. data/spec/fixtures/operations/cloudfront/max_items.yml +0 -11
  339. data/spec/fixtures/operations/dynamodb/error_parsing.yml +0 -13
  340. data/spec/fixtures/operations/glacier/account_id_param.yml +0 -13
  341. data/spec/fixtures/operations/glacier/custom_account_id.yml +0 -11
  342. data/spec/fixtures/operations/glacier/default_account_id.yml +0 -10
  343. data/spec/fixtures/operations/glacier/error_parsing.yml +0 -10
  344. data/spec/fixtures/operations/glacier/get_job_output.yml +0 -23
  345. data/spec/fixtures/operations/glacier/list_vaults.yml +0 -24
  346. data/spec/fixtures/operations/iam/result_wrapped_elements.yml +0 -31
  347. data/spec/fixtures/operations/route53/change_resource_record_sets.yml +0 -18
  348. data/spec/fixtures/operations/s3/304_response.yml +0 -12
  349. data/spec/fixtures/operations/s3/400_response.yml +0 -12
  350. data/spec/fixtures/operations/s3/403_response.yml +0 -12
  351. data/spec/fixtures/operations/s3/404_response.yml +0 -12
  352. data/spec/fixtures/operations/s3/412_response_head.yml +0 -10
  353. data/spec/fixtures/operations/s3/comlete_multipart_upload_error.yml +0 -18
  354. data/spec/fixtures/operations/s3/content_type_header.yml +0 -12
  355. data/spec/fixtures/operations/s3/create_bucket_with_implied_location_constraint.yml +0 -23
  356. data/spec/fixtures/operations/s3/create_bucket_with_location_constraint.yml +0 -25
  357. data/spec/fixtures/operations/s3/create_bucket_without_location_constraint.yml +0 -9
  358. data/spec/fixtures/operations/s3/delete_objects.yml +0 -54
  359. data/spec/fixtures/operations/s3/error_parsing.yml +0 -17
  360. data/spec/fixtures/operations/s3/get_bucket_location.yml +0 -17
  361. data/spec/fixtures/operations/s3/get_bucket_location_classic.yml +0 -17
  362. data/spec/fixtures/operations/s3/get_bucket_policy.yml +0 -8
  363. data/spec/fixtures/operations/s3/head_bucket_with_dns_incompatible_name.yml +0 -12
  364. data/spec/fixtures/operations/s3/head_object.yml +0 -50
  365. data/spec/fixtures/operations/s3/list_buckets.yml +0 -41
  366. data/spec/fixtures/operations/s3/md5_checksum_disabled.yml +0 -10
  367. data/spec/fixtures/operations/s3/md5_checksum_enabled.yml +0 -8
  368. data/spec/fixtures/operations/swf/list_domains.yml +0 -20
  369. data/spec/fixtures/protocols/input/ec2.json +0 -383
  370. data/spec/fixtures/protocols/input/json.json +0 -47
  371. data/spec/fixtures/protocols/input/query.json +0 -335
  372. data/spec/fixtures/protocols/input/rest-json.json +0 -365
  373. data/spec/fixtures/protocols/input/rest-xml.json +0 -818
  374. data/spec/fixtures/protocols/output/ec2.json +0 -381
  375. data/spec/fixtures/protocols/output/json.json +0 -313
  376. data/spec/fixtures/protocols/output/query.json +0 -424
  377. data/spec/fixtures/protocols/output/rest-json.json +0 -486
  378. data/spec/fixtures/protocols/output/rest-xml.json +0 -486
  379. data/spec/protocols_spec.rb +0 -186
  380. data/spec/spec_helper.rb +0 -66
  381. data/tasks/docs.rake +0 -61
  382. data/tasks/handlers.rake +0 -98
  383. data/tasks/manifest.rake +0 -9
  384. data/tasks/test.rake +0 -30
  385. data/vendor/seahorse/.gitignore +0 -5
  386. data/vendor/seahorse/.simplecov +0 -4
  387. data/vendor/seahorse/.yardopts +0 -10
  388. data/vendor/seahorse/Gemfile +0 -17
  389. data/vendor/seahorse/LICENSE.txt +0 -12
  390. data/vendor/seahorse/README.md +0 -129
  391. data/vendor/seahorse/Rakefile +0 -7
  392. data/vendor/seahorse/lib/seahorse/client/plugins/api.rb +0 -11
  393. data/vendor/seahorse/seahorse.gemspec +0 -20
  394. data/vendor/seahorse/spec/fixtures/plugin.rb +0 -4
  395. data/vendor/seahorse/spec/seahorse/client/base_spec.rb +0 -299
  396. data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +0 -122
  397. data/vendor/seahorse/spec/seahorse/client/handler_builder_spec.rb +0 -159
  398. data/vendor/seahorse/spec/seahorse/client/handler_list_spec.rb +0 -232
  399. data/vendor/seahorse/spec/seahorse/client/handler_spec.rb +0 -40
  400. data/vendor/seahorse/spec/seahorse/client/http/headers_spec.rb +0 -213
  401. data/vendor/seahorse/spec/seahorse/client/http/request_spec.rb +0 -121
  402. data/vendor/seahorse/spec/seahorse/client/http/response_spec.rb +0 -77
  403. data/vendor/seahorse/spec/seahorse/client/logging/formatter_spec.rb +0 -185
  404. data/vendor/seahorse/spec/seahorse/client/logging/handler_spec.rb +0 -63
  405. data/vendor/seahorse/spec/seahorse/client/net_http/connection_pool_spec.rb +0 -10
  406. data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +0 -242
  407. data/vendor/seahorse/spec/seahorse/client/param_converter_spec.rb +0 -308
  408. data/vendor/seahorse/spec/seahorse/client/param_validator_spec.rb +0 -275
  409. data/vendor/seahorse/spec/seahorse/client/plugin_list_spec.rb +0 -166
  410. data/vendor/seahorse/spec/seahorse/client/plugin_spec.rb +0 -118
  411. data/vendor/seahorse/spec/seahorse/client/plugins/content_length_spec.rb +0 -19
  412. data/vendor/seahorse/spec/seahorse/client/plugins/endpoint_spec.rb +0 -33
  413. data/vendor/seahorse/spec/seahorse/client/plugins/logging_spec.rb +0 -46
  414. data/vendor/seahorse/spec/seahorse/client/plugins/net_http_spec.rb +0 -70
  415. data/vendor/seahorse/spec/seahorse/client/plugins/operation_methods_spec.rb +0 -76
  416. data/vendor/seahorse/spec/seahorse/client/request_context_spec.rb +0 -105
  417. data/vendor/seahorse/spec/seahorse/client/request_spec.rb +0 -152
  418. data/vendor/seahorse/spec/seahorse/client/response_spec.rb +0 -95
  419. data/vendor/seahorse/spec/seahorse/client/xml/builder/xml_doc_spec.rb +0 -142
  420. data/vendor/seahorse/spec/seahorse/client/xml/builder_spec.rb +0 -10
  421. data/vendor/seahorse/spec/seahorse/model/api_spec.rb +0 -154
  422. data/vendor/seahorse/spec/seahorse/model/operation_spec.rb +0 -162
  423. data/vendor/seahorse/spec/seahorse/model/shape_map_spec.rb +0 -84
  424. data/vendor/seahorse/spec/seahorse/model/shapes_spec.rb +0 -522
  425. data/vendor/seahorse/spec/seahorse/util_spec.rb +0 -54
  426. data/vendor/seahorse/spec/seahorse/version_spec.rb +0 -11
  427. data/vendor/seahorse/spec/spec_helper.rb +0 -34
  428. data/vendor/seahorse/tasks/docs.rake +0 -11
  429. data/vendor/seahorse/tasks/test.rake +0 -15
  430. /data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  431. /data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  432. /data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  433. /data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  434. /data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  435. /data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  436. /data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  437. /data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  438. /data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  439. /data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  440. /data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  441. /data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  442. /data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  443. /data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  444. /data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  445. /data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  446. /data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  447. /data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  448. /data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  449. /data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  450. /data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  451. /data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  452. /data/apis/{rds-2013-01-10.paginators.json → RDS.paginators.json} +0 -0
  453. /data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  454. /data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  455. /data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  456. /data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  457. /data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  458. /data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  459. /data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  460. /data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  461. /data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  462. /data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  463. /data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  464. /data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  465. /data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  466. /data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  467. /data/lib/{aws → aws-sdk-core}/api/customizer.rb +0 -0
  468. /data/lib/{aws → aws-sdk-core}/credentials.rb +0 -0
  469. /data/lib/{aws → aws-sdk-core}/json/builder.rb +0 -0
  470. /data/lib/{aws → aws-sdk-core}/json/error_handler.rb +0 -0
  471. /data/lib/{aws → aws-sdk-core}/json/parser.rb +0 -0
  472. /data/lib/{aws → aws-sdk-core}/json/rest_handler.rb +0 -0
  473. /data/lib/{aws → aws-sdk-core}/json/rpc_body_handler.rb +0 -0
  474. /data/lib/{aws → aws-sdk-core}/json/rpc_headers_handler.rb +0 -0
  475. /data/lib/{aws → aws-sdk-core}/json/simple_body_handler.rb +0 -0
  476. /data/lib/{aws → aws-sdk-core}/paging/null_pager.rb +0 -0
  477. /data/lib/{aws → aws-sdk-core}/paging/null_provider.rb +0 -0
  478. /data/lib/{aws → aws-sdk-core}/paging/pager.rb +0 -0
  479. /data/lib/{aws → aws-sdk-core}/paging/provider.rb +0 -0
  480. /data/lib/{aws → aws-sdk-core}/plugins/dynamodb_extended_retries.rb +0 -0
  481. /data/lib/{aws → aws-sdk-core}/plugins/ec2_copy_encrypted_snapshot.rb +0 -0
  482. /data/lib/{aws → aws-sdk-core}/plugins/glacier_account_id.rb +0 -0
  483. /data/lib/{aws → aws-sdk-core}/plugins/glacier_api_version.rb +0 -0
  484. /data/lib/{aws → aws-sdk-core}/plugins/glacier_checksums.rb +0 -0
  485. /data/lib/{aws → aws-sdk-core}/plugins/protocols/ec2.rb +0 -0
  486. /data/lib/{aws → aws-sdk-core}/plugins/protocols/query.rb +0 -0
  487. /data/lib/{aws → aws-sdk-core}/plugins/protocols/rest_json.rb +0 -0
  488. /data/lib/{aws → aws-sdk-core}/plugins/protocols/rest_xml.rb +0 -0
  489. /data/lib/{aws → aws-sdk-core}/plugins/s3_bucket_dns.rb +0 -0
  490. /data/lib/{aws → aws-sdk-core}/plugins/s3_complete_multipart_upload_fix.rb +0 -0
  491. /data/lib/{aws → aws-sdk-core}/plugins/s3_get_bucket_location_fix.rb +0 -0
  492. /data/lib/{aws → aws-sdk-core}/plugins/s3_location_constraint.rb +0 -0
  493. /data/lib/{aws → aws-sdk-core}/plugins/s3_md5s.rb +0 -0
  494. /data/lib/{aws → aws-sdk-core}/plugins/s3_redirects.rb +0 -0
  495. /data/lib/{aws → aws-sdk-core}/plugins/sqs_queue_urls.rb +0 -0
  496. /data/lib/{aws → aws-sdk-core}/plugins/swf_read_timeouts.rb +0 -0
  497. /data/lib/{aws → aws-sdk-core}/query/ec2_param_builder.rb +0 -0
  498. /data/lib/{aws → aws-sdk-core}/query/param.rb +0 -0
  499. /data/lib/{aws → aws-sdk-core}/query/param_builder.rb +0 -0
  500. /data/lib/{aws → aws-sdk-core}/query/param_list.rb +0 -0
  501. /data/lib/{aws → aws-sdk-core}/rest_body_handler.rb +0 -0
  502. /data/lib/{aws → aws-sdk-core}/shared_credentials.rb +0 -0
  503. /data/lib/{aws → aws-sdk-core}/signers/base.rb +0 -0
  504. /data/lib/{aws → aws-sdk-core}/signers/handler.rb +0 -0
  505. /data/lib/{aws → aws-sdk-core}/signers/s3.rb +0 -0
  506. /data/lib/{aws → aws-sdk-core}/signers/v2.rb +0 -0
  507. /data/lib/{aws → aws-sdk-core}/signers/v3.rb +0 -0
  508. /data/lib/{aws → aws-sdk-core}/tree_hash.rb +0 -0
  509. /data/lib/{aws → aws-sdk-core}/xml/error_handler.rb +0 -0
  510. /data/lib/{aws → aws-sdk-core}/xml/rest_handler.rb +0 -0
  511. /data/{vendor/seahorse/lib → lib}/seahorse/client/block_io.rb +0 -0
  512. /data/{vendor/seahorse/lib → lib}/seahorse/client/configuration.rb +0 -0
  513. /data/{vendor/seahorse/lib → lib}/seahorse/client/handler.rb +0 -0
  514. /data/{vendor/seahorse/lib → lib}/seahorse/client/handler_builder.rb +0 -0
  515. /data/{vendor/seahorse/lib → lib}/seahorse/client/handler_list_entry.rb +0 -0
  516. /data/{vendor/seahorse/lib → lib}/seahorse/client/http/headers.rb +0 -0
  517. /data/{vendor/seahorse/lib → lib}/seahorse/client/http/response.rb +0 -0
  518. /data/{vendor/seahorse/lib → lib}/seahorse/client/logging/formatter.rb +0 -0
  519. /data/{vendor/seahorse/lib → lib}/seahorse/client/logging/handler.rb +0 -0
  520. /data/{vendor/seahorse/lib → lib}/seahorse/client/managed_file.rb +0 -0
  521. /data/{vendor/seahorse/lib → lib}/seahorse/client/param_validator.rb +0 -0
  522. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugin.rb +0 -0
  523. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugin_list.rb +0 -0
  524. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/content_length.rb +0 -0
  525. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/json_simple.rb +0 -0
  526. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/logging.rb +0 -0
  527. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/net_http.rb +0 -0
  528. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/operation_methods.rb +0 -0
  529. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/param_conversion.rb +0 -0
  530. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/param_validation.rb +0 -0
  531. /data/{vendor/seahorse/lib → lib}/seahorse/client/plugins/raise_response_errors.rb +0 -0
  532. /data/{vendor/seahorse/lib → lib}/seahorse/client/request_context.rb +0 -0
  533. /data/{vendor/seahorse/lib → lib}/seahorse/model/api.rb +0 -0
  534. /data/{vendor/seahorse/lib → lib}/seahorse/model/operation.rb +0 -0
  535. /data/{vendor/seahorse/lib → lib}/seahorse/util.rb +0 -0
  536. /data/{vendor/seahorse/lib → lib}/seahorse/version.rb +0 -0
@@ -1,1029 +0,0 @@
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
- "documentation":"<fullname>Amazon Cognito Sync</fullname> <p>Amazon Cognito Sync provides an AWS service and client library that enable cross-device syncing of application-related user data. High-level client libraries are available for both iOS and Android. You can use these libraries to persist data locally so that it's available even if the device is offline. Developer credentials don't need to be stored on the mobile device to access the service. You can use Amazon Cognito to obtain a normalized user ID and credentials. User data is persisted in a dataset that can store up to 1 MB of key-value pairs, and you can have up to 20 datasets per user identity.</p>",
11
- "operations":{
12
- "DeleteDataset":{
13
- "name":"DeleteDataset",
14
- "http":{
15
- "method":"DELETE",
16
- "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
17
- "responseCode":200
18
- },
19
- "input":{
20
- "shape":"DeleteDatasetRequest",
21
- "documentation":"A request to delete the specific dataset."
22
- },
23
- "output":{
24
- "shape":"DeleteDatasetResponse",
25
- "documentation":"Response to a successful DeleteDataset request."
26
- },
27
- "errors":[
28
- {
29
- "shape":"NotAuthorizedException",
30
- "error":{"httpStatusCode":403},
31
- "exception":true,
32
- "documentation":"Thrown when a user is not authorized to access the requested resource."
33
- },
34
- {
35
- "shape":"InvalidParameterException",
36
- "error":{"httpStatusCode":400},
37
- "exception":true,
38
- "documentation":"Thrown when a request parameter does not comply with the associated constraints."
39
- },
40
- {
41
- "shape":"ResourceNotFoundException",
42
- "error":{"httpStatusCode":404},
43
- "exception":true,
44
- "documentation":"Thrown if the resource doesn't exist."
45
- },
46
- {
47
- "shape":"InternalErrorException",
48
- "error":{"httpStatusCode":500},
49
- "exception":true,
50
- "documentation":"Indicates an internal service error."
51
- }
52
- ],
53
- "documentation":"Deletes the specific dataset. The dataset will be deleted permanently, and the action can't be undone. Datasets that this dataset was merged with will no longer report the merge. Any consequent operation on this dataset will result in a ResourceNotFoundException."
54
- },
55
- "DescribeDataset":{
56
- "name":"DescribeDataset",
57
- "http":{
58
- "method":"GET",
59
- "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
60
- "responseCode":200
61
- },
62
- "input":{
63
- "shape":"DescribeDatasetRequest",
64
- "documentation":"A request for metadata about a dataset (creation date, number of records, size) by owner and dataset name."
65
- },
66
- "output":{
67
- "shape":"DescribeDatasetResponse",
68
- "documentation":"Response to a successful DescribeDataset request."
69
- },
70
- "errors":[
71
- {
72
- "shape":"NotAuthorizedException",
73
- "error":{"httpStatusCode":403},
74
- "exception":true,
75
- "documentation":"Thrown when a user is not authorized to access the requested resource."
76
- },
77
- {
78
- "shape":"InvalidParameterException",
79
- "error":{"httpStatusCode":400},
80
- "exception":true,
81
- "documentation":"Thrown when a request parameter does not comply with the associated constraints."
82
- },
83
- {
84
- "shape":"ResourceNotFoundException",
85
- "error":{"httpStatusCode":404},
86
- "exception":true,
87
- "documentation":"Thrown if the resource doesn't exist."
88
- },
89
- {
90
- "shape":"InternalErrorException",
91
- "error":{"httpStatusCode":500},
92
- "exception":true,
93
- "documentation":"Indicates an internal service error."
94
- }
95
- ],
96
- "documentation":"Gets metadata about a dataset by identity and dataset name."
97
- },
98
- "DescribeIdentityPoolUsage":{
99
- "name":"DescribeIdentityPoolUsage",
100
- "http":{
101
- "method":"GET",
102
- "requestUri":"/identitypools/{IdentityPoolId}",
103
- "responseCode":200
104
- },
105
- "input":{
106
- "shape":"DescribeIdentityPoolUsageRequest",
107
- "documentation":"A request for usage information about the identity pool."
108
- },
109
- "output":{
110
- "shape":"DescribeIdentityPoolUsageResponse",
111
- "documentation":"Response to a successful DescribeIdentityPoolUsage request."
112
- },
113
- "errors":[
114
- {
115
- "shape":"NotAuthorizedException",
116
- "error":{"httpStatusCode":403},
117
- "exception":true,
118
- "documentation":"Thrown when a user is not authorized to access the requested resource."
119
- },
120
- {
121
- "shape":"InvalidParameterException",
122
- "error":{"httpStatusCode":400},
123
- "exception":true,
124
- "documentation":"Thrown when a request parameter does not comply with the associated constraints."
125
- },
126
- {
127
- "shape":"ResourceNotFoundException",
128
- "error":{"httpStatusCode":404},
129
- "exception":true,
130
- "documentation":"Thrown if the resource doesn't exist."
131
- },
132
- {
133
- "shape":"InternalErrorException",
134
- "error":{"httpStatusCode":500},
135
- "exception":true,
136
- "documentation":"Indicates an internal service error."
137
- }
138
- ],
139
- "documentation":"Gets usage details (for example, data storage) about a particular identity pool."
140
- },
141
- "DescribeIdentityUsage":{
142
- "name":"DescribeIdentityUsage",
143
- "http":{
144
- "method":"GET",
145
- "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}",
146
- "responseCode":200
147
- },
148
- "input":{
149
- "shape":"DescribeIdentityUsageRequest",
150
- "documentation":"A request for information about the usage of an identity pool."
151
- },
152
- "output":{
153
- "shape":"DescribeIdentityUsageResponse",
154
- "documentation":"The response to a successful DescribeIdentityUsage request."
155
- },
156
- "errors":[
157
- {
158
- "shape":"NotAuthorizedException",
159
- "error":{"httpStatusCode":403},
160
- "exception":true,
161
- "documentation":"Thrown when a user is not authorized to access the requested resource."
162
- },
163
- {
164
- "shape":"InvalidParameterException",
165
- "error":{"httpStatusCode":400},
166
- "exception":true,
167
- "documentation":"Thrown when a request parameter does not comply with the associated constraints."
168
- },
169
- {
170
- "shape":"ResourceNotFoundException",
171
- "error":{"httpStatusCode":404},
172
- "exception":true,
173
- "documentation":"Thrown if the resource doesn't exist."
174
- },
175
- {
176
- "shape":"InternalErrorException",
177
- "error":{"httpStatusCode":500},
178
- "exception":true,
179
- "documentation":"Indicates an internal service error."
180
- }
181
- ],
182
- "documentation":"Gets usage information for an identity, including number of datasets and data usage."
183
- },
184
- "ListDatasets":{
185
- "name":"ListDatasets",
186
- "http":{
187
- "method":"GET",
188
- "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets",
189
- "responseCode":200
190
- },
191
- "input":{
192
- "shape":"ListDatasetsRequest",
193
- "documentation":"Request for a list of datasets for an identity."
194
- },
195
- "output":{
196
- "shape":"ListDatasetsResponse",
197
- "documentation":"Returned for a successful ListDatasets request."
198
- },
199
- "errors":[
200
- {
201
- "shape":"NotAuthorizedException",
202
- "error":{"httpStatusCode":403},
203
- "exception":true,
204
- "documentation":"Thrown when a user is not authorized to access the requested resource."
205
- },
206
- {
207
- "shape":"InvalidParameterException",
208
- "error":{"httpStatusCode":400},
209
- "exception":true,
210
- "documentation":"Thrown when a request parameter does not comply with the associated constraints."
211
- },
212
- {
213
- "shape":"InternalErrorException",
214
- "error":{"httpStatusCode":500},
215
- "exception":true,
216
- "documentation":"Indicates an internal service error."
217
- }
218
- ],
219
- "documentation":"Lists datasets for an identity."
220
- },
221
- "ListIdentityPoolUsage":{
222
- "name":"ListIdentityPoolUsage",
223
- "http":{
224
- "method":"GET",
225
- "requestUri":"/identitypools",
226
- "responseCode":200
227
- },
228
- "input":{
229
- "shape":"ListIdentityPoolUsageRequest",
230
- "documentation":"A request for usage information on an identity pool."
231
- },
232
- "output":{
233
- "shape":"ListIdentityPoolUsageResponse",
234
- "documentation":"Returned for a successful ListIdentityPoolUsage request."
235
- },
236
- "errors":[
237
- {
238
- "shape":"NotAuthorizedException",
239
- "error":{"httpStatusCode":403},
240
- "exception":true,
241
- "documentation":"Thrown when a user is not authorized to access the requested resource."
242
- },
243
- {
244
- "shape":"InvalidParameterException",
245
- "error":{"httpStatusCode":400},
246
- "exception":true,
247
- "documentation":"Thrown when a request parameter does not comply with the associated constraints."
248
- },
249
- {
250
- "shape":"InternalErrorException",
251
- "error":{"httpStatusCode":500},
252
- "exception":true,
253
- "documentation":"Indicates an internal service error."
254
- }
255
- ],
256
- "documentation":"Gets a list of identity pools registered with Cognito."
257
- },
258
- "ListRecords":{
259
- "name":"ListRecords",
260
- "http":{
261
- "method":"GET",
262
- "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records",
263
- "responseCode":200
264
- },
265
- "input":{
266
- "shape":"ListRecordsRequest",
267
- "documentation":"A request for a list of records."
268
- },
269
- "output":{
270
- "shape":"ListRecordsResponse",
271
- "documentation":"Returned for a successful ListRecordsRequest."
272
- },
273
- "errors":[
274
- {
275
- "shape":"InvalidParameterException",
276
- "error":{"httpStatusCode":400},
277
- "exception":true,
278
- "documentation":"Thrown when a request parameter does not comply with the associated constraints."
279
- },
280
- {
281
- "shape":"NotAuthorizedException",
282
- "error":{"httpStatusCode":403},
283
- "exception":true,
284
- "documentation":"Thrown when a user is not authorized to access the requested resource."
285
- },
286
- {
287
- "shape":"TooManyRequestsException",
288
- "error":{"httpStatusCode":429},
289
- "exception":true,
290
- "documentation":"Thrown if the request is throttled."
291
- },
292
- {
293
- "shape":"InternalErrorException",
294
- "error":{"httpStatusCode":500},
295
- "exception":true,
296
- "documentation":"Indicates an internal service error."
297
- }
298
- ],
299
- "documentation":"Gets paginated records, optionally changed after a particular sync count for a dataset and identity."
300
- },
301
- "UpdateRecords":{
302
- "name":"UpdateRecords",
303
- "http":{
304
- "method":"POST",
305
- "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
306
- "responseCode":200
307
- },
308
- "input":{
309
- "shape":"UpdateRecordsRequest",
310
- "documentation":"A request to post updates to records or add and delete records for a dataset and user."
311
- },
312
- "output":{
313
- "shape":"UpdateRecordsResponse",
314
- "documentation":"Returned for a successful UpdateRecordsRequest."
315
- },
316
- "errors":[
317
- {
318
- "shape":"InvalidParameterException",
319
- "error":{"httpStatusCode":400},
320
- "exception":true,
321
- "documentation":"Thrown when a request parameter does not comply with the associated constraints."
322
- },
323
- {
324
- "shape":"LimitExceededException",
325
- "error":{"httpStatusCode":400},
326
- "exception":true,
327
- "documentation":"Thrown when the limit on the number of objects or operations has been exceeded."
328
- },
329
- {
330
- "shape":"NotAuthorizedException",
331
- "error":{"httpStatusCode":403},
332
- "exception":true,
333
- "documentation":"Thrown when a user is not authorized to access the requested resource."
334
- },
335
- {
336
- "shape":"ResourceNotFoundException",
337
- "error":{"httpStatusCode":404},
338
- "exception":true,
339
- "documentation":"Thrown if the resource doesn't exist."
340
- },
341
- {
342
- "shape":"ResourceConflictException",
343
- "error":{"httpStatusCode":409},
344
- "exception":true,
345
- "documentation":"Thrown if an update can't be applied because the resource was changed by another call and this would result in a conflict."
346
- },
347
- {
348
- "shape":"TooManyRequestsException",
349
- "error":{"httpStatusCode":429},
350
- "exception":true,
351
- "documentation":"Thrown if the request is throttled."
352
- },
353
- {
354
- "shape":"InternalErrorException",
355
- "error":{"httpStatusCode":500},
356
- "exception":true,
357
- "documentation":"Indicates an internal service error."
358
- }
359
- ],
360
- "documentation":"Posts updates to records and add and delete records for a dataset and user."
361
- }
362
- },
363
- "shapes":{
364
- "Boolean":{"type":"boolean"},
365
- "ClientContext":{"type":"string"},
366
- "Dataset":{
367
- "type":"structure",
368
- "members":{
369
- "IdentityId":{
370
- "shape":"IdentityId",
371
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
372
- },
373
- "DatasetName":{
374
- "shape":"DatasetName",
375
- "documentation":"A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot)."
376
- },
377
- "CreationDate":{
378
- "shape":"Date",
379
- "documentation":"Date."
380
- },
381
- "LastModifiedDate":{
382
- "shape":"Date",
383
- "documentation":"Date when the dataset was last modified."
384
- },
385
- "LastModifiedBy":{
386
- "shape":"String",
387
- "documentation":"The device that made the last change to this dataset."
388
- },
389
- "DataStorage":{
390
- "shape":"Long",
391
- "documentation":"Total size in bytes of the records in this dataset."
392
- },
393
- "NumRecords":{
394
- "shape":"Long",
395
- "documentation":"Number of records in this dataset."
396
- }
397
- },
398
- "documentation":"A collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs."
399
- },
400
- "DatasetList":{
401
- "type":"list",
402
- "member":{"shape":"Dataset"}
403
- },
404
- "DatasetName":{
405
- "type":"string",
406
- "min":1,
407
- "max":128,
408
- "pattern":"[a-zA-Z0-9_.:-]+"
409
- },
410
- "Date":{"type":"timestamp"},
411
- "DeleteDatasetRequest":{
412
- "type":"structure",
413
- "required":[
414
- "IdentityPoolId",
415
- "IdentityId",
416
- "DatasetName"
417
- ],
418
- "members":{
419
- "IdentityPoolId":{
420
- "shape":"IdentityPoolId",
421
- "location":"uri",
422
- "locationName":"IdentityPoolId",
423
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
424
- },
425
- "IdentityId":{
426
- "shape":"IdentityId",
427
- "location":"uri",
428
- "locationName":"IdentityId",
429
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
430
- },
431
- "DatasetName":{
432
- "shape":"DatasetName",
433
- "location":"uri",
434
- "locationName":"DatasetName",
435
- "documentation":"A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot)."
436
- }
437
- },
438
- "documentation":"A request to delete the specific dataset."
439
- },
440
- "DeleteDatasetResponse":{
441
- "type":"structure",
442
- "members":{
443
- "Dataset":{
444
- "shape":"Dataset",
445
- "documentation":"A collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs."
446
- }
447
- },
448
- "documentation":"Response to a successful DeleteDataset request."
449
- },
450
- "DescribeDatasetRequest":{
451
- "type":"structure",
452
- "required":[
453
- "IdentityPoolId",
454
- "IdentityId",
455
- "DatasetName"
456
- ],
457
- "members":{
458
- "IdentityPoolId":{
459
- "shape":"IdentityPoolId",
460
- "location":"uri",
461
- "locationName":"IdentityPoolId",
462
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
463
- },
464
- "IdentityId":{
465
- "shape":"IdentityId",
466
- "location":"uri",
467
- "locationName":"IdentityId",
468
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
469
- },
470
- "DatasetName":{
471
- "shape":"DatasetName",
472
- "location":"uri",
473
- "locationName":"DatasetName",
474
- "documentation":"A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot)."
475
- }
476
- },
477
- "documentation":"A request for metadata about a dataset (creation date, number of records, size) by owner and dataset name."
478
- },
479
- "DescribeDatasetResponse":{
480
- "type":"structure",
481
- "members":{
482
- "Dataset":{
483
- "shape":"Dataset",
484
- "documentation":"Metadata for a collection of data for an identity. An identity can have multiple datasets. A dataset can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs."
485
- }
486
- },
487
- "documentation":"Response to a successful DescribeDataset request."
488
- },
489
- "DescribeIdentityPoolUsageRequest":{
490
- "type":"structure",
491
- "required":["IdentityPoolId"],
492
- "members":{
493
- "IdentityPoolId":{
494
- "shape":"IdentityPoolId",
495
- "location":"uri",
496
- "locationName":"IdentityPoolId",
497
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
498
- }
499
- },
500
- "documentation":"A request for usage information about the identity pool."
501
- },
502
- "DescribeIdentityPoolUsageResponse":{
503
- "type":"structure",
504
- "members":{
505
- "IdentityPoolUsage":{
506
- "shape":"IdentityPoolUsage",
507
- "documentation":"Information about the usage of the identity pool."
508
- }
509
- },
510
- "documentation":"Response to a successful DescribeIdentityPoolUsage request."
511
- },
512
- "DescribeIdentityUsageRequest":{
513
- "type":"structure",
514
- "required":[
515
- "IdentityPoolId",
516
- "IdentityId"
517
- ],
518
- "members":{
519
- "IdentityPoolId":{
520
- "shape":"IdentityPoolId",
521
- "location":"uri",
522
- "locationName":"IdentityPoolId",
523
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
524
- },
525
- "IdentityId":{
526
- "shape":"IdentityId",
527
- "location":"uri",
528
- "locationName":"IdentityId",
529
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
530
- }
531
- },
532
- "documentation":"A request for information about the usage of an identity pool."
533
- },
534
- "DescribeIdentityUsageResponse":{
535
- "type":"structure",
536
- "members":{
537
- "IdentityUsage":{
538
- "shape":"IdentityUsage",
539
- "documentation":"Usage information for the identity."
540
- }
541
- },
542
- "documentation":"The response to a successful DescribeIdentityUsage request."
543
- },
544
- "ExceptionMessage":{"type":"string"},
545
- "IdentityId":{
546
- "type":"string",
547
- "min":1,
548
- "max":50,
549
- "pattern":"[\\w-]+:[0-9a-f-]+"
550
- },
551
- "IdentityPoolId":{
552
- "type":"string",
553
- "min":1,
554
- "max":50,
555
- "pattern":"[\\w-]+:[0-9a-f-]+"
556
- },
557
- "IdentityPoolUsage":{
558
- "type":"structure",
559
- "members":{
560
- "IdentityPoolId":{
561
- "shape":"IdentityPoolId",
562
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
563
- },
564
- "SyncSessionsCount":{
565
- "shape":"Long",
566
- "documentation":"Number of sync sessions for the identity pool."
567
- },
568
- "DataStorage":{
569
- "shape":"Long",
570
- "documentation":"Data storage information for the identity pool."
571
- },
572
- "LastModifiedDate":{
573
- "shape":"Date",
574
- "documentation":"Date on which the identity pool was last modified."
575
- }
576
- },
577
- "documentation":"Usage information for the identity pool."
578
- },
579
- "IdentityPoolUsageList":{
580
- "type":"list",
581
- "member":{"shape":"IdentityPoolUsage"}
582
- },
583
- "IdentityUsage":{
584
- "type":"structure",
585
- "members":{
586
- "IdentityId":{
587
- "shape":"IdentityId",
588
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
589
- },
590
- "IdentityPoolId":{
591
- "shape":"IdentityPoolId",
592
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
593
- },
594
- "LastModifiedDate":{
595
- "shape":"Date",
596
- "documentation":"Date on which the identity was last modified."
597
- },
598
- "DatasetCount":{
599
- "shape":"Integer",
600
- "documentation":"Number of datasets for the identity."
601
- },
602
- "DataStorage":{
603
- "shape":"Long",
604
- "documentation":"Total data storage for this identity."
605
- }
606
- },
607
- "documentation":"Usage information for the identity."
608
- },
609
- "Integer":{"type":"integer"},
610
- "IntegerString":{"type":"integer"},
611
- "InternalErrorException":{
612
- "type":"structure",
613
- "required":["message"],
614
- "members":{
615
- "message":{
616
- "shape":"ExceptionMessage",
617
- "documentation":"Message returned by InternalErrorException."
618
- }
619
- },
620
- "error":{"httpStatusCode":500},
621
- "exception":true,
622
- "documentation":"Indicates an internal service error."
623
- },
624
- "InvalidParameterException":{
625
- "type":"structure",
626
- "required":["message"],
627
- "members":{
628
- "message":{
629
- "shape":"ExceptionMessage",
630
- "documentation":"Message returned by InvalidParameterException."
631
- }
632
- },
633
- "error":{"httpStatusCode":400},
634
- "exception":true,
635
- "documentation":"Thrown when a request parameter does not comply with the associated constraints."
636
- },
637
- "LimitExceededException":{
638
- "type":"structure",
639
- "required":["message"],
640
- "members":{
641
- "message":{
642
- "shape":"ExceptionMessage",
643
- "documentation":"Message returned by LimitExceededException."
644
- }
645
- },
646
- "error":{"httpStatusCode":400},
647
- "exception":true,
648
- "documentation":"Thrown when the limit on the number of objects or operations has been exceeded."
649
- },
650
- "ListDatasetsRequest":{
651
- "type":"structure",
652
- "required":[
653
- "IdentityId",
654
- "IdentityPoolId"
655
- ],
656
- "members":{
657
- "IdentityPoolId":{
658
- "shape":"IdentityPoolId",
659
- "location":"uri",
660
- "locationName":"IdentityPoolId",
661
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
662
- },
663
- "IdentityId":{
664
- "shape":"IdentityId",
665
- "location":"uri",
666
- "locationName":"IdentityId",
667
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
668
- },
669
- "NextToken":{
670
- "shape":"String",
671
- "location":"querystring",
672
- "locationName":"nextToken",
673
- "documentation":"A pagination token for obtaining the next page of results."
674
- },
675
- "MaxResults":{
676
- "shape":"IntegerString",
677
- "location":"querystring",
678
- "locationName":"maxResults",
679
- "documentation":"The maximum number of results to be returned."
680
- }
681
- },
682
- "documentation":"Request for a list of datasets for an identity."
683
- },
684
- "ListDatasetsResponse":{
685
- "type":"structure",
686
- "members":{
687
- "Datasets":{
688
- "shape":"DatasetList",
689
- "documentation":"A set of datasets."
690
- },
691
- "Count":{
692
- "shape":"Integer",
693
- "documentation":"Number of datasets returned."
694
- },
695
- "NextToken":{
696
- "shape":"String",
697
- "documentation":"A pagination token for obtaining the next page of results."
698
- }
699
- },
700
- "documentation":"Returned for a successful ListDatasets request."
701
- },
702
- "ListIdentityPoolUsageRequest":{
703
- "type":"structure",
704
- "members":{
705
- "NextToken":{
706
- "shape":"String",
707
- "location":"querystring",
708
- "locationName":"nextToken",
709
- "documentation":"A pagination token for obtaining the next page of results."
710
- },
711
- "MaxResults":{
712
- "shape":"IntegerString",
713
- "location":"querystring",
714
- "locationName":"maxResults",
715
- "documentation":"The maximum number of results to be returned."
716
- }
717
- },
718
- "documentation":"A request for usage information on an identity pool."
719
- },
720
- "ListIdentityPoolUsageResponse":{
721
- "type":"structure",
722
- "members":{
723
- "IdentityPoolUsages":{
724
- "shape":"IdentityPoolUsageList",
725
- "documentation":"Usage information for the identity pools."
726
- },
727
- "MaxResults":{
728
- "shape":"Integer",
729
- "documentation":"The maximum number of results to be returned."
730
- },
731
- "Count":{
732
- "shape":"Integer",
733
- "documentation":"Total number of identities for the identity pool."
734
- },
735
- "NextToken":{
736
- "shape":"String",
737
- "documentation":"A pagination token for obtaining the next page of results."
738
- }
739
- },
740
- "documentation":"Returned for a successful ListIdentityPoolUsage request."
741
- },
742
- "ListRecordsRequest":{
743
- "type":"structure",
744
- "required":[
745
- "IdentityPoolId",
746
- "IdentityId",
747
- "DatasetName"
748
- ],
749
- "members":{
750
- "IdentityPoolId":{
751
- "shape":"IdentityPoolId",
752
- "location":"uri",
753
- "locationName":"IdentityPoolId",
754
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
755
- },
756
- "IdentityId":{
757
- "shape":"IdentityId",
758
- "location":"uri",
759
- "locationName":"IdentityId",
760
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
761
- },
762
- "DatasetName":{
763
- "shape":"DatasetName",
764
- "location":"uri",
765
- "locationName":"DatasetName",
766
- "documentation":"A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot)."
767
- },
768
- "LastSyncCount":{
769
- "shape":"Long",
770
- "location":"querystring",
771
- "locationName":"lastSyncCount",
772
- "documentation":"The last server sync count for this record."
773
- },
774
- "NextToken":{
775
- "shape":"String",
776
- "location":"querystring",
777
- "locationName":"nextToken",
778
- "documentation":"A pagination token for obtaining the next page of results."
779
- },
780
- "MaxResults":{
781
- "shape":"IntegerString",
782
- "location":"querystring",
783
- "locationName":"maxResults",
784
- "documentation":"The maximum number of results to be returned."
785
- },
786
- "SyncSessionToken":{
787
- "shape":"SyncSessionToken",
788
- "location":"querystring",
789
- "locationName":"syncSessionToken",
790
- "documentation":"A token containing a session ID, identity ID, and expiration."
791
- }
792
- },
793
- "documentation":"A request for a list of records."
794
- },
795
- "ListRecordsResponse":{
796
- "type":"structure",
797
- "members":{
798
- "Records":{
799
- "shape":"RecordList",
800
- "documentation":"A list of all records."
801
- },
802
- "NextToken":{
803
- "shape":"String",
804
- "documentation":"A pagination token for obtaining the next page of results."
805
- },
806
- "Count":{
807
- "shape":"Integer",
808
- "documentation":"Total number of records."
809
- },
810
- "DatasetSyncCount":{
811
- "shape":"Long",
812
- "documentation":"Server sync count for this dataset."
813
- },
814
- "LastModifiedBy":{"shape":"String"},
815
- "MergedDatasetNames":{
816
- "shape":"MergedDatasetNameList",
817
- "documentation":"Names of merged datasets."
818
- },
819
- "DatasetExists":{
820
- "shape":"Boolean",
821
- "documentation":"Indicates whether the dataset exists."
822
- },
823
- "DatasetDeletedAfterRequestedSyncCount":{
824
- "shape":"Boolean",
825
- "documentation":"A boolean value specifying whether to delete the dataset locally."
826
- },
827
- "SyncSessionToken":{
828
- "shape":"String",
829
- "documentation":"A token containing a session ID, identity ID, and expiration."
830
- }
831
- },
832
- "documentation":"Returned for a successful ListRecordsRequest."
833
- },
834
- "Long":{"type":"long"},
835
- "MergedDatasetNameList":{
836
- "type":"list",
837
- "member":{"shape":"String"}
838
- },
839
- "NotAuthorizedException":{
840
- "type":"structure",
841
- "required":["message"],
842
- "members":{
843
- "message":{
844
- "shape":"ExceptionMessage",
845
- "documentation":"The message returned by a NotAuthorizedException."
846
- }
847
- },
848
- "error":{"httpStatusCode":403},
849
- "exception":true,
850
- "documentation":"Thrown when a user is not authorized to access the requested resource."
851
- },
852
- "Operation":{
853
- "type":"string",
854
- "enum":[
855
- "replace",
856
- "remove"
857
- ]
858
- },
859
- "Record":{
860
- "type":"structure",
861
- "members":{
862
- "Key":{
863
- "shape":"RecordKey",
864
- "documentation":"The key for the record."
865
- },
866
- "Value":{
867
- "shape":"RecordValue",
868
- "documentation":"The value for the record."
869
- },
870
- "SyncCount":{
871
- "shape":"Long",
872
- "documentation":"The server sync count for this record."
873
- },
874
- "LastModifiedDate":{
875
- "shape":"Date",
876
- "documentation":"The date on which the record was last modified."
877
- },
878
- "LastModifiedBy":{
879
- "shape":"String",
880
- "documentation":"The user/device that made the last change to this record."
881
- },
882
- "DeviceLastModifiedDate":{
883
- "shape":"Date",
884
- "documentation":"The last modified date of the client device."
885
- }
886
- },
887
- "documentation":"The basic data structure of a dataset."
888
- },
889
- "RecordKey":{
890
- "type":"string",
891
- "min":1,
892
- "max":1024
893
- },
894
- "RecordList":{
895
- "type":"list",
896
- "member":{"shape":"Record"}
897
- },
898
- "RecordPatch":{
899
- "type":"structure",
900
- "required":[
901
- "Op",
902
- "Key",
903
- "SyncCount"
904
- ],
905
- "members":{
906
- "Op":{
907
- "shape":"Operation",
908
- "documentation":"An operation, either replace or remove."
909
- },
910
- "Key":{
911
- "shape":"RecordKey",
912
- "documentation":"The key associated with the record patch."
913
- },
914
- "Value":{
915
- "shape":"RecordValue",
916
- "documentation":"The value associated with the record patch."
917
- },
918
- "SyncCount":{
919
- "shape":"Long",
920
- "documentation":"Last known server sync count for this record. Set to 0 if unknown."
921
- },
922
- "DeviceLastModifiedDate":{
923
- "shape":"Date",
924
- "documentation":"The last modified date of the client device."
925
- }
926
- },
927
- "documentation":"An update operation for a record."
928
- },
929
- "RecordPatchList":{
930
- "type":"list",
931
- "member":{"shape":"RecordPatch"}
932
- },
933
- "RecordValue":{
934
- "type":"string",
935
- "max":1048575
936
- },
937
- "ResourceConflictException":{
938
- "type":"structure",
939
- "required":["message"],
940
- "members":{
941
- "message":{
942
- "shape":"ExceptionMessage",
943
- "documentation":"The message returned by a ResourceConflictException."
944
- }
945
- },
946
- "error":{"httpStatusCode":409},
947
- "exception":true,
948
- "documentation":"Thrown if an update can't be applied because the resource was changed by another call and this would result in a conflict."
949
- },
950
- "ResourceNotFoundException":{
951
- "type":"structure",
952
- "required":["message"],
953
- "members":{
954
- "message":{
955
- "shape":"ExceptionMessage",
956
- "documentation":"Message returned by a ResourceNotFoundException."
957
- }
958
- },
959
- "error":{"httpStatusCode":404},
960
- "exception":true,
961
- "documentation":"Thrown if the resource doesn't exist."
962
- },
963
- "String":{"type":"string"},
964
- "SyncSessionToken":{"type":"string"},
965
- "TooManyRequestsException":{
966
- "type":"structure",
967
- "required":["message"],
968
- "members":{
969
- "message":{
970
- "shape":"ExceptionMessage",
971
- "documentation":"Message returned by a TooManyRequestsException."
972
- }
973
- },
974
- "error":{"httpStatusCode":429},
975
- "exception":true,
976
- "documentation":"Thrown if the request is throttled."
977
- },
978
- "UpdateRecordsRequest":{
979
- "type":"structure",
980
- "required":[
981
- "IdentityPoolId",
982
- "IdentityId",
983
- "DatasetName",
984
- "SyncSessionToken"
985
- ],
986
- "members":{
987
- "IdentityPoolId":{
988
- "shape":"IdentityPoolId",
989
- "location":"uri",
990
- "locationName":"IdentityPoolId",
991
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
992
- },
993
- "IdentityId":{
994
- "shape":"IdentityId",
995
- "location":"uri",
996
- "locationName":"IdentityId",
997
- "documentation":"A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region."
998
- },
999
- "DatasetName":{
1000
- "shape":"DatasetName",
1001
- "location":"uri",
1002
- "locationName":"DatasetName",
1003
- "documentation":"A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot)."
1004
- },
1005
- "RecordPatches":{"shape":"RecordPatchList"},
1006
- "SyncSessionToken":{
1007
- "shape":"SyncSessionToken",
1008
- "documentation":"The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity."
1009
- },
1010
- "ClientContext":{
1011
- "shape":"ClientContext",
1012
- "location":"header",
1013
- "locationName":"x-amz-Client-Context"
1014
- }
1015
- },
1016
- "documentation":"A request to post updates to records or add and delete records for a dataset and user."
1017
- },
1018
- "UpdateRecordsResponse":{
1019
- "type":"structure",
1020
- "members":{
1021
- "Records":{
1022
- "shape":"RecordList",
1023
- "documentation":"A list of records that have been updated."
1024
- }
1025
- },
1026
- "documentation":"Returned for a successful UpdateRecordsRequest."
1027
- }
1028
- }
1029
- }