aws-sdk-core 2.0.0.rc1 → 2.0.0.rc2
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.
- checksums.yaml +4 -4
 - data/.travis.yml +1 -0
 - data/README.md +6 -3
 - data/Rakefile +2 -0
 - data/apis/AutoScaling-2011-01-01.json +1 -0
 - data/apis/CloudFormation-2010-05-15.json +75 -0
 - data/apis/CloudFront-2012-05-05.json +1 -0
 - data/apis/CloudFront-2013-05-12.json +1 -0
 - data/apis/CloudFront-2013-08-26.json +1 -0
 - data/apis/CloudSearch-2011-02-01.json +1 -0
 - data/apis/CloudWatch-2010-08-01.json +1 -0
 - data/apis/DataPipeline-2012-10-29.json +1 -0
 - data/apis/DirectConnect-2012-10-25.json +1 -0
 - data/apis/DynamoDB-2011-12-05.json +1 -0
 - data/apis/DynamoDB-2012-08-10.json +1 -0
 - data/apis/EC2-2013-06-15.json +1 -0
 - data/apis/EC2-2013-10-01.json +1 -0
 - data/apis/EMR-2009-03-31.json +1 -0
 - data/apis/ElastiCache-2012-11-15.json +1 -0
 - data/apis/ElastiCache-2013-06-15.json +1 -0
 - data/apis/ElasticBeanstalk-2010-12-01.json +1 -0
 - data/apis/ElasticLoadBalancing-2012-06-01.json +73 -0
 - data/apis/ElasticTranscoder-2012-09-25.json +231 -0
 - data/apis/Glacier-2012-06-01.json +2 -0
 - data/apis/IAM-2010-05-08.json +1 -0
 - data/apis/ImportExport-2010-06-01.json +1 -0
 - data/apis/OpsWorks-2013-02-18.json +1 -0
 - data/apis/RDS-2013-01-10.json +1 -0
 - data/apis/RDS-2013-02-12.json +1 -0
 - data/apis/RDS-2013-05-15.json +1 -0
 - data/apis/Redshift-2012-12-01.json +1 -0
 - data/apis/Route53-2012-12-12.json +1 -0
 - data/apis/S3-2006-03-01.json +5 -0
 - data/apis/SDB-2009-04-15.json +1 -0
 - data/apis/SES-2010-12-01.json +1 -0
 - data/apis/SNS-2010-03-31.json +1 -0
 - data/apis/SQS-2012-11-05.json +1 -0
 - data/apis/STS-2011-06-15.json +1 -0
 - data/apis/SWF-2012-01-25.json +1 -0
 - data/apis/StorageGateway-2012-06-30.json +1 -0
 - data/apis/StorageGateway-2013-06-30.json +2018 -0
 - data/apis/Support-2013-04-15.json +1 -0
 - data/apis/source/cloudformation-2010-05-15.json +118 -12
 - data/apis/source/elasticloadbalancing-2012-06-01.json +347 -220
 - data/apis/source/elastictranscoder-2012-09-25.json +315 -5
 - data/apis/source/s3-2006-03-01.json +3 -0
 - data/apis/source/storagegateway-2013-06-30.json +12560 -0
 - data/apis/source/storagegateway-2013-06-30.paginators.json +28 -0
 - data/doc-src/plugins/apis.rb +44 -1
 - data/doc-src/templates/default/fulldoc/html/setup.rb +1 -1
 - data/features/common/step_definitions.rb +3 -5
 - data/features/env.rb +2 -0
 - data/features/glacier/client.feature +8 -0
 - data/features/glacier/step_definitions.rb +7 -7
 - data/features/s3/step_definitions.rb +2 -3
 - data/lib/aws.rb +75 -69
 - data/lib/aws/api/service_translators/glacier.rb +1 -0
 - data/lib/aws/api/translator.rb +13 -8
 - data/lib/aws/credentials.rb +5 -5
 - data/lib/aws/instance_profile_credentials.rb +113 -0
 - data/lib/aws/plugins/credentials.rb +2 -1
 - data/lib/aws/plugins/glacier_account_id.rb +11 -0
 - data/lib/aws/plugins/glacier_checksums.rb +7 -3
 - data/lib/aws/plugins/instance_profile_credentials.rb +14 -0
 - data/lib/aws/plugins/s3_bucket_dns.rb +17 -14
 - data/lib/aws/plugins/s3_md5s.rb +3 -3
 - data/lib/aws/service.rb +10 -9
 - data/lib/aws/signers/s3.rb +2 -2
 - data/lib/aws/signers/v2.rb +1 -1
 - data/lib/aws/signers/v4.rb +2 -2
 - data/lib/aws/version.rb +1 -1
 - data/lib/aws/xml/serializer.rb +1 -1
 - data/spec/aws/instance_profile_credentials_spec.rb +94 -0
 - data/spec/aws/operations_spec.rb +1 -1
 - data/spec/aws/plugins/credentials_spec.rb +2 -2
 - data/spec/fixtures/operations/glacier/account_id_param.yml +13 -0
 - data/spec/fixtures/operations/glacier/custom_account_id.yml +11 -0
 - data/spec/fixtures/operations/glacier/default_account_id.yml +10 -0
 - data/spec/fixtures/operations/s3/content_type_header.yml +12 -0
 - data/spec/fixtures/operations/s3/md5_checksum_disabled.yml +1 -1
 - data/tasks/apis.rake +2 -2
 - data/tasks/docs.rake +2 -1
 - data/tasks/handlers.rake +30 -0
 - data/vendor/seahorse/lib/seahorse/client.rb +1 -0
 - data/vendor/seahorse/lib/seahorse/client/base.rb +0 -18
 - data/vendor/seahorse/lib/seahorse/client/block_io.rb +0 -7
 - data/vendor/seahorse/lib/seahorse/client/configuration.rb +57 -37
 - data/vendor/seahorse/lib/seahorse/client/handler_list.rb +115 -78
 - data/vendor/seahorse/lib/seahorse/client/http/endpoint.rb +19 -15
 - data/vendor/seahorse/lib/seahorse/client/http/request.rb +0 -15
 - data/vendor/seahorse/lib/seahorse/client/logging/formatter.rb +0 -7
 - data/vendor/seahorse/lib/seahorse/client/managed_file.rb +14 -0
 - data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +1 -3
 - data/vendor/seahorse/lib/seahorse/client/plugins/content_length.rb +1 -1
 - data/vendor/seahorse/lib/seahorse/client/plugins/endpoint.rb +81 -10
 - data/vendor/seahorse/lib/seahorse/client/plugins/restful_bindings.rb +1 -71
 - data/vendor/seahorse/lib/seahorse/client/request.rb +26 -3
 - data/vendor/seahorse/spec/seahorse/client/base_spec.rb +1 -5
 - data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +1 -10
 - data/vendor/seahorse/spec/seahorse/client/handler_list_spec.rb +10 -10
 - data/vendor/seahorse/spec/seahorse/client/http/endpoint_spec.rb +46 -14
 - data/vendor/seahorse/spec/seahorse/client/http/request_spec.rb +1 -42
 - data/vendor/seahorse/spec/seahorse/client/logging/formatter_spec.rb +1 -6
 - data/vendor/seahorse/spec/seahorse/client/logging/handler_spec.rb +1 -1
 - data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +5 -4
 - data/vendor/seahorse/spec/seahorse/client/param_converter_spec.rb +1 -0
 - data/vendor/seahorse/spec/seahorse/client/plugins/{restful_bindings/uri_path_builder_spec.rb → endpoint/request_uri_builder_spec.rb} +3 -3
 - data/vendor/seahorse/spec/seahorse/client/plugins/endpoint_spec.rb +1 -11
 - data/vendor/seahorse/spec/seahorse/client/request_spec.rb +63 -13
 - metadata +21 -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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.0.0.rc2
         
     | 
