aws-sdk-s3 1.83.1 → 1.83.2
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/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +1 -1
- data/lib/aws-sdk-s3/customizations.rb +1 -1
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cf58f93a675412a7a7b8c399591995fb5709bd66f29eeaeb4bc0a2743801b3b
|
4
|
+
data.tar.gz: d3f886717d95bed6bf24cda982f929970762b54eb84ba05ab3963c1f35d034af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4561060fe784c9564a76c1495e669662aab5943835cf9e5cb7db7cd5b639278a7aa077c76799150059b08df77ad3e26cf8e96bea76bf7a07548c24e713f1261
|
7
|
+
data.tar.gz: 2108e2ceeed892734d0dbc5d0d1bd6c80f2035f8ca1ffc249d90cb65ea3c44bafe28066005198761271d6ed104a5528cdf65091cec3a35519c511910a891d618
|
data/lib/aws-sdk-s3.rb
CHANGED
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -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.
|
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.
|
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
|
32
|
-
|
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.
|
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-
|
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
|