@alicloud/cloudsso20210515 1.2.0 → 1.4.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.
package/src/client.ts CHANGED
@@ -53,9 +53,9 @@ export class AddExternalSAMLIdPCertificateResponseBody extends $tea.Model {
53
53
  }
54
54
 
55
55
  export class AddExternalSAMLIdPCertificateResponse extends $tea.Model {
56
- headers: { [key: string]: string };
57
- statusCode: number;
58
- body: AddExternalSAMLIdPCertificateResponseBody;
56
+ headers?: { [key: string]: string };
57
+ statusCode?: number;
58
+ body?: AddExternalSAMLIdPCertificateResponseBody;
59
59
  static names(): { [key: string]: string } {
60
60
  return {
61
61
  headers: 'headers',
@@ -128,9 +128,9 @@ export class AddPermissionPolicyToAccessConfigurationResponseBody extends $tea.M
128
128
  }
129
129
 
130
130
  export class AddPermissionPolicyToAccessConfigurationResponse extends $tea.Model {
131
- headers: { [key: string]: string };
132
- statusCode: number;
133
- body: AddPermissionPolicyToAccessConfigurationResponseBody;
131
+ headers?: { [key: string]: string };
132
+ statusCode?: number;
133
+ body?: AddPermissionPolicyToAccessConfigurationResponseBody;
134
134
  static names(): { [key: string]: string } {
135
135
  return {
136
136
  headers: 'headers',
@@ -197,9 +197,9 @@ export class AddUserToGroupResponseBody extends $tea.Model {
197
197
  }
198
198
 
199
199
  export class AddUserToGroupResponse extends $tea.Model {
200
- headers: { [key: string]: string };
201
- statusCode: number;
202
- body: AddUserToGroupResponseBody;
200
+ headers?: { [key: string]: string };
201
+ statusCode?: number;
202
+ body?: AddUserToGroupResponseBody;
203
203
  static names(): { [key: string]: string } {
204
204
  return {
205
205
  headers: 'headers',
@@ -260,9 +260,9 @@ export class ClearExternalSAMLIdentityProviderResponseBody extends $tea.Model {
260
260
  }
261
261
 
262
262
  export class ClearExternalSAMLIdentityProviderResponse extends $tea.Model {
263
- headers: { [key: string]: string };
264
- statusCode: number;
265
- body: ClearExternalSAMLIdentityProviderResponseBody;
263
+ headers?: { [key: string]: string };
264
+ statusCode?: number;
265
+ body?: ClearExternalSAMLIdentityProviderResponseBody;
266
266
  static names(): { [key: string]: string } {
267
267
  return {
268
268
  headers: 'headers',
@@ -341,9 +341,9 @@ export class CreateAccessAssignmentResponseBody extends $tea.Model {
341
341
  }
342
342
 
343
343
  export class CreateAccessAssignmentResponse extends $tea.Model {
344
- headers: { [key: string]: string };
345
- statusCode: number;
346
- body: CreateAccessAssignmentResponseBody;
344
+ headers?: { [key: string]: string };
345
+ statusCode?: number;
346
+ body?: CreateAccessAssignmentResponseBody;
347
347
  static names(): { [key: string]: string } {
348
348
  return {
349
349
  headers: 'headers',
@@ -419,9 +419,9 @@ export class CreateAccessConfigurationResponseBody extends $tea.Model {
419
419
  }
420
420
 
421
421
  export class CreateAccessConfigurationResponse extends $tea.Model {
422
- headers: { [key: string]: string };
423
- statusCode: number;
424
- body: CreateAccessConfigurationResponseBody;
422
+ headers?: { [key: string]: string };
423
+ statusCode?: number;
424
+ body?: CreateAccessConfigurationResponseBody;
425
425
  static names(): { [key: string]: string } {
426
426
  return {
427
427
  headers: 'headers',
@@ -485,9 +485,9 @@ export class CreateDirectoryResponseBody extends $tea.Model {
485
485
  }
486
486
 
487
487
  export class CreateDirectoryResponse extends $tea.Model {
488
- headers: { [key: string]: string };
489
- statusCode: number;
490
- body: CreateDirectoryResponseBody;
488
+ headers?: { [key: string]: string };
489
+ statusCode?: number;
490
+ body?: CreateDirectoryResponseBody;
491
491
  static names(): { [key: string]: string } {
492
492
  return {
493
493
  headers: 'headers',
@@ -557,9 +557,9 @@ export class CreateGroupResponseBody extends $tea.Model {
557
557
  }
558
558
 
559
559
  export class CreateGroupResponse extends $tea.Model {
560
- headers: { [key: string]: string };
561
- statusCode: number;
562
- body: CreateGroupResponseBody;
560
+ headers?: { [key: string]: string };
561
+ statusCode?: number;
562
+ body?: CreateGroupResponseBody;
563
563
  static names(): { [key: string]: string } {
564
564
  return {
565
565
  headers: 'headers',
@@ -623,9 +623,9 @@ export class CreateSCIMServerCredentialResponseBody extends $tea.Model {
623
623
  }
624
624
 
625
625
  export class CreateSCIMServerCredentialResponse extends $tea.Model {
626
- headers: { [key: string]: string };
627
- statusCode: number;
628
- body: CreateSCIMServerCredentialResponseBody;
626
+ headers?: { [key: string]: string };
627
+ statusCode?: number;
628
+ body?: CreateSCIMServerCredentialResponseBody;
629
629
  static names(): { [key: string]: string } {
630
630
  return {
631
631
  headers: 'headers',
@@ -710,9 +710,9 @@ export class CreateUserResponseBody extends $tea.Model {
710
710
  }
711
711
 
712
712
  export class CreateUserResponse extends $tea.Model {
713
- headers: { [key: string]: string };
714
- statusCode: number;
715
- body: CreateUserResponseBody;
713
+ headers?: { [key: string]: string };
714
+ statusCode?: number;
715
+ body?: CreateUserResponseBody;
716
716
  static names(): { [key: string]: string } {
717
717
  return {
718
718
  headers: 'headers',
@@ -797,9 +797,9 @@ export class CreateUserProvisioningResponseBody extends $tea.Model {
797
797
  }
798
798
 
799
799
  export class CreateUserProvisioningResponse extends $tea.Model {
800
- headers: { [key: string]: string };
801
- statusCode: number;
802
- body: CreateUserProvisioningResponseBody;
800
+ headers?: { [key: string]: string };
801
+ statusCode?: number;
802
+ body?: CreateUserProvisioningResponseBody;
803
803
  static names(): { [key: string]: string } {
804
804
  return {
805
805
  headers: 'headers',
@@ -881,9 +881,9 @@ export class DeleteAccessAssignmentResponseBody extends $tea.Model {
881
881
  }
882
882
 
883
883
  export class DeleteAccessAssignmentResponse extends $tea.Model {
884
- headers: { [key: string]: string };
885
- statusCode: number;
886
- body: DeleteAccessAssignmentResponseBody;
884
+ headers?: { [key: string]: string };
885
+ statusCode?: number;
886
+ body?: DeleteAccessAssignmentResponseBody;
887
887
  static names(): { [key: string]: string } {
888
888
  return {
889
889
  headers: 'headers',
@@ -950,9 +950,9 @@ export class DeleteAccessConfigurationResponseBody extends $tea.Model {
950
950
  }
951
951
 
952
952
  export class DeleteAccessConfigurationResponse extends $tea.Model {
953
- headers: { [key: string]: string };
954
- statusCode: number;
955
- body: DeleteAccessConfigurationResponseBody;
953
+ headers?: { [key: string]: string };
954
+ statusCode?: number;
955
+ body?: DeleteAccessConfigurationResponseBody;
956
956
  static names(): { [key: string]: string } {
957
957
  return {
958
958
  headers: 'headers',
@@ -1013,9 +1013,9 @@ export class DeleteDirectoryResponseBody extends $tea.Model {
1013
1013
  }
1014
1014
 
1015
1015
  export class DeleteDirectoryResponse extends $tea.Model {
1016
- headers: { [key: string]: string };
1017
- statusCode: number;
1018
- body: DeleteDirectoryResponseBody;
1016
+ headers?: { [key: string]: string };
1017
+ statusCode?: number;
1018
+ body?: DeleteDirectoryResponseBody;
1019
1019
  static names(): { [key: string]: string } {
1020
1020
  return {
1021
1021
  headers: 'headers',
@@ -1079,9 +1079,9 @@ export class DeleteGroupResponseBody extends $tea.Model {
1079
1079
  }
1080
1080
 
1081
1081
  export class DeleteGroupResponse extends $tea.Model {
1082
- headers: { [key: string]: string };
1083
- statusCode: number;
1084
- body: DeleteGroupResponseBody;
1082
+ headers?: { [key: string]: string };
1083
+ statusCode?: number;
1084
+ body?: DeleteGroupResponseBody;
1085
1085
  static names(): { [key: string]: string } {
1086
1086
  return {
1087
1087
  headers: 'headers',
@@ -1148,9 +1148,9 @@ export class DeleteMFADeviceForUserResponseBody extends $tea.Model {
1148
1148
  }
1149
1149
 
1150
1150
  export class DeleteMFADeviceForUserResponse extends $tea.Model {
1151
- headers: { [key: string]: string };
1152
- statusCode: number;
1153
- body: DeleteMFADeviceForUserResponseBody;
1151
+ headers?: { [key: string]: string };
1152
+ statusCode?: number;
1153
+ body?: DeleteMFADeviceForUserResponseBody;
1154
1154
  static names(): { [key: string]: string } {
1155
1155
  return {
1156
1156
  headers: 'headers',
@@ -1214,9 +1214,9 @@ export class DeleteSCIMServerCredentialResponseBody extends $tea.Model {
1214
1214
  }
1215
1215
 
1216
1216
  export class DeleteSCIMServerCredentialResponse extends $tea.Model {
1217
- headers: { [key: string]: string };
1218
- statusCode: number;
1219
- body: DeleteSCIMServerCredentialResponseBody;
1217
+ headers?: { [key: string]: string };
1218
+ statusCode?: number;
1219
+ body?: DeleteSCIMServerCredentialResponseBody;
1220
1220
  static names(): { [key: string]: string } {
1221
1221
  return {
1222
1222
  headers: 'headers',
@@ -1280,9 +1280,9 @@ export class DeleteUserResponseBody extends $tea.Model {
1280
1280
  }
1281
1281
 
1282
1282
  export class DeleteUserResponse extends $tea.Model {
1283
- headers: { [key: string]: string };
1284
- statusCode: number;
1285
- body: DeleteUserResponseBody;
1283
+ headers?: { [key: string]: string };
1284
+ statusCode?: number;
1285
+ body?: DeleteUserResponseBody;
1286
1286
  static names(): { [key: string]: string } {
1287
1287
  return {
1288
1288
  headers: 'headers',
@@ -1349,9 +1349,9 @@ export class DeleteUserProvisioningResponseBody extends $tea.Model {
1349
1349
  }
1350
1350
 
1351
1351
  export class DeleteUserProvisioningResponse extends $tea.Model {
1352
- headers: { [key: string]: string };
1353
- statusCode: number;
1354
- body: DeleteUserProvisioningResponseBody;
1352
+ headers?: { [key: string]: string };
1353
+ statusCode?: number;
1354
+ body?: DeleteUserProvisioningResponseBody;
1355
1355
  static names(): { [key: string]: string } {
1356
1356
  return {
1357
1357
  headers: 'headers',
@@ -1373,6 +1373,75 @@ export class DeleteUserProvisioningResponse extends $tea.Model {
1373
1373
  }
1374
1374
  }
1375
1375
 
1376
+ export class DeleteUserProvisioningEventRequest extends $tea.Model {
1377
+ directoryId?: string;
1378
+ eventId?: string;
1379
+ userProvisioningId?: string;
1380
+ static names(): { [key: string]: string } {
1381
+ return {
1382
+ directoryId: 'DirectoryId',
1383
+ eventId: 'EventId',
1384
+ userProvisioningId: 'UserProvisioningId',
1385
+ };
1386
+ }
1387
+
1388
+ static types(): { [key: string]: any } {
1389
+ return {
1390
+ directoryId: 'string',
1391
+ eventId: 'string',
1392
+ userProvisioningId: 'string',
1393
+ };
1394
+ }
1395
+
1396
+ constructor(map?: { [key: string]: any }) {
1397
+ super(map);
1398
+ }
1399
+ }
1400
+
1401
+ export class DeleteUserProvisioningEventResponseBody extends $tea.Model {
1402
+ requestId?: string;
1403
+ static names(): { [key: string]: string } {
1404
+ return {
1405
+ requestId: 'RequestId',
1406
+ };
1407
+ }
1408
+
1409
+ static types(): { [key: string]: any } {
1410
+ return {
1411
+ requestId: 'string',
1412
+ };
1413
+ }
1414
+
1415
+ constructor(map?: { [key: string]: any }) {
1416
+ super(map);
1417
+ }
1418
+ }
1419
+
1420
+ export class DeleteUserProvisioningEventResponse extends $tea.Model {
1421
+ headers?: { [key: string]: string };
1422
+ statusCode?: number;
1423
+ body?: DeleteUserProvisioningEventResponseBody;
1424
+ static names(): { [key: string]: string } {
1425
+ return {
1426
+ headers: 'headers',
1427
+ statusCode: 'statusCode',
1428
+ body: 'body',
1429
+ };
1430
+ }
1431
+
1432
+ static types(): { [key: string]: any } {
1433
+ return {
1434
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1435
+ statusCode: 'number',
1436
+ body: DeleteUserProvisioningEventResponseBody,
1437
+ };
1438
+ }
1439
+
1440
+ constructor(map?: { [key: string]: any }) {
1441
+ super(map);
1442
+ }
1443
+ }
1444
+
1376
1445
  export class DeprovisionAccessConfigurationRequest extends $tea.Model {
1377
1446
  accessConfigurationId?: string;
1378
1447
  directoryId?: string;
@@ -1424,9 +1493,9 @@ export class DeprovisionAccessConfigurationResponseBody extends $tea.Model {
1424
1493
  }
1425
1494
 
1426
1495
  export class DeprovisionAccessConfigurationResponse extends $tea.Model {
1427
- headers: { [key: string]: string };
1428
- statusCode: number;
1429
- body: DeprovisionAccessConfigurationResponseBody;
1496
+ headers?: { [key: string]: string };
1497
+ statusCode?: number;
1498
+ body?: DeprovisionAccessConfigurationResponseBody;
1430
1499
  static names(): { [key: string]: string } {
1431
1500
  return {
1432
1501
  headers: 'headers',
@@ -1468,9 +1537,9 @@ export class DisableServiceResponseBody extends $tea.Model {
1468
1537
  }
1469
1538
 
1470
1539
  export class DisableServiceResponse extends $tea.Model {
1471
- headers: { [key: string]: string };
1472
- statusCode: number;
1473
- body: DisableServiceResponseBody;
1540
+ headers?: { [key: string]: string };
1541
+ statusCode?: number;
1542
+ body?: DisableServiceResponseBody;
1474
1543
  static names(): { [key: string]: string } {
1475
1544
  return {
1476
1545
  headers: 'headers',
@@ -1512,9 +1581,9 @@ export class EnableServiceResponseBody extends $tea.Model {
1512
1581
  }
1513
1582
 
1514
1583
  export class EnableServiceResponse extends $tea.Model {
1515
- headers: { [key: string]: string };
1516
- statusCode: number;
1517
- body: EnableServiceResponseBody;
1584
+ headers?: { [key: string]: string };
1585
+ statusCode?: number;
1586
+ body?: EnableServiceResponseBody;
1518
1587
  static names(): { [key: string]: string } {
1519
1588
  return {
1520
1589
  headers: 'headers',
@@ -1581,9 +1650,9 @@ export class GetAccessConfigurationResponseBody extends $tea.Model {
1581
1650
  }
1582
1651
 
1583
1652
  export class GetAccessConfigurationResponse extends $tea.Model {
1584
- headers: { [key: string]: string };
1585
- statusCode: number;
1586
- body: GetAccessConfigurationResponseBody;
1653
+ headers?: { [key: string]: string };
1654
+ statusCode?: number;
1655
+ body?: GetAccessConfigurationResponseBody;
1587
1656
  static names(): { [key: string]: string } {
1588
1657
  return {
1589
1658
  headers: 'headers',
@@ -1647,9 +1716,9 @@ export class GetDirectoryResponseBody extends $tea.Model {
1647
1716
  }
1648
1717
 
1649
1718
  export class GetDirectoryResponse extends $tea.Model {
1650
- headers: { [key: string]: string };
1651
- statusCode: number;
1652
- body: GetDirectoryResponseBody;
1719
+ headers?: { [key: string]: string };
1720
+ statusCode?: number;
1721
+ body?: GetDirectoryResponseBody;
1653
1722
  static names(): { [key: string]: string } {
1654
1723
  return {
1655
1724
  headers: 'headers',
@@ -1713,9 +1782,9 @@ export class GetDirectorySAMLServiceProviderInfoResponseBody extends $tea.Model
1713
1782
  }
1714
1783
 
1715
1784
  export class GetDirectorySAMLServiceProviderInfoResponse extends $tea.Model {
1716
- headers: { [key: string]: string };
1717
- statusCode: number;
1718
- body: GetDirectorySAMLServiceProviderInfoResponseBody;
1785
+ headers?: { [key: string]: string };
1786
+ statusCode?: number;
1787
+ body?: GetDirectorySAMLServiceProviderInfoResponseBody;
1719
1788
  static names(): { [key: string]: string } {
1720
1789
  return {
1721
1790
  headers: 'headers',
@@ -1779,9 +1848,9 @@ export class GetDirectoryStatisticsResponseBody extends $tea.Model {
1779
1848
  }
1780
1849
 
1781
1850
  export class GetDirectoryStatisticsResponse extends $tea.Model {
1782
- headers: { [key: string]: string };
1783
- statusCode: number;
1784
- body: GetDirectoryStatisticsResponseBody;
1851
+ headers?: { [key: string]: string };
1852
+ statusCode?: number;
1853
+ body?: GetDirectoryStatisticsResponseBody;
1785
1854
  static names(): { [key: string]: string } {
1786
1855
  return {
1787
1856
  headers: 'headers',
@@ -1845,9 +1914,9 @@ export class GetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
1845
1914
  }
1846
1915
 
1847
1916
  export class GetExternalSAMLIdentityProviderResponse extends $tea.Model {
1848
- headers: { [key: string]: string };
1849
- statusCode: number;
1850
- body: GetExternalSAMLIdentityProviderResponseBody;
1917
+ headers?: { [key: string]: string };
1918
+ statusCode?: number;
1919
+ body?: GetExternalSAMLIdentityProviderResponseBody;
1851
1920
  static names(): { [key: string]: string } {
1852
1921
  return {
1853
1922
  headers: 'headers',
@@ -1914,9 +1983,9 @@ export class GetGroupResponseBody extends $tea.Model {
1914
1983
  }
1915
1984
 
1916
1985
  export class GetGroupResponse extends $tea.Model {
1917
- headers: { [key: string]: string };
1918
- statusCode: number;
1919
- body: GetGroupResponseBody;
1986
+ headers?: { [key: string]: string };
1987
+ statusCode?: number;
1988
+ body?: GetGroupResponseBody;
1920
1989
  static names(): { [key: string]: string } {
1921
1990
  return {
1922
1991
  headers: 'headers',
@@ -1938,6 +2007,72 @@ export class GetGroupResponse extends $tea.Model {
1938
2007
  }
1939
2008
  }
1940
2009
 
2010
+ export class GetLoginPreferenceRequest extends $tea.Model {
2011
+ directoryId?: string;
2012
+ static names(): { [key: string]: string } {
2013
+ return {
2014
+ directoryId: 'DirectoryId',
2015
+ };
2016
+ }
2017
+
2018
+ static types(): { [key: string]: any } {
2019
+ return {
2020
+ directoryId: 'string',
2021
+ };
2022
+ }
2023
+
2024
+ constructor(map?: { [key: string]: any }) {
2025
+ super(map);
2026
+ }
2027
+ }
2028
+
2029
+ export class GetLoginPreferenceResponseBody extends $tea.Model {
2030
+ loginPreference?: GetLoginPreferenceResponseBodyLoginPreference;
2031
+ requestId?: string;
2032
+ static names(): { [key: string]: string } {
2033
+ return {
2034
+ loginPreference: 'LoginPreference',
2035
+ requestId: 'RequestId',
2036
+ };
2037
+ }
2038
+
2039
+ static types(): { [key: string]: any } {
2040
+ return {
2041
+ loginPreference: GetLoginPreferenceResponseBodyLoginPreference,
2042
+ requestId: 'string',
2043
+ };
2044
+ }
2045
+
2046
+ constructor(map?: { [key: string]: any }) {
2047
+ super(map);
2048
+ }
2049
+ }
2050
+
2051
+ export class GetLoginPreferenceResponse extends $tea.Model {
2052
+ headers?: { [key: string]: string };
2053
+ statusCode?: number;
2054
+ body?: GetLoginPreferenceResponseBody;
2055
+ static names(): { [key: string]: string } {
2056
+ return {
2057
+ headers: 'headers',
2058
+ statusCode: 'statusCode',
2059
+ body: 'body',
2060
+ };
2061
+ }
2062
+
2063
+ static types(): { [key: string]: any } {
2064
+ return {
2065
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2066
+ statusCode: 'number',
2067
+ body: GetLoginPreferenceResponseBody,
2068
+ };
2069
+ }
2070
+
2071
+ constructor(map?: { [key: string]: any }) {
2072
+ super(map);
2073
+ }
2074
+ }
2075
+
1941
2076
  export class GetMFAAuthenticationSettingInfoRequest extends $tea.Model {
1942
2077
  directoryId?: string;
1943
2078
  static names(): { [key: string]: string } {
@@ -1980,9 +2115,9 @@ export class GetMFAAuthenticationSettingInfoResponseBody extends $tea.Model {
1980
2115
  }
1981
2116
 
1982
2117
  export class GetMFAAuthenticationSettingInfoResponse extends $tea.Model {
1983
- headers: { [key: string]: string };
1984
- statusCode: number;
1985
- body: GetMFAAuthenticationSettingInfoResponseBody;
2118
+ headers?: { [key: string]: string };
2119
+ statusCode?: number;
2120
+ body?: GetMFAAuthenticationSettingInfoResponseBody;
1986
2121
  static names(): { [key: string]: string } {
1987
2122
  return {
1988
2123
  headers: 'headers',
@@ -2046,9 +2181,9 @@ export class GetMFAAuthenticationSettingsResponseBody extends $tea.Model {
2046
2181
  }
2047
2182
 
2048
2183
  export class GetMFAAuthenticationSettingsResponse extends $tea.Model {
2049
- headers: { [key: string]: string };
2050
- statusCode: number;
2051
- body: GetMFAAuthenticationSettingsResponseBody;
2184
+ headers?: { [key: string]: string };
2185
+ statusCode?: number;
2186
+ body?: GetMFAAuthenticationSettingsResponseBody;
2052
2187
  static names(): { [key: string]: string } {
2053
2188
  return {
2054
2189
  headers: 'headers',
@@ -2112,9 +2247,9 @@ export class GetMFAAuthenticationStatusResponseBody extends $tea.Model {
2112
2247
  }
2113
2248
 
2114
2249
  export class GetMFAAuthenticationStatusResponse extends $tea.Model {
2115
- headers: { [key: string]: string };
2116
- statusCode: number;
2117
- body: GetMFAAuthenticationStatusResponseBody;
2250
+ headers?: { [key: string]: string };
2251
+ statusCode?: number;
2252
+ body?: GetMFAAuthenticationStatusResponseBody;
2118
2253
  static names(): { [key: string]: string } {
2119
2254
  return {
2120
2255
  headers: 'headers',
@@ -2136,6 +2271,72 @@ export class GetMFAAuthenticationStatusResponse extends $tea.Model {
2136
2271
  }
2137
2272
  }
2138
2273
 
2274
+ export class GetPasswordPolicyRequest extends $tea.Model {
2275
+ directoryId?: string;
2276
+ static names(): { [key: string]: string } {
2277
+ return {
2278
+ directoryId: 'DirectoryId',
2279
+ };
2280
+ }
2281
+
2282
+ static types(): { [key: string]: any } {
2283
+ return {
2284
+ directoryId: 'string',
2285
+ };
2286
+ }
2287
+
2288
+ constructor(map?: { [key: string]: any }) {
2289
+ super(map);
2290
+ }
2291
+ }
2292
+
2293
+ export class GetPasswordPolicyResponseBody extends $tea.Model {
2294
+ passwordPolicy?: GetPasswordPolicyResponseBodyPasswordPolicy;
2295
+ requestId?: string;
2296
+ static names(): { [key: string]: string } {
2297
+ return {
2298
+ passwordPolicy: 'PasswordPolicy',
2299
+ requestId: 'RequestId',
2300
+ };
2301
+ }
2302
+
2303
+ static types(): { [key: string]: any } {
2304
+ return {
2305
+ passwordPolicy: GetPasswordPolicyResponseBodyPasswordPolicy,
2306
+ requestId: 'string',
2307
+ };
2308
+ }
2309
+
2310
+ constructor(map?: { [key: string]: any }) {
2311
+ super(map);
2312
+ }
2313
+ }
2314
+
2315
+ export class GetPasswordPolicyResponse extends $tea.Model {
2316
+ headers?: { [key: string]: string };
2317
+ statusCode?: number;
2318
+ body?: GetPasswordPolicyResponseBody;
2319
+ static names(): { [key: string]: string } {
2320
+ return {
2321
+ headers: 'headers',
2322
+ statusCode: 'statusCode',
2323
+ body: 'body',
2324
+ };
2325
+ }
2326
+
2327
+ static types(): { [key: string]: any } {
2328
+ return {
2329
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2330
+ statusCode: 'number',
2331
+ body: GetPasswordPolicyResponseBody,
2332
+ };
2333
+ }
2334
+
2335
+ constructor(map?: { [key: string]: any }) {
2336
+ super(map);
2337
+ }
2338
+ }
2339
+
2139
2340
  export class GetSCIMSynchronizationStatusRequest extends $tea.Model {
2140
2341
  directoryId?: string;
2141
2342
  static names(): { [key: string]: string } {
@@ -2178,9 +2379,9 @@ export class GetSCIMSynchronizationStatusResponseBody extends $tea.Model {
2178
2379
  }
2179
2380
 
2180
2381
  export class GetSCIMSynchronizationStatusResponse extends $tea.Model {
2181
- headers: { [key: string]: string };
2182
- statusCode: number;
2183
- body: GetSCIMSynchronizationStatusResponseBody;
2382
+ headers?: { [key: string]: string };
2383
+ statusCode?: number;
2384
+ body?: GetSCIMSynchronizationStatusResponseBody;
2184
2385
  static names(): { [key: string]: string } {
2185
2386
  return {
2186
2387
  headers: 'headers',
@@ -2225,9 +2426,9 @@ export class GetServiceStatusResponseBody extends $tea.Model {
2225
2426
  }
2226
2427
 
2227
2428
  export class GetServiceStatusResponse extends $tea.Model {
2228
- headers: { [key: string]: string };
2229
- statusCode: number;
2230
- body: GetServiceStatusResponseBody;
2429
+ headers?: { [key: string]: string };
2430
+ statusCode?: number;
2431
+ body?: GetServiceStatusResponseBody;
2231
2432
  static names(): { [key: string]: string } {
2232
2433
  return {
2233
2434
  headers: 'headers',
@@ -2294,9 +2495,9 @@ export class GetTaskResponseBody extends $tea.Model {
2294
2495
  }
2295
2496
 
2296
2497
  export class GetTaskResponse extends $tea.Model {
2297
- headers: { [key: string]: string };
2298
- statusCode: number;
2299
- body: GetTaskResponseBody;
2498
+ headers?: { [key: string]: string };
2499
+ statusCode?: number;
2500
+ body?: GetTaskResponseBody;
2300
2501
  static names(): { [key: string]: string } {
2301
2502
  return {
2302
2503
  headers: 'headers',
@@ -2363,9 +2564,9 @@ export class GetTaskStatusResponseBody extends $tea.Model {
2363
2564
  }
2364
2565
 
2365
2566
  export class GetTaskStatusResponse extends $tea.Model {
2366
- headers: { [key: string]: string };
2367
- statusCode: number;
2368
- body: GetTaskStatusResponseBody;
2567
+ headers?: { [key: string]: string };
2568
+ statusCode?: number;
2569
+ body?: GetTaskStatusResponseBody;
2369
2570
  static names(): { [key: string]: string } {
2370
2571
  return {
2371
2572
  headers: 'headers',
@@ -2432,9 +2633,9 @@ export class GetUserResponseBody extends $tea.Model {
2432
2633
  }
2433
2634
 
2434
2635
  export class GetUserResponse extends $tea.Model {
2435
- headers: { [key: string]: string };
2436
- statusCode: number;
2437
- body: GetUserResponseBody;
2636
+ headers?: { [key: string]: string };
2637
+ statusCode?: number;
2638
+ body?: GetUserResponseBody;
2438
2639
  static names(): { [key: string]: string } {
2439
2640
  return {
2440
2641
  headers: 'headers',
@@ -2456,6 +2657,97 @@ export class GetUserResponse extends $tea.Model {
2456
2657
  }
2457
2658
  }
2458
2659
 
2660
+ export class GetUserIdRequest extends $tea.Model {
2661
+ directoryId?: string;
2662
+ externalId?: GetUserIdRequestExternalId;
2663
+ static names(): { [key: string]: string } {
2664
+ return {
2665
+ directoryId: 'DirectoryId',
2666
+ externalId: 'ExternalId',
2667
+ };
2668
+ }
2669
+
2670
+ static types(): { [key: string]: any } {
2671
+ return {
2672
+ directoryId: 'string',
2673
+ externalId: GetUserIdRequestExternalId,
2674
+ };
2675
+ }
2676
+
2677
+ constructor(map?: { [key: string]: any }) {
2678
+ super(map);
2679
+ }
2680
+ }
2681
+
2682
+ export class GetUserIdShrinkRequest extends $tea.Model {
2683
+ directoryId?: string;
2684
+ externalIdShrink?: string;
2685
+ static names(): { [key: string]: string } {
2686
+ return {
2687
+ directoryId: 'DirectoryId',
2688
+ externalIdShrink: 'ExternalId',
2689
+ };
2690
+ }
2691
+
2692
+ static types(): { [key: string]: any } {
2693
+ return {
2694
+ directoryId: 'string',
2695
+ externalIdShrink: 'string',
2696
+ };
2697
+ }
2698
+
2699
+ constructor(map?: { [key: string]: any }) {
2700
+ super(map);
2701
+ }
2702
+ }
2703
+
2704
+ export class GetUserIdResponseBody extends $tea.Model {
2705
+ requestId?: string;
2706
+ userId?: string;
2707
+ static names(): { [key: string]: string } {
2708
+ return {
2709
+ requestId: 'RequestId',
2710
+ userId: 'UserId',
2711
+ };
2712
+ }
2713
+
2714
+ static types(): { [key: string]: any } {
2715
+ return {
2716
+ requestId: 'string',
2717
+ userId: 'string',
2718
+ };
2719
+ }
2720
+
2721
+ constructor(map?: { [key: string]: any }) {
2722
+ super(map);
2723
+ }
2724
+ }
2725
+
2726
+ export class GetUserIdResponse extends $tea.Model {
2727
+ headers?: { [key: string]: string };
2728
+ statusCode?: number;
2729
+ body?: GetUserIdResponseBody;
2730
+ static names(): { [key: string]: string } {
2731
+ return {
2732
+ headers: 'headers',
2733
+ statusCode: 'statusCode',
2734
+ body: 'body',
2735
+ };
2736
+ }
2737
+
2738
+ static types(): { [key: string]: any } {
2739
+ return {
2740
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2741
+ statusCode: 'number',
2742
+ body: GetUserIdResponseBody,
2743
+ };
2744
+ }
2745
+
2746
+ constructor(map?: { [key: string]: any }) {
2747
+ super(map);
2748
+ }
2749
+ }
2750
+
2459
2751
  export class GetUserMFAAuthenticationSettingsRequest extends $tea.Model {
2460
2752
  directoryId?: string;
2461
2753
  userId?: string;
@@ -2501,9 +2793,9 @@ export class GetUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
2501
2793
  }
2502
2794
 
2503
2795
  export class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
2504
- headers: { [key: string]: string };
2505
- statusCode: number;
2506
- body: GetUserMFAAuthenticationSettingsResponseBody;
2796
+ headers?: { [key: string]: string };
2797
+ statusCode?: number;
2798
+ body?: GetUserMFAAuthenticationSettingsResponseBody;
2507
2799
  static names(): { [key: string]: string } {
2508
2800
  return {
2509
2801
  headers: 'headers',
@@ -2570,9 +2862,9 @@ export class GetUserProvisioningResponseBody extends $tea.Model {
2570
2862
  }
2571
2863
 
2572
2864
  export class GetUserProvisioningResponse extends $tea.Model {
2573
- headers: { [key: string]: string };
2574
- statusCode: number;
2575
- body: GetUserProvisioningResponseBody;
2865
+ headers?: { [key: string]: string };
2866
+ statusCode?: number;
2867
+ body?: GetUserProvisioningResponseBody;
2576
2868
  static names(): { [key: string]: string } {
2577
2869
  return {
2578
2870
  headers: 'headers',
@@ -2594,15 +2886,288 @@ export class GetUserProvisioningResponse extends $tea.Model {
2594
2886
  }
2595
2887
  }
2596
2888
 
2597
- export class ListAccessAssignmentsRequest extends $tea.Model {
2598
- accessConfigurationId?: string;
2889
+ export class GetUserProvisioningConfigurationRequest extends $tea.Model {
2599
2890
  directoryId?: string;
2600
- maxResults?: number;
2601
- nextToken?: string;
2602
- principalId?: string;
2603
- principalType?: string;
2604
- targetId?: string;
2605
- targetType?: string;
2891
+ static names(): { [key: string]: string } {
2892
+ return {
2893
+ directoryId: 'DirectoryId',
2894
+ };
2895
+ }
2896
+
2897
+ static types(): { [key: string]: any } {
2898
+ return {
2899
+ directoryId: 'string',
2900
+ };
2901
+ }
2902
+
2903
+ constructor(map?: { [key: string]: any }) {
2904
+ super(map);
2905
+ }
2906
+ }
2907
+
2908
+ export class GetUserProvisioningConfigurationResponseBody extends $tea.Model {
2909
+ requestId?: string;
2910
+ userProvisioningConfiguration?: GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
2911
+ static names(): { [key: string]: string } {
2912
+ return {
2913
+ requestId: 'RequestId',
2914
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
2915
+ };
2916
+ }
2917
+
2918
+ static types(): { [key: string]: any } {
2919
+ return {
2920
+ requestId: 'string',
2921
+ userProvisioningConfiguration: GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
2922
+ };
2923
+ }
2924
+
2925
+ constructor(map?: { [key: string]: any }) {
2926
+ super(map);
2927
+ }
2928
+ }
2929
+
2930
+ export class GetUserProvisioningConfigurationResponse extends $tea.Model {
2931
+ headers?: { [key: string]: string };
2932
+ statusCode?: number;
2933
+ body?: GetUserProvisioningConfigurationResponseBody;
2934
+ static names(): { [key: string]: string } {
2935
+ return {
2936
+ headers: 'headers',
2937
+ statusCode: 'statusCode',
2938
+ body: 'body',
2939
+ };
2940
+ }
2941
+
2942
+ static types(): { [key: string]: any } {
2943
+ return {
2944
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2945
+ statusCode: 'number',
2946
+ body: GetUserProvisioningConfigurationResponseBody,
2947
+ };
2948
+ }
2949
+
2950
+ constructor(map?: { [key: string]: any }) {
2951
+ super(map);
2952
+ }
2953
+ }
2954
+
2955
+ export class GetUserProvisioningEventRequest extends $tea.Model {
2956
+ directoryId?: string;
2957
+ eventId?: string;
2958
+ static names(): { [key: string]: string } {
2959
+ return {
2960
+ directoryId: 'DirectoryId',
2961
+ eventId: 'EventId',
2962
+ };
2963
+ }
2964
+
2965
+ static types(): { [key: string]: any } {
2966
+ return {
2967
+ directoryId: 'string',
2968
+ eventId: 'string',
2969
+ };
2970
+ }
2971
+
2972
+ constructor(map?: { [key: string]: any }) {
2973
+ super(map);
2974
+ }
2975
+ }
2976
+
2977
+ export class GetUserProvisioningEventResponseBody extends $tea.Model {
2978
+ requestId?: string;
2979
+ userProvisioningEvent?: GetUserProvisioningEventResponseBodyUserProvisioningEvent;
2980
+ static names(): { [key: string]: string } {
2981
+ return {
2982
+ requestId: 'RequestId',
2983
+ userProvisioningEvent: 'UserProvisioningEvent',
2984
+ };
2985
+ }
2986
+
2987
+ static types(): { [key: string]: any } {
2988
+ return {
2989
+ requestId: 'string',
2990
+ userProvisioningEvent: GetUserProvisioningEventResponseBodyUserProvisioningEvent,
2991
+ };
2992
+ }
2993
+
2994
+ constructor(map?: { [key: string]: any }) {
2995
+ super(map);
2996
+ }
2997
+ }
2998
+
2999
+ export class GetUserProvisioningEventResponse extends $tea.Model {
3000
+ headers?: { [key: string]: string };
3001
+ statusCode?: number;
3002
+ body?: GetUserProvisioningEventResponseBody;
3003
+ static names(): { [key: string]: string } {
3004
+ return {
3005
+ headers: 'headers',
3006
+ statusCode: 'statusCode',
3007
+ body: 'body',
3008
+ };
3009
+ }
3010
+
3011
+ static types(): { [key: string]: any } {
3012
+ return {
3013
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3014
+ statusCode: 'number',
3015
+ body: GetUserProvisioningEventResponseBody,
3016
+ };
3017
+ }
3018
+
3019
+ constructor(map?: { [key: string]: any }) {
3020
+ super(map);
3021
+ }
3022
+ }
3023
+
3024
+ export class GetUserProvisioningRdAccountStatisticsRequest extends $tea.Model {
3025
+ directoryId?: string;
3026
+ rdMemberId?: string;
3027
+ static names(): { [key: string]: string } {
3028
+ return {
3029
+ directoryId: 'DirectoryId',
3030
+ rdMemberId: 'RdMemberId',
3031
+ };
3032
+ }
3033
+
3034
+ static types(): { [key: string]: any } {
3035
+ return {
3036
+ directoryId: 'string',
3037
+ rdMemberId: 'string',
3038
+ };
3039
+ }
3040
+
3041
+ constructor(map?: { [key: string]: any }) {
3042
+ super(map);
3043
+ }
3044
+ }
3045
+
3046
+ export class GetUserProvisioningRdAccountStatisticsResponseBody extends $tea.Model {
3047
+ requestId?: string;
3048
+ userProvisioningStatistics?: GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics;
3049
+ static names(): { [key: string]: string } {
3050
+ return {
3051
+ requestId: 'RequestId',
3052
+ userProvisioningStatistics: 'UserProvisioningStatistics',
3053
+ };
3054
+ }
3055
+
3056
+ static types(): { [key: string]: any } {
3057
+ return {
3058
+ requestId: 'string',
3059
+ userProvisioningStatistics: GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics,
3060
+ };
3061
+ }
3062
+
3063
+ constructor(map?: { [key: string]: any }) {
3064
+ super(map);
3065
+ }
3066
+ }
3067
+
3068
+ export class GetUserProvisioningRdAccountStatisticsResponse extends $tea.Model {
3069
+ headers?: { [key: string]: string };
3070
+ statusCode?: number;
3071
+ body?: GetUserProvisioningRdAccountStatisticsResponseBody;
3072
+ static names(): { [key: string]: string } {
3073
+ return {
3074
+ headers: 'headers',
3075
+ statusCode: 'statusCode',
3076
+ body: 'body',
3077
+ };
3078
+ }
3079
+
3080
+ static types(): { [key: string]: any } {
3081
+ return {
3082
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3083
+ statusCode: 'number',
3084
+ body: GetUserProvisioningRdAccountStatisticsResponseBody,
3085
+ };
3086
+ }
3087
+
3088
+ constructor(map?: { [key: string]: any }) {
3089
+ super(map);
3090
+ }
3091
+ }
3092
+
3093
+ export class GetUserProvisioningStatisticsRequest extends $tea.Model {
3094
+ directoryId?: string;
3095
+ userProvisioningId?: string;
3096
+ static names(): { [key: string]: string } {
3097
+ return {
3098
+ directoryId: 'DirectoryId',
3099
+ userProvisioningId: 'UserProvisioningId',
3100
+ };
3101
+ }
3102
+
3103
+ static types(): { [key: string]: any } {
3104
+ return {
3105
+ directoryId: 'string',
3106
+ userProvisioningId: 'string',
3107
+ };
3108
+ }
3109
+
3110
+ constructor(map?: { [key: string]: any }) {
3111
+ super(map);
3112
+ }
3113
+ }
3114
+
3115
+ export class GetUserProvisioningStatisticsResponseBody extends $tea.Model {
3116
+ requestId?: string;
3117
+ userProvisioningStatistics?: GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics;
3118
+ static names(): { [key: string]: string } {
3119
+ return {
3120
+ requestId: 'RequestId',
3121
+ userProvisioningStatistics: 'UserProvisioningStatistics',
3122
+ };
3123
+ }
3124
+
3125
+ static types(): { [key: string]: any } {
3126
+ return {
3127
+ requestId: 'string',
3128
+ userProvisioningStatistics: GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics,
3129
+ };
3130
+ }
3131
+
3132
+ constructor(map?: { [key: string]: any }) {
3133
+ super(map);
3134
+ }
3135
+ }
3136
+
3137
+ export class GetUserProvisioningStatisticsResponse extends $tea.Model {
3138
+ headers?: { [key: string]: string };
3139
+ statusCode?: number;
3140
+ body?: GetUserProvisioningStatisticsResponseBody;
3141
+ static names(): { [key: string]: string } {
3142
+ return {
3143
+ headers: 'headers',
3144
+ statusCode: 'statusCode',
3145
+ body: 'body',
3146
+ };
3147
+ }
3148
+
3149
+ static types(): { [key: string]: any } {
3150
+ return {
3151
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3152
+ statusCode: 'number',
3153
+ body: GetUserProvisioningStatisticsResponseBody,
3154
+ };
3155
+ }
3156
+
3157
+ constructor(map?: { [key: string]: any }) {
3158
+ super(map);
3159
+ }
3160
+ }
3161
+
3162
+ export class ListAccessAssignmentsRequest extends $tea.Model {
3163
+ accessConfigurationId?: string;
3164
+ directoryId?: string;
3165
+ maxResults?: number;
3166
+ nextToken?: string;
3167
+ principalId?: string;
3168
+ principalType?: string;
3169
+ targetId?: string;
3170
+ targetType?: string;
2606
3171
  static names(): { [key: string]: string } {
2607
3172
  return {
2608
3173
  accessConfigurationId: 'AccessConfigurationId',
@@ -2669,9 +3234,9 @@ export class ListAccessAssignmentsResponseBody extends $tea.Model {
2669
3234
  }
2670
3235
 
2671
3236
  export class ListAccessAssignmentsResponse extends $tea.Model {
2672
- headers: { [key: string]: string };
2673
- statusCode: number;
2674
- body: ListAccessAssignmentsResponseBody;
3237
+ headers?: { [key: string]: string };
3238
+ statusCode?: number;
3239
+ body?: ListAccessAssignmentsResponseBody;
2675
3240
  static names(): { [key: string]: string } {
2676
3241
  return {
2677
3242
  headers: 'headers',
@@ -2765,9 +3330,9 @@ export class ListAccessConfigurationProvisioningsResponseBody extends $tea.Model
2765
3330
  }
2766
3331
 
2767
3332
  export class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
2768
- headers: { [key: string]: string };
2769
- statusCode: number;
2770
- body: ListAccessConfigurationProvisioningsResponseBody;
3333
+ headers?: { [key: string]: string };
3334
+ statusCode?: number;
3335
+ body?: ListAccessConfigurationProvisioningsResponseBody;
2771
3336
  static names(): { [key: string]: string } {
2772
3337
  return {
2773
3338
  headers: 'headers',
@@ -2855,9 +3420,9 @@ export class ListAccessConfigurationsResponseBody extends $tea.Model {
2855
3420
  }
2856
3421
 
2857
3422
  export class ListAccessConfigurationsResponse extends $tea.Model {
2858
- headers: { [key: string]: string };
2859
- statusCode: number;
2860
- body: ListAccessConfigurationsResponseBody;
3423
+ headers?: { [key: string]: string };
3424
+ statusCode?: number;
3425
+ body?: ListAccessConfigurationsResponseBody;
2861
3426
  static names(): { [key: string]: string } {
2862
3427
  return {
2863
3428
  headers: 'headers',
@@ -2905,9 +3470,9 @@ export class ListDirectoriesResponseBody extends $tea.Model {
2905
3470
  }
2906
3471
 
2907
3472
  export class ListDirectoriesResponse extends $tea.Model {
2908
- headers: { [key: string]: string };
2909
- statusCode: number;
2910
- body: ListDirectoriesResponseBody;
3473
+ headers?: { [key: string]: string };
3474
+ statusCode?: number;
3475
+ body?: ListDirectoriesResponseBody;
2911
3476
  static names(): { [key: string]: string } {
2912
3477
  return {
2913
3478
  headers: 'headers',
@@ -2974,9 +3539,9 @@ export class ListExternalSAMLIdPCertificatesResponseBody extends $tea.Model {
2974
3539
  }
2975
3540
 
2976
3541
  export class ListExternalSAMLIdPCertificatesResponse extends $tea.Model {
2977
- headers: { [key: string]: string };
2978
- statusCode: number;
2979
- body: ListExternalSAMLIdPCertificatesResponseBody;
3542
+ headers?: { [key: string]: string };
3543
+ statusCode?: number;
3544
+ body?: ListExternalSAMLIdPCertificatesResponseBody;
2980
3545
  static names(): { [key: string]: string } {
2981
3546
  return {
2982
3547
  headers: 'headers',
@@ -3061,9 +3626,9 @@ export class ListGroupMembersResponseBody extends $tea.Model {
3061
3626
  }
3062
3627
 
3063
3628
  export class ListGroupMembersResponse extends $tea.Model {
3064
- headers: { [key: string]: string };
3065
- statusCode: number;
3066
- body: ListGroupMembersResponseBody;
3629
+ headers?: { [key: string]: string };
3630
+ statusCode?: number;
3631
+ body?: ListGroupMembersResponseBody;
3067
3632
  static names(): { [key: string]: string } {
3068
3633
  return {
3069
3634
  headers: 'headers',
@@ -3151,9 +3716,9 @@ export class ListGroupsResponseBody extends $tea.Model {
3151
3716
  }
3152
3717
 
3153
3718
  export class ListGroupsResponse extends $tea.Model {
3154
- headers: { [key: string]: string };
3155
- statusCode: number;
3156
- body: ListGroupsResponseBody;
3719
+ headers?: { [key: string]: string };
3720
+ statusCode?: number;
3721
+ body?: ListGroupsResponseBody;
3157
3722
  static names(): { [key: string]: string } {
3158
3723
  return {
3159
3724
  headers: 'headers',
@@ -3238,9 +3803,9 @@ export class ListJoinedGroupsForUserResponseBody extends $tea.Model {
3238
3803
  }
3239
3804
 
3240
3805
  export class ListJoinedGroupsForUserResponse extends $tea.Model {
3241
- headers: { [key: string]: string };
3242
- statusCode: number;
3243
- body: ListJoinedGroupsForUserResponseBody;
3806
+ headers?: { [key: string]: string };
3807
+ statusCode?: number;
3808
+ body?: ListJoinedGroupsForUserResponseBody;
3244
3809
  static names(): { [key: string]: string } {
3245
3810
  return {
3246
3811
  headers: 'headers',
@@ -3310,9 +3875,9 @@ export class ListMFADevicesForUserResponseBody extends $tea.Model {
3310
3875
  }
3311
3876
 
3312
3877
  export class ListMFADevicesForUserResponse extends $tea.Model {
3313
- headers: { [key: string]: string };
3314
- statusCode: number;
3315
- body: ListMFADevicesForUserResponseBody;
3878
+ headers?: { [key: string]: string };
3879
+ statusCode?: number;
3880
+ body?: ListMFADevicesForUserResponseBody;
3316
3881
  static names(): { [key: string]: string } {
3317
3882
  return {
3318
3883
  headers: 'headers',
@@ -3385,9 +3950,9 @@ export class ListPermissionPoliciesInAccessConfigurationResponseBody extends $te
3385
3950
  }
3386
3951
 
3387
3952
  export class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Model {
3388
- headers: { [key: string]: string };
3389
- statusCode: number;
3390
- body: ListPermissionPoliciesInAccessConfigurationResponseBody;
3953
+ headers?: { [key: string]: string };
3954
+ statusCode?: number;
3955
+ body?: ListPermissionPoliciesInAccessConfigurationResponseBody;
3391
3956
  static names(): { [key: string]: string } {
3392
3957
  return {
3393
3958
  headers: 'headers',
@@ -3454,9 +4019,9 @@ export class ListSCIMServerCredentialsResponseBody extends $tea.Model {
3454
4019
  }
3455
4020
 
3456
4021
  export class ListSCIMServerCredentialsResponse extends $tea.Model {
3457
- headers: { [key: string]: string };
3458
- statusCode: number;
3459
- body: ListSCIMServerCredentialsResponseBody;
4022
+ headers?: { [key: string]: string };
4023
+ statusCode?: number;
4024
+ body?: ListSCIMServerCredentialsResponseBody;
3460
4025
  static names(): { [key: string]: string } {
3461
4026
  return {
3462
4027
  headers: 'headers',
@@ -3562,9 +4127,9 @@ export class ListTasksResponseBody extends $tea.Model {
3562
4127
  }
3563
4128
 
3564
4129
  export class ListTasksResponse extends $tea.Model {
3565
- headers: { [key: string]: string };
3566
- statusCode: number;
3567
- body: ListTasksResponseBody;
4130
+ headers?: { [key: string]: string };
4131
+ statusCode?: number;
4132
+ body?: ListTasksResponseBody;
3568
4133
  static names(): { [key: string]: string } {
3569
4134
  return {
3570
4135
  headers: 'headers',
@@ -3586,23 +4151,17 @@ export class ListTasksResponse extends $tea.Model {
3586
4151
  }
3587
4152
  }
3588
4153
 
3589
- export class ListUserProvisioningsRequest extends $tea.Model {
4154
+ export class ListUserProvisioningEventsRequest extends $tea.Model {
3590
4155
  directoryId?: string;
3591
4156
  maxResults?: number;
3592
4157
  nextToken?: string;
3593
- principalId?: string;
3594
- principalType?: string;
3595
- targetId?: string;
3596
- targetType?: string;
4158
+ userProvisioningId?: string;
3597
4159
  static names(): { [key: string]: string } {
3598
4160
  return {
3599
4161
  directoryId: 'DirectoryId',
3600
4162
  maxResults: 'MaxResults',
3601
4163
  nextToken: 'NextToken',
3602
- principalId: 'PrincipalId',
3603
- principalType: 'PrincipalType',
3604
- targetId: 'TargetId',
3605
- targetType: 'TargetType',
4164
+ userProvisioningId: 'UserProvisioningId',
3606
4165
  };
3607
4166
  }
3608
4167
 
@@ -3611,10 +4170,7 @@ export class ListUserProvisioningsRequest extends $tea.Model {
3611
4170
  directoryId: 'string',
3612
4171
  maxResults: 'number',
3613
4172
  nextToken: 'string',
3614
- principalId: 'string',
3615
- principalType: 'string',
3616
- targetId: 'string',
3617
- targetType: 'string',
4173
+ userProvisioningId: 'string',
3618
4174
  };
3619
4175
  }
3620
4176
 
@@ -3623,13 +4179,13 @@ export class ListUserProvisioningsRequest extends $tea.Model {
3623
4179
  }
3624
4180
  }
3625
4181
 
3626
- export class ListUserProvisioningsResponseBody extends $tea.Model {
4182
+ export class ListUserProvisioningEventsResponseBody extends $tea.Model {
3627
4183
  isTruncated?: boolean;
3628
4184
  maxResults?: number;
3629
4185
  nextToken?: string;
3630
4186
  requestId?: string;
3631
4187
  totalCounts?: number;
3632
- userProvisionings?: ListUserProvisioningsResponseBodyUserProvisionings[];
4188
+ userProvisioningEvents?: ListUserProvisioningEventsResponseBodyUserProvisioningEvents[];
3633
4189
  static names(): { [key: string]: string } {
3634
4190
  return {
3635
4191
  isTruncated: 'IsTruncated',
@@ -3637,7 +4193,7 @@ export class ListUserProvisioningsResponseBody extends $tea.Model {
3637
4193
  nextToken: 'NextToken',
3638
4194
  requestId: 'RequestId',
3639
4195
  totalCounts: 'TotalCounts',
3640
- userProvisionings: 'UserProvisionings',
4196
+ userProvisioningEvents: 'UserProvisioningEvents',
3641
4197
  };
3642
4198
  }
3643
4199
 
@@ -3648,7 +4204,7 @@ export class ListUserProvisioningsResponseBody extends $tea.Model {
3648
4204
  nextToken: 'string',
3649
4205
  requestId: 'string',
3650
4206
  totalCounts: 'number',
3651
- userProvisionings: { 'type': 'array', 'itemType': ListUserProvisioningsResponseBodyUserProvisionings },
4207
+ userProvisioningEvents: { 'type': 'array', 'itemType': ListUserProvisioningEventsResponseBodyUserProvisioningEvents },
3652
4208
  };
3653
4209
  }
3654
4210
 
@@ -3657,10 +4213,106 @@ export class ListUserProvisioningsResponseBody extends $tea.Model {
3657
4213
  }
3658
4214
  }
3659
4215
 
3660
- export class ListUserProvisioningsResponse extends $tea.Model {
3661
- headers: { [key: string]: string };
3662
- statusCode: number;
3663
- body: ListUserProvisioningsResponseBody;
4216
+ export class ListUserProvisioningEventsResponse extends $tea.Model {
4217
+ headers?: { [key: string]: string };
4218
+ statusCode?: number;
4219
+ body?: ListUserProvisioningEventsResponseBody;
4220
+ static names(): { [key: string]: string } {
4221
+ return {
4222
+ headers: 'headers',
4223
+ statusCode: 'statusCode',
4224
+ body: 'body',
4225
+ };
4226
+ }
4227
+
4228
+ static types(): { [key: string]: any } {
4229
+ return {
4230
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4231
+ statusCode: 'number',
4232
+ body: ListUserProvisioningEventsResponseBody,
4233
+ };
4234
+ }
4235
+
4236
+ constructor(map?: { [key: string]: any }) {
4237
+ super(map);
4238
+ }
4239
+ }
4240
+
4241
+ export class ListUserProvisioningsRequest extends $tea.Model {
4242
+ directoryId?: string;
4243
+ maxResults?: number;
4244
+ nextToken?: string;
4245
+ principalId?: string;
4246
+ principalType?: string;
4247
+ targetId?: string;
4248
+ targetType?: string;
4249
+ static names(): { [key: string]: string } {
4250
+ return {
4251
+ directoryId: 'DirectoryId',
4252
+ maxResults: 'MaxResults',
4253
+ nextToken: 'NextToken',
4254
+ principalId: 'PrincipalId',
4255
+ principalType: 'PrincipalType',
4256
+ targetId: 'TargetId',
4257
+ targetType: 'TargetType',
4258
+ };
4259
+ }
4260
+
4261
+ static types(): { [key: string]: any } {
4262
+ return {
4263
+ directoryId: 'string',
4264
+ maxResults: 'number',
4265
+ nextToken: 'string',
4266
+ principalId: 'string',
4267
+ principalType: 'string',
4268
+ targetId: 'string',
4269
+ targetType: 'string',
4270
+ };
4271
+ }
4272
+
4273
+ constructor(map?: { [key: string]: any }) {
4274
+ super(map);
4275
+ }
4276
+ }
4277
+
4278
+ export class ListUserProvisioningsResponseBody extends $tea.Model {
4279
+ isTruncated?: boolean;
4280
+ maxResults?: number;
4281
+ nextToken?: string;
4282
+ requestId?: string;
4283
+ totalCounts?: number;
4284
+ userProvisionings?: ListUserProvisioningsResponseBodyUserProvisionings[];
4285
+ static names(): { [key: string]: string } {
4286
+ return {
4287
+ isTruncated: 'IsTruncated',
4288
+ maxResults: 'MaxResults',
4289
+ nextToken: 'NextToken',
4290
+ requestId: 'RequestId',
4291
+ totalCounts: 'TotalCounts',
4292
+ userProvisionings: 'UserProvisionings',
4293
+ };
4294
+ }
4295
+
4296
+ static types(): { [key: string]: any } {
4297
+ return {
4298
+ isTruncated: 'boolean',
4299
+ maxResults: 'number',
4300
+ nextToken: 'string',
4301
+ requestId: 'string',
4302
+ totalCounts: 'number',
4303
+ userProvisionings: { 'type': 'array', 'itemType': ListUserProvisioningsResponseBodyUserProvisionings },
4304
+ };
4305
+ }
4306
+
4307
+ constructor(map?: { [key: string]: any }) {
4308
+ super(map);
4309
+ }
4310
+ }
4311
+
4312
+ export class ListUserProvisioningsResponse extends $tea.Model {
4313
+ headers?: { [key: string]: string };
4314
+ statusCode?: number;
4315
+ body?: ListUserProvisioningsResponseBody;
3664
4316
  static names(): { [key: string]: string } {
3665
4317
  return {
3666
4318
  headers: 'headers',
@@ -3751,9 +4403,9 @@ export class ListUsersResponseBody extends $tea.Model {
3751
4403
  }
3752
4404
 
3753
4405
  export class ListUsersResponse extends $tea.Model {
3754
- headers: { [key: string]: string };
3755
- statusCode: number;
3756
- body: ListUsersResponseBody;
4406
+ headers?: { [key: string]: string };
4407
+ statusCode?: number;
4408
+ body?: ListUsersResponseBody;
3757
4409
  static names(): { [key: string]: string } {
3758
4410
  return {
3759
4411
  headers: 'headers',
@@ -3826,9 +4478,9 @@ export class ProvisionAccessConfigurationResponseBody extends $tea.Model {
3826
4478
  }
3827
4479
 
3828
4480
  export class ProvisionAccessConfigurationResponse extends $tea.Model {
3829
- headers: { [key: string]: string };
3830
- statusCode: number;
3831
- body: ProvisionAccessConfigurationResponseBody;
4481
+ headers?: { [key: string]: string };
4482
+ statusCode?: number;
4483
+ body?: ProvisionAccessConfigurationResponseBody;
3832
4484
  static names(): { [key: string]: string } {
3833
4485
  return {
3834
4486
  headers: 'headers',
@@ -3892,9 +4544,9 @@ export class RemoveExternalSAMLIdPCertificateResponseBody extends $tea.Model {
3892
4544
  }
3893
4545
 
3894
4546
  export class RemoveExternalSAMLIdPCertificateResponse extends $tea.Model {
3895
- headers: { [key: string]: string };
3896
- statusCode: number;
3897
- body: RemoveExternalSAMLIdPCertificateResponseBody;
4547
+ headers?: { [key: string]: string };
4548
+ statusCode?: number;
4549
+ body?: RemoveExternalSAMLIdPCertificateResponseBody;
3898
4550
  static names(): { [key: string]: string } {
3899
4551
  return {
3900
4552
  headers: 'headers',
@@ -3964,9 +4616,9 @@ export class RemovePermissionPolicyFromAccessConfigurationResponseBody extends $
3964
4616
  }
3965
4617
 
3966
4618
  export class RemovePermissionPolicyFromAccessConfigurationResponse extends $tea.Model {
3967
- headers: { [key: string]: string };
3968
- statusCode: number;
3969
- body: RemovePermissionPolicyFromAccessConfigurationResponseBody;
4619
+ headers?: { [key: string]: string };
4620
+ statusCode?: number;
4621
+ body?: RemovePermissionPolicyFromAccessConfigurationResponseBody;
3970
4622
  static names(): { [key: string]: string } {
3971
4623
  return {
3972
4624
  headers: 'headers',
@@ -4033,9 +4685,9 @@ export class RemoveUserFromGroupResponseBody extends $tea.Model {
4033
4685
  }
4034
4686
 
4035
4687
  export class RemoveUserFromGroupResponse extends $tea.Model {
4036
- headers: { [key: string]: string };
4037
- statusCode: number;
4038
- body: RemoveUserFromGroupResponseBody;
4688
+ headers?: { [key: string]: string };
4689
+ statusCode?: number;
4690
+ body?: RemoveUserFromGroupResponseBody;
4039
4691
  static names(): { [key: string]: string } {
4040
4692
  return {
4041
4693
  headers: 'headers',
@@ -4111,9 +4763,9 @@ export class ResetUserPasswordResponseBody extends $tea.Model {
4111
4763
  }
4112
4764
 
4113
4765
  export class ResetUserPasswordResponse extends $tea.Model {
4114
- headers: { [key: string]: string };
4115
- statusCode: number;
4116
- body: ResetUserPasswordResponseBody;
4766
+ headers?: { [key: string]: string };
4767
+ statusCode?: number;
4768
+ body?: ResetUserPasswordResponseBody;
4117
4769
  static names(): { [key: string]: string } {
4118
4770
  return {
4119
4771
  headers: 'headers',
@@ -4135,35 +4787,23 @@ export class ResetUserPasswordResponse extends $tea.Model {
4135
4787
  }
4136
4788
  }
4137
4789
 
4138
- export class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
4790
+ export class RetryUserProvisioningEventRequest extends $tea.Model {
4139
4791
  directoryId?: string;
4140
- encodedMetadataDocument?: string;
4141
- entityId?: string;
4142
- loginUrl?: string;
4143
- SSOStatus?: string;
4144
- wantRequestSigned?: boolean;
4145
- x509Certificate?: string;
4792
+ duplicationStrategy?: string;
4793
+ eventId?: string;
4146
4794
  static names(): { [key: string]: string } {
4147
4795
  return {
4148
4796
  directoryId: 'DirectoryId',
4149
- encodedMetadataDocument: 'EncodedMetadataDocument',
4150
- entityId: 'EntityId',
4151
- loginUrl: 'LoginUrl',
4152
- SSOStatus: 'SSOStatus',
4153
- wantRequestSigned: 'WantRequestSigned',
4154
- x509Certificate: 'X509Certificate',
4797
+ duplicationStrategy: 'DuplicationStrategy',
4798
+ eventId: 'EventId',
4155
4799
  };
4156
4800
  }
4157
4801
 
4158
4802
  static types(): { [key: string]: any } {
4159
4803
  return {
4160
4804
  directoryId: 'string',
4161
- encodedMetadataDocument: 'string',
4162
- entityId: 'string',
4163
- loginUrl: 'string',
4164
- SSOStatus: 'string',
4165
- wantRequestSigned: 'boolean',
4166
- x509Certificate: 'string',
4805
+ duplicationStrategy: 'string',
4806
+ eventId: 'string',
4167
4807
  };
4168
4808
  }
4169
4809
 
@@ -4172,20 +4812,17 @@ export class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
4172
4812
  }
4173
4813
  }
4174
4814
 
4175
- export class SetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
4815
+ export class RetryUserProvisioningEventResponseBody extends $tea.Model {
4176
4816
  requestId?: string;
4177
- SAMLIdentityProviderConfiguration?: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration;
4178
4817
  static names(): { [key: string]: string } {
4179
4818
  return {
4180
4819
  requestId: 'RequestId',
4181
- SAMLIdentityProviderConfiguration: 'SAMLIdentityProviderConfiguration',
4182
4820
  };
4183
4821
  }
4184
4822
 
4185
4823
  static types(): { [key: string]: any } {
4186
4824
  return {
4187
4825
  requestId: 'string',
4188
- SAMLIdentityProviderConfiguration: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration,
4189
4826
  };
4190
4827
  }
4191
4828
 
@@ -4194,10 +4831,10 @@ export class SetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
4194
4831
  }
4195
4832
  }
4196
4833
 
4197
- export class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
4198
- headers: { [key: string]: string };
4199
- statusCode: number;
4200
- body: SetExternalSAMLIdentityProviderResponseBody;
4834
+ export class RetryUserProvisioningEventResponse extends $tea.Model {
4835
+ headers?: { [key: string]: string };
4836
+ statusCode?: number;
4837
+ body?: RetryUserProvisioningEventResponseBody;
4201
4838
  static names(): { [key: string]: string } {
4202
4839
  return {
4203
4840
  headers: 'headers',
@@ -4210,7 +4847,7 @@ export class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
4210
4847
  return {
4211
4848
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4212
4849
  statusCode: 'number',
4213
- body: SetExternalSAMLIdentityProviderResponseBody,
4850
+ body: RetryUserProvisioningEventResponseBody,
4214
4851
  };
4215
4852
  }
4216
4853
 
@@ -4219,20 +4856,35 @@ export class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
4219
4856
  }
4220
4857
  }
4221
4858
 
4222
- export class SetMFAAuthenticationStatusRequest extends $tea.Model {
4859
+ export class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
4223
4860
  directoryId?: string;
4224
- MFAAuthenticationStatus?: string;
4861
+ encodedMetadataDocument?: string;
4862
+ entityId?: string;
4863
+ loginUrl?: string;
4864
+ SSOStatus?: string;
4865
+ wantRequestSigned?: boolean;
4866
+ x509Certificate?: string;
4225
4867
  static names(): { [key: string]: string } {
4226
4868
  return {
4227
4869
  directoryId: 'DirectoryId',
4228
- MFAAuthenticationStatus: 'MFAAuthenticationStatus',
4870
+ encodedMetadataDocument: 'EncodedMetadataDocument',
4871
+ entityId: 'EntityId',
4872
+ loginUrl: 'LoginUrl',
4873
+ SSOStatus: 'SSOStatus',
4874
+ wantRequestSigned: 'WantRequestSigned',
4875
+ x509Certificate: 'X509Certificate',
4229
4876
  };
4230
4877
  }
4231
4878
 
4232
4879
  static types(): { [key: string]: any } {
4233
4880
  return {
4234
4881
  directoryId: 'string',
4235
- MFAAuthenticationStatus: 'string',
4882
+ encodedMetadataDocument: 'string',
4883
+ entityId: 'string',
4884
+ loginUrl: 'string',
4885
+ SSOStatus: 'string',
4886
+ wantRequestSigned: 'boolean',
4887
+ x509Certificate: 'string',
4236
4888
  };
4237
4889
  }
4238
4890
 
@@ -4241,17 +4893,20 @@ export class SetMFAAuthenticationStatusRequest extends $tea.Model {
4241
4893
  }
4242
4894
  }
4243
4895
 
4244
- export class SetMFAAuthenticationStatusResponseBody extends $tea.Model {
4896
+ export class SetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
4245
4897
  requestId?: string;
4898
+ SAMLIdentityProviderConfiguration?: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration;
4246
4899
  static names(): { [key: string]: string } {
4247
4900
  return {
4248
4901
  requestId: 'RequestId',
4902
+ SAMLIdentityProviderConfiguration: 'SAMLIdentityProviderConfiguration',
4249
4903
  };
4250
4904
  }
4251
4905
 
4252
4906
  static types(): { [key: string]: any } {
4253
4907
  return {
4254
4908
  requestId: 'string',
4909
+ SAMLIdentityProviderConfiguration: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration,
4255
4910
  };
4256
4911
  }
4257
4912
 
@@ -4260,10 +4915,10 @@ export class SetMFAAuthenticationStatusResponseBody extends $tea.Model {
4260
4915
  }
4261
4916
  }
4262
4917
 
4263
- export class SetMFAAuthenticationStatusResponse extends $tea.Model {
4264
- headers: { [key: string]: string };
4265
- statusCode: number;
4266
- body: SetMFAAuthenticationStatusResponseBody;
4918
+ export class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
4919
+ headers?: { [key: string]: string };
4920
+ statusCode?: number;
4921
+ body?: SetExternalSAMLIdentityProviderResponseBody;
4267
4922
  static names(): { [key: string]: string } {
4268
4923
  return {
4269
4924
  headers: 'headers',
@@ -4276,7 +4931,7 @@ export class SetMFAAuthenticationStatusResponse extends $tea.Model {
4276
4931
  return {
4277
4932
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4278
4933
  statusCode: 'number',
4279
- body: SetMFAAuthenticationStatusResponseBody,
4934
+ body: SetExternalSAMLIdentityProviderResponseBody,
4280
4935
  };
4281
4936
  }
4282
4937
 
@@ -4285,20 +4940,20 @@ export class SetMFAAuthenticationStatusResponse extends $tea.Model {
4285
4940
  }
4286
4941
  }
4287
4942
 
4288
- export class SetSCIMSynchronizationStatusRequest extends $tea.Model {
4943
+ export class SetLoginPreferenceRequest extends $tea.Model {
4289
4944
  directoryId?: string;
4290
- SCIMSynchronizationStatus?: string;
4945
+ loginNetworkMasks?: string;
4291
4946
  static names(): { [key: string]: string } {
4292
4947
  return {
4293
4948
  directoryId: 'DirectoryId',
4294
- SCIMSynchronizationStatus: 'SCIMSynchronizationStatus',
4949
+ loginNetworkMasks: 'LoginNetworkMasks',
4295
4950
  };
4296
4951
  }
4297
4952
 
4298
4953
  static types(): { [key: string]: any } {
4299
4954
  return {
4300
4955
  directoryId: 'string',
4301
- SCIMSynchronizationStatus: 'string',
4956
+ loginNetworkMasks: 'string',
4302
4957
  };
4303
4958
  }
4304
4959
 
@@ -4307,7 +4962,7 @@ export class SetSCIMSynchronizationStatusRequest extends $tea.Model {
4307
4962
  }
4308
4963
  }
4309
4964
 
4310
- export class SetSCIMSynchronizationStatusResponseBody extends $tea.Model {
4965
+ export class SetLoginPreferenceResponseBody extends $tea.Model {
4311
4966
  requestId?: string;
4312
4967
  static names(): { [key: string]: string } {
4313
4968
  return {
@@ -4326,10 +4981,10 @@ export class SetSCIMSynchronizationStatusResponseBody extends $tea.Model {
4326
4981
  }
4327
4982
  }
4328
4983
 
4329
- export class SetSCIMSynchronizationStatusResponse extends $tea.Model {
4330
- headers: { [key: string]: string };
4331
- statusCode: number;
4332
- body: SetSCIMSynchronizationStatusResponseBody;
4984
+ export class SetLoginPreferenceResponse extends $tea.Model {
4985
+ headers?: { [key: string]: string };
4986
+ statusCode?: number;
4987
+ body?: SetLoginPreferenceResponseBody;
4333
4988
  static names(): { [key: string]: string } {
4334
4989
  return {
4335
4990
  headers: 'headers',
@@ -4342,7 +4997,7 @@ export class SetSCIMSynchronizationStatusResponse extends $tea.Model {
4342
4997
  return {
4343
4998
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4344
4999
  statusCode: 'number',
4345
- body: SetSCIMSynchronizationStatusResponseBody,
5000
+ body: SetLoginPreferenceResponseBody,
4346
5001
  };
4347
5002
  }
4348
5003
 
@@ -4351,29 +5006,20 @@ export class SetSCIMSynchronizationStatusResponse extends $tea.Model {
4351
5006
  }
4352
5007
  }
4353
5008
 
4354
- export class UpdateAccessConfigurationRequest extends $tea.Model {
4355
- accessConfigurationId?: string;
5009
+ export class SetMFAAuthenticationStatusRequest extends $tea.Model {
4356
5010
  directoryId?: string;
4357
- newDescription?: string;
4358
- newRelayState?: string;
4359
- newSessionDuration?: number;
5011
+ MFAAuthenticationStatus?: string;
4360
5012
  static names(): { [key: string]: string } {
4361
5013
  return {
4362
- accessConfigurationId: 'AccessConfigurationId',
4363
5014
  directoryId: 'DirectoryId',
4364
- newDescription: 'NewDescription',
4365
- newRelayState: 'NewRelayState',
4366
- newSessionDuration: 'NewSessionDuration',
5015
+ MFAAuthenticationStatus: 'MFAAuthenticationStatus',
4367
5016
  };
4368
5017
  }
4369
5018
 
4370
5019
  static types(): { [key: string]: any } {
4371
5020
  return {
4372
- accessConfigurationId: 'string',
4373
5021
  directoryId: 'string',
4374
- newDescription: 'string',
4375
- newRelayState: 'string',
4376
- newSessionDuration: 'number',
5022
+ MFAAuthenticationStatus: 'string',
4377
5023
  };
4378
5024
  }
4379
5025
 
@@ -4382,19 +5028,16 @@ export class UpdateAccessConfigurationRequest extends $tea.Model {
4382
5028
  }
4383
5029
  }
4384
5030
 
4385
- export class UpdateAccessConfigurationResponseBody extends $tea.Model {
4386
- accessConfiguration?: UpdateAccessConfigurationResponseBodyAccessConfiguration;
5031
+ export class SetMFAAuthenticationStatusResponseBody extends $tea.Model {
4387
5032
  requestId?: string;
4388
5033
  static names(): { [key: string]: string } {
4389
5034
  return {
4390
- accessConfiguration: 'AccessConfiguration',
4391
5035
  requestId: 'RequestId',
4392
5036
  };
4393
5037
  }
4394
5038
 
4395
5039
  static types(): { [key: string]: any } {
4396
5040
  return {
4397
- accessConfiguration: UpdateAccessConfigurationResponseBodyAccessConfiguration,
4398
5041
  requestId: 'string',
4399
5042
  };
4400
5043
  }
@@ -4404,10 +5047,10 @@ export class UpdateAccessConfigurationResponseBody extends $tea.Model {
4404
5047
  }
4405
5048
  }
4406
5049
 
4407
- export class UpdateAccessConfigurationResponse extends $tea.Model {
4408
- headers: { [key: string]: string };
4409
- statusCode: number;
4410
- body: UpdateAccessConfigurationResponseBody;
5050
+ export class SetMFAAuthenticationStatusResponse extends $tea.Model {
5051
+ headers?: { [key: string]: string };
5052
+ statusCode?: number;
5053
+ body?: SetMFAAuthenticationStatusResponseBody;
4411
5054
  static names(): { [key: string]: string } {
4412
5055
  return {
4413
5056
  headers: 'headers',
@@ -4420,7 +5063,7 @@ export class UpdateAccessConfigurationResponse extends $tea.Model {
4420
5063
  return {
4421
5064
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4422
5065
  statusCode: 'number',
4423
- body: UpdateAccessConfigurationResponseBody,
5066
+ body: SetMFAAuthenticationStatusResponseBody,
4424
5067
  };
4425
5068
  }
4426
5069
 
@@ -4429,20 +5072,35 @@ export class UpdateAccessConfigurationResponse extends $tea.Model {
4429
5072
  }
4430
5073
  }
4431
5074
 
4432
- export class UpdateDirectoryRequest extends $tea.Model {
5075
+ export class SetPasswordPolicyRequest extends $tea.Model {
4433
5076
  directoryId?: string;
4434
- newDirectoryName?: string;
5077
+ maxLoginAttempts?: number;
5078
+ maxPasswordAge?: number;
5079
+ minPasswordDifferentChars?: number;
5080
+ minPasswordLength?: number;
5081
+ passwordNotContainUsername?: boolean;
5082
+ passwordReusePrevention?: number;
4435
5083
  static names(): { [key: string]: string } {
4436
5084
  return {
4437
5085
  directoryId: 'DirectoryId',
4438
- newDirectoryName: 'NewDirectoryName',
5086
+ maxLoginAttempts: 'MaxLoginAttempts',
5087
+ maxPasswordAge: 'MaxPasswordAge',
5088
+ minPasswordDifferentChars: 'MinPasswordDifferentChars',
5089
+ minPasswordLength: 'MinPasswordLength',
5090
+ passwordNotContainUsername: 'PasswordNotContainUsername',
5091
+ passwordReusePrevention: 'PasswordReusePrevention',
4439
5092
  };
4440
5093
  }
4441
5094
 
4442
5095
  static types(): { [key: string]: any } {
4443
5096
  return {
4444
5097
  directoryId: 'string',
4445
- newDirectoryName: 'string',
5098
+ maxLoginAttempts: 'number',
5099
+ maxPasswordAge: 'number',
5100
+ minPasswordDifferentChars: 'number',
5101
+ minPasswordLength: 'number',
5102
+ passwordNotContainUsername: 'boolean',
5103
+ passwordReusePrevention: 'number',
4446
5104
  };
4447
5105
  }
4448
5106
 
@@ -4451,19 +5109,16 @@ export class UpdateDirectoryRequest extends $tea.Model {
4451
5109
  }
4452
5110
  }
4453
5111
 
4454
- export class UpdateDirectoryResponseBody extends $tea.Model {
4455
- directory?: UpdateDirectoryResponseBodyDirectory;
5112
+ export class SetPasswordPolicyResponseBody extends $tea.Model {
4456
5113
  requestId?: string;
4457
5114
  static names(): { [key: string]: string } {
4458
5115
  return {
4459
- directory: 'Directory',
4460
5116
  requestId: 'RequestId',
4461
5117
  };
4462
5118
  }
4463
5119
 
4464
5120
  static types(): { [key: string]: any } {
4465
5121
  return {
4466
- directory: UpdateDirectoryResponseBodyDirectory,
4467
5122
  requestId: 'string',
4468
5123
  };
4469
5124
  }
@@ -4473,10 +5128,10 @@ export class UpdateDirectoryResponseBody extends $tea.Model {
4473
5128
  }
4474
5129
  }
4475
5130
 
4476
- export class UpdateDirectoryResponse extends $tea.Model {
4477
- headers: { [key: string]: string };
4478
- statusCode: number;
4479
- body: UpdateDirectoryResponseBody;
5131
+ export class SetPasswordPolicyResponse extends $tea.Model {
5132
+ headers?: { [key: string]: string };
5133
+ statusCode?: number;
5134
+ body?: SetPasswordPolicyResponseBody;
4480
5135
  static names(): { [key: string]: string } {
4481
5136
  return {
4482
5137
  headers: 'headers',
@@ -4489,7 +5144,7 @@ export class UpdateDirectoryResponse extends $tea.Model {
4489
5144
  return {
4490
5145
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4491
5146
  statusCode: 'number',
4492
- body: UpdateDirectoryResponseBody,
5147
+ body: SetPasswordPolicyResponseBody,
4493
5148
  };
4494
5149
  }
4495
5150
 
@@ -4498,26 +5153,20 @@ export class UpdateDirectoryResponse extends $tea.Model {
4498
5153
  }
4499
5154
  }
4500
5155
 
4501
- export class UpdateGroupRequest extends $tea.Model {
5156
+ export class SetSCIMSynchronizationStatusRequest extends $tea.Model {
4502
5157
  directoryId?: string;
4503
- groupId?: string;
4504
- newDescription?: string;
4505
- newGroupName?: string;
5158
+ SCIMSynchronizationStatus?: string;
4506
5159
  static names(): { [key: string]: string } {
4507
5160
  return {
4508
5161
  directoryId: 'DirectoryId',
4509
- groupId: 'GroupId',
4510
- newDescription: 'NewDescription',
4511
- newGroupName: 'NewGroupName',
5162
+ SCIMSynchronizationStatus: 'SCIMSynchronizationStatus',
4512
5163
  };
4513
5164
  }
4514
5165
 
4515
5166
  static types(): { [key: string]: any } {
4516
5167
  return {
4517
5168
  directoryId: 'string',
4518
- groupId: 'string',
4519
- newDescription: 'string',
4520
- newGroupName: 'string',
5169
+ SCIMSynchronizationStatus: 'string',
4521
5170
  };
4522
5171
  }
4523
5172
 
@@ -4526,19 +5175,16 @@ export class UpdateGroupRequest extends $tea.Model {
4526
5175
  }
4527
5176
  }
4528
5177
 
4529
- export class UpdateGroupResponseBody extends $tea.Model {
4530
- group?: UpdateGroupResponseBodyGroup;
5178
+ export class SetSCIMSynchronizationStatusResponseBody extends $tea.Model {
4531
5179
  requestId?: string;
4532
5180
  static names(): { [key: string]: string } {
4533
5181
  return {
4534
- group: 'Group',
4535
5182
  requestId: 'RequestId',
4536
5183
  };
4537
5184
  }
4538
5185
 
4539
5186
  static types(): { [key: string]: any } {
4540
5187
  return {
4541
- group: UpdateGroupResponseBodyGroup,
4542
5188
  requestId: 'string',
4543
5189
  };
4544
5190
  }
@@ -4548,10 +5194,10 @@ export class UpdateGroupResponseBody extends $tea.Model {
4548
5194
  }
4549
5195
  }
4550
5196
 
4551
- export class UpdateGroupResponse extends $tea.Model {
4552
- headers: { [key: string]: string };
4553
- statusCode: number;
4554
- body: UpdateGroupResponseBody;
5197
+ export class SetSCIMSynchronizationStatusResponse extends $tea.Model {
5198
+ headers?: { [key: string]: string };
5199
+ statusCode?: number;
5200
+ body?: SetSCIMSynchronizationStatusResponseBody;
4555
5201
  static names(): { [key: string]: string } {
4556
5202
  return {
4557
5203
  headers: 'headers',
@@ -4564,7 +5210,7 @@ export class UpdateGroupResponse extends $tea.Model {
4564
5210
  return {
4565
5211
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4566
5212
  statusCode: 'number',
4567
- body: UpdateGroupResponseBody,
5213
+ body: SetSCIMSynchronizationStatusResponseBody,
4568
5214
  };
4569
5215
  }
4570
5216
 
@@ -4573,17 +5219,19 @@ export class UpdateGroupResponse extends $tea.Model {
4573
5219
  }
4574
5220
  }
4575
5221
 
4576
- export class UpdateInlinePolicyForAccessConfigurationRequest extends $tea.Model {
5222
+ export class UpdateAccessConfigurationRequest extends $tea.Model {
4577
5223
  accessConfigurationId?: string;
4578
5224
  directoryId?: string;
4579
- inlinePolicyName?: string;
4580
- newInlinePolicyDocument?: string;
5225
+ newDescription?: string;
5226
+ newRelayState?: string;
5227
+ newSessionDuration?: number;
4581
5228
  static names(): { [key: string]: string } {
4582
5229
  return {
4583
5230
  accessConfigurationId: 'AccessConfigurationId',
4584
5231
  directoryId: 'DirectoryId',
4585
- inlinePolicyName: 'InlinePolicyName',
4586
- newInlinePolicyDocument: 'NewInlinePolicyDocument',
5232
+ newDescription: 'NewDescription',
5233
+ newRelayState: 'NewRelayState',
5234
+ newSessionDuration: 'NewSessionDuration',
4587
5235
  };
4588
5236
  }
4589
5237
 
@@ -4591,8 +5239,9 @@ export class UpdateInlinePolicyForAccessConfigurationRequest extends $tea.Model
4591
5239
  return {
4592
5240
  accessConfigurationId: 'string',
4593
5241
  directoryId: 'string',
4594
- inlinePolicyName: 'string',
4595
- newInlinePolicyDocument: 'string',
5242
+ newDescription: 'string',
5243
+ newRelayState: 'string',
5244
+ newSessionDuration: 'number',
4596
5245
  };
4597
5246
  }
4598
5247
 
@@ -4601,16 +5250,19 @@ export class UpdateInlinePolicyForAccessConfigurationRequest extends $tea.Model
4601
5250
  }
4602
5251
  }
4603
5252
 
4604
- export class UpdateInlinePolicyForAccessConfigurationResponseBody extends $tea.Model {
5253
+ export class UpdateAccessConfigurationResponseBody extends $tea.Model {
5254
+ accessConfiguration?: UpdateAccessConfigurationResponseBodyAccessConfiguration;
4605
5255
  requestId?: string;
4606
5256
  static names(): { [key: string]: string } {
4607
5257
  return {
5258
+ accessConfiguration: 'AccessConfiguration',
4608
5259
  requestId: 'RequestId',
4609
5260
  };
4610
5261
  }
4611
5262
 
4612
5263
  static types(): { [key: string]: any } {
4613
5264
  return {
5265
+ accessConfiguration: UpdateAccessConfigurationResponseBodyAccessConfiguration,
4614
5266
  requestId: 'string',
4615
5267
  };
4616
5268
  }
@@ -4620,10 +5272,10 @@ export class UpdateInlinePolicyForAccessConfigurationResponseBody extends $tea.M
4620
5272
  }
4621
5273
  }
4622
5274
 
4623
- export class UpdateInlinePolicyForAccessConfigurationResponse extends $tea.Model {
4624
- headers: { [key: string]: string };
4625
- statusCode: number;
4626
- body: UpdateInlinePolicyForAccessConfigurationResponseBody;
5275
+ export class UpdateAccessConfigurationResponse extends $tea.Model {
5276
+ headers?: { [key: string]: string };
5277
+ statusCode?: number;
5278
+ body?: UpdateAccessConfigurationResponseBody;
4627
5279
  static names(): { [key: string]: string } {
4628
5280
  return {
4629
5281
  headers: 'headers',
@@ -4636,7 +5288,7 @@ export class UpdateInlinePolicyForAccessConfigurationResponse extends $tea.Model
4636
5288
  return {
4637
5289
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4638
5290
  statusCode: 'number',
4639
- body: UpdateInlinePolicyForAccessConfigurationResponseBody,
5291
+ body: UpdateAccessConfigurationResponseBody,
4640
5292
  };
4641
5293
  }
4642
5294
 
@@ -4645,23 +5297,20 @@ export class UpdateInlinePolicyForAccessConfigurationResponse extends $tea.Model
4645
5297
  }
4646
5298
  }
4647
5299
 
4648
- export class UpdateMFAAuthenticationSettingsRequest extends $tea.Model {
5300
+ export class UpdateDirectoryRequest extends $tea.Model {
4649
5301
  directoryId?: string;
4650
- MFAAuthenticationSettings?: string;
4651
- operationForRiskLogin?: string;
5302
+ newDirectoryName?: string;
4652
5303
  static names(): { [key: string]: string } {
4653
5304
  return {
4654
5305
  directoryId: 'DirectoryId',
4655
- MFAAuthenticationSettings: 'MFAAuthenticationSettings',
4656
- operationForRiskLogin: 'OperationForRiskLogin',
5306
+ newDirectoryName: 'NewDirectoryName',
4657
5307
  };
4658
5308
  }
4659
5309
 
4660
5310
  static types(): { [key: string]: any } {
4661
5311
  return {
4662
5312
  directoryId: 'string',
4663
- MFAAuthenticationSettings: 'string',
4664
- operationForRiskLogin: 'string',
5313
+ newDirectoryName: 'string',
4665
5314
  };
4666
5315
  }
4667
5316
 
@@ -4670,7 +5319,226 @@ export class UpdateMFAAuthenticationSettingsRequest extends $tea.Model {
4670
5319
  }
4671
5320
  }
4672
5321
 
4673
- export class UpdateMFAAuthenticationSettingsResponseBody extends $tea.Model {
5322
+ export class UpdateDirectoryResponseBody extends $tea.Model {
5323
+ directory?: UpdateDirectoryResponseBodyDirectory;
5324
+ requestId?: string;
5325
+ static names(): { [key: string]: string } {
5326
+ return {
5327
+ directory: 'Directory',
5328
+ requestId: 'RequestId',
5329
+ };
5330
+ }
5331
+
5332
+ static types(): { [key: string]: any } {
5333
+ return {
5334
+ directory: UpdateDirectoryResponseBodyDirectory,
5335
+ requestId: 'string',
5336
+ };
5337
+ }
5338
+
5339
+ constructor(map?: { [key: string]: any }) {
5340
+ super(map);
5341
+ }
5342
+ }
5343
+
5344
+ export class UpdateDirectoryResponse extends $tea.Model {
5345
+ headers?: { [key: string]: string };
5346
+ statusCode?: number;
5347
+ body?: UpdateDirectoryResponseBody;
5348
+ static names(): { [key: string]: string } {
5349
+ return {
5350
+ headers: 'headers',
5351
+ statusCode: 'statusCode',
5352
+ body: 'body',
5353
+ };
5354
+ }
5355
+
5356
+ static types(): { [key: string]: any } {
5357
+ return {
5358
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5359
+ statusCode: 'number',
5360
+ body: UpdateDirectoryResponseBody,
5361
+ };
5362
+ }
5363
+
5364
+ constructor(map?: { [key: string]: any }) {
5365
+ super(map);
5366
+ }
5367
+ }
5368
+
5369
+ export class UpdateGroupRequest extends $tea.Model {
5370
+ directoryId?: string;
5371
+ groupId?: string;
5372
+ newDescription?: string;
5373
+ newGroupName?: string;
5374
+ static names(): { [key: string]: string } {
5375
+ return {
5376
+ directoryId: 'DirectoryId',
5377
+ groupId: 'GroupId',
5378
+ newDescription: 'NewDescription',
5379
+ newGroupName: 'NewGroupName',
5380
+ };
5381
+ }
5382
+
5383
+ static types(): { [key: string]: any } {
5384
+ return {
5385
+ directoryId: 'string',
5386
+ groupId: 'string',
5387
+ newDescription: 'string',
5388
+ newGroupName: 'string',
5389
+ };
5390
+ }
5391
+
5392
+ constructor(map?: { [key: string]: any }) {
5393
+ super(map);
5394
+ }
5395
+ }
5396
+
5397
+ export class UpdateGroupResponseBody extends $tea.Model {
5398
+ group?: UpdateGroupResponseBodyGroup;
5399
+ requestId?: string;
5400
+ static names(): { [key: string]: string } {
5401
+ return {
5402
+ group: 'Group',
5403
+ requestId: 'RequestId',
5404
+ };
5405
+ }
5406
+
5407
+ static types(): { [key: string]: any } {
5408
+ return {
5409
+ group: UpdateGroupResponseBodyGroup,
5410
+ requestId: 'string',
5411
+ };
5412
+ }
5413
+
5414
+ constructor(map?: { [key: string]: any }) {
5415
+ super(map);
5416
+ }
5417
+ }
5418
+
5419
+ export class UpdateGroupResponse extends $tea.Model {
5420
+ headers?: { [key: string]: string };
5421
+ statusCode?: number;
5422
+ body?: UpdateGroupResponseBody;
5423
+ static names(): { [key: string]: string } {
5424
+ return {
5425
+ headers: 'headers',
5426
+ statusCode: 'statusCode',
5427
+ body: 'body',
5428
+ };
5429
+ }
5430
+
5431
+ static types(): { [key: string]: any } {
5432
+ return {
5433
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5434
+ statusCode: 'number',
5435
+ body: UpdateGroupResponseBody,
5436
+ };
5437
+ }
5438
+
5439
+ constructor(map?: { [key: string]: any }) {
5440
+ super(map);
5441
+ }
5442
+ }
5443
+
5444
+ export class UpdateInlinePolicyForAccessConfigurationRequest extends $tea.Model {
5445
+ accessConfigurationId?: string;
5446
+ directoryId?: string;
5447
+ inlinePolicyName?: string;
5448
+ newInlinePolicyDocument?: string;
5449
+ static names(): { [key: string]: string } {
5450
+ return {
5451
+ accessConfigurationId: 'AccessConfigurationId',
5452
+ directoryId: 'DirectoryId',
5453
+ inlinePolicyName: 'InlinePolicyName',
5454
+ newInlinePolicyDocument: 'NewInlinePolicyDocument',
5455
+ };
5456
+ }
5457
+
5458
+ static types(): { [key: string]: any } {
5459
+ return {
5460
+ accessConfigurationId: 'string',
5461
+ directoryId: 'string',
5462
+ inlinePolicyName: 'string',
5463
+ newInlinePolicyDocument: 'string',
5464
+ };
5465
+ }
5466
+
5467
+ constructor(map?: { [key: string]: any }) {
5468
+ super(map);
5469
+ }
5470
+ }
5471
+
5472
+ export class UpdateInlinePolicyForAccessConfigurationResponseBody extends $tea.Model {
5473
+ requestId?: string;
5474
+ static names(): { [key: string]: string } {
5475
+ return {
5476
+ requestId: 'RequestId',
5477
+ };
5478
+ }
5479
+
5480
+ static types(): { [key: string]: any } {
5481
+ return {
5482
+ requestId: 'string',
5483
+ };
5484
+ }
5485
+
5486
+ constructor(map?: { [key: string]: any }) {
5487
+ super(map);
5488
+ }
5489
+ }
5490
+
5491
+ export class UpdateInlinePolicyForAccessConfigurationResponse extends $tea.Model {
5492
+ headers?: { [key: string]: string };
5493
+ statusCode?: number;
5494
+ body?: UpdateInlinePolicyForAccessConfigurationResponseBody;
5495
+ static names(): { [key: string]: string } {
5496
+ return {
5497
+ headers: 'headers',
5498
+ statusCode: 'statusCode',
5499
+ body: 'body',
5500
+ };
5501
+ }
5502
+
5503
+ static types(): { [key: string]: any } {
5504
+ return {
5505
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5506
+ statusCode: 'number',
5507
+ body: UpdateInlinePolicyForAccessConfigurationResponseBody,
5508
+ };
5509
+ }
5510
+
5511
+ constructor(map?: { [key: string]: any }) {
5512
+ super(map);
5513
+ }
5514
+ }
5515
+
5516
+ export class UpdateMFAAuthenticationSettingsRequest extends $tea.Model {
5517
+ directoryId?: string;
5518
+ MFAAuthenticationSettings?: string;
5519
+ operationForRiskLogin?: string;
5520
+ static names(): { [key: string]: string } {
5521
+ return {
5522
+ directoryId: 'DirectoryId',
5523
+ MFAAuthenticationSettings: 'MFAAuthenticationSettings',
5524
+ operationForRiskLogin: 'OperationForRiskLogin',
5525
+ };
5526
+ }
5527
+
5528
+ static types(): { [key: string]: any } {
5529
+ return {
5530
+ directoryId: 'string',
5531
+ MFAAuthenticationSettings: 'string',
5532
+ operationForRiskLogin: 'string',
5533
+ };
5534
+ }
5535
+
5536
+ constructor(map?: { [key: string]: any }) {
5537
+ super(map);
5538
+ }
5539
+ }
5540
+
5541
+ export class UpdateMFAAuthenticationSettingsResponseBody extends $tea.Model {
4674
5542
  requestId?: string;
4675
5543
  static names(): { [key: string]: string } {
4676
5544
  return {
@@ -4690,9 +5558,9 @@ export class UpdateMFAAuthenticationSettingsResponseBody extends $tea.Model {
4690
5558
  }
4691
5559
 
4692
5560
  export class UpdateMFAAuthenticationSettingsResponse extends $tea.Model {
4693
- headers: { [key: string]: string };
4694
- statusCode: number;
4695
- body: UpdateMFAAuthenticationSettingsResponseBody;
5561
+ headers?: { [key: string]: string };
5562
+ statusCode?: number;
5563
+ body?: UpdateMFAAuthenticationSettingsResponseBody;
4696
5564
  static names(): { [key: string]: string } {
4697
5565
  return {
4698
5566
  headers: 'headers',
@@ -4762,9 +5630,9 @@ export class UpdateSCIMServerCredentialStatusResponseBody extends $tea.Model {
4762
5630
  }
4763
5631
 
4764
5632
  export class UpdateSCIMServerCredentialStatusResponse extends $tea.Model {
4765
- headers: { [key: string]: string };
4766
- statusCode: number;
4767
- body: UpdateSCIMServerCredentialStatusResponseBody;
5633
+ headers?: { [key: string]: string };
5634
+ statusCode?: number;
5635
+ body?: UpdateSCIMServerCredentialStatusResponseBody;
4768
5636
  static names(): { [key: string]: string } {
4769
5637
  return {
4770
5638
  headers: 'headers',
@@ -4846,9 +5714,9 @@ export class UpdateUserResponseBody extends $tea.Model {
4846
5714
  }
4847
5715
 
4848
5716
  export class UpdateUserResponse extends $tea.Model {
4849
- headers: { [key: string]: string };
4850
- statusCode: number;
4851
- body: UpdateUserResponseBody;
5717
+ headers?: { [key: string]: string };
5718
+ statusCode?: number;
5719
+ body?: UpdateUserResponseBody;
4852
5720
  static names(): { [key: string]: string } {
4853
5721
  return {
4854
5722
  headers: 'headers',
@@ -4915,9 +5783,9 @@ export class UpdateUserMFAAuthenticationSettingsResponseBody extends $tea.Model
4915
5783
  }
4916
5784
 
4917
5785
  export class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
4918
- headers: { [key: string]: string };
4919
- statusCode: number;
4920
- body: UpdateUserMFAAuthenticationSettingsResponseBody;
5786
+ headers?: { [key: string]: string };
5787
+ statusCode?: number;
5788
+ body?: UpdateUserMFAAuthenticationSettingsResponseBody;
4921
5789
  static names(): { [key: string]: string } {
4922
5790
  return {
4923
5791
  headers: 'headers',
@@ -4993,9 +5861,9 @@ export class UpdateUserProvisioningResponseBody extends $tea.Model {
4993
5861
  }
4994
5862
 
4995
5863
  export class UpdateUserProvisioningResponse extends $tea.Model {
4996
- headers: { [key: string]: string };
4997
- statusCode: number;
4998
- body: UpdateUserProvisioningResponseBody;
5864
+ headers?: { [key: string]: string };
5865
+ statusCode?: number;
5866
+ body?: UpdateUserProvisioningResponseBody;
4999
5867
  static names(): { [key: string]: string } {
5000
5868
  return {
5001
5869
  headers: 'headers',
@@ -5017,23 +5885,23 @@ export class UpdateUserProvisioningResponse extends $tea.Model {
5017
5885
  }
5018
5886
  }
5019
5887
 
5020
- export class UpdateUserStatusRequest extends $tea.Model {
5888
+ export class UpdateUserProvisioningConfigurationRequest extends $tea.Model {
5021
5889
  directoryId?: string;
5022
- newStatus?: string;
5023
- userId?: string;
5890
+ newDefaultLandingPage?: string;
5891
+ newSessionDuration?: number;
5024
5892
  static names(): { [key: string]: string } {
5025
5893
  return {
5026
5894
  directoryId: 'DirectoryId',
5027
- newStatus: 'NewStatus',
5028
- userId: 'UserId',
5895
+ newDefaultLandingPage: 'NewDefaultLandingPage',
5896
+ newSessionDuration: 'NewSessionDuration',
5029
5897
  };
5030
5898
  }
5031
5899
 
5032
5900
  static types(): { [key: string]: any } {
5033
5901
  return {
5034
5902
  directoryId: 'string',
5035
- newStatus: 'string',
5036
- userId: 'string',
5903
+ newDefaultLandingPage: 'string',
5904
+ newSessionDuration: 'number',
5037
5905
  };
5038
5906
  }
5039
5907
 
@@ -5042,17 +5910,20 @@ export class UpdateUserStatusRequest extends $tea.Model {
5042
5910
  }
5043
5911
  }
5044
5912
 
5045
- export class UpdateUserStatusResponseBody extends $tea.Model {
5913
+ export class UpdateUserProvisioningConfigurationResponseBody extends $tea.Model {
5046
5914
  requestId?: string;
5915
+ userProvisioningConfiguration?: UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
5047
5916
  static names(): { [key: string]: string } {
5048
5917
  return {
5049
5918
  requestId: 'RequestId',
5919
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
5050
5920
  };
5051
5921
  }
5052
5922
 
5053
5923
  static types(): { [key: string]: any } {
5054
5924
  return {
5055
5925
  requestId: 'string',
5926
+ userProvisioningConfiguration: UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
5056
5927
  };
5057
5928
  }
5058
5929
 
@@ -5061,10 +5932,10 @@ export class UpdateUserStatusResponseBody extends $tea.Model {
5061
5932
  }
5062
5933
  }
5063
5934
 
5064
- export class UpdateUserStatusResponse extends $tea.Model {
5065
- headers: { [key: string]: string };
5066
- statusCode: number;
5067
- body: UpdateUserStatusResponseBody;
5935
+ export class UpdateUserProvisioningConfigurationResponse extends $tea.Model {
5936
+ headers?: { [key: string]: string };
5937
+ statusCode?: number;
5938
+ body?: UpdateUserProvisioningConfigurationResponseBody;
5068
5939
  static names(): { [key: string]: string } {
5069
5940
  return {
5070
5941
  headers: 'headers',
@@ -5077,7 +5948,7 @@ export class UpdateUserStatusResponse extends $tea.Model {
5077
5948
  return {
5078
5949
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5079
5950
  statusCode: 'number',
5080
- body: UpdateUserStatusResponseBody,
5951
+ body: UpdateUserProvisioningConfigurationResponseBody,
5081
5952
  };
5082
5953
  }
5083
5954
 
@@ -5086,36 +5957,105 @@ export class UpdateUserStatusResponse extends $tea.Model {
5086
5957
  }
5087
5958
  }
5088
5959
 
5089
- export class CreateAccessAssignmentResponseBodyTask extends $tea.Model {
5090
- accessConfigurationId?: string;
5091
- accessConfigurationName?: string;
5092
- principalId?: string;
5093
- principalName?: string;
5094
- principalType?: string;
5095
- status?: string;
5096
- targetId?: string;
5097
- targetName?: string;
5098
- targetPath?: string;
5099
- targetPathName?: string;
5100
- targetType?: string;
5101
- taskId?: string;
5102
- taskType?: string;
5960
+ export class UpdateUserStatusRequest extends $tea.Model {
5961
+ directoryId?: string;
5962
+ newStatus?: string;
5963
+ userId?: string;
5103
5964
  static names(): { [key: string]: string } {
5104
5965
  return {
5105
- accessConfigurationId: 'AccessConfigurationId',
5106
- accessConfigurationName: 'AccessConfigurationName',
5107
- principalId: 'PrincipalId',
5108
- principalName: 'PrincipalName',
5109
- principalType: 'PrincipalType',
5110
- status: 'Status',
5111
- targetId: 'TargetId',
5112
- targetName: 'TargetName',
5113
- targetPath: 'TargetPath',
5114
- targetPathName: 'TargetPathName',
5115
- targetType: 'TargetType',
5116
- taskId: 'TaskId',
5117
- taskType: 'TaskType',
5118
- };
5966
+ directoryId: 'DirectoryId',
5967
+ newStatus: 'NewStatus',
5968
+ userId: 'UserId',
5969
+ };
5970
+ }
5971
+
5972
+ static types(): { [key: string]: any } {
5973
+ return {
5974
+ directoryId: 'string',
5975
+ newStatus: 'string',
5976
+ userId: 'string',
5977
+ };
5978
+ }
5979
+
5980
+ constructor(map?: { [key: string]: any }) {
5981
+ super(map);
5982
+ }
5983
+ }
5984
+
5985
+ export class UpdateUserStatusResponseBody extends $tea.Model {
5986
+ requestId?: string;
5987
+ static names(): { [key: string]: string } {
5988
+ return {
5989
+ requestId: 'RequestId',
5990
+ };
5991
+ }
5992
+
5993
+ static types(): { [key: string]: any } {
5994
+ return {
5995
+ requestId: 'string',
5996
+ };
5997
+ }
5998
+
5999
+ constructor(map?: { [key: string]: any }) {
6000
+ super(map);
6001
+ }
6002
+ }
6003
+
6004
+ export class UpdateUserStatusResponse extends $tea.Model {
6005
+ headers?: { [key: string]: string };
6006
+ statusCode?: number;
6007
+ body?: UpdateUserStatusResponseBody;
6008
+ static names(): { [key: string]: string } {
6009
+ return {
6010
+ headers: 'headers',
6011
+ statusCode: 'statusCode',
6012
+ body: 'body',
6013
+ };
6014
+ }
6015
+
6016
+ static types(): { [key: string]: any } {
6017
+ return {
6018
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6019
+ statusCode: 'number',
6020
+ body: UpdateUserStatusResponseBody,
6021
+ };
6022
+ }
6023
+
6024
+ constructor(map?: { [key: string]: any }) {
6025
+ super(map);
6026
+ }
6027
+ }
6028
+
6029
+ export class CreateAccessAssignmentResponseBodyTask extends $tea.Model {
6030
+ accessConfigurationId?: string;
6031
+ accessConfigurationName?: string;
6032
+ principalId?: string;
6033
+ principalName?: string;
6034
+ principalType?: string;
6035
+ status?: string;
6036
+ targetId?: string;
6037
+ targetName?: string;
6038
+ targetPath?: string;
6039
+ targetPathName?: string;
6040
+ targetType?: string;
6041
+ taskId?: string;
6042
+ taskType?: string;
6043
+ static names(): { [key: string]: string } {
6044
+ return {
6045
+ accessConfigurationId: 'AccessConfigurationId',
6046
+ accessConfigurationName: 'AccessConfigurationName',
6047
+ principalId: 'PrincipalId',
6048
+ principalName: 'PrincipalName',
6049
+ principalType: 'PrincipalType',
6050
+ status: 'Status',
6051
+ targetId: 'TargetId',
6052
+ targetName: 'TargetName',
6053
+ targetPath: 'TargetPath',
6054
+ targetPathName: 'TargetPathName',
6055
+ targetType: 'TargetType',
6056
+ taskId: 'TaskId',
6057
+ taskType: 'TaskType',
6058
+ };
5119
6059
  }
5120
6060
 
5121
6061
  static types(): { [key: string]: any } {
@@ -5570,24 +6510,33 @@ export class GetDirectoryResponseBodyDirectory extends $tea.Model {
5570
6510
 
5571
6511
  export class GetDirectorySAMLServiceProviderInfoResponseBodySAMLServiceProvider extends $tea.Model {
5572
6512
  acsUrl?: string;
6513
+ authnSignAlgo?: string;
6514
+ certificateType?: string;
5573
6515
  directoryId?: string;
5574
6516
  encodedMetadataDocument?: string;
5575
6517
  entityId?: string;
6518
+ supportEncryptedAssertion?: boolean;
5576
6519
  static names(): { [key: string]: string } {
5577
6520
  return {
5578
6521
  acsUrl: 'AcsUrl',
6522
+ authnSignAlgo: 'AuthnSignAlgo',
6523
+ certificateType: 'CertificateType',
5579
6524
  directoryId: 'DirectoryId',
5580
6525
  encodedMetadataDocument: 'EncodedMetadataDocument',
5581
6526
  entityId: 'EntityId',
6527
+ supportEncryptedAssertion: 'SupportEncryptedAssertion',
5582
6528
  };
5583
6529
  }
5584
6530
 
5585
6531
  static types(): { [key: string]: any } {
5586
6532
  return {
5587
6533
  acsUrl: 'string',
6534
+ authnSignAlgo: 'string',
6535
+ certificateType: 'string',
5588
6536
  directoryId: 'string',
5589
6537
  encodedMetadataDocument: 'string',
5590
6538
  entityId: 'string',
6539
+ supportEncryptedAssertion: 'boolean',
5591
6540
  };
5592
6541
  }
5593
6542
 
@@ -5734,6 +6683,25 @@ export class GetGroupResponseBodyGroup extends $tea.Model {
5734
6683
  }
5735
6684
  }
5736
6685
 
6686
+ export class GetLoginPreferenceResponseBodyLoginPreference extends $tea.Model {
6687
+ loginNetworkMasks?: string;
6688
+ static names(): { [key: string]: string } {
6689
+ return {
6690
+ loginNetworkMasks: 'LoginNetworkMasks',
6691
+ };
6692
+ }
6693
+
6694
+ static types(): { [key: string]: any } {
6695
+ return {
6696
+ loginNetworkMasks: 'string',
6697
+ };
6698
+ }
6699
+
6700
+ constructor(map?: { [key: string]: any }) {
6701
+ super(map);
6702
+ }
6703
+ }
6704
+
5737
6705
  export class GetMFAAuthenticationSettingInfoResponseBodyMFAAuthenticationSettingInfo extends $tea.Model {
5738
6706
  mfaAuthenticationAdvanceSettings?: string;
5739
6707
  operationForRiskLogin?: string;
@@ -5756,6 +6724,58 @@ export class GetMFAAuthenticationSettingInfoResponseBodyMFAAuthenticationSetting
5756
6724
  }
5757
6725
  }
5758
6726
 
6727
+ export class GetPasswordPolicyResponseBodyPasswordPolicy extends $tea.Model {
6728
+ hardExpire?: boolean;
6729
+ maxLoginAttempts?: number;
6730
+ maxPasswordAge?: number;
6731
+ maxPasswordLength?: number;
6732
+ minPasswordDifferentChars?: number;
6733
+ minPasswordLength?: number;
6734
+ passwordNotContainUsername?: boolean;
6735
+ passwordReusePrevention?: number;
6736
+ requireLowerCaseChars?: boolean;
6737
+ requireNumbers?: boolean;
6738
+ requireSymbols?: boolean;
6739
+ requireUpperCaseChars?: boolean;
6740
+ static names(): { [key: string]: string } {
6741
+ return {
6742
+ hardExpire: 'HardExpire',
6743
+ maxLoginAttempts: 'MaxLoginAttempts',
6744
+ maxPasswordAge: 'MaxPasswordAge',
6745
+ maxPasswordLength: 'MaxPasswordLength',
6746
+ minPasswordDifferentChars: 'MinPasswordDifferentChars',
6747
+ minPasswordLength: 'MinPasswordLength',
6748
+ passwordNotContainUsername: 'PasswordNotContainUsername',
6749
+ passwordReusePrevention: 'PasswordReusePrevention',
6750
+ requireLowerCaseChars: 'RequireLowerCaseChars',
6751
+ requireNumbers: 'RequireNumbers',
6752
+ requireSymbols: 'RequireSymbols',
6753
+ requireUpperCaseChars: 'RequireUpperCaseChars',
6754
+ };
6755
+ }
6756
+
6757
+ static types(): { [key: string]: any } {
6758
+ return {
6759
+ hardExpire: 'boolean',
6760
+ maxLoginAttempts: 'number',
6761
+ maxPasswordAge: 'number',
6762
+ maxPasswordLength: 'number',
6763
+ minPasswordDifferentChars: 'number',
6764
+ minPasswordLength: 'number',
6765
+ passwordNotContainUsername: 'boolean',
6766
+ passwordReusePrevention: 'number',
6767
+ requireLowerCaseChars: 'boolean',
6768
+ requireNumbers: 'boolean',
6769
+ requireSymbols: 'boolean',
6770
+ requireUpperCaseChars: 'boolean',
6771
+ };
6772
+ }
6773
+
6774
+ constructor(map?: { [key: string]: any }) {
6775
+ super(map);
6776
+ }
6777
+ }
6778
+
5759
6779
  export class GetServiceStatusResponseBodyServiceStatus extends $tea.Model {
5760
6780
  accountId?: string;
5761
6781
  prerequisiteCheckResult?: string;
@@ -5882,11 +6902,34 @@ export class GetTaskStatusResponseBodyTaskStatus extends $tea.Model {
5882
6902
  }
5883
6903
  }
5884
6904
 
6905
+ export class GetUserResponseBodyUserExternalId extends $tea.Model {
6906
+ id?: string;
6907
+ issuer?: string;
6908
+ static names(): { [key: string]: string } {
6909
+ return {
6910
+ id: 'Id',
6911
+ issuer: 'Issuer',
6912
+ };
6913
+ }
6914
+
6915
+ static types(): { [key: string]: any } {
6916
+ return {
6917
+ id: 'string',
6918
+ issuer: 'string',
6919
+ };
6920
+ }
6921
+
6922
+ constructor(map?: { [key: string]: any }) {
6923
+ super(map);
6924
+ }
6925
+ }
6926
+
5885
6927
  export class GetUserResponseBodyUser extends $tea.Model {
5886
6928
  createTime?: string;
5887
6929
  description?: string;
5888
6930
  displayName?: string;
5889
6931
  email?: string;
6932
+ externalId?: GetUserResponseBodyUserExternalId;
5890
6933
  firstName?: string;
5891
6934
  lastName?: string;
5892
6935
  provisionType?: string;
@@ -5900,6 +6943,7 @@ export class GetUserResponseBodyUser extends $tea.Model {
5900
6943
  description: 'Description',
5901
6944
  displayName: 'DisplayName',
5902
6945
  email: 'Email',
6946
+ externalId: 'ExternalId',
5903
6947
  firstName: 'FirstName',
5904
6948
  lastName: 'LastName',
5905
6949
  provisionType: 'ProvisionType',
@@ -5916,6 +6960,7 @@ export class GetUserResponseBodyUser extends $tea.Model {
5916
6960
  description: 'string',
5917
6961
  displayName: 'string',
5918
6962
  email: 'string',
6963
+ externalId: GetUserResponseBodyUserExternalId,
5919
6964
  firstName: 'string',
5920
6965
  lastName: 'string',
5921
6966
  provisionType: 'string',
@@ -5931,6 +6976,28 @@ export class GetUserResponseBodyUser extends $tea.Model {
5931
6976
  }
5932
6977
  }
5933
6978
 
6979
+ export class GetUserIdRequestExternalId extends $tea.Model {
6980
+ id?: string;
6981
+ issuer?: string;
6982
+ static names(): { [key: string]: string } {
6983
+ return {
6984
+ id: 'Id',
6985
+ issuer: 'Issuer',
6986
+ };
6987
+ }
6988
+
6989
+ static types(): { [key: string]: any } {
6990
+ return {
6991
+ id: 'string',
6992
+ issuer: 'string',
6993
+ };
6994
+ }
6995
+
6996
+ constructor(map?: { [key: string]: any }) {
6997
+ super(map);
6998
+ }
6999
+ }
7000
+
5934
7001
  export class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
5935
7002
  createTime?: string;
5936
7003
  deletionStrategy?: string;
@@ -5995,47 +7062,29 @@ export class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model
5995
7062
  }
5996
7063
  }
5997
7064
 
5998
- export class ListAccessAssignmentsResponseBodyAccessAssignments extends $tea.Model {
5999
- accessConfigurationId?: string;
6000
- accessConfigurationName?: string;
7065
+ export class GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration extends $tea.Model {
6001
7066
  createTime?: string;
6002
- principalId?: string;
6003
- principalName?: string;
6004
- principalType?: string;
6005
- targetId?: string;
6006
- targetName?: string;
6007
- targetPath?: string;
6008
- targetPathName?: string;
6009
- targetType?: string;
7067
+ defaultLandingPage?: string;
7068
+ directoryId?: string;
7069
+ sessionDuration?: number;
7070
+ updateTime?: string;
6010
7071
  static names(): { [key: string]: string } {
6011
7072
  return {
6012
- accessConfigurationId: 'AccessConfigurationId',
6013
- accessConfigurationName: 'AccessConfigurationName',
6014
7073
  createTime: 'CreateTime',
6015
- principalId: 'PrincipalId',
6016
- principalName: 'PrincipalName',
6017
- principalType: 'PrincipalType',
6018
- targetId: 'TargetId',
6019
- targetName: 'TargetName',
6020
- targetPath: 'TargetPath',
6021
- targetPathName: 'TargetPathName',
6022
- targetType: 'TargetType',
7074
+ defaultLandingPage: 'DefaultLandingPage',
7075
+ directoryId: 'DirectoryId',
7076
+ sessionDuration: 'SessionDuration',
7077
+ updateTime: 'UpdateTime',
6023
7078
  };
6024
7079
  }
6025
7080
 
6026
7081
  static types(): { [key: string]: any } {
6027
7082
  return {
6028
- accessConfigurationId: 'string',
6029
- accessConfigurationName: 'string',
6030
7083
  createTime: 'string',
6031
- principalId: 'string',
6032
- principalName: 'string',
6033
- principalType: 'string',
6034
- targetId: 'string',
6035
- targetName: 'string',
6036
- targetPath: 'string',
6037
- targetPathName: 'string',
6038
- targetType: 'string',
7084
+ defaultLandingPage: 'string',
7085
+ directoryId: 'string',
7086
+ sessionDuration: 'number',
7087
+ updateTime: 'string',
6039
7088
  };
6040
7089
  }
6041
7090
 
@@ -6044,53 +7093,68 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $tea.Mod
6044
7093
  }
6045
7094
  }
6046
7095
 
6047
- export class ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings extends $tea.Model {
6048
- accessConfigurationId?: string;
6049
- accessConfigurationName?: string;
7096
+ export class GetUserProvisioningEventResponseBodyUserProvisioningEvent extends $tea.Model {
6050
7097
  createTime?: string;
6051
- RAMPolicyNames?: string[];
6052
- RAMRoleName?: string;
6053
- SAMLProviderName?: string;
6054
- status?: string;
7098
+ deletionStrategy?: string;
7099
+ directoryId?: string;
7100
+ duplicationStrategy?: string;
7101
+ errorCount?: number;
7102
+ errorInfo?: string;
7103
+ eventId?: string;
7104
+ latestAsyncTime?: string;
7105
+ principalId?: string;
7106
+ principalName?: string;
7107
+ principalType?: string;
7108
+ sourceType?: string;
6055
7109
  targetId?: string;
6056
7110
  targetName?: string;
6057
7111
  targetPath?: string;
6058
- targetPathName?: string;
6059
7112
  targetType?: string;
6060
7113
  updateTime?: string;
7114
+ userProvisioningId?: string;
6061
7115
  static names(): { [key: string]: string } {
6062
7116
  return {
6063
- accessConfigurationId: 'AccessConfigurationId',
6064
- accessConfigurationName: 'AccessConfigurationName',
6065
7117
  createTime: 'CreateTime',
6066
- RAMPolicyNames: 'RAMPolicyNames',
6067
- RAMRoleName: 'RAMRoleName',
6068
- SAMLProviderName: 'SAMLProviderName',
6069
- status: 'Status',
7118
+ deletionStrategy: 'DeletionStrategy',
7119
+ directoryId: 'DirectoryId',
7120
+ duplicationStrategy: 'DuplicationStrategy',
7121
+ errorCount: 'ErrorCount',
7122
+ errorInfo: 'ErrorInfo',
7123
+ eventId: 'EventId',
7124
+ latestAsyncTime: 'LatestAsyncTime',
7125
+ principalId: 'PrincipalId',
7126
+ principalName: 'PrincipalName',
7127
+ principalType: 'PrincipalType',
7128
+ sourceType: 'SourceType',
6070
7129
  targetId: 'TargetId',
6071
7130
  targetName: 'TargetName',
6072
7131
  targetPath: 'TargetPath',
6073
- targetPathName: 'TargetPathName',
6074
7132
  targetType: 'TargetType',
6075
7133
  updateTime: 'UpdateTime',
7134
+ userProvisioningId: 'UserProvisioningId',
6076
7135
  };
6077
7136
  }
6078
7137
 
6079
7138
  static types(): { [key: string]: any } {
6080
7139
  return {
6081
- accessConfigurationId: 'string',
6082
- accessConfigurationName: 'string',
6083
7140
  createTime: 'string',
6084
- RAMPolicyNames: { 'type': 'array', 'itemType': 'string' },
6085
- RAMRoleName: 'string',
6086
- SAMLProviderName: 'string',
6087
- status: 'string',
7141
+ deletionStrategy: 'string',
7142
+ directoryId: 'string',
7143
+ duplicationStrategy: 'string',
7144
+ errorCount: 'number',
7145
+ errorInfo: 'string',
7146
+ eventId: 'string',
7147
+ latestAsyncTime: 'string',
7148
+ principalId: 'string',
7149
+ principalName: 'string',
7150
+ principalType: 'string',
7151
+ sourceType: 'string',
6088
7152
  targetId: 'string',
6089
7153
  targetName: 'string',
6090
7154
  targetPath: 'string',
6091
- targetPathName: 'string',
6092
7155
  targetType: 'string',
6093
7156
  updateTime: 'string',
7157
+ userProvisioningId: 'string',
6094
7158
  };
6095
7159
  }
6096
7160
 
@@ -6099,22 +7163,194 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
6099
7163
  }
6100
7164
  }
6101
7165
 
6102
- export class ListAccessConfigurationsResponseBodyAccessConfigurations extends $tea.Model {
6103
- accessConfigurationId?: string;
6104
- accessConfigurationName?: string;
6105
- createTime?: string;
6106
- description?: string;
6107
- relayState?: string;
6108
- sessionDuration?: number;
6109
- statusNotifications?: string[];
6110
- updateTime?: string;
7166
+ export class GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
7167
+ directoryId?: string;
7168
+ entityId?: string;
7169
+ failedEventCount?: number;
7170
+ latestAsyncTime?: string;
7171
+ ownerPk?: string;
7172
+ type?: string;
6111
7173
  static names(): { [key: string]: string } {
6112
7174
  return {
6113
- accessConfigurationId: 'AccessConfigurationId',
6114
- accessConfigurationName: 'AccessConfigurationName',
6115
- createTime: 'CreateTime',
6116
- description: 'Description',
6117
- relayState: 'RelayState',
7175
+ directoryId: 'DirectoryId',
7176
+ entityId: 'EntityId',
7177
+ failedEventCount: 'FailedEventCount',
7178
+ latestAsyncTime: 'LatestAsyncTime',
7179
+ ownerPk: 'OwnerPk',
7180
+ type: 'Type',
7181
+ };
7182
+ }
7183
+
7184
+ static types(): { [key: string]: any } {
7185
+ return {
7186
+ directoryId: 'string',
7187
+ entityId: 'string',
7188
+ failedEventCount: 'number',
7189
+ latestAsyncTime: 'string',
7190
+ ownerPk: 'string',
7191
+ type: 'string',
7192
+ };
7193
+ }
7194
+
7195
+ constructor(map?: { [key: string]: any }) {
7196
+ super(map);
7197
+ }
7198
+ }
7199
+
7200
+ export class GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
7201
+ directoryId?: string;
7202
+ entityId?: string;
7203
+ failedEventCount?: number;
7204
+ latestAsyncTime?: string;
7205
+ ownerPk?: string;
7206
+ type?: string;
7207
+ static names(): { [key: string]: string } {
7208
+ return {
7209
+ directoryId: 'DirectoryId',
7210
+ entityId: 'EntityId',
7211
+ failedEventCount: 'FailedEventCount',
7212
+ latestAsyncTime: 'LatestAsyncTime',
7213
+ ownerPk: 'OwnerPk',
7214
+ type: 'Type',
7215
+ };
7216
+ }
7217
+
7218
+ static types(): { [key: string]: any } {
7219
+ return {
7220
+ directoryId: 'string',
7221
+ entityId: 'string',
7222
+ failedEventCount: 'number',
7223
+ latestAsyncTime: 'string',
7224
+ ownerPk: 'string',
7225
+ type: 'string',
7226
+ };
7227
+ }
7228
+
7229
+ constructor(map?: { [key: string]: any }) {
7230
+ super(map);
7231
+ }
7232
+ }
7233
+
7234
+ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $tea.Model {
7235
+ accessConfigurationId?: string;
7236
+ accessConfigurationName?: string;
7237
+ createTime?: string;
7238
+ principalId?: string;
7239
+ principalName?: string;
7240
+ principalType?: string;
7241
+ targetId?: string;
7242
+ targetName?: string;
7243
+ targetPath?: string;
7244
+ targetPathName?: string;
7245
+ targetType?: string;
7246
+ static names(): { [key: string]: string } {
7247
+ return {
7248
+ accessConfigurationId: 'AccessConfigurationId',
7249
+ accessConfigurationName: 'AccessConfigurationName',
7250
+ createTime: 'CreateTime',
7251
+ principalId: 'PrincipalId',
7252
+ principalName: 'PrincipalName',
7253
+ principalType: 'PrincipalType',
7254
+ targetId: 'TargetId',
7255
+ targetName: 'TargetName',
7256
+ targetPath: 'TargetPath',
7257
+ targetPathName: 'TargetPathName',
7258
+ targetType: 'TargetType',
7259
+ };
7260
+ }
7261
+
7262
+ static types(): { [key: string]: any } {
7263
+ return {
7264
+ accessConfigurationId: 'string',
7265
+ accessConfigurationName: 'string',
7266
+ createTime: 'string',
7267
+ principalId: 'string',
7268
+ principalName: 'string',
7269
+ principalType: 'string',
7270
+ targetId: 'string',
7271
+ targetName: 'string',
7272
+ targetPath: 'string',
7273
+ targetPathName: 'string',
7274
+ targetType: 'string',
7275
+ };
7276
+ }
7277
+
7278
+ constructor(map?: { [key: string]: any }) {
7279
+ super(map);
7280
+ }
7281
+ }
7282
+
7283
+ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings extends $tea.Model {
7284
+ accessConfigurationId?: string;
7285
+ accessConfigurationName?: string;
7286
+ createTime?: string;
7287
+ RAMPolicyNames?: string[];
7288
+ RAMRoleName?: string;
7289
+ SAMLProviderName?: string;
7290
+ status?: string;
7291
+ targetId?: string;
7292
+ targetName?: string;
7293
+ targetPath?: string;
7294
+ targetPathName?: string;
7295
+ targetType?: string;
7296
+ updateTime?: string;
7297
+ static names(): { [key: string]: string } {
7298
+ return {
7299
+ accessConfigurationId: 'AccessConfigurationId',
7300
+ accessConfigurationName: 'AccessConfigurationName',
7301
+ createTime: 'CreateTime',
7302
+ RAMPolicyNames: 'RAMPolicyNames',
7303
+ RAMRoleName: 'RAMRoleName',
7304
+ SAMLProviderName: 'SAMLProviderName',
7305
+ status: 'Status',
7306
+ targetId: 'TargetId',
7307
+ targetName: 'TargetName',
7308
+ targetPath: 'TargetPath',
7309
+ targetPathName: 'TargetPathName',
7310
+ targetType: 'TargetType',
7311
+ updateTime: 'UpdateTime',
7312
+ };
7313
+ }
7314
+
7315
+ static types(): { [key: string]: any } {
7316
+ return {
7317
+ accessConfigurationId: 'string',
7318
+ accessConfigurationName: 'string',
7319
+ createTime: 'string',
7320
+ RAMPolicyNames: { 'type': 'array', 'itemType': 'string' },
7321
+ RAMRoleName: 'string',
7322
+ SAMLProviderName: 'string',
7323
+ status: 'string',
7324
+ targetId: 'string',
7325
+ targetName: 'string',
7326
+ targetPath: 'string',
7327
+ targetPathName: 'string',
7328
+ targetType: 'string',
7329
+ updateTime: 'string',
7330
+ };
7331
+ }
7332
+
7333
+ constructor(map?: { [key: string]: any }) {
7334
+ super(map);
7335
+ }
7336
+ }
7337
+
7338
+ export class ListAccessConfigurationsResponseBodyAccessConfigurations extends $tea.Model {
7339
+ accessConfigurationId?: string;
7340
+ accessConfigurationName?: string;
7341
+ createTime?: string;
7342
+ description?: string;
7343
+ relayState?: string;
7344
+ sessionDuration?: number;
7345
+ statusNotifications?: string[];
7346
+ updateTime?: string;
7347
+ static names(): { [key: string]: string } {
7348
+ return {
7349
+ accessConfigurationId: 'AccessConfigurationId',
7350
+ accessConfigurationName: 'AccessConfigurationName',
7351
+ createTime: 'CreateTime',
7352
+ description: 'Description',
7353
+ relayState: 'RelayState',
6118
7354
  sessionDuration: 'SessionDuration',
6119
7355
  statusNotifications: 'StatusNotifications',
6120
7356
  updateTime: 'UpdateTime',
@@ -6484,6 +7720,76 @@ export class ListTasksResponseBodyTasks extends $tea.Model {
6484
7720
  }
6485
7721
  }
6486
7722
 
7723
+ export class ListUserProvisioningEventsResponseBodyUserProvisioningEvents extends $tea.Model {
7724
+ createTime?: string;
7725
+ deletionStrategy?: string;
7726
+ directoryId?: string;
7727
+ duplicationStrategy?: string;
7728
+ errorCount?: number;
7729
+ errorInfo?: string;
7730
+ eventId?: string;
7731
+ latestAsyncTime?: string;
7732
+ principalId?: string;
7733
+ principalName?: string;
7734
+ principalType?: string;
7735
+ sourceType?: string;
7736
+ targetId?: string;
7737
+ targetName?: string;
7738
+ targetPath?: string;
7739
+ targetType?: string;
7740
+ updateTime?: string;
7741
+ userProvisioningId?: string;
7742
+ static names(): { [key: string]: string } {
7743
+ return {
7744
+ createTime: 'CreateTime',
7745
+ deletionStrategy: 'DeletionStrategy',
7746
+ directoryId: 'DirectoryId',
7747
+ duplicationStrategy: 'DuplicationStrategy',
7748
+ errorCount: 'ErrorCount',
7749
+ errorInfo: 'ErrorInfo',
7750
+ eventId: 'EventId',
7751
+ latestAsyncTime: 'LatestAsyncTime',
7752
+ principalId: 'PrincipalId',
7753
+ principalName: 'PrincipalName',
7754
+ principalType: 'PrincipalType',
7755
+ sourceType: 'SourceType',
7756
+ targetId: 'TargetId',
7757
+ targetName: 'TargetName',
7758
+ targetPath: 'TargetPath',
7759
+ targetType: 'TargetType',
7760
+ updateTime: 'UpdateTime',
7761
+ userProvisioningId: 'UserProvisioningId',
7762
+ };
7763
+ }
7764
+
7765
+ static types(): { [key: string]: any } {
7766
+ return {
7767
+ createTime: 'string',
7768
+ deletionStrategy: 'string',
7769
+ directoryId: 'string',
7770
+ duplicationStrategy: 'string',
7771
+ errorCount: 'number',
7772
+ errorInfo: 'string',
7773
+ eventId: 'string',
7774
+ latestAsyncTime: 'string',
7775
+ principalId: 'string',
7776
+ principalName: 'string',
7777
+ principalType: 'string',
7778
+ sourceType: 'string',
7779
+ targetId: 'string',
7780
+ targetName: 'string',
7781
+ targetPath: 'string',
7782
+ targetType: 'string',
7783
+ updateTime: 'string',
7784
+ userProvisioningId: 'string',
7785
+ };
7786
+ }
7787
+
7788
+ constructor(map?: { [key: string]: any }) {
7789
+ super(map);
7790
+ }
7791
+ }
7792
+
6487
7793
  export class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Model {
6488
7794
  createTime?: string;
6489
7795
  deletionStrategy?: string;
@@ -6548,11 +7854,34 @@ export class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Mod
6548
7854
  }
6549
7855
  }
6550
7856
 
7857
+ export class ListUsersResponseBodyUsersExternalId extends $tea.Model {
7858
+ id?: string;
7859
+ issuer?: string;
7860
+ static names(): { [key: string]: string } {
7861
+ return {
7862
+ id: 'Id',
7863
+ issuer: 'Issuer',
7864
+ };
7865
+ }
7866
+
7867
+ static types(): { [key: string]: any } {
7868
+ return {
7869
+ id: 'string',
7870
+ issuer: 'string',
7871
+ };
7872
+ }
7873
+
7874
+ constructor(map?: { [key: string]: any }) {
7875
+ super(map);
7876
+ }
7877
+ }
7878
+
6551
7879
  export class ListUsersResponseBodyUsers extends $tea.Model {
6552
7880
  createTime?: string;
6553
7881
  description?: string;
6554
7882
  displayName?: string;
6555
7883
  email?: string;
7884
+ externalId?: ListUsersResponseBodyUsersExternalId;
6556
7885
  firstName?: string;
6557
7886
  lastName?: string;
6558
7887
  provisionType?: string;
@@ -6566,6 +7895,7 @@ export class ListUsersResponseBodyUsers extends $tea.Model {
6566
7895
  description: 'Description',
6567
7896
  displayName: 'DisplayName',
6568
7897
  email: 'Email',
7898
+ externalId: 'ExternalId',
6569
7899
  firstName: 'FirstName',
6570
7900
  lastName: 'LastName',
6571
7901
  provisionType: 'ProvisionType',
@@ -6582,6 +7912,7 @@ export class ListUsersResponseBodyUsers extends $tea.Model {
6582
7912
  description: 'string',
6583
7913
  displayName: 'string',
6584
7914
  email: 'string',
7915
+ externalId: ListUsersResponseBodyUsersExternalId,
6585
7916
  firstName: 'string',
6586
7917
  lastName: 'string',
6587
7918
  provisionType: 'string',
@@ -6938,18 +8269,49 @@ export class UpdateUserProvisioningResponseBodyUserProvisioning extends $tea.Mod
6938
8269
  }
6939
8270
  }
6940
8271
 
6941
-
6942
- export default class Client extends OpenApi {
6943
-
6944
- constructor(config: $OpenApi.Config) {
6945
- super(config);
6946
- this._endpointRule = "regional";
6947
- this.checkConfig(config);
6948
- this._endpoint = this.getEndpoint("cloudsso", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
8272
+ export class UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration extends $tea.Model {
8273
+ createTime?: string;
8274
+ defaultLandingPage?: string;
8275
+ directoryId?: string;
8276
+ sessionDuration?: number;
8277
+ updateTime?: string;
8278
+ static names(): { [key: string]: string } {
8279
+ return {
8280
+ createTime: 'CreateTime',
8281
+ defaultLandingPage: 'DefaultLandingPage',
8282
+ directoryId: 'DirectoryId',
8283
+ sessionDuration: 'SessionDuration',
8284
+ updateTime: 'UpdateTime',
8285
+ };
6949
8286
  }
6950
8287
 
6951
-
6952
- getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {[key: string ]: string}, endpoint: string): string {
8288
+ static types(): { [key: string]: any } {
8289
+ return {
8290
+ createTime: 'string',
8291
+ defaultLandingPage: 'string',
8292
+ directoryId: 'string',
8293
+ sessionDuration: 'number',
8294
+ updateTime: 'string',
8295
+ };
8296
+ }
8297
+
8298
+ constructor(map?: { [key: string]: any }) {
8299
+ super(map);
8300
+ }
8301
+ }
8302
+
8303
+
8304
+ export default class Client extends OpenApi {
8305
+
8306
+ constructor(config: $OpenApi.Config) {
8307
+ super(config);
8308
+ this._endpointRule = "regional";
8309
+ this.checkConfig(config);
8310
+ this._endpoint = this.getEndpoint("cloudsso", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
8311
+ }
8312
+
8313
+
8314
+ getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {[key: string ]: string}, endpoint: string): string {
6953
8315
  if (!Util.empty(endpoint)) {
6954
8316
  return endpoint;
6955
8317
  }
@@ -7164,7 +8526,7 @@ export default class Client extends OpenApi {
7164
8526
  }
7165
8527
 
7166
8528
  /**
7167
- * When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of task execution by using the value of the `TaskId` response parameter.
8529
+ * When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
7168
8530
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
7169
8531
  * This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
7170
8532
  *
@@ -7217,7 +8579,7 @@ export default class Client extends OpenApi {
7217
8579
  }
7218
8580
 
7219
8581
  /**
7220
- * When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of task execution by using the value of the `TaskId` response parameter.
8582
+ * When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
7221
8583
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
7222
8584
  * This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
7223
8585
  *
@@ -7987,6 +9349,43 @@ export default class Client extends OpenApi {
7987
9349
  return await this.deleteUserProvisioningWithOptions(request, runtime);
7988
9350
  }
7989
9351
 
9352
+ async deleteUserProvisioningEventWithOptions(request: DeleteUserProvisioningEventRequest, runtime: $Util.RuntimeOptions): Promise<DeleteUserProvisioningEventResponse> {
9353
+ Util.validateModel(request);
9354
+ let query = { };
9355
+ if (!Util.isUnset(request.directoryId)) {
9356
+ query["DirectoryId"] = request.directoryId;
9357
+ }
9358
+
9359
+ if (!Util.isUnset(request.eventId)) {
9360
+ query["EventId"] = request.eventId;
9361
+ }
9362
+
9363
+ if (!Util.isUnset(request.userProvisioningId)) {
9364
+ query["UserProvisioningId"] = request.userProvisioningId;
9365
+ }
9366
+
9367
+ let req = new $OpenApi.OpenApiRequest({
9368
+ query: OpenApiUtil.query(query),
9369
+ });
9370
+ let params = new $OpenApi.Params({
9371
+ action: "DeleteUserProvisioningEvent",
9372
+ version: "2021-05-15",
9373
+ protocol: "HTTPS",
9374
+ pathname: "/",
9375
+ method: "POST",
9376
+ authType: "AK",
9377
+ style: "RPC",
9378
+ reqBodyType: "formData",
9379
+ bodyType: "json",
9380
+ });
9381
+ return $tea.cast<DeleteUserProvisioningEventResponse>(await this.callApi(params, req, runtime), new DeleteUserProvisioningEventResponse({}));
9382
+ }
9383
+
9384
+ async deleteUserProvisioningEvent(request: DeleteUserProvisioningEventRequest): Promise<DeleteUserProvisioningEventResponse> {
9385
+ let runtime = new $Util.RuntimeOptions({ });
9386
+ return await this.deleteUserProvisioningEventWithOptions(request, runtime);
9387
+ }
9388
+
7990
9389
  /**
7991
9390
  * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
7992
9391
  * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
@@ -8379,6 +9778,35 @@ export default class Client extends OpenApi {
8379
9778
  return await this.getGroupWithOptions(request, runtime);
8380
9779
  }
8381
9780
 
9781
+ async getLoginPreferenceWithOptions(request: GetLoginPreferenceRequest, runtime: $Util.RuntimeOptions): Promise<GetLoginPreferenceResponse> {
9782
+ Util.validateModel(request);
9783
+ let query = { };
9784
+ if (!Util.isUnset(request.directoryId)) {
9785
+ query["DirectoryId"] = request.directoryId;
9786
+ }
9787
+
9788
+ let req = new $OpenApi.OpenApiRequest({
9789
+ query: OpenApiUtil.query(query),
9790
+ });
9791
+ let params = new $OpenApi.Params({
9792
+ action: "GetLoginPreference",
9793
+ version: "2021-05-15",
9794
+ protocol: "HTTPS",
9795
+ pathname: "/",
9796
+ method: "POST",
9797
+ authType: "AK",
9798
+ style: "RPC",
9799
+ reqBodyType: "formData",
9800
+ bodyType: "json",
9801
+ });
9802
+ return $tea.cast<GetLoginPreferenceResponse>(await this.callApi(params, req, runtime), new GetLoginPreferenceResponse({}));
9803
+ }
9804
+
9805
+ async getLoginPreference(request: GetLoginPreferenceRequest): Promise<GetLoginPreferenceResponse> {
9806
+ let runtime = new $Util.RuntimeOptions({ });
9807
+ return await this.getLoginPreferenceWithOptions(request, runtime);
9808
+ }
9809
+
8382
9810
  /**
8383
9811
  * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
8384
9812
  * This topic provides an example on how to query the MFA setting of all CloudSSO users that belong to the directory named `00q8wbq42wiltcrk****`.
@@ -8509,6 +9937,35 @@ export default class Client extends OpenApi {
8509
9937
  return await this.getMFAAuthenticationStatusWithOptions(request, runtime);
8510
9938
  }
8511
9939
 
9940
+ async getPasswordPolicyWithOptions(request: GetPasswordPolicyRequest, runtime: $Util.RuntimeOptions): Promise<GetPasswordPolicyResponse> {
9941
+ Util.validateModel(request);
9942
+ let query = { };
9943
+ if (!Util.isUnset(request.directoryId)) {
9944
+ query["DirectoryId"] = request.directoryId;
9945
+ }
9946
+
9947
+ let req = new $OpenApi.OpenApiRequest({
9948
+ query: OpenApiUtil.query(query),
9949
+ });
9950
+ let params = new $OpenApi.Params({
9951
+ action: "GetPasswordPolicy",
9952
+ version: "2021-05-15",
9953
+ protocol: "HTTPS",
9954
+ pathname: "/",
9955
+ method: "POST",
9956
+ authType: "AK",
9957
+ style: "RPC",
9958
+ reqBodyType: "formData",
9959
+ bodyType: "json",
9960
+ });
9961
+ return $tea.cast<GetPasswordPolicyResponse>(await this.callApi(params, req, runtime), new GetPasswordPolicyResponse({}));
9962
+ }
9963
+
9964
+ async getPasswordPolicy(request: GetPasswordPolicyRequest): Promise<GetPasswordPolicyResponse> {
9965
+ let runtime = new $Util.RuntimeOptions({ });
9966
+ return await this.getPasswordPolicyWithOptions(request, runtime);
9967
+ }
9968
+
8512
9969
  /**
8513
9970
  * This topic provides an example on how to query the status of SCIM synchronization within the directory `d-00fc2p61****`. The returned result shows that SCIM synchronization is in the Enabled state.
8514
9971
  *
@@ -8569,32 +10026,250 @@ export default class Client extends OpenApi {
8569
10026
 
8570
10027
  async getServiceStatus(): Promise<GetServiceStatusResponse> {
8571
10028
  let runtime = new $Util.RuntimeOptions({ });
8572
- return await this.getServiceStatusWithOptions(runtime);
10029
+ return await this.getServiceStatusWithOptions(runtime);
10030
+ }
10031
+
10032
+ /**
10033
+ * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
10034
+ *
10035
+ * @param request GetTaskRequest
10036
+ * @param runtime runtime options for this request RuntimeOptions
10037
+ * @return GetTaskResponse
10038
+ */
10039
+ async getTaskWithOptions(request: GetTaskRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskResponse> {
10040
+ Util.validateModel(request);
10041
+ let query = { };
10042
+ if (!Util.isUnset(request.directoryId)) {
10043
+ query["DirectoryId"] = request.directoryId;
10044
+ }
10045
+
10046
+ if (!Util.isUnset(request.taskId)) {
10047
+ query["TaskId"] = request.taskId;
10048
+ }
10049
+
10050
+ let req = new $OpenApi.OpenApiRequest({
10051
+ query: OpenApiUtil.query(query),
10052
+ });
10053
+ let params = new $OpenApi.Params({
10054
+ action: "GetTask",
10055
+ version: "2021-05-15",
10056
+ protocol: "HTTPS",
10057
+ pathname: "/",
10058
+ method: "POST",
10059
+ authType: "AK",
10060
+ style: "RPC",
10061
+ reqBodyType: "formData",
10062
+ bodyType: "json",
10063
+ });
10064
+ return $tea.cast<GetTaskResponse>(await this.callApi(params, req, runtime), new GetTaskResponse({}));
10065
+ }
10066
+
10067
+ /**
10068
+ * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
10069
+ *
10070
+ * @param request GetTaskRequest
10071
+ * @return GetTaskResponse
10072
+ */
10073
+ async getTask(request: GetTaskRequest): Promise<GetTaskResponse> {
10074
+ let runtime = new $Util.RuntimeOptions({ });
10075
+ return await this.getTaskWithOptions(request, runtime);
10076
+ }
10077
+
10078
+ /**
10079
+ * You can call the GetTaskStatus operation to query the status of an asynchronous task. If you want to query more information about an asynchronous task, call the [GetTask](~~340670~~) operation.
10080
+ * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
10081
+ *
10082
+ * @param request GetTaskStatusRequest
10083
+ * @param runtime runtime options for this request RuntimeOptions
10084
+ * @return GetTaskStatusResponse
10085
+ */
10086
+ async getTaskStatusWithOptions(request: GetTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse> {
10087
+ Util.validateModel(request);
10088
+ let query = { };
10089
+ if (!Util.isUnset(request.directoryId)) {
10090
+ query["DirectoryId"] = request.directoryId;
10091
+ }
10092
+
10093
+ if (!Util.isUnset(request.taskId)) {
10094
+ query["TaskId"] = request.taskId;
10095
+ }
10096
+
10097
+ let req = new $OpenApi.OpenApiRequest({
10098
+ query: OpenApiUtil.query(query),
10099
+ });
10100
+ let params = new $OpenApi.Params({
10101
+ action: "GetTaskStatus",
10102
+ version: "2021-05-15",
10103
+ protocol: "HTTPS",
10104
+ pathname: "/",
10105
+ method: "POST",
10106
+ authType: "AK",
10107
+ style: "RPC",
10108
+ reqBodyType: "formData",
10109
+ bodyType: "json",
10110
+ });
10111
+ return $tea.cast<GetTaskStatusResponse>(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
10112
+ }
10113
+
10114
+ /**
10115
+ * You can call the GetTaskStatus operation to query the status of an asynchronous task. If you want to query more information about an asynchronous task, call the [GetTask](~~340670~~) operation.
10116
+ * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
10117
+ *
10118
+ * @param request GetTaskStatusRequest
10119
+ * @return GetTaskStatusResponse
10120
+ */
10121
+ async getTaskStatus(request: GetTaskStatusRequest): Promise<GetTaskStatusResponse> {
10122
+ let runtime = new $Util.RuntimeOptions({ });
10123
+ return await this.getTaskStatusWithOptions(request, runtime);
10124
+ }
10125
+
10126
+ /**
10127
+ * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
10128
+ *
10129
+ * @param request GetUserRequest
10130
+ * @param runtime runtime options for this request RuntimeOptions
10131
+ * @return GetUserResponse
10132
+ */
10133
+ async getUserWithOptions(request: GetUserRequest, runtime: $Util.RuntimeOptions): Promise<GetUserResponse> {
10134
+ Util.validateModel(request);
10135
+ let query = { };
10136
+ if (!Util.isUnset(request.directoryId)) {
10137
+ query["DirectoryId"] = request.directoryId;
10138
+ }
10139
+
10140
+ if (!Util.isUnset(request.userId)) {
10141
+ query["UserId"] = request.userId;
10142
+ }
10143
+
10144
+ let req = new $OpenApi.OpenApiRequest({
10145
+ query: OpenApiUtil.query(query),
10146
+ });
10147
+ let params = new $OpenApi.Params({
10148
+ action: "GetUser",
10149
+ version: "2021-05-15",
10150
+ protocol: "HTTPS",
10151
+ pathname: "/",
10152
+ method: "POST",
10153
+ authType: "AK",
10154
+ style: "RPC",
10155
+ reqBodyType: "formData",
10156
+ bodyType: "json",
10157
+ });
10158
+ return $tea.cast<GetUserResponse>(await this.callApi(params, req, runtime), new GetUserResponse({}));
10159
+ }
10160
+
10161
+ /**
10162
+ * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
10163
+ *
10164
+ * @param request GetUserRequest
10165
+ * @return GetUserResponse
10166
+ */
10167
+ async getUser(request: GetUserRequest): Promise<GetUserResponse> {
10168
+ let runtime = new $Util.RuntimeOptions({ });
10169
+ return await this.getUserWithOptions(request, runtime);
10170
+ }
10171
+
10172
+ async getUserIdWithOptions(tmpReq: GetUserIdRequest, runtime: $Util.RuntimeOptions): Promise<GetUserIdResponse> {
10173
+ Util.validateModel(tmpReq);
10174
+ let request = new GetUserIdShrinkRequest({ });
10175
+ OpenApiUtil.convert(tmpReq, request);
10176
+ if (!Util.isUnset(tmpReq.externalId)) {
10177
+ request.externalIdShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.externalId, "ExternalId", "json");
10178
+ }
10179
+
10180
+ let query = { };
10181
+ if (!Util.isUnset(request.directoryId)) {
10182
+ query["DirectoryId"] = request.directoryId;
10183
+ }
10184
+
10185
+ if (!Util.isUnset(request.externalIdShrink)) {
10186
+ query["ExternalId"] = request.externalIdShrink;
10187
+ }
10188
+
10189
+ let req = new $OpenApi.OpenApiRequest({
10190
+ query: OpenApiUtil.query(query),
10191
+ });
10192
+ let params = new $OpenApi.Params({
10193
+ action: "GetUserId",
10194
+ version: "2021-05-15",
10195
+ protocol: "HTTPS",
10196
+ pathname: "/",
10197
+ method: "POST",
10198
+ authType: "AK",
10199
+ style: "RPC",
10200
+ reqBodyType: "formData",
10201
+ bodyType: "json",
10202
+ });
10203
+ return $tea.cast<GetUserIdResponse>(await this.callApi(params, req, runtime), new GetUserIdResponse({}));
10204
+ }
10205
+
10206
+ async getUserId(request: GetUserIdRequest): Promise<GetUserIdResponse> {
10207
+ let runtime = new $Util.RuntimeOptions({ });
10208
+ return await this.getUserIdWithOptions(request, runtime);
10209
+ }
10210
+
10211
+ /**
10212
+ * This topic provides an example on how to query the MFA setting of the user named `u-00q8wbq42wiltcrk****`. The returned result shows that MFA is enabled for the user.
10213
+ *
10214
+ * @param request GetUserMFAAuthenticationSettingsRequest
10215
+ * @param runtime runtime options for this request RuntimeOptions
10216
+ * @return GetUserMFAAuthenticationSettingsResponse
10217
+ */
10218
+ async getUserMFAAuthenticationSettingsWithOptions(request: GetUserMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<GetUserMFAAuthenticationSettingsResponse> {
10219
+ Util.validateModel(request);
10220
+ let query = { };
10221
+ if (!Util.isUnset(request.directoryId)) {
10222
+ query["DirectoryId"] = request.directoryId;
10223
+ }
10224
+
10225
+ if (!Util.isUnset(request.userId)) {
10226
+ query["UserId"] = request.userId;
10227
+ }
10228
+
10229
+ let req = new $OpenApi.OpenApiRequest({
10230
+ query: OpenApiUtil.query(query),
10231
+ });
10232
+ let params = new $OpenApi.Params({
10233
+ action: "GetUserMFAAuthenticationSettings",
10234
+ version: "2021-05-15",
10235
+ protocol: "HTTPS",
10236
+ pathname: "/",
10237
+ method: "POST",
10238
+ authType: "AK",
10239
+ style: "RPC",
10240
+ reqBodyType: "formData",
10241
+ bodyType: "json",
10242
+ });
10243
+ return $tea.cast<GetUserMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new GetUserMFAAuthenticationSettingsResponse({}));
10244
+ }
10245
+
10246
+ /**
10247
+ * This topic provides an example on how to query the MFA setting of the user named `u-00q8wbq42wiltcrk****`. The returned result shows that MFA is enabled for the user.
10248
+ *
10249
+ * @param request GetUserMFAAuthenticationSettingsRequest
10250
+ * @return GetUserMFAAuthenticationSettingsResponse
10251
+ */
10252
+ async getUserMFAAuthenticationSettings(request: GetUserMFAAuthenticationSettingsRequest): Promise<GetUserMFAAuthenticationSettingsResponse> {
10253
+ let runtime = new $Util.RuntimeOptions({ });
10254
+ return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
8573
10255
  }
8574
10256
 
8575
- /**
8576
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8577
- *
8578
- * @param request GetTaskRequest
8579
- * @param runtime runtime options for this request RuntimeOptions
8580
- * @return GetTaskResponse
8581
- */
8582
- async getTaskWithOptions(request: GetTaskRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskResponse> {
10257
+ async getUserProvisioningWithOptions(request: GetUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningResponse> {
8583
10258
  Util.validateModel(request);
8584
10259
  let query = { };
8585
10260
  if (!Util.isUnset(request.directoryId)) {
8586
10261
  query["DirectoryId"] = request.directoryId;
8587
10262
  }
8588
10263
 
8589
- if (!Util.isUnset(request.taskId)) {
8590
- query["TaskId"] = request.taskId;
10264
+ if (!Util.isUnset(request.userProvisioningId)) {
10265
+ query["UserProvisioningId"] = request.userProvisioningId;
8591
10266
  }
8592
10267
 
8593
10268
  let req = new $OpenApi.OpenApiRequest({
8594
10269
  query: OpenApiUtil.query(query),
8595
10270
  });
8596
10271
  let params = new $OpenApi.Params({
8597
- action: "GetTask",
10272
+ action: "GetUserProvisioning",
8598
10273
  version: "2021-05-15",
8599
10274
  protocol: "HTTPS",
8600
10275
  pathname: "/",
@@ -8604,44 +10279,26 @@ export default class Client extends OpenApi {
8604
10279
  reqBodyType: "formData",
8605
10280
  bodyType: "json",
8606
10281
  });
8607
- return $tea.cast<GetTaskResponse>(await this.callApi(params, req, runtime), new GetTaskResponse({}));
10282
+ return $tea.cast<GetUserProvisioningResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningResponse({}));
8608
10283
  }
8609
10284
 
8610
- /**
8611
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8612
- *
8613
- * @param request GetTaskRequest
8614
- * @return GetTaskResponse
8615
- */
8616
- async getTask(request: GetTaskRequest): Promise<GetTaskResponse> {
10285
+ async getUserProvisioning(request: GetUserProvisioningRequest): Promise<GetUserProvisioningResponse> {
8617
10286
  let runtime = new $Util.RuntimeOptions({ });
8618
- return await this.getTaskWithOptions(request, runtime);
10287
+ return await this.getUserProvisioningWithOptions(request, runtime);
8619
10288
  }
8620
10289
 
8621
- /**
8622
- * You can call the GetTaskStatus operation to query the status of an asynchronous task. If you want to query more information about an asynchronous task, you can call the [GetTask](~~340670~~) operation.
8623
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8624
- *
8625
- * @param request GetTaskStatusRequest
8626
- * @param runtime runtime options for this request RuntimeOptions
8627
- * @return GetTaskStatusResponse
8628
- */
8629
- async getTaskStatusWithOptions(request: GetTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse> {
10290
+ async getUserProvisioningConfigurationWithOptions(request: GetUserProvisioningConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningConfigurationResponse> {
8630
10291
  Util.validateModel(request);
8631
10292
  let query = { };
8632
10293
  if (!Util.isUnset(request.directoryId)) {
8633
10294
  query["DirectoryId"] = request.directoryId;
8634
10295
  }
8635
10296
 
8636
- if (!Util.isUnset(request.taskId)) {
8637
- query["TaskId"] = request.taskId;
8638
- }
8639
-
8640
10297
  let req = new $OpenApi.OpenApiRequest({
8641
10298
  query: OpenApiUtil.query(query),
8642
10299
  });
8643
10300
  let params = new $OpenApi.Params({
8644
- action: "GetTaskStatus",
10301
+ action: "GetUserProvisioningConfiguration",
8645
10302
  version: "2021-05-15",
8646
10303
  protocol: "HTTPS",
8647
10304
  pathname: "/",
@@ -8651,44 +10308,30 @@ export default class Client extends OpenApi {
8651
10308
  reqBodyType: "formData",
8652
10309
  bodyType: "json",
8653
10310
  });
8654
- return $tea.cast<GetTaskStatusResponse>(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
10311
+ return $tea.cast<GetUserProvisioningConfigurationResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningConfigurationResponse({}));
8655
10312
  }
8656
10313
 
8657
- /**
8658
- * You can call the GetTaskStatus operation to query the status of an asynchronous task. If you want to query more information about an asynchronous task, you can call the [GetTask](~~340670~~) operation.
8659
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8660
- *
8661
- * @param request GetTaskStatusRequest
8662
- * @return GetTaskStatusResponse
8663
- */
8664
- async getTaskStatus(request: GetTaskStatusRequest): Promise<GetTaskStatusResponse> {
10314
+ async getUserProvisioningConfiguration(request: GetUserProvisioningConfigurationRequest): Promise<GetUserProvisioningConfigurationResponse> {
8665
10315
  let runtime = new $Util.RuntimeOptions({ });
8666
- return await this.getTaskStatusWithOptions(request, runtime);
10316
+ return await this.getUserProvisioningConfigurationWithOptions(request, runtime);
8667
10317
  }
8668
10318
 
8669
- /**
8670
- * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
8671
- *
8672
- * @param request GetUserRequest
8673
- * @param runtime runtime options for this request RuntimeOptions
8674
- * @return GetUserResponse
8675
- */
8676
- async getUserWithOptions(request: GetUserRequest, runtime: $Util.RuntimeOptions): Promise<GetUserResponse> {
10319
+ async getUserProvisioningEventWithOptions(request: GetUserProvisioningEventRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningEventResponse> {
8677
10320
  Util.validateModel(request);
8678
10321
  let query = { };
8679
10322
  if (!Util.isUnset(request.directoryId)) {
8680
10323
  query["DirectoryId"] = request.directoryId;
8681
10324
  }
8682
10325
 
8683
- if (!Util.isUnset(request.userId)) {
8684
- query["UserId"] = request.userId;
10326
+ if (!Util.isUnset(request.eventId)) {
10327
+ query["EventId"] = request.eventId;
8685
10328
  }
8686
10329
 
8687
10330
  let req = new $OpenApi.OpenApiRequest({
8688
10331
  query: OpenApiUtil.query(query),
8689
10332
  });
8690
10333
  let params = new $OpenApi.Params({
8691
- action: "GetUser",
10334
+ action: "GetUserProvisioningEvent",
8692
10335
  version: "2021-05-15",
8693
10336
  protocol: "HTTPS",
8694
10337
  pathname: "/",
@@ -8698,43 +10341,30 @@ export default class Client extends OpenApi {
8698
10341
  reqBodyType: "formData",
8699
10342
  bodyType: "json",
8700
10343
  });
8701
- return $tea.cast<GetUserResponse>(await this.callApi(params, req, runtime), new GetUserResponse({}));
10344
+ return $tea.cast<GetUserProvisioningEventResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningEventResponse({}));
8702
10345
  }
8703
10346
 
8704
- /**
8705
- * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
8706
- *
8707
- * @param request GetUserRequest
8708
- * @return GetUserResponse
8709
- */
8710
- async getUser(request: GetUserRequest): Promise<GetUserResponse> {
10347
+ async getUserProvisioningEvent(request: GetUserProvisioningEventRequest): Promise<GetUserProvisioningEventResponse> {
8711
10348
  let runtime = new $Util.RuntimeOptions({ });
8712
- return await this.getUserWithOptions(request, runtime);
10349
+ return await this.getUserProvisioningEventWithOptions(request, runtime);
8713
10350
  }
8714
10351
 
8715
- /**
8716
- * This topic provides an example on how to query the MFA setting of the user named `u-00q8wbq42wiltcrk****`. The returned result shows that MFA is enabled for the user.
8717
- *
8718
- * @param request GetUserMFAAuthenticationSettingsRequest
8719
- * @param runtime runtime options for this request RuntimeOptions
8720
- * @return GetUserMFAAuthenticationSettingsResponse
8721
- */
8722
- async getUserMFAAuthenticationSettingsWithOptions(request: GetUserMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<GetUserMFAAuthenticationSettingsResponse> {
10352
+ async getUserProvisioningRdAccountStatisticsWithOptions(request: GetUserProvisioningRdAccountStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningRdAccountStatisticsResponse> {
8723
10353
  Util.validateModel(request);
8724
10354
  let query = { };
8725
10355
  if (!Util.isUnset(request.directoryId)) {
8726
10356
  query["DirectoryId"] = request.directoryId;
8727
10357
  }
8728
10358
 
8729
- if (!Util.isUnset(request.userId)) {
8730
- query["UserId"] = request.userId;
10359
+ if (!Util.isUnset(request.rdMemberId)) {
10360
+ query["RdMemberId"] = request.rdMemberId;
8731
10361
  }
8732
10362
 
8733
10363
  let req = new $OpenApi.OpenApiRequest({
8734
10364
  query: OpenApiUtil.query(query),
8735
10365
  });
8736
10366
  let params = new $OpenApi.Params({
8737
- action: "GetUserMFAAuthenticationSettings",
10367
+ action: "GetUserProvisioningRdAccountStatistics",
8738
10368
  version: "2021-05-15",
8739
10369
  protocol: "HTTPS",
8740
10370
  pathname: "/",
@@ -8744,21 +10374,15 @@ export default class Client extends OpenApi {
8744
10374
  reqBodyType: "formData",
8745
10375
  bodyType: "json",
8746
10376
  });
8747
- return $tea.cast<GetUserMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new GetUserMFAAuthenticationSettingsResponse({}));
10377
+ return $tea.cast<GetUserProvisioningRdAccountStatisticsResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningRdAccountStatisticsResponse({}));
8748
10378
  }
8749
10379
 
8750
- /**
8751
- * This topic provides an example on how to query the MFA setting of the user named `u-00q8wbq42wiltcrk****`. The returned result shows that MFA is enabled for the user.
8752
- *
8753
- * @param request GetUserMFAAuthenticationSettingsRequest
8754
- * @return GetUserMFAAuthenticationSettingsResponse
8755
- */
8756
- async getUserMFAAuthenticationSettings(request: GetUserMFAAuthenticationSettingsRequest): Promise<GetUserMFAAuthenticationSettingsResponse> {
10380
+ async getUserProvisioningRdAccountStatistics(request: GetUserProvisioningRdAccountStatisticsRequest): Promise<GetUserProvisioningRdAccountStatisticsResponse> {
8757
10381
  let runtime = new $Util.RuntimeOptions({ });
8758
- return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
10382
+ return await this.getUserProvisioningRdAccountStatisticsWithOptions(request, runtime);
8759
10383
  }
8760
10384
 
8761
- async getUserProvisioningWithOptions(request: GetUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningResponse> {
10385
+ async getUserProvisioningStatisticsWithOptions(request: GetUserProvisioningStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningStatisticsResponse> {
8762
10386
  Util.validateModel(request);
8763
10387
  let query = { };
8764
10388
  if (!Util.isUnset(request.directoryId)) {
@@ -8773,7 +10397,7 @@ export default class Client extends OpenApi {
8773
10397
  query: OpenApiUtil.query(query),
8774
10398
  });
8775
10399
  let params = new $OpenApi.Params({
8776
- action: "GetUserProvisioning",
10400
+ action: "GetUserProvisioningStatistics",
8777
10401
  version: "2021-05-15",
8778
10402
  protocol: "HTTPS",
8779
10403
  pathname: "/",
@@ -8783,12 +10407,12 @@ export default class Client extends OpenApi {
8783
10407
  reqBodyType: "formData",
8784
10408
  bodyType: "json",
8785
10409
  });
8786
- return $tea.cast<GetUserProvisioningResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningResponse({}));
10410
+ return $tea.cast<GetUserProvisioningStatisticsResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningStatisticsResponse({}));
8787
10411
  }
8788
10412
 
8789
- async getUserProvisioning(request: GetUserProvisioningRequest): Promise<GetUserProvisioningResponse> {
10413
+ async getUserProvisioningStatistics(request: GetUserProvisioningStatisticsRequest): Promise<GetUserProvisioningStatisticsResponse> {
8790
10414
  let runtime = new $Util.RuntimeOptions({ });
8791
- return await this.getUserProvisioningWithOptions(request, runtime);
10415
+ return await this.getUserProvisioningStatisticsWithOptions(request, runtime);
8792
10416
  }
8793
10417
 
8794
10418
  /**
@@ -9448,6 +11072,47 @@ export default class Client extends OpenApi {
9448
11072
  return await this.listTasksWithOptions(request, runtime);
9449
11073
  }
9450
11074
 
11075
+ async listUserProvisioningEventsWithOptions(request: ListUserProvisioningEventsRequest, runtime: $Util.RuntimeOptions): Promise<ListUserProvisioningEventsResponse> {
11076
+ Util.validateModel(request);
11077
+ let query = { };
11078
+ if (!Util.isUnset(request.directoryId)) {
11079
+ query["DirectoryId"] = request.directoryId;
11080
+ }
11081
+
11082
+ if (!Util.isUnset(request.maxResults)) {
11083
+ query["MaxResults"] = request.maxResults;
11084
+ }
11085
+
11086
+ if (!Util.isUnset(request.nextToken)) {
11087
+ query["NextToken"] = request.nextToken;
11088
+ }
11089
+
11090
+ if (!Util.isUnset(request.userProvisioningId)) {
11091
+ query["UserProvisioningId"] = request.userProvisioningId;
11092
+ }
11093
+
11094
+ let req = new $OpenApi.OpenApiRequest({
11095
+ query: OpenApiUtil.query(query),
11096
+ });
11097
+ let params = new $OpenApi.Params({
11098
+ action: "ListUserProvisioningEvents",
11099
+ version: "2021-05-15",
11100
+ protocol: "HTTPS",
11101
+ pathname: "/",
11102
+ method: "POST",
11103
+ authType: "AK",
11104
+ style: "RPC",
11105
+ reqBodyType: "formData",
11106
+ bodyType: "json",
11107
+ });
11108
+ return $tea.cast<ListUserProvisioningEventsResponse>(await this.callApi(params, req, runtime), new ListUserProvisioningEventsResponse({}));
11109
+ }
11110
+
11111
+ async listUserProvisioningEvents(request: ListUserProvisioningEventsRequest): Promise<ListUserProvisioningEventsResponse> {
11112
+ let runtime = new $Util.RuntimeOptions({ });
11113
+ return await this.listUserProvisioningEventsWithOptions(request, runtime);
11114
+ }
11115
+
9451
11116
  async listUserProvisioningsWithOptions(request: ListUserProvisioningsRequest, runtime: $Util.RuntimeOptions): Promise<ListUserProvisioningsResponse> {
9452
11117
  Util.validateModel(request);
9453
11118
  let query = { };
@@ -9835,6 +11500,43 @@ export default class Client extends OpenApi {
9835
11500
  return await this.resetUserPasswordWithOptions(request, runtime);
9836
11501
  }
9837
11502
 
11503
+ async retryUserProvisioningEventWithOptions(request: RetryUserProvisioningEventRequest, runtime: $Util.RuntimeOptions): Promise<RetryUserProvisioningEventResponse> {
11504
+ Util.validateModel(request);
11505
+ let query = { };
11506
+ if (!Util.isUnset(request.directoryId)) {
11507
+ query["DirectoryId"] = request.directoryId;
11508
+ }
11509
+
11510
+ if (!Util.isUnset(request.duplicationStrategy)) {
11511
+ query["DuplicationStrategy"] = request.duplicationStrategy;
11512
+ }
11513
+
11514
+ if (!Util.isUnset(request.eventId)) {
11515
+ query["EventId"] = request.eventId;
11516
+ }
11517
+
11518
+ let req = new $OpenApi.OpenApiRequest({
11519
+ query: OpenApiUtil.query(query),
11520
+ });
11521
+ let params = new $OpenApi.Params({
11522
+ action: "RetryUserProvisioningEvent",
11523
+ version: "2021-05-15",
11524
+ protocol: "HTTPS",
11525
+ pathname: "/",
11526
+ method: "POST",
11527
+ authType: "AK",
11528
+ style: "RPC",
11529
+ reqBodyType: "formData",
11530
+ bodyType: "json",
11531
+ });
11532
+ return $tea.cast<RetryUserProvisioningEventResponse>(await this.callApi(params, req, runtime), new RetryUserProvisioningEventResponse({}));
11533
+ }
11534
+
11535
+ async retryUserProvisioningEvent(request: RetryUserProvisioningEventRequest): Promise<RetryUserProvisioningEventResponse> {
11536
+ let runtime = new $Util.RuntimeOptions({ });
11537
+ return await this.retryUserProvisioningEventWithOptions(request, runtime);
11538
+ }
11539
+
9838
11540
  /**
9839
11541
  * During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an IdP.
9840
11542
  * You can use one of the following methods to configure a SAML IdP. You can obtain the required metadata file or parameter values from your IdP.
@@ -9917,6 +11619,39 @@ export default class Client extends OpenApi {
9917
11619
  return await this.setExternalSAMLIdentityProviderWithOptions(request, runtime);
9918
11620
  }
9919
11621
 
11622
+ async setLoginPreferenceWithOptions(request: SetLoginPreferenceRequest, runtime: $Util.RuntimeOptions): Promise<SetLoginPreferenceResponse> {
11623
+ Util.validateModel(request);
11624
+ let query = { };
11625
+ if (!Util.isUnset(request.directoryId)) {
11626
+ query["DirectoryId"] = request.directoryId;
11627
+ }
11628
+
11629
+ if (!Util.isUnset(request.loginNetworkMasks)) {
11630
+ query["LoginNetworkMasks"] = request.loginNetworkMasks;
11631
+ }
11632
+
11633
+ let req = new $OpenApi.OpenApiRequest({
11634
+ query: OpenApiUtil.query(query),
11635
+ });
11636
+ let params = new $OpenApi.Params({
11637
+ action: "SetLoginPreference",
11638
+ version: "2021-05-15",
11639
+ protocol: "HTTPS",
11640
+ pathname: "/",
11641
+ method: "POST",
11642
+ authType: "AK",
11643
+ style: "RPC",
11644
+ reqBodyType: "formData",
11645
+ bodyType: "json",
11646
+ });
11647
+ return $tea.cast<SetLoginPreferenceResponse>(await this.callApi(params, req, runtime), new SetLoginPreferenceResponse({}));
11648
+ }
11649
+
11650
+ async setLoginPreference(request: SetLoginPreferenceRequest): Promise<SetLoginPreferenceResponse> {
11651
+ let runtime = new $Util.RuntimeOptions({ });
11652
+ return await this.setLoginPreferenceWithOptions(request, runtime);
11653
+ }
11654
+
9920
11655
  /**
9921
11656
  * If a CloudSSO administrator enables username-password logon for users, CloudSSO automatically enables MFA to improve security. The administrator can call this operation to enable or disable MFA based on the business requirements.
9922
11657
  * This topic provides an example on how to enable MFA for users.
@@ -9965,6 +11700,59 @@ export default class Client extends OpenApi {
9965
11700
  return await this.setMFAAuthenticationStatusWithOptions(request, runtime);
9966
11701
  }
9967
11702
 
11703
+ async setPasswordPolicyWithOptions(request: SetPasswordPolicyRequest, runtime: $Util.RuntimeOptions): Promise<SetPasswordPolicyResponse> {
11704
+ Util.validateModel(request);
11705
+ let query = { };
11706
+ if (!Util.isUnset(request.directoryId)) {
11707
+ query["DirectoryId"] = request.directoryId;
11708
+ }
11709
+
11710
+ if (!Util.isUnset(request.maxLoginAttempts)) {
11711
+ query["MaxLoginAttempts"] = request.maxLoginAttempts;
11712
+ }
11713
+
11714
+ if (!Util.isUnset(request.maxPasswordAge)) {
11715
+ query["MaxPasswordAge"] = request.maxPasswordAge;
11716
+ }
11717
+
11718
+ if (!Util.isUnset(request.minPasswordDifferentChars)) {
11719
+ query["MinPasswordDifferentChars"] = request.minPasswordDifferentChars;
11720
+ }
11721
+
11722
+ if (!Util.isUnset(request.minPasswordLength)) {
11723
+ query["MinPasswordLength"] = request.minPasswordLength;
11724
+ }
11725
+
11726
+ if (!Util.isUnset(request.passwordNotContainUsername)) {
11727
+ query["PasswordNotContainUsername"] = request.passwordNotContainUsername;
11728
+ }
11729
+
11730
+ if (!Util.isUnset(request.passwordReusePrevention)) {
11731
+ query["PasswordReusePrevention"] = request.passwordReusePrevention;
11732
+ }
11733
+
11734
+ let req = new $OpenApi.OpenApiRequest({
11735
+ query: OpenApiUtil.query(query),
11736
+ });
11737
+ let params = new $OpenApi.Params({
11738
+ action: "SetPasswordPolicy",
11739
+ version: "2021-05-15",
11740
+ protocol: "HTTPS",
11741
+ pathname: "/",
11742
+ method: "POST",
11743
+ authType: "AK",
11744
+ style: "RPC",
11745
+ reqBodyType: "formData",
11746
+ bodyType: "json",
11747
+ });
11748
+ return $tea.cast<SetPasswordPolicyResponse>(await this.callApi(params, req, runtime), new SetPasswordPolicyResponse({}));
11749
+ }
11750
+
11751
+ async setPasswordPolicy(request: SetPasswordPolicyRequest): Promise<SetPasswordPolicyResponse> {
11752
+ let runtime = new $Util.RuntimeOptions({ });
11753
+ return await this.setPasswordPolicyWithOptions(request, runtime);
11754
+ }
11755
+
9968
11756
  /**
9969
11757
  * You can synchronize users or groups from an external identity provider (IdP) that supports SCIM 2.0 to CloudSSO only after SCIM synchronization is enabled. If you disable SCIM synchronization, you can no longer synchronize users or groups to CloudSSO. The following list describes the impacts after SCIM synchronization is enabled or disabled:
9970
11758
  * * After you enable SCIM synchronization, you cannot modify or delete the users or groups that are synchronized to CloudSSO by using SCIM. In addition, you cannot add users to or remove users from the groups. However, you can change the passwords of the users and enable or disable the logon of the users.
@@ -10508,6 +12296,43 @@ export default class Client extends OpenApi {
10508
12296
  return await this.updateUserProvisioningWithOptions(request, runtime);
10509
12297
  }
10510
12298
 
12299
+ async updateUserProvisioningConfigurationWithOptions(request: UpdateUserProvisioningConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserProvisioningConfigurationResponse> {
12300
+ Util.validateModel(request);
12301
+ let query = { };
12302
+ if (!Util.isUnset(request.directoryId)) {
12303
+ query["DirectoryId"] = request.directoryId;
12304
+ }
12305
+
12306
+ if (!Util.isUnset(request.newDefaultLandingPage)) {
12307
+ query["NewDefaultLandingPage"] = request.newDefaultLandingPage;
12308
+ }
12309
+
12310
+ if (!Util.isUnset(request.newSessionDuration)) {
12311
+ query["NewSessionDuration"] = request.newSessionDuration;
12312
+ }
12313
+
12314
+ let req = new $OpenApi.OpenApiRequest({
12315
+ query: OpenApiUtil.query(query),
12316
+ });
12317
+ let params = new $OpenApi.Params({
12318
+ action: "UpdateUserProvisioningConfiguration",
12319
+ version: "2021-05-15",
12320
+ protocol: "HTTPS",
12321
+ pathname: "/",
12322
+ method: "POST",
12323
+ authType: "AK",
12324
+ style: "RPC",
12325
+ reqBodyType: "formData",
12326
+ bodyType: "json",
12327
+ });
12328
+ return $tea.cast<UpdateUserProvisioningConfigurationResponse>(await this.callApi(params, req, runtime), new UpdateUserProvisioningConfigurationResponse({}));
12329
+ }
12330
+
12331
+ async updateUserProvisioningConfiguration(request: UpdateUserProvisioningConfigurationRequest): Promise<UpdateUserProvisioningConfigurationResponse> {
12332
+ let runtime = new $Util.RuntimeOptions({ });
12333
+ return await this.updateUserProvisioningConfigurationWithOptions(request, runtime);
12334
+ }
12335
+
10511
12336
  /**
10512
12337
  * This topic provides an example on how to change the status of the user whose ID is `u-00q8wbq42wiltcrk****` to Disabled. Users in the Disabled state cannot log on to the CloudSSO user portal.
10513
12338
  *