| 
       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- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2013-11-23 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: multi_json
         
     | 
| 
         @@ -103,6 +103,7 @@ files: 
     | 
|
| 
       103 
103 
     | 
    
         
             
            - apis/STS-2011-06-15.json
         
     | 
| 
       104 
104 
     | 
    
         
             
            - apis/SWF-2012-01-25.json
         
     | 
| 
       105 
105 
     | 
    
         
             
            - apis/StorageGateway-2012-06-30.json
         
     | 
| 
      
 106 
     | 
    
         
            +
            - apis/StorageGateway-2013-06-30.json
         
     | 
| 
       106 
107 
     | 
    
         
             
            - apis/Support-2013-04-15.json
         
     | 
| 
       107 
108 
     | 
    
         
             
            - apis/configuration/endpoints.json
         
     | 
| 
       108 
109 
     | 
    
         
             
            - apis/source/autoscaling-2011-01-01.json
         
     | 
| 
         @@ -175,6 +176,8 @@ files: 
     | 
|
| 
       175 
176 
     | 
    
         
             
            - apis/source/sqs-2012-11-05.paginators.json
         
     | 
| 
       176 
177 
     | 
    
         
             
            - apis/source/storagegateway-2012-06-30.json
         
     | 
| 
       177 
178 
     | 
    
         
             
            - apis/source/storagegateway-2012-06-30.paginators.json
         
     | 
