aws-sdk-core 3.231.0 → 3.233.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 +14 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +20 -7
- data/lib/aws-sdk-ssooidc/client_api.rb +5 -0
- data/lib/aws-sdk-ssooidc/errors.rb +10 -0
- data/lib/aws-sdk-ssooidc/types.rb +27 -15
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/aws-sdk-sts/customizations.rb +0 -1
- data/lib/aws-sdk-sts.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f37e6727e5279cbbd03f6df6988d8c24c0eded16e39ec239431e8aed96fbc696
|
4
|
+
data.tar.gz: 37b13a3e128f56672ed802a5b5450be306d5eeef608222c6cc2dda891356d28d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cf0124bf65cf6618b4c14919800bb881920fb6673f34ac6302448dc642c5f7dd051e844904a82e0134c02ab1ea58f1e3b3ccb7d455b9541e09c0c0e45795bae
|
7
|
+
data.tar.gz: 33d8cb8d286ab0384e2c18d7f43cac14d93147ad3f5b54b6636bea55d4581c2b81cb520c12bab5ea5eceec34ee635d23a04c1038582e2fd69e198636191f66ba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.233.0 (2025-09-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
|
8
|
+
|
9
|
+
* Feature - This release includes exception definition and documentation updates.
|
10
|
+
|
11
|
+
3.232.0 (2025-08-28)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
15
|
+
|
16
|
+
* Feature - Remove incorrect endpoint tests
|
17
|
+
|
4
18
|
3.231.0 (2025-08-26)
|
5
19
|
------------------
|
6
20
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.233.0
|
data/lib/aws-sdk-sso/client.rb
CHANGED
@@ -28,8 +28,8 @@ module Aws::SSO
|
|
28
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
29
29
|
end
|
30
30
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
31
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
32
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
31
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
32
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
33
33
|
return Aws::Endpoints::Endpoint.new(url: "https://portal.sso.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
|
34
34
|
end
|
35
35
|
return Aws::Endpoints::Endpoint.new(url: "https://portal.sso-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
data/lib/aws-sdk-sso.rb
CHANGED
@@ -523,10 +523,9 @@ module Aws::SSOOIDC
|
|
523
523
|
# [1]: https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html
|
524
524
|
#
|
525
525
|
# @option params [Array<String>] :scope
|
526
|
-
# The list of scopes for which authorization is requested.
|
527
|
-
#
|
528
|
-
#
|
529
|
-
# that are configured for the client during the call to RegisterClient.
|
526
|
+
# The list of scopes for which authorization is requested. This
|
527
|
+
# parameter has no effect; the access token will always include all
|
528
|
+
# scopes configured during client registration.
|
530
529
|
#
|
531
530
|
# @option params [String] :redirect_uri
|
532
531
|
# Used only when calling this API for the Authorization Code grant type.
|
@@ -615,12 +614,26 @@ module Aws::SSOOIDC
|
|
615
614
|
req.send_request(options)
|
616
615
|
end
|
617
616
|
|
618
|
-
# Creates and returns access and refresh tokens for
|
619
|
-
# applications that are authenticated using IAM
|
617
|
+
# Creates and returns access and refresh tokens for authorized client
|
618
|
+
# applications that are authenticated using any IAM entity, such as a
|
619
|
+
# service role or user. These tokens might contain defined scopes that
|
620
|
+
# specify permissions such as `read:profile` or `write:data`. Through
|
621
|
+
# downscoping, you can use the scopes parameter to request tokens with
|
622
|
+
# reduced permissions compared to the original client application's
|
623
|
+
# permissions or, if applicable, the refresh token's scopes. The access
|
620
624
|
# token can be used to fetch short-lived credentials for the assigned
|
621
625
|
# Amazon Web Services accounts or to access application APIs using
|
622
626
|
# `bearer` authentication.
|
623
627
|
#
|
628
|
+
# <note markdown="1"> This API is used with Signature Version 4. For more information, see
|
629
|
+
# [Amazon Web Services Signature Version 4 for API Requests][1].
|
630
|
+
#
|
631
|
+
# </note>
|
632
|
+
#
|
633
|
+
#
|
634
|
+
#
|
635
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html
|
636
|
+
#
|
624
637
|
# @option params [required, String] :client_id
|
625
638
|
# The unique identifier string for the client or application. This value
|
626
639
|
# is an application ARN that has OAuth grants configured.
|
@@ -1068,7 +1081,7 @@ module Aws::SSOOIDC
|
|
1068
1081
|
tracer: tracer
|
1069
1082
|
)
|
1070
1083
|
context[:gem_name] = 'aws-sdk-core'
|
1071
|
-
context[:gem_version] = '3.
|
1084
|
+
context[:gem_version] = '3.233.0'
|
1072
1085
|
Seahorse::Client::Request.new(handlers, context)
|
1073
1086
|
end
|
1074
1087
|
|
@@ -15,6 +15,7 @@ module Aws::SSOOIDC
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
AccessDeniedExceptionReason = Shapes::StringShape.new(name: 'AccessDeniedExceptionReason')
|
18
19
|
AccessToken = Shapes::StringShape.new(name: 'AccessToken')
|
19
20
|
ArnType = Shapes::StringShape.new(name: 'ArnType')
|
20
21
|
Assertion = Shapes::StringShape.new(name: 'Assertion')
|
@@ -46,6 +47,7 @@ module Aws::SSOOIDC
|
|
46
47
|
InvalidGrantException = Shapes::StructureShape.new(name: 'InvalidGrantException')
|
47
48
|
InvalidRedirectUriException = Shapes::StructureShape.new(name: 'InvalidRedirectUriException')
|
48
49
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
50
|
+
InvalidRequestExceptionReason = Shapes::StringShape.new(name: 'InvalidRequestExceptionReason')
|
49
51
|
InvalidRequestRegionException = Shapes::StructureShape.new(name: 'InvalidRequestRegionException')
|
50
52
|
InvalidScopeException = Shapes::StructureShape.new(name: 'InvalidScopeException')
|
51
53
|
Location = Shapes::StringShape.new(name: 'Location')
|
@@ -69,6 +71,7 @@ module Aws::SSOOIDC
|
|
69
71
|
UserCode = Shapes::StringShape.new(name: 'UserCode')
|
70
72
|
|
71
73
|
AccessDeniedException.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
|
74
|
+
AccessDeniedException.add_member(:reason, Shapes::ShapeRef.new(shape: AccessDeniedExceptionReason, location_name: "reason"))
|
72
75
|
AccessDeniedException.add_member(:error_description, Shapes::ShapeRef.new(shape: ErrorDescription, location_name: "error_description"))
|
73
76
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
74
77
|
|
@@ -147,6 +150,7 @@ module Aws::SSOOIDC
|
|
147
150
|
InvalidRedirectUriException.struct_class = Types::InvalidRedirectUriException
|
148
151
|
|
149
152
|
InvalidRequestException.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "error"))
|
153
|
+
InvalidRequestException.add_member(:reason, Shapes::ShapeRef.new(shape: InvalidRequestExceptionReason, location_name: "reason"))
|
150
154
|
InvalidRequestException.add_member(:error_description, Shapes::ShapeRef.new(shape: ErrorDescription, location_name: "error_description"))
|
151
155
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
152
156
|
|
@@ -282,6 +286,7 @@ module Aws::SSOOIDC
|
|
282
286
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
283
287
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRedirectUriException)
|
284
288
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedGrantTypeException)
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: SlowDownException)
|
285
290
|
end)
|
286
291
|
|
287
292
|
api.add_operation(:start_device_authorization, Seahorse::Model::Operation.new.tap do |o|
|
@@ -62,6 +62,11 @@ module Aws::SSOOIDC
|
|
62
62
|
@data[:error]
|
63
63
|
end
|
64
64
|
|
65
|
+
# @return [String]
|
66
|
+
def reason
|
67
|
+
@data[:reason]
|
68
|
+
end
|
69
|
+
|
65
70
|
# @return [String]
|
66
71
|
def error_description
|
67
72
|
@data[:error_description]
|
@@ -222,6 +227,11 @@ module Aws::SSOOIDC
|
|
222
227
|
@data[:error]
|
223
228
|
end
|
224
229
|
|
230
|
+
# @return [String]
|
231
|
+
def reason
|
232
|
+
@data[:reason]
|
233
|
+
end
|
234
|
+
|
225
235
|
# @return [String]
|
226
236
|
def error_description
|
227
237
|
@data[:error_description]
|
@@ -17,6 +17,10 @@ module Aws::SSOOIDC
|
|
17
17
|
# `access_denied`.
|
18
18
|
# @return [String]
|
19
19
|
#
|
20
|
+
# @!attribute [rw] reason
|
21
|
+
# A string that uniquely identifies a reason for the error.
|
22
|
+
# @return [String]
|
23
|
+
#
|
20
24
|
# @!attribute [rw] error_description
|
21
25
|
# Human-readable text providing additional information, used to assist
|
22
26
|
# the client developer in understanding the error that occurred.
|
@@ -26,6 +30,7 @@ module Aws::SSOOIDC
|
|
26
30
|
#
|
27
31
|
class AccessDeniedException < Struct.new(
|
28
32
|
:error,
|
33
|
+
:reason,
|
29
34
|
:error_description)
|
30
35
|
SENSITIVE = []
|
31
36
|
include Aws::Structure
|
@@ -54,14 +59,20 @@ module Aws::SSOOIDC
|
|
54
59
|
end
|
55
60
|
|
56
61
|
# This structure contains Amazon Web Services-specific parameter
|
57
|
-
# extensions
|
58
|
-
#
|
62
|
+
# extensions and the [identity context][1].
|
63
|
+
#
|
64
|
+
#
|
65
|
+
#
|
66
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-overview.html
|
59
67
|
#
|
60
68
|
# @!attribute [rw] identity_context
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
69
|
+
# The trusted context assertion is signed and encrypted by STS. It
|
70
|
+
# provides access to `sts:identity_context` claim in the `idToken`
|
71
|
+
# without JWT parsing
|
72
|
+
#
|
73
|
+
# Identity context comprises information that Amazon Web Services
|
74
|
+
# services use to make authorization decisions when they receive
|
75
|
+
# requests.
|
65
76
|
# @return [String]
|
66
77
|
#
|
67
78
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/AwsAdditionalDetails AWS API Documentation
|
@@ -122,11 +133,9 @@ module Aws::SSOOIDC
|
|
122
133
|
# @return [String]
|
123
134
|
#
|
124
135
|
# @!attribute [rw] scope
|
125
|
-
# The list of scopes for which authorization is requested.
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# scopes that are configured for the client during the call to
|
129
|
-
# RegisterClient.
|
136
|
+
# The list of scopes for which authorization is requested. This
|
137
|
+
# parameter has no effect; the access token will always include all
|
138
|
+
# scopes configured during client registration.
|
130
139
|
# @return [Array<String>]
|
131
140
|
#
|
132
141
|
# @!attribute [rw] redirect_uri
|
@@ -376,10 +385,8 @@ module Aws::SSOOIDC
|
|
376
385
|
# @return [Array<String>]
|
377
386
|
#
|
378
387
|
# @!attribute [rw] aws_additional_details
|
379
|
-
# A structure containing information from
|
380
|
-
#
|
381
|
-
# `idToken`. This provides direct access to identity information
|
382
|
-
# without requiring JWT parsing.
|
388
|
+
# A structure containing information from IAM Identity Center managed
|
389
|
+
# user and group information.
|
383
390
|
# @return [Types::AwsAdditionalDetails]
|
384
391
|
#
|
385
392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateTokenWithIAMResponse AWS API Documentation
|
@@ -538,6 +545,10 @@ module Aws::SSOOIDC
|
|
538
545
|
# `invalid_request`.
|
539
546
|
# @return [String]
|
540
547
|
#
|
548
|
+
# @!attribute [rw] reason
|
549
|
+
# A string that uniquely identifies a reason for the error.
|
550
|
+
# @return [String]
|
551
|
+
#
|
541
552
|
# @!attribute [rw] error_description
|
542
553
|
# Human-readable text providing additional information, used to assist
|
543
554
|
# the client developer in understanding the error that occurred.
|
@@ -547,6 +558,7 @@ module Aws::SSOOIDC
|
|
547
558
|
#
|
548
559
|
class InvalidRequestException < Struct.new(
|
549
560
|
:error,
|
561
|
+
:reason,
|
550
562
|
:error_description)
|
551
563
|
SENSITIVE = []
|
552
564
|
include Aws::Structure
|
data/lib/aws-sdk-ssooidc.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
data/lib/aws-sdk-sts.rb
CHANGED