aws-sdk-core 3.238.0 → 3.239.0

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: 9b5f0c19ee115b6aeb64a492c9f5d44dd35c12bfd090d8f66a5b207b48ec056e
4
- data.tar.gz: 5f2ac56bae1ff72f54aebdc714f73f2c0550b7f2a189d2e54e872832b562c07f
3
+ metadata.gz: '0930345246f3fddce05d3299d9f6a80b258a853e0239b9569256618b1f97ca88'
4
+ data.tar.gz: f79df75dec6db28e4439b3876d137a1c14942508e4063ebbf45e0125f89faade
5
5
  SHA512:
6
- metadata.gz: 34e19cf1ed28ea6f8989e2a8c010773548932aa44e470c2190d71837c012adb049e4f9e2fcf3096e8344563f233ccc293a5e16a72203b0a6cbe381b49c12cbc2
7
- data.tar.gz: 7b3b5b81484bb41872b4949163af33e63d820b5d8902f9fe8a78bc35dd2f4b7f49571780411f75425bbb4b741321ff262894251675cbb13df27aa90370295d47
6
+ metadata.gz: 1b8e65edeabaf153348560bc78ba0c56b36cd3afa0123b0f8c7904072e5d69ddf81d1c4de6e2982027fafb642986ed86074a7be001adeb5934cd1af1d96654fa
7
+ data.tar.gz: c3f2f373ca44cd05a0f5fed5204570cb431fadadbac6897926545237f4773dd36424c33da7c0a0b575f9fbc55093a1f72e82646facfaa4dfac14b9cf3f4d4d6c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.239.0 (2025-11-20)
5
+ ------------------
6
+
7
+ * Feature - Updated Aws::Signin::Client with the latest API changes.
8
+
9
+ * Issue - Fix region configuration for LoginCredential's Signin client.
10
+
4
11
  3.238.0 (2025-11-19)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.238.0
1
+ 3.239.0
@@ -110,7 +110,10 @@ module Aws
110
110
  return unless Aws.shared_config.config_enabled? && options[:config]&.profile
111
111
 
112
112
  with_metrics('CREDENTIALS_CODE') do
113
- creds = Aws.shared_config.login_credentials_from_config(profile: options[:config].profile)
113
+ creds = Aws.shared_config.login_credentials_from_config(
114
+ profile: options[:config].profile,
115
+ region: options[:config].region
116
+ )
114
117
  return unless creds
115
118
 
116
119
  creds.metrics << 'CREDENTIALS_CODE'
@@ -170,7 +173,7 @@ module Aws
170
173
  return unless Aws.shared_config.config_enabled?
171
174
 
172
175
  profile_name = determine_profile_name(options)
173
- Aws.shared_config.login_credentials_from_config(profile: profile_name)
176
+ Aws.shared_config.login_credentials_from_config(profile: profile_name, region: options[:config].region)
174
177
  rescue Errors::NoSuchProfileError
175
178
  nil
176
179
  end
@@ -176,8 +176,8 @@ module Aws
176
176
  # file, if present.
177
177
  def login_credentials_from_config(opts = {})
178
178
  p = opts[:profile] || @profile_name
179
- credentials = login_credentials_from_profile(@parsed_credentials, p)
180
- credentials ||= login_credentials_from_profile(@parsed_config, p) if @parsed_config
179
+ credentials = login_credentials_from_profile(@parsed_credentials, p, opts[:region])
180
+ credentials ||= login_credentials_from_profile(@parsed_config, p, opts[:region]) if @parsed_config
181
181
  credentials
182
182
  end
183
183
 
@@ -479,10 +479,12 @@ module Aws
479
479
  end
480
480
  end
481
481
 
482
- def login_credentials_from_profile(cfg, profile)
482
+ def login_credentials_from_profile(cfg, profile, region)
483
483
  return unless @parsed_config && (prof_config = cfg[profile]) && prof_config['login_session']
484
484
 