| 
      
 179 
     | 
    
         
            +
            - apis/source/storagegateway-2013-06-30.json
         
     | 
| 
      
 180 
     | 
    
         
            +
            - apis/source/storagegateway-2013-06-30.paginators.json
         
     | 
| 
       178 
181 
     | 
    
         
             
            - apis/source/sts-2011-06-15.json
         
     | 
| 
       179 
182 
     | 
    
         
             
            - apis/source/support-2013-04-15.json
         
     | 
| 
       180 
183 
     | 
    
         
             
            - apis/source/support-2013-04-15.paginators.json
         
     | 
| 
         @@ -281,15 +284,18 @@ files: 
     | 
|
| 
       281 
284 
     | 
    
         
             
            - lib/aws/credentials.rb
         
     | 
| 
       282 
285 
     | 
    
         
             
            - lib/aws/error_handler.rb
         
     | 
| 
       283 
286 
     | 
    
         
             
            - lib/aws/errors.rb
         
     | 
| 
      
 287 
     | 
    
         
            +
            - lib/aws/instance_profile_credentials.rb
         
     | 
| 
       284 
288 
     | 
    
         
             
            - lib/aws/json/builder.rb
         
     | 
| 
       285 
289 
     | 
    
         
             
            - lib/aws/json/error_parser.rb
         
     | 
| 
       286 
290 
     | 
    
         
             
            - lib/aws/json/parser.rb
         
     | 
| 
       287 
291 
     | 
    
         
             
            - lib/aws/json/serializer.rb
         
     | 
| 
       288 
292 
     | 
    
         
             
            - lib/aws/plugins/credentials.rb
         
     | 
| 
       289 
293 
     | 
    
         
             
            - lib/aws/plugins/dynamodb_extended_retries.rb
         
     | 
| 
      
 294 
     | 
    
         
            +
            - lib/aws/plugins/glacier_account_id.rb
         
     | 
| 
       290 
295 
     | 
    
         
             
            - lib/aws/plugins/glacier_api_version.rb
         
     | 
| 
       291 
296 
     | 
    
         
             
            - lib/aws/plugins/glacier_checksums.rb
         
     | 
| 
       292 
297 
     | 
    
         
             
            - lib/aws/plugins/global_configuration.rb
         
     | 
| 
      
 298 
     | 
    
         
            +
            - lib/aws/plugins/instance_profile_credentials.rb
         
     | 
| 
       293 
299 
     | 
    
         
             
            - lib/aws/plugins/json_protocol.rb
         
     | 
| 
       294 
300 
     | 
    
         
             
            - lib/aws/plugins/json_rpc_headers.rb
         
     | 
| 
       295 
301 
     | 
    
         
             
            - lib/aws/plugins/query_protocol.rb
         
     | 
| 
         @@ -332,6 +338,7 @@ files: 
     | 
|
| 
       332 
338 
     | 
    
         
             
            - lib/aws/xml/serializer.rb
         
     | 
| 
       333 
339 
     | 
    
         
             
            - spec/aws/credentials_spec.rb
         
     | 
| 
       334 
340 
     | 
    
         
             
            - spec/aws/iam_spec.rb
         
     | 
| 
      
 341 
     | 
    
         
            +
            - spec/aws/instance_profile_credentials_spec.rb
         
     | 
| 
       335 
342 
     | 
    
         
             
            - spec/aws/json/builder_spec.rb
         
     | 
| 
       336 
343 
     | 
    
         
             
            - spec/aws/json/parser_spec.rb
         
     | 
| 
       337 
344 
     | 
    
         
             
            - spec/aws/operations_spec.rb
         
     | 
| 
         @@ -352,6 +359,9 @@ files: 
     | 
|
| 
       352 
359 
     | 
    
         
             
            - spec/fixtures/operations/cloudfront/list_distributions.yml
         
     | 
| 
       353 
360 
     | 
    
         
             
            - spec/fixtures/operations/cloudfront/max_items.yml
         
     | 
| 
       354 
361 
     | 
    
         
             
            - spec/fixtures/operations/dynamodb/error_parsing.yml
         
     | 
| 
      
 362 
     | 
    
         
            +
            - spec/fixtures/operations/glacier/account_id_param.yml
         
     | 
| 
      
 363 
     | 
    
         
            +
            - spec/fixtures/operations/glacier/custom_account_id.yml
         
     | 
| 
      
 364 
     | 
    
         
            +
            - spec/fixtures/operations/glacier/default_account_id.yml
         
     | 
| 
       355 
365 
     | 
    
         
             
            - spec/fixtures/operations/glacier/error_parsing.yml
         
     | 
| 
       356 
366 
     | 
    
         
             
            - spec/fixtures/operations/glacier/list_vaults.yml
         
     | 
| 
       357 
367 
     | 
    
         
             
            - spec/fixtures/operations/iam/result_wrapped_elements.yml
         
     | 
| 
         @@ -360,6 +370,7 @@ files: 
     | 
|
| 
       360 
370 
     | 
    
         
             
            - spec/fixtures/operations/s3/403_response.yml
         
     | 
| 
       361 
371 
     | 
    
         
             
            - spec/fixtures/operations/s3/404_response.yml
         
     | 
| 
       362 
372 
     | 
    
         
             
            - spec/fixtures/operations/s3/comlete_multipart_upload_error.yml
         
     | 
| 
      
 373 
     | 
    
         
            +
            - spec/fixtures/operations/s3/content_type_header.yml
         
     | 
| 
       363 
374 
     | 
    
         
             
            - spec/fixtures/operations/s3/create_bucket_with_location_constraint.yml
         
     | 
| 
       364 
375 
     | 
    
         
             
            - spec/fixtures/operations/s3/create_bucket_without_location_constraint.yml
         
     | 
| 
       365 
376 
     | 
    
         
             
            - spec/fixtures/operations/s3/delete_objects.yml
         
     | 
| 
         @@ -375,6 +386,7 @@ files: 
     | 
|
| 
       375 
386 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
       376 
387 
     | 
    
         
             
            - tasks/apis.rake
         
     | 
| 
       377 
388 
     | 
    
         
             
            - tasks/docs.rake
         
     | 
| 
      
 389 
     | 
    
         
            +
            - tasks/handlers.rake
         
     | 
| 
       378 
390 
     | 
    
         
             
            - tasks/test.rake
         
     | 
| 
       379 
391 
     | 
    
         
             
            - vendor/seahorse/.gitignore
         
     | 
| 
       380 
392 
     | 
    
         
             
            - vendor/seahorse/.simplecov
         
     | 
| 
         @@ -399,6 +411,7 @@ files: 
     | 
|
| 
       399 
411 
     | 
    
         
             
            - vendor/seahorse/lib/seahorse/client/http/response.rb
         
     | 
| 
       400 
412 
     | 
    
         
             
            - vendor/seahorse/lib/seahorse/client/logging/formatter.rb
         
     | 
| 
       401 
413 
     | 
    
         
             
            - vendor/seahorse/lib/seahorse/client/logging/handler.rb
         
     | 
| 
      
 414 
     | 
    
         
            +
            - vendor/seahorse/lib/seahorse/client/managed_file.rb
         
     | 
| 
       402 
415 
     | 
    
         
             
            - vendor/seahorse/lib/seahorse/client/net_http/connection_pool.rb
         
     | 
| 
       403 
416 
     | 
    
         
             
            - vendor/seahorse/lib/seahorse/client/net_http/handler.rb
         
     | 
| 
       404 
417 
     | 
    
         
             
            - vendor/seahorse/lib/seahorse/client/param_converter.rb
         
     | 
| 
         @@ -451,11 +464,11 @@ files: 
     | 
|
| 
       451 
