@aws-sdk/client-sso-admin 3.981.0 → 3.983.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.
Files changed (42) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +180 -22
  3. package/dist-es/SSOAdmin.js +10 -0
  4. package/dist-es/commands/AddRegionCommand.js +16 -0
  5. package/dist-es/commands/DescribeRegionCommand.js +16 -0
  6. package/dist-es/commands/ListRegionsCommand.js +16 -0
  7. package/dist-es/commands/RemoveRegionCommand.js +16 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/enums.js +13 -8
  10. package/dist-es/models/errors.js +10 -10
  11. package/dist-es/pagination/ListRegionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +83 -4
  14. package/dist-types/SSOAdmin.d.ts +35 -0
  15. package/dist-types/SSOAdminClient.d.ts +6 -2
  16. package/dist-types/commands/AddRegionCommand.d.ts +93 -0
  17. package/dist-types/commands/DescribeApplicationCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeRegionCommand.d.ts +93 -0
  19. package/dist-types/commands/ListApplicationsCommand.d.ts +1 -0
  20. package/dist-types/commands/ListRegionsCommand.d.ts +96 -0
  21. package/dist-types/commands/RemoveRegionCommand.d.ts +93 -0
  22. package/dist-types/commands/index.d.ts +4 -0
  23. package/dist-types/models/enums.d.ts +36 -23
  24. package/dist-types/models/errors.d.ts +13 -13
  25. package/dist-types/models/models_0.d.ts +163 -2
  26. package/dist-types/pagination/ListRegionsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/schemas/schemas_0.d.ts +13 -0
  29. package/dist-types/ts3.4/SSOAdmin.d.ts +75 -0
  30. package/dist-types/ts3.4/SSOAdminClient.d.ts +24 -0
  31. package/dist-types/ts3.4/commands/AddRegionCommand.d.ts +47 -0
  32. package/dist-types/ts3.4/commands/DescribeRegionCommand.d.ts +50 -0
  33. package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +47 -0
  34. package/dist-types/ts3.4/commands/RemoveRegionCommand.d.ts +47 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  36. package/dist-types/ts3.4/models/enums.d.ts +18 -12
  37. package/dist-types/ts3.4/models/errors.d.ts +7 -7
  38. package/dist-types/ts3.4/models/models_0.d.ts +42 -0
  39. package/dist-types/ts3.4/pagination/ListRegionsPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  42. package/package.json +6 -6
@@ -1,5 +1,5 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { ApplicationStatus, ApplicationVisibility, AuthenticationMethodType, FederationProtocol, GrantType, InstanceAccessControlAttributeConfigurationStatus, InstanceStatus, JwksRetrievalOption, KmsKeyStatus, KmsKeyType, PrincipalType, ProvisioningStatus, ProvisionTargetType, SignInOrigin, StatusValues, TargetType, TrustedTokenIssuerType, UserBackgroundSessionApplicationStatus } from "./enums";
2
+ import { ApplicationStatus, ApplicationVisibility, AuthenticationMethodType, FederationProtocol, GrantType, InstanceAccessControlAttributeConfigurationStatus, InstanceStatus, JwksRetrievalOption, KmsKeyStatus, KmsKeyType, PrincipalType, ProvisioningStatus, ProvisionTargetType, RegionStatus, SignInOrigin, StatusValues, TargetType, TrustedTokenIssuerType, UserBackgroundSessionApplicationStatus } from "./enums";
3
3
  /**
4
4
  * <p>The value used for mapping a specified attribute to an identity source. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/attributemappingsconcept.html">Attribute mappings</a> in the <i>IAM Identity Center User Guide</i>.</p>
5
5
  * @public
@@ -151,6 +151,31 @@ export interface AccountAssignmentOperationStatusMetadata {
151
151
  */
152
152
  CreatedDate?: Date | undefined;
153
153
  }
154
+ /**
155
+ * @public
156
+ */
157
+ export interface AddRegionRequest {
158
+ /**
159
+ * <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance to replicate to the target Region.</p>
160
+ * @public
161
+ */
162
+ InstanceArn: string | undefined;
163
+ /**
164
+ * <p>The name of the Amazon Web Services Region to add to the IAM Identity Center instance. The Region name must be 1-32 characters long and follow the pattern of Amazon Web Services Region names (for example, us-east-1).</p>
165
+ * @public
166
+ */
167
+ RegionName: string | undefined;
168
+ }
169
+ /**
170
+ * @public
171
+ */
172
+ export interface AddRegionResponse {
173
+ /**
174
+ * <p>The status of the Region after the Add operation. The status is ADDING when the asynchronous workflow is in progress and changes to ACTIVE when complete.</p>
175
+ * @public
176
+ */
177
+ Status?: RegionStatus | undefined;
178
+ }
154
179
  /**
155
180
  * <p>A structure that describes the sign-in options for an application portal.</p>
156
181
  * @public
@@ -233,6 +258,11 @@ export interface Application {
233
258
  * @public
234
259
  */
