aws-sdk-core 3.208.0 → 3.209.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 +4 -4
- data/CHANGELOG.md +13 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/assume_role_credentials.rb +7 -1
- data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +7 -1
- data/lib/aws-sdk-core/plugins.rb +1 -0
- data/lib/aws-sdk-sso/client.rb +1 -3
- data/lib/aws-sdk-sso.rb +3 -1
- data/lib/aws-sdk-ssooidc/client.rb +1 -3
- data/lib/aws-sdk-ssooidc.rb +3 -1
- data/lib/aws-sdk-sts/client.rb +1 -3
- data/lib/aws-sdk-sts.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cbf3fb8d557c18ef98cb12c924876b126d1c40c8083272ed6158f09dec546ff
|
|
4
|
+
data.tar.gz: 71df7fb600ffe30f3d1544e046987c79858da533cc55934a191206a51faf75f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8cb22377219db802f75554b3080f176c81cbc32598cce60dffff9dd7ae7b589a176ad24db24554e9556b86fc8fadd8536e1440d5fc8efed5ced4e982509afd54
|
|
7
|
+
data.tar.gz: eae2b08f3eba9a632426cffefbecdfddf2b60355227a02850053566c13caa899bf0eaf7f5d19d1d213024486f64a30fd86936f74e904fd8da7ca927f45255114
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
3.209.0 (2024-09-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
|
8
|
+
|
|
9
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
|
10
|
+
|
|
11
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
|
12
|
+
|
|
13
|
+
* Issue - Add service identifiers to GlobalConfig's list of identifiers outside of autoload (#3113).
|
|
14
|
+
|
|
15
|
+
* Issue - Ignore invalid ARNs when trying to parse accountId in assume role credentials.
|
|
16
|
+
|
|
4
17
|
3.208.0 (2024-09-23)
|
|
5
18
|
------------------
|
|
6
19
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.209.0
|
|
@@ -64,11 +64,17 @@ module Aws
|
|
|
64
64
|
def refresh
|
|
65
65
|
c = @client.assume_role(@assume_role_params)
|
|
66
66
|
creds = c.credentials
|
|
67
|
+
account_id =
|
|
68
|
+
begin
|
|
69
|
+
ARNParser.parse(c.assumed_role_user.arn).account_id
|
|
70
|
+
rescue Aws::Errors::InvalidARNError
|
|
71
|
+
nil
|
|
72
|
+
end
|
|
67
73
|
@credentials = Credentials.new(
|
|
68
74
|
creds.access_key_id,
|
|
69
75
|
creds.secret_access_key,
|
|
70
76
|
creds.session_token,
|
|
71
|
-
account_id:
|
|
77
|
+
account_id: account_id
|
|
72
78
|
)
|
|
73
79
|
@expiration = creds.expiration
|
|
74
80
|
end
|
|
@@ -75,11 +75,17 @@ module Aws
|
|
|
75
75
|
|
|
76
76
|
c = @client.assume_role_with_web_identity(@assume_role_web_identity_params)
|
|
77
77
|
creds = c.credentials
|
|
78
|
+
account_id =
|
|
79
|
+
begin
|
|
80
|
+
ARNParser.parse(c.assumed_role_user.arn).account_id
|
|
81
|
+
rescue Aws::Errors::InvalidARNError
|
|
82
|
+
nil
|
|
83
|
+
end
|
|
78
84
|
@credentials = Credentials.new(
|
|
79
85
|
creds.access_key_id,
|
|
80
86
|
creds.secret_access_key,
|
|
81
87
|
creds.session_token,
|
|
82
|
-
account_id:
|
|
88
|
+
account_id: account_id
|
|
83
89
|
)
|
|
84
90
|
@expiration = creds.expiration
|
|
85
91
|
end
|
data/lib/aws-sdk-core/plugins.rb
CHANGED
data/lib/aws-sdk-sso/client.rb
CHANGED
|
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
38
38
|
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:sso)
|
|
40
|
-
|
|
41
39
|
module Aws::SSO
|
|
42
40
|
# An API client for SSO. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
43
41
|
#
|
|
@@ -671,7 +669,7 @@ module Aws::SSO
|
|
|
671
669
|
tracer: tracer
|
|
672
670
|
)
|
|
673
671
|
context[:gem_name] = 'aws-sdk-core'
|
|
674
|
-
context[:gem_version] = '3.
|
|
672
|
+
context[:gem_version] = '3.209.0'
|
|
675
673
|
Seahorse::Client::Request.new(handlers, context)
|
|
676
674
|
end
|
|
677
675
|
|
data/lib/aws-sdk-sso.rb
CHANGED
|
@@ -13,6 +13,8 @@ unless Module.const_defined?(:Aws)
|
|
|
13
13
|
require 'aws-sigv4'
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:sso)
|
|
17
|
+
|
|
16
18
|
# This module provides support for AWS Single Sign-On. This module is available in the
|
|
17
19
|
# `aws-sdk-core` gem.
|
|
18
20
|
#
|
|
@@ -54,7 +56,7 @@ module Aws::SSO
|
|
|
54
56
|
autoload :EndpointProvider, 'aws-sdk-sso/endpoint_provider'
|
|
55
57
|
autoload :Endpoints, 'aws-sdk-sso/endpoints'
|
|
56
58
|
|
|
57
|
-
GEM_VERSION = '3.
|
|
59
|
+
GEM_VERSION = '3.209.0'
|
|
58
60
|
|
|
59
61
|
end
|
|
60
62
|
|
|
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
38
38
|
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:ssooidc)
|
|
40
|
-
|
|
41
39
|
module Aws::SSOOIDC
|
|
42
40
|
# An API client for SSOOIDC. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
43
41
|
#
|
|
@@ -1024,7 +1022,7 @@ module Aws::SSOOIDC
|
|
|
1024
1022
|
tracer: tracer
|
|
1025
1023
|
)
|
|
1026
1024
|
context[:gem_name] = 'aws-sdk-core'
|
|
1027
|
-
context[:gem_version] = '3.
|
|
1025
|
+
context[:gem_version] = '3.209.0'
|
|
1028
1026
|
Seahorse::Client::Request.new(handlers, context)
|
|
1029
1027
|
end
|
|
1030
1028
|
|
data/lib/aws-sdk-ssooidc.rb
CHANGED
|
@@ -13,6 +13,8 @@ unless Module.const_defined?(:Aws)
|
|
|
13
13
|
require 'aws-sigv4'
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:ssooidc)
|
|
17
|
+
|
|
16
18
|
# This module provides support for AWS SSO OIDC. This module is available in the
|
|
17
19
|
# `aws-sdk-core` gem.
|
|
18
20
|
#
|
|
@@ -54,7 +56,7 @@ module Aws::SSOOIDC
|
|
|
54
56
|
autoload :EndpointProvider, 'aws-sdk-ssooidc/endpoint_provider'
|
|
55
57
|
autoload :Endpoints, 'aws-sdk-ssooidc/endpoints'
|
|
56
58
|
|
|
57
|
-
GEM_VERSION = '3.
|
|
59
|
+
GEM_VERSION = '3.209.0'
|
|
58
60
|
|
|
59
61
|
end
|
|
60
62
|
|
data/lib/aws-sdk-sts/client.rb
CHANGED
|
@@ -37,8 +37,6 @@ require 'aws-sdk-core/plugins/sign.rb'
|
|
|
37
37
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
|
38
38
|
require 'aws-sdk-sts/plugins/sts_regional_endpoints.rb'
|
|
39
39
|
|
|
40
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:sts)
|
|
41
|
-
|
|
42
40
|
module Aws::STS
|
|
43
41
|
# An API client for STS. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
44
42
|
#
|
|
@@ -2418,7 +2416,7 @@ module Aws::STS
|
|
|
2418
2416
|
tracer: tracer
|
|
2419
2417
|
)
|
|
2420
2418
|
context[:gem_name] = 'aws-sdk-core'
|
|
2421
|
-
context[:gem_version] = '3.
|
|
2419
|
+
context[:gem_version] = '3.209.0'
|
|
2422
2420
|
Seahorse::Client::Request.new(handlers, context)
|
|
2423
2421
|
end
|
|
2424
2422
|
|
data/lib/aws-sdk-sts.rb
CHANGED
|
@@ -13,6 +13,8 @@ unless Module.const_defined?(:Aws)
|
|
|
13
13
|
require 'aws-sigv4'
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:sts)
|
|
17
|
+
|
|
16
18
|
# This module provides support for AWS Security Token Service. This module is available in the
|
|
17
19
|
# `aws-sdk-core` gem.
|
|
18
20
|
#
|
|
@@ -54,7 +56,7 @@ module Aws::STS
|
|
|
54
56
|
autoload :EndpointProvider, 'aws-sdk-sts/endpoint_provider'
|
|
55
57
|
autoload :Endpoints, 'aws-sdk-sts/endpoints'
|
|
56
58
|
|
|
57
|
-
GEM_VERSION = '3.
|
|
59
|
+
GEM_VERSION = '3.209.0'
|
|
58
60
|
|
|
59
61
|
end
|
|
60
62
|
|
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.209.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: 2024-09-
|
|
11
|
+
date: 2024-09-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jmespath
|