485
- creds = LoginCredentials.new(login_session: prof_config['login_session'])
485
+ cfg = { login_session: prof_config['login_session'] }
486
+ cfg[:region] = region if region
487
+ creds = LoginCredentials.new(cfg)
486
488
  creds.metrics << 'CREDENTIALS_PROFILE_LOGIN'
487
489
  creds
488
490
  end
@@ -578,8 +578,8 @@ module Aws::Signin
578
578
  config: config,
579
579
  tracer: tracer
580
580
  )
581
- context[:gem_name] = 'aws-sdk-signin'
582
- context[:gem_version] = '1.0.0'
581
+ context[:gem_name] = 'aws-sdk-core'
582
+ context[:gem_version] = '3.239.0'
583
583
  Seahorse::Client::Request.new(handlers, context)
584
584
  end
585
585
 
@@ -16,7 +16,7 @@ end
16
16
  Aws::Plugins::GlobalConfiguration.add_identifier(:signin)
17
17
 
18
18
  # This module provides support for AWS Sign-In Service. This module is available in the
19
- # `aws-sdk-signin` gem.
19
+ # `aws-sdk-core` gem.
20
20
  #
21
21
  # # Client
22
22
  #
@@ -56,7 +56,7 @@ module Aws::Signin
56
56
  autoload :EndpointProvider, 'aws-sdk-signin/endpoint_provider'
57
57
  autoload :Endpoints, 'aws-sdk-signin/endpoints'
58
58
 
59
- GEM_VERSION = '1.0.0'
59
+ GEM_VERSION = '3.239.0'
60
60
 
61
61
  end
62
62
 
@@ -698,7 +698,7 @@ module Aws::SSO
698
698
  tracer: tracer
699
699
  )
700
700
  context[:gem_name] = 'aws-sdk-core'
701
- context[:gem_version] = '3.238.0'
701
+ context[:gem_version] = '3.239.0'
702
702
  Seahorse::Client::Request.new(handlers, context)
703
703
  end
704
704
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -56,7 +56,7 @@ module Aws::SSO
56
56
  autoload :EndpointProvider, 'aws-sdk-sso/endpoint_provider'
57
57
  autoload :Endpoints, 'aws-sdk-sso/endpoints'
58
58
 
59
- GEM_VERSION = '3.238.0'
59
+ GEM_VERSION = '3.239.0'
60
60
 
61
61
  end
62
62
 
@@ -1081,7 +1081,7 @@ module Aws::SSOOIDC
1081
1081
  tracer: tracer
1082
1082
  )
1083
1083
  context[:gem_name] = 'aws-sdk-core'
1084
- context[:gem_version] = '3.238.0'
1084
+ context[:gem_version] = '3.239.0'
1085
1085
  Seahorse::Client::Request.new(handlers, context)
1086
1086
  end
1087
1087
 
@@ -56,7 +56,7 @@ module Aws::SSOOIDC
56
56
  autoload :EndpointProvider, 'aws-sdk-ssooidc/endpoint_provider'
57
57
  autoload :Endpoints, 'aws-sdk-ssooidc/endpoints'
58
58
 
59
- GEM_VERSION = '3.238.0'
59
+ GEM_VERSION = '3.239.0'
60
60
 
61
61
  end
62
62
 
@@ -2725,7 +2725,7 @@ module Aws::STS
2725
2725
  tracer: tracer
2726
2726
  )
2727
2727
  context[:gem_name] = 'aws-sdk-core'
2728
- context[:gem_version] = '3.238.0'
2728
+ context[:gem_version] = '3.239.0'
2729
2729
  Seahorse::Client::Request.new(handlers, context)
2730
2730
  end
2731
2731
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -56,7 +56,7 @@ module Aws::STS
56
56
  autoload :EndpointProvider, 'aws-sdk-sts/endpoint_provider'
57
57
  autoload :Endpoints, 'aws-sdk-sts/endpoints'
58
58
 
59
- GEM_VERSION = '3.238.0'
59
+ GEM_VERSION = '3.239.0'
60
60
 
61
61
  end
62
62
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.238.0
4
+ version: 3.239.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services