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
@@ -19,6 +19,7 @@
19
19
  "Aws::Plugins::GlobalConfiguration",
20
20
  "Aws::Plugins::RegionalEndpoint",
21
21
  "Aws::Plugins::InstanceProfileCredentials",
22
+ "Aws::Plugins::ResponsePaging",
22
23
  "Aws::Plugins::Credentials",
23
24
  "Aws::Plugins::JsonProtocol",
24
25
  "Aws::Plugins::JsonRpcHeaders",
@@ -26,6 +26,7 @@
26
26
  "Aws::Plugins::GlobalConfiguration",
27
27
  "Aws::Plugins::RegionalEndpoint",
28
28
  "Aws::Plugins::InstanceProfileCredentials",
29
+ "Aws::Plugins::ResponsePaging",
29
30
  "Aws::Plugins::Credentials",
30
31
  "Aws::Plugins::QueryProtocol",
31
32
  "Aws::Plugins::SignatureV2"
@@ -2256,6 +2257,13 @@
2256
2257
  "name": "DescribeDBEngineVersions",
2257
2258
  "http_method": "POST",
2258
2259
  "http_path": "/",
2260
+ "metadata": {
2261
+ "paging": {
2262
+ "tokens": {
2263
+ "marker": "marker"
2264
+ }
2265
+ }
2266
+ },
2259
2267
  "input": {
2260
2268
  "type": "input",
2261
2269
  "members": {
@@ -2368,6 +2376,13 @@
2368
2376
  "name": "DescribeDBInstances",
2369
2377
  "http_method": "POST",
2370
2378
  "http_path": "/",
2379
+ "metadata": {
2380
+ "paging": {
2381
+ "tokens": {
2382
+ "marker": "marker"
2383
+ }
2384
+ }
2385
+ },
2371
2386
  "input": {
2372
2387
  "type": "input",
2373
2388
  "members": {
@@ -2695,6 +2710,13 @@
2695
2710
  "name": "DescribeDBParameterGroups",
2696
2711
  "http_method": "POST",
2697
2712
  "http_path": "/",
2713
+ "metadata": {
2714
+ "paging": {
2715
+ "tokens": {
2716
+ "marker": "marker"
2717
+ }
2718
+ }
2719
+ },
2698
2720
  "input": {
2699
2721
  "type": "input",
2700
2722
  "members": {
@@ -2754,6 +2776,13 @@
2754
2776
  "name": "DescribeDBParameters",
2755
2777
  "http_method": "POST",
2756
2778
  "http_path": "/",
2779
+ "metadata": {
2780
+ "paging": {
2781
+ "tokens": {
2782
+ "marker": "marker"
2783
+ }
2784
+ }
2785
+ },
2757
2786
  "input": {
2758
2787
  "type": "input",
2759
2788
  "members": {
@@ -2847,6 +2876,13 @@
2847
2876
  "name": "DescribeDBSecurityGroups",
2848
2877
  "http_method": "POST",
2849
2878
  "http_path": "/",
2879
+ "metadata": {
2880
+ "paging": {
2881
+ "tokens": {
2882
+ "marker": "marker"
2883
+ }
2884
+ }
2885
+ },
2850
2886
  "input": {
2851
2887
  "type": "input",
2852
2888
  "members": {
@@ -2954,6 +2990,13 @@
2954
2990
  "name": "DescribeDBSnapshots",
2955
2991
  "http_method": "POST",
2956
2992
  "http_path": "/",
2993
+ "metadata": {
2994
+ "paging": {
2995
+ "tokens": {
2996
+ "marker": "marker"
2997
+ }
2998
+ }
2999
+ },
2957
3000
  "input": {
2958
3001
  "type": "input",
2959
3002
  "members": {
@@ -3069,6 +3112,13 @@
3069
3112
  "name": "DescribeDBSubnetGroups",
3070
3113
  "http_method": "POST",
3071
3114
  "http_path": "/",
3115
+ "metadata": {
3116
+ "paging": {
3117
+ "tokens": {
3118
+ "marker": "marker"
3119
+ }
3120
+ }
3121
+ },
3072
3122
  "input": {
3073
3123
  "type": "input",
3074
3124
  "members": {
@@ -3167,6 +3217,13 @@
3167
3217
  "name": "DescribeEngineDefaultParameters",
3168
3218
  "http_method": "POST",
3169
3219
  "http_path": "/",
3220
+ "metadata": {
3221
+ "paging": {
3222
+ "tokens": {
3223
+ "marker": "engine_defaults.marker"
3224
+ }
3225
+ }
3226
+ },
3170
3227
  "input": {
3171
3228
  "type": "input",
3172
3229
  "members": {
@@ -3316,6 +3373,13 @@
3316
3373
  "name": "DescribeEventSubscriptions",
3317
3374
  "http_method": "POST",
3318
3375
  "http_path": "/",
3376
+ "metadata": {
3377
+ "paging": {
3378
+ "tokens": {
3379
+ "marker": "marker"
3380
+ }
3381
+ }
3382
+ },
3319
3383
  "input": {
3320
3384
  "type": "input",
3321
3385
  "members": {
@@ -3411,6 +3475,13 @@
3411
3475
  "name": "DescribeEvents",
3412
3476
  "http_method": "POST",
3413
3477
  "http_path": "/",
3478
+ "metadata": {
3479
+ "paging": {
3480
+ "tokens": {
3481
+ "marker": "marker"
3482
+ }
3483
+ }
3484
+ },
3414
3485
  "input": {
3415
3486
  "type": "input",
3416
3487
  "members": {
@@ -3515,6 +3586,13 @@
3515
3586
  "name": "DescribeOptionGroupOptions",
3516
3587
  "http_method": "POST",
3517
3588
  "http_path": "/",
3589
+ "metadata": {
3590
+ "paging": {
3591
+ "tokens": {
3592
+ "marker": "marker"
3593
+ }
3594
+ }
3595
+ },
3518
3596
  "input": {
3519
3597
  "type": "input",
3520
3598
  "members": {
@@ -3600,6 +3678,13 @@
3600
3678
  "name": "DescribeOptionGroups",
3601
3679
  "http_method": "POST",
3602
3680
  "http_path": "/",
3681
+ "metadata": {
3682
+ "paging": {
3683
+ "tokens": {
3684
+ "marker": "marker"
3685
+ }
3686
+ }
3687
+ },
3603
3688
  "input": {
3604
3689
  "type": "input",
3605
3690
  "members": {
@@ -3737,6 +3822,13 @@
3737
3822
  "name": "DescribeOrderableDBInstanceOptions",
3738
3823
  "http_method": "POST",
3739
3824
  "http_path": "/",
3825
+ "metadata": {
3826
+ "paging": {
3827
+ "tokens": {
3828
+ "marker": "marker"
3829
+ }
3830
+ }
3831
+ },
3740
3832
  "input": {
3741
3833
  "type": "input",
3742
3834
  "members": {
@@ -3850,6 +3942,13 @@
3850
3942
  "name": "DescribeReservedDBInstances",
3851
3943
  "http_method": "POST",
3852
3944
  "http_path": "/",
3945
+ "metadata": {
3946
+ "paging": {
3947
+ "tokens": {
3948
+ "marker": "marker"
3949
+ }
3950
+ }
3951
+ },
3853
3952
  "input": {
3854
3953
  "type": "input",
3855
3954
  "members": {
@@ -3994,6 +4093,13 @@
3994
4093
  "name": "DescribeReservedDBInstancesOfferings",
3995
4094
  "http_method": "POST",
3996
4095
  "http_path": "/",
4096
+ "metadata": {
4097
+ "paging": {
4098
+ "tokens": {
4099
+ "marker": "marker"
4100
+ }
4101
+ }
4102
+ },
3997
4103
  "input": {
3998
4104
  "type": "input",
3999
4105
  "members": {
@@ -26,6 +26,7 @@
26
26
  "Aws::Plugins::GlobalConfiguration",
27
27
  "Aws::Plugins::RegionalEndpoint",
28
28
  "Aws::Plugins::InstanceProfileCredentials",
29
+ "Aws::Plugins::ResponsePaging",
29
30
  "Aws::Plugins::Credentials",
30
31
  "Aws::Plugins::QueryProtocol",
31
32
  "Aws::Plugins::SignatureV4"
@@ -2318,6 +2319,13 @@
2318
2319
  "name": "DescribeDBEngineVersions",
2319
2320
  "http_method": "POST",
2320
2321
  "http_path": "/",
2322
+ "metadata": {
2323
+ "paging": {
2324
+ "tokens": {
2325
+ "marker": "marker"
2326
+ }
2327
+ }
2328
+ },
2321
2329
  "input": {
2322
2330
  "type": "input",
2323
2331
  "members": {
@@ -2430,6 +2438,13 @@
2430
2438
  "name": "DescribeDBInstances",
2431
2439
  "http_method": "POST",
2432
2440
  "http_path": "/",
2441
+ "metadata": {
2442
+ "paging": {
2443
+ "tokens": {
2444
+ "marker": "marker"
2445
+ }
2446
+ }
2447
+ },
2433
2448
  "input": {
2434
2449
  "type": "input",
2435
2450
  "members": {
@@ -2761,6 +2776,13 @@
2761
2776
  "name": "DescribeDBLogFiles",
2762
2777
  "http_method": "POST",
2763
2778
  "http_path": "/",
2779
+ "metadata": {
2780
+ "paging": {
2781
+ "tokens": {
2782
+ "marker": "marker"
2783
+ }
2784
+ }
2785
+ },
2764
2786
  "input": {
2765
2787
  "type": "input",
2766
2788
  "members": {
@@ -2830,6 +2852,13 @@
2830
2852
  "name": "DescribeDBParameterGroups",
2831
2853
  "http_method": "POST",
2832
2854
  "http_path": "/",
2855
+ "metadata": {
2856
+ "paging": {
2857
+ "tokens": {
2858
+ "marker": "marker"
2859
+ }
2860
+ }
2861
+ },
2833
2862
  "input": {
2834
2863
  "type": "input",
2835
2864
  "members": {
@@ -2889,6 +2918,13 @@
2889
2918
  "name": "DescribeDBParameters",
2890
2919
  "http_method": "POST",
2891
2920
  "http_path": "/",
2921
+ "metadata": {
2922
+ "paging": {
2923
+ "tokens": {
2924
+ "marker": "marker"
2925
+ }
2926
+ }
2927
+ },
2892
2928
  "input": {
2893
2929
  "type": "input",
2894
2930
  "members": {
@@ -2982,6 +3018,13 @@
2982
3018
  "name": "DescribeDBSecurityGroups",
2983
3019
  "http_method": "POST",
2984
3020
  "http_path": "/",
3021
+ "metadata": {
3022
+ "paging": {
3023
+ "tokens": {
3024
+ "marker": "marker"
3025
+ }
3026
+ }
3027
+ },
2985
3028
  "input": {
2986
3029
  "type": "input",
2987
3030
  "members": {
@@ -3089,6 +3132,13 @@
3089
3132
  "name": "DescribeDBSnapshots",
3090
3133
  "http_method": "POST",
3091
3134
  "http_path": "/",
3135
+ "metadata": {
3136
+ "paging": {
3137
+ "tokens": {
3138
+ "marker": "marker"
3139
+ }
3140
+ }
3141
+ },
3092
3142
  "input": {
3093
3143
  "type": "input",
3094
3144
  "members": {
@@ -3208,6 +3258,13 @@
3208
3258
  "name": "DescribeDBSubnetGroups",
3209
3259
  "http_method": "POST",
3210
3260
  "http_path": "/",
3261
+ "metadata": {
3262
+ "paging": {
3263
+ "tokens": {
3264
+ "marker": "marker"
3265
+ }
3266
+ }
3267
+ },
3211
3268
  "input": {
3212
3269
  "type": "input",
3213
3270
  "members": {
@@ -3306,6 +3363,13 @@
3306
3363
  "name": "DescribeEngineDefaultParameters",
3307
3364
  "http_method": "POST",
3308
3365
  "http_path": "/",
3366
+ "metadata": {
3367
+ "paging": {
3368
+ "tokens": {
3369
+ "marker": "engine_defaults.marker"
3370
+ }
3371
+ }
3372
+ },
3309
3373
  "input": {
3310
3374
  "type": "input",
3311
3375
  "members": {
@@ -3455,6 +3519,13 @@
3455
3519
  "name": "DescribeEventSubscriptions",
3456
3520
  "http_method": "POST",
3457
3521
  "http_path": "/",
3522
+ "metadata": {
3523
+ "paging": {
3524
+ "tokens": {
3525
+ "marker": "marker"
3526
+ }
3527
+ }
3528
+ },
3458
3529
  "input": {
3459
3530
  "type": "input",
3460
3531
  "members": {
@@ -3546,6 +3617,13 @@
3546
3617
  "name": "DescribeEvents",
3547
3618
  "http_method": "POST",
3548
3619
  "http_path": "/",
3620
+ "metadata": {
3621
+ "paging": {
3622
+ "tokens": {
3623
+ "marker": "marker"
3624
+ }
3625
+ }
3626
+ },
3549
3627
  "input": {
3550
3628
  "type": "input",
3551
3629
  "members": {
@@ -3650,6 +3728,13 @@
3650
3728
  "name": "DescribeOptionGroupOptions",
3651
3729
  "http_method": "POST",
3652
3730
  "http_path": "/",
3731
+ "metadata": {
3732
+ "paging": {
3733
+ "tokens": {
3734
+ "marker": "marker"
3735
+ }
3736
+ }
3737
+ },
3653
3738
  "input": {
3654
3739
  "type": "input",
3655
3740
  "members": {
@@ -3773,6 +3858,13 @@
3773
3858
  "name": "DescribeOptionGroups",
3774
3859
  "http_method": "POST",
3775
3860
  "http_path": "/",
3861
+ "metadata": {
3862
+ "paging": {
3863
+ "tokens": {
3864
+ "marker": "marker"
3865
+ }
3866
+ }
3867
+ },
3776
3868
  "input": {
3777
3869
  "type": "input",
3778
3870
  "members": {
@@ -3960,6 +4052,13 @@
3960
4052
  "name": "DescribeOrderableDBInstanceOptions",
3961
4053
  "http_method": "POST",
3962
4054
  "http_path": "/",
4055
+ "metadata": {
4056
+ "paging": {
4057
+ "tokens": {
4058
+ "marker": "marker"
4059
+ }
4060
+ }
4061
+ },
3963
4062
  "input": {
3964
4063
  "type": "input",
3965
4064
  "members": {
@@ -4073,6 +4172,13 @@
4073
4172
  "name": "DescribeReservedDBInstances",
4074
4173
  "http_method": "POST",
4075
4174
  "http_path": "/",
4175
+ "metadata": {
4176
+ "paging": {
4177
+ "tokens": {
4178
+ "marker": "marker"
4179
+ }
4180
+ }
4181
+ },
4076
4182
  "input": {
4077
4183
  "type": "input",
4078
4184
  "members": {
@@ -4217,6 +4323,13 @@
4217
4323
  "name": "DescribeReservedDBInstancesOfferings",
4218
4324
  "http_method": "POST",
4219
4325
  "http_path": "/",
4326
+ "metadata": {
4327
+ "paging": {
4328
+ "tokens": {
4329
+ "marker": "marker"
4330
+ }
4331
+ }
4332
+ },
4220
4333
  "input": {
4221
4334
  "type": "input",
4222
4335
  "members": {
@@ -4341,6 +4454,13 @@
4341
4454
  "name": "DownloadDBLogFilePortion",
4342
4455
  "http_method": "POST",
4343
4456
  "http_path": "/",
4457
+ "metadata": {
4458
+ "paging": {
4459
+ "tokens": {
4460
+ "marker": "marker"
4461
+ }
4462
+ }
4463
+ },
4344
4464
  "input": {
4345
4465
  "type": "input",
4346
4466
  "members": {