235
260
  CreatedDate?: Date | undefined;
261
+ /**
262
+ * <p>The Amazon Web Services Region where the application was created in IAM Identity Center.</p>
263
+ * @public
264
+ */
265
+ CreatedFrom?: string | undefined;
236
266
  }
237
267
  /**
238
268
  * @public
@@ -1615,6 +1645,11 @@ export interface DescribeApplicationResponse {
1615
1645
  * @public
1616
1646
  */
1617
1647
  CreatedDate?: Date | undefined;
1648
+ /**
1649
+ * <p>The Amazon Web Services Region where the application was created in IAM Identity Center.</p>
1650
+ * @public
1651
+ */
1652
+ CreatedFrom?: string | undefined;
1618
1653
  }
1619
1654
  /**
1620
1655
  * @public
@@ -1888,6 +1923,46 @@ export interface DescribePermissionSetProvisioningStatusResponse {
1888
1923
  */
1889
1924
  PermissionSetProvisioningStatus?: PermissionSetProvisioningStatus | undefined;
1890
1925
  }
1926
+ /**
1927
+ * @public
1928
+ */
1929
+ export interface DescribeRegionRequest {
1930
+ /**
1931
+ * <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance.</p>
1932
+ * @public
1933
+ */
1934
+ InstanceArn: string | undefined;
1935
+ /**
1936
+ * <p>The name of the Amazon Web Services Region to retrieve information about. The Region name must be 1-32 characters long and follow the pattern of Amazon Web Services Region names (for example, us-east-1).</p>
1937
+ * @public
1938
+ */
1939
+ RegionName: string | undefined;
1940
+ }
1941
+ /**
1942
+ * @public
1943
+ */
1944
+ export interface DescribeRegionResponse {
1945
+ /**
1946
+ * <p>The Amazon Web Services Region name.</p>
1947
+ * @public
1948
+ */
1949
+ RegionName?: string | undefined;
1950
+ /**
1951
+ * <p>The current status of the Region. Valid values are ACTIVE (Region is operational), ADDING (Region replication workflow is in progress), or REMOVING (Region removal workflow is in progress).</p>
1952
+ * @public
1953
+ */
1954
+ Status?: RegionStatus | undefined;
1955
+ /**
1956
+ * <p>The timestamp when the Region was added to the IAM Identity Center instance. For the primary Region, this is the IAM Identity Center instance creation time.</p>
1957
+ * @public
1958
+ */
1959
+ AddedDate?: Date | undefined;
1960
+ /**
1961
+ * <p>Indicates whether this is the primary Region where the IAM Identity Center instance was originally enabled. For more information on the difference between the primary Region and additional Regions, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/multi-region-iam-identity-center.html">IAM Identity Center User Guide</a> </p>
1962
+ * @public
1963
+ */
1964
+ IsPrimaryRegion?: boolean | undefined;
1965
+ }
1891
1966
  /**
1892
1967
  * @public
1893
1968
  */
@@ -2811,6 +2886,67 @@ export interface ListPermissionSetsProvisionedToAccountResponse {
2811
2886
  */
2812
2887
  PermissionSets?: string[] | undefined;
2813
2888
  }
2889
+ /**
2890
+ * @public
2891
+ */
2892
+ export interface ListRegionsRequest {
2893
+ /**
2894
+ * <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance.</p>
2895
+ * @public
2896
+ */
2897
+ InstanceArn: string | undefined;
2898
+ /**
2899
+ * <p>The maximum number of results to return in a single call. Default is 100.</p>
2900
+ * @public
2901
+ */
2902
+ MaxResults?: number | undefined;
2903
+ /**
2904
+ * <p>The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.</p>
2905
+ * @public
2906
+ */
2907
+ NextToken?: string | undefined;
2908
+ }
2909
+ /**
2910
+ * <p>Contains information about an enabled Region of an IAM Identity Center instance, including the Region name, status, date added, and whether it is the primary Region.</p>
2911
+ * @public
2912
+ */
2913
+ export interface RegionMetadata {
2914
+ /**
2915
+ * <p>The Amazon Web Services Region name.</p>
2916
+ * @public
2917
+ */
2918
+ RegionName?: string | undefined;
2919
+ /**
2920
+ * <p>The current status of the Region. Valid values are ACTIVE (Region is operational), ADDING (Region extension workflow is in progress), or REMOVING (Region removal workflow is in progress).</p>
2921
+ * @public
2922
+ */
2923
+ Status?: RegionStatus | undefined;
2924
+ /**
2925
+ * <p>The timestamp when the Region was added to the IAM Identity Center instance. For the primary Region, this is the instance creation time.</p>
2926
+ * @public
2927
+ */
2928
+ AddedDate?: Date | undefined;
2929
+ /**
2930
+ * <p>Indicates whether this is the primary Region where the IAM Identity Center instance was originally enabled. The primary Region cannot be removed.</p>
2931
+ * @public
2932
+ */
2933
+ IsPrimaryRegion?: boolean | undefined;
2934
+ }
2935
+ /**
2936
+ * @public
2937
+ */
2938
+ export interface ListRegionsResponse {
2939
+ /**
2940
+ * <p>The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.</p>
2941
+ * @public
2942
+ */
2943
+ Regions?: RegionMetadata[] | undefined;
2944
+ /**
2945
+ * <p>The pagination token to be used in subsequent calls. If the value is null, then there are no more entries.</p>
2946
+ * @public
2947
+ */
2948
+ NextToken?: string | undefined;
2949
+ }
2814
2950
  /**
2815
2951
  * @public
2816
2952
  */
