aws-sdk-core 3.132.0 → 3.147.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 +80 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/errors.rb +13 -0
- data/lib/aws-sdk-core/plugins/bearer_authorization.rb +67 -0
- data/lib/aws-sdk-core/plugins/recursion_detection.rb +12 -1
- data/lib/aws-sdk-core/plugins/signature_v4.rb +12 -7
- data/lib/aws-sdk-core/refreshing_token.rb +71 -0
- data/lib/aws-sdk-core/shared_config.rb +41 -0
- data/lib/aws-sdk-core/sso_token_provider.rb +134 -0
- data/lib/aws-sdk-core/static_token_provider.rb +14 -0
- data/lib/aws-sdk-core/token.rb +31 -0
- data/lib/aws-sdk-core/token_provider.rb +15 -0
- data/lib/aws-sdk-core/token_provider_chain.rb +51 -0
- data/lib/aws-sdk-core.rb +10 -0
- data/lib/aws-sdk-sso/client.rb +26 -31
- data/lib/aws-sdk-sso/types.rb +20 -29
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +574 -0
- data/lib/aws-sdk-ssooidc/client_api.rb +216 -0
- data/lib/aws-sdk-ssooidc/customizations.rb +1 -0
- data/lib/aws-sdk-ssooidc/errors.rb +290 -0
- data/lib/aws-sdk-ssooidc/resource.rb +26 -0
- data/lib/aws-sdk-ssooidc/types.rb +498 -0
- data/lib/aws-sdk-ssooidc.rb +55 -0
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- metadata +16 -2
data/lib/aws-sdk-sso/client.rb
CHANGED
@@ -358,13 +358,12 @@ module Aws::SSO
|
|
358
358
|
# The friendly name of the role that is assigned to the user.
|
359
359
|
#
|
360
360
|
# @option params [required, String] :account_id
|
361
|
-
# The identifier for the
|
362
|
-
# the user.
|
361
|
+
# The identifier for the AWS account that is assigned to the user.
|
363
362
|
#
|
364
363
|
# @option params [required, String] :access_token
|
365
364
|
# The token issued by the `CreateToken` API call. For more information,
|
366
|
-
# see [CreateToken][1] in the *
|
367
|
-
#
|
365
|
+
# see [CreateToken][1] in the *IAM Identity Center OIDC API Reference
|
366
|
+
# Guide*.
|
368
367
|
#
|
369
368
|
#
|
370
369
|
#
|
@@ -398,8 +397,7 @@ module Aws::SSO
|
|
398
397
|
req.send_request(options)
|
399
398
|
end
|
400
399
|
|
401
|
-
# Lists all roles that are assigned to the user for a given
|
402
|
-
# Services account.
|
400
|
+
# Lists all roles that are assigned to the user for a given AWS account.
|
403
401
|
#
|
404
402
|
# @option params [String] :next_token
|
405
403
|
# The page token from the previous response output when you request
|
@@ -410,16 +408,15 @@ module Aws::SSO
|
|
410
408
|
#
|
411
409
|
# @option params [required, String] :access_token
|
412
410
|
# The token issued by the `CreateToken` API call. For more information,
|
413
|
-
# see [CreateToken][1] in the *
|
414
|
-
#
|
411
|
+
# see [CreateToken][1] in the *IAM Identity Center OIDC API Reference
|
412
|
+
# Guide*.
|
415
413
|
#
|
416
414
|
#
|
417
415
|
#
|
418
416
|
# [1]: https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html
|
419
417
|
#
|
420
418
|
# @option params [required, String] :account_id
|
421
|
-
# The identifier for the
|
422
|
-
# the user.
|
419
|
+
# The identifier for the AWS account that is assigned to the user.
|
423
420
|
#
|
424
421
|
# @return [Types::ListAccountRolesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
425
422
|
#
|
@@ -453,11 +450,10 @@ module Aws::SSO
|
|
453
450
|
req.send_request(options)
|
454
451
|
end
|
455
452
|
|
456
|
-
# Lists all
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
# paginated response.
|
453
|
+
# Lists all AWS accounts assigned to the user. These AWS accounts are
|
454
|
+
# assigned by the administrator of the account. For more information,
|
455
|
+
# see [Assign User Access][1] in the *IAM Identity Center User Guide*.
|
456
|
+
# This operation returns a paginated response.
|
461
457
|
#
|
462
458
|
#
|
463
459
|
#
|
@@ -472,8 +468,8 @@ module Aws::SSO
|
|
472
468
|
#
|
473
469
|
# @option params [required, String] :access_token
|
474
470
|
# The token issued by the `CreateToken` API call. For more information,
|
475
|
-
# see [CreateToken][1] in the *
|
476
|
-
#
|
471
|
+
# see [CreateToken][1] in the *IAM Identity Center OIDC API Reference
|
472
|
+
# Guide*.
|
477
473
|
#
|
478
474
|
#
|
479
475
|
#
|
@@ -512,21 +508,20 @@ module Aws::SSO
|
|
512
508
|
end
|
513
509
|
|
514
510
|
# Removes the locally stored SSO tokens from the client-side cache and
|
515
|
-
# sends an API call to the
|
516
|
-
#
|
511
|
+
# sends an API call to the IAM Identity Center service to invalidate the
|
512
|
+
# corresponding server-side IAM Identity Center sign in session.
|
517
513
|
#
|
518
|
-
# <note markdown="1"> If a user uses
|
519
|
-
#
|
520
|
-
#
|
521
|
-
#
|
522
|
-
#
|
523
|
-
#
|
524
|
-
# to the client.
|
514
|
+
# <note markdown="1"> If a user uses IAM Identity Center to access the AWS CLI, the user’s
|
515
|
+
# IAM Identity Center sign in session is used to obtain an IAM session,
|
516
|
+
# as specified in the corresponding IAM Identity Center permission set.
|
517
|
+
# More specifically, IAM Identity Center assumes an IAM role in the
|
518
|
+
# target account on behalf of the user, and the corresponding temporary
|
519
|
+
# AWS credentials are returned to the client.
|
525
520
|
#
|
526
521
|
# After user logout, any existing IAM role sessions that were created by
|
527
|
-
# using
|
522
|
+
# using IAM Identity Center permission sets continue based on the
|
528
523
|
# duration configured in the permission set. For more information, see
|
529
|
-
# [User authentications][1] in the *
|
524
|
+
# [User authentications][1] in the *IAM Identity Center User Guide*.
|
530
525
|
#
|
531
526
|
# </note>
|
532
527
|
#
|
@@ -536,8 +531,8 @@ module Aws::SSO
|
|
536
531
|
#
|
537
532
|
# @option params [required, String] :access_token
|
538
533
|
# The token issued by the `CreateToken` API call. For more information,
|
539
|
-
# see [CreateToken][1] in the *
|
540
|
-
#
|
534
|
+
# see [CreateToken][1] in the *IAM Identity Center OIDC API Reference
|
535
|
+
# Guide*.
|
541
536
|
#
|
542
537
|
#
|
543
538
|
#
|
@@ -573,7 +568,7 @@ module Aws::SSO
|
|
573
568
|
params: params,
|
574
569
|
config: config)
|
575
570
|
context[:gem_name] = 'aws-sdk-core'
|
576
|
-
context[:gem_version] = '3.
|
571
|
+
context[:gem_version] = '3.147.0'
|
577
572
|
Seahorse::Client::Request.new(handlers, context)
|
578
573
|
end
|
579
574
|
|
data/lib/aws-sdk-sso/types.rb
CHANGED
@@ -10,21 +10,18 @@
|
|
10
10
|
module Aws::SSO
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# Provides information about your
|
13
|
+
# Provides information about your AWS account.
|
14
14
|
#
|
15
15
|
# @!attribute [rw] account_id
|
16
|
-
# The identifier of the
|
17
|
-
# to the user.
|
16
|
+
# The identifier of the AWS account that is assigned to the user.
|
18
17
|
# @return [String]
|
19
18
|
#
|
20
19
|
# @!attribute [rw] account_name
|
21
|
-
# The display name of the
|
22
|
-
# to the user.
|
20
|
+
# The display name of the AWS account that is assigned to the user.
|
23
21
|
# @return [String]
|
24
22
|
#
|
25
23
|
# @!attribute [rw] email_address
|
26
|
-
# The email address of the
|
27
|
-
# assigned to the user.
|
24
|
+
# The email address of the AWS account that is assigned to the user.
|
28
25
|
# @return [String]
|
29
26
|
#
|
30
27
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/AccountInfo AWS API Documentation
|
@@ -51,14 +48,13 @@ module Aws::SSO
|
|
51
48
|
# @return [String]
|
52
49
|
#
|
53
50
|
# @!attribute [rw] account_id
|
54
|
-
# The identifier for the
|
55
|
-
# to the user.
|
51
|
+
# The identifier for the AWS account that is assigned to the user.
|
56
52
|
# @return [String]
|
57
53
|
#
|
58
54
|
# @!attribute [rw] access_token
|
59
55
|
# The token issued by the `CreateToken` API call. For more
|
60
|
-
# information, see [CreateToken][1] in the *
|
61
|
-
#
|
56
|
+
# information, see [CreateToken][1] in the *IAM Identity Center OIDC
|
57
|
+
# API Reference Guide*.
|
62
58
|
#
|
63
59
|
#
|
64
60
|
#
|
@@ -122,8 +118,8 @@ module Aws::SSO
|
|
122
118
|
#
|
123
119
|
# @!attribute [rw] access_token
|
124
120
|
# The token issued by the `CreateToken` API call. For more
|
125
|
-
# information, see [CreateToken][1] in the *
|
126
|
-
#
|
121
|
+
# information, see [CreateToken][1] in the *IAM Identity Center OIDC
|
122
|
+
# API Reference Guide*.
|
127
123
|
#
|
128
124
|
#
|
129
125
|
#
|
@@ -131,8 +127,7 @@ module Aws::SSO
|
|
131
127
|
# @return [String]
|
132
128
|
#
|
133
129
|
# @!attribute [rw] account_id
|
134
|
-
# The identifier for the
|
135
|
-
# to the user.
|
130
|
+
# The identifier for the AWS account that is assigned to the user.
|
136
131
|
# @return [String]
|
137
132
|
#
|
138
133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/ListAccountRolesRequest AWS API Documentation
|
@@ -184,8 +179,8 @@ module Aws::SSO
|
|
184
179
|
#
|
185
180
|
# @!attribute [rw] access_token
|
186
181
|
# The token issued by the `CreateToken` API call. For more
|
187
|
-
# information, see [CreateToken][1] in the *
|
188
|
-
#
|
182
|
+
# information, see [CreateToken][1] in the *IAM Identity Center OIDC
|
183
|
+
# API Reference Guide*.
|
189
184
|
#
|
190
185
|
#
|
191
186
|
#
|
@@ -229,8 +224,8 @@ module Aws::SSO
|
|
229
224
|
#
|
230
225
|
# @!attribute [rw] access_token
|
231
226
|
# The token issued by the `CreateToken` API call. For more
|
232
|
-
# information, see [CreateToken][1] in the *
|
233
|
-
#
|
227
|
+
# information, see [CreateToken][1] in the *IAM Identity Center OIDC
|
228
|
+
# API Reference Guide*.
|
234
229
|
#
|
235
230
|
#
|
236
231
|
#
|
@@ -264,8 +259,7 @@ module Aws::SSO
|
|
264
259
|
# @!attribute [rw] access_key_id
|
265
260
|
# The identifier used for the temporary security credentials. For more
|
266
261
|
# information, see [Using Temporary Security Credentials to Request
|
267
|
-
# Access to
|
268
|
-
# Services IAM User Guide*.
|
262
|
+
# Access to AWS Resources][1] in the *AWS IAM User Guide*.
|
269
263
|
#
|
270
264
|
#
|
271
265
|
#
|
@@ -274,9 +268,8 @@ module Aws::SSO
|
|
274
268
|
#
|
275
269
|
# @!attribute [rw] secret_access_key
|
276
270
|
# The key that is used to sign the request. For more information, see
|
277
|
-
# [Using Temporary Security Credentials to Request Access to
|
278
|
-
#
|
279
|
-
# Guide*.
|
271
|
+
# [Using Temporary Security Credentials to Request Access to AWS
|
272
|
+
# Resources][1] in the *AWS IAM User Guide*.
|
280
273
|
#
|
281
274
|
#
|
282
275
|
#
|
@@ -285,9 +278,8 @@ module Aws::SSO
|
|
285
278
|
#
|
286
279
|
# @!attribute [rw] session_token
|
287
280
|
# The token used for temporary credentials. For more information, see
|
288
|
-
# [Using Temporary Security Credentials to Request Access to
|
289
|
-
#
|
290
|
-
# Guide*.
|
281
|
+
# [Using Temporary Security Credentials to Request Access to AWS
|
282
|
+
# Resources][1] in the *AWS IAM User Guide*.
|
291
283
|
#
|
292
284
|
#
|
293
285
|
#
|
@@ -316,8 +308,7 @@ module Aws::SSO
|
|
316
308
|
# @return [String]
|
317
309
|
#
|
318
310
|
# @!attribute [rw] account_id
|
319
|
-
# The identifier of the
|
320
|
-
# user.
|
311
|
+
# The identifier of the AWS account assigned to the user.
|
321
312
|
# @return [String]
|
322
313
|
#
|
323
314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/RoleInfo AWS API Documentation
|