aws-sdk-core 2.0.0.rc2 → 2.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +13 -7
  3. data/.yardopts +1 -0
  4. data/Gemfile +5 -1
  5. data/README.md +26 -0
  6. data/apis/AutoScaling-2011-01-01.json +57 -0
  7. data/apis/CloudFormation-2010-05-15.json +29 -0
  8. data/apis/CloudFront-2012-05-05.json +33 -0
  9. data/apis/CloudFront-2013-05-12.json +33 -0
  10. data/apis/CloudFront-2013-08-26.json +33 -0
  11. data/apis/CloudSearch-2011-02-01.json +1 -0
  12. data/apis/CloudWatch-2010-08-01.json +22 -0
  13. data/apis/DataPipeline-2012-10-29.json +25 -0
  14. data/apis/DirectConnect-2012-10-25.json +1 -0
  15. data/apis/DynamoDB-2011-12-05.json +29 -0
  16. data/apis/DynamoDB-2012-08-10.json +29 -0
  17. data/apis/EC2-2013-06-15.json +29 -0
  18. data/apis/EC2-2013-10-01.json +29 -0
  19. data/apis/EMR-2009-03-31.json +958 -40
  20. data/apis/ElastiCache-2012-11-15.json +72 -0
  21. data/apis/ElastiCache-2013-06-15.json +72 -0
  22. data/apis/ElasticBeanstalk-2010-12-01.json +8 -0
  23. data/apis/ElasticLoadBalancing-2012-06-01.json +8 -0
  24. data/apis/ElasticTranscoder-2012-09-25.json +16 -3
  25. data/apis/Glacier-2012-06-01.json +35 -0
  26. data/apis/IAM-2010-05-08.json +129 -0
  27. data/apis/ImportExport-2010-06-01.json +9 -0
  28. data/apis/Kinesis-2013-12-02.json +409 -0
  29. data/apis/OpsWorks-2013-02-18.json +1 -0
  30. data/apis/RDS-2013-01-10.json +106 -0
  31. data/apis/RDS-2013-02-12.json +120 -0
  32. data/apis/RDS-2013-05-15.json +120 -0
  33. data/apis/Redshift-2012-12-01.json +90 -1
  34. data/apis/Route53-2012-12-12.json +27 -0
  35. data/apis/S3-2006-03-01.json +34 -0
  36. data/apis/SDB-2009-04-15.json +16 -0
  37. data/apis/SES-2010-12-01.json +8 -0
  38. data/apis/SNS-2010-03-31.json +22 -0
  39. data/apis/SQS-2012-11-05.json +1 -0
  40. data/apis/STS-2011-06-15.json +3 -1
  41. data/apis/SWF-2012-01-25.json +52 -1
  42. data/apis/StorageGateway-2012-06-30.json +15 -0
  43. data/apis/StorageGateway-2013-06-30.json +15 -0
  44. data/apis/Support-2013-04-15.json +15 -0
  45. data/apis/configuration/endpoints.json +88 -23
  46. data/apis/source/elasticmapreduce-2009-03-31.json +1529 -126
  47. data/apis/source/elasticmapreduce-2009-03-31.paginators.json +25 -0
  48. data/apis/source/importexport-2010-06-01.paginators.json +1 -0
  49. data/apis/source/kinesis-2013-12-02.json +894 -0
  50. data/apis/source/kinesis-2013-12-02.paginators.json +18 -0
  51. data/apis/source/rds-2013-01-10.paginators.json +1 -0
  52. data/apis/source/rds-2013-02-12.paginators.json +1 -0
  53. data/apis/source/rds-2013-05-15.paginators.json +1 -0
  54. data/apis/source/redshift-2012-12-01.paginators.json +1 -0
  55. data/apis/source/s3-2006-03-01.paginators.json +1 -1
  56. data/aws-sdk-core.gemspec +1 -0
  57. data/doc-src/plugins/stability.rb +1 -0
  58. data/features/glacier/client.feature +5 -0
  59. data/features/glacier/step_definitions.rb +56 -5
  60. data/features/kinesis/client.feature +18 -0
  61. data/features/kinesis/setup.rb +6 -0
  62. data/features/s3/buckets.feature +10 -0
  63. data/features/s3/objects.feature +9 -0
  64. data/features/s3/step_definitions.rb +29 -0
  65. data/lib/aws.rb +13 -2
  66. data/lib/aws/api/pagination_translator.rb +71 -0
  67. data/lib/aws/api/service_translators/glacier.rb +0 -7
  68. data/lib/aws/api/translator.rb +10 -3
  69. data/lib/aws/error_handler.rb +1 -1
  70. data/lib/aws/json/builder.rb +4 -2
  71. data/lib/aws/pageable_response.rb +230 -0
  72. data/lib/aws/plugins/glacier_checksums.rb +10 -29
  73. data/lib/aws/plugins/response_paging.rb +18 -0
  74. data/lib/aws/plugins/retry_errors.rb +3 -1
  75. data/lib/aws/plugins/s3_complete_multipart_upload_fix.rb +1 -1
  76. data/lib/aws/plugins/s3_get_bucket_location_fix.rb +9 -3
  77. data/lib/aws/plugins/signature_v4.rb +2 -1
  78. data/lib/aws/plugins/sqs_queue_urls.rb +7 -4
  79. data/lib/aws/plugins/user_agent.rb +3 -3
  80. data/lib/aws/response_handler.rb +1 -1
  81. data/lib/aws/signers/s3.rb +1 -1
  82. data/lib/aws/tree_hash.rb +69 -0
  83. data/lib/aws/version.rb +1 -1
  84. data/spec/aws/json/builder_spec.rb +12 -0
  85. data/spec/aws/pageable_response_spec.rb +195 -0
  86. data/spec/aws/plugins/retry_errors_spec.rb +13 -0
  87. data/spec/aws/plugins/signature_v4_spec.rb +65 -0
  88. data/spec/aws/plugins/sqs_queue_urls_spec.rb +41 -0
  89. data/spec/aws_spec.rb +4 -0
  90. data/spec/fixtures/operations/glacier/get_job_output.yml +23 -0
  91. data/spec/fixtures/operations/s3/get_bucket_policy.yml +8 -0
  92. data/tasks/endpoints.rake +15 -0
  93. data/tasks/handlers.rake +1 -1
  94. data/vendor/seahorse/lib/seahorse/client.rb +1 -0
  95. data/vendor/seahorse/lib/seahorse/client/base.rb +6 -0
  96. data/vendor/seahorse/lib/seahorse/client/configuration.rb +1 -1
  97. data/vendor/seahorse/lib/seahorse/client/handler_builder.rb +3 -3
  98. data/vendor/seahorse/lib/seahorse/client/handler_list.rb +2 -2
  99. data/vendor/seahorse/lib/seahorse/client/http/error.rb +17 -0
  100. data/vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb +10 -0
  101. data/vendor/seahorse/lib/seahorse/client/logging/handler.rb +1 -1
  102. data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +13 -2
  103. data/vendor/seahorse/lib/seahorse/client/plugins/json_simple.rb +1 -1
  104. data/vendor/seahorse/lib/seahorse/client/plugins/operation_methods.rb +4 -2
  105. data/vendor/seahorse/lib/seahorse/client/plugins/restful_bindings.rb +9 -1
  106. data/vendor/seahorse/lib/seahorse/client/request.rb +14 -0
  107. data/vendor/seahorse/lib/seahorse/client/response.rb +8 -38
  108. data/vendor/seahorse/lib/seahorse/model/shapes/shape.rb +11 -3
  109. data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +13 -0
  110. data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +6 -0
  111. data/vendor/seahorse/spec/seahorse/client/response_spec.rb +9 -63
  112. metadata +41 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc2
