aws-sdk-core 3.251.0 → 3.253.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-signin/client.rb +407 -1
- data/lib/aws-sdk-signin/client_api.rb +325 -0
- data/lib/aws-sdk-signin/endpoint_parameters.rb +16 -0
- data/lib/aws-sdk-signin/endpoint_provider.rb +48 -0
- data/lib/aws-sdk-signin/endpoints.rb +114 -1
- data/lib/aws-sdk-signin/errors.rb +63 -0
- data/lib/aws-sdk-signin/types.rb +613 -3
- data/lib/aws-sdk-signin.rb +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 +1 -1
- 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
- metadata +1 -1
data/lib/aws-sdk-signin/types.rb
CHANGED
|
@@ -45,9 +45,7 @@ module Aws::Signin
|
|
|
45
45
|
|
|
46
46
|
# AWS credentials structure containing temporary access credentials
|
|
47
47
|
#
|
|
48
|
-
#
|
|
49
|
-
# be based on CLI policy (CLI team needs to create it). Similar to cloud
|
|
50
|
-
# shell implementation.
|
|
48
|
+
# Scoped, temporary AWS credentials with a 15-minute duration.
|
|
51
49
|
#
|
|
52
50
|
# @!attribute [rw] access_key_id
|
|
53
51
|
# AWS access key ID for temporary credentials
|
|
@@ -71,6 +69,30 @@ module Aws::Signin
|
|
|
71
69
|
include Aws::Structure
|
|
72
70
|
end
|
|
73
71
|
|
|
72
|
+
# Error thrown when request conflicts with current state
|
|
73
|
+
#
|
|
74
|
+
# HTTP Status Code: 409 Conflict
|
|
75
|
+
#
|
|
76
|
+
# Used when the request conflicts with the current state of the resource
|
|
77
|
+
#
|
|
78
|
+
# @!attribute [rw] error
|
|
79
|
+
# OAuth 2.0 error code indicating conflict Will be CONFLICT
|
|
80
|
+
# @return [String]
|
|
81
|
+
#
|
|
82
|
+
# @!attribute [rw] message
|
|
83
|
+
# Detailed message explaining the conflict Provides specific
|
|
84
|
+
# information about what caused the conflict
|
|
85
|
+
# @return [String]
|
|
86
|
+
#
|
|
87
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/ConflictException AWS API Documentation
|
|
88
|
+
#
|
|
89
|
+
class ConflictException < Struct.new(
|
|
90
|
+
:error,
|
|
91
|
+
:message)
|
|
92
|
+
SENSITIVE = []
|
|
93
|
+
include Aws::Structure
|
|
94
|
+
end
|
|
95
|
+
|
|
74
96
|
# Input structure for CreateOAuth2Token operation
|
|
75
97
|
#
|
|
76
98
|
# Contains flattened token operation inputs for both authorization code
|
|
@@ -208,6 +230,181 @@ module Aws::Signin
|
|
|
208
230
|
include Aws::Structure
|
|
209
231
|
end
|
|
210
232
|
|
|
233
|
+
# Input structure for CreateOAuth2TokenWithIAM operation
|
|
234
|
+
#
|
|
235
|
+
# @!attribute [rw] grant_type
|
|
236
|
+
# OAuth 2.0 grant type. Must be "client\_credentials".
|
|
237
|
+
# @return [String]
|
|
238
|
+
#
|
|
239
|
+
# @!attribute [rw] resource
|
|
240
|
+
# The OAuth resource for which the access token is requested. Example:
|
|
241
|
+
# "aws-mcp.amazonaws.com".
|
|
242
|
+
# @return [String]
|
|
243
|
+
#
|
|
244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/CreateOAuth2TokenWithIAMRequest AWS API Documentation
|
|
245
|
+
#
|
|
246
|
+
class CreateOAuth2TokenWithIAMRequest < Struct.new(
|
|
247
|
+
:grant_type,
|
|
248
|
+
:resource)
|
|
249
|
+
SENSITIVE = []
|
|
250
|
+
include Aws::Structure
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
# Output structure for CreateOAuth2TokenWithIAM operation
|
|
254
|
+
#
|
|
255
|
+
# Contains the JWT access token, token type, and expiration per RFC 6749
|
|
256
|
+
# §5.1.
|
|
257
|
+
#
|
|
258
|
+
# @!attribute [rw] access_token
|
|
259
|
+
# JWT access token containing principal identity, resource scope, and
|
|
260
|
+
# session metadata
|
|
261
|
+
# @return [String]
|
|
262
|
+
#
|
|
263
|
+
# @!attribute [rw] token_type
|
|
264
|
+
# Always "Bearer" per OAuth 2.1 specification
|
|
265
|
+
# @return [String]
|
|
266
|
+
#
|
|
267
|
+
# @!attribute [rw] expires_in
|
|
268
|
+
# Token lifetime in seconds. Value is the minimum of session validity
|
|
269
|
+
# and 1 hour.
|
|
270
|
+
# @return [Integer]
|
|
271
|
+
#
|
|
272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/CreateOAuth2TokenWithIAMResponse AWS API Documentation
|
|
273
|
+
#
|
|
274
|
+
class CreateOAuth2TokenWithIAMResponse < Struct.new(
|
|
275
|
+
:access_token,
|
|
276
|
+
:token_type,
|
|
277
|
+
:expires_in)
|
|
278
|
+
SENSITIVE = [:access_token]
|
|
279
|
+
include Aws::Structure
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
# Input for DeleteConsoleAuthorizationConfiguration operation
|
|
283
|
+
#
|
|
284
|
+
# @!attribute [rw] target_id
|
|
285
|
+
# Target account identifier
|
|
286
|
+
# @return [String]
|
|
287
|
+
#
|
|
288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/DeleteConsoleAuthorizationConfigurationInput AWS API Documentation
|
|
289
|
+
#
|
|
290
|
+
class DeleteConsoleAuthorizationConfigurationInput < Struct.new(
|
|
291
|
+
:target_id)
|
|
292
|
+
SENSITIVE = []
|
|
293
|
+
include Aws::Structure
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
# Output for DeleteConsoleAuthorizationConfiguration operation
|
|
297
|
+
#
|
|
298
|
+
# @!attribute [rw] target_id
|
|
299
|
+
# Target account identifier
|
|
300
|
+
# @return [String]
|
|
301
|
+
#
|
|
302
|
+
# @!attribute [rw] scope
|
|
303
|
+
# Authorization scope
|
|
304
|
+
# @return [String]
|
|
305
|
+
#
|
|
306
|
+
# @!attribute [rw] console_authorization_enabled
|
|
307
|
+
# Whether console authorization is enabled
|
|
308
|
+
# @return [Boolean]
|
|
309
|
+
#
|
|
310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/DeleteConsoleAuthorizationConfigurationOutput AWS API Documentation
|
|
311
|
+
#
|
|
312
|
+
class DeleteConsoleAuthorizationConfigurationOutput < Struct.new(
|
|
313
|
+
:target_id,
|
|
314
|
+
:scope,
|
|
315
|
+
:console_authorization_enabled)
|
|
316
|
+
SENSITIVE = []
|
|
317
|
+
include Aws::Structure
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
# Input for DeleteResourcePermissionStatement operation
|
|
321
|
+
#
|
|
322
|
+
# @!attribute [rw] statement_id
|
|
323
|
+
# Unique identifier of the permission statement to delete
|
|
324
|
+
# @return [String]
|
|
325
|
+
#
|
|
326
|
+
# @!attribute [rw] client_token
|
|
327
|
+
# Idempotency token for the request
|
|
328
|
+
#
|
|
329
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
330
|
+
# not need to pass this option.
|
|
331
|
+
# @return [String]
|
|
332
|
+
#
|
|
333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/DeleteResourcePermissionStatementInput AWS API Documentation
|
|
334
|
+
#
|
|
335
|
+
class DeleteResourcePermissionStatementInput < Struct.new(
|
|
336
|
+
:statement_id,
|
|
337
|
+
:client_token)
|
|
338
|
+
SENSITIVE = []
|
|
339
|
+
include Aws::Structure
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
# Output for DeleteResourcePermissionStatement operation
|
|
343
|
+
#
|
|
344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/DeleteResourcePermissionStatementOutput AWS API Documentation
|
|
345
|
+
#
|
|
346
|
+
class DeleteResourcePermissionStatementOutput < Aws::EmptyStructure; end
|
|
347
|
+
|
|
348
|
+
# Input for GetConsoleAuthorizationConfiguration operation
|
|
349
|
+
#
|
|
350
|
+
# @!attribute [rw] target_id
|
|
351
|
+
# Target account identifier
|
|
352
|
+
# @return [String]
|
|
353
|
+
#
|
|
354
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/GetConsoleAuthorizationConfigurationInput AWS API Documentation
|
|
355
|
+
#
|
|
356
|
+
class GetConsoleAuthorizationConfigurationInput < Struct.new(
|
|
357
|
+
:target_id)
|
|
358
|
+
SENSITIVE = []
|
|
359
|
+
include Aws::Structure
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
# Output for GetConsoleAuthorizationConfiguration operation
|
|
363
|
+
#
|
|
364
|
+
# @!attribute [rw] target_id
|
|
365
|
+
# Target account identifier
|
|
366
|
+
# @return [String]
|
|
367
|
+
#
|
|
368
|
+
# @!attribute [rw] scope
|
|
369
|
+
# Authorization scope
|
|
370
|
+
# @return [String]
|
|
371
|
+
#
|
|
372
|
+
# @!attribute [rw] console_authorization_enabled
|
|
373
|
+
# Whether console authorization is enabled
|
|
374
|
+
# @return [Boolean]
|
|
375
|
+
#
|
|
376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/GetConsoleAuthorizationConfigurationOutput AWS API Documentation
|
|
377
|
+
#
|
|
378
|
+
class GetConsoleAuthorizationConfigurationOutput < Struct.new(
|
|
379
|
+
:target_id,
|
|
380
|
+
:scope,
|
|
381
|
+
:console_authorization_enabled)
|
|
382
|
+
SENSITIVE = []
|
|
383
|
+
include Aws::Structure
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# Input for GetResourcePolicy operation
|
|
387
|
+
#
|
|
388
|
+
# @api private
|
|
389
|
+
#
|
|
390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/GetResourcePolicyInput AWS API Documentation
|
|
391
|
+
#
|
|
392
|
+
class GetResourcePolicyInput < Aws::EmptyStructure; end
|
|
393
|
+
|
|
394
|
+
# Output for GetResourcePolicy operation
|
|
395
|
+
#
|
|
396
|
+
# @!attribute [rw] signin_resource_based_policy
|
|
397
|
+
# The account's SignIn resource-based policy
|
|
398
|
+
# @return [Types::SigninResourceBasedPolicy]
|
|
399
|
+
#
|
|
400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/GetResourcePolicyOutput AWS API Documentation
|
|
401
|
+
#
|
|
402
|
+
class GetResourcePolicyOutput < Struct.new(
|
|
403
|
+
:signin_resource_based_policy)
|
|
404
|
+
SENSITIVE = []
|
|
405
|
+
include Aws::Structure
|
|
406
|
+
end
|
|
407
|
+
|
|
211
408
|
# Error thrown when an internal server error occurs
|
|
212
409
|
#
|
|
213
410
|
# HTTP Status Code: 500 Internal Server Error
|
|
@@ -234,6 +431,419 @@ module Aws::Signin
|
|
|
234
431
|
include Aws::Structure
|
|
235
432
|
end
|
|
236
433
|
|
|
434
|
+
# Input structure for IntrospectOAuth2TokenWithIAM operation
|
|
435
|
+
#
|
|
436
|
+
# RFC 7662 §2.1 introspection request. Contains the token to inspect and
|
|
437
|
+
# an optional hint about the token's type.
|
|
438
|
+
#
|
|
439
|
+
# @!attribute [rw] token
|
|
440
|
+
# The string value of the token to introspect. May be either an
|
|
441
|
+
# access\_token or a refresh\_token issued by AWS Sign-In.
|
|
442
|
+
# @return [String]
|
|
443
|
+
#
|
|
444
|
+
# @!attribute [rw] token_type_hint
|
|
445
|
+
# Optional hint about the type of the token submitted for
|
|
446
|
+
# introspection. The server uses this hint to optimize lookup, but
|
|
447
|
+
# still falls back to the other token type on miss. Allowed values:
|
|
448
|
+
# access\_token, refresh\_token.
|
|
449
|
+
# @return [String]
|
|
450
|
+
#
|
|
451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/IntrospectOAuth2TokenWithIAMRequest AWS API Documentation
|
|
452
|
+
#
|
|
453
|
+
class IntrospectOAuth2TokenWithIAMRequest < Struct.new(
|
|
454
|
+
:token,
|
|
455
|
+
:token_type_hint)
|
|
456
|
+
SENSITIVE = [:token]
|
|
457
|
+
include Aws::Structure
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
# Output structure for IntrospectOAuth2TokenWithIAM operation
|
|
461
|
+
#
|
|
462
|
+
# RFC 7662 §2.2 introspection response. Only `active` is required; all
|
|
463
|
+
# other claims are omitted when the token is inactive.
|
|
464
|
+
#
|
|
465
|
+
# @!attribute [rw] active
|
|
466
|
+
# Indicates whether the token is currently active. `true` only when
|
|
467
|
+
# the token is valid, has not expired, has not been revoked, and
|
|
468
|
+
# belongs to the caller's account.
|
|
469
|
+
# @return [Boolean]
|
|
470
|
+
#
|
|
471
|
+
# @!attribute [rw] client_id
|
|
472
|
+
# Client identifier for the OAuth 2.0 client that requested the token.
|
|
473
|
+
# @return [String]
|
|
474
|
+
#
|
|
475
|
+
# @!attribute [rw] user_id
|
|
476
|
+
# User identifier matching sts:GetCallerIdentity's `UserId` field for
|
|
477
|
+
# the token's subject principal (e.g. "AIDAEXAMPLE" for an IAM user,
|
|
478
|
+
# or "AROAEXAMPLE:session-name" for an assumed role).
|
|
479
|
+
# @return [String]
|
|
480
|
+
#
|
|
481
|
+
# @!attribute [rw] token_type
|
|
482
|
+
# Indicates which kind of token was introspected. One of
|
|
483
|
+
# "access\_token" or "refresh\_token".
|
|
484
|
+
# @return [String]
|
|
485
|
+
#
|
|
486
|
+
# @!attribute [rw] exp
|
|
487
|
+
# Token expiration time as a NumericDate (Unix epoch seconds).
|
|
488
|
+
# @return [Integer]
|
|
489
|
+
#
|
|
490
|
+
# @!attribute [rw] iat
|
|
491
|
+
# Token issuance time as a NumericDate (Unix epoch seconds).
|
|
492
|
+
# @return [Integer]
|
|
493
|
+
#
|
|
494
|
+
# @!attribute [rw] nbf
|
|
495
|
+
# Token "not before" time as a NumericDate (Unix epoch seconds).
|
|
496
|
+
# @return [Integer]
|
|
497
|
+
#
|
|
498
|
+
# @!attribute [rw] sub
|
|
499
|
+
# Subject of the token: the IAM principal ARN. For assumed-role
|
|
500
|
+
# sessions, this is the session ARN (matches sts:GetCallerIdentity's
|
|
501
|
+
# `Arn` field), e.g.
|
|
502
|
+
# arn:aws:sts::123456789012:assumed-role/MyRole/session-name.
|
|
503
|
+
# @return [String]
|
|
504
|
+
#
|
|
505
|
+
# @!attribute [rw] aud
|
|
506
|
+
# Audience of the token: the OAuth resource the token is scoped to
|
|
507
|
+
# (for example, "aws-mcp.amazonaws.com"). Omitted for refresh tokens.
|
|
508
|
+
# @return [String]
|
|
509
|
+
#
|
|
510
|
+
# @!attribute [rw] iss
|
|
511
|
+
# Issuer of the token. Always "signin.amazonaws.com" for AWS Sign-In.
|
|
512
|
+
# @return [String]
|
|
513
|
+
#
|
|
514
|
+
# @!attribute [rw] jti
|
|
515
|
+
# Unique identifier for the token.
|
|
516
|
+
# @return [String]
|
|
517
|
+
#
|
|
518
|
+
# @!attribute [rw] account_id
|
|
519
|
+
# 12-digit AWS account ID of the token's subject principal.
|
|
520
|
+
# @return [String]
|
|
521
|
+
#
|
|
522
|
+
# @!attribute [rw] signin_session
|
|
523
|
+
# AWS Sign-In session ARN bound to the token, of the form
|
|
524
|
+
# arn:aws:signin:\{region}:\{account}:session/\{uuid}.
|
|
525
|
+
# @return [String]
|
|
526
|
+
#
|
|
527
|
+
# @!attribute [rw] resource
|
|
528
|
+
# The OAuth resource the token is scoped to during Human OAuth flow.
|
|
529
|
+
# Only present for refresh token introspection.
|
|
530
|
+
# @return [String]
|
|
531
|
+
#
|
|
532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/IntrospectOAuth2TokenWithIAMResponse AWS API Documentation
|
|
533
|
+
#
|
|
534
|
+
class IntrospectOAuth2TokenWithIAMResponse < Struct.new(
|
|
535
|
+
:active,
|
|
536
|
+
:client_id,
|
|
537
|
+
:user_id,
|
|
538
|
+
:token_type,
|
|
539
|
+
:exp,
|
|
540
|
+
:iat,
|
|
541
|
+
:nbf,
|
|
542
|
+
:sub,
|
|
543
|
+
:aud,
|
|
544
|
+
:iss,
|
|
545
|
+
:jti,
|
|
546
|
+
:account_id,
|
|
547
|
+
:signin_session,
|
|
548
|
+
:resource)
|
|
549
|
+
SENSITIVE = []
|
|
550
|
+
include Aws::Structure
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
# Input for ListResourcePermissionStatements operation
|
|
554
|
+
#
|
|
555
|
+
# @!attribute [rw] max_results
|
|
556
|
+
# Maximum number of results to return
|
|
557
|
+
# @return [Integer]
|
|
558
|
+
#
|
|
559
|
+
# @!attribute [rw] next_token
|
|
560
|
+
# Token for pagination
|
|
561
|
+
# @return [String]
|
|
562
|
+
#
|
|
563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/ListResourcePermissionStatementsInput AWS API Documentation
|
|
564
|
+
#
|
|
565
|
+
class ListResourcePermissionStatementsInput < Struct.new(
|
|
566
|
+
:max_results,
|
|
567
|
+
:next_token)
|
|
568
|
+
SENSITIVE = []
|
|
569
|
+
include Aws::Structure
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# Output for ListResourcePermissionStatements operation
|
|
573
|
+
#
|
|
574
|
+
# @!attribute [rw] permission_statements
|
|
575
|
+
# List of permission statement summaries
|
|
576
|
+
# @return [Array<Types::PermissionStatementSummary>]
|
|
577
|
+
#
|
|
578
|
+
# @!attribute [rw] next_token
|
|
579
|
+
# Token for next page of results
|
|
580
|
+
# @return [String]
|
|
581
|
+
#
|
|
582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/ListResourcePermissionStatementsOutput AWS API Documentation
|
|
583
|
+
#
|
|
584
|
+
class ListResourcePermissionStatementsOutput < Struct.new(
|
|
585
|
+
:permission_statements,
|
|
586
|
+
:next_token)
|
|
587
|
+
SENSITIVE = []
|
|
588
|
+
include Aws::Structure
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
# Summary of a permission statement
|
|
592
|
+
#
|
|
593
|
+
# @!attribute [rw] sid
|
|
594
|
+
# Unique identifier for the permission statement
|
|
595
|
+
# @return [String]
|
|
596
|
+
#
|
|
597
|
+
# @!attribute [rw] condition
|
|
598
|
+
# Condition block for the permission statement
|
|
599
|
+
# @return [Hash<String,Hash<String,Array<String>>>]
|
|
600
|
+
#
|
|
601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/PermissionStatementSummary AWS API Documentation
|
|
602
|
+
#
|
|
603
|
+
class PermissionStatementSummary < Struct.new(
|
|
604
|
+
:sid,
|
|
605
|
+
:condition)
|
|
606
|
+
SENSITIVE = []
|
|
607
|
+
include Aws::Structure
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
# Individual policy statement within a resource-based policy
|
|
611
|
+
#
|
|
612
|
+
# @!attribute [rw] effect
|
|
613
|
+
# Effect of the policy statement (Allow/Deny)
|
|
614
|
+
# @return [String]
|
|
615
|
+
#
|
|
616
|
+
# @!attribute [rw] principal
|
|
617
|
+
# Principal the statement applies to
|
|
618
|
+
# @return [Hash<String,String>]
|
|
619
|
+
#
|
|
620
|
+
# @!attribute [rw] action
|
|
621
|
+
# Actions the statement controls
|
|
622
|
+
# @return [Array<String>]
|
|
623
|
+
#
|
|
624
|
+
# @!attribute [rw] resource
|
|
625
|
+
# Resource the statement applies to
|
|
626
|
+
# @return [String]
|
|
627
|
+
#
|
|
628
|
+
# @!attribute [rw] condition
|
|
629
|
+
# Condition block for the statement
|
|
630
|
+
# @return [Hash<String,Hash<String,Array<String>>>]
|
|
631
|
+
#
|
|
632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/PolicyStatement AWS API Documentation
|
|
633
|
+
#
|
|
634
|
+
class PolicyStatement < Struct.new(
|
|
635
|
+
:effect,
|
|
636
|
+
:principal,
|
|
637
|
+
:action,
|
|
638
|
+
:resource,
|
|
639
|
+
:condition)
|
|
640
|
+
SENSITIVE = []
|
|
641
|
+
include Aws::Structure
|
|
642
|
+
end
|
|
643
|
+
|
|
644
|
+
# Input for PutConsoleAuthorizationConfiguration operation
|
|
645
|
+
#
|
|
646
|
+
# @!attribute [rw] target_id
|
|
647
|
+
# Target account identifier
|
|
648
|
+
# @return [String]
|
|
649
|
+
#
|
|
650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/PutConsoleAuthorizationConfigurationInput AWS API Documentation
|
|
651
|
+
#
|
|
652
|
+
class PutConsoleAuthorizationConfigurationInput < Struct.new(
|
|
653
|
+
:target_id)
|
|
654
|
+
SENSITIVE = []
|
|
655
|
+
include Aws::Structure
|
|
656
|
+
end
|
|
657
|
+
|
|
658
|
+
# Output for PutConsoleAuthorizationConfiguration operation
|
|
659
|
+
#
|
|
660
|
+
# @!attribute [rw] target_id
|
|
661
|
+
# Target account identifier
|
|
662
|
+
# @return [String]
|
|
663
|
+
#
|
|
664
|
+
# @!attribute [rw] scope
|
|
665
|
+
# Authorization scope
|
|
666
|
+
# @return [String]
|
|
667
|
+
#
|
|
668
|
+
# @!attribute [rw] console_authorization_enabled
|
|
669
|
+
# Whether console authorization is enabled
|
|
670
|
+
# @return [Boolean]
|
|
671
|
+
#
|
|
672
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/PutConsoleAuthorizationConfigurationOutput AWS API Documentation
|
|
673
|
+
#
|
|
674
|
+
class PutConsoleAuthorizationConfigurationOutput < Struct.new(
|
|
675
|
+
:target_id,
|
|
676
|
+
:scope,
|
|
677
|
+
:console_authorization_enabled)
|
|
678
|
+
SENSITIVE = []
|
|
679
|
+
include Aws::Structure
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# Input for PutResourcePermissionStatement operation
|
|
683
|
+
#
|
|
684
|
+
# @!attribute [rw] source_vpc
|
|
685
|
+
# VPC identifier to restrict console access
|
|
686
|
+
# @return [String]
|
|
687
|
+
#
|
|
688
|
+
# @!attribute [rw] signin_source_vpce
|
|
689
|
+
# SignIn VPC endpoint identifier
|
|
690
|
+
# @return [String]
|
|
691
|
+
#
|
|
692
|
+
# @!attribute [rw] console_source_vpce
|
|
693
|
+
# Console VPC endpoint identifier
|
|
694
|
+
# @return [String]
|
|
695
|
+
#
|
|
696
|
+
# @!attribute [rw] vpc_source_ip
|
|
697
|
+
# Source IP address within VPC
|
|
698
|
+
# @return [String]
|
|
699
|
+
#
|
|
700
|
+
# @!attribute [rw] source_ip
|
|
701
|
+
# Source IP address
|
|
702
|
+
# @return [String]
|
|
703
|
+
#
|
|
704
|
+
# @!attribute [rw] requested_region
|
|
705
|
+
# AWS region where the VPC and VPC endpoint reside Required when
|
|
706
|
+
# sourceVpc or signinSourceVpce/consoleSourceVpce is provided
|
|
707
|
+
# @return [String]
|
|
708
|
+
#
|
|
709
|
+
# @!attribute [rw] excluded_principal
|
|
710
|
+
# Principal to exclude from the permission statement
|
|
711
|
+
# @return [String]
|
|
712
|
+
#
|
|
713
|
+
# @!attribute [rw] client_token
|
|
714
|
+
# Idempotency token for the request
|
|
715
|
+
#
|
|
716
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
717
|
+
# not need to pass this option.
|
|
718
|
+
# @return [String]
|
|
719
|
+
#
|
|
720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/PutResourcePermissionStatementInput AWS API Documentation
|
|
721
|
+
#
|
|
722
|
+
class PutResourcePermissionStatementInput < Struct.new(
|
|
723
|
+
:source_vpc,
|
|
724
|
+
:signin_source_vpce,
|
|
725
|
+
:console_source_vpce,
|
|
726
|
+
:vpc_source_ip,
|
|
727
|
+
:source_ip,
|
|
728
|
+
:requested_region,
|
|
729
|
+
:excluded_principal,
|
|
730
|
+
:client_token)
|
|
731
|
+
SENSITIVE = []
|
|
732
|
+
include Aws::Structure
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
# Output for PutResourcePermissionStatement operation
|
|
736
|
+
#
|
|
737
|
+
# @!attribute [rw] statement_id
|
|
738
|
+
# Unique identifier for the created permission statement
|
|
739
|
+
# @return [String]
|
|
740
|
+
#
|
|
741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/PutResourcePermissionStatementOutput AWS API Documentation
|
|
742
|
+
#
|
|
743
|
+
class PutResourcePermissionStatementOutput < Struct.new(
|
|
744
|
+
:statement_id)
|
|
745
|
+
SENSITIVE = []
|
|
746
|
+
include Aws::Structure
|
|
747
|
+
end
|
|
748
|
+
|
|
749
|
+
# Error thrown when requested resource is not found
|
|
750
|
+
#
|
|
751
|
+
# HTTP Status Code: 404 Not Found
|
|
752
|
+
#
|
|
753
|
+
# Used when the specified resource does not exist
|
|
754
|
+
#
|
|
755
|
+
# @!attribute [rw] error
|
|
756
|
+
# OAuth 2.0 error code indicating resource not found Will be
|
|
757
|
+
# RESOURCE\_NOT\_FOUND
|
|
758
|
+
# @return [String]
|
|
759
|
+
#
|
|
760
|
+
# @!attribute [rw] message
|
|
761
|
+
# Detailed message explaining which resource was not found Provides
|
|
762
|
+
# specific information about the missing resource
|
|
763
|
+
# @return [String]
|
|
764
|
+
#
|
|
765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/ResourceNotFoundException AWS API Documentation
|
|
766
|
+
#
|
|
767
|
+
class ResourceNotFoundException < Struct.new(
|
|
768
|
+
:error,
|
|
769
|
+
:message)
|
|
770
|
+
SENSITIVE = []
|
|
771
|
+
include Aws::Structure
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
# Input structure for RevokeOAuth2TokenWithIAM operation
|
|
775
|
+
#
|
|
776
|
+
# RFC 7009 §2.1 revocation request. Contains the refresh\_token to
|
|
777
|
+
# revoke.
|
|
778
|
+
#
|
|
779
|
+
# @!attribute [rw] token
|
|
780
|
+
# The refresh\_token to revoke. Must be a refresh\_token issued by AWS
|
|
781
|
+
# Sign-In (prefix "ASOR"); access\_tokens are not accepted for
|
|
782
|
+
# revocation.
|
|
783
|
+
# @return [String]
|
|
784
|
+
#
|
|
785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/RevokeOAuth2TokenWithIAMRequest AWS API Documentation
|
|
786
|
+
#
|
|
787
|
+
class RevokeOAuth2TokenWithIAMRequest < Struct.new(
|
|
788
|
+
:token)
|
|
789
|
+
SENSITIVE = [:token]
|
|
790
|
+
include Aws::Structure
|
|
791
|
+
end
|
|
792
|
+
|
|
793
|
+
# Output structure for RevokeOAuth2TokenWithIAM operation
|
|
794
|
+
#
|
|
795
|
+
# RFC 7009 §2.2 revocation response. The endpoint returns 200 OK with an
|
|
796
|
+
# empty body on success; there are no response fields.
|
|
797
|
+
#
|
|
798
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/RevokeOAuth2TokenWithIAMResponse AWS API Documentation
|
|
799
|
+
#
|
|
800
|
+
class RevokeOAuth2TokenWithIAMResponse < Aws::EmptyStructure; end
|
|
801
|
+
|
|
802
|
+
# Error thrown when service quota is exceeded
|
|
803
|
+
#
|
|
804
|
+
# HTTP Status Code: 402 Payment Required (used as quota exceeded
|
|
805
|
+
# indicator)
|
|
806
|
+
#
|
|
807
|
+
# Used when the request would cause a service quota to be exceeded
|
|
808
|
+
#
|
|
809
|
+
# @!attribute [rw] error
|
|
810
|
+
# OAuth 2.0 error code indicating service quota exceeded Will be
|
|
811
|
+
# SERVICE\_QUOTA\_EXCEEDED
|
|
812
|
+
# @return [String]
|
|
813
|
+
#
|
|
814
|
+
# @!attribute [rw] message
|
|
815
|
+
# Detailed message explaining which quota was exceeded Provides
|
|
816
|
+
# specific information about the limit and current usage
|
|
817
|
+
# @return [String]
|
|
818
|
+
#
|
|
819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/ServiceQuotaExceededException AWS API Documentation
|
|
820
|
+
#
|
|
821
|
+
class ServiceQuotaExceededException < Struct.new(
|
|
822
|
+
:error,
|
|
823
|
+
:message)
|
|
824
|
+
SENSITIVE = []
|
|
825
|
+
include Aws::Structure
|
|
826
|
+
end
|
|
827
|
+
|
|
828
|
+
# SignIn resource-based policy document
|
|
829
|
+
#
|
|
830
|
+
# @!attribute [rw] version
|
|
831
|
+
# Policy version
|
|
832
|
+
# @return [String]
|
|
833
|
+
#
|
|
834
|
+
# @!attribute [rw] statement
|
|
835
|
+
# Policy statements
|
|
836
|
+
# @return [Array<Types::PolicyStatement>]
|
|
837
|
+
#
|
|
838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signin-2023-01-01/SigninResourceBasedPolicy AWS API Documentation
|
|
839
|
+
#
|
|
840
|
+
class SigninResourceBasedPolicy < Struct.new(
|
|
841
|
+
:version,
|
|
842
|
+
:statement)
|
|
843
|
+
SENSITIVE = []
|
|
844
|
+
include Aws::Structure
|
|
845
|
+
end
|
|
846
|
+
|
|
237
847
|
# Error thrown when rate limit is exceeded
|
|
238
848
|
#
|
|
239
849
|
# HTTP Status Code: 429 Too Many Requests
|
data/lib/aws-sdk-signin.rb
CHANGED
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
data/lib/aws-sdk-ssooidc.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED