@alicloud/cloudsso20210515 1.3.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/dist/client.d.ts +550 -240
- package/dist/client.js +592 -8
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +961 -265
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
|
|
57
|
-
statusCode
|
|
58
|
-
body
|
|
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
|
|
132
|
-
statusCode
|
|
133
|
-
body
|
|
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
|
|
201
|
-
statusCode
|
|
202
|
-
body
|
|
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
|
|
264
|
-
statusCode
|
|
265
|
-
body
|
|
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
|
|
345
|
-
statusCode
|
|
346
|
-
body
|
|
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
|
|
423
|
-
statusCode
|
|
424
|
-
body
|
|
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
|
|
489
|
-
statusCode
|
|
490
|
-
body
|
|
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
|
|
561
|
-
statusCode
|
|
562
|
-
body
|
|
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
|
|
627
|
-
statusCode
|
|
628
|
-
body
|
|
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
|
|
714
|
-
statusCode
|
|
715
|
-
body
|
|
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
|
|
801
|
-
statusCode
|
|
802
|
-
body
|
|
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
|
|
885
|
-
statusCode
|
|
886
|
-
body
|
|
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
|
|
954
|
-
statusCode
|
|
955
|
-
body
|
|
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
|
|
1017
|
-
statusCode
|
|
1018
|
-
body
|
|
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
|
|
1083
|
-
statusCode
|
|
1084
|
-
body
|
|
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
|
|
1152
|
-
statusCode
|
|
1153
|
-
body
|
|
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
|
|
1218
|
-
statusCode
|
|
1219
|
-
body
|
|
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
|
|
1284
|
-
statusCode
|
|
1285
|
-
body
|
|
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
|
|
1353
|
-
statusCode
|
|
1354
|
-
body
|
|
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',
|
|
@@ -1418,9 +1418,9 @@ export class DeleteUserProvisioningEventResponseBody extends $tea.Model {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
|
|
1420
1420
|
export class DeleteUserProvisioningEventResponse extends $tea.Model {
|
|
1421
|
-
headers
|
|
1422
|
-
statusCode
|
|
1423
|
-
body
|
|
1421
|
+
headers?: { [key: string]: string };
|
|
1422
|
+
statusCode?: number;
|
|
1423
|
+
body?: DeleteUserProvisioningEventResponseBody;
|
|
1424
1424
|
static names(): { [key: string]: string } {
|
|
1425
1425
|
return {
|
|
1426
1426
|
headers: 'headers',
|
|
@@ -1493,9 +1493,9 @@ export class DeprovisionAccessConfigurationResponseBody extends $tea.Model {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
|
|
1495
1495
|
export class DeprovisionAccessConfigurationResponse extends $tea.Model {
|
|
1496
|
-
headers
|
|
1497
|
-
statusCode
|
|
1498
|
-
body
|
|
1496
|
+
headers?: { [key: string]: string };
|
|
1497
|
+
statusCode?: number;
|
|
1498
|
+
body?: DeprovisionAccessConfigurationResponseBody;
|
|
1499
1499
|
static names(): { [key: string]: string } {
|
|
1500
1500
|
return {
|
|
1501
1501
|
headers: 'headers',
|
|
@@ -1537,9 +1537,9 @@ export class DisableServiceResponseBody extends $tea.Model {
|
|
|
1537
1537
|
}
|
|
1538
1538
|
|
|
1539
1539
|
export class DisableServiceResponse extends $tea.Model {
|
|
1540
|
-
headers
|
|
1541
|
-
statusCode
|
|
1542
|
-
body
|
|
1540
|
+
headers?: { [key: string]: string };
|
|
1541
|
+
statusCode?: number;
|
|
1542
|
+
body?: DisableServiceResponseBody;
|
|
1543
1543
|
static names(): { [key: string]: string } {
|
|
1544
1544
|
return {
|
|
1545
1545
|
headers: 'headers',
|
|
@@ -1581,9 +1581,9 @@ export class EnableServiceResponseBody extends $tea.Model {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
1583
|
export class EnableServiceResponse extends $tea.Model {
|
|
1584
|
-
headers
|
|
1585
|
-
statusCode
|
|
1586
|
-
body
|
|
1584
|
+
headers?: { [key: string]: string };
|
|
1585
|
+
statusCode?: number;
|
|
1586
|
+
body?: EnableServiceResponseBody;
|
|
1587
1587
|
static names(): { [key: string]: string } {
|
|
1588
1588
|
return {
|
|
1589
1589
|
headers: 'headers',
|
|
@@ -1650,9 +1650,9 @@ export class GetAccessConfigurationResponseBody extends $tea.Model {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
|
|
1652
1652
|
export class GetAccessConfigurationResponse extends $tea.Model {
|
|
1653
|
-
headers
|
|
1654
|
-
statusCode
|
|
1655
|
-
body
|
|
1653
|
+
headers?: { [key: string]: string };
|
|
1654
|
+
statusCode?: number;
|
|
1655
|
+
body?: GetAccessConfigurationResponseBody;
|
|
1656
1656
|
static names(): { [key: string]: string } {
|
|
1657
1657
|
return {
|
|
1658
1658
|
headers: 'headers',
|
|
@@ -1716,9 +1716,9 @@ export class GetDirectoryResponseBody extends $tea.Model {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
|
|
1718
1718
|
export class GetDirectoryResponse extends $tea.Model {
|
|
1719
|
-
headers
|
|
1720
|
-
statusCode
|
|
1721
|
-
body
|
|
1719
|
+
headers?: { [key: string]: string };
|
|
1720
|
+
statusCode?: number;
|
|
1721
|
+
body?: GetDirectoryResponseBody;
|
|
1722
1722
|
static names(): { [key: string]: string } {
|
|
1723
1723
|
return {
|
|
1724
1724
|
headers: 'headers',
|
|
@@ -1782,9 +1782,9 @@ export class GetDirectorySAMLServiceProviderInfoResponseBody extends $tea.Model
|
|
|
1782
1782
|
}
|
|
1783
1783
|
|
|
1784
1784
|
export class GetDirectorySAMLServiceProviderInfoResponse extends $tea.Model {
|
|
1785
|
-
headers
|
|
1786
|
-
statusCode
|
|
1787
|
-
body
|
|
1785
|
+
headers?: { [key: string]: string };
|
|
1786
|
+
statusCode?: number;
|
|
1787
|
+
body?: GetDirectorySAMLServiceProviderInfoResponseBody;
|
|
1788
1788
|
static names(): { [key: string]: string } {
|
|
1789
1789
|
return {
|
|
1790
1790
|
headers: 'headers',
|
|
@@ -1848,9 +1848,9 @@ export class GetDirectoryStatisticsResponseBody extends $tea.Model {
|
|
|
1848
1848
|
}
|
|
1849
1849
|
|
|
1850
1850
|
export class GetDirectoryStatisticsResponse extends $tea.Model {
|
|
1851
|
-
headers
|
|
1852
|
-
statusCode
|
|
1853
|
-
body
|
|
1851
|
+
headers?: { [key: string]: string };
|
|
1852
|
+
statusCode?: number;
|
|
1853
|
+
body?: GetDirectoryStatisticsResponseBody;
|
|
1854
1854
|
static names(): { [key: string]: string } {
|
|
1855
1855
|
return {
|
|
1856
1856
|
headers: 'headers',
|
|
@@ -1914,9 +1914,9 @@ export class GetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
|
|
1916
1916
|
export class GetExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
1917
|
-
headers
|
|
1918
|
-
statusCode
|
|
1919
|
-
body
|
|
1917
|
+
headers?: { [key: string]: string };
|
|
1918
|
+
statusCode?: number;
|
|
1919
|
+
body?: GetExternalSAMLIdentityProviderResponseBody;
|
|
1920
1920
|
static names(): { [key: string]: string } {
|
|
1921
1921
|
return {
|
|
1922
1922
|
headers: 'headers',
|
|
@@ -1983,9 +1983,9 @@ export class GetGroupResponseBody extends $tea.Model {
|
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
1985
|
export class GetGroupResponse extends $tea.Model {
|
|
1986
|
-
headers
|
|
1987
|
-
statusCode
|
|
1988
|
-
body
|
|
1986
|
+
headers?: { [key: string]: string };
|
|
1987
|
+
statusCode?: number;
|
|
1988
|
+
body?: GetGroupResponseBody;
|
|
1989
1989
|
static names(): { [key: string]: string } {
|
|
1990
1990
|
return {
|
|
1991
1991
|
headers: 'headers',
|
|
@@ -2007,6 +2007,72 @@ export class GetGroupResponse extends $tea.Model {
|
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
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
|
+
|
|
2010
2076
|
export class GetMFAAuthenticationSettingInfoRequest extends $tea.Model {
|
|
2011
2077
|
directoryId?: string;
|
|
2012
2078
|
static names(): { [key: string]: string } {
|
|
@@ -2049,9 +2115,9 @@ export class GetMFAAuthenticationSettingInfoResponseBody extends $tea.Model {
|
|
|
2049
2115
|
}
|
|
2050
2116
|
|
|
2051
2117
|
export class GetMFAAuthenticationSettingInfoResponse extends $tea.Model {
|
|
2052
|
-
headers
|
|
2053
|
-
statusCode
|
|
2054
|
-
body
|
|
2118
|
+
headers?: { [key: string]: string };
|
|
2119
|
+
statusCode?: number;
|
|
2120
|
+
body?: GetMFAAuthenticationSettingInfoResponseBody;
|
|
2055
2121
|
static names(): { [key: string]: string } {
|
|
2056
2122
|
return {
|
|
2057
2123
|
headers: 'headers',
|
|
@@ -2115,9 +2181,9 @@ export class GetMFAAuthenticationSettingsResponseBody extends $tea.Model {
|
|
|
2115
2181
|
}
|
|
2116
2182
|
|
|
2117
2183
|
export class GetMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
2118
|
-
headers
|
|
2119
|
-
statusCode
|
|
2120
|
-
body
|
|
2184
|
+
headers?: { [key: string]: string };
|
|
2185
|
+
statusCode?: number;
|
|
2186
|
+
body?: GetMFAAuthenticationSettingsResponseBody;
|
|
2121
2187
|
static names(): { [key: string]: string } {
|
|
2122
2188
|
return {
|
|
2123
2189
|
headers: 'headers',
|
|
@@ -2181,9 +2247,9 @@ export class GetMFAAuthenticationStatusResponseBody extends $tea.Model {
|
|
|
2181
2247
|
}
|
|
2182
2248
|
|
|
2183
2249
|
export class GetMFAAuthenticationStatusResponse extends $tea.Model {
|
|
2184
|
-
headers
|
|
2185
|
-
statusCode
|
|
2186
|
-
body
|
|
2250
|
+
headers?: { [key: string]: string };
|
|
2251
|
+
statusCode?: number;
|
|
2252
|
+
body?: GetMFAAuthenticationStatusResponseBody;
|
|
2187
2253
|
static names(): { [key: string]: string } {
|
|
2188
2254
|
return {
|
|
2189
2255
|
headers: 'headers',
|
|
@@ -2205,6 +2271,72 @@ export class GetMFAAuthenticationStatusResponse extends $tea.Model {
|
|
|
2205
2271
|
}
|
|
2206
2272
|
}
|
|
2207
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
|
+
|
|
2208
2340
|
export class GetSCIMSynchronizationStatusRequest extends $tea.Model {
|
|
2209
2341
|
directoryId?: string;
|
|
2210
2342
|
static names(): { [key: string]: string } {
|
|
@@ -2247,9 +2379,9 @@ export class GetSCIMSynchronizationStatusResponseBody extends $tea.Model {
|
|
|
2247
2379
|
}
|
|
2248
2380
|
|
|
2249
2381
|
export class GetSCIMSynchronizationStatusResponse extends $tea.Model {
|
|
2250
|
-
headers
|
|
2251
|
-
statusCode
|
|
2252
|
-
body
|
|
2382
|
+
headers?: { [key: string]: string };
|
|
2383
|
+
statusCode?: number;
|
|
2384
|
+
body?: GetSCIMSynchronizationStatusResponseBody;
|
|
2253
2385
|
static names(): { [key: string]: string } {
|
|
2254
2386
|
return {
|
|
2255
2387
|
headers: 'headers',
|
|
@@ -2294,9 +2426,9 @@ export class GetServiceStatusResponseBody extends $tea.Model {
|
|
|
2294
2426
|
}
|
|
2295
2427
|
|
|
2296
2428
|
export class GetServiceStatusResponse extends $tea.Model {
|
|
2297
|
-
headers
|
|
2298
|
-
statusCode
|
|
2299
|
-
body
|
|
2429
|
+
headers?: { [key: string]: string };
|
|
2430
|
+
statusCode?: number;
|
|
2431
|
+
body?: GetServiceStatusResponseBody;
|
|
2300
2432
|
static names(): { [key: string]: string } {
|
|
2301
2433
|
return {
|
|
2302
2434
|
headers: 'headers',
|
|
@@ -2363,9 +2495,9 @@ export class GetTaskResponseBody extends $tea.Model {
|
|
|
2363
2495
|
}
|
|
2364
2496
|
|
|
2365
2497
|
export class GetTaskResponse extends $tea.Model {
|
|
2366
|
-
headers
|
|
2367
|
-
statusCode
|
|
2368
|
-
body
|
|
2498
|
+
headers?: { [key: string]: string };
|
|
2499
|
+
statusCode?: number;
|
|
2500
|
+
body?: GetTaskResponseBody;
|
|
2369
2501
|
static names(): { [key: string]: string } {
|
|
2370
2502
|
return {
|
|
2371
2503
|
headers: 'headers',
|
|
@@ -2432,9 +2564,9 @@ export class GetTaskStatusResponseBody extends $tea.Model {
|
|
|
2432
2564
|
}
|
|
2433
2565
|
|
|
2434
2566
|
export class GetTaskStatusResponse extends $tea.Model {
|
|
2435
|
-
headers
|
|
2436
|
-
statusCode
|
|
2437
|
-
body
|
|
2567
|
+
headers?: { [key: string]: string };
|
|
2568
|
+
statusCode?: number;
|
|
2569
|
+
body?: GetTaskStatusResponseBody;
|
|
2438
2570
|
static names(): { [key: string]: string } {
|
|
2439
2571
|
return {
|
|
2440
2572
|
headers: 'headers',
|
|
@@ -2501,9 +2633,9 @@ export class GetUserResponseBody extends $tea.Model {
|
|
|
2501
2633
|
}
|
|
2502
2634
|
|
|
2503
2635
|
export class GetUserResponse extends $tea.Model {
|
|
2504
|
-
headers
|
|
2505
|
-
statusCode
|
|
2506
|
-
body
|
|
2636
|
+
headers?: { [key: string]: string };
|
|
2637
|
+
statusCode?: number;
|
|
2638
|
+
body?: GetUserResponseBody;
|
|
2507
2639
|
static names(): { [key: string]: string } {
|
|
2508
2640
|
return {
|
|
2509
2641
|
headers: 'headers',
|
|
@@ -2525,6 +2657,97 @@ export class GetUserResponse extends $tea.Model {
|
|
|
2525
2657
|
}
|
|
2526
2658
|
}
|
|
2527
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
|
+
|
|
2528
2751
|
export class GetUserMFAAuthenticationSettingsRequest extends $tea.Model {
|
|
2529
2752
|
directoryId?: string;
|
|
2530
2753
|
userId?: string;
|
|
@@ -2570,9 +2793,9 @@ export class GetUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
|
|
|
2570
2793
|
}
|
|
2571
2794
|
|
|
2572
2795
|
export class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
2573
|
-
headers
|
|
2574
|
-
statusCode
|
|
2575
|
-
body
|
|
2796
|
+
headers?: { [key: string]: string };
|
|
2797
|
+
statusCode?: number;
|
|
2798
|
+
body?: GetUserMFAAuthenticationSettingsResponseBody;
|
|
2576
2799
|
static names(): { [key: string]: string } {
|
|
2577
2800
|
return {
|
|
2578
2801
|
headers: 'headers',
|
|
@@ -2639,9 +2862,9 @@ export class GetUserProvisioningResponseBody extends $tea.Model {
|
|
|
2639
2862
|
}
|
|
2640
2863
|
|
|
2641
2864
|
export class GetUserProvisioningResponse extends $tea.Model {
|
|
2642
|
-
headers
|
|
2643
|
-
statusCode
|
|
2644
|
-
body
|
|
2865
|
+
headers?: { [key: string]: string };
|
|
2866
|
+
statusCode?: number;
|
|
2867
|
+
body?: GetUserProvisioningResponseBody;
|
|
2645
2868
|
static names(): { [key: string]: string } {
|
|
2646
2869
|
return {
|
|
2647
2870
|
headers: 'headers',
|
|
@@ -2705,9 +2928,9 @@ export class GetUserProvisioningConfigurationResponseBody extends $tea.Model {
|
|
|
2705
2928
|
}
|
|
2706
2929
|
|
|
2707
2930
|
export class GetUserProvisioningConfigurationResponse extends $tea.Model {
|
|
2708
|
-
headers
|
|
2709
|
-
statusCode
|
|
2710
|
-
body
|
|
2931
|
+
headers?: { [key: string]: string };
|
|
2932
|
+
statusCode?: number;
|
|
2933
|
+
body?: GetUserProvisioningConfigurationResponseBody;
|
|
2711
2934
|
static names(): { [key: string]: string } {
|
|
2712
2935
|
return {
|
|
2713
2936
|
headers: 'headers',
|
|
@@ -2774,9 +2997,9 @@ export class GetUserProvisioningEventResponseBody extends $tea.Model {
|
|
|
2774
2997
|
}
|
|
2775
2998
|
|
|
2776
2999
|
export class GetUserProvisioningEventResponse extends $tea.Model {
|
|
2777
|
-
headers
|
|
2778
|
-
statusCode
|
|
2779
|
-
body
|
|
3000
|
+
headers?: { [key: string]: string };
|
|
3001
|
+
statusCode?: number;
|
|
3002
|
+
body?: GetUserProvisioningEventResponseBody;
|
|
2780
3003
|
static names(): { [key: string]: string } {
|
|
2781
3004
|
return {
|
|
2782
3005
|
headers: 'headers',
|
|
@@ -2843,9 +3066,9 @@ export class GetUserProvisioningRdAccountStatisticsResponseBody extends $tea.Mod
|
|
|
2843
3066
|
}
|
|
2844
3067
|
|
|
2845
3068
|
export class GetUserProvisioningRdAccountStatisticsResponse extends $tea.Model {
|
|
2846
|
-
headers
|
|
2847
|
-
statusCode
|
|
2848
|
-
body
|
|
3069
|
+
headers?: { [key: string]: string };
|
|
3070
|
+
statusCode?: number;
|
|
3071
|
+
body?: GetUserProvisioningRdAccountStatisticsResponseBody;
|
|
2849
3072
|
static names(): { [key: string]: string } {
|
|
2850
3073
|
return {
|
|
2851
3074
|
headers: 'headers',
|
|
@@ -2912,9 +3135,9 @@ export class GetUserProvisioningStatisticsResponseBody extends $tea.Model {
|
|
|
2912
3135
|
}
|
|
2913
3136
|
|
|
2914
3137
|
export class GetUserProvisioningStatisticsResponse extends $tea.Model {
|
|
2915
|
-
headers
|
|
2916
|
-
statusCode
|
|
2917
|
-
body
|
|
3138
|
+
headers?: { [key: string]: string };
|
|
3139
|
+
statusCode?: number;
|
|
3140
|
+
body?: GetUserProvisioningStatisticsResponseBody;
|
|
2918
3141
|
static names(): { [key: string]: string } {
|
|
2919
3142
|
return {
|
|
2920
3143
|
headers: 'headers',
|
|
@@ -3011,9 +3234,9 @@ export class ListAccessAssignmentsResponseBody extends $tea.Model {
|
|
|
3011
3234
|
}
|
|
3012
3235
|
|
|
3013
3236
|
export class ListAccessAssignmentsResponse extends $tea.Model {
|
|
3014
|
-
headers
|
|
3015
|
-
statusCode
|
|
3016
|
-
body
|
|
3237
|
+
headers?: { [key: string]: string };
|
|
3238
|
+
statusCode?: number;
|
|
3239
|
+
body?: ListAccessAssignmentsResponseBody;
|
|
3017
3240
|
static names(): { [key: string]: string } {
|
|
3018
3241
|
return {
|
|
3019
3242
|
headers: 'headers',
|
|
@@ -3107,9 +3330,9 @@ export class ListAccessConfigurationProvisioningsResponseBody extends $tea.Model
|
|
|
3107
3330
|
}
|
|
3108
3331
|
|
|
3109
3332
|
export class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
|
|
3110
|
-
headers
|
|
3111
|
-
statusCode
|
|
3112
|
-
body
|
|
3333
|
+
headers?: { [key: string]: string };
|
|
3334
|
+
statusCode?: number;
|
|
3335
|
+
body?: ListAccessConfigurationProvisioningsResponseBody;
|
|
3113
3336
|
static names(): { [key: string]: string } {
|
|
3114
3337
|
return {
|
|
3115
3338
|
headers: 'headers',
|
|
@@ -3197,9 +3420,9 @@ export class ListAccessConfigurationsResponseBody extends $tea.Model {
|
|
|
3197
3420
|
}
|
|
3198
3421
|
|
|
3199
3422
|
export class ListAccessConfigurationsResponse extends $tea.Model {
|
|
3200
|
-
headers
|
|
3201
|
-
statusCode
|
|
3202
|
-
body
|
|
3423
|
+
headers?: { [key: string]: string };
|
|
3424
|
+
statusCode?: number;
|
|
3425
|
+
body?: ListAccessConfigurationsResponseBody;
|
|
3203
3426
|
static names(): { [key: string]: string } {
|
|
3204
3427
|
return {
|
|
3205
3428
|
headers: 'headers',
|
|
@@ -3247,9 +3470,9 @@ export class ListDirectoriesResponseBody extends $tea.Model {
|
|
|
3247
3470
|
}
|
|
3248
3471
|
|
|
3249
3472
|
export class ListDirectoriesResponse extends $tea.Model {
|
|
3250
|
-
headers
|
|
3251
|
-
statusCode
|
|
3252
|
-
body
|
|
3473
|
+
headers?: { [key: string]: string };
|
|
3474
|
+
statusCode?: number;
|
|
3475
|
+
body?: ListDirectoriesResponseBody;
|
|
3253
3476
|
static names(): { [key: string]: string } {
|
|
3254
3477
|
return {
|
|
3255
3478
|
headers: 'headers',
|
|
@@ -3316,9 +3539,9 @@ export class ListExternalSAMLIdPCertificatesResponseBody extends $tea.Model {
|
|
|
3316
3539
|
}
|
|
3317
3540
|
|
|
3318
3541
|
export class ListExternalSAMLIdPCertificatesResponse extends $tea.Model {
|
|
3319
|
-
headers
|
|
3320
|
-
statusCode
|
|
3321
|
-
body
|
|
3542
|
+
headers?: { [key: string]: string };
|
|
3543
|
+
statusCode?: number;
|
|
3544
|
+
body?: ListExternalSAMLIdPCertificatesResponseBody;
|
|
3322
3545
|
static names(): { [key: string]: string } {
|
|
3323
3546
|
return {
|
|
3324
3547
|
headers: 'headers',
|
|
@@ -3403,9 +3626,9 @@ export class ListGroupMembersResponseBody extends $tea.Model {
|
|
|
3403
3626
|
}
|
|
3404
3627
|
|
|
3405
3628
|
export class ListGroupMembersResponse extends $tea.Model {
|
|
3406
|
-
headers
|
|
3407
|
-
statusCode
|
|
3408
|
-
body
|
|
3629
|
+
headers?: { [key: string]: string };
|
|
3630
|
+
statusCode?: number;
|
|
3631
|
+
body?: ListGroupMembersResponseBody;
|
|
3409
3632
|
static names(): { [key: string]: string } {
|
|
3410
3633
|
return {
|
|
3411
3634
|
headers: 'headers',
|
|
@@ -3493,9 +3716,9 @@ export class ListGroupsResponseBody extends $tea.Model {
|
|
|
3493
3716
|
}
|
|
3494
3717
|
|
|
3495
3718
|
export class ListGroupsResponse extends $tea.Model {
|
|
3496
|
-
headers
|
|
3497
|
-
statusCode
|
|
3498
|
-
body
|
|
3719
|
+
headers?: { [key: string]: string };
|
|
3720
|
+
statusCode?: number;
|
|
3721
|
+
body?: ListGroupsResponseBody;
|
|
3499
3722
|
static names(): { [key: string]: string } {
|
|
3500
3723
|
return {
|
|
3501
3724
|
headers: 'headers',
|
|
@@ -3580,9 +3803,9 @@ export class ListJoinedGroupsForUserResponseBody extends $tea.Model {
|
|
|
3580
3803
|
}
|
|
3581
3804
|
|
|
3582
3805
|
export class ListJoinedGroupsForUserResponse extends $tea.Model {
|
|
3583
|
-
headers
|
|
3584
|
-
statusCode
|
|
3585
|
-
body
|
|
3806
|
+
headers?: { [key: string]: string };
|
|
3807
|
+
statusCode?: number;
|
|
3808
|
+
body?: ListJoinedGroupsForUserResponseBody;
|
|
3586
3809
|
static names(): { [key: string]: string } {
|
|
3587
3810
|
return {
|
|
3588
3811
|
headers: 'headers',
|
|
@@ -3652,9 +3875,9 @@ export class ListMFADevicesForUserResponseBody extends $tea.Model {
|
|
|
3652
3875
|
}
|
|
3653
3876
|
|
|
3654
3877
|
export class ListMFADevicesForUserResponse extends $tea.Model {
|
|
3655
|
-
headers
|
|
3656
|
-
statusCode
|
|
3657
|
-
body
|
|
3878
|
+
headers?: { [key: string]: string };
|
|
3879
|
+
statusCode?: number;
|
|
3880
|
+
body?: ListMFADevicesForUserResponseBody;
|
|
3658
3881
|
static names(): { [key: string]: string } {
|
|
3659
3882
|
return {
|
|
3660
3883
|
headers: 'headers',
|
|
@@ -3727,9 +3950,9 @@ export class ListPermissionPoliciesInAccessConfigurationResponseBody extends $te
|
|
|
3727
3950
|
}
|
|
3728
3951
|
|
|
3729
3952
|
export class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Model {
|
|
3730
|
-
headers
|
|
3731
|
-
statusCode
|
|
3732
|
-
body
|
|
3953
|
+
headers?: { [key: string]: string };
|
|
3954
|
+
statusCode?: number;
|
|
3955
|
+
body?: ListPermissionPoliciesInAccessConfigurationResponseBody;
|
|
3733
3956
|
static names(): { [key: string]: string } {
|
|
3734
3957
|
return {
|
|
3735
3958
|
headers: 'headers',
|
|
@@ -3796,9 +4019,9 @@ export class ListSCIMServerCredentialsResponseBody extends $tea.Model {
|
|
|
3796
4019
|
}
|
|
3797
4020
|
|
|
3798
4021
|
export class ListSCIMServerCredentialsResponse extends $tea.Model {
|
|
3799
|
-
headers
|
|
3800
|
-
statusCode
|
|
3801
|
-
body
|
|
4022
|
+
headers?: { [key: string]: string };
|
|
4023
|
+
statusCode?: number;
|
|
4024
|
+
body?: ListSCIMServerCredentialsResponseBody;
|
|
3802
4025
|
static names(): { [key: string]: string } {
|
|
3803
4026
|
return {
|
|
3804
4027
|
headers: 'headers',
|
|
@@ -3904,9 +4127,9 @@ export class ListTasksResponseBody extends $tea.Model {
|
|
|
3904
4127
|
}
|
|
3905
4128
|
|
|
3906
4129
|
export class ListTasksResponse extends $tea.Model {
|
|
3907
|
-
headers
|
|
3908
|
-
statusCode
|
|
3909
|
-
body
|
|
4130
|
+
headers?: { [key: string]: string };
|
|
4131
|
+
statusCode?: number;
|
|
4132
|
+
body?: ListTasksResponseBody;
|
|
3910
4133
|
static names(): { [key: string]: string } {
|
|
3911
4134
|
return {
|
|
3912
4135
|
headers: 'headers',
|
|
@@ -3991,9 +4214,9 @@ export class ListUserProvisioningEventsResponseBody extends $tea.Model {
|
|
|
3991
4214
|
}
|
|
3992
4215
|
|
|
3993
4216
|
export class ListUserProvisioningEventsResponse extends $tea.Model {
|
|
3994
|
-
headers
|
|
3995
|
-
statusCode
|
|
3996
|
-
body
|
|
4217
|
+
headers?: { [key: string]: string };
|
|
4218
|
+
statusCode?: number;
|
|
4219
|
+
body?: ListUserProvisioningEventsResponseBody;
|
|
3997
4220
|
static names(): { [key: string]: string } {
|
|
3998
4221
|
return {
|
|
3999
4222
|
headers: 'headers',
|
|
@@ -4087,9 +4310,9 @@ export class ListUserProvisioningsResponseBody extends $tea.Model {
|
|
|
4087
4310
|
}
|
|
4088
4311
|
|
|
4089
4312
|
export class ListUserProvisioningsResponse extends $tea.Model {
|
|
4090
|
-
headers
|
|
4091
|
-
statusCode
|
|
4092
|
-
body
|
|
4313
|
+
headers?: { [key: string]: string };
|
|
4314
|
+
statusCode?: number;
|
|
4315
|
+
body?: ListUserProvisioningsResponseBody;
|
|
4093
4316
|
static names(): { [key: string]: string } {
|
|
4094
4317
|
return {
|
|
4095
4318
|
headers: 'headers',
|
|
@@ -4180,9 +4403,9 @@ export class ListUsersResponseBody extends $tea.Model {
|
|
|
4180
4403
|
}
|
|
4181
4404
|
|
|
4182
4405
|
export class ListUsersResponse extends $tea.Model {
|
|
4183
|
-
headers
|
|
4184
|
-
statusCode
|
|
4185
|
-
body
|
|
4406
|
+
headers?: { [key: string]: string };
|
|
4407
|
+
statusCode?: number;
|
|
4408
|
+
body?: ListUsersResponseBody;
|
|
4186
4409
|
static names(): { [key: string]: string } {
|
|
4187
4410
|
return {
|
|
4188
4411
|
headers: 'headers',
|
|
@@ -4255,9 +4478,9 @@ export class ProvisionAccessConfigurationResponseBody extends $tea.Model {
|
|
|
4255
4478
|
}
|
|
4256
4479
|
|
|
4257
4480
|
export class ProvisionAccessConfigurationResponse extends $tea.Model {
|
|
4258
|
-
headers
|
|
4259
|
-
statusCode
|
|
4260
|
-
body
|
|
4481
|
+
headers?: { [key: string]: string };
|
|
4482
|
+
statusCode?: number;
|
|
4483
|
+
body?: ProvisionAccessConfigurationResponseBody;
|
|
4261
4484
|
static names(): { [key: string]: string } {
|
|
4262
4485
|
return {
|
|
4263
4486
|
headers: 'headers',
|
|
@@ -4321,9 +4544,9 @@ export class RemoveExternalSAMLIdPCertificateResponseBody extends $tea.Model {
|
|
|
4321
4544
|
}
|
|
4322
4545
|
|
|
4323
4546
|
export class RemoveExternalSAMLIdPCertificateResponse extends $tea.Model {
|
|
4324
|
-
headers
|
|
4325
|
-
statusCode
|
|
4326
|
-
body
|
|
4547
|
+
headers?: { [key: string]: string };
|
|
4548
|
+
statusCode?: number;
|
|
4549
|
+
body?: RemoveExternalSAMLIdPCertificateResponseBody;
|
|
4327
4550
|
static names(): { [key: string]: string } {
|
|
4328
4551
|
return {
|
|
4329
4552
|
headers: 'headers',
|
|
@@ -4393,9 +4616,9 @@ export class RemovePermissionPolicyFromAccessConfigurationResponseBody extends $
|
|
|
4393
4616
|
}
|
|
4394
4617
|
|
|
4395
4618
|
export class RemovePermissionPolicyFromAccessConfigurationResponse extends $tea.Model {
|
|
4396
|
-
headers
|
|
4397
|
-
statusCode
|
|
4398
|
-
body
|
|
4619
|
+
headers?: { [key: string]: string };
|
|
4620
|
+
statusCode?: number;
|
|
4621
|
+
body?: RemovePermissionPolicyFromAccessConfigurationResponseBody;
|
|
4399
4622
|
static names(): { [key: string]: string } {
|
|
4400
4623
|
return {
|
|
4401
4624
|
headers: 'headers',
|
|
@@ -4462,9 +4685,9 @@ export class RemoveUserFromGroupResponseBody extends $tea.Model {
|
|
|
4462
4685
|
}
|
|
4463
4686
|
|
|
4464
4687
|
export class RemoveUserFromGroupResponse extends $tea.Model {
|
|
4465
|
-
headers
|
|
4466
|
-
statusCode
|
|
4467
|
-
body
|
|
4688
|
+
headers?: { [key: string]: string };
|
|
4689
|
+
statusCode?: number;
|
|
4690
|
+
body?: RemoveUserFromGroupResponseBody;
|
|
4468
4691
|
static names(): { [key: string]: string } {
|
|
4469
4692
|
return {
|
|
4470
4693
|
headers: 'headers',
|
|
@@ -4540,9 +4763,9 @@ export class ResetUserPasswordResponseBody extends $tea.Model {
|
|
|
4540
4763
|
}
|
|
4541
4764
|
|
|
4542
4765
|
export class ResetUserPasswordResponse extends $tea.Model {
|
|
4543
|
-
headers
|
|
4544
|
-
statusCode
|
|
4545
|
-
body
|
|
4766
|
+
headers?: { [key: string]: string };
|
|
4767
|
+
statusCode?: number;
|
|
4768
|
+
body?: ResetUserPasswordResponseBody;
|
|
4546
4769
|
static names(): { [key: string]: string } {
|
|
4547
4770
|
return {
|
|
4548
4771
|
headers: 'headers',
|
|
@@ -4609,9 +4832,9 @@ export class RetryUserProvisioningEventResponseBody extends $tea.Model {
|
|
|
4609
4832
|
}
|
|
4610
4833
|
|
|
4611
4834
|
export class RetryUserProvisioningEventResponse extends $tea.Model {
|
|
4612
|
-
headers
|
|
4613
|
-
statusCode
|
|
4614
|
-
body
|
|
4835
|
+
headers?: { [key: string]: string };
|
|
4836
|
+
statusCode?: number;
|
|
4837
|
+
body?: RetryUserProvisioningEventResponseBody;
|
|
4615
4838
|
static names(): { [key: string]: string } {
|
|
4616
4839
|
return {
|
|
4617
4840
|
headers: 'headers',
|
|
@@ -4644,24 +4867,159 @@ export class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
|
|
|
4644
4867
|
static names(): { [key: string]: string } {
|
|
4645
4868
|
return {
|
|
4646
4869
|
directoryId: 'DirectoryId',
|
|
4647
|
-
encodedMetadataDocument: 'EncodedMetadataDocument',
|
|
4648
|
-
entityId: 'EntityId',
|
|
4649
|
-
loginUrl: 'LoginUrl',
|
|
4650
|
-
SSOStatus: 'SSOStatus',
|
|
4651
|
-
wantRequestSigned: 'WantRequestSigned',
|
|
4652
|
-
x509Certificate: 'X509Certificate',
|
|
4870
|
+
encodedMetadataDocument: 'EncodedMetadataDocument',
|
|
4871
|
+
entityId: 'EntityId',
|
|
4872
|
+
loginUrl: 'LoginUrl',
|
|
4873
|
+
SSOStatus: 'SSOStatus',
|
|
4874
|
+
wantRequestSigned: 'WantRequestSigned',
|
|
4875
|
+
x509Certificate: 'X509Certificate',
|
|
4876
|
+
};
|
|
4877
|
+
}
|
|
4878
|
+
|
|
4879
|
+
static types(): { [key: string]: any } {
|
|
4880
|
+
return {
|
|
4881
|
+
directoryId: 'string',
|
|
4882
|
+
encodedMetadataDocument: 'string',
|
|
4883
|
+
entityId: 'string',
|
|
4884
|
+
loginUrl: 'string',
|
|
4885
|
+
SSOStatus: 'string',
|
|
4886
|
+
wantRequestSigned: 'boolean',
|
|
4887
|
+
x509Certificate: 'string',
|
|
4888
|
+
};
|
|
4889
|
+
}
|
|
4890
|
+
|
|
4891
|
+
constructor(map?: { [key: string]: any }) {
|
|
4892
|
+
super(map);
|
|
4893
|
+
}
|
|
4894
|
+
}
|
|
4895
|
+
|
|
4896
|
+
export class SetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
|
|
4897
|
+
requestId?: string;
|
|
4898
|
+
SAMLIdentityProviderConfiguration?: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration;
|
|
4899
|
+
static names(): { [key: string]: string } {
|
|
4900
|
+
return {
|
|
4901
|
+
requestId: 'RequestId',
|
|
4902
|
+
SAMLIdentityProviderConfiguration: 'SAMLIdentityProviderConfiguration',
|
|
4903
|
+
};
|
|
4904
|
+
}
|
|
4905
|
+
|
|
4906
|
+
static types(): { [key: string]: any } {
|
|
4907
|
+
return {
|
|
4908
|
+
requestId: 'string',
|
|
4909
|
+
SAMLIdentityProviderConfiguration: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration,
|
|
4910
|
+
};
|
|
4911
|
+
}
|
|
4912
|
+
|
|
4913
|
+
constructor(map?: { [key: string]: any }) {
|
|
4914
|
+
super(map);
|
|
4915
|
+
}
|
|
4916
|
+
}
|
|
4917
|
+
|
|
4918
|
+
export class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
4919
|
+
headers?: { [key: string]: string };
|
|
4920
|
+
statusCode?: number;
|
|
4921
|
+
body?: SetExternalSAMLIdentityProviderResponseBody;
|
|
4922
|
+
static names(): { [key: string]: string } {
|
|
4923
|
+
return {
|
|
4924
|
+
headers: 'headers',
|
|
4925
|
+
statusCode: 'statusCode',
|
|
4926
|
+
body: 'body',
|
|
4927
|
+
};
|
|
4928
|
+
}
|
|
4929
|
+
|
|
4930
|
+
static types(): { [key: string]: any } {
|
|
4931
|
+
return {
|
|
4932
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4933
|
+
statusCode: 'number',
|
|
4934
|
+
body: SetExternalSAMLIdentityProviderResponseBody,
|
|
4935
|
+
};
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4938
|
+
constructor(map?: { [key: string]: any }) {
|
|
4939
|
+
super(map);
|
|
4940
|
+
}
|
|
4941
|
+
}
|
|
4942
|
+
|
|
4943
|
+
export class SetLoginPreferenceRequest extends $tea.Model {
|
|
4944
|
+
directoryId?: string;
|
|
4945
|
+
loginNetworkMasks?: string;
|
|
4946
|
+
static names(): { [key: string]: string } {
|
|
4947
|
+
return {
|
|
4948
|
+
directoryId: 'DirectoryId',
|
|
4949
|
+
loginNetworkMasks: 'LoginNetworkMasks',
|
|
4950
|
+
};
|
|
4951
|
+
}
|
|
4952
|
+
|
|
4953
|
+
static types(): { [key: string]: any } {
|
|
4954
|
+
return {
|
|
4955
|
+
directoryId: 'string',
|
|
4956
|
+
loginNetworkMasks: 'string',
|
|
4957
|
+
};
|
|
4958
|
+
}
|
|
4959
|
+
|
|
4960
|
+
constructor(map?: { [key: string]: any }) {
|
|
4961
|
+
super(map);
|
|
4962
|
+
}
|
|
4963
|
+
}
|
|
4964
|
+
|
|
4965
|
+
export class SetLoginPreferenceResponseBody extends $tea.Model {
|
|
4966
|
+
requestId?: string;
|
|
4967
|
+
static names(): { [key: string]: string } {
|
|
4968
|
+
return {
|
|
4969
|
+
requestId: 'RequestId',
|
|
4970
|
+
};
|
|
4971
|
+
}
|
|
4972
|
+
|
|
4973
|
+
static types(): { [key: string]: any } {
|
|
4974
|
+
return {
|
|
4975
|
+
requestId: 'string',
|
|
4976
|
+
};
|
|
4977
|
+
}
|
|
4978
|
+
|
|
4979
|
+
constructor(map?: { [key: string]: any }) {
|
|
4980
|
+
super(map);
|
|
4981
|
+
}
|
|
4982
|
+
}
|
|
4983
|
+
|
|
4984
|
+
export class SetLoginPreferenceResponse extends $tea.Model {
|
|
4985
|
+
headers?: { [key: string]: string };
|
|
4986
|
+
statusCode?: number;
|
|
4987
|
+
body?: SetLoginPreferenceResponseBody;
|
|
4988
|
+
static names(): { [key: string]: string } {
|
|
4989
|
+
return {
|
|
4990
|
+
headers: 'headers',
|
|
4991
|
+
statusCode: 'statusCode',
|
|
4992
|
+
body: 'body',
|
|
4993
|
+
};
|
|
4994
|
+
}
|
|
4995
|
+
|
|
4996
|
+
static types(): { [key: string]: any } {
|
|
4997
|
+
return {
|
|
4998
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4999
|
+
statusCode: 'number',
|
|
5000
|
+
body: SetLoginPreferenceResponseBody,
|
|
5001
|
+
};
|
|
5002
|
+
}
|
|
5003
|
+
|
|
5004
|
+
constructor(map?: { [key: string]: any }) {
|
|
5005
|
+
super(map);
|
|
5006
|
+
}
|
|
5007
|
+
}
|
|
5008
|
+
|
|
5009
|
+
export class SetMFAAuthenticationStatusRequest extends $tea.Model {
|
|
5010
|
+
directoryId?: string;
|
|
5011
|
+
MFAAuthenticationStatus?: string;
|
|
5012
|
+
static names(): { [key: string]: string } {
|
|
5013
|
+
return {
|
|
5014
|
+
directoryId: 'DirectoryId',
|
|
5015
|
+
MFAAuthenticationStatus: 'MFAAuthenticationStatus',
|
|
4653
5016
|
};
|
|
4654
5017
|
}
|
|
4655
5018
|
|
|
4656
5019
|
static types(): { [key: string]: any } {
|
|
4657
5020
|
return {
|
|
4658
5021
|
directoryId: 'string',
|
|
4659
|
-
|
|
4660
|
-
entityId: 'string',
|
|
4661
|
-
loginUrl: 'string',
|
|
4662
|
-
SSOStatus: 'string',
|
|
4663
|
-
wantRequestSigned: 'boolean',
|
|
4664
|
-
x509Certificate: 'string',
|
|
5022
|
+
MFAAuthenticationStatus: 'string',
|
|
4665
5023
|
};
|
|
4666
5024
|
}
|
|
4667
5025
|
|
|
@@ -4670,20 +5028,17 @@ export class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
|
|
|
4670
5028
|
}
|
|
4671
5029
|
}
|
|
4672
5030
|
|
|
4673
|
-
export class
|
|
5031
|
+
export class SetMFAAuthenticationStatusResponseBody extends $tea.Model {
|
|
4674
5032
|
requestId?: string;
|
|
4675
|
-
SAMLIdentityProviderConfiguration?: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration;
|
|
4676
5033
|
static names(): { [key: string]: string } {
|
|
4677
5034
|
return {
|
|
4678
5035
|
requestId: 'RequestId',
|
|
4679
|
-
SAMLIdentityProviderConfiguration: 'SAMLIdentityProviderConfiguration',
|
|
4680
5036
|
};
|
|
4681
5037
|
}
|
|
4682
5038
|
|
|
4683
5039
|
static types(): { [key: string]: any } {
|
|
4684
5040
|
return {
|
|
4685
5041
|
requestId: 'string',
|
|
4686
|
-
SAMLIdentityProviderConfiguration: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration,
|
|
4687
5042
|
};
|
|
4688
5043
|
}
|
|
4689
5044
|
|
|
@@ -4692,10 +5047,10 @@ export class SetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
|
|
|
4692
5047
|
}
|
|
4693
5048
|
}
|
|
4694
5049
|
|
|
4695
|
-
export class
|
|
4696
|
-
headers
|
|
4697
|
-
statusCode
|
|
4698
|
-
body
|
|
5050
|
+
export class SetMFAAuthenticationStatusResponse extends $tea.Model {
|
|
5051
|
+
headers?: { [key: string]: string };
|
|
5052
|
+
statusCode?: number;
|
|
5053
|
+
body?: SetMFAAuthenticationStatusResponseBody;
|
|
4699
5054
|
static names(): { [key: string]: string } {
|
|
4700
5055
|
return {
|
|
4701
5056
|
headers: 'headers',
|
|
@@ -4708,7 +5063,7 @@ export class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
|
4708
5063
|
return {
|
|
4709
5064
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4710
5065
|
statusCode: 'number',
|
|
4711
|
-
body:
|
|
5066
|
+
body: SetMFAAuthenticationStatusResponseBody,
|
|
4712
5067
|
};
|
|
4713
5068
|
}
|
|
4714
5069
|
|
|
@@ -4717,20 +5072,35 @@ export class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
|
4717
5072
|
}
|
|
4718
5073
|
}
|
|
4719
5074
|
|
|
4720
|
-
export class
|
|
5075
|
+
export class SetPasswordPolicyRequest extends $tea.Model {
|
|
4721
5076
|
directoryId?: string;
|
|
4722
|
-
|
|
5077
|
+
maxLoginAttempts?: number;
|
|
5078
|
+
maxPasswordAge?: number;
|
|
5079
|
+
minPasswordDifferentChars?: number;
|
|
5080
|
+
minPasswordLength?: number;
|
|
5081
|
+
passwordNotContainUsername?: boolean;
|
|
5082
|
+
passwordReusePrevention?: number;
|
|
4723
5083
|
static names(): { [key: string]: string } {
|
|
4724
5084
|
return {
|
|
4725
5085
|
directoryId: 'DirectoryId',
|
|
4726
|
-
|
|
5086
|
+
maxLoginAttempts: 'MaxLoginAttempts',
|
|
5087
|
+
maxPasswordAge: 'MaxPasswordAge',
|
|
5088
|
+
minPasswordDifferentChars: 'MinPasswordDifferentChars',
|
|
5089
|
+
minPasswordLength: 'MinPasswordLength',
|
|
5090
|
+
passwordNotContainUsername: 'PasswordNotContainUsername',
|
|
5091
|
+
passwordReusePrevention: 'PasswordReusePrevention',
|
|
4727
5092
|
};
|
|
4728
5093
|
}
|
|
4729
5094
|
|
|
4730
5095
|
static types(): { [key: string]: any } {
|
|
4731
5096
|
return {
|
|
4732
5097
|
directoryId: 'string',
|
|
4733
|
-
|
|
5098
|
+
maxLoginAttempts: 'number',
|
|
5099
|
+
maxPasswordAge: 'number',
|
|
5100
|
+
minPasswordDifferentChars: 'number',
|
|
5101
|
+
minPasswordLength: 'number',
|
|
5102
|
+
passwordNotContainUsername: 'boolean',
|
|
5103
|
+
passwordReusePrevention: 'number',
|
|
4734
5104
|
};
|
|
4735
5105
|
}
|
|
4736
5106
|
|
|
@@ -4739,7 +5109,7 @@ export class SetMFAAuthenticationStatusRequest extends $tea.Model {
|
|
|
4739
5109
|
}
|
|
4740
5110
|
}
|
|
4741
5111
|
|
|
4742
|
-
export class
|
|
5112
|
+
export class SetPasswordPolicyResponseBody extends $tea.Model {
|
|
4743
5113
|
requestId?: string;
|
|
4744
5114
|
static names(): { [key: string]: string } {
|
|
4745
5115
|
return {
|
|
@@ -4758,10 +5128,10 @@ export class SetMFAAuthenticationStatusResponseBody extends $tea.Model {
|
|
|
4758
5128
|
}
|
|
4759
5129
|
}
|
|
4760
5130
|
|
|
4761
|
-
export class
|
|
4762
|
-
headers
|
|
4763
|
-
statusCode
|
|
4764
|
-
body
|
|
5131
|
+
export class SetPasswordPolicyResponse extends $tea.Model {
|
|
5132
|
+
headers?: { [key: string]: string };
|
|
5133
|
+
statusCode?: number;
|
|
5134
|
+
body?: SetPasswordPolicyResponseBody;
|
|
4765
5135
|
static names(): { [key: string]: string } {
|
|
4766
5136
|
return {
|
|
4767
5137
|
headers: 'headers',
|
|
@@ -4774,7 +5144,7 @@ export class SetMFAAuthenticationStatusResponse extends $tea.Model {
|
|
|
4774
5144
|
return {
|
|
4775
5145
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4776
5146
|
statusCode: 'number',
|
|
4777
|
-
body:
|
|
5147
|
+
body: SetPasswordPolicyResponseBody,
|
|
4778
5148
|
};
|
|
4779
5149
|
}
|
|
4780
5150
|
|
|
@@ -4825,9 +5195,9 @@ export class SetSCIMSynchronizationStatusResponseBody extends $tea.Model {
|
|
|
4825
5195
|
}
|
|
4826
5196
|
|
|
4827
5197
|
export class SetSCIMSynchronizationStatusResponse extends $tea.Model {
|
|
4828
|
-
headers
|
|
4829
|
-
statusCode
|
|
4830
|
-
body
|
|
5198
|
+
headers?: { [key: string]: string };
|
|
5199
|
+
statusCode?: number;
|
|
5200
|
+
body?: SetSCIMSynchronizationStatusResponseBody;
|
|
4831
5201
|
static names(): { [key: string]: string } {
|
|
4832
5202
|
return {
|
|
4833
5203
|
headers: 'headers',
|
|
@@ -4903,9 +5273,9 @@ export class UpdateAccessConfigurationResponseBody extends $tea.Model {
|
|
|
4903
5273
|
}
|
|
4904
5274
|
|
|
4905
5275
|
export class UpdateAccessConfigurationResponse extends $tea.Model {
|
|
4906
|
-
headers
|
|
4907
|
-
statusCode
|
|
4908
|
-
body
|
|
5276
|
+
headers?: { [key: string]: string };
|
|
5277
|
+
statusCode?: number;
|
|
5278
|
+
body?: UpdateAccessConfigurationResponseBody;
|
|
4909
5279
|
static names(): { [key: string]: string } {
|
|
4910
5280
|
return {
|
|
4911
5281
|
headers: 'headers',
|
|
@@ -4972,9 +5342,9 @@ export class UpdateDirectoryResponseBody extends $tea.Model {
|
|
|
4972
5342
|
}
|
|
4973
5343
|
|
|
4974
5344
|
export class UpdateDirectoryResponse extends $tea.Model {
|
|
4975
|
-
headers
|
|
4976
|
-
statusCode
|
|
4977
|
-
body
|
|
5345
|
+
headers?: { [key: string]: string };
|
|
5346
|
+
statusCode?: number;
|
|
5347
|
+
body?: UpdateDirectoryResponseBody;
|
|
4978
5348
|
static names(): { [key: string]: string } {
|
|
4979
5349
|
return {
|
|
4980
5350
|
headers: 'headers',
|
|
@@ -5047,9 +5417,9 @@ export class UpdateGroupResponseBody extends $tea.Model {
|
|
|
5047
5417
|
}
|
|
5048
5418
|
|
|
5049
5419
|
export class UpdateGroupResponse extends $tea.Model {
|
|
5050
|
-
headers
|
|
5051
|
-
statusCode
|
|
5052
|
-
body
|
|
5420
|
+
headers?: { [key: string]: string };
|
|
5421
|
+
statusCode?: number;
|
|
5422
|
+
body?: UpdateGroupResponseBody;
|
|
5053
5423
|
static names(): { [key: string]: string } {
|
|
5054
5424
|
return {
|
|
5055
5425
|
headers: 'headers',
|
|
@@ -5119,9 +5489,9 @@ export class UpdateInlinePolicyForAccessConfigurationResponseBody extends $tea.M
|
|
|
5119
5489
|
}
|
|
5120
5490
|
|
|
5121
5491
|
export class UpdateInlinePolicyForAccessConfigurationResponse extends $tea.Model {
|
|
5122
|
-
headers
|
|
5123
|
-
statusCode
|
|
5124
|
-
body
|
|
5492
|
+
headers?: { [key: string]: string };
|
|
5493
|
+
statusCode?: number;
|
|
5494
|
+
body?: UpdateInlinePolicyForAccessConfigurationResponseBody;
|
|
5125
5495
|
static names(): { [key: string]: string } {
|
|
5126
5496
|
return {
|
|
5127
5497
|
headers: 'headers',
|
|
@@ -5188,9 +5558,9 @@ export class UpdateMFAAuthenticationSettingsResponseBody extends $tea.Model {
|
|
|
5188
5558
|
}
|
|
5189
5559
|
|
|
5190
5560
|
export class UpdateMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
5191
|
-
headers
|
|
5192
|
-
statusCode
|
|
5193
|
-
body
|
|
5561
|
+
headers?: { [key: string]: string };
|
|
5562
|
+
statusCode?: number;
|
|
5563
|
+
body?: UpdateMFAAuthenticationSettingsResponseBody;
|
|
5194
5564
|
static names(): { [key: string]: string } {
|
|
5195
5565
|
return {
|
|
5196
5566
|
headers: 'headers',
|
|
@@ -5260,9 +5630,9 @@ export class UpdateSCIMServerCredentialStatusResponseBody extends $tea.Model {
|
|
|
5260
5630
|
}
|
|
5261
5631
|
|
|
5262
5632
|
export class UpdateSCIMServerCredentialStatusResponse extends $tea.Model {
|
|
5263
|
-
headers
|
|
5264
|
-
statusCode
|
|
5265
|
-
body
|
|
5633
|
+
headers?: { [key: string]: string };
|
|
5634
|
+
statusCode?: number;
|
|
5635
|
+
body?: UpdateSCIMServerCredentialStatusResponseBody;
|
|
5266
5636
|
static names(): { [key: string]: string } {
|
|
5267
5637
|
return {
|
|
5268
5638
|
headers: 'headers',
|
|
@@ -5344,9 +5714,9 @@ export class UpdateUserResponseBody extends $tea.Model {
|
|
|
5344
5714
|
}
|
|
5345
5715
|
|
|
5346
5716
|
export class UpdateUserResponse extends $tea.Model {
|
|
5347
|
-
headers
|
|
5348
|
-
statusCode
|
|
5349
|
-
body
|
|
5717
|
+
headers?: { [key: string]: string };
|
|
5718
|
+
statusCode?: number;
|
|
5719
|
+
body?: UpdateUserResponseBody;
|
|
5350
5720
|
static names(): { [key: string]: string } {
|
|
5351
5721
|
return {
|
|
5352
5722
|
headers: 'headers',
|
|
@@ -5413,9 +5783,9 @@ export class UpdateUserMFAAuthenticationSettingsResponseBody extends $tea.Model
|
|
|
5413
5783
|
}
|
|
5414
5784
|
|
|
5415
5785
|
export class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
5416
|
-
headers
|
|
5417
|
-
statusCode
|
|
5418
|
-
body
|
|
5786
|
+
headers?: { [key: string]: string };
|
|
5787
|
+
statusCode?: number;
|
|
5788
|
+
body?: UpdateUserMFAAuthenticationSettingsResponseBody;
|
|
5419
5789
|
static names(): { [key: string]: string } {
|
|
5420
5790
|
return {
|
|
5421
5791
|
headers: 'headers',
|
|
@@ -5491,9 +5861,9 @@ export class UpdateUserProvisioningResponseBody extends $tea.Model {
|
|
|
5491
5861
|
}
|
|
5492
5862
|
|
|
5493
5863
|
export class UpdateUserProvisioningResponse extends $tea.Model {
|
|
5494
|
-
headers
|
|
5495
|
-
statusCode
|
|
5496
|
-
body
|
|
5864
|
+
headers?: { [key: string]: string };
|
|
5865
|
+
statusCode?: number;
|
|
5866
|
+
body?: UpdateUserProvisioningResponseBody;
|
|
5497
5867
|
static names(): { [key: string]: string } {
|
|
5498
5868
|
return {
|
|
5499
5869
|
headers: 'headers',
|
|
@@ -5563,9 +5933,9 @@ export class UpdateUserProvisioningConfigurationResponseBody extends $tea.Model
|
|
|
5563
5933
|
}
|
|
5564
5934
|
|
|
5565
5935
|
export class UpdateUserProvisioningConfigurationResponse extends $tea.Model {
|
|
5566
|
-
headers
|
|
5567
|
-
statusCode
|
|
5568
|
-
body
|
|
5936
|
+
headers?: { [key: string]: string };
|
|
5937
|
+
statusCode?: number;
|
|
5938
|
+
body?: UpdateUserProvisioningConfigurationResponseBody;
|
|
5569
5939
|
static names(): { [key: string]: string } {
|
|
5570
5940
|
return {
|
|
5571
5941
|
headers: 'headers',
|
|
@@ -5632,9 +6002,9 @@ export class UpdateUserStatusResponseBody extends $tea.Model {
|
|
|
5632
6002
|
}
|
|
5633
6003
|
|
|
5634
6004
|
export class UpdateUserStatusResponse extends $tea.Model {
|
|
5635
|
-
headers
|
|
5636
|
-
statusCode
|
|
5637
|
-
body
|
|
6005
|
+
headers?: { [key: string]: string };
|
|
6006
|
+
statusCode?: number;
|
|
6007
|
+
body?: UpdateUserStatusResponseBody;
|
|
5638
6008
|
static names(): { [key: string]: string } {
|
|
5639
6009
|
return {
|
|
5640
6010
|
headers: 'headers',
|
|
@@ -6313,6 +6683,25 @@ export class GetGroupResponseBodyGroup extends $tea.Model {
|
|
|
6313
6683
|
}
|
|
6314
6684
|
}
|
|
6315
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
|
+
|
|
6316
6705
|
export class GetMFAAuthenticationSettingInfoResponseBodyMFAAuthenticationSettingInfo extends $tea.Model {
|
|
6317
6706
|
mfaAuthenticationAdvanceSettings?: string;
|
|
6318
6707
|
operationForRiskLogin?: string;
|
|
@@ -6335,6 +6724,58 @@ export class GetMFAAuthenticationSettingInfoResponseBodyMFAAuthenticationSetting
|
|
|
6335
6724
|
}
|
|
6336
6725
|
}
|
|
6337
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
|
+
|
|
6338
6779
|
export class GetServiceStatusResponseBodyServiceStatus extends $tea.Model {
|
|
6339
6780
|
accountId?: string;
|
|
6340
6781
|
prerequisiteCheckResult?: string;
|
|
@@ -6461,11 +6902,34 @@ export class GetTaskStatusResponseBodyTaskStatus extends $tea.Model {
|
|
|
6461
6902
|
}
|
|
6462
6903
|
}
|
|
6463
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
|
+
|
|
6464
6927
|
export class GetUserResponseBodyUser extends $tea.Model {
|
|
6465
6928
|
createTime?: string;
|
|
6466
6929
|
description?: string;
|
|
6467
6930
|
displayName?: string;
|
|
6468
6931
|
email?: string;
|
|
6932
|
+
externalId?: GetUserResponseBodyUserExternalId;
|
|
6469
6933
|
firstName?: string;
|
|
6470
6934
|
lastName?: string;
|
|
6471
6935
|
provisionType?: string;
|
|
@@ -6479,6 +6943,7 @@ export class GetUserResponseBodyUser extends $tea.Model {
|
|
|
6479
6943
|
description: 'Description',
|
|
6480
6944
|
displayName: 'DisplayName',
|
|
6481
6945
|
email: 'Email',
|
|
6946
|
+
externalId: 'ExternalId',
|
|
6482
6947
|
firstName: 'FirstName',
|
|
6483
6948
|
lastName: 'LastName',
|
|
6484
6949
|
provisionType: 'ProvisionType',
|
|
@@ -6495,6 +6960,7 @@ export class GetUserResponseBodyUser extends $tea.Model {
|
|
|
6495
6960
|
description: 'string',
|
|
6496
6961
|
displayName: 'string',
|
|
6497
6962
|
email: 'string',
|
|
6963
|
+
externalId: GetUserResponseBodyUserExternalId,
|
|
6498
6964
|
firstName: 'string',
|
|
6499
6965
|
lastName: 'string',
|
|
6500
6966
|
provisionType: 'string',
|
|
@@ -6510,6 +6976,28 @@ export class GetUserResponseBodyUser extends $tea.Model {
|
|
|
6510
6976
|
}
|
|
6511
6977
|
}
|
|
6512
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
|
+
|
|
6513
7001
|
export class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
|
|
6514
7002
|
createTime?: string;
|
|
6515
7003
|
deletionStrategy?: string;
|
|
@@ -7366,11 +7854,34 @@ export class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Mod
|
|
|
7366
7854
|
}
|
|
7367
7855
|
}
|
|
7368
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
|
+
|
|
7369
7879
|
export class ListUsersResponseBodyUsers extends $tea.Model {
|
|
7370
7880
|
createTime?: string;
|
|
7371
7881
|
description?: string;
|
|
7372
7882
|
displayName?: string;
|
|
7373
7883
|
email?: string;
|
|
7884
|
+
externalId?: ListUsersResponseBodyUsersExternalId;
|
|
7374
7885
|
firstName?: string;
|
|
7375
7886
|
lastName?: string;
|
|
7376
7887
|
provisionType?: string;
|
|
@@ -7384,6 +7895,7 @@ export class ListUsersResponseBodyUsers extends $tea.Model {
|
|
|
7384
7895
|
description: 'Description',
|
|
7385
7896
|
displayName: 'DisplayName',
|
|
7386
7897
|
email: 'Email',
|
|
7898
|
+
externalId: 'ExternalId',
|
|
7387
7899
|
firstName: 'FirstName',
|
|
7388
7900
|
lastName: 'LastName',
|
|
7389
7901
|
provisionType: 'ProvisionType',
|
|
@@ -7400,6 +7912,7 @@ export class ListUsersResponseBodyUsers extends $tea.Model {
|
|
|
7400
7912
|
description: 'string',
|
|
7401
7913
|
displayName: 'string',
|
|
7402
7914
|
email: 'string',
|
|
7915
|
+
externalId: ListUsersResponseBodyUsersExternalId,
|
|
7403
7916
|
firstName: 'string',
|
|
7404
7917
|
lastName: 'string',
|
|
7405
7918
|
provisionType: 'string',
|
|
@@ -8013,7 +8526,7 @@ export default class Client extends OpenApi {
|
|
|
8013
8526
|
}
|
|
8014
8527
|
|
|
8015
8528
|
/**
|
|
8016
|
-
* When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of task
|
|
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.
|
|
8017
8530
|
* For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
|
|
8018
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.
|
|
8019
8532
|
*
|
|
@@ -8066,7 +8579,7 @@ export default class Client extends OpenApi {
|
|
|
8066
8579
|
}
|
|
8067
8580
|
|
|
8068
8581
|
/**
|
|
8069
|
-
* When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of task
|
|
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.
|
|
8070
8583
|
* For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
|
|
8071
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.
|
|
8072
8585
|
*
|
|
@@ -9265,6 +9778,35 @@ export default class Client extends OpenApi {
|
|
|
9265
9778
|
return await this.getGroupWithOptions(request, runtime);
|
|
9266
9779
|
}
|
|
9267
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
|
+
|
|
9268
9810
|
/**
|
|
9269
9811
|
* If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
|
|
9270
9812
|
* This topic provides an example on how to query the MFA setting of all CloudSSO users that belong to the directory named `00q8wbq42wiltcrk****`.
|
|
@@ -9395,6 +9937,35 @@ export default class Client extends OpenApi {
|
|
|
9395
9937
|
return await this.getMFAAuthenticationStatusWithOptions(request, runtime);
|
|
9396
9938
|
}
|
|
9397
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
|
+
|
|
9398
9969
|
/**
|
|
9399
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.
|
|
9400
9971
|
*
|
|
@@ -9505,7 +10076,7 @@ export default class Client extends OpenApi {
|
|
|
9505
10076
|
}
|
|
9506
10077
|
|
|
9507
10078
|
/**
|
|
9508
|
-
* 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,
|
|
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.
|
|
9509
10080
|
* This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
|
|
9510
10081
|
*
|
|
9511
10082
|
* @param request GetTaskStatusRequest
|
|
@@ -9541,7 +10112,7 @@ export default class Client extends OpenApi {
|
|
|
9541
10112
|
}
|
|
9542
10113
|
|
|
9543
10114
|
/**
|
|
9544
|
-
* 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,
|
|
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.
|
|
9545
10116
|
* This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
|
|
9546
10117
|
*
|
|
9547
10118
|
* @param request GetTaskStatusRequest
|
|
@@ -9598,6 +10169,45 @@ export default class Client extends OpenApi {
|
|
|
9598
10169
|
return await this.getUserWithOptions(request, runtime);
|
|
9599
10170
|
}
|
|
9600
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
|
+
|
|
9601
10211
|
/**
|
|
9602
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.
|
|
9603
10213
|
*
|
|
@@ -9806,7 +10416,7 @@ export default class Client extends OpenApi {
|
|
|
9806
10416
|
}
|
|
9807
10417
|
|
|
9808
10418
|
/**
|
|
9809
|
-
* This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory
|
|
10419
|
+
* This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
|
|
9810
10420
|
*
|
|
9811
10421
|
* @param request ListAccessAssignmentsRequest
|
|
9812
10422
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9865,7 +10475,7 @@ export default class Client extends OpenApi {
|
|
|
9865
10475
|
}
|
|
9866
10476
|
|
|
9867
10477
|
/**
|
|
9868
|
-
* This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory
|
|
10478
|
+
* This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
|
|
9869
10479
|
*
|
|
9870
10480
|
* @param request ListAccessAssignmentsRequest
|
|
9871
10481
|
* @return ListAccessAssignmentsResponse
|
|
@@ -11009,6 +11619,39 @@ export default class Client extends OpenApi {
|
|
|
11009
11619
|
return await this.setExternalSAMLIdentityProviderWithOptions(request, runtime);
|
|
11010
11620
|
}
|
|
11011
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
|
+
|
|
11012
11655
|
/**
|
|
11013
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.
|
|
11014
11657
|
* This topic provides an example on how to enable MFA for users.
|
|
@@ -11057,6 +11700,59 @@ export default class Client extends OpenApi {
|
|
|
11057
11700
|
return await this.setMFAAuthenticationStatusWithOptions(request, runtime);
|
|
11058
11701
|
}
|
|
11059
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
|
+
|
|
11060
11756
|
/**
|
|
11061
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:
|
|
11062
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.
|