aws-sdk-core 3.157.0 → 3.158.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 +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: 928b2da70d94db4871b85d48b62af8cf7ac1caafb7739192df938a532bebe205
|
4
|
+
data.tar.gz: 5c87fe225cced2fa51b5f204131fefc8b35ed0ca0315f362363deb4047890e9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11e4d7f3c7fc9162e1b1fb6976e68b794fa68843e1144266b6e73ae980c1a57beb623bb9729c58eacfff577456da03df86475921f6c9793c27f4caa6a4768628
|
7
|
+
data.tar.gz: 71447e2b792db6bc08aa2e07f12af9b7e0ad282d2988384bbd2a7ba1eb1b96a62e0f8ddf4dcda864e84a8cbe4fd57f3e7ccc53457105f61ac7e1241a3a2a7d88
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.158.1 (2022-10-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Ensure that the ReadCallbackIO is always unwrapped (#2761).
|
8
|
+
|
9
|
+
3.158.0 (2022-09-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updated Aws::SSO::Client with the latest API changes.
|
13
|
+
|
4
14
|
3.157.0 (2022-09-29)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.158.1
|
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.0'
|
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.158.1'
|
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.158.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: 2022-
|
11
|
+
date: 2022-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|