aws-sdk-core 3.156.0 → 3.159.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 +20 -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 +26 -11
- data/lib/aws-sdk-ssooidc/types.rb +45 -9
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/seahorse/client/plugins/request_callback.rb +9 -9
- 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: dff266555aa0d9f307a13cec1a22d32ca3c3b0210e384d3c00823dcf5caeec0d
|
4
|
+
data.tar.gz: e81c2da1c51ad5689612e9ebb6e73711dbbe0218da6fa685682da681643bb61a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fb4a8c5eeadf9ca8f7191e875a48649e11500cab94dfbd652bc215ce30dc390d0c19f8fa3834c6526c7232c8ff0c0241de8758678aed6307fddfd28c78f8e09
|
7
|
+
data.tar.gz: c2b65a09b76f4ec4ff7d5ec9af3354ff52fe4040f6212a783d17c055c8c950eff4fc08bde600f52d755907ddbcd62f46e36b3c5877e8bf6353d9be0790fa3d06
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.159.0 (2022-10-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
8
|
+
|
9
|
+
3.158.1 (2022-10-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Issue - Ensure that the ReadCallbackIO is always unwrapped (#2761).
|
13
|
+
|
14
|
+
3.158.0 (2022-09-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
18
|
+
|
19
|
+
3.157.0 (2022-09-29)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
23
|
+
|
4
24
|
3.156.0 (2022-09-27)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.159.0
|
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
@@ -364,8 +364,14 @@ module Aws::SSOOIDC
|
|
364
364
|
# the persisted result of the RegisterClient API.
|
365
365
|
#
|
366
366
|
# @option params [required, String] :grant_type
|
367
|
-
# Supports grant types for authorization code, refresh token, and
|
368
|
-
# code request.
|
367
|
+
# Supports grant types for the authorization code, refresh token, and
|
368
|
+
# device code request. For device code requests, specify the following
|
369
|
+
# value:
|
370
|
+
#
|
371
|
+
# `urn:ietf:params:oauth:grant-type:device_code `
|
372
|
+
#
|
373
|
+
# For information about how to obtain the device code, see the
|
374
|
+
# StartDeviceAuthorization topic.
|
369
375
|
#
|
370
376
|
# @option params [String] :device_code
|
371
377
|
# Used only when calling this API for the device code grant type. This
|
@@ -379,8 +385,17 @@ module Aws::SSOOIDC
|
|
379
385
|
# access to a token.
|
380
386
|
#
|
381
387
|
# @option params [String] :refresh_token
|
388
|
+
# Currently, `refreshToken` is not yet implemented and is not supported.
|
389
|
+
# For more information about the features and limitations of the current
|
390
|
+
# IAM Identity Center OIDC implementation, see *Considerations for Using
|
391
|
+
# this Guide* in the [IAM Identity Center OIDC API Reference][1].
|
392
|
+
#
|
382
393
|
# The token used to obtain an access token in the event that the access
|
383
|
-
# token is invalid or expired.
|
394
|
+
# token is invalid or expired.
|
395
|
+
#
|
396
|
+
#
|
397
|
+
#
|
398
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html
|
384
399
|
#
|
385
400
|
# @option params [Array<String>] :scope
|
386
401
|
# The list of scopes that is defined by the client. Upon authorization,
|
@@ -430,9 +445,9 @@ module Aws::SSOOIDC
|
|
430
445
|
req.send_request(options)
|
431
446
|
end
|
432
447
|
|
433
|
-
# Registers a client with
|
434
|
-
# device authorization. The output should be persisted for
|
435
|
-
# many authentication requests.
|
448
|
+
# Registers a client with IAM Identity Center. This allows clients to
|
449
|
+
# initiate device authorization. The output should be persisted for
|
450
|
+
# reuse through many authentication requests.
|
436
451
|
#
|
437
452
|
# @option params [required, String] :client_name
|
438
453
|
# The friendly name of the client.
|
@@ -486,16 +501,16 @@ module Aws::SSOOIDC
|
|
486
501
|
#
|
487
502
|
# @option params [required, String] :client_id
|
488
503
|
# The unique identifier string for the client that is registered with
|
489
|
-
#
|
490
|
-
# RegisterClient API operation.
|
504
|
+
# IAM Identity Center. This value should come from the persisted result
|
505
|
+
# of the RegisterClient API operation.
|
491
506
|
#
|
492
507
|
# @option params [required, String] :client_secret
|
493
508
|
# A secret string that is generated for the client. This value should
|
494
509
|
# come from the persisted result of the RegisterClient API operation.
|
495
510
|
#
|
496
511
|
# @option params [required, String] :start_url
|
497
|
-
# The URL for the AWS
|
498
|
-
# the
|
512
|
+
# The URL for the AWS access portal. For more information, see [Using
|
513
|
+
# the AWS access portal][1] in the *IAM Identity Center User Guide*.
|
499
514
|
#
|
500
515
|
#
|
501
516
|
#
|
@@ -549,7 +564,7 @@ module Aws::SSOOIDC
|
|
549
564
|
params: params,
|
550
565
|
config: config)
|
551
566
|
context[:gem_name] = 'aws-sdk-core'
|
552
|
-
context[:gem_version] = '3.
|
567
|
+
context[:gem_version] = '3.158.1'
|
553
568
|
Seahorse::Client::Request.new(handlers, context)
|
554
569
|
end
|
555
570
|
|
@@ -70,8 +70,14 @@ module Aws::SSOOIDC
|
|
70
70
|
# @return [String]
|
71
71
|
#
|
72
72
|
# @!attribute [rw] grant_type
|
73
|
-
# Supports grant types for authorization code, refresh token, and
|
74
|
-
# device code request.
|
73
|
+
# Supports grant types for the authorization code, refresh token, and
|
74
|
+
# device code request. For device code requests, specify the following
|
75
|
+
# value:
|
76
|
+
#
|
77
|
+
# `urn:ietf:params:oauth:grant-type:device_code `
|
78
|
+
#
|
79
|
+
# For information about how to obtain the device code, see the
|
80
|
+
# StartDeviceAuthorization topic.
|
75
81
|
# @return [String]
|
76
82
|
#
|
77
83
|
# @!attribute [rw] device_code
|
@@ -88,9 +94,18 @@ module Aws::SSOOIDC
|
|
88
94
|
# @return [String]
|
89
95
|
#
|
90
96
|
# @!attribute [rw] refresh_token
|
97
|
+
# Currently, `refreshToken` is not yet implemented and is not
|
98
|
+
# supported. For more information about the features and limitations
|
99
|
+
# of the current IAM Identity Center OIDC implementation, see
|
100
|
+
# *Considerations for Using this Guide* in the [IAM Identity Center
|
101
|
+
# OIDC API Reference][1].
|
102
|
+
#
|
91
103
|
# The token used to obtain an access token in the event that the
|
92
|
-
# access token is invalid or expired.
|
93
|
-
#
|
104
|
+
# access token is invalid or expired.
|
105
|
+
#
|
106
|
+
#
|
107
|
+
#
|
108
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html
|
94
109
|
# @return [String]
|
95
110
|
#
|
96
111
|
# @!attribute [rw] scope
|
@@ -121,7 +136,8 @@ module Aws::SSOOIDC
|
|
121
136
|
end
|
122
137
|
|
123
138
|
# @!attribute [rw] access_token
|
124
|
-
# An opaque token to access
|
139
|
+
# An opaque token to access IAM Identity Center resources assigned to
|
140
|
+
# a user.
|
125
141
|
# @return [String]
|
126
142
|
#
|
127
143
|
# @!attribute [rw] token_type
|
@@ -134,13 +150,33 @@ module Aws::SSOOIDC
|
|
134
150
|
# @return [Integer]
|
135
151
|
#
|
136
152
|
# @!attribute [rw] refresh_token
|
153
|
+
# Currently, `refreshToken` is not yet implemented and is not
|
154
|
+
# supported. For more information about the features and limitations
|
155
|
+
# of the current IAM Identity Center OIDC implementation, see
|
156
|
+
# *Considerations for Using this Guide* in the [IAM Identity Center
|
157
|
+
# OIDC API Reference][1].
|
158
|
+
#
|
137
159
|
# A token that, if present, can be used to refresh a previously issued
|
138
160
|
# access token that might have expired.
|
161
|
+
#
|
162
|
+
#
|
163
|
+
#
|
164
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html
|
139
165
|
# @return [String]
|
140
166
|
#
|
141
167
|
# @!attribute [rw] id_token
|
168
|
+
# Currently, `idToken` is not yet implemented and is not supported.
|
169
|
+
# For more information about the features and limitations of the
|
170
|
+
# current IAM Identity Center OIDC implementation, see *Considerations
|
171
|
+
# for Using this Guide* in the [IAM Identity Center OIDC API
|
172
|
+
# Reference][1].
|
173
|
+
#
|
142
174
|
# The identifier of the user that associated with the access token, if
|
143
175
|
# present.
|
176
|
+
#
|
177
|
+
#
|
178
|
+
#
|
179
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html
|
144
180
|
# @return [String]
|
145
181
|
#
|
146
182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateTokenResponse AWS API Documentation
|
@@ -385,8 +421,8 @@ module Aws::SSOOIDC
|
|
385
421
|
#
|
386
422
|
# @!attribute [rw] client_id
|
387
423
|
# The unique identifier string for the client that is registered with
|
388
|
-
#
|
389
|
-
# RegisterClient API operation.
|
424
|
+
# IAM Identity Center. This value should come from the persisted
|
425
|
+
# result of the RegisterClient API operation.
|
390
426
|
# @return [String]
|
391
427
|
#
|
392
428
|
# @!attribute [rw] client_secret
|
@@ -395,8 +431,8 @@ module Aws::SSOOIDC
|
|
395
431
|
# @return [String]
|
396
432
|
#
|
397
433
|
# @!attribute [rw] start_url
|
398
|
-
# The URL for the AWS
|
399
|
-
#
|
434
|
+
# The URL for the AWS access portal. For more information, see [Using
|
435
|
+
# the AWS access portal][1] in the *IAM Identity Center User Guide*.
|
400
436
|
#
|
401
437
|
#
|
402
438
|
#
|
data/lib/aws-sdk-ssooidc.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -2299,7 +2299,7 @@ module Aws::STS
|
|
2299
2299
|
params: params,
|
2300
2300
|
config: config)
|
2301
2301
|
context[:gem_name] = 'aws-sdk-core'
|
2302
|
-
context[:gem_version] = '3.
|
2302
|
+
context[:gem_version] = '3.159.0'
|
2303
2303
|
Seahorse::Client::Request.new(handlers, context)
|
2304
2304
|
end
|
2305
2305
|
|
data/lib/aws-sdk-sts.rb
CHANGED
@@ -80,18 +80,18 @@ bytes in the body.
|
|
80
80
|
context.http_request.body,
|
81
81
|
callback
|
82
82
|
)
|
83
|
-
|
83
|
+
@handler.call(context).tap do
|
84
|
+
unwrap_callback_body(context)
|
85
|
+
end
|
86
|
+
else
|
87
|
+
@handler.call(context)
|
84
88
|
end
|
85
|
-
@handler.call(context)
|
86
89
|
end
|
87
90
|
|
88
|
-
def
|
89
|
-
|
90
|
-
|
91
|
-
body =
|
92
|
-
if body.is_a? ReadCallbackIO
|
93
|
-
context.http_request.body = body.io
|
94
|
-
end
|
91
|
+
def unwrap_callback_body(context)
|
92
|
+
body = context.http_request.body
|
93
|
+
if body.is_a? ReadCallbackIO
|
94
|
+
context.http_request.body = body.io
|
95
95
|
end
|
96
96
|
end
|
97
97
|
end
|
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.159.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: 2022-
|
11
|
+
date: 2022-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|