4
+ version: 2.0.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-23 00:00:00.000000000 Z
11
+ date: 2013-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jamespath
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  description: Provides client libraries for AWS.
56
70
  email:
57
71
  executables:
@@ -89,6 +103,7 @@ files:
89
103
  - apis/Glacier-2012-06-01.json
90
104
  - apis/IAM-2010-05-08.json
91
105
  - apis/ImportExport-2010-06-01.json
106
+ - apis/Kinesis-2013-12-02.json
92
107
  - apis/OpsWorks-2013-02-18.json
93
108
  - apis/RDS-2013-01-10.json
94
109
  - apis/RDS-2013-02-12.json
@@ -152,6 +167,8 @@ files:
152
167
  - apis/source/iam-2010-05-08.paginators.json
153
168
  - apis/source/importexport-2010-06-01.json
154
169
  - apis/source/importexport-2010-06-01.paginators.json
170
+ - apis/source/kinesis-2013-12-02.json
171
+ - apis/source/kinesis-2013-12-02.paginators.json
155
172
  - apis/source/monitoring-2010-08-01.json
156
173
  - apis/source/monitoring-2010-08-01.paginators.json
157
174
  - apis/source/opsworks-2013-02-18.json
@@ -189,6 +206,7 @@ files:
189
206
  - doc-src/images/node.png
