aws-sdk-s3 1.83.1 → 1.83.2

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
  SHA256:
3
- metadata.gz: 06754c5841e3a40c510a9702e1f4de282fc40cf6e1b73cabc97ba25b34b167be
4
- data.tar.gz: 6cad21e9108cdfbb03ff04dab1954dff05bf3bbee8214f86d04ab9484d75b96b
3
+ metadata.gz: 7cf58f93a675412a7a7b8c399591995fb5709bd66f29eeaeb4bc0a2743801b3b
4
+ data.tar.gz: d3f886717d95bed6bf24cda982f929970762b54eb84ba05ab3963c1f35d034af
5
5
  SHA512:
6
- metadata.gz: f092576cb7a592bc6c5f5b698fef4052356ac37ed583b0688b72edc33f2e6534ed344d18f9c1ca1aeb7ee9f02f239e7fe937ea9d886153ecfeffaac40cc09caf
7
- data.tar.gz: 572f55dd0322870bdc2ddc3e169e437ea99a87bfbc7c8277145fc15da186a2b9338a3560aa26c102ee856ae505a1a29774ec2683571cfed2f784a80a295c5a19
6
+ metadata.gz: f4561060fe784c9564a76c1495e669662aab5943835cf9e5cb7db7cd5b639278a7aa077c76799150059b08df77ad3e26cf8e96bea76bf7a07548c24e713f1261
7
+ data.tar.gz: 2108e2ceeed892734d0dbc5d0d1bd6c80f2035f8ca1ffc249d90cb65ea3c44bafe28066005198761271d6ed104a5528cdf65091cec3a35519c511910a891d618
@@ -69,6 +69,6 @@ require_relative 'aws-sdk-s3/event_streams'
69
69
  # @!group service
70
70
  module Aws::S3
71
71
 
72
- GEM_VERSION = '1.83.1'
72
+ GEM_VERSION = '1.83.2'
73
73
 
74
74
  end
@@ -13123,7 +13123,7 @@ module Aws::S3
13123
13123
  params: params,
13124
13124
  config: config)
13125
13125
  context[:gem_name] = 'aws-sdk-s3'
13126
- context[:gem_version] = '1.83.1'
13126
+ context[:gem_version] = '1.83.2'
13127
13127
  Seahorse::Client::Request.new(handlers, context)
13128
13128
  end
13129
13129
 
@@ -29,6 +29,6 @@ require 'aws-sdk-s3/customizations/types/list_object_versions_output'
29
29
  Aws::S3::ObjectVersion::Collection,
30
30
  ].each do |klass|
31
31
  klass.send(:alias_method, :delete, :batch_delete!)
32
- klass.send(:extend, Aws::Deprecations)
32
+ klass.extend Aws::Deprecations
33
33
  klass.send(:deprecated, :delete, use: :batch_delete!)
34
34
  end
@@ -28,8 +28,13 @@ region. Defaults to `legacy` mode using global endpoint.
28
28
  def call(context)
29
29
  # keep legacy global endpoint pattern by default
30
30
  if context.config.s3_us_east_1_regional_endpoint == 'legacy'
31
- context.http_request.endpoint.host = IADRegionalEndpoint.legacy_host(
32
- context.http_request.endpoint.host)
31
+ host = context.http_request.endpoint.host
32
+ # if it's an ARN, don't touch the endpoint at all
33
+ # TODO this should use context.metadata[:s3_arn] later
34
+ unless host.include?('.s3-outposts.') || host.include?('.s3-accesspoint.')
35
+ legacy_host = IADRegionalEndpoint.legacy_host(host)
36
+ context.http_request.endpoint.host = legacy_host
37
+ end
33
38
  end
34
39
  @handler.call(context)
35
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.83.1
4
+ version: 1.83.2
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: 2020-10-19 00:00:00.000000000 Z
11
+ date: 2020-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms