aws-sdk-ssoadmin 1.67.0 → 1.69.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: 13f34b7de2833001f056bb4935137c55c622ca13ad04e46ac715a6236f6dea4a
4
- data.tar.gz: 7bc99cadcc5a5843ed5ffacb95b1b239069718725730a9abaf8374766da8b85f
3
+ metadata.gz: 2f9e4a23457c02750fe1723ac4a69444e5f1eff4e92153f731dcce32cbae4b42
4
+ data.tar.gz: 2ca835a9bc3a2467b6ead0a422d5ac0a49457ab58e94592121c35977c7c18cb9
5
5
  SHA512:
6
- metadata.gz: fdcaf362700e92846410355bebf65b4f6bf8f9ac9f299225f8d347f00a2c9302738b246111faed217d611fefba611afc85b1599ca4ee5f7403bba46ab730e397
7
- data.tar.gz: 3e326f1172d86ca5f22cbf2245baf1a931127d0bd14fb277090821620e2e29db65495b2583b866bd71d197430030c5743d5064f363f28228bbddc68ff8ba954b
6
+ metadata.gz: 9b23a70a0936236c1d0eb4145090b32620f48844d0ba366cbc34cf6290cfbb3f2157cccce1d70558fd8e7a463c21ef79022870d95d261ab00f6f096ce6f81e81
7
+ data.tar.gz: 63c7682e4592a937c74e1ed9b1d4341d8c6ebf8d4974e6d520da593c8cec673b60e6293233a56f3eb9cf4504c3fd840687f217822dad827931fb68c20d8b34bf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2026-02-03)
5
+ ------------------
6
+
7
+ * Feature - Added new Region management APIs to support multi-Region replication in IAM Identity Center.
8
+
9
+ 1.68.0 (2026-01-16)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.67.0 (2026-01-08)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.69.0
@@ -483,6 +483,64 @@ module Aws::SSOAdmin
483
483
 
484
484
  # @!group API Operations
485
485
 
486
+ # Adds a Region to an IAM Identity Center instance. This operation
487
+ # initiates an asynchronous workflow to replicate the IAM Identity
488
+ # Center instance to the target Region. The Region status is set to
489
+ # ADDING at first and changes to ACTIVE when the workflow completes.
490
+ #
491
+ # To use this operation, your IAM Identity Center instance and the
492
+ # target Region must meet the requirements described in the [IAM
493
+ # Identity Center User Guide][1].
494
+ #
495
+ # The following actions are related to `AddRegion`:
496
+ #
497
+ # * [RemoveRegion][2]
498
+ #
499
+ # * [DescribeRegion][3]
500
+ #
501
+ # * [ListRegions][4]
502
+ #
503
+ #
504
+ #
505
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/userguide/multi-region-iam-identity-center.html#multi-region-prerequisites
506
+ # [2]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_RemoveRegion.html
507
+ # [3]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_DescribeRegion.html
508
+ # [4]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListRegions.html
509
+ #
510
+ # @option params [required, String] :instance_arn
511
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance to
512
+ # replicate to the target Region.
513
+ #
514
+ # @option params [required, String] :region_name
515
+ # The name of the Amazon Web Services Region to add to the IAM Identity
516
+ # Center instance. The Region name must be 1-32 characters long and
517
+ # follow the pattern of Amazon Web Services Region names (for example,
518
+ # us-east-1).
519
+ #
520
+ # @return [Types::AddRegionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
521
+ #
522
+ # * {Types::AddRegionResponse#status #status} => String
523
+ #
524
+ # @example Request syntax with placeholder values
525
+ #
526
+ # resp = client.add_region({
527
+ # instance_arn: "InstanceArn", # required
528
+ # region_name: "RegionName", # required
529
+ # })
530
+ #
531
+ # @example Response structure
532
+ #
533
+ # resp.status #=> String, one of "ACTIVE", "ADDING", "REMOVING"
534
+ #
535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AddRegion AWS API Documentation
536
+ #
537
+ # @overload add_region(params = {})
538
+ # @param [Hash] params ({})
539
+ def add_region(params = {}, options = {})
540
+ req = build_request(:add_region, params)
541
+ req.send_request(options)
542
+ end
543
+
486
544
  # Attaches the specified customer managed policy to the specified
487
545
  # PermissionSet.
488
546
  #
@@ -1582,6 +1640,7 @@ module Aws::SSOAdmin
1582
1640
  # * {Types::DescribeApplicationResponse#portal_options #portal_options} => Types::PortalOptions
1583
1641
  # * {Types::DescribeApplicationResponse#description #description} => String
1584
1642
  # * {Types::DescribeApplicationResponse#created_date #created_date} => Time
1643
+ # * {Types::DescribeApplicationResponse#created_from #created_from} => String
1585
1644
  #
1586
1645
  # @example Request syntax with placeholder values
1587
1646
  #
@@ -1602,6 +1661,7 @@ module Aws::SSOAdmin
1602
1661
  # resp.portal_options.visibility #=> String, one of "ENABLED", "DISABLED"
1603
1662
  # resp.description #=> String
1604
1663
  # resp.created_date #=> Time
1664
+ # resp.created_from #=> String
1605
1665
  #
1606
1666
  # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeApplication AWS API Documentation
1607
1667
  #
@@ -1892,6 +1952,64 @@ module Aws::SSOAdmin
1892
1952
  req.send_request(options)
1893
1953
  end
1894
1954
 
