aws-sdk-core 3.169.0 → 3.170.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +1 -1
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +13 -11
- data/lib/aws-sdk-sts/endpoint_provider.rb +17 -17
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/seahorse/client/h2/connection.rb +10 -6
- 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: 356eca893266769e12ef7bdbbf4e836357f1de35bcfd7c02ba2557a2db0eab47
|
4
|
+
data.tar.gz: 6b9ef8c0bbcc188f06c1d3ab30a39072ffc699f288de496cbb24021f8c6e3836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77b2cb81a5a01dbd614eced5c2a06fbf63c6e836706d2203827928a58313540b5b84e0b5a2ccf77b90ed6bb86f7de0eac290a87f762aa198391f6a464ebbe1c7
|
7
|
+
data.tar.gz: 54c3c5554ade60baa2b7bd8102ab2f9d52ecb9619649b2fd4664f0f4ec112ff73739f1427ff7e1c415ba95c84a20b6d04fc3527f8cc24ffe4b6b5dd194b97eca
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.170.1 (2023-03-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Reduce memory usage in H2::Connection when `http_wire_log` is not set.
|
8
|
+
|
9
|
+
3.170.0 (2023-01-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updated Aws::STS::Client with the latest API changes.
|
13
|
+
|
4
14
|
3.169.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.170.1
|
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
data/lib/aws-sdk-ssooidc.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -376,14 +376,13 @@ module Aws::STS
|
|
376
376
|
# @!group API Operations
|
377
377
|
|
378
378
|
# Returns a set of temporary security credentials that you can use to
|
379
|
-
# access Amazon Web Services resources
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
# operations][2] in the *IAM User Guide*.
|
379
|
+
# access Amazon Web Services resources. These temporary credentials
|
380
|
+
# consist of an access key ID, a secret access key, and a security
|
381
|
+
# token. Typically, you use `AssumeRole` within your account or for
|
382
|
+
# cross-account access. For a comparison of `AssumeRole` with other API
|
383
|
+
# operations that produce temporary credentials, see [Requesting
|
384
|
+
# Temporary Security Credentials][1] and [Comparing the Amazon Web
|
385
|
+
# Services STS API operations][2] in the *IAM User Guide*.
|
387
386
|
#
|
388
387
|
# **Permissions**
|
389
388
|
#
|
@@ -1843,13 +1842,16 @@ module Aws::STS
|
|
1843
1842
|
# **Permissions**
|
1844
1843
|
#
|
1845
1844
|
# You can use the temporary credentials created by `GetFederationToken`
|
1846
|
-
# in any Amazon Web Services service
|
1845
|
+
# in any Amazon Web Services service with the following exceptions:
|
1847
1846
|
#
|
1848
1847
|
# * You cannot call any IAM operations using the CLI or the Amazon Web
|
1849
|
-
# Services API.
|
1848
|
+
# Services API. This limitation does not apply to console sessions.
|
1850
1849
|
#
|
1851
1850
|
# * You cannot call any STS operations except `GetCallerIdentity`.
|
1852
1851
|
#
|
1852
|
+
# You can use temporary credentials for single sign-on (SSO) to the
|
1853
|
+
# console.
|
1854
|
+
#
|
1853
1855
|
# You must pass an inline or managed [session policy][6] to this
|
1854
1856
|
# operation. You can pass a single JSON policy document to use as an
|
1855
1857
|
# inline session policy. You can also specify up to 10 managed policy
|
@@ -2316,7 +2318,7 @@ module Aws::STS
|
|
2316
2318
|
params: params,
|
2317
2319
|
config: config)
|
2318
2320
|
context[:gem_name] = 'aws-sdk-core'
|
2319
|
-
context[:gem_version] = '3.
|
2321
|
+
context[:gem_version] = '3.170.1'
|
2320
2322
|
Seahorse::Client::Request.new(handlers, context)
|
2321
2323
|
end
|
2322
2324
|
|
@@ -18,54 +18,54 @@ module Aws::STS
|
|
18
18
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(use_global_endpoint, true) && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(endpoint))
|
20
20
|
if Aws::Endpoints::Matchers.string_equals?(region, "ap-northeast-1")
|
21
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
21
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
22
22
|
end
|
23
23
|
if Aws::Endpoints::Matchers.string_equals?(region, "ap-south-1")
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
25
25
|
end
|
26
26
|
if Aws::Endpoints::Matchers.string_equals?(region, "ap-southeast-1")
|
27
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
27
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
28
28
|
end
|
29
29
|
if Aws::Endpoints::Matchers.string_equals?(region, "ap-southeast-2")
|
30
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
31
31
|
end
|
32
32
|
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
33
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
33
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
34
34
|
end
|
35
35
|
if Aws::Endpoints::Matchers.string_equals?(region, "ca-central-1")
|
36
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
37
37
|
end
|
38
38
|
if Aws::Endpoints::Matchers.string_equals?(region, "eu-central-1")
|
39
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
40
40
|
end
|
41
41
|
if Aws::Endpoints::Matchers.string_equals?(region, "eu-north-1")
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
43
43
|
end
|
44
44
|
if Aws::Endpoints::Matchers.string_equals?(region, "eu-west-1")
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
46
46
|
end
|
47
47
|
if Aws::Endpoints::Matchers.string_equals?(region, "eu-west-2")
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
49
49
|
end
|
50
50
|
if Aws::Endpoints::Matchers.string_equals?(region, "eu-west-3")
|
51
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
52
52
|
end
|
53
53
|
if Aws::Endpoints::Matchers.string_equals?(region, "sa-east-1")
|
54
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
54
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
55
55
|
end
|
56
56
|
if Aws::Endpoints::Matchers.string_equals?(region, "us-east-1")
|
57
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
57
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
58
58
|
end
|
59
59
|
if Aws::Endpoints::Matchers.string_equals?(region, "us-east-2")
|
60
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
60
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
61
61
|
end
|
62
62
|
if Aws::Endpoints::Matchers.string_equals?(region, "us-west-1")
|
63
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
63
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
64
64
|
end
|
65
65
|
if Aws::Endpoints::Matchers.string_equals?(region, "us-west-2")
|
66
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
66
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"sts"}]})
|
67
67
|
end
|
68
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
68
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "signingName"=>"sts"}]})
|
69
69
|
end
|
70
70
|
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
71
71
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
data/lib/aws-sdk-sts.rb
CHANGED
@@ -43,7 +43,9 @@ module Seahorse
|
|
43
43
|
@h2_client = HTTP2::Client.new(
|
44
44
|
settings_max_concurrent_streams: max_concurrent_streams
|
45
45
|
)
|
46
|
-
@logger =
|
46
|
+
@logger = if @http_wire_trace
|
47
|
+
options[:logger] || Logger.new($stdout)
|
48
|
+
end
|
47
49
|
@chunk_size = options[:read_chunk_size] || CHUNKSIZE
|
48
50
|
@errors = []
|
49
51
|
@status = :ready
|
@@ -180,11 +182,13 @@ module Seahorse
|
|
180
182
|
@socket.flush
|
181
183
|
end
|
182
184
|
end
|
183
|
-
@
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
185
|
+
if @http_wire_trace
|
186
|
+
@h2_client.on(:frame_sent) do |frame|
|
187
|
+
debug_output("frame: #{frame.inspect}", :send)
|
188
|
+
end
|
189
|
+
@h2_client.on(:frame_received) do |frame|
|
190
|
+
debug_output("frame: #{frame.inspect}", :receive)
|
191
|
+
end
|
188
192
|
end
|
189
193
|
end
|
190
194
|
|
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.170.1
|
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: 2023-
|
11
|
+
date: 2023-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|