aws-sdk-core 3.168.0 → 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: 9a4dd2eca826a9e7e2691ae3617a046c7861951e597b2976a5a8d92c85a3029b
4
- data.tar.gz: 28d8c99591cd0da107d3d38ef1a1941edebf56e1dab2a17f53a372bbb9f28032
3
+ metadata.gz: 10ff2032a99ef5f1a915c10a76442068c22435396cd8431456c44e58de81459e
4
+ data.tar.gz: 93caf77f96a680c832fd027a33e7e51b5e09048efd602dc5fe0f0af4cd5c9673
5
5
  SHA512:
6
- metadata.gz: 2bcf6c20074fff2e6eded6da89cfe2806a2bf439e5da8176e673918bbb8f09e6f8fe7aa9cb96973a5699d4f4d0b79f6e2763772c61ff9e3054418c44737b53b0
7
- data.tar.gz: a84c1f410f5ff61e5aafbe2a92d2cde3690e22b12df5c4c10f6ae1a6e7b4264f46daa91bef758ef36ae215341826ae4d2f65762594051bf0d5ad576402dee5c7
6
+ metadata.gz: 6c85a0ff5bd7def5d3ab7a293ae7fd6c16e9c91d769f51dd5ae559387479d422295e5a811f24f4a539e4ea79d884dc9f5cb91eb54fdde1d9545e2b8112c265f6
7
+ data.tar.gz: 68bf18fed69a653993842b4a97b5c402cb9d1f130defafeb15dc2413bfe697b6cc4ec940cf5789f758a7d1f93f712328ac9df0206b871444858e43e2ae1ad3cc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
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
+
8
+ 3.168.1 (2022-11-18)
9
+ ------------------
10
+
11
+ * Issue - Fix initialization of SSOTokenProvider when `AWS_PROFILE` is specified.
12
+
4
13
  3.168.0 (2022-11-17)
5
14
  ------------------
6
15
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.168.0
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
@@ -39,6 +39,7 @@ module Aws
39
39
 
40
40
  options[:region] = @sso_region
41
41
  options[:credentials] = nil
42
+ options[:token_provider] = nil
42
43
  @client = options[:client] || Aws::SSOOIDC::Client.new(options)
43
44
 
44
45
  super
@@ -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.0'
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.0'
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.0'
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.0'
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.0'
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.0'
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.0
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-17 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