1955
+ # Retrieves details about a specific Region enabled in an IAM Identity
1956
+ # Center instance. Details include the Region name, current status
1957
+ # (ACTIVE, ADDING, or REMOVING), the date when the Region was added, and
1958
+ # whether it is the primary Region. The request must be made from one of
1959
+ # the enabled Regions of the IAM Identity Center instance.
1960
+ #
1961
+ # The following actions are related to `DescribeRegion`:
1962
+ #
1963
+ # * [ AddRegion][1]
1964
+ #
1965
+ # * [RemoveRegion][2]
1966
+ #
1967
+ # * [ListRegions][3]
1968
+ #
1969
+ #
1970
+ #
1971
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_AddRegion.html
1972
+ # [2]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_RemoveRegion.html
1973
+ # [3]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListRegions.html
1974
+ #
1975
+ # @option params [required, String] :instance_arn
1976
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance.
1977
+ #
1978
+ # @option params [required, String] :region_name
1979
+ # The name of the Amazon Web Services Region to retrieve information
1980
+ # about. The Region name must be 1-32 characters long and follow the
1981
+ # pattern of Amazon Web Services Region names (for example, us-east-1).
1982
+ #
1983
+ # @return [Types::DescribeRegionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1984
+ #
1985
+ # * {Types::DescribeRegionResponse#region_name #region_name} => String
1986
+ # * {Types::DescribeRegionResponse#status #status} => String
1987
+ # * {Types::DescribeRegionResponse#added_date #added_date} => Time
1988
+ # * {Types::DescribeRegionResponse#is_primary_region #is_primary_region} => Boolean
1989
+ #
1990
+ # @example Request syntax with placeholder values
1991
+ #
1992
+ # resp = client.describe_region({
1993
+ # instance_arn: "InstanceArn", # required
1994
+ # region_name: "RegionName", # required
1995
+ # })
1996
+ #
1997
+ # @example Response structure
1998
+ #
1999
+ # resp.region_name #=> String
2000
+ # resp.status #=> String, one of "ACTIVE", "ADDING", "REMOVING"
2001
+ # resp.added_date #=> Time
2002
+ # resp.is_primary_region #=> Boolean
2003
+ #
2004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeRegion AWS API Documentation
2005
+ #
2006
+ # @overload describe_region(params = {})
2007
+ # @param [Hash] params ({})
2008
+ def describe_region(params = {}, options = {})
2009
+ req = build_request(:describe_region, params)
2010
+ req.send_request(options)
2011
+ end
2012
+
1895
2013
  # Retrieves details about a trusted token issuer configuration stored in
1896
2014
  # an instance of IAM Identity Center. Details include the name of the
1897
2015
  # trusted token issuer, the issuer URL, and the path of the source
@@ -2957,6 +3075,7 @@ module Aws::SSOAdmin
2957
3075
  # resp.applications[0].portal_options.visibility #=> String, one of "ENABLED", "DISABLED"
2958
3076
  # resp.applications[0].description #=> String
2959
3077
  # resp.applications[0].created_date #=> Time
3078
+ # resp.applications[0].created_from #=> String
2960
3079
  # resp.next_token #=> String
2961
3080
  #
2962
3081
  # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplications AWS API Documentation
@@ -3272,6 +3391,68 @@ module Aws::SSOAdmin
3272
3391
  req.send_request(options)
3273
3392
  end
3274
3393
 
3394
+ # Lists all enabled Regions of an IAM Identity Center instance,
3395
+ # including those that are being added or removed. This operation
3396
+ # returns Regions with ACTIVE, ADDING, or REMOVING status.
3397
+ #
3398
+ # The following actions are related to `ListRegions`:
3399
+ #
3400
+ # * [ AddRegion][1]
3401
+ #
3402
+ # * [RemoveRegion][2]
3403
+ #
3404
+ # * [DescribeRegion][3]
3405
+ #
3406
+ #
3407
+ #
3408
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_AddRegion.html
3409
+ # [2]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_RemoveRegion.html
3410
+ # [3]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_DescribeRegion.html
3411
+ #
3412
+ # @option params [required, String] :instance_arn
3413
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance.
3414
+ #
3415
+ # @option params [Integer] :max_results
3416
+ # The maximum number of results to return in a single call. Default is
3417
+ # 100.
3418
+ #
3419
+ # @option params [String] :next_token
3420
+ # The pagination token for the list API. Initially the value is null.
3421
+ # Use the output of previous API calls to make subsequent calls.
3422
+ #
3423
+ # @return [Types::ListRegionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3424
+ #
3425
+ # * {Types::ListRegionsResponse#regions #regions} => Array<Types::RegionMetadata>
3426
+ # * {Types::ListRegionsResponse#next_token #next_token} => String
3427
+ #
3428
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3429
+ #
3430
+ # @example Request syntax with placeholder values
3431
+ #
3432
+ # resp = client.list_regions({
3433
+ # instance_arn: "InstanceArn", # required
3434
+ # max_results: 1,
3435
+ # next_token: "Token",
3436
+ # })
3437
+ #
3438
+ # @example Response structure
3439
+ #
3440
+ # resp.regions #=> Array
3441
+ # resp.regions[0].region_name #=> String
3442
+ # resp.regions[0].status #=> String, one of "ACTIVE", "ADDING", "REMOVING"
3443
+ # resp.regions[0].added_date #=> Time
3444
+ # resp.regions[0].is_primary_region #=> Boolean
3445
+ # resp.next_token #=> String
3446
+ #
3447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListRegions AWS API Documentation
3448
+ #
3449
+ # @overload list_regions(params = {})
3450
+ # @param [Hash] params ({})
3451
+ def list_regions(params = {}, options = {})
3452
+ req = build_request(:list_regions, params)
3453
+ req.send_request(options)
3454
+ end
3455
+
3275
3456
  # Lists the tags that are attached to a specified resource.
3276
3457
  #
3277
3458
  # @option params [String] :instance_arn
@@ -3759,6 +3940,61 @@ module Aws::SSOAdmin
3759
3940
  req.send_request(options)
3760
3941
  end
3761
3942
 