190
207
  - doc-src/images/vline.png
191
208
  - doc-src/plugins/apis.rb
209
+ - doc-src/plugins/stability.rb
192
210
  - doc-src/templates/default/fulldoc/html/css/common.css
193
211
  - doc-src/templates/default/fulldoc/html/js/tabs.js
194
212
  - doc-src/templates/default/fulldoc/html/setup.rb
@@ -234,6 +252,8 @@ files:
234
252
  - features/iam/setup.rb
235
253
  - features/importexport/client.feature
236
254
  - features/importexport/setup.rb
255
+ - features/kinesis/client.feature
256
+ - features/kinesis/setup.rb
237
257
  - features/opsworks/client.feature
238
258
  - features/opsworks/setup.rb
239
259
  - features/rds/client.feature
@@ -269,6 +289,7 @@ files:
269
289
  - lib/aws/api/doc_example.rb
270
290
  - lib/aws/api/documentor.rb
271
291
  - lib/aws/api/operation_translator.rb
292
+ - lib/aws/api/pagination_translator.rb
272
293
  - lib/aws/api/service_namer.rb
273
294
  - lib/aws/api/service_translators/cloud_front.rb
274
295
  - lib/aws/api/service_translators/dynamo_db.rb
@@ -289,6 +310,7 @@ files:
289
310
  - lib/aws/json/error_parser.rb
290
311
  - lib/aws/json/parser.rb
291
312
  - lib/aws/json/serializer.rb
313
+ - lib/aws/pageable_response.rb
292
314
  - lib/aws/plugins/credentials.rb
293
315
  - lib/aws/plugins/dynamodb_extended_retries.rb
294
316
  - lib/aws/plugins/glacier_account_id.rb
@@ -300,6 +322,7 @@ files:
300
322
  - lib/aws/plugins/json_rpc_headers.rb
301
323
  - lib/aws/plugins/query_protocol.rb
302
324
  - lib/aws/plugins/regional_endpoint.rb
325
+ - lib/aws/plugins/response_paging.rb
303
326
  - lib/aws/plugins/retry_errors.rb
304
327
  - lib/aws/plugins/s3_bucket_dns.rb
305
328
  - lib/aws/plugins/s3_complete_multipart_upload_fix.rb
@@ -330,6 +353,7 @@ files:
330
353
  - lib/aws/signers/v4.rb
331
354
  - lib/aws/structure.rb
332
355
  - lib/aws/timestamp_formatter.rb
356
+ - lib/aws/tree_hash.rb
333
357
  - lib/aws/util.rb
334
358
  - lib/aws/version.rb
335
359
  - lib/aws/xml/builder.rb
@@ -342,10 +366,13 @@ files:
342
366
  - spec/aws/json/builder_spec.rb
343
367
  - spec/aws/json/parser_spec.rb
344
368
  - spec/aws/operations_spec.rb
369
+ - spec/aws/pageable_response_spec.rb
345
370
  - spec/aws/plugins/credentials_spec.rb
346
371
  - spec/aws/plugins/global_configuration_spec.rb
347
372
  - spec/aws/plugins/region_endpoint_spec.rb
348
373
  - spec/aws/plugins/retry_errors_spec.rb
374
+ - spec/aws/plugins/signature_v4_spec.rb
375
+ - spec/aws/plugins/sqs_queue_urls_spec.rb
349
376
  - spec/aws/query/builder_spec.rb
350
377
  - spec/aws/query/param_list_spec.rb
351
378
  - spec/aws/query/param_spec.rb
@@ -363,6 +390,7 @@ files:
363
390
  - spec/fixtures/operations/glacier/custom_account_id.yml
364
391
  - spec/fixtures/operations/glacier/default_account_id.yml
365
392
  - spec/fixtures/operations/glacier/error_parsing.yml
393
+ - spec/fixtures/operations/glacier/get_job_output.yml
366
394
  - spec/fixtures/operations/glacier/list_vaults.yml
367
395
  - spec/fixtures/operations/iam/result_wrapped_elements.yml
