aws-sdk-core 3.169.0 → 3.170.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -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
- 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: 621db310544612392db658a6d7ef590b805f1de5e445fce164af947327bccf66
|
4
|
+
data.tar.gz: 87484fd54203a9bac01f64aa23f09f4fa042b4f3a0a263bc3c4b0669a9086d21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 213e9846a695ffa86ead83972d6d2d98e94ef06b0f3449cb8602e188cf55e65b4eb3c5045548dc51c144d855fb02c8758bfd34b721b65ca1b8afaebb959750bf
|
7
|
+
data.tar.gz: e3b5347c678c996eae43e13007e61272e8711d522b84842397e2773fb65c0fc469921761ffd01377383d25ad7309ba0b3da886d592f990ee3efcfa39f2e9f687
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.170.0
|
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.0'
|
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
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.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: 2023-01-
|
11
|
+
date: 2023-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|