aws-sdk-core 2.9.34 → 2.9.35

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72a0ff5732c3722fb2c58007f1b265fd3f5440ad
4
- data.tar.gz: 05300852bf1954a5dcb5f469c3ed93918c1c033e
3
+ metadata.gz: 91e52c60b53a2306e339caa15c969c0aa4f541e6
4
+ data.tar.gz: 1b25731d205c3c59f6b642e91f4a285a21dd0603
5
5
  SHA512:
6
- metadata.gz: 2ed05432b25b84f505095577a0d0545e867a5c0c4a106250c118b6c226029f981929dde4ed25d54d6b18730adf3f16e35100122e55db5ea5dc926b9249997022
7
- data.tar.gz: ec1acff704f6deaa1de99dce321c7b4b21228d3b30afe7dddb677baad3fd44726b7adf97b0d9b73d6e8a9715b0e93c9b70300e49b3da165686a4cf43056360ec
6
+ metadata.gz: fafc18cc0b8468f9d972e3ffce4739f6d95b20d180cdd30ea228745b4c4d493108f8b5ddb9cda7714a3426dc5f1e22dbfc9c4831da7f751dc1a47650d2b1052f
7
+ data.tar.gz: e4f9ccb078ba1855d80b9ad91ca2cd15044f03aa34178ac98924128688ebd89a0132d61feab652bec1cd3fab3158c223fac0ce934ea6bd59559dbabe2d7df79a
@@ -223,6 +223,7 @@ module Aws
223
223
  autoload :S3Expect100Continue, 'aws-sdk-core/plugins/s3_expect_100_continue'
224
224
  autoload :S3GetBucketLocationFix, 'aws-sdk-core/plugins/s3_get_bucket_location_fix'
225
225
  autoload :S3Http200Errors, 'aws-sdk-core/plugins/s3_http_200_errors'
226
+ autoload :S3HostId, 'aws-sdk-core/plugins/s3_host_id'
226
227
  autoload :S3LocationConstraint, 'aws-sdk-core/plugins/s3_location_constraint'
227
228
  autoload :S3Md5s, 'aws-sdk-core/plugins/s3_md5s'
228
229
  autoload :S3Redirects, 'aws-sdk-core/plugins/s3_redirects'
@@ -233,6 +233,7 @@ module Aws
233
233
  Aws::Plugins::S3BucketDns
234
234
  Aws::Plugins::S3BucketNameRestrictions
235
235
  Aws::Plugins::S3Expect100Continue
236
+ Aws::Plugins::S3HostId
236
237
  Aws::Plugins::S3Http200Errors
237
238
  Aws::Plugins::S3GetBucketLocationFix
238
239
  Aws::Plugins::S3LocationConstraint
@@ -0,0 +1,26 @@
1
+ module Aws
2
+ module Plugins
3
+
4
+ # Support S3 host id, more information, see:
5
+ # http://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html#sdk-request-ids
6
+ #
7
+ # This plugin adds :host_id for s3 responses when available
8
+ # @api private
9
+ class S3HostId < Seahorse::Client::Plugin
10
+
11
+ class Handler < Seahorse::Client::Handler
12
+
13
+ def call(context)
14
+ response = @handler.call(context)
15
+ h = context.http_response.headers
16
+ context[:s3_host_id] = h['x-amz-id-2']
17
+ response
18
+ end
19
+
20
+ end
21
+
22
+ handler(Handler, step: :sign)
23
+
24
+ end
25
+ end
26
+ end
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.9.34'
2
+ VERSION = '2.9.35'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.34
4
+ version: 2.9.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -585,6 +585,7 @@ files:
585
585
  - lib/aws-sdk-core/plugins/s3_dualstack.rb
586
586
  - lib/aws-sdk-core/plugins/s3_expect_100_continue.rb
587
587
  - lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb
588
+ - lib/aws-sdk-core/plugins/s3_host_id.rb
588
589
  - lib/aws-sdk-core/plugins/s3_http_200_errors.rb
589
590
  - lib/aws-sdk-core/plugins/s3_location_constraint.rb
590
591
  - lib/aws-sdk-core/plugins/s3_md5s.rb