464 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/plugin_list_spec.rb
         
     | 
| 
       452 
465 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/plugin_spec.rb
         
     | 
| 
       453 
466 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/plugins/content_length_spec.rb
         
     | 
| 
      
 467 
     | 
    
         
            +
            - vendor/seahorse/spec/seahorse/client/plugins/endpoint/request_uri_builder_spec.rb
         
     | 
| 
       454 
468 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/plugins/endpoint_spec.rb
         
     | 
| 
       455 
469 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/plugins/logging_spec.rb
         
     | 
| 
       456 
470 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/plugins/net_http_spec.rb
         
     | 
| 
       457 
471 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/plugins/operation_methods_spec.rb
         
     | 
| 
       458 
     | 
    
         
            -
            - vendor/seahorse/spec/seahorse/client/plugins/restful_bindings/uri_path_builder_spec.rb
         
     | 
| 
       459 
472 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/request_context_spec.rb
         
     | 
| 
       460 
473 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/request_spec.rb
         
     | 
| 
       461 
474 
     | 
    
         
             
            - vendor/seahorse/spec/seahorse/client/response_spec.rb
         
     | 
| 
         @@ -570,6 +583,7 @@ test_files: 
     | 
|
| 
       570 
583 
     | 
    
         
             
            - features/swf/setup.rb
         
     | 
| 
       571 
584 
     | 
    
         
             
            - spec/aws/credentials_spec.rb
         
     | 
| 
       572 
585 
     | 
    
         
             
            - spec/aws/iam_spec.rb
         
     | 
| 
      
 586 
     | 
    
         
            +
            - spec/aws/instance_profile_credentials_spec.rb
         
     | 
| 
       573 
587 
     | 
    
         
             
            - spec/aws/json/builder_spec.rb
         
     | 
| 
       574 
588 
     | 
    
         
             
            - spec/aws/json/parser_spec.rb
         
     | 
| 
       575 
589 
     | 
    
         
             
            - spec/aws/operations_spec.rb
         
     | 
| 
         @@ -590,6 +604,9 @@ test_files: 
     | 
|
| 
       590 
604 
     | 
    
         
             
            - spec/fixtures/operations/cloudfront/list_distributions.yml
         
     | 
| 
       591 
605 
     | 
    
         
             
            - spec/fixtures/operations/cloudfront/max_items.yml
         
     | 
| 
       592 
606 
     | 
    
         
             
            - spec/fixtures/operations/dynamodb/error_parsing.yml
         
     | 
| 
      
 607 
     | 
    
         
            +
            - spec/fixtures/operations/glacier/account_id_param.yml
         
     | 
| 
      
 608 
     | 
    
         
            +
            - spec/fixtures/operations/glacier/custom_account_id.yml
         
     | 
| 
      
 609 
     | 
    
         
            +
            - spec/fixtures/operations/glacier/default_account_id.yml
         
     | 
| 
       593 
610 
     | 
    
         
             
            - spec/fixtures/operations/glacier/error_parsing.yml
         
     | 
| 
       594 
611 
     | 
    
         
             
            - spec/fixtures/operations/glacier/list_vaults.yml
         
     | 
| 
       595 
612 
     | 
    
         
             
            - spec/fixtures/operations/iam/result_wrapped_elements.yml
         
     | 
| 
         @@ -598,6 +615,7 @@ test_files: 
     | 
|
| 
       598 
615 
     | 
    
         
             
            - spec/fixtures/operations/s3/403_response.yml
         
     | 
| 
       599 
616 
     | 
    
         
             
            - spec/fixtures/operations/s3/404_response.yml
         
     | 
| 
       600 
617 
     | 
    
         
             
            - spec/fixtures/operations/s3/comlete_multipart_upload_error.yml
         
     | 
| 
      
 618 
     | 
    
         
            +
            - spec/fixtures/operations/s3/content_type_header.yml
         
     | 
| 
       601 
619 
     | 
    
         
             
            - spec/fixtures/operations/s3/create_bucket_with_location_constraint.yml
         
     | 
| 
       602 
620 
     | 
    
         
             
            - spec/fixtures/operations/s3/create_bucket_without_location_constraint.yml
         
     | 
| 
       603 
621 
     | 
    
         
             
            - spec/fixtures/operations/s3/delete_objects.yml
         
     |