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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ac30adca63d6bf315260154dc33727129c2fd910b6bbd6c6cd5b49f8bc59402
4
- data.tar.gz: a6b40a9ffccbf7dff08065bf0eda69432e992ff4eee5fe48bbc677118ef637f8
3
+ metadata.gz: f37e6727e5279cbbd03f6df6988d8c24c0eded16e39ec239431e8aed96fbc696
4
+ data.tar.gz: 37b13a3e128f56672ed802a5b5450be306d5eeef608222c6cc2dda891356d28d
5
5
  SHA512:
6
- metadata.gz: 24b052f1d8a677bf19d934887476f631d4209bc20508be77fc6bd821865c33f5582351c03bce191e017390770fc317842f47622c15364a5ff983aca447d0f7c0
7
- data.tar.gz: 4b1c5cabc664cdc33a973eaa22b9caab43713bdd1f43b5fc56066fd24df70f945047dac1acd963aff80924e4c8fc6e418aec4c75285c07a06d12eebadbda2787
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.231.0
1
+ 3.233.0
@@ -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.231.0'
701
+ context[:gem_version] = '3.233.0'
702
702
  Seahorse::Client::Request.new(handlers, context)
703
703
  end
704
704
 
@@ -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?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
32
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
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
@@ -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.231.0'
59
+ GEM_VERSION = '3.233.0'
60
60
 
61
61
  end
62
62
 
@@ -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. The access
527
- # token that is issued is limited to the scopes that are granted. If
528
- # this value is not specified, IAM Identity Center authorizes all scopes
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 clients and
619
- # applications that are authenticated using IAM entities. The access
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.231.0'
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 for the token endpoint responses and includes the identity
58
- # context.
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
- # STS context assertion that carries a user identifier to the Amazon
62
- # Web Services service that it calls and can be used to obtain an
63
- # identity-enhanced IAM role session. This value corresponds to the
64
- # `sts:identity_context` claim in the ID token.
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. The access
126
- # token that is issued is limited to the scopes that are granted. If
127
- # this value is not specified, IAM Identity Center authorizes all
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 the `idToken`. Only the
380
- # `identityContext` is in it, which is a value extracted from the
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
@@ -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.231.0'
59
+ GEM_VERSION = '3.233.0'
60
60
 
61
61
  end
62
62
 
@@ -2601,7 +2601,7 @@ module Aws::STS
2601
2601
  tracer: tracer
2602
2602
  )
2603
2603
  context[:gem_name] = 'aws-sdk-core'
2604
- context[:gem_version] = '3.231.0'
2604
+ context[:gem_version] = '3.233.0'
2605
2605
  Seahorse::Client::Request.new(handlers, context)
2606
2606
  end
2607
2607
 
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # utility classes
4
3
  module Aws
5
4
  module STS
6
5
  autoload :Presigner, 'aws-sdk-sts/presigner'
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.231.0'
59
+ GEM_VERSION = '3.233.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.231.0
4
+ version: 3.233.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services