@@ -3048,6 +3184,31 @@ export interface PutPermissionsBoundaryToPermissionSetRequest {
3048
3184
  */
3049
3185
  export interface PutPermissionsBoundaryToPermissionSetResponse {
3050
3186
  }
3187
+ /**
3188
+ * @public
3189
+ */
3190
+ export interface RemoveRegionRequest {
3191
+ /**
3192
+ * <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance.</p>
3193
+ * @public
3194
+ */
3195
+ InstanceArn: string | undefined;
3196
+ /**
3197
+ * <p>The name of the Amazon Web Services Region to remove from the IAM Identity Center instance. The Region name must be 1-32 characters long and follow the pattern of Amazon Web Services Region names (for example, us-east-1). The primary Region cannot be removed.</p>
3198
+ * @public
3199
+ */
3200
+ RegionName: string | undefined;
3201
+ }
3202
+ /**
3203
+ * @public
3204
+ */
3205
+ export interface RemoveRegionResponse {
3206
+ /**
3207
+ * <p>The status of the Region after the remove operation. The status is REMOVING when the asynchronous workflow is in progress. The Region record is deleted when the workflow completes.</p>
3208
+ * @public
3209
+ */
3210
+ Status?: RegionStatus | undefined;
3211
+ }
3051
3212
  /**
3052
3213
  * @public
3053
3214
  */
@@ -3159,7 +3320,7 @@ export interface UpdateInstanceRequest {
3159
3320
  */
3160
3321
  InstanceArn: string | undefined;
3161
3322
  /**
3162
- * <p>Specifies the encryption configuration for your IAM Identity Center instance. You can use this to configure customer managed KMS keys (CMK) or Amazon Web Services owned KMS keys for encrypting your instance data.</p>
3323
+ * <p>Specifies the encryption configuration for your IAM Identity Center instance. You can use this to configure customer managed KMS keys or Amazon Web Services owned KMS keys for encrypting your instance data.</p>
3163
3324
  * @public
3164
3325
  */
3165
3326
  EncryptionConfiguration?: EncryptionConfiguration | undefined;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListRegionsCommandInput, ListRegionsCommandOutput } from "../commands/ListRegionsCommand";
3
+ import { SSOAdminPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListRegions: (config: SSOAdminPaginationConfiguration, input: ListRegionsCommandInput, ...rest: any[]) => Paginator<ListRegionsCommandOutput>;
@@ -17,5 +17,6 @@ export * from "./ListManagedPoliciesInPermissionSetPaginator";
17
17
  export * from "./ListPermissionSetProvisioningStatusPaginator";
18
18
  export * from "./ListPermissionSetsPaginator";
19
19
  export * from "./ListPermissionSetsProvisionedToAccountPaginator";
20
+ export * from "./ListRegionsPaginator";
20
21
  export * from "./ListTagsForResourcePaginator";
21
22
  export * from "./ListTrustedTokenIssuersPaginator";
@@ -6,6 +6,8 @@ export declare var AccountAssignment$: StaticStructureSchema;
6
6
  export declare var AccountAssignmentForPrincipal$: StaticStructureSchema;
7
7
  export declare var AccountAssignmentOperationStatus$: StaticStructureSchema;
8
8
  export declare var AccountAssignmentOperationStatusMetadata$: StaticStructureSchema;
9
+ export declare var AddRegionRequest$: StaticStructureSchema;
10
+ export declare var AddRegionResponse$: StaticStructureSchema;
9
11
  export declare var Application$: StaticStructureSchema;
10
12
  export declare var ApplicationAssignment$: StaticStructureSchema;
11
13
  export declare var ApplicationAssignmentForPrincipal$: StaticStructureSchema;
@@ -73,6 +75,8 @@ export declare var DescribePermissionSetProvisioningStatusRequest$: StaticStruct
73
75
  export declare var DescribePermissionSetProvisioningStatusResponse$: StaticStructureSchema;
74
76
  export declare var DescribePermissionSetRequest$: StaticStructureSchema;
75
77
  export declare var DescribePermissionSetResponse$: StaticStructureSchema;
78
+ export declare var DescribeRegionRequest$: StaticStructureSchema;
79
+ export declare var DescribeRegionResponse$: StaticStructureSchema;
76
80
  export declare var DescribeTrustedTokenIssuerRequest$: StaticStructureSchema;
77
81
  export declare var DescribeTrustedTokenIssuerResponse$: StaticStructureSchema;
78
82
  export declare var DetachCustomerManagedPolicyReferenceFromPermissionSetRequest$: StaticStructureSchema;
@@ -141,6 +145,8 @@ export declare var ListPermissionSetsProvisionedToAccountRequest$: StaticStructu
141
145
  export declare var ListPermissionSetsProvisionedToAccountResponse$: StaticStructureSchema;
142
146
  export declare var ListPermissionSetsRequest$: StaticStructureSchema;
143
147
  export declare var ListPermissionSetsResponse$: StaticStructureSchema;
148
+ export declare var ListRegionsRequest$: StaticStructureSchema;
149
+ export declare var ListRegionsResponse$: StaticStructureSchema;
144
150
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
145
151
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
146
152
  export declare var ListTrustedTokenIssuersRequest$: StaticStructureSchema;
@@ -167,6 +173,9 @@ export declare var PutInlinePolicyToPermissionSetResponse$: StaticStructureSchem
167
173
  export declare var PutPermissionsBoundaryToPermissionSetRequest$: StaticStructureSchema;
168
174
  export declare var PutPermissionsBoundaryToPermissionSetResponse$: StaticStructureSchema;
169
175
  export declare var RefreshTokenGrant$: StaticStructureSchema;
176
+ export declare var RegionMetadata$: StaticStructureSchema;
177
+ export declare var RemoveRegionRequest$: StaticStructureSchema;
178
+ export declare var RemoveRegionResponse$: StaticStructureSchema;
170
179
  export declare var ResourceNotFoundException$: StaticErrorSchema;
171
180
  export declare var ResourceServerConfig$: StaticStructureSchema;
172
181
  export declare var ResourceServerScopeDetails$: StaticStructureSchema;
@@ -198,6 +207,7 @@ export declare var AuthenticationMethod$: StaticUnionSchema;
198
207
  export declare var Grant$: StaticUnionSchema;
199
208
  export declare var TrustedTokenIssuerConfiguration$: StaticUnionSchema;
200
209
  export declare var TrustedTokenIssuerUpdateConfiguration$: StaticUnionSchema;
210
+ export declare var AddRegion$: StaticOperationSchema;
201
211
  export declare var AttachCustomerManagedPolicyReferenceToPermissionSet$: StaticOperationSchema;
202
212
  export declare var AttachManagedPolicyToPermissionSet$: StaticOperationSchema;
203
213
  export declare var CreateAccountAssignment$: StaticOperationSchema;
@@ -228,6 +238,7 @@ export declare var DescribeInstance$: StaticOperationSchema;
228
238
  export declare var DescribeInstanceAccessControlAttributeConfiguration$: StaticOperationSchema;
229
239
  export declare var DescribePermissionSet$: StaticOperationSchema;
230
240
  export declare var DescribePermissionSetProvisioningStatus$: StaticOperationSchema;
241
+ export declare var DescribeRegion$: StaticOperationSchema;
231
242
  export declare var DescribeTrustedTokenIssuer$: StaticOperationSchema;
232
243
  export declare var DetachCustomerManagedPolicyReferenceFromPermissionSet$: StaticOperationSchema;
233
244
  export declare var DetachManagedPolicyFromPermissionSet$: StaticOperationSchema;
@@ -256,6 +267,7 @@ export declare var ListManagedPoliciesInPermissionSet$: StaticOperationSchema;
256
267
  export declare var ListPermissionSetProvisioningStatus$: StaticOperationSchema;
257
268
  export declare var ListPermissionSets$: StaticOperationSchema;
258
269
  export declare var ListPermissionSetsProvisionedToAccount$: StaticOperationSchema;
270
+ export declare var ListRegions$: StaticOperationSchema;
259
271
  export declare var ListTagsForResource$: StaticOperationSchema;
260
272
  export declare var ListTrustedTokenIssuers$: StaticOperationSchema;
261
273
  export declare var ProvisionPermissionSet$: StaticOperationSchema;
@@ -266,6 +278,7 @@ export declare var PutApplicationGrant$: StaticOperationSchema;
266
278
  export declare var PutApplicationSessionConfiguration$: StaticOperationSchema;
267
279
  export declare var PutInlinePolicyToPermissionSet$: StaticOperationSchema;
268
280
  export declare var PutPermissionsBoundaryToPermissionSet$: StaticOperationSchema;
281
+ export declare var RemoveRegion$: StaticOperationSchema;
269
282
  export declare var TagResource$: StaticOperationSchema;
270
283
  export declare var UntagResource$: StaticOperationSchema;
271
284
  export declare var UpdateApplication$: StaticOperationSchema;
@@ -3,6 +3,10 @@ import {
3
3
  PaginationConfiguration,
4
4
  Paginator,
5
5
  } from "@smithy/types";
6
+ import {
7
+ AddRegionCommandInput,
8
+ AddRegionCommandOutput,
9
+ } from "./commands/AddRegionCommand";
6
10
  import {
7
11
  AttachCustomerManagedPolicyReferenceToPermissionSetCommandInput,
8
12
  AttachCustomerManagedPolicyReferenceToPermissionSetCommandOutput,
@@ -123,6 +127,10 @@ import {
123
127
  DescribePermissionSetProvisioningStatusCommandInput,
124
128
  DescribePermissionSetProvisioningStatusCommandOutput,
125
129
  } from "./commands/DescribePermissionSetProvisioningStatusCommand";
130
+ import {
131
+ DescribeRegionCommandInput,
132
+ DescribeRegionCommandOutput,
133
+ } from "./commands/DescribeRegionCommand";
126
134
  import {
127
135
  DescribeTrustedTokenIssuerCommandInput,
128
136
  DescribeTrustedTokenIssuerCommandOutput,
@@ -235,6 +243,10 @@ import {
235
243
  ListPermissionSetsProvisionedToAccountCommandInput,
236
244
  ListPermissionSetsProvisionedToAccountCommandOutput,
237
245
  } from "./commands/ListPermissionSetsProvisionedToAccountCommand";
246
+ import {
247
+ ListRegionsCommandInput,
248
+ ListRegionsCommandOutput,
249
+ } from "./commands/ListRegionsCommand";
238
250
  import {
239
251
  ListTagsForResourceCommandInput,
240
252
  ListTagsForResourceCommandOutput,
@@ -275,6 +287,10 @@ import {
275
287
  PutPermissionsBoundaryToPermissionSetCommandInput,
276
288
  PutPermissionsBoundaryToPermissionSetCommandOutput,
277
289
  } from "./commands/PutPermissionsBoundaryToPermissionSetCommand";
290
+ import {
291
+ RemoveRegionCommandInput,
292
+ RemoveRegionCommandOutput,
293
+ } from "./commands/RemoveRegionCommand";
278
294
  import {
279
295
  TagResourceCommandInput,
280
296
  TagResourceCommandOutput,
@@ -305,6 +321,19 @@ import {
305
321
  } from "./commands/UpdateTrustedTokenIssuerCommand";
306
322
  import { SSOAdminClient } from "./SSOAdminClient";
307
323
  export interface SSOAdmin {
324
+ addRegion(
325
+ args: AddRegionCommandInput,
326
+ options?: __HttpHandlerOptions
327
+ ): Promise<AddRegionCommandOutput>;
328
+ addRegion(
329
+ args: AddRegionCommandInput,
330
+ cb: (err: any, data?: AddRegionCommandOutput) => void
331
+ ): void;
332
+ addRegion(
333
+ args: AddRegionCommandInput,
334
+ options: __HttpHandlerOptions,
335
+ cb: (err: any, data?: AddRegionCommandOutput) => void
336
+ ): void;
308
337
  attachCustomerManagedPolicyReferenceToPermissionSet(
309
338
  args: AttachCustomerManagedPolicyReferenceToPermissionSetCommandInput,
310
339
  options?: __HttpHandlerOptions
@@ -762,6 +791,19 @@ export interface SSOAdmin {
762
791
  data?: DescribePermissionSetProvisioningStatusCommandOutput
763
792
  ) => void
764
793
  ): void;
794
+ describeRegion(
795
+ args: DescribeRegionCommandInput,
796
+ options?: __HttpHandlerOptions
797
+ ): Promise<DescribeRegionCommandOutput>;
798
+ describeRegion(
799
+ args: DescribeRegionCommandInput,
800
+ cb: (err: any, data?: DescribeRegionCommandOutput) => void
801
+ ): void;
802
+ describeRegion(
803
+ args: DescribeRegionCommandInput,
804
+ options: __HttpHandlerOptions,
805
+ cb: (err: any, data?: DescribeRegionCommandOutput) => void
806
+ ): void;
765
807
  describeTrustedTokenIssuer(
766
808
  args: DescribeTrustedTokenIssuerCommandInput,
767
809
  options?: __HttpHandlerOptions
@@ -1224,6 +1266,19 @@ export interface SSOAdmin {
1224
1266
  data?: ListPermissionSetsProvisionedToAccountCommandOutput
1225
1267
  ) => void
1226
1268
  ): void;
1269
+ listRegions(
1270
+ args: ListRegionsCommandInput,
1271
+ options?: __HttpHandlerOptions
1272
+ ): Promise<ListRegionsCommandOutput>;
1273
+ listRegions(
1274
+ args: ListRegionsCommandInput,
1275
+ cb: (err: any, data?: ListRegionsCommandOutput) => void
1276
+ ): void;
1277
+ listRegions(
1278
+ args: ListRegionsCommandInput,
1279
+ options: __HttpHandlerOptions,
1280
+ cb: (err: any, data?: ListRegionsCommandOutput) => void
1281
+ ): void;
1227
1282
  listTagsForResource(
1228
1283
  args: ListTagsForResourceCommandInput,
1229
1284
  options?: __HttpHandlerOptions
@@ -1378,6 +1433,19 @@ export interface SSOAdmin {
1378
1433
  data?: PutPermissionsBoundaryToPermissionSetCommandOutput
1379
1434
  ) => void
1380
1435
  ): void;
1436
+ removeRegion(
1437
+ args: RemoveRegionCommandInput,
1438
+ options?: __HttpHandlerOptions
1439
+ ): Promise<RemoveRegionCommandOutput>;
1440
+ removeRegion(
1441
+ args: RemoveRegionCommandInput,
1442
+ cb: (err: any, data?: RemoveRegionCommandOutput) => void
1443
+ ): void;
1444
+ removeRegion(
1445
+ args: RemoveRegionCommandInput,
1446
+ options: __HttpHandlerOptions,
1447
+ cb: (err: any, data?: RemoveRegionCommandOutput) => void
1448
+ ): void;
1381
1449
  tagResource(
1382
1450
  args: TagResourceCommandInput,
1383
1451
  options?: __HttpHandlerOptions
@@ -1601,6 +1669,13 @@ export interface SSOAdmin {
1601
1669
  Exclude<keyof PaginationConfiguration, "client">
1602
1670
  >
1603
1671
  ): Paginator<ListPermissionSetsProvisionedToAccountCommandOutput>;
1672
+ paginateListRegions(
1673
+ args: ListRegionsCommandInput,
1674
+ paginationConfig?: Pick<
1675
+ PaginationConfiguration,
1676
+ Exclude<keyof PaginationConfiguration, "client">
1677
+ >
1678
+ ): Paginator<ListRegionsCommandOutput>;
1604
1679
  paginateListTagsForResource(
1605
1680
  args: ListTagsForResourceCommandInput,
1606
1681
  paginationConfig?: Pick<
@@ -45,6 +45,10 @@ import {
45
45
  HttpAuthSchemeInputConfig,
46
46
  HttpAuthSchemeResolvedConfig,
47
47
  } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ AddRegionCommandInput,
50
+ AddRegionCommandOutput,
51
+ } from "./commands/AddRegionCommand";
48
52
  import {
49
53
  AttachCustomerManagedPolicyReferenceToPermissionSetCommandInput,
50
54
  AttachCustomerManagedPolicyReferenceToPermissionSetCommandOutput,
@@ -165,6 +169,10 @@ import {
165
169
  DescribePermissionSetProvisioningStatusCommandInput,
166
170
  DescribePermissionSetProvisioningStatusCommandOutput,
167
171
  } from "./commands/DescribePermissionSetProvisioningStatusCommand";
172
+ import {
173
+ DescribeRegionCommandInput,
174
+ DescribeRegionCommandOutput,
175
+ } from "./commands/DescribeRegionCommand";
168
176
  import {
169
177
  DescribeTrustedTokenIssuerCommandInput,
170
178
  DescribeTrustedTokenIssuerCommandOutput,
@@ -277,6 +285,10 @@ import {
277
285
  ListPermissionSetsProvisionedToAccountCommandInput,
278
286
  ListPermissionSetsProvisionedToAccountCommandOutput,
279
287
  } from "./commands/ListPermissionSetsProvisionedToAccountCommand";
288
+ import {
289
+ ListRegionsCommandInput,
290
+ ListRegionsCommandOutput,
291
+ } from "./commands/ListRegionsCommand";
280
292
  import {
281
293
  ListTagsForResourceCommandInput,
282
294
  ListTagsForResourceCommandOutput,
@@ -317,6 +329,10 @@ import {
317
329
  PutPermissionsBoundaryToPermissionSetCommandInput,
318
330
  PutPermissionsBoundaryToPermissionSetCommandOutput,
319
331
  } from "./commands/PutPermissionsBoundaryToPermissionSetCommand";
332
+ import {
333
+ RemoveRegionCommandInput,
334
+ RemoveRegionCommandOutput,
335
+ } from "./commands/RemoveRegionCommand";
320
336
  import {
321
337
  TagResourceCommandInput,
322
338
  TagResourceCommandOutput,
@@ -353,6 +369,7 @@ import {
353
369
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
354
370
  export { __Client };
355
371
  export type ServiceInputTypes =
372
+ | AddRegionCommandInput
356
373
  | AttachCustomerManagedPolicyReferenceToPermissionSetCommandInput
357
374
  | AttachManagedPolicyToPermissionSetCommandInput
358
375
  | CreateAccountAssignmentCommandInput
@@ -383,6 +400,7 @@ export type ServiceInputTypes =
383
400
  | DescribeInstanceCommandInput
384
401
  | DescribePermissionSetCommandInput
385
402
  | DescribePermissionSetProvisioningStatusCommandInput
403
+ | DescribeRegionCommandInput
386
404
  | DescribeTrustedTokenIssuerCommandInput
387
405
  | DetachCustomerManagedPolicyReferenceFromPermissionSetCommandInput
388
406
  | DetachManagedPolicyFromPermissionSetCommandInput
@@ -411,6 +429,7 @@ export type ServiceInputTypes =
411
429
  | ListPermissionSetProvisioningStatusCommandInput
412
430
  | ListPermissionSetsCommandInput
413
431
  | ListPermissionSetsProvisionedToAccountCommandInput
432
+ | ListRegionsCommandInput
414
433
  | ListTagsForResourceCommandInput
415
434
  | ListTrustedTokenIssuersCommandInput
416
435
  | ProvisionPermissionSetCommandInput
@@ -421,6 +440,7 @@ export type ServiceInputTypes =
421
440
  | PutApplicationSessionConfigurationCommandInput
422
441
  | PutInlinePolicyToPermissionSetCommandInput
423
442
  | PutPermissionsBoundaryToPermissionSetCommandInput
443
+ | RemoveRegionCommandInput
424
444
  | TagResourceCommandInput
425
445
  | UntagResourceCommandInput
426
446
  | UpdateApplicationCommandInput
@@ -429,6 +449,7 @@ export type ServiceInputTypes =
429
449
  | UpdatePermissionSetCommandInput
430
450
  | UpdateTrustedTokenIssuerCommandInput;
431
451
  export type ServiceOutputTypes =
452
+ | AddRegionCommandOutput
432
453
  | AttachCustomerManagedPolicyReferenceToPermissionSetCommandOutput
433
454
  | AttachManagedPolicyToPermissionSetCommandOutput
434
455
  | CreateAccountAssignmentCommandOutput
@@ -459,6 +480,7 @@ export type ServiceOutputTypes =
459
480
  | DescribeInstanceCommandOutput
460
481
  | DescribePermissionSetCommandOutput
461
482
  | DescribePermissionSetProvisioningStatusCommandOutput
483
+ | DescribeRegionCommandOutput
462
484
  | DescribeTrustedTokenIssuerCommandOutput
463
485
  | DetachCustomerManagedPolicyReferenceFromPermissionSetCommandOutput
464
486
  | DetachManagedPolicyFromPermissionSetCommandOutput
@@ -487,6 +509,7 @@ export type ServiceOutputTypes =
487
509
  | ListPermissionSetProvisioningStatusCommandOutput
488
510
  | ListPermissionSetsCommandOutput
489
511
  | ListPermissionSetsProvisionedToAccountCommandOutput
512
+ | ListRegionsCommandOutput
490
513
  | ListTagsForResourceCommandOutput
491
514
  | ListTrustedTokenIssuersCommandOutput
492
515
  | ProvisionPermissionSetCommandOutput
@@ -497,6 +520,7 @@ export type ServiceOutputTypes =
497
520
  | PutApplicationSessionConfigurationCommandOutput
498
521
  | PutInlinePolicyToPermissionSetCommandOutput
499
522
  | PutPermissionsBoundaryToPermissionSetCommandOutput
523
+ | RemoveRegionCommandOutput
500
524
  | TagResourceCommandOutput
501
525
  | UntagResourceCommandOutput
502
526
  | UpdateApplicationCommandOutput
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AddRegionRequest, AddRegionResponse } from "../models/models_0";
4
+ import {
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ SSOAdminClientResolvedConfig,
8
+ } from "../SSOAdminClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface AddRegionCommandInput extends AddRegionRequest {}
12
+ export interface AddRegionCommandOutput
13
+ extends AddRegionResponse,
14
+ __MetadataBearer {}
15
+ declare const AddRegionCommand_base: {
16
+ new (
17
+ input: AddRegionCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ AddRegionCommandInput,
20
+ AddRegionCommandOutput,
21
+ SSOAdminClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: AddRegionCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ AddRegionCommandInput,
29
+ AddRegionCommandOutput,
30
+ SSOAdminClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class AddRegionCommand extends AddRegionCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: AddRegionRequest;
40
+ output: AddRegionResponse;
41
+ };
42
+ sdk: {
43
+ input: AddRegionCommandInput;
44
+ output: AddRegionCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DescribeRegionRequest,
5
+ DescribeRegionResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SSOAdminClientResolvedConfig,
11
+ } from "../SSOAdminClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeRegionCommandInput extends DescribeRegionRequest {}
15
+ export interface DescribeRegionCommandOutput
16
+ extends DescribeRegionResponse,
17
+ __MetadataBearer {}
18
+ declare const DescribeRegionCommand_base: {
19
+ new (
20
+ input: DescribeRegionCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DescribeRegionCommandInput,
23
+ DescribeRegionCommandOutput,
24
+ SSOAdminClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: DescribeRegionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeRegionCommandInput,
32
+ DescribeRegionCommandOutput,
33
+ SSOAdminClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class DescribeRegionCommand extends DescribeRegionCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: DescribeRegionRequest;
43
+ output: DescribeRegionResponse;
44
+ };
45
+ sdk: {
46
+ input: DescribeRegionCommandInput;
47
+ output: DescribeRegionCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListRegionsRequest, ListRegionsResponse } from "../models/models_0";
4
+ import {
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ SSOAdminClientResolvedConfig,
8
+ } from "../SSOAdminClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface ListRegionsCommandInput extends ListRegionsRequest {}
12
+ export interface ListRegionsCommandOutput
13
+ extends ListRegionsResponse,
14
+ __MetadataBearer {}
15
+ declare const ListRegionsCommand_base: {
16
+ new (
17
+ input: ListRegionsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ ListRegionsCommandInput,
20
+ ListRegionsCommandOutput,
21
+ SSOAdminClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: ListRegionsCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ ListRegionsCommandInput,
29
+ ListRegionsCommandOutput,
30
+ SSOAdminClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class ListRegionsCommand extends ListRegionsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: ListRegionsRequest;
40
+ output: ListRegionsResponse;
41
+ };
42
+ sdk: {
43
+ input: ListRegionsCommandInput;
44
+ output: ListRegionsCommandOutput;
45
+ };
46
+ };
47
+ }