3943
+ # Removes an additional Region from an IAM Identity Center instance.
3944
+ # This operation initiates an asynchronous workflow to clean up IAM
3945
+ # Identity Center resources in the specified additional Region. The
3946
+ # Region status is set to REMOVING and the Region record is deleted when
3947
+ # the workflow completes. The request must be made from the primary
3948
+ # Region. The target Region cannot be the primary Region, and no other
3949
+ # add or remove Region workflows can be in progress.
3950
+ #
3951
+ # The following actions are related to `RemoveRegion`:
3952
+ #
3953
+ # * [ AddRegion][1]
3954
+ #
3955
+ # * [DescribeRegion][2]
3956
+ #
3957
+ # * [ListRegions][3]
3958
+ #
3959
+ #
3960
+ #
3961
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_AddRegion.html
3962
+ # [2]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_DescribeRegion.html
3963
+ # [3]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListRegions.html
3964
+ #
3965
+ # @option params [required, String] :instance_arn
3966
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance.
3967
+ #
3968
+ # @option params [required, String] :region_name
3969
+ # The name of the Amazon Web Services Region to remove from the IAM
3970
+ # Identity Center instance. The Region name must be 1-32 characters long
3971
+ # and follow the pattern of Amazon Web Services Region names (for
3972
+ # example, us-east-1). The primary Region cannot be removed.
3973
+ #
3974
+ # @return [Types::RemoveRegionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3975
+ #
3976
+ # * {Types::RemoveRegionResponse#status #status} => String
3977
+ #
3978
+ # @example Request syntax with placeholder values
3979
+ #
3980
+ # resp = client.remove_region({
3981
+ # instance_arn: "InstanceArn", # required
3982
+ # region_name: "RegionName", # required
3983
+ # })
3984
+ #
3985
+ # @example Response structure
3986
+ #
3987
+ # resp.status #=> String, one of "ACTIVE", "ADDING", "REMOVING"
3988
+ #
3989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/RemoveRegion AWS API Documentation
3990
+ #
3991
+ # @overload remove_region(params = {})
3992
+ # @param [Hash] params ({})
3993
+ def remove_region(params = {}, options = {})
3994
+ req = build_request(:remove_region, params)
3995
+ req.send_request(options)
3996
+ end
3997
+
3762
3998
  # Associates a set of tags with a specified resource.
3763
3999
  #
3764
4000
  # @option params [String] :instance_arn
@@ -3894,9 +4130,8 @@ module Aws::SSOAdmin
3894
4130
  #
3895
4131
  # @option params [Types::EncryptionConfiguration] :encryption_configuration
3896
4132
  # Specifies the encryption configuration for your IAM Identity Center
3897
- # instance. You can use this to configure customer managed KMS keys
3898
- # (CMK) or Amazon Web Services owned KMS keys for encrypting your
3899
- # instance data.
4133
+ # instance. You can use this to configure customer managed KMS keys or
4134
+ # Amazon Web Services owned KMS keys for encrypting your instance data.
3900
4135
  #
3901
4136
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3902
4137
  #
@@ -4076,7 +4311,7 @@ module Aws::SSOAdmin
4076
4311
  tracer: tracer
4077
4312
  )
4078
4313
  context[:gem_name] = 'aws-sdk-ssoadmin'
4079
- context[:gem_version] = '1.67.0'
4314
+ context[:gem_version] = '1.69.0'
4080
4315
  Seahorse::Client::Request.new(handlers, context)
4081
4316
  end
4082
4317
 
@@ -33,6 +33,8 @@ module Aws::SSOAdmin
33
33
  AccountId = Shapes::StringShape.new(name: 'AccountId')
34
34
  AccountList = Shapes::ListShape.new(name: 'AccountList')
35
35
  ActorPolicyDocument = Shapes::DocumentShape.new(name: 'ActorPolicyDocument', document: true)
36
+ AddRegionRequest = Shapes::StructureShape.new(name: 'AddRegionRequest')
37
+ AddRegionResponse = Shapes::StructureShape.new(name: 'AddRegionResponse')
36
38
  Application = Shapes::StructureShape.new(name: 'Application')
37
39
  ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
38
40
  ApplicationAssignment = Shapes::StructureShape.new(name: 'ApplicationAssignment')
@@ -121,6 +123,8 @@ module Aws::SSOAdmin
121
123
  DescribePermissionSetProvisioningStatusResponse = Shapes::StructureShape.new(name: 'DescribePermissionSetProvisioningStatusResponse')
122
124
  DescribePermissionSetRequest = Shapes::StructureShape.new(name: 'DescribePermissionSetRequest')
123
125
  DescribePermissionSetResponse = Shapes::StructureShape.new(name: 'DescribePermissionSetResponse')
126
+ DescribeRegionRequest = Shapes::StructureShape.new(name: 'DescribeRegionRequest')
127
+ DescribeRegionResponse = Shapes::StructureShape.new(name: 'DescribeRegionResponse')
124
128
  DescribeTrustedTokenIssuerRequest = Shapes::StructureShape.new(name: 'DescribeTrustedTokenIssuerRequest')
125
129
  DescribeTrustedTokenIssuerResponse = Shapes::StructureShape.new(name: 'DescribeTrustedTokenIssuerResponse')
126
130
  Description = Shapes::StringShape.new(name: 'Description')
@@ -163,6 +167,7 @@ module Aws::SSOAdmin
163
167
  InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
164
168
  InternalFailureMessage = Shapes::StringShape.new(name: 'InternalFailureMessage')
165
169
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
170
+ IsPrimaryRegion = Shapes::BooleanShape.new(name: 'IsPrimaryRegion')
166
171
  JMESPath = Shapes::StringShape.new(name: 'JMESPath')
167
172
  JwksRetrievalOption = Shapes::StringShape.new(name: 'JwksRetrievalOption')
168
173
  JwtBearerGrant = Shapes::StructureShape.new(name: 'JwtBearerGrant')
@@ -209,6 +214,8 @@ module Aws::SSOAdmin
209
214
  ListPermissionSetsProvisionedToAccountResponse = Shapes::StructureShape.new(name: 'ListPermissionSetsProvisionedToAccountResponse')
210
215
  ListPermissionSetsRequest = Shapes::StructureShape.new(name: 'ListPermissionSetsRequest')
211
216
  ListPermissionSetsResponse = Shapes::StructureShape.new(name: 'ListPermissionSetsResponse')
217
+ ListRegionsRequest = Shapes::StructureShape.new(name: 'ListRegionsRequest')
218
+ ListRegionsResponse = Shapes::StructureShape.new(name: 'ListRegionsResponse')
212
219
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
213
220
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
214
221
  ListTrustedTokenIssuersRequest = Shapes::StructureShape.new(name: 'ListTrustedTokenIssuersRequest')
@@ -253,7 +260,13 @@ module Aws::SSOAdmin
253
260
  Reason = Shapes::StringShape.new(name: 'Reason')
254
261
  RedirectUris = Shapes::ListShape.new(name: 'RedirectUris')
255
262
  RefreshTokenGrant = Shapes::StructureShape.new(name: 'RefreshTokenGrant')
263
+ RegionMetadata = Shapes::StructureShape.new(name: 'RegionMetadata')
264
+ RegionMetadataList = Shapes::ListShape.new(name: 'RegionMetadataList')
265
+ RegionName = Shapes::StringShape.new(name: 'RegionName')
266
+ RegionStatus = Shapes::StringShape.new(name: 'RegionStatus')
256
267
  RelayState = Shapes::StringShape.new(name: 'RelayState')
268
+ RemoveRegionRequest = Shapes::StructureShape.new(name: 'RemoveRegionRequest')
269
+ RemoveRegionResponse = Shapes::StructureShape.new(name: 'RemoveRegionResponse')
257
270
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
258
271
  ResourceNotFoundExceptionReason = Shapes::StringShape.new(name: 'ResourceNotFoundExceptionReason')
259
272
  ResourceNotFoundMessage = Shapes::StringShape.new(name: 'ResourceNotFoundMessage')
@@ -367,6 +380,13 @@ module Aws::SSOAdmin
367
380
 
368
381
  AccountList.member = Shapes::ShapeRef.new(shape: AccountId)
369
382
 
383
+ AddRegionRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
384
+ AddRegionRequest.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
385
+ AddRegionRequest.struct_class = Types::AddRegionRequest
386
+
387
+ AddRegionResponse.add_member(:status, Shapes::ShapeRef.new(shape: RegionStatus, location_name: "Status"))
388
+ AddRegionResponse.struct_class = Types::AddRegionResponse
389
+
370
390
  Application.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "ApplicationArn"))
371
391
  Application.add_member(:application_provider_arn, Shapes::ShapeRef.new(shape: ApplicationProviderArn, location_name: "ApplicationProviderArn"))
372
392
  Application.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationNameType, location_name: "Name"))
@@ -376,6 +396,7 @@ module Aws::SSOAdmin
376
396
  Application.add_member(:portal_options, Shapes::ShapeRef.new(shape: PortalOptions, location_name: "PortalOptions"))
377
397
  Application.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
378
398
  Application.add_member(:created_date, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedDate"))
399
+ Application.add_member(:created_from, Shapes::ShapeRef.new(shape: RegionName, location_name: "CreatedFrom"))
379
400
  Application.struct_class = Types::Application
380
401
 
381
402
  ApplicationAssignment.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "ApplicationArn"))
@@ -632,6 +653,7 @@ module Aws::SSOAdmin
632
653
  DescribeApplicationResponse.add_member(:portal_options, Shapes::ShapeRef.new(shape: PortalOptions, location_name: "PortalOptions"))
633
654
  DescribeApplicationResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
634
655
  DescribeApplicationResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Date, location_name: "CreatedDate"))
656
+ DescribeApplicationResponse.add_member(:created_from, Shapes::ShapeRef.new(shape: RegionName, location_name: "CreatedFrom"))
635
657
  DescribeApplicationResponse.struct_class = Types::DescribeApplicationResponse
636
658
 
637
659
  DescribeInstanceAccessControlAttributeConfigurationRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
@@ -669,6 +691,16 @@ module Aws::SSOAdmin
669
691
  DescribePermissionSetResponse.add_member(:permission_set, Shapes::ShapeRef.new(shape: PermissionSet, location_name: "PermissionSet"))
670
692
  DescribePermissionSetResponse.struct_class = Types::DescribePermissionSetResponse
671
693
 
694
+ DescribeRegionRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
695
+ DescribeRegionRequest.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
696
+ DescribeRegionRequest.struct_class = Types::DescribeRegionRequest
697
+
698
+ DescribeRegionResponse.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
699
+ DescribeRegionResponse.add_member(:status, Shapes::ShapeRef.new(shape: RegionStatus, location_name: "Status"))
700
+ DescribeRegionResponse.add_member(:added_date, Shapes::ShapeRef.new(shape: Date, location_name: "AddedDate"))
701
+ DescribeRegionResponse.add_member(:is_primary_region, Shapes::ShapeRef.new(shape: IsPrimaryRegion, location_name: "IsPrimaryRegion"))
702
+ DescribeRegionResponse.struct_class = Types::DescribeRegionResponse
703
+
672
704
  DescribeTrustedTokenIssuerRequest.add_member(:trusted_token_issuer_arn, Shapes::ShapeRef.new(shape: TrustedTokenIssuerArn, required: true, location_name: "TrustedTokenIssuerArn"))
673
705
  DescribeTrustedTokenIssuerRequest.struct_class = Types::DescribeTrustedTokenIssuerRequest
674
706
 
@@ -982,6 +1014,15 @@ module Aws::SSOAdmin
982
1014
  ListPermissionSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
983
1015
  ListPermissionSetsResponse.struct_class = Types::ListPermissionSetsResponse
984
1016
 
1017
+ ListRegionsRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
1018
+ ListRegionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
1019
+ ListRegionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
1020
+ ListRegionsRequest.struct_class = Types::ListRegionsRequest
1021
+
1022
+ ListRegionsResponse.add_member(:regions, Shapes::ShapeRef.new(shape: RegionMetadataList, location_name: "Regions"))
1023
+ ListRegionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
1024
+ ListRegionsResponse.struct_class = Types::ListRegionsResponse
1025
+
985
1026
  ListTagsForResourceRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "InstanceArn"))
986
1027
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
987
1028
  ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
@@ -1101,6 +1142,21 @@ module Aws::SSOAdmin
1101
1142
 
1102
1143
  RefreshTokenGrant.struct_class = Types::RefreshTokenGrant
1103
1144
 
1145
+ RegionMetadata.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
1146
+ RegionMetadata.add_member(:status, Shapes::ShapeRef.new(shape: RegionStatus, location_name: "Status"))
1147
+ RegionMetadata.add_member(:added_date, Shapes::ShapeRef.new(shape: Date, location_name: "AddedDate"))
1148
+ RegionMetadata.add_member(:is_primary_region, Shapes::ShapeRef.new(shape: IsPrimaryRegion, location_name: "IsPrimaryRegion"))
1149
+ RegionMetadata.struct_class = Types::RegionMetadata
1150
+
1151
+ RegionMetadataList.member = Shapes::ShapeRef.new(shape: RegionMetadata)
1152
+
1153
+ RemoveRegionRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, required: true, location_name: "InstanceArn"))
1154
+ RemoveRegionRequest.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
1155
+ RemoveRegionRequest.struct_class = Types::RemoveRegionRequest
1156
+
1157
+ RemoveRegionResponse.add_member(:status, Shapes::ShapeRef.new(shape: RegionStatus, location_name: "Status"))
1158
+ RemoveRegionResponse.struct_class = Types::RemoveRegionResponse
1159
+
1104
1160
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ResourceNotFoundMessage, location_name: "Message"))
1105
1161
  ResourceNotFoundException.add_member(:reason, Shapes::ShapeRef.new(shape: ResourceNotFoundExceptionReason, location_name: "Reason"))
1106
1162
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
@@ -1246,6 +1302,20 @@ module Aws::SSOAdmin
1246
1302
  "uid" => "sso-admin-2020-07-20",
1247
1303
  }
1248
1304
 
1305
+ api.add_operation(:add_region, Seahorse::Model::Operation.new.tap do |o|
1306
+ o.name = "AddRegion"
1307
+ o.http_method = "POST"
1308
+ o.http_request_uri = "/"
1309
+ o.input = Shapes::ShapeRef.new(shape: AddRegionRequest)
1310
+ o.output = Shapes::ShapeRef.new(shape: AddRegionResponse)
1311
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1312
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1313
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1314
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1317
+ end)
1318
+
1249
1319
  api.add_operation(:attach_customer_managed_policy_reference_to_permission_set, Seahorse::Model::Operation.new.tap do |o|
1250
1320
  o.name = "AttachCustomerManagedPolicyReferenceToPermissionSet"
1251
1321
  o.http_method = "POST"
@@ -1661,6 +1731,19 @@ module Aws::SSOAdmin
1661
1731
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1662
1732
  end)
1663
1733
 
1734
+ api.add_operation(:describe_region, Seahorse::Model::Operation.new.tap do |o|
1735
+ o.name = "DescribeRegion"
1736
+ o.http_method = "POST"
1737
+ o.http_request_uri = "/"
1738
+ o.input = Shapes::ShapeRef.new(shape: DescribeRegionRequest)
1739
+ o.output = Shapes::ShapeRef.new(shape: DescribeRegionResponse)
1740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1741
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1742
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1743
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1744
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1745
+ end)
1746
+
1664
1747
  api.add_operation(:describe_trusted_token_issuer, Seahorse::Model::Operation.new.tap do |o|
1665
1748
  o.name = "DescribeTrustedTokenIssuer"
1666
1749
  o.http_method = "POST"
@@ -2130,6 +2213,24 @@ module Aws::SSOAdmin
2130
2213
  )
2131
2214
  end)
2132
2215
 
2216
+ api.add_operation(:list_regions, Seahorse::Model::Operation.new.tap do |o|
2217
+ o.name = "ListRegions"
2218
+ o.http_method = "POST"
2219
+ o.http_request_uri = "/"
2220
+ o.input = Shapes::ShapeRef.new(shape: ListRegionsRequest)
2221
+ o.output = Shapes::ShapeRef.new(shape: ListRegionsResponse)
2222
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2223
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2224
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2225
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2226
+ o[:pager] = Aws::Pager.new(
2227
+ limit_key: "max_results",
2228
+ tokens: {
2229
+ "next_token" => "next_token"
2230
+ }
2231
+ )
2232
+ end)
2233
+
2133
2234
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2134
2235
  o.name = "ListTagsForResource"
2135
2236
  o.http_method = "POST"
@@ -2279,6 +2380,20 @@ module Aws::SSOAdmin
2279
2380
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2280
2381
  end)
2281
2382
 
2383
+ api.add_operation(:remove_region, Seahorse::Model::Operation.new.tap do |o|
2384
+ o.name = "RemoveRegion"
2385
+ o.http_method = "POST"
2386
+ o.http_request_uri = "/"
2387
+ o.input = Shapes::ShapeRef.new(shape: RemoveRegionRequest)
2388
+ o.output = Shapes::ShapeRef.new(shape: RemoveRegionResponse)
2389
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2390
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2391
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2392
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2393
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2394
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2395
+ end)
2396
+
2282
2397
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2283
2398
  o.name = "TagResource"
2284
2399
  o.http_method = "POST"
@@ -243,6 +243,41 @@ module Aws::SSOAdmin
243
243
  include Aws::Structure
244
244
  end
245
245
 
246
+ # @!attribute [rw] instance_arn
247
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance
248
+ # to replicate to the target Region.
249
+ # @return [String]
250
+ #
251
+ # @!attribute [rw] region_name
252
+ # The name of the Amazon Web Services Region to add to the IAM
253
+ # Identity Center instance. The Region name must be 1-32 characters
254
+ # long and follow the pattern of Amazon Web Services Region names (for
255
+ # example, us-east-1).
256
+ # @return [String]
257
+ #
258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AddRegionRequest AWS API Documentation
259
+ #
260
+ class AddRegionRequest < Struct.new(
261
+ :instance_arn,
262
+ :region_name)
263
+ SENSITIVE = []
264
+ include Aws::Structure
265
+ end
266
+
267
+ # @!attribute [rw] status
268
+ # The status of the Region after the Add operation. The status is
269
+ # ADDING when the asynchronous workflow is in progress and changes to
270
+ # ACTIVE when complete.
271
+ # @return [String]
272
+ #
273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AddRegionResponse AWS API Documentation
274
+ #
275
+ class AddRegionResponse < Struct.new(
276
+ :status)
277
+ SENSITIVE = []
278
+ include Aws::Structure
279
+ end
280
+
246
281
  # A structure that describes an application that uses IAM Identity
247
282
  # Center for access management.
248
283
  #
@@ -285,6 +320,11 @@ module Aws::SSOAdmin
285
320
  # The date and time when the application was originally created.
286
321
  # @return [Time]
287
322
  #
323
+ # @!attribute [rw] created_from
324
+ # The Amazon Web Services Region where the application was created in
325
+ # IAM Identity Center.
326
+ # @return [String]
327
+ #
288
328
  # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/Application AWS API Documentation
289
329
  #
290
330
  class Application < Struct.new(
@@ -296,7 +336,8 @@ module Aws::SSOAdmin
296
336
  :status,
297
337
  :portal_options,
298
338
  :description,
299
- :created_date)
339
+ :created_date,
340
+ :created_from)
300
341
  SENSITIVE = []
301
342
  include Aws::Structure
302
343
  end
@@ -1517,6 +1558,11 @@ module Aws::SSOAdmin
1517
1558
  # The date the application was created.
1518
1559
  # @return [Time]
1519
1560
  #
1561
+ # @!attribute [rw] created_from
1562
+ # The Amazon Web Services Region where the application was created in
1563
+ # IAM Identity Center.
1564
+ # @return [String]
1565
+ #
1520
1566
  # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeApplicationResponse AWS API Documentation
1521
1567
  #
1522
1568
  class DescribeApplicationResponse < Struct.new(
@@ -1528,7 +1574,8 @@ module Aws::SSOAdmin
1528
1574
  :status,
1529
1575
  :portal_options,
1530
1576
  :description,
1531
- :created_date)
1577
+ :created_date,
1578
+ :created_from)
1532
1579
  SENSITIVE = []
1533
1580
  include Aws::Structure
1534
1581
  end
@@ -1711,6 +1758,64 @@ module Aws::SSOAdmin
1711
1758
  include Aws::Structure
1712
1759
  end
1713
1760
 
1761
+ # @!attribute [rw] instance_arn
1762
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance.
1763
+ # @return [String]
1764
+ #
1765
+ # @!attribute [rw] region_name
1766
+ # The name of the Amazon Web Services Region to retrieve information
1767
+ # about. The Region name must be 1-32 characters long and follow the
1768
+ # pattern of Amazon Web Services Region names (for example,
1769
+ # us-east-1).
1770
+ # @return [String]
1771
+ #
1772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeRegionRequest AWS API Documentation
1773
+ #
1774
+ class DescribeRegionRequest < Struct.new(
1775
+ :instance_arn,
1776
+ :region_name)
1777
+ SENSITIVE = []
1778
+ include Aws::Structure
1779
+ end
1780
+
1781
+ # @!attribute [rw] region_name
1782
+ # The Amazon Web Services Region name.
1783
+ # @return [String]
1784
+ #
1785
+ # @!attribute [rw] status
1786
+ # The current status of the Region. Valid values are ACTIVE (Region is
1787
+ # operational), ADDING (Region replication workflow is in progress),
1788
+ # or REMOVING (Region removal workflow is in progress).
1789
+ # @return [String]
1790
+ #
1791
+ # @!attribute [rw] added_date
1792
+ # The timestamp when the Region was added to the IAM Identity Center
1793
+ # instance. For the primary Region, this is the IAM Identity Center
1794
+ # instance creation time.
1795
+ # @return [Time]
1796
+ #
1797
+ # @!attribute [rw] is_primary_region
1798
+ # Indicates whether this is the primary Region where the IAM Identity
1799
+ # Center instance was originally enabled. For more information on the
1800
+ # difference between the primary Region and additional Regions, see
1801
+ # [IAM Identity Center User Guide][1]
1802
+ #
1803
+ #
1804
+ #
1805
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/userguide/multi-region-iam-identity-center.html
1806
+ # @return [Boolean]
1807
+ #
1808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeRegionResponse AWS API Documentation
1809
+ #
1810
+ class DescribeRegionResponse < Struct.new(
1811
+ :region_name,
1812
+ :status,
1813
+ :added_date,
1814
+ :is_primary_region)
1815
+ SENSITIVE = []
1816
+ include Aws::Structure
1817
+ end
1818
+
1714
1819
  # @!attribute [rw] trusted_token_issuer_arn
1715
1820
  # Specifies the ARN of the trusted token issuer configuration that you
1716
1821
  # want details about.
@@ -3330,6 +3435,49 @@ module Aws::SSOAdmin
3330
3435
  include Aws::Structure
3331
3436
  end
3332
3437
 
3438
+ # @!attribute [rw] instance_arn
3439
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance.
3440
+ # @return [String]
3441
+ #
3442
+ # @!attribute [rw] max_results
3443
+ # The maximum number of results to return in a single call. Default is
3444
+ # 100.
3445
+ # @return [Integer]
3446
+ #
3447
+ # @!attribute [rw] next_token
3448
+ # The pagination token for the list API. Initially the value is null.
3449
+ # Use the output of previous API calls to make subsequent calls.
3450
+ # @return [String]
3451
+ #
3452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListRegionsRequest AWS API Documentation
3453
+ #
3454
+ class ListRegionsRequest < Struct.new(
3455
+ :instance_arn,
3456
+ :max_results,
3457
+ :next_token)
3458
+ SENSITIVE = []
3459
+ include Aws::Structure
3460
+ end
3461
+
3462
+ # @!attribute [rw] regions
3463
+ # The list of Regions enabled in the IAM Identity Center instance,
3464
+ # including Regions with ACTIVE, ADDING, or REMOVING status.
3465
+ # @return [Array<Types::RegionMetadata>]
3466
+ #
3467
+ # @!attribute [rw] next_token
3468
+ # The pagination token to be used in subsequent calls. If the value is
3469
+ # null, then there are no more entries.
3470
+ # @return [String]
3471
+ #
3472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListRegionsResponse AWS API Documentation
3473
+ #
3474
+ class ListRegionsResponse < Struct.new(
3475
+ :regions,
3476
+ :next_token)
3477
+ SENSITIVE = []
3478
+ include Aws::Structure
3479
+ end
3480
+
3333
3481
  # @!attribute [rw] instance_arn
3334
3482
  # The ARN of the IAM Identity Center instance under which the
3335
3483
  # operation will be executed. For more information about ARNs, see
@@ -3938,6 +4086,77 @@ module Aws::SSOAdmin
3938
4086
  #
3939
4087
  class RefreshTokenGrant < Aws::EmptyStructure; end
