aws-sdk-core 3.76.0 → 3.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/aws-sdk-core/plugins/regional_endpoint.rb +7 -2
- data/lib/aws-sdk-core/shared_config.rb +15 -0
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/seahorse/client/plugin.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72c3833145aa94227e8ee1d8ec3a5b030de31cf1
|
4
|
+
data.tar.gz: 29ac35ed0374fb657304e9e6efa7d52d97afe0c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f777d2bd0280456d5411e7d9df0d919a0d26c30a5b2fcb061bc8ace3d61e59d0ce206d8c153c4e50f0804be8b7bafa20cbd66b1531da446de51de1dd25830ddb
|
7
|
+
data.tar.gz: b385c97b079adefcfeda8bffe51ad6228330d6a42adbfc4e5c7d9a30f51aa50f1bb0b48cf68828de88d63bceb6565159aec79eadafd3c96c0798d1916552f8fb
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.77.0
|
@@ -35,9 +35,14 @@ to test endpoints. This should be avalid HTTP(S) URI.
|
|
35
35
|
DOCS
|
36
36
|
endpoint_prefix = cfg.api.metadata['endpointPrefix']
|
37
37
|
if cfg.region && endpoint_prefix
|
38
|
-
|
38
|
+
if cfg.respond_to?(:sts_regional_endpoints)
|
39
|
+
sts_regional = cfg.sts_regional_endpoints
|
40
|
+
end
|
39
41
|
Aws::Partitions::EndpointProvider.resolve(
|
40
|
-
cfg.region,
|
42
|
+
cfg.region,
|
43
|
+
endpoint_prefix,
|
44
|
+
sts_regional
|
45
|
+
)
|
41
46
|
end
|
42
47
|
end
|
43
48
|
|
@@ -168,6 +168,21 @@ module Aws
|
|
168
168
|
end
|
169
169
|
end
|
170
170
|
|
171
|
+
def s3_us_east_1_regional_endpoint(opts = {})
|
172
|
+
p = opts[:profile] || @profile_name
|
173
|
+
if @config_enabled
|
174
|
+
if @parsed_credentials
|
175
|
+
mode = @parsed_credentials.fetch(p, {})["s3_us_east_1_regional_endpoint"]
|
176
|
+
end
|
177
|
+
if @parsed_config
|
178
|
+
mode ||= @parsed_config.fetch(p, {})["s3_us_east_1_regional_endpoint"]
|
179
|
+
end
|
180
|
+
mode
|
181
|
+
else
|
182
|
+
nil
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
171
186
|
def endpoint_discovery(opts = {})
|
172
187
|
p = opts[:profile] || @profile_name
|
173
188
|
if @config_enabled && @parsed_config
|
data/lib/aws-sdk-sts.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
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: 3.
|
4
|
+
version: 3.77.0
|
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: 2019-11-
|
11
|
+
date: 2019-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '1'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.
|
36
|
+
version: 1.239.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '1'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.
|
46
|
+
version: 1.239.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: aws-sigv4
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|