aws-sdk-core 3.168.1 → 3.168.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: 4394cf850ed92caedf5b82c76f9f595e2ab088cf62470d081df1ba82651ddbbf
4
- data.tar.gz: 53d0755fd2c0c52c4bd4843b19e8e5794163a84353fe67c010108ce64a24e235
3
+ metadata.gz: 10ff2032a99ef5f1a915c10a76442068c22435396cd8431456c44e58de81459e
4
+ data.tar.gz: 93caf77f96a680c832fd027a33e7e51b5e09048efd602dc5fe0f0af4cd5c9673
5
5
  SHA512:
6
- metadata.gz: 72ef9f8b2de06706021fc009ec976fbbd9033fb51bcb5458152012e54c9399e4dc6ed0cddf3b855e08383348b23ad8efc3c0f86608fdf20d4df256ac0c3644df
7
- data.tar.gz: ef38dd422e237139fc3cfb02d6ada648c922dbf333062b9b754c4845e5de3567606fe7b8d90ebcf300ea8fd2b3c1717482b4762432769e98aa8dcfa8b5ad8755
6
+ metadata.gz: 6c85a0ff5bd7def5d3ab7a293ae7fd6c16e9c91d769f51dd5ae559387479d422295e5a811f24f4a539e4ea79d884dc9f5cb91eb54fdde1d9545e2b8112c265f6
7
+ data.tar.gz: 68bf18fed69a653993842b4a97b5c402cb9d1f130defafeb15dc2413bfe697b6cc4ec940cf5789f758a7d1f93f712328ac9df0206b871444858e43e2ae1ad3cc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.168.2 (2022-11-29)
5
+ ------------------
6
+ * Issue - Allow region resolution in `AssumeRoleCredentials` from `CredentialProviderChain`.
7
+
4
8
  3.168.1 (2022-11-18)
5
9
  ------------------
6
10
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.168.1
1
+ 3.168.2
@@ -169,12 +169,14 @@ module Aws
169
169
  end
170
170
 
171
171
  def assume_role_with_profile(options, profile_name)
172
- region = (options[:config] && options[:config].region)
173
- Aws.shared_config.assume_role_credentials_from_config(
172
+ assume_opts = {
174
173
  profile: profile_name,
175
- region: region,
176
174
  chain_config: @config
177
- )
175
+ }
176
+ if options[:config] && options[:config].region
177
+ assume_opts[:region] = options[:config].region
178
+ end
179
+ Aws.shared_config.assume_role_credentials_from_config(assume_opts)
178
180
  end
179
181
  end
180
182
  end
@@ -585,7 +585,7 @@ module Aws::SSO
585
585
  params: params,
586
586
  config: config)
587
587
  context[:gem_name] = 'aws-sdk-core'
588
- context[:gem_version] = '3.168.1'
588
+ context[:gem_version] = '3.168.2'
589
589
  Seahorse::Client::Request.new(handlers, context)
590
590
  end
591
591
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sso/customizations'
54
54
  # @!group service
55
55
  module Aws::SSO
56
56
 
57
- GEM_VERSION = '3.168.1'
57
+ GEM_VERSION = '3.168.2'
58
58
 
59
59
  end
@@ -581,7 +581,7 @@ module Aws::SSOOIDC
581
581
  params: params,
582
582
  config: config)
583
583
  context[:gem_name] = 'aws-sdk-core'
584
- context[:gem_version] = '3.168.1'
584
+ context[:gem_version] = '3.168.2'
585
585
  Seahorse::Client::Request.new(handlers, context)
586
586
  end
587
587
 
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-ssooidc/customizations'
54
54
  # @!group service
55
55
  module Aws::SSOOIDC
56
56
 
57
- GEM_VERSION = '3.168.1'
57
+ GEM_VERSION = '3.168.2'
58
58
 
59
59
  end
@@ -2316,7 +2316,7 @@ module Aws::STS
2316
2316
  params: params,
2317
2317
  config: config)
2318
2318
  context[:gem_name] = 'aws-sdk-core'
2319
- context[:gem_version] = '3.168.1'
2319
+ context[:gem_version] = '3.168.2'
2320
2320
  Seahorse::Client::Request.new(handlers, context)
2321
2321
  end
2322
2322
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sts/customizations'
54
54
  # @!group service
55
55
  module Aws::STS
56
56
 
57
- GEM_VERSION = '3.168.1'
57
+ GEM_VERSION = '3.168.2'
58
58
 
59
59
  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.168.1
4
+ version: 3.168.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: 2022-11-18 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath