aws-sdk-core 3.121.3 → 3.121.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca78fa40d16ef2a56d695fd3149837b9c9b41f12fe4584d0c6e9920cf88e0696
4
- data.tar.gz: b907fc2f3b8c3fac0c26a615f7bb310f110875d0c4baab3dce38a8b91ee64cb9
3
+ metadata.gz: 0b5bb4cda445702b95455d7dbc44a112e3c16a1126a28e85fea333ec5c77c172
4
+ data.tar.gz: 1846a0a908996c79f4ff83c927c5050b220621dce5b5a1b1711326ce2241fbef
5
5
  SHA512:
6
- metadata.gz: 6e8ec45394f4e8b8b0f960c85192968cb811e09a1f23b31cb531df9a2eb81fffad4e5420ce5cf714fefa6b4dd0622588d39f1a340284ce3c5bde4603e55d03c8
7
- data.tar.gz: ec673c9df67c90297099d4243d44d48bc290c3b0169899c9cd6e40058dcc40db29775fa40d814025e24c94d6bb9ebda7a118781516859f17c2c3a83f320161ec
6
+ metadata.gz: b0504f7da8b17697b4e5113726a1e210a3f5b68e3f939db3aee0cf44cb14bdf611714180e406d679ea46fdce971c931e53ac874f4ecb40cd7b1031b077b88ae0
7
+ data.tar.gz: 9d5d48918e4b6cfdb29ca34d0f2513554b3bf02e4789151f9a43545b2f7fa40870dbe446fc8e906333d0fac95197da8cd015f1d508db4b36093462461bfab210
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.121.5 (2021-10-29)
5
+ ------------------
6
+
7
+ * Issue - bump minimum version of `aws-partitions` (#2603).
8
+
9
+ 3.121.4 (2021-10-28)
10
+ ------------------
11
+
12
+ * Issue - This version has been yanked. (#2603).
13
+
14
+ * Issue - use the `EndpointProvider` to lookup signing region and name.
15
+
4
16
  3.121.3 (2021-10-20)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.121.3
1
+ 3.121.5
@@ -12,32 +12,22 @@ module Aws
12
12
  end
13
13
 
14
14
  option(:sigv4_name) do |cfg|
15
- cfg.api.metadata['signingName'] || cfg.api.metadata['endpointPrefix']
15
+ signingName = if cfg.region
16
+ Aws::Partitions::EndpointProvider.signing_service(
17
+ cfg.region, cfg.api.metadata['endpointPrefix']
18
+ )
19
+ end
20
+ signingName || cfg.api.metadata['signingName'] || cfg.api.metadata['endpointPrefix']
16
21
  end
17
22
 
18
23
  option(:sigv4_region) do |cfg|
19
-
20
- # The signature version 4 signing region is most
21
- # commonly the configured region. There are a few
22
- # notable exceptions:
23
- #
24
- # * Some services have a global endpoint to the entire
25
- # partition. For example, when constructing a route53
26
- # client for a region like "us-west-2", we will
27
- # always use "route53.amazonaws.com". This endpoint
28
- # is actually global to the entire partition,
29
- # and must be signed as "us-east-1".
30
- #
31
- # * When the region is configured, but it is configured
32
- # to a non region, such as "aws-global". This is similar
33
- # to the previous case. We use the Aws::Partitions::EndpointProvider
34
- # to resolve to the actual signing region.
35
- #
36
- prefix = cfg.api.metadata['endpointPrefix']
37
- if prefix && cfg.endpoint.to_s.match(/#{prefix}\.amazonaws\.com/)
38
- 'us-east-1'
39
- elsif cfg.region
40
- Aws::Partitions::EndpointProvider.signing_region(cfg.region, prefix)
24
+ if cfg.region
25
+ if cfg.respond_to?(:sts_regional_endpoints)
26
+ sts_regional = cfg.sts_regional_endpoints
27
+ end
28
+ Aws::Partitions::EndpointProvider.signing_region(
29
+ cfg.region, cfg.api.metadata['endpointPrefix'], sts_regional
30
+ )
41
31
  end
42
32
  end
43
33
 
@@ -521,7 +521,7 @@ module Aws::SSO
521
521
  params: params,
522
522
  config: config)
523
523
  context[:gem_name] = 'aws-sdk-core'
524
- context[:gem_version] = '3.121.3'
524
+ context[:gem_version] = '3.121.5'
525
525
  Seahorse::Client::Request.new(handlers, context)
526
526
  end
527
527
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sso/customizations'
50
50
  # @!group service
51
51
  module Aws::SSO
52
52
 
53
- GEM_VERSION = '3.121.3'
53
+ GEM_VERSION = '3.121.5'
54
54
 
55
55
  end
@@ -2303,7 +2303,7 @@ module Aws::STS
2303
2303
  params: params,
2304
2304
  config: config)
2305
2305
  context[:gem_name] = 'aws-sdk-core'
2306
- context[:gem_version] = '3.121.3'
2306
+ context[:gem_version] = '3.121.5'
2307
2307
  Seahorse::Client::Request.new(handlers, context)
2308
2308
  end
2309
2309
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sts/customizations'
50
50
  # @!group service
51
51
  module Aws::STS
52
52
 
53
- GEM_VERSION = '3.121.3'
53
+ GEM_VERSION = '3.121.5'
54
54
 
55
55
  end
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.121.3
4
+ version: 3.121.5
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: 2021-10-20 00:00:00.000000000 Z
11
+ date: 2021-10-29 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.239.0
36
+ version: 1.520.1
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.239.0
46
+ version: 1.520.1
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: aws-sigv4
49
49
  requirement: !ruby/object:Gem::Requirement