3940
4088
 
4089
+ # Contains information about an enabled Region of an IAM Identity Center
4090
+ # instance, including the Region name, status, date added, and whether
4091
+ # it is the primary Region.
4092
+ #
4093
+ # @!attribute [rw] region_name
4094
+ # The Amazon Web Services Region name.
4095
+ # @return [String]
4096
+ #
4097
+ # @!attribute [rw] status
4098
+ # The current status of the Region. Valid values are ACTIVE (Region is
4099
+ # operational), ADDING (Region extension workflow is in progress), or
4100
+ # REMOVING (Region removal workflow is in progress).
4101
+ # @return [String]
4102
+ #
4103
+ # @!attribute [rw] added_date
4104
+ # The timestamp when the Region was added to the IAM Identity Center
4105
+ # instance. For the primary Region, this is the instance creation
4106
+ # time.
4107
+ # @return [Time]
4108
+ #
4109
+ # @!attribute [rw] is_primary_region
4110
+ # Indicates whether this is the primary Region where the IAM Identity
4111
+ # Center instance was originally enabled. The primary Region cannot be
4112
+ # removed.
4113
+ # @return [Boolean]
4114
+ #
4115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/RegionMetadata AWS API Documentation
4116
+ #
4117
+ class RegionMetadata < Struct.new(
4118
+ :region_name,
4119
+ :status,
4120
+ :added_date,
4121
+ :is_primary_region)
4122
+ SENSITIVE = []
4123
+ include Aws::Structure
4124
+ end
4125
+
4126
+ # @!attribute [rw] instance_arn
4127
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance.
4128
+ # @return [String]
4129
+ #
4130
+ # @!attribute [rw] region_name
4131
+ # The name of the Amazon Web Services Region to remove from the IAM
4132
+ # Identity Center instance. The Region name must be 1-32 characters
4133
+ # long and follow the pattern of Amazon Web Services Region names (for
4134
+ # example, us-east-1). The primary Region cannot be removed.
4135
+ # @return [String]
4136
+ #
4137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/RemoveRegionRequest AWS API Documentation
4138
+ #
4139
+ class RemoveRegionRequest < Struct.new(
4140
+ :instance_arn,
4141
+ :region_name)
4142
+ SENSITIVE = []
4143
+ include Aws::Structure
4144
+ end
4145
+
4146
+ # @!attribute [rw] status
4147
+ # The status of the Region after the remove operation. The status is
4148
+ # REMOVING when the asynchronous workflow is in progress. The Region
4149
+ # record is deleted when the workflow completes.
4150
+ # @return [String]
4151
+ #
4152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/RemoveRegionResponse AWS API Documentation
4153
+ #
4154
+ class RemoveRegionResponse < Struct.new(
4155
+ :status)
4156
+ SENSITIVE = []
4157
+ include Aws::Structure
4158
+ end
4159
+
3941
4160
  # Indicates that a requested resource is not found.
3942
4161
  #
3943
4162
  # @!attribute [rw] message
@@ -4340,9 +4559,9 @@ module Aws::SSOAdmin
4340
4559
  #
4341
4560
  # @!attribute [rw] encryption_configuration
4342
4561
  # Specifies the encryption configuration for your IAM Identity Center
4343
- # instance. You can use this to configure customer managed KMS keys
4344
- # (CMK) or Amazon Web Services owned KMS keys for encrypting your
4345
- # instance data.
4562
+ # instance. You can use this to configure customer managed KMS keys or
4563
+ # Amazon Web Services owned KMS keys for encrypting your instance
4564
+ # data.
4346
4565
  # @return [Types::EncryptionConfiguration]
4347
4566
  #
4348
4567
  # @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceRequest AWS API Documentation
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:ssoadmin)
23
23
  # structure.
24
24
  #
25
25
  # sso_admin = Aws::SSOAdmin::Client.new
26
- # resp = sso_admin.attach_customer_managed_policy_reference_to_permission_set(params)
26
+ # resp = sso_admin.add_region(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -55,7 +55,7 @@ module Aws::SSOAdmin
55
55
  autoload :EndpointProvider, 'aws-sdk-ssoadmin/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ssoadmin/endpoints'
57
57
 
58
- GEM_VERSION = '1.67.0'
58
+ GEM_VERSION = '1.69.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -79,6 +79,17 @@ module Aws
79
79
  | (?Hash[Symbol, untyped]) -> instance
80
80
 
81
81
 
82
+ interface _AddRegionResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddRegionResponse]
84
+ def status: () -> ("ACTIVE" | "ADDING" | "REMOVING")
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSOAdmin/Client.html#add_region-instance_method
87
+ def add_region: (
88
+ instance_arn: ::String,
89
+ region_name: ::String
90
+ ) -> _AddRegionResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddRegionResponseSuccess
92
+
82
93
  interface _AttachCustomerManagedPolicyReferenceToPermissionSetResponseSuccess
83
94
  include ::Seahorse::Client::_ResponseSuccess[Types::AttachCustomerManagedPolicyReferenceToPermissionSetResponse]
84
95
  end
@@ -387,6 +398,7 @@ module Aws
387
398
  def portal_options: () -> Types::PortalOptions
388
399
  def description: () -> ::String
389
400
  def created_date: () -> ::Time
401
+ def created_from: () -> ::String
390
402
  end
391
403
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSOAdmin/Client.html#describe_application-instance_method
392
404
  def describe_application: (
@@ -472,6 +484,20 @@ module Aws
472
484
  ) -> _DescribePermissionSetProvisioningStatusResponseSuccess
473
485
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePermissionSetProvisioningStatusResponseSuccess
474
486
 
487
+ interface _DescribeRegionResponseSuccess
488
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRegionResponse]
489
+ def region_name: () -> ::String
490
+ def status: () -> ("ACTIVE" | "ADDING" | "REMOVING")
491
+ def added_date: () -> ::Time
492
+ def is_primary_region: () -> bool
493
+ end
494
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSOAdmin/Client.html#describe_region-instance_method
495
+ def describe_region: (
496
+ instance_arn: ::String,
497
+ region_name: ::String
498
+ ) -> _DescribeRegionResponseSuccess
499
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRegionResponseSuccess
500
+
475
501
  interface _DescribeTrustedTokenIssuerResponseSuccess