368
396
  - spec/fixtures/operations/s3/304_response.yml
@@ -377,6 +405,7 @@ files:
377
405
  - spec/fixtures/operations/s3/error_parsing.yml
378
406
  - spec/fixtures/operations/s3/get_bucket_location.yml
379
407
  - spec/fixtures/operations/s3/get_bucket_location_classic.yml
408
+ - spec/fixtures/operations/s3/get_bucket_policy.yml
380
409
  - spec/fixtures/operations/s3/head_bucket_with_dns_incompatible_name.yml
381
410
  - spec/fixtures/operations/s3/head_object.yml
382
411
  - spec/fixtures/operations/s3/list_buckets.yml
@@ -386,6 +415,7 @@ files:
386
415
  - spec/spec_helper.rb
387
416
  - tasks/apis.rake
388
417
  - tasks/docs.rake
418
+ - tasks/endpoints.rake
389
419
  - tasks/handlers.rake
390
420
  - tasks/test.rake
391
421
  - vendor/seahorse/.gitignore
@@ -405,6 +435,7 @@ files:
405
435
  - vendor/seahorse/lib/seahorse/client/handler_builder.rb
406
436
  - vendor/seahorse/lib/seahorse/client/handler_list.rb
407
437
  - vendor/seahorse/lib/seahorse/client/http/endpoint.rb
438
+ - vendor/seahorse/lib/seahorse/client/http/error.rb
408
439
  - vendor/seahorse/lib/seahorse/client/http/headers.rb
409
440
  - vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb
410
441
  - vendor/seahorse/lib/seahorse/client/http/request.rb
@@ -508,7 +539,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
508
539
  version: 1.3.1
509
540
  requirements: []
510
541
  rubyforge_project:
511
- rubygems_version: 2.0.3
542
+ rubygems_version: 2.1.11
512
543
  signing_key:
513
544
  specification_version: 4
514
545
  summary: AWS SDK Core
@@ -553,6 +584,8 @@ test_files:
553
584
  - features/iam/setup.rb
554
585
  - features/importexport/client.feature
555
586
  - features/importexport/setup.rb
587
+ - features/kinesis/client.feature
588
+ - features/kinesis/setup.rb
556
589
  - features/opsworks/client.feature
557
590
  - features/opsworks/setup.rb
558
591
  - features/rds/client.feature
@@ -587,10 +620,13 @@ test_files:
587
620
  - spec/aws/json/builder_spec.rb
588
621
  - spec/aws/json/parser_spec.rb
589
622
  - spec/aws/operations_spec.rb
623
+ - spec/aws/pageable_response_spec.rb
590
624
  - spec/aws/plugins/credentials_spec.rb
591
625
  - spec/aws/plugins/global_configuration_spec.rb
592
626
  - spec/aws/plugins/region_endpoint_spec.rb
593
627
  - spec/aws/plugins/retry_errors_spec.rb
628
+ - spec/aws/plugins/signature_v4_spec.rb
629
+ - spec/aws/plugins/sqs_queue_urls_spec.rb
594
630
  - spec/aws/query/builder_spec.rb
595
631
  - spec/aws/query/param_list_spec.rb
596
632
  - spec/aws/query/param_spec.rb
@@ -608,6 +644,7 @@ test_files:
608
644
  - spec/fixtures/operations/glacier/custom_account_id.yml
609
645
  - spec/fixtures/operations/glacier/default_account_id.yml
610
646
  - spec/fixtures/operations/glacier/error_parsing.yml
647
+ - spec/fixtures/operations/glacier/get_job_output.yml
611
648
  - spec/fixtures/operations/glacier/list_vaults.yml
612
649
  - spec/fixtures/operations/iam/result_wrapped_elements.yml
613
650
  - spec/fixtures/operations/s3/304_response.yml
@@ -622,6 +659,7 @@ test_files:
622
659
  - spec/fixtures/operations/s3/error_parsing.yml
623
660
  - spec/fixtures/operations/s3/get_bucket_location.yml
624
661
  - spec/fixtures/operations/s3/get_bucket_location_classic.yml
662
+ - spec/fixtures/operations/s3/get_bucket_policy.yml
625
663
  - spec/fixtures/operations/s3/head_bucket_with_dns_incompatible_name.yml
626
664
  - spec/fixtures/operations/s3/head_object.yml
627
665
  - spec/fixtures/operations/s3/list_buckets.yml