476
502
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTrustedTokenIssuerResponse]
477
503
  def trusted_token_issuer_arn: () -> ::String
@@ -847,6 +873,19 @@ module Aws
847
873
  ) -> _ListPermissionSetsProvisionedToAccountResponseSuccess
848
874
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionSetsProvisionedToAccountResponseSuccess
849
875
 
876
+ interface _ListRegionsResponseSuccess
877
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRegionsResponse]
878
+ def regions: () -> ::Array[Types::RegionMetadata]
879
+ def next_token: () -> ::String
880
+ end
881
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSOAdmin/Client.html#list_regions-instance_method
882
+ def list_regions: (
883
+ instance_arn: ::String,
884
+ ?max_results: ::Integer,
885
+ ?next_token: ::String
886
+ ) -> _ListRegionsResponseSuccess
887
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRegionsResponseSuccess
888
+
850
889
  interface _ListTagsForResourceResponseSuccess
851
890
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
852
891
  def tags: () -> ::Array[Types::Tag]
@@ -979,6 +1018,17 @@ module Aws
979
1018
  ) -> _PutPermissionsBoundaryToPermissionSetResponseSuccess
980
1019
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPermissionsBoundaryToPermissionSetResponseSuccess
981
1020
 
1021
+ interface _RemoveRegionResponseSuccess
1022
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveRegionResponse]
1023
+ def status: () -> ("ACTIVE" | "ADDING" | "REMOVING")
1024
+ end
1025
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSOAdmin/Client.html#remove_region-instance_method
1026
+ def remove_region: (
1027
+ instance_arn: ::String,
1028
+ region_name: ::String
1029
+ ) -> _RemoveRegionResponseSuccess
1030
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveRegionResponseSuccess
1031
+
982
1032
  interface _TagResourceResponseSuccess
983
1033
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
984
1034
  end
data/sig/types.rbs CHANGED
@@ -61,6 +61,17 @@ module Aws::SSOAdmin
61
61
  SENSITIVE: []
62
62
  end
63
63
 
64
+ class AddRegionRequest
65
+ attr_accessor instance_arn: ::String
66
+ attr_accessor region_name: ::String
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class AddRegionResponse
71
+ attr_accessor status: ("ACTIVE" | "ADDING" | "REMOVING")
72
+ SENSITIVE: []
73
+ end
74
+
64
75
  class Application
65
76
  attr_accessor application_arn: ::String
66
77
  attr_accessor application_provider_arn: ::String
@@ -71,6 +82,7 @@ module Aws::SSOAdmin
71
82
  attr_accessor portal_options: Types::PortalOptions
72
83
  attr_accessor description: ::String
73
84
  attr_accessor created_date: ::Time
85
+ attr_accessor created_from: ::String
74
86
  SENSITIVE: []
75
87
  end
76
88
 
@@ -420,6 +432,7 @@ module Aws::SSOAdmin
420
432
  attr_accessor portal_options: Types::PortalOptions
421
433
  attr_accessor description: ::String
422
434
  attr_accessor created_date: ::Time
435
+ attr_accessor created_from: ::String
423
436
  SENSITIVE: []
424
437
  end
425
438
 
@@ -474,6 +487,20 @@ module Aws::SSOAdmin
474
487
  SENSITIVE: []
475
488
  end
476
489
 
490
+ class DescribeRegionRequest
491
+ attr_accessor instance_arn: ::String
492
+ attr_accessor region_name: ::String
493
+ SENSITIVE: []
494
+ end
495
+
496
+ class DescribeRegionResponse
497
+ attr_accessor region_name: ::String
498
+ attr_accessor status: ("ACTIVE" | "ADDING" | "REMOVING")
499
+ attr_accessor added_date: ::Time
500
+ attr_accessor is_primary_region: bool
501
+ SENSITIVE: []
502
+ end
503
+
477
504
  class DescribeTrustedTokenIssuerRequest
478
505
  attr_accessor trusted_token_issuer_arn: ::String
479
506
  SENSITIVE: []
@@ -925,6 +952,19 @@ module Aws::SSOAdmin
925
952
  SENSITIVE: []
926
953
  end
927
954
 
955
+ class ListRegionsRequest
956
+ attr_accessor instance_arn: ::String
957
+ attr_accessor max_results: ::Integer
958
+ attr_accessor next_token: ::String
959
+ SENSITIVE: []
960
+ end
961
+
962
+ class ListRegionsResponse
963
+ attr_accessor regions: ::Array[Types::RegionMetadata]
964
+ attr_accessor next_token: ::String
965
+ SENSITIVE: []
966
+ end
967
+
928
968
  class ListTagsForResourceRequest
929
969
  attr_accessor instance_arn: ::String
930
970
  attr_accessor resource_arn: ::String
@@ -1085,6 +1125,25 @@ module Aws::SSOAdmin
1085
1125
  class RefreshTokenGrant < Aws::EmptyStructure
1086
1126
  end
1087
1127
 
1128
+ class RegionMetadata
1129
+ attr_accessor region_name: ::String
1130
+ attr_accessor status: ("ACTIVE" | "ADDING" | "REMOVING")
1131
+ attr_accessor added_date: ::Time
1132
+ attr_accessor is_primary_region: bool
1133
+ SENSITIVE: []
1134
+ end
1135
+
1136
+ class RemoveRegionRequest
1137
+ attr_accessor instance_arn: ::String
1138
+ attr_accessor region_name: ::String
1139
+ SENSITIVE: []
1140
+ end
1141
+
1142
+ class RemoveRegionResponse
1143
+ attr_accessor status: ("ACTIVE" | "ADDING" | "REMOVING")
1144
+ SENSITIVE: []
1145
+ end
1146
+
1088
1147
  class ResourceNotFoundException
1089
1148
  attr_accessor message: ::String
1090
1149
  attr_accessor reason: ("KMS_NotFoundException")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssoadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.67.0
4
+ version: 1.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.241.3
21
+ version: 3.241.4
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.241.3
31
+ version: 3.241.4
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement