@alicloud/cloudsso20210515 1.0.0 → 1.0.2
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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +235 -0
- package/dist/client.js +1088 -305
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +1413 -313
package/src/client.ts
CHANGED
|
@@ -54,10 +54,12 @@ export class AddExternalSAMLIdPCertificateResponseBody extends $tea.Model {
|
|
|
54
54
|
|
|
55
55
|
export class AddExternalSAMLIdPCertificateResponse extends $tea.Model {
|
|
56
56
|
headers: { [key: string]: string };
|
|
57
|
+
statusCode: number;
|
|
57
58
|
body: AddExternalSAMLIdPCertificateResponseBody;
|
|
58
59
|
static names(): { [key: string]: string } {
|
|
59
60
|
return {
|
|
60
61
|
headers: 'headers',
|
|
62
|
+
statusCode: 'statusCode',
|
|
61
63
|
body: 'body',
|
|
62
64
|
};
|
|
63
65
|
}
|
|
@@ -65,6 +67,7 @@ export class AddExternalSAMLIdPCertificateResponse extends $tea.Model {
|
|
|
65
67
|
static types(): { [key: string]: any } {
|
|
66
68
|
return {
|
|
67
69
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
70
|
+
statusCode: 'number',
|
|
68
71
|
body: AddExternalSAMLIdPCertificateResponseBody,
|
|
69
72
|
};
|
|
70
73
|
}
|
|
@@ -126,10 +129,12 @@ export class AddPermissionPolicyToAccessConfigurationResponseBody extends $tea.M
|
|
|
126
129
|
|
|
127
130
|
export class AddPermissionPolicyToAccessConfigurationResponse extends $tea.Model {
|
|
128
131
|
headers: { [key: string]: string };
|
|
132
|
+
statusCode: number;
|
|
129
133
|
body: AddPermissionPolicyToAccessConfigurationResponseBody;
|
|
130
134
|
static names(): { [key: string]: string } {
|
|
131
135
|
return {
|
|
132
136
|
headers: 'headers',
|
|
137
|
+
statusCode: 'statusCode',
|
|
133
138
|
body: 'body',
|
|
134
139
|
};
|
|
135
140
|
}
|
|
@@ -137,6 +142,7 @@ export class AddPermissionPolicyToAccessConfigurationResponse extends $tea.Model
|
|
|
137
142
|
static types(): { [key: string]: any } {
|
|
138
143
|
return {
|
|
139
144
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
145
|
+
statusCode: 'number',
|
|
140
146
|
body: AddPermissionPolicyToAccessConfigurationResponseBody,
|
|
141
147
|
};
|
|
142
148
|
}
|
|
@@ -192,10 +198,12 @@ export class AddUserToGroupResponseBody extends $tea.Model {
|
|
|
192
198
|
|
|
193
199
|
export class AddUserToGroupResponse extends $tea.Model {
|
|
194
200
|
headers: { [key: string]: string };
|
|
201
|
+
statusCode: number;
|
|
195
202
|
body: AddUserToGroupResponseBody;
|
|
196
203
|
static names(): { [key: string]: string } {
|
|
197
204
|
return {
|
|
198
205
|
headers: 'headers',
|
|
206
|
+
statusCode: 'statusCode',
|
|
199
207
|
body: 'body',
|
|
200
208
|
};
|
|
201
209
|
}
|
|
@@ -203,6 +211,7 @@ export class AddUserToGroupResponse extends $tea.Model {
|
|
|
203
211
|
static types(): { [key: string]: any } {
|
|
204
212
|
return {
|
|
205
213
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
214
|
+
statusCode: 'number',
|
|
206
215
|
body: AddUserToGroupResponseBody,
|
|
207
216
|
};
|
|
208
217
|
}
|
|
@@ -252,10 +261,12 @@ export class ClearExternalSAMLIdentityProviderResponseBody extends $tea.Model {
|
|
|
252
261
|
|
|
253
262
|
export class ClearExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
254
263
|
headers: { [key: string]: string };
|
|
264
|
+
statusCode: number;
|
|
255
265
|
body: ClearExternalSAMLIdentityProviderResponseBody;
|
|
256
266
|
static names(): { [key: string]: string } {
|
|
257
267
|
return {
|
|
258
268
|
headers: 'headers',
|
|
269
|
+
statusCode: 'statusCode',
|
|
259
270
|
body: 'body',
|
|
260
271
|
};
|
|
261
272
|
}
|
|
@@ -263,6 +274,7 @@ export class ClearExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
|
263
274
|
static types(): { [key: string]: any } {
|
|
264
275
|
return {
|
|
265
276
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
277
|
+
statusCode: 'number',
|
|
266
278
|
body: ClearExternalSAMLIdentityProviderResponseBody,
|
|
267
279
|
};
|
|
268
280
|
}
|
|
@@ -330,10 +342,12 @@ export class CreateAccessAssignmentResponseBody extends $tea.Model {
|
|
|
330
342
|
|
|
331
343
|
export class CreateAccessAssignmentResponse extends $tea.Model {
|
|
332
344
|
headers: { [key: string]: string };
|
|
345
|
+
statusCode: number;
|
|
333
346
|
body: CreateAccessAssignmentResponseBody;
|
|
334
347
|
static names(): { [key: string]: string } {
|
|
335
348
|
return {
|
|
336
349
|
headers: 'headers',
|
|
350
|
+
statusCode: 'statusCode',
|
|
337
351
|
body: 'body',
|
|
338
352
|
};
|
|
339
353
|
}
|
|
@@ -341,6 +355,7 @@ export class CreateAccessAssignmentResponse extends $tea.Model {
|
|
|
341
355
|
static types(): { [key: string]: any } {
|
|
342
356
|
return {
|
|
343
357
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
358
|
+
statusCode: 'number',
|
|
344
359
|
body: CreateAccessAssignmentResponseBody,
|
|
345
360
|
};
|
|
346
361
|
}
|
|
@@ -405,10 +420,12 @@ export class CreateAccessConfigurationResponseBody extends $tea.Model {
|
|
|
405
420
|
|
|
406
421
|
export class CreateAccessConfigurationResponse extends $tea.Model {
|
|
407
422
|
headers: { [key: string]: string };
|
|
423
|
+
statusCode: number;
|
|
408
424
|
body: CreateAccessConfigurationResponseBody;
|
|
409
425
|
static names(): { [key: string]: string } {
|
|
410
426
|
return {
|
|
411
427
|
headers: 'headers',
|
|
428
|
+
statusCode: 'statusCode',
|
|
412
429
|
body: 'body',
|
|
413
430
|
};
|
|
414
431
|
}
|
|
@@ -416,6 +433,7 @@ export class CreateAccessConfigurationResponse extends $tea.Model {
|
|
|
416
433
|
static types(): { [key: string]: any } {
|
|
417
434
|
return {
|
|
418
435
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
436
|
+
statusCode: 'number',
|
|
419
437
|
body: CreateAccessConfigurationResponseBody,
|
|
420
438
|
};
|
|
421
439
|
}
|
|
@@ -468,10 +486,12 @@ export class CreateDirectoryResponseBody extends $tea.Model {
|
|
|
468
486
|
|
|
469
487
|
export class CreateDirectoryResponse extends $tea.Model {
|
|
470
488
|
headers: { [key: string]: string };
|
|
489
|
+
statusCode: number;
|
|
471
490
|
body: CreateDirectoryResponseBody;
|
|
472
491
|
static names(): { [key: string]: string } {
|
|
473
492
|
return {
|
|
474
493
|
headers: 'headers',
|
|
494
|
+
statusCode: 'statusCode',
|
|
475
495
|
body: 'body',
|
|
476
496
|
};
|
|
477
497
|
}
|
|
@@ -479,6 +499,7 @@ export class CreateDirectoryResponse extends $tea.Model {
|
|
|
479
499
|
static types(): { [key: string]: any } {
|
|
480
500
|
return {
|
|
481
501
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
502
|
+
statusCode: 'number',
|
|
482
503
|
body: CreateDirectoryResponseBody,
|
|
483
504
|
};
|
|
484
505
|
}
|
|
@@ -537,10 +558,12 @@ export class CreateGroupResponseBody extends $tea.Model {
|
|
|
537
558
|
|
|
538
559
|
export class CreateGroupResponse extends $tea.Model {
|
|
539
560
|
headers: { [key: string]: string };
|
|
561
|
+
statusCode: number;
|
|
540
562
|
body: CreateGroupResponseBody;
|
|
541
563
|
static names(): { [key: string]: string } {
|
|
542
564
|
return {
|
|
543
565
|
headers: 'headers',
|
|
566
|
+
statusCode: 'statusCode',
|
|
544
567
|
body: 'body',
|
|
545
568
|
};
|
|
546
569
|
}
|
|
@@ -548,6 +571,7 @@ export class CreateGroupResponse extends $tea.Model {
|
|
|
548
571
|
static types(): { [key: string]: any } {
|
|
549
572
|
return {
|
|
550
573
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
574
|
+
statusCode: 'number',
|
|
551
575
|
body: CreateGroupResponseBody,
|
|
552
576
|
};
|
|
553
577
|
}
|
|
@@ -600,10 +624,12 @@ export class CreateSCIMServerCredentialResponseBody extends $tea.Model {
|
|
|
600
624
|
|
|
601
625
|
export class CreateSCIMServerCredentialResponse extends $tea.Model {
|
|
602
626
|
headers: { [key: string]: string };
|
|
627
|
+
statusCode: number;
|
|
603
628
|
body: CreateSCIMServerCredentialResponseBody;
|
|
604
629
|
static names(): { [key: string]: string } {
|
|
605
630
|
return {
|
|
606
631
|
headers: 'headers',
|
|
632
|
+
statusCode: 'statusCode',
|
|
607
633
|
body: 'body',
|
|
608
634
|
};
|
|
609
635
|
}
|
|
@@ -611,6 +637,7 @@ export class CreateSCIMServerCredentialResponse extends $tea.Model {
|
|
|
611
637
|
static types(): { [key: string]: any } {
|
|
612
638
|
return {
|
|
613
639
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
640
|
+
statusCode: 'number',
|
|
614
641
|
body: CreateSCIMServerCredentialResponseBody,
|
|
615
642
|
};
|
|
616
643
|
}
|
|
@@ -684,10 +711,12 @@ export class CreateUserResponseBody extends $tea.Model {
|
|
|
684
711
|
|
|
685
712
|
export class CreateUserResponse extends $tea.Model {
|
|
686
713
|
headers: { [key: string]: string };
|
|
714
|
+
statusCode: number;
|
|
687
715
|
body: CreateUserResponseBody;
|
|
688
716
|
static names(): { [key: string]: string } {
|
|
689
717
|
return {
|
|
690
718
|
headers: 'headers',
|
|
719
|
+
statusCode: 'statusCode',
|
|
691
720
|
body: 'body',
|
|
692
721
|
};
|
|
693
722
|
}
|
|
@@ -695,6 +724,7 @@ export class CreateUserResponse extends $tea.Model {
|
|
|
695
724
|
static types(): { [key: string]: any } {
|
|
696
725
|
return {
|
|
697
726
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
727
|
+
statusCode: 'number',
|
|
698
728
|
body: CreateUserResponseBody,
|
|
699
729
|
};
|
|
700
730
|
}
|
|
@@ -765,10 +795,12 @@ export class DeleteAccessAssignmentResponseBody extends $tea.Model {
|
|
|
765
795
|
|
|
766
796
|
export class DeleteAccessAssignmentResponse extends $tea.Model {
|
|
767
797
|
headers: { [key: string]: string };
|
|
798
|
+
statusCode: number;
|
|
768
799
|
body: DeleteAccessAssignmentResponseBody;
|
|
769
800
|
static names(): { [key: string]: string } {
|
|
770
801
|
return {
|
|
771
802
|
headers: 'headers',
|
|
803
|
+
statusCode: 'statusCode',
|
|
772
804
|
body: 'body',
|
|
773
805
|
};
|
|
774
806
|
}
|
|
@@ -776,6 +808,7 @@ export class DeleteAccessAssignmentResponse extends $tea.Model {
|
|
|
776
808
|
static types(): { [key: string]: any } {
|
|
777
809
|
return {
|
|
778
810
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
811
|
+
statusCode: 'number',
|
|
779
812
|
body: DeleteAccessAssignmentResponseBody,
|
|
780
813
|
};
|
|
781
814
|
}
|
|
@@ -831,10 +864,12 @@ export class DeleteAccessConfigurationResponseBody extends $tea.Model {
|
|
|
831
864
|
|
|
832
865
|
export class DeleteAccessConfigurationResponse extends $tea.Model {
|
|
833
866
|
headers: { [key: string]: string };
|
|
867
|
+
statusCode: number;
|
|
834
868
|
body: DeleteAccessConfigurationResponseBody;
|
|
835
869
|
static names(): { [key: string]: string } {
|
|
836
870
|
return {
|
|
837
871
|
headers: 'headers',
|
|
872
|
+
statusCode: 'statusCode',
|
|
838
873
|
body: 'body',
|
|
839
874
|
};
|
|
840
875
|
}
|
|
@@ -842,6 +877,7 @@ export class DeleteAccessConfigurationResponse extends $tea.Model {
|
|
|
842
877
|
static types(): { [key: string]: any } {
|
|
843
878
|
return {
|
|
844
879
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
880
|
+
statusCode: 'number',
|
|
845
881
|
body: DeleteAccessConfigurationResponseBody,
|
|
846
882
|
};
|
|
847
883
|
}
|
|
@@ -891,10 +927,12 @@ export class DeleteDirectoryResponseBody extends $tea.Model {
|
|
|
891
927
|
|
|
892
928
|
export class DeleteDirectoryResponse extends $tea.Model {
|
|
893
929
|
headers: { [key: string]: string };
|
|
930
|
+
statusCode: number;
|
|
894
931
|
body: DeleteDirectoryResponseBody;
|
|
895
932
|
static names(): { [key: string]: string } {
|
|
896
933
|
return {
|
|
897
934
|
headers: 'headers',
|
|
935
|
+
statusCode: 'statusCode',
|
|
898
936
|
body: 'body',
|
|
899
937
|
};
|
|
900
938
|
}
|
|
@@ -902,6 +940,7 @@ export class DeleteDirectoryResponse extends $tea.Model {
|
|
|
902
940
|
static types(): { [key: string]: any } {
|
|
903
941
|
return {
|
|
904
942
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
943
|
+
statusCode: 'number',
|
|
905
944
|
body: DeleteDirectoryResponseBody,
|
|
906
945
|
};
|
|
907
946
|
}
|
|
@@ -954,10 +993,12 @@ export class DeleteGroupResponseBody extends $tea.Model {
|
|
|
954
993
|
|
|
955
994
|
export class DeleteGroupResponse extends $tea.Model {
|
|
956
995
|
headers: { [key: string]: string };
|
|
996
|
+
statusCode: number;
|
|
957
997
|
body: DeleteGroupResponseBody;
|
|
958
998
|
static names(): { [key: string]: string } {
|
|
959
999
|
return {
|
|
960
1000
|
headers: 'headers',
|
|
1001
|
+
statusCode: 'statusCode',
|
|
961
1002
|
body: 'body',
|
|
962
1003
|
};
|
|
963
1004
|
}
|
|
@@ -965,6 +1006,7 @@ export class DeleteGroupResponse extends $tea.Model {
|
|
|
965
1006
|
static types(): { [key: string]: any } {
|
|
966
1007
|
return {
|
|
967
1008
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1009
|
+
statusCode: 'number',
|
|
968
1010
|
body: DeleteGroupResponseBody,
|
|
969
1011
|
};
|
|
970
1012
|
}
|
|
@@ -1020,10 +1062,12 @@ export class DeleteMFADeviceForUserResponseBody extends $tea.Model {
|
|
|
1020
1062
|
|
|
1021
1063
|
export class DeleteMFADeviceForUserResponse extends $tea.Model {
|
|
1022
1064
|
headers: { [key: string]: string };
|
|
1065
|
+
statusCode: number;
|
|
1023
1066
|
body: DeleteMFADeviceForUserResponseBody;
|
|
1024
1067
|
static names(): { [key: string]: string } {
|
|
1025
1068
|
return {
|
|
1026
1069
|
headers: 'headers',
|
|
1070
|
+
statusCode: 'statusCode',
|
|
1027
1071
|
body: 'body',
|
|
1028
1072
|
};
|
|
1029
1073
|
}
|
|
@@ -1031,6 +1075,7 @@ export class DeleteMFADeviceForUserResponse extends $tea.Model {
|
|
|
1031
1075
|
static types(): { [key: string]: any } {
|
|
1032
1076
|
return {
|
|
1033
1077
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1078
|
+
statusCode: 'number',
|
|
1034
1079
|
body: DeleteMFADeviceForUserResponseBody,
|
|
1035
1080
|
};
|
|
1036
1081
|
}
|
|
@@ -1083,10 +1128,12 @@ export class DeleteSCIMServerCredentialResponseBody extends $tea.Model {
|
|
|
1083
1128
|
|
|
1084
1129
|
export class DeleteSCIMServerCredentialResponse extends $tea.Model {
|
|
1085
1130
|
headers: { [key: string]: string };
|
|
1131
|
+
statusCode: number;
|
|
1086
1132
|
body: DeleteSCIMServerCredentialResponseBody;
|
|
1087
1133
|
static names(): { [key: string]: string } {
|
|
1088
1134
|
return {
|
|
1089
1135
|
headers: 'headers',
|
|
1136
|
+
statusCode: 'statusCode',
|
|
1090
1137
|
body: 'body',
|
|
1091
1138
|
};
|
|
1092
1139
|
}
|
|
@@ -1094,6 +1141,7 @@ export class DeleteSCIMServerCredentialResponse extends $tea.Model {
|
|
|
1094
1141
|
static types(): { [key: string]: any } {
|
|
1095
1142
|
return {
|
|
1096
1143
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1144
|
+
statusCode: 'number',
|
|
1097
1145
|
body: DeleteSCIMServerCredentialResponseBody,
|
|
1098
1146
|
};
|
|
1099
1147
|
}
|
|
@@ -1146,10 +1194,12 @@ export class DeleteUserResponseBody extends $tea.Model {
|
|
|
1146
1194
|
|
|
1147
1195
|
export class DeleteUserResponse extends $tea.Model {
|
|
1148
1196
|
headers: { [key: string]: string };
|
|
1197
|
+
statusCode: number;
|
|
1149
1198
|
body: DeleteUserResponseBody;
|
|
1150
1199
|
static names(): { [key: string]: string } {
|
|
1151
1200
|
return {
|
|
1152
1201
|
headers: 'headers',
|
|
1202
|
+
statusCode: 'statusCode',
|
|
1153
1203
|
body: 'body',
|
|
1154
1204
|
};
|
|
1155
1205
|
}
|
|
@@ -1157,6 +1207,7 @@ export class DeleteUserResponse extends $tea.Model {
|
|
|
1157
1207
|
static types(): { [key: string]: any } {
|
|
1158
1208
|
return {
|
|
1159
1209
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1210
|
+
statusCode: 'number',
|
|
1160
1211
|
body: DeleteUserResponseBody,
|
|
1161
1212
|
};
|
|
1162
1213
|
}
|
|
@@ -1218,10 +1269,12 @@ export class DeprovisionAccessConfigurationResponseBody extends $tea.Model {
|
|
|
1218
1269
|
|
|
1219
1270
|
export class DeprovisionAccessConfigurationResponse extends $tea.Model {
|
|
1220
1271
|
headers: { [key: string]: string };
|
|
1272
|
+
statusCode: number;
|
|
1221
1273
|
body: DeprovisionAccessConfigurationResponseBody;
|
|
1222
1274
|
static names(): { [key: string]: string } {
|
|
1223
1275
|
return {
|
|
1224
1276
|
headers: 'headers',
|
|
1277
|
+
statusCode: 'statusCode',
|
|
1225
1278
|
body: 'body',
|
|
1226
1279
|
};
|
|
1227
1280
|
}
|
|
@@ -1229,6 +1282,7 @@ export class DeprovisionAccessConfigurationResponse extends $tea.Model {
|
|
|
1229
1282
|
static types(): { [key: string]: any } {
|
|
1230
1283
|
return {
|
|
1231
1284
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1285
|
+
statusCode: 'number',
|
|
1232
1286
|
body: DeprovisionAccessConfigurationResponseBody,
|
|
1233
1287
|
};
|
|
1234
1288
|
}
|
|
@@ -1259,10 +1313,12 @@ export class DisableServiceResponseBody extends $tea.Model {
|
|
|
1259
1313
|
|
|
1260
1314
|
export class DisableServiceResponse extends $tea.Model {
|
|
1261
1315
|
headers: { [key: string]: string };
|
|
1316
|
+
statusCode: number;
|
|
1262
1317
|
body: DisableServiceResponseBody;
|
|
1263
1318
|
static names(): { [key: string]: string } {
|
|
1264
1319
|
return {
|
|
1265
1320
|
headers: 'headers',
|
|
1321
|
+
statusCode: 'statusCode',
|
|
1266
1322
|
body: 'body',
|
|
1267
1323
|
};
|
|
1268
1324
|
}
|
|
@@ -1270,6 +1326,7 @@ export class DisableServiceResponse extends $tea.Model {
|
|
|
1270
1326
|
static types(): { [key: string]: any } {
|
|
1271
1327
|
return {
|
|
1272
1328
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1329
|
+
statusCode: 'number',
|
|
1273
1330
|
body: DisableServiceResponseBody,
|
|
1274
1331
|
};
|
|
1275
1332
|
}
|
|
@@ -1300,10 +1357,12 @@ export class EnableServiceResponseBody extends $tea.Model {
|
|
|
1300
1357
|
|
|
1301
1358
|
export class EnableServiceResponse extends $tea.Model {
|
|
1302
1359
|
headers: { [key: string]: string };
|
|
1360
|
+
statusCode: number;
|
|
1303
1361
|
body: EnableServiceResponseBody;
|
|
1304
1362
|
static names(): { [key: string]: string } {
|
|
1305
1363
|
return {
|
|
1306
1364
|
headers: 'headers',
|
|
1365
|
+
statusCode: 'statusCode',
|
|
1307
1366
|
body: 'body',
|
|
1308
1367
|
};
|
|
1309
1368
|
}
|
|
@@ -1311,6 +1370,7 @@ export class EnableServiceResponse extends $tea.Model {
|
|
|
1311
1370
|
static types(): { [key: string]: any } {
|
|
1312
1371
|
return {
|
|
1313
1372
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1373
|
+
statusCode: 'number',
|
|
1314
1374
|
body: EnableServiceResponseBody,
|
|
1315
1375
|
};
|
|
1316
1376
|
}
|
|
@@ -1366,10 +1426,12 @@ export class GetAccessConfigurationResponseBody extends $tea.Model {
|
|
|
1366
1426
|
|
|
1367
1427
|
export class GetAccessConfigurationResponse extends $tea.Model {
|
|
1368
1428
|
headers: { [key: string]: string };
|
|
1429
|
+
statusCode: number;
|
|
1369
1430
|
body: GetAccessConfigurationResponseBody;
|
|
1370
1431
|
static names(): { [key: string]: string } {
|
|
1371
1432
|
return {
|
|
1372
1433
|
headers: 'headers',
|
|
1434
|
+
statusCode: 'statusCode',
|
|
1373
1435
|
body: 'body',
|
|
1374
1436
|
};
|
|
1375
1437
|
}
|
|
@@ -1377,6 +1439,7 @@ export class GetAccessConfigurationResponse extends $tea.Model {
|
|
|
1377
1439
|
static types(): { [key: string]: any } {
|
|
1378
1440
|
return {
|
|
1379
1441
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1442
|
+
statusCode: 'number',
|
|
1380
1443
|
body: GetAccessConfigurationResponseBody,
|
|
1381
1444
|
};
|
|
1382
1445
|
}
|
|
@@ -1429,10 +1492,12 @@ export class GetDirectoryResponseBody extends $tea.Model {
|
|
|
1429
1492
|
|
|
1430
1493
|
export class GetDirectoryResponse extends $tea.Model {
|
|
1431
1494
|
headers: { [key: string]: string };
|
|
1495
|
+
statusCode: number;
|
|
1432
1496
|
body: GetDirectoryResponseBody;
|
|
1433
1497
|
static names(): { [key: string]: string } {
|
|
1434
1498
|
return {
|
|
1435
1499
|
headers: 'headers',
|
|
1500
|
+
statusCode: 'statusCode',
|
|
1436
1501
|
body: 'body',
|
|
1437
1502
|
};
|
|
1438
1503
|
}
|
|
@@ -1440,6 +1505,7 @@ export class GetDirectoryResponse extends $tea.Model {
|
|
|
1440
1505
|
static types(): { [key: string]: any } {
|
|
1441
1506
|
return {
|
|
1442
1507
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1508
|
+
statusCode: 'number',
|
|
1443
1509
|
body: GetDirectoryResponseBody,
|
|
1444
1510
|
};
|
|
1445
1511
|
}
|
|
@@ -1492,10 +1558,12 @@ export class GetDirectorySAMLServiceProviderInfoResponseBody extends $tea.Model
|
|
|
1492
1558
|
|
|
1493
1559
|
export class GetDirectorySAMLServiceProviderInfoResponse extends $tea.Model {
|
|
1494
1560
|
headers: { [key: string]: string };
|
|
1561
|
+
statusCode: number;
|
|
1495
1562
|
body: GetDirectorySAMLServiceProviderInfoResponseBody;
|
|
1496
1563
|
static names(): { [key: string]: string } {
|
|
1497
1564
|
return {
|
|
1498
1565
|
headers: 'headers',
|
|
1566
|
+
statusCode: 'statusCode',
|
|
1499
1567
|
body: 'body',
|
|
1500
1568
|
};
|
|
1501
1569
|
}
|
|
@@ -1503,6 +1571,7 @@ export class GetDirectorySAMLServiceProviderInfoResponse extends $tea.Model {
|
|
|
1503
1571
|
static types(): { [key: string]: any } {
|
|
1504
1572
|
return {
|
|
1505
1573
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1574
|
+
statusCode: 'number',
|
|
1506
1575
|
body: GetDirectorySAMLServiceProviderInfoResponseBody,
|
|
1507
1576
|
};
|
|
1508
1577
|
}
|
|
@@ -1555,10 +1624,12 @@ export class GetDirectoryStatisticsResponseBody extends $tea.Model {
|
|
|
1555
1624
|
|
|
1556
1625
|
export class GetDirectoryStatisticsResponse extends $tea.Model {
|
|
1557
1626
|
headers: { [key: string]: string };
|
|
1627
|
+
statusCode: number;
|
|
1558
1628
|
body: GetDirectoryStatisticsResponseBody;
|
|
1559
1629
|
static names(): { [key: string]: string } {
|
|
1560
1630
|
return {
|
|
1561
1631
|
headers: 'headers',
|
|
1632
|
+
statusCode: 'statusCode',
|
|
1562
1633
|
body: 'body',
|
|
1563
1634
|
};
|
|
1564
1635
|
}
|
|
@@ -1566,6 +1637,7 @@ export class GetDirectoryStatisticsResponse extends $tea.Model {
|
|
|
1566
1637
|
static types(): { [key: string]: any } {
|
|
1567
1638
|
return {
|
|
1568
1639
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1640
|
+
statusCode: 'number',
|
|
1569
1641
|
body: GetDirectoryStatisticsResponseBody,
|
|
1570
1642
|
};
|
|
1571
1643
|
}
|
|
@@ -1618,10 +1690,12 @@ export class GetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
|
|
|
1618
1690
|
|
|
1619
1691
|
export class GetExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
1620
1692
|
headers: { [key: string]: string };
|
|
1693
|
+
statusCode: number;
|
|
1621
1694
|
body: GetExternalSAMLIdentityProviderResponseBody;
|
|
1622
1695
|
static names(): { [key: string]: string } {
|
|
1623
1696
|
return {
|
|
1624
1697
|
headers: 'headers',
|
|
1698
|
+
statusCode: 'statusCode',
|
|
1625
1699
|
body: 'body',
|
|
1626
1700
|
};
|
|
1627
1701
|
}
|
|
@@ -1629,6 +1703,7 @@ export class GetExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
|
1629
1703
|
static types(): { [key: string]: any } {
|
|
1630
1704
|
return {
|
|
1631
1705
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1706
|
+
statusCode: 'number',
|
|
1632
1707
|
body: GetExternalSAMLIdentityProviderResponseBody,
|
|
1633
1708
|
};
|
|
1634
1709
|
}
|
|
@@ -1684,10 +1759,12 @@ export class GetGroupResponseBody extends $tea.Model {
|
|
|
1684
1759
|
|
|
1685
1760
|
export class GetGroupResponse extends $tea.Model {
|
|
1686
1761
|
headers: { [key: string]: string };
|
|
1762
|
+
statusCode: number;
|
|
1687
1763
|
body: GetGroupResponseBody;
|
|
1688
1764
|
static names(): { [key: string]: string } {
|
|
1689
1765
|
return {
|
|
1690
1766
|
headers: 'headers',
|
|
1767
|
+
statusCode: 'statusCode',
|
|
1691
1768
|
body: 'body',
|
|
1692
1769
|
};
|
|
1693
1770
|
}
|
|
@@ -1695,6 +1772,7 @@ export class GetGroupResponse extends $tea.Model {
|
|
|
1695
1772
|
static types(): { [key: string]: any } {
|
|
1696
1773
|
return {
|
|
1697
1774
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1775
|
+
statusCode: 'number',
|
|
1698
1776
|
body: GetGroupResponseBody,
|
|
1699
1777
|
};
|
|
1700
1778
|
}
|
|
@@ -1704,6 +1782,72 @@ export class GetGroupResponse extends $tea.Model {
|
|
|
1704
1782
|
}
|
|
1705
1783
|
}
|
|
1706
1784
|
|
|
1785
|
+
export class GetMFAAuthenticationSettingsRequest extends $tea.Model {
|
|
1786
|
+
directoryId?: string;
|
|
1787
|
+
static names(): { [key: string]: string } {
|
|
1788
|
+
return {
|
|
1789
|
+
directoryId: 'DirectoryId',
|
|
1790
|
+
};
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
static types(): { [key: string]: any } {
|
|
1794
|
+
return {
|
|
1795
|
+
directoryId: 'string',
|
|
1796
|
+
};
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
constructor(map?: { [key: string]: any }) {
|
|
1800
|
+
super(map);
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
export class GetMFAAuthenticationSettingsResponseBody extends $tea.Model {
|
|
1805
|
+
MFAAuthenticationAdvanceSettings?: string;
|
|
1806
|
+
requestId?: string;
|
|
1807
|
+
static names(): { [key: string]: string } {
|
|
1808
|
+
return {
|
|
1809
|
+
MFAAuthenticationAdvanceSettings: 'MFAAuthenticationAdvanceSettings',
|
|
1810
|
+
requestId: 'RequestId',
|
|
1811
|
+
};
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
static types(): { [key: string]: any } {
|
|
1815
|
+
return {
|
|
1816
|
+
MFAAuthenticationAdvanceSettings: 'string',
|
|
1817
|
+
requestId: 'string',
|
|
1818
|
+
};
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
constructor(map?: { [key: string]: any }) {
|
|
1822
|
+
super(map);
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
export class GetMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
1827
|
+
headers: { [key: string]: string };
|
|
1828
|
+
statusCode: number;
|
|
1829
|
+
body: GetMFAAuthenticationSettingsResponseBody;
|
|
1830
|
+
static names(): { [key: string]: string } {
|
|
1831
|
+
return {
|
|
1832
|
+
headers: 'headers',
|
|
1833
|
+
statusCode: 'statusCode',
|
|
1834
|
+
body: 'body',
|
|
1835
|
+
};
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
static types(): { [key: string]: any } {
|
|
1839
|
+
return {
|
|
1840
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1841
|
+
statusCode: 'number',
|
|
1842
|
+
body: GetMFAAuthenticationSettingsResponseBody,
|
|
1843
|
+
};
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
constructor(map?: { [key: string]: any }) {
|
|
1847
|
+
super(map);
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1707
1851
|
export class GetMFAAuthenticationStatusRequest extends $tea.Model {
|
|
1708
1852
|
directoryId?: string;
|
|
1709
1853
|
static names(): { [key: string]: string } {
|
|
@@ -1747,10 +1891,12 @@ export class GetMFAAuthenticationStatusResponseBody extends $tea.Model {
|
|
|
1747
1891
|
|
|
1748
1892
|
export class GetMFAAuthenticationStatusResponse extends $tea.Model {
|
|
1749
1893
|
headers: { [key: string]: string };
|
|
1894
|
+
statusCode: number;
|
|
1750
1895
|
body: GetMFAAuthenticationStatusResponseBody;
|
|
1751
1896
|
static names(): { [key: string]: string } {
|
|
1752
1897
|
return {
|
|
1753
1898
|
headers: 'headers',
|
|
1899
|
+
statusCode: 'statusCode',
|
|
1754
1900
|
body: 'body',
|
|
1755
1901
|
};
|
|
1756
1902
|
}
|
|
@@ -1758,6 +1904,7 @@ export class GetMFAAuthenticationStatusResponse extends $tea.Model {
|
|
|
1758
1904
|
static types(): { [key: string]: any } {
|
|
1759
1905
|
return {
|
|
1760
1906
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1907
|
+
statusCode: 'number',
|
|
1761
1908
|
body: GetMFAAuthenticationStatusResponseBody,
|
|
1762
1909
|
};
|
|
1763
1910
|
}
|
|
@@ -1810,10 +1957,12 @@ export class GetSCIMSynchronizationStatusResponseBody extends $tea.Model {
|
|
|
1810
1957
|
|
|
1811
1958
|
export class GetSCIMSynchronizationStatusResponse extends $tea.Model {
|
|
1812
1959
|
headers: { [key: string]: string };
|
|
1960
|
+
statusCode: number;
|
|
1813
1961
|
body: GetSCIMSynchronizationStatusResponseBody;
|
|
1814
1962
|
static names(): { [key: string]: string } {
|
|
1815
1963
|
return {
|
|
1816
1964
|
headers: 'headers',
|
|
1965
|
+
statusCode: 'statusCode',
|
|
1817
1966
|
body: 'body',
|
|
1818
1967
|
};
|
|
1819
1968
|
}
|
|
@@ -1821,6 +1970,7 @@ export class GetSCIMSynchronizationStatusResponse extends $tea.Model {
|
|
|
1821
1970
|
static types(): { [key: string]: any } {
|
|
1822
1971
|
return {
|
|
1823
1972
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1973
|
+
statusCode: 'number',
|
|
1824
1974
|
body: GetSCIMSynchronizationStatusResponseBody,
|
|
1825
1975
|
};
|
|
1826
1976
|
}
|
|
@@ -1854,10 +2004,12 @@ export class GetServiceStatusResponseBody extends $tea.Model {
|
|
|
1854
2004
|
|
|
1855
2005
|
export class GetServiceStatusResponse extends $tea.Model {
|
|
1856
2006
|
headers: { [key: string]: string };
|
|
2007
|
+
statusCode: number;
|
|
1857
2008
|
body: GetServiceStatusResponseBody;
|
|
1858
2009
|
static names(): { [key: string]: string } {
|
|
1859
2010
|
return {
|
|
1860
2011
|
headers: 'headers',
|
|
2012
|
+
statusCode: 'statusCode',
|
|
1861
2013
|
body: 'body',
|
|
1862
2014
|
};
|
|
1863
2015
|
}
|
|
@@ -1865,6 +2017,7 @@ export class GetServiceStatusResponse extends $tea.Model {
|
|
|
1865
2017
|
static types(): { [key: string]: any } {
|
|
1866
2018
|
return {
|
|
1867
2019
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2020
|
+
statusCode: 'number',
|
|
1868
2021
|
body: GetServiceStatusResponseBody,
|
|
1869
2022
|
};
|
|
1870
2023
|
}
|
|
@@ -1920,10 +2073,12 @@ export class GetTaskResponseBody extends $tea.Model {
|
|
|
1920
2073
|
|
|
1921
2074
|
export class GetTaskResponse extends $tea.Model {
|
|
1922
2075
|
headers: { [key: string]: string };
|
|
2076
|
+
statusCode: number;
|
|
1923
2077
|
body: GetTaskResponseBody;
|
|
1924
2078
|
static names(): { [key: string]: string } {
|
|
1925
2079
|
return {
|
|
1926
2080
|
headers: 'headers',
|
|
2081
|
+
statusCode: 'statusCode',
|
|
1927
2082
|
body: 'body',
|
|
1928
2083
|
};
|
|
1929
2084
|
}
|
|
@@ -1931,6 +2086,7 @@ export class GetTaskResponse extends $tea.Model {
|
|
|
1931
2086
|
static types(): { [key: string]: any } {
|
|
1932
2087
|
return {
|
|
1933
2088
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2089
|
+
statusCode: 'number',
|
|
1934
2090
|
body: GetTaskResponseBody,
|
|
1935
2091
|
};
|
|
1936
2092
|
}
|
|
@@ -1986,10 +2142,12 @@ export class GetTaskStatusResponseBody extends $tea.Model {
|
|
|
1986
2142
|
|
|
1987
2143
|
export class GetTaskStatusResponse extends $tea.Model {
|
|
1988
2144
|
headers: { [key: string]: string };
|
|
2145
|
+
statusCode: number;
|
|
1989
2146
|
body: GetTaskStatusResponseBody;
|
|
1990
2147
|
static names(): { [key: string]: string } {
|
|
1991
2148
|
return {
|
|
1992
2149
|
headers: 'headers',
|
|
2150
|
+
statusCode: 'statusCode',
|
|
1993
2151
|
body: 'body',
|
|
1994
2152
|
};
|
|
1995
2153
|
}
|
|
@@ -1997,6 +2155,7 @@ export class GetTaskStatusResponse extends $tea.Model {
|
|
|
1997
2155
|
static types(): { [key: string]: any } {
|
|
1998
2156
|
return {
|
|
1999
2157
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2158
|
+
statusCode: 'number',
|
|
2000
2159
|
body: GetTaskStatusResponseBody,
|
|
2001
2160
|
};
|
|
2002
2161
|
}
|
|
@@ -2052,10 +2211,12 @@ export class GetUserResponseBody extends $tea.Model {
|
|
|
2052
2211
|
|
|
2053
2212
|
export class GetUserResponse extends $tea.Model {
|
|
2054
2213
|
headers: { [key: string]: string };
|
|
2214
|
+
statusCode: number;
|
|
2055
2215
|
body: GetUserResponseBody;
|
|
2056
2216
|
static names(): { [key: string]: string } {
|
|
2057
2217
|
return {
|
|
2058
2218
|
headers: 'headers',
|
|
2219
|
+
statusCode: 'statusCode',
|
|
2059
2220
|
body: 'body',
|
|
2060
2221
|
};
|
|
2061
2222
|
}
|
|
@@ -2063,6 +2224,7 @@ export class GetUserResponse extends $tea.Model {
|
|
|
2063
2224
|
static types(): { [key: string]: any } {
|
|
2064
2225
|
return {
|
|
2065
2226
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2227
|
+
statusCode: 'number',
|
|
2066
2228
|
body: GetUserResponseBody,
|
|
2067
2229
|
};
|
|
2068
2230
|
}
|
|
@@ -2072,6 +2234,75 @@ export class GetUserResponse extends $tea.Model {
|
|
|
2072
2234
|
}
|
|
2073
2235
|
}
|
|
2074
2236
|
|
|
2237
|
+
export class GetUserMFAAuthenticationSettingsRequest extends $tea.Model {
|
|
2238
|
+
directoryId?: string;
|
|
2239
|
+
userId?: string;
|
|
2240
|
+
static names(): { [key: string]: string } {
|
|
2241
|
+
return {
|
|
2242
|
+
directoryId: 'DirectoryId',
|
|
2243
|
+
userId: 'UserId',
|
|
2244
|
+
};
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
static types(): { [key: string]: any } {
|
|
2248
|
+
return {
|
|
2249
|
+
directoryId: 'string',
|
|
2250
|
+
userId: 'string',
|
|
2251
|
+
};
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
constructor(map?: { [key: string]: any }) {
|
|
2255
|
+
super(map);
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
export class GetUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
|
|
2260
|
+
requestId?: string;
|
|
2261
|
+
userMFAAuthenticationSettings?: string;
|
|
2262
|
+
static names(): { [key: string]: string } {
|
|
2263
|
+
return {
|
|
2264
|
+
requestId: 'RequestId',
|
|
2265
|
+
userMFAAuthenticationSettings: 'UserMFAAuthenticationSettings',
|
|
2266
|
+
};
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
static types(): { [key: string]: any } {
|
|
2270
|
+
return {
|
|
2271
|
+
requestId: 'string',
|
|
2272
|
+
userMFAAuthenticationSettings: 'string',
|
|
2273
|
+
};
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
constructor(map?: { [key: string]: any }) {
|
|
2277
|
+
super(map);
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
export class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
2282
|
+
headers: { [key: string]: string };
|
|
2283
|
+
statusCode: number;
|
|
2284
|
+
body: GetUserMFAAuthenticationSettingsResponseBody;
|
|
2285
|
+
static names(): { [key: string]: string } {
|
|
2286
|
+
return {
|
|
2287
|
+
headers: 'headers',
|
|
2288
|
+
statusCode: 'statusCode',
|
|
2289
|
+
body: 'body',
|
|
2290
|
+
};
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
static types(): { [key: string]: any } {
|
|
2294
|
+
return {
|
|
2295
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2296
|
+
statusCode: 'number',
|
|
2297
|
+
body: GetUserMFAAuthenticationSettingsResponseBody,
|
|
2298
|
+
};
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
constructor(map?: { [key: string]: any }) {
|
|
2302
|
+
super(map);
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2075
2306
|
export class ListAccessAssignmentsRequest extends $tea.Model {
|
|
2076
2307
|
accessConfigurationId?: string;
|
|
2077
2308
|
directoryId?: string;
|
|
@@ -2148,10 +2379,12 @@ export class ListAccessAssignmentsResponseBody extends $tea.Model {
|
|
|
2148
2379
|
|
|
2149
2380
|
export class ListAccessAssignmentsResponse extends $tea.Model {
|
|
2150
2381
|
headers: { [key: string]: string };
|
|
2382
|
+
statusCode: number;
|
|
2151
2383
|
body: ListAccessAssignmentsResponseBody;
|
|
2152
2384
|
static names(): { [key: string]: string } {
|
|
2153
2385
|
return {
|
|
2154
2386
|
headers: 'headers',
|
|
2387
|
+
statusCode: 'statusCode',
|
|
2155
2388
|
body: 'body',
|
|
2156
2389
|
};
|
|
2157
2390
|
}
|
|
@@ -2159,6 +2392,7 @@ export class ListAccessAssignmentsResponse extends $tea.Model {
|
|
|
2159
2392
|
static types(): { [key: string]: any } {
|
|
2160
2393
|
return {
|
|
2161
2394
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2395
|
+
statusCode: 'number',
|
|
2162
2396
|
body: ListAccessAssignmentsResponseBody,
|
|
2163
2397
|
};
|
|
2164
2398
|
}
|
|
@@ -2241,10 +2475,12 @@ export class ListAccessConfigurationProvisioningsResponseBody extends $tea.Model
|
|
|
2241
2475
|
|
|
2242
2476
|
export class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
|
|
2243
2477
|
headers: { [key: string]: string };
|
|
2478
|
+
statusCode: number;
|
|
2244
2479
|
body: ListAccessConfigurationProvisioningsResponseBody;
|
|
2245
2480
|
static names(): { [key: string]: string } {
|
|
2246
2481
|
return {
|
|
2247
2482
|
headers: 'headers',
|
|
2483
|
+
statusCode: 'statusCode',
|
|
2248
2484
|
body: 'body',
|
|
2249
2485
|
};
|
|
2250
2486
|
}
|
|
@@ -2252,6 +2488,7 @@ export class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
|
|
|
2252
2488
|
static types(): { [key: string]: any } {
|
|
2253
2489
|
return {
|
|
2254
2490
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2491
|
+
statusCode: 'number',
|
|
2255
2492
|
body: ListAccessConfigurationProvisioningsResponseBody,
|
|
2256
2493
|
};
|
|
2257
2494
|
}
|
|
@@ -2328,10 +2565,12 @@ export class ListAccessConfigurationsResponseBody extends $tea.Model {
|
|
|
2328
2565
|
|
|
2329
2566
|
export class ListAccessConfigurationsResponse extends $tea.Model {
|
|
2330
2567
|
headers: { [key: string]: string };
|
|
2568
|
+
statusCode: number;
|
|
2331
2569
|
body: ListAccessConfigurationsResponseBody;
|
|
2332
2570
|
static names(): { [key: string]: string } {
|
|
2333
2571
|
return {
|
|
2334
2572
|
headers: 'headers',
|
|
2573
|
+
statusCode: 'statusCode',
|
|
2335
2574
|
body: 'body',
|
|
2336
2575
|
};
|
|
2337
2576
|
}
|
|
@@ -2339,6 +2578,7 @@ export class ListAccessConfigurationsResponse extends $tea.Model {
|
|
|
2339
2578
|
static types(): { [key: string]: any } {
|
|
2340
2579
|
return {
|
|
2341
2580
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2581
|
+
statusCode: 'number',
|
|
2342
2582
|
body: ListAccessConfigurationsResponseBody,
|
|
2343
2583
|
};
|
|
2344
2584
|
}
|
|
@@ -2375,10 +2615,12 @@ export class ListDirectoriesResponseBody extends $tea.Model {
|
|
|
2375
2615
|
|
|
2376
2616
|
export class ListDirectoriesResponse extends $tea.Model {
|
|
2377
2617
|
headers: { [key: string]: string };
|
|
2618
|
+
statusCode: number;
|
|
2378
2619
|
body: ListDirectoriesResponseBody;
|
|
2379
2620
|
static names(): { [key: string]: string } {
|
|
2380
2621
|
return {
|
|
2381
2622
|
headers: 'headers',
|
|
2623
|
+
statusCode: 'statusCode',
|
|
2382
2624
|
body: 'body',
|
|
2383
2625
|
};
|
|
2384
2626
|
}
|
|
@@ -2386,6 +2628,7 @@ export class ListDirectoriesResponse extends $tea.Model {
|
|
|
2386
2628
|
static types(): { [key: string]: any } {
|
|
2387
2629
|
return {
|
|
2388
2630
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2631
|
+
statusCode: 'number',
|
|
2389
2632
|
body: ListDirectoriesResponseBody,
|
|
2390
2633
|
};
|
|
2391
2634
|
}
|
|
@@ -2441,10 +2684,12 @@ export class ListExternalSAMLIdPCertificatesResponseBody extends $tea.Model {
|
|
|
2441
2684
|
|
|
2442
2685
|
export class ListExternalSAMLIdPCertificatesResponse extends $tea.Model {
|
|
2443
2686
|
headers: { [key: string]: string };
|
|
2687
|
+
statusCode: number;
|
|
2444
2688
|
body: ListExternalSAMLIdPCertificatesResponseBody;
|
|
2445
2689
|
static names(): { [key: string]: string } {
|
|
2446
2690
|
return {
|
|
2447
2691
|
headers: 'headers',
|
|
2692
|
+
statusCode: 'statusCode',
|
|
2448
2693
|
body: 'body',
|
|
2449
2694
|
};
|
|
2450
2695
|
}
|
|
@@ -2452,6 +2697,7 @@ export class ListExternalSAMLIdPCertificatesResponse extends $tea.Model {
|
|
|
2452
2697
|
static types(): { [key: string]: any } {
|
|
2453
2698
|
return {
|
|
2454
2699
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2700
|
+
statusCode: 'number',
|
|
2455
2701
|
body: ListExternalSAMLIdPCertificatesResponseBody,
|
|
2456
2702
|
};
|
|
2457
2703
|
}
|
|
@@ -2525,10 +2771,12 @@ export class ListGroupMembersResponseBody extends $tea.Model {
|
|
|
2525
2771
|
|
|
2526
2772
|
export class ListGroupMembersResponse extends $tea.Model {
|
|
2527
2773
|
headers: { [key: string]: string };
|
|
2774
|
+
statusCode: number;
|
|
2528
2775
|
body: ListGroupMembersResponseBody;
|
|
2529
2776
|
static names(): { [key: string]: string } {
|
|
2530
2777
|
return {
|
|
2531
2778
|
headers: 'headers',
|
|
2779
|
+
statusCode: 'statusCode',
|
|
2532
2780
|
body: 'body',
|
|
2533
2781
|
};
|
|
2534
2782
|
}
|
|
@@ -2536,6 +2784,7 @@ export class ListGroupMembersResponse extends $tea.Model {
|
|
|
2536
2784
|
static types(): { [key: string]: any } {
|
|
2537
2785
|
return {
|
|
2538
2786
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2787
|
+
statusCode: 'number',
|
|
2539
2788
|
body: ListGroupMembersResponseBody,
|
|
2540
2789
|
};
|
|
2541
2790
|
}
|
|
@@ -2612,10 +2861,12 @@ export class ListGroupsResponseBody extends $tea.Model {
|
|
|
2612
2861
|
|
|
2613
2862
|
export class ListGroupsResponse extends $tea.Model {
|
|
2614
2863
|
headers: { [key: string]: string };
|
|
2864
|
+
statusCode: number;
|
|
2615
2865
|
body: ListGroupsResponseBody;
|
|
2616
2866
|
static names(): { [key: string]: string } {
|
|
2617
2867
|
return {
|
|
2618
2868
|
headers: 'headers',
|
|
2869
|
+
statusCode: 'statusCode',
|
|
2619
2870
|
body: 'body',
|
|
2620
2871
|
};
|
|
2621
2872
|
}
|
|
@@ -2623,6 +2874,7 @@ export class ListGroupsResponse extends $tea.Model {
|
|
|
2623
2874
|
static types(): { [key: string]: any } {
|
|
2624
2875
|
return {
|
|
2625
2876
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2877
|
+
statusCode: 'number',
|
|
2626
2878
|
body: ListGroupsResponseBody,
|
|
2627
2879
|
};
|
|
2628
2880
|
}
|
|
@@ -2696,10 +2948,12 @@ export class ListJoinedGroupsForUserResponseBody extends $tea.Model {
|
|
|
2696
2948
|
|
|
2697
2949
|
export class ListJoinedGroupsForUserResponse extends $tea.Model {
|
|
2698
2950
|
headers: { [key: string]: string };
|
|
2951
|
+
statusCode: number;
|
|
2699
2952
|
body: ListJoinedGroupsForUserResponseBody;
|
|
2700
2953
|
static names(): { [key: string]: string } {
|
|
2701
2954
|
return {
|
|
2702
2955
|
headers: 'headers',
|
|
2956
|
+
statusCode: 'statusCode',
|
|
2703
2957
|
body: 'body',
|
|
2704
2958
|
};
|
|
2705
2959
|
}
|
|
@@ -2707,6 +2961,7 @@ export class ListJoinedGroupsForUserResponse extends $tea.Model {
|
|
|
2707
2961
|
static types(): { [key: string]: any } {
|
|
2708
2962
|
return {
|
|
2709
2963
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2964
|
+
statusCode: 'number',
|
|
2710
2965
|
body: ListJoinedGroupsForUserResponseBody,
|
|
2711
2966
|
};
|
|
2712
2967
|
}
|
|
@@ -2765,10 +3020,12 @@ export class ListMFADevicesForUserResponseBody extends $tea.Model {
|
|
|
2765
3020
|
|
|
2766
3021
|
export class ListMFADevicesForUserResponse extends $tea.Model {
|
|
2767
3022
|
headers: { [key: string]: string };
|
|
3023
|
+
statusCode: number;
|
|
2768
3024
|
body: ListMFADevicesForUserResponseBody;
|
|
2769
3025
|
static names(): { [key: string]: string } {
|
|
2770
3026
|
return {
|
|
2771
3027
|
headers: 'headers',
|
|
3028
|
+
statusCode: 'statusCode',
|
|
2772
3029
|
body: 'body',
|
|
2773
3030
|
};
|
|
2774
3031
|
}
|
|
@@ -2776,6 +3033,7 @@ export class ListMFADevicesForUserResponse extends $tea.Model {
|
|
|
2776
3033
|
static types(): { [key: string]: any } {
|
|
2777
3034
|
return {
|
|
2778
3035
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3036
|
+
statusCode: 'number',
|
|
2779
3037
|
body: ListMFADevicesForUserResponseBody,
|
|
2780
3038
|
};
|
|
2781
3039
|
}
|
|
@@ -2837,10 +3095,12 @@ export class ListPermissionPoliciesInAccessConfigurationResponseBody extends $te
|
|
|
2837
3095
|
|
|
2838
3096
|
export class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Model {
|
|
2839
3097
|
headers: { [key: string]: string };
|
|
3098
|
+
statusCode: number;
|
|
2840
3099
|
body: ListPermissionPoliciesInAccessConfigurationResponseBody;
|
|
2841
3100
|
static names(): { [key: string]: string } {
|
|
2842
3101
|
return {
|
|
2843
3102
|
headers: 'headers',
|
|
3103
|
+
statusCode: 'statusCode',
|
|
2844
3104
|
body: 'body',
|
|
2845
3105
|
};
|
|
2846
3106
|
}
|
|
@@ -2848,6 +3108,7 @@ export class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Mo
|
|
|
2848
3108
|
static types(): { [key: string]: any } {
|
|
2849
3109
|
return {
|
|
2850
3110
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3111
|
+
statusCode: 'number',
|
|
2851
3112
|
body: ListPermissionPoliciesInAccessConfigurationResponseBody,
|
|
2852
3113
|
};
|
|
2853
3114
|
}
|
|
@@ -2903,10 +3164,12 @@ export class ListSCIMServerCredentialsResponseBody extends $tea.Model {
|
|
|
2903
3164
|
|
|
2904
3165
|
export class ListSCIMServerCredentialsResponse extends $tea.Model {
|
|
2905
3166
|
headers: { [key: string]: string };
|
|
3167
|
+
statusCode: number;
|
|
2906
3168
|
body: ListSCIMServerCredentialsResponseBody;
|
|
2907
3169
|
static names(): { [key: string]: string } {
|
|
2908
3170
|
return {
|
|
2909
3171
|
headers: 'headers',
|
|
3172
|
+
statusCode: 'statusCode',
|
|
2910
3173
|
body: 'body',
|
|
2911
3174
|
};
|
|
2912
3175
|
}
|
|
@@ -2914,6 +3177,7 @@ export class ListSCIMServerCredentialsResponse extends $tea.Model {
|
|
|
2914
3177
|
static types(): { [key: string]: any } {
|
|
2915
3178
|
return {
|
|
2916
3179
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3180
|
+
statusCode: 'number',
|
|
2917
3181
|
body: ListSCIMServerCredentialsResponseBody,
|
|
2918
3182
|
};
|
|
2919
3183
|
}
|
|
@@ -3008,10 +3272,12 @@ export class ListTasksResponseBody extends $tea.Model {
|
|
|
3008
3272
|
|
|
3009
3273
|
export class ListTasksResponse extends $tea.Model {
|
|
3010
3274
|
headers: { [key: string]: string };
|
|
3275
|
+
statusCode: number;
|
|
3011
3276
|
body: ListTasksResponseBody;
|
|
3012
3277
|
static names(): { [key: string]: string } {
|
|
3013
3278
|
return {
|
|
3014
3279
|
headers: 'headers',
|
|
3280
|
+
statusCode: 'statusCode',
|
|
3015
3281
|
body: 'body',
|
|
3016
3282
|
};
|
|
3017
3283
|
}
|
|
@@ -3019,6 +3285,7 @@ export class ListTasksResponse extends $tea.Model {
|
|
|
3019
3285
|
static types(): { [key: string]: any } {
|
|
3020
3286
|
return {
|
|
3021
3287
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3288
|
+
statusCode: 'number',
|
|
3022
3289
|
body: ListTasksResponseBody,
|
|
3023
3290
|
};
|
|
3024
3291
|
}
|
|
@@ -3098,10 +3365,12 @@ export class ListUsersResponseBody extends $tea.Model {
|
|
|
3098
3365
|
|
|
3099
3366
|
export class ListUsersResponse extends $tea.Model {
|
|
3100
3367
|
headers: { [key: string]: string };
|
|
3368
|
+
statusCode: number;
|
|
3101
3369
|
body: ListUsersResponseBody;
|
|
3102
3370
|
static names(): { [key: string]: string } {
|
|
3103
3371
|
return {
|
|
3104
3372
|
headers: 'headers',
|
|
3373
|
+
statusCode: 'statusCode',
|
|
3105
3374
|
body: 'body',
|
|
3106
3375
|
};
|
|
3107
3376
|
}
|
|
@@ -3109,6 +3378,7 @@ export class ListUsersResponse extends $tea.Model {
|
|
|
3109
3378
|
static types(): { [key: string]: any } {
|
|
3110
3379
|
return {
|
|
3111
3380
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3381
|
+
statusCode: 'number',
|
|
3112
3382
|
body: ListUsersResponseBody,
|
|
3113
3383
|
};
|
|
3114
3384
|
}
|
|
@@ -3170,10 +3440,12 @@ export class ProvisionAccessConfigurationResponseBody extends $tea.Model {
|
|
|
3170
3440
|
|
|
3171
3441
|
export class ProvisionAccessConfigurationResponse extends $tea.Model {
|
|
3172
3442
|
headers: { [key: string]: string };
|
|
3443
|
+
statusCode: number;
|
|
3173
3444
|
body: ProvisionAccessConfigurationResponseBody;
|
|
3174
3445
|
static names(): { [key: string]: string } {
|
|
3175
3446
|
return {
|
|
3176
3447
|
headers: 'headers',
|
|
3448
|
+
statusCode: 'statusCode',
|
|
3177
3449
|
body: 'body',
|
|
3178
3450
|
};
|
|
3179
3451
|
}
|
|
@@ -3181,6 +3453,7 @@ export class ProvisionAccessConfigurationResponse extends $tea.Model {
|
|
|
3181
3453
|
static types(): { [key: string]: any } {
|
|
3182
3454
|
return {
|
|
3183
3455
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3456
|
+
statusCode: 'number',
|
|
3184
3457
|
body: ProvisionAccessConfigurationResponseBody,
|
|
3185
3458
|
};
|
|
3186
3459
|
}
|
|
@@ -3233,10 +3506,12 @@ export class RemoveExternalSAMLIdPCertificateResponseBody extends $tea.Model {
|
|
|
3233
3506
|
|
|
3234
3507
|
export class RemoveExternalSAMLIdPCertificateResponse extends $tea.Model {
|
|
3235
3508
|
headers: { [key: string]: string };
|
|
3509
|
+
statusCode: number;
|
|
3236
3510
|
body: RemoveExternalSAMLIdPCertificateResponseBody;
|
|
3237
3511
|
static names(): { [key: string]: string } {
|
|
3238
3512
|
return {
|
|
3239
3513
|
headers: 'headers',
|
|
3514
|
+
statusCode: 'statusCode',
|
|
3240
3515
|
body: 'body',
|
|
3241
3516
|
};
|
|
3242
3517
|
}
|
|
@@ -3244,6 +3519,7 @@ export class RemoveExternalSAMLIdPCertificateResponse extends $tea.Model {
|
|
|
3244
3519
|
static types(): { [key: string]: any } {
|
|
3245
3520
|
return {
|
|
3246
3521
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3522
|
+
statusCode: 'number',
|
|
3247
3523
|
body: RemoveExternalSAMLIdPCertificateResponseBody,
|
|
3248
3524
|
};
|
|
3249
3525
|
}
|
|
@@ -3302,10 +3578,12 @@ export class RemovePermissionPolicyFromAccessConfigurationResponseBody extends $
|
|
|
3302
3578
|
|
|
3303
3579
|
export class RemovePermissionPolicyFromAccessConfigurationResponse extends $tea.Model {
|
|
3304
3580
|
headers: { [key: string]: string };
|
|
3581
|
+
statusCode: number;
|
|
3305
3582
|
body: RemovePermissionPolicyFromAccessConfigurationResponseBody;
|
|
3306
3583
|
static names(): { [key: string]: string } {
|
|
3307
3584
|
return {
|
|
3308
3585
|
headers: 'headers',
|
|
3586
|
+
statusCode: 'statusCode',
|
|
3309
3587
|
body: 'body',
|
|
3310
3588
|
};
|
|
3311
3589
|
}
|
|
@@ -3313,6 +3591,7 @@ export class RemovePermissionPolicyFromAccessConfigurationResponse extends $tea.
|
|
|
3313
3591
|
static types(): { [key: string]: any } {
|
|
3314
3592
|
return {
|
|
3315
3593
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3594
|
+
statusCode: 'number',
|
|
3316
3595
|
body: RemovePermissionPolicyFromAccessConfigurationResponseBody,
|
|
3317
3596
|
};
|
|
3318
3597
|
}
|
|
@@ -3368,10 +3647,12 @@ export class RemoveUserFromGroupResponseBody extends $tea.Model {
|
|
|
3368
3647
|
|
|
3369
3648
|
export class RemoveUserFromGroupResponse extends $tea.Model {
|
|
3370
3649
|
headers: { [key: string]: string };
|
|
3650
|
+
statusCode: number;
|
|
3371
3651
|
body: RemoveUserFromGroupResponseBody;
|
|
3372
3652
|
static names(): { [key: string]: string } {
|
|
3373
3653
|
return {
|
|
3374
3654
|
headers: 'headers',
|
|
3655
|
+
statusCode: 'statusCode',
|
|
3375
3656
|
body: 'body',
|
|
3376
3657
|
};
|
|
3377
3658
|
}
|
|
@@ -3379,6 +3660,7 @@ export class RemoveUserFromGroupResponse extends $tea.Model {
|
|
|
3379
3660
|
static types(): { [key: string]: any } {
|
|
3380
3661
|
return {
|
|
3381
3662
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3663
|
+
statusCode: 'number',
|
|
3382
3664
|
body: RemoveUserFromGroupResponseBody,
|
|
3383
3665
|
};
|
|
3384
3666
|
}
|
|
@@ -3443,10 +3725,12 @@ export class ResetUserPasswordResponseBody extends $tea.Model {
|
|
|
3443
3725
|
|
|
3444
3726
|
export class ResetUserPasswordResponse extends $tea.Model {
|
|
3445
3727
|
headers: { [key: string]: string };
|
|
3728
|
+
statusCode: number;
|
|
3446
3729
|
body: ResetUserPasswordResponseBody;
|
|
3447
3730
|
static names(): { [key: string]: string } {
|
|
3448
3731
|
return {
|
|
3449
3732
|
headers: 'headers',
|
|
3733
|
+
statusCode: 'statusCode',
|
|
3450
3734
|
body: 'body',
|
|
3451
3735
|
};
|
|
3452
3736
|
}
|
|
@@ -3454,6 +3738,7 @@ export class ResetUserPasswordResponse extends $tea.Model {
|
|
|
3454
3738
|
static types(): { [key: string]: any } {
|
|
3455
3739
|
return {
|
|
3456
3740
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3741
|
+
statusCode: 'number',
|
|
3457
3742
|
body: ResetUserPasswordResponseBody,
|
|
3458
3743
|
};
|
|
3459
3744
|
}
|
|
@@ -3524,10 +3809,12 @@ export class SetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
|
|
|
3524
3809
|
|
|
3525
3810
|
export class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
3526
3811
|
headers: { [key: string]: string };
|
|
3812
|
+
statusCode: number;
|
|
3527
3813
|
body: SetExternalSAMLIdentityProviderResponseBody;
|
|
3528
3814
|
static names(): { [key: string]: string } {
|
|
3529
3815
|
return {
|
|
3530
3816
|
headers: 'headers',
|
|
3817
|
+
statusCode: 'statusCode',
|
|
3531
3818
|
body: 'body',
|
|
3532
3819
|
};
|
|
3533
3820
|
}
|
|
@@ -3535,6 +3822,7 @@ export class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
|
|
|
3535
3822
|
static types(): { [key: string]: any } {
|
|
3536
3823
|
return {
|
|
3537
3824
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3825
|
+
statusCode: 'number',
|
|
3538
3826
|
body: SetExternalSAMLIdentityProviderResponseBody,
|
|
3539
3827
|
};
|
|
3540
3828
|
}
|
|
@@ -3587,10 +3875,12 @@ export class SetMFAAuthenticationStatusResponseBody extends $tea.Model {
|
|
|
3587
3875
|
|
|
3588
3876
|
export class SetMFAAuthenticationStatusResponse extends $tea.Model {
|
|
3589
3877
|
headers: { [key: string]: string };
|
|
3878
|
+
statusCode: number;
|
|
3590
3879
|
body: SetMFAAuthenticationStatusResponseBody;
|
|
3591
3880
|
static names(): { [key: string]: string } {
|
|
3592
3881
|
return {
|
|
3593
3882
|
headers: 'headers',
|
|
3883
|
+
statusCode: 'statusCode',
|
|
3594
3884
|
body: 'body',
|
|
3595
3885
|
};
|
|
3596
3886
|
}
|
|
@@ -3598,6 +3888,7 @@ export class SetMFAAuthenticationStatusResponse extends $tea.Model {
|
|
|
3598
3888
|
static types(): { [key: string]: any } {
|
|
3599
3889
|
return {
|
|
3600
3890
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3891
|
+
statusCode: 'number',
|
|
3601
3892
|
body: SetMFAAuthenticationStatusResponseBody,
|
|
3602
3893
|
};
|
|
3603
3894
|
}
|
|
@@ -3650,10 +3941,12 @@ export class SetSCIMSynchronizationStatusResponseBody extends $tea.Model {
|
|
|
3650
3941
|
|
|
3651
3942
|
export class SetSCIMSynchronizationStatusResponse extends $tea.Model {
|
|
3652
3943
|
headers: { [key: string]: string };
|
|
3944
|
+
statusCode: number;
|
|
3653
3945
|
body: SetSCIMSynchronizationStatusResponseBody;
|
|
3654
3946
|
static names(): { [key: string]: string } {
|
|
3655
3947
|
return {
|
|
3656
3948
|
headers: 'headers',
|
|
3949
|
+
statusCode: 'statusCode',
|
|
3657
3950
|
body: 'body',
|
|
3658
3951
|
};
|
|
3659
3952
|
}
|
|
@@ -3661,6 +3954,7 @@ export class SetSCIMSynchronizationStatusResponse extends $tea.Model {
|
|
|
3661
3954
|
static types(): { [key: string]: any } {
|
|
3662
3955
|
return {
|
|
3663
3956
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3957
|
+
statusCode: 'number',
|
|
3664
3958
|
body: SetSCIMSynchronizationStatusResponseBody,
|
|
3665
3959
|
};
|
|
3666
3960
|
}
|
|
@@ -3725,10 +4019,12 @@ export class UpdateAccessConfigurationResponseBody extends $tea.Model {
|
|
|
3725
4019
|
|
|
3726
4020
|
export class UpdateAccessConfigurationResponse extends $tea.Model {
|
|
3727
4021
|
headers: { [key: string]: string };
|
|
4022
|
+
statusCode: number;
|
|
3728
4023
|
body: UpdateAccessConfigurationResponseBody;
|
|
3729
4024
|
static names(): { [key: string]: string } {
|
|
3730
4025
|
return {
|
|
3731
4026
|
headers: 'headers',
|
|
4027
|
+
statusCode: 'statusCode',
|
|
3732
4028
|
body: 'body',
|
|
3733
4029
|
};
|
|
3734
4030
|
}
|
|
@@ -3736,6 +4032,7 @@ export class UpdateAccessConfigurationResponse extends $tea.Model {
|
|
|
3736
4032
|
static types(): { [key: string]: any } {
|
|
3737
4033
|
return {
|
|
3738
4034
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4035
|
+
statusCode: 'number',
|
|
3739
4036
|
body: UpdateAccessConfigurationResponseBody,
|
|
3740
4037
|
};
|
|
3741
4038
|
}
|
|
@@ -3791,10 +4088,12 @@ export class UpdateDirectoryResponseBody extends $tea.Model {
|
|
|
3791
4088
|
|
|
3792
4089
|
export class UpdateDirectoryResponse extends $tea.Model {
|
|
3793
4090
|
headers: { [key: string]: string };
|
|
4091
|
+
statusCode: number;
|
|
3794
4092
|
body: UpdateDirectoryResponseBody;
|
|
3795
4093
|
static names(): { [key: string]: string } {
|
|
3796
4094
|
return {
|
|
3797
4095
|
headers: 'headers',
|
|
4096
|
+
statusCode: 'statusCode',
|
|
3798
4097
|
body: 'body',
|
|
3799
4098
|
};
|
|
3800
4099
|
}
|
|
@@ -3802,6 +4101,7 @@ export class UpdateDirectoryResponse extends $tea.Model {
|
|
|
3802
4101
|
static types(): { [key: string]: any } {
|
|
3803
4102
|
return {
|
|
3804
4103
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4104
|
+
statusCode: 'number',
|
|
3805
4105
|
body: UpdateDirectoryResponseBody,
|
|
3806
4106
|
};
|
|
3807
4107
|
}
|
|
@@ -3863,10 +4163,12 @@ export class UpdateGroupResponseBody extends $tea.Model {
|
|
|
3863
4163
|
|
|
3864
4164
|
export class UpdateGroupResponse extends $tea.Model {
|
|
3865
4165
|
headers: { [key: string]: string };
|
|
4166
|
+
statusCode: number;
|
|
3866
4167
|
body: UpdateGroupResponseBody;
|
|
3867
4168
|
static names(): { [key: string]: string } {
|
|
3868
4169
|
return {
|
|
3869
4170
|
headers: 'headers',
|
|
4171
|
+
statusCode: 'statusCode',
|
|
3870
4172
|
body: 'body',
|
|
3871
4173
|
};
|
|
3872
4174
|
}
|
|
@@ -3874,6 +4176,7 @@ export class UpdateGroupResponse extends $tea.Model {
|
|
|
3874
4176
|
static types(): { [key: string]: any } {
|
|
3875
4177
|
return {
|
|
3876
4178
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4179
|
+
statusCode: 'number',
|
|
3877
4180
|
body: UpdateGroupResponseBody,
|
|
3878
4181
|
};
|
|
3879
4182
|
}
|
|
@@ -3932,10 +4235,12 @@ export class UpdateInlinePolicyForAccessConfigurationResponseBody extends $tea.M
|
|
|
3932
4235
|
|
|
3933
4236
|
export class UpdateInlinePolicyForAccessConfigurationResponse extends $tea.Model {
|
|
3934
4237
|
headers: { [key: string]: string };
|
|
4238
|
+
statusCode: number;
|
|
3935
4239
|
body: UpdateInlinePolicyForAccessConfigurationResponseBody;
|
|
3936
4240
|
static names(): { [key: string]: string } {
|
|
3937
4241
|
return {
|
|
3938
4242
|
headers: 'headers',
|
|
4243
|
+
statusCode: 'statusCode',
|
|
3939
4244
|
body: 'body',
|
|
3940
4245
|
};
|
|
3941
4246
|
}
|
|
@@ -3943,6 +4248,7 @@ export class UpdateInlinePolicyForAccessConfigurationResponse extends $tea.Model
|
|
|
3943
4248
|
static types(): { [key: string]: any } {
|
|
3944
4249
|
return {
|
|
3945
4250
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4251
|
+
statusCode: 'number',
|
|
3946
4252
|
body: UpdateInlinePolicyForAccessConfigurationResponseBody,
|
|
3947
4253
|
};
|
|
3948
4254
|
}
|
|
@@ -3952,6 +4258,75 @@ export class UpdateInlinePolicyForAccessConfigurationResponse extends $tea.Model
|
|
|
3952
4258
|
}
|
|
3953
4259
|
}
|
|
3954
4260
|
|
|
4261
|
+
export class UpdateMFAAuthenticationSettingsRequest extends $tea.Model {
|
|
4262
|
+
directoryId?: string;
|
|
4263
|
+
MFAAuthenticationSettings?: string;
|
|
4264
|
+
operationForRiskLogin?: string;
|
|
4265
|
+
static names(): { [key: string]: string } {
|
|
4266
|
+
return {
|
|
4267
|
+
directoryId: 'DirectoryId',
|
|
4268
|
+
MFAAuthenticationSettings: 'MFAAuthenticationSettings',
|
|
4269
|
+
operationForRiskLogin: 'OperationForRiskLogin',
|
|
4270
|
+
};
|
|
4271
|
+
}
|
|
4272
|
+
|
|
4273
|
+
static types(): { [key: string]: any } {
|
|
4274
|
+
return {
|
|
4275
|
+
directoryId: 'string',
|
|
4276
|
+
MFAAuthenticationSettings: 'string',
|
|
4277
|
+
operationForRiskLogin: 'string',
|
|
4278
|
+
};
|
|
4279
|
+
}
|
|
4280
|
+
|
|
4281
|
+
constructor(map?: { [key: string]: any }) {
|
|
4282
|
+
super(map);
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
|
|
4286
|
+
export class UpdateMFAAuthenticationSettingsResponseBody extends $tea.Model {
|
|
4287
|
+
requestId?: string;
|
|
4288
|
+
static names(): { [key: string]: string } {
|
|
4289
|
+
return {
|
|
4290
|
+
requestId: 'RequestId',
|
|
4291
|
+
};
|
|
4292
|
+
}
|
|
4293
|
+
|
|
4294
|
+
static types(): { [key: string]: any } {
|
|
4295
|
+
return {
|
|
4296
|
+
requestId: 'string',
|
|
4297
|
+
};
|
|
4298
|
+
}
|
|
4299
|
+
|
|
4300
|
+
constructor(map?: { [key: string]: any }) {
|
|
4301
|
+
super(map);
|
|
4302
|
+
}
|
|
4303
|
+
}
|
|
4304
|
+
|
|
4305
|
+
export class UpdateMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
4306
|
+
headers: { [key: string]: string };
|
|
4307
|
+
statusCode: number;
|
|
4308
|
+
body: UpdateMFAAuthenticationSettingsResponseBody;
|
|
4309
|
+
static names(): { [key: string]: string } {
|
|
4310
|
+
return {
|
|
4311
|
+
headers: 'headers',
|
|
4312
|
+
statusCode: 'statusCode',
|
|
4313
|
+
body: 'body',
|
|
4314
|
+
};
|
|
4315
|
+
}
|
|
4316
|
+
|
|
4317
|
+
static types(): { [key: string]: any } {
|
|
4318
|
+
return {
|
|
4319
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4320
|
+
statusCode: 'number',
|
|
4321
|
+
body: UpdateMFAAuthenticationSettingsResponseBody,
|
|
4322
|
+
};
|
|
4323
|
+
}
|
|
4324
|
+
|
|
4325
|
+
constructor(map?: { [key: string]: any }) {
|
|
4326
|
+
super(map);
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
|
|
3955
4330
|
export class UpdateSCIMServerCredentialStatusRequest extends $tea.Model {
|
|
3956
4331
|
credentialId?: string;
|
|
3957
4332
|
directoryId?: string;
|
|
@@ -4001,10 +4376,12 @@ export class UpdateSCIMServerCredentialStatusResponseBody extends $tea.Model {
|
|
|
4001
4376
|
|
|
4002
4377
|
export class UpdateSCIMServerCredentialStatusResponse extends $tea.Model {
|
|
4003
4378
|
headers: { [key: string]: string };
|
|
4379
|
+
statusCode: number;
|
|
4004
4380
|
body: UpdateSCIMServerCredentialStatusResponseBody;
|
|
4005
4381
|
static names(): { [key: string]: string } {
|
|
4006
4382
|
return {
|
|
4007
4383
|
headers: 'headers',
|
|
4384
|
+
statusCode: 'statusCode',
|
|
4008
4385
|
body: 'body',
|
|
4009
4386
|
};
|
|
4010
4387
|
}
|
|
@@ -4012,6 +4389,7 @@ export class UpdateSCIMServerCredentialStatusResponse extends $tea.Model {
|
|
|
4012
4389
|
static types(): { [key: string]: any } {
|
|
4013
4390
|
return {
|
|
4014
4391
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4392
|
+
statusCode: 'number',
|
|
4015
4393
|
body: UpdateSCIMServerCredentialStatusResponseBody,
|
|
4016
4394
|
};
|
|
4017
4395
|
}
|
|
@@ -4082,10 +4460,12 @@ export class UpdateUserResponseBody extends $tea.Model {
|
|
|
4082
4460
|
|
|
4083
4461
|
export class UpdateUserResponse extends $tea.Model {
|
|
4084
4462
|
headers: { [key: string]: string };
|
|
4463
|
+
statusCode: number;
|
|
4085
4464
|
body: UpdateUserResponseBody;
|
|
4086
4465
|
static names(): { [key: string]: string } {
|
|
4087
4466
|
return {
|
|
4088
4467
|
headers: 'headers',
|
|
4468
|
+
statusCode: 'statusCode',
|
|
4089
4469
|
body: 'body',
|
|
4090
4470
|
};
|
|
4091
4471
|
}
|
|
@@ -4093,6 +4473,7 @@ export class UpdateUserResponse extends $tea.Model {
|
|
|
4093
4473
|
static types(): { [key: string]: any } {
|
|
4094
4474
|
return {
|
|
4095
4475
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4476
|
+
statusCode: 'number',
|
|
4096
4477
|
body: UpdateUserResponseBody,
|
|
4097
4478
|
};
|
|
4098
4479
|
}
|
|
@@ -4102,6 +4483,75 @@ export class UpdateUserResponse extends $tea.Model {
|
|
|
4102
4483
|
}
|
|
4103
4484
|
}
|
|
4104
4485
|
|
|
4486
|
+
export class UpdateUserMFAAuthenticationSettingsRequest extends $tea.Model {
|
|
4487
|
+
directoryId?: string;
|
|
4488
|
+
userId?: string;
|
|
4489
|
+
userMFAAuthenticationSettings?: string;
|
|
4490
|
+
static names(): { [key: string]: string } {
|
|
4491
|
+
return {
|
|
4492
|
+
directoryId: 'DirectoryId',
|
|
4493
|
+
userId: 'UserId',
|
|
4494
|
+
userMFAAuthenticationSettings: 'UserMFAAuthenticationSettings',
|
|
4495
|
+
};
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
static types(): { [key: string]: any } {
|
|
4499
|
+
return {
|
|
4500
|
+
directoryId: 'string',
|
|
4501
|
+
userId: 'string',
|
|
4502
|
+
userMFAAuthenticationSettings: 'string',
|
|
4503
|
+
};
|
|
4504
|
+
}
|
|
4505
|
+
|
|
4506
|
+
constructor(map?: { [key: string]: any }) {
|
|
4507
|
+
super(map);
|
|
4508
|
+
}
|
|
4509
|
+
}
|
|
4510
|
+
|
|
4511
|
+
export class UpdateUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
|
|
4512
|
+
requestId?: string;
|
|
4513
|
+
static names(): { [key: string]: string } {
|
|
4514
|
+
return {
|
|
4515
|
+
requestId: 'RequestId',
|
|
4516
|
+
};
|
|
4517
|
+
}
|
|
4518
|
+
|
|
4519
|
+
static types(): { [key: string]: any } {
|
|
4520
|
+
return {
|
|
4521
|
+
requestId: 'string',
|
|
4522
|
+
};
|
|
4523
|
+
}
|
|
4524
|
+
|
|
4525
|
+
constructor(map?: { [key: string]: any }) {
|
|
4526
|
+
super(map);
|
|
4527
|
+
}
|
|
4528
|
+
}
|
|
4529
|
+
|
|
4530
|
+
export class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
4531
|
+
headers: { [key: string]: string };
|
|
4532
|
+
statusCode: number;
|
|
4533
|
+
body: UpdateUserMFAAuthenticationSettingsResponseBody;
|
|
4534
|
+
static names(): { [key: string]: string } {
|
|
4535
|
+
return {
|
|
4536
|
+
headers: 'headers',
|
|
4537
|
+
statusCode: 'statusCode',
|
|
4538
|
+
body: 'body',
|
|
4539
|
+
};
|
|
4540
|
+
}
|
|
4541
|
+
|
|
4542
|
+
static types(): { [key: string]: any } {
|
|
4543
|
+
return {
|
|
4544
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4545
|
+
statusCode: 'number',
|
|
4546
|
+
body: UpdateUserMFAAuthenticationSettingsResponseBody,
|
|
4547
|
+
};
|
|
4548
|
+
}
|
|
4549
|
+
|
|
4550
|
+
constructor(map?: { [key: string]: any }) {
|
|
4551
|
+
super(map);
|
|
4552
|
+
}
|
|
4553
|
+
}
|
|
4554
|
+
|
|
4105
4555
|
export class UpdateUserStatusRequest extends $tea.Model {
|
|
4106
4556
|
directoryId?: string;
|
|
4107
4557
|
newStatus?: string;
|
|
@@ -4148,10 +4598,12 @@ export class UpdateUserStatusResponseBody extends $tea.Model {
|
|
|
4148
4598
|
|
|
4149
4599
|
export class UpdateUserStatusResponse extends $tea.Model {
|
|
4150
4600
|
headers: { [key: string]: string };
|
|
4601
|
+
statusCode: number;
|
|
4151
4602
|
body: UpdateUserStatusResponseBody;
|
|
4152
4603
|
static names(): { [key: string]: string } {
|
|
4153
4604
|
return {
|
|
4154
4605
|
headers: 'headers',
|
|
4606
|
+
statusCode: 'statusCode',
|
|
4155
4607
|
body: 'body',
|
|
4156
4608
|
};
|
|
4157
4609
|
}
|
|
@@ -4159,6 +4611,7 @@ export class UpdateUserStatusResponse extends $tea.Model {
|
|
|
4159
4611
|
static types(): { [key: string]: any } {
|
|
4160
4612
|
return {
|
|
4161
4613
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4614
|
+
statusCode: 'number',
|
|
4162
4615
|
body: UpdateUserStatusResponseBody,
|
|
4163
4616
|
};
|
|
4164
4617
|
}
|
|
@@ -5765,11 +6218,16 @@ export default class Client extends OpenApi {
|
|
|
5765
6218
|
async addExternalSAMLIdPCertificateWithOptions(request: AddExternalSAMLIdPCertificateRequest, runtime: $Util.RuntimeOptions): Promise<AddExternalSAMLIdPCertificateResponse> {
|
|
5766
6219
|
Util.validateModel(request);
|
|
5767
6220
|
let query = { };
|
|
5768
|
-
|
|
5769
|
-
|
|
6221
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6222
|
+
query["DirectoryId"] = request.directoryId;
|
|
6223
|
+
}
|
|
6224
|
+
|
|
6225
|
+
if (!Util.isUnset(request.x509Certificate)) {
|
|
6226
|
+
query["X509Certificate"] = request.x509Certificate;
|
|
6227
|
+
}
|
|
6228
|
+
|
|
5770
6229
|
let req = new $OpenApi.OpenApiRequest({
|
|
5771
6230
|
query: OpenApiUtil.query(query),
|
|
5772
|
-
body: Util.toMap(request),
|
|
5773
6231
|
});
|
|
5774
6232
|
let params = new $OpenApi.Params({
|
|
5775
6233
|
action: "AddExternalSAMLIdPCertificate",
|
|
@@ -5779,7 +6237,7 @@ export default class Client extends OpenApi {
|
|
|
5779
6237
|
method: "POST",
|
|
5780
6238
|
authType: "AK",
|
|
5781
6239
|
style: "RPC",
|
|
5782
|
-
reqBodyType: "
|
|
6240
|
+
reqBodyType: "formData",
|
|
5783
6241
|
bodyType: "json",
|
|
5784
6242
|
});
|
|
5785
6243
|
return $tea.cast<AddExternalSAMLIdPCertificateResponse>(await this.callApi(params, req, runtime), new AddExternalSAMLIdPCertificateResponse({}));
|
|
@@ -5793,14 +6251,28 @@ export default class Client extends OpenApi {
|
|
|
5793
6251
|
async addPermissionPolicyToAccessConfigurationWithOptions(request: AddPermissionPolicyToAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<AddPermissionPolicyToAccessConfigurationResponse> {
|
|
5794
6252
|
Util.validateModel(request);
|
|
5795
6253
|
let query = { };
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
6254
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6255
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6256
|
+
}
|
|
6257
|
+
|
|
6258
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6259
|
+
query["DirectoryId"] = request.directoryId;
|
|
6260
|
+
}
|
|
6261
|
+
|
|
6262
|
+
if (!Util.isUnset(request.inlinePolicyDocument)) {
|
|
6263
|
+
query["InlinePolicyDocument"] = request.inlinePolicyDocument;
|
|
6264
|
+
}
|
|
6265
|
+
|
|
6266
|
+
if (!Util.isUnset(request.permissionPolicyName)) {
|
|
6267
|
+
query["PermissionPolicyName"] = request.permissionPolicyName;
|
|
6268
|
+
}
|
|
6269
|
+
|
|
6270
|
+
if (!Util.isUnset(request.permissionPolicyType)) {
|
|
6271
|
+
query["PermissionPolicyType"] = request.permissionPolicyType;
|
|
6272
|
+
}
|
|
6273
|
+
|
|
5801
6274
|
let req = new $OpenApi.OpenApiRequest({
|
|
5802
6275
|
query: OpenApiUtil.query(query),
|
|
5803
|
-
body: Util.toMap(request),
|
|
5804
6276
|
});
|
|
5805
6277
|
let params = new $OpenApi.Params({
|
|
5806
6278
|
action: "AddPermissionPolicyToAccessConfiguration",
|
|
@@ -5810,7 +6282,7 @@ export default class Client extends OpenApi {
|
|
|
5810
6282
|
method: "POST",
|
|
5811
6283
|
authType: "AK",
|
|
5812
6284
|
style: "RPC",
|
|
5813
|
-
reqBodyType: "
|
|
6285
|
+
reqBodyType: "formData",
|
|
5814
6286
|
bodyType: "json",
|
|
5815
6287
|
});
|
|
5816
6288
|
return $tea.cast<AddPermissionPolicyToAccessConfigurationResponse>(await this.callApi(params, req, runtime), new AddPermissionPolicyToAccessConfigurationResponse({}));
|
|
@@ -5824,12 +6296,20 @@ export default class Client extends OpenApi {
|
|
|
5824
6296
|
async addUserToGroupWithOptions(request: AddUserToGroupRequest, runtime: $Util.RuntimeOptions): Promise<AddUserToGroupResponse> {
|
|
5825
6297
|
Util.validateModel(request);
|
|
5826
6298
|
let query = { };
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
6299
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6300
|
+
query["DirectoryId"] = request.directoryId;
|
|
6301
|
+
}
|
|
6302
|
+
|
|
6303
|
+
if (!Util.isUnset(request.groupId)) {
|
|
6304
|
+
query["GroupId"] = request.groupId;
|
|
6305
|
+
}
|
|
6306
|
+
|
|
6307
|
+
if (!Util.isUnset(request.userId)) {
|
|
6308
|
+
query["UserId"] = request.userId;
|
|
6309
|
+
}
|
|
6310
|
+
|
|
5830
6311
|
let req = new $OpenApi.OpenApiRequest({
|
|
5831
6312
|
query: OpenApiUtil.query(query),
|
|
5832
|
-
body: Util.toMap(request),
|
|
5833
6313
|
});
|
|
5834
6314
|
let params = new $OpenApi.Params({
|
|
5835
6315
|
action: "AddUserToGroup",
|
|
@@ -5839,7 +6319,7 @@ export default class Client extends OpenApi {
|
|
|
5839
6319
|
method: "POST",
|
|
5840
6320
|
authType: "AK",
|
|
5841
6321
|
style: "RPC",
|
|
5842
|
-
reqBodyType: "
|
|
6322
|
+
reqBodyType: "formData",
|
|
5843
6323
|
bodyType: "json",
|
|
5844
6324
|
});
|
|
5845
6325
|
return $tea.cast<AddUserToGroupResponse>(await this.callApi(params, req, runtime), new AddUserToGroupResponse({}));
|
|
@@ -5853,10 +6333,12 @@ export default class Client extends OpenApi {
|
|
|
5853
6333
|
async clearExternalSAMLIdentityProviderWithOptions(request: ClearExternalSAMLIdentityProviderRequest, runtime: $Util.RuntimeOptions): Promise<ClearExternalSAMLIdentityProviderResponse> {
|
|
5854
6334
|
Util.validateModel(request);
|
|
5855
6335
|
let query = { };
|
|
5856
|
-
|
|
6336
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6337
|
+
query["DirectoryId"] = request.directoryId;
|
|
6338
|
+
}
|
|
6339
|
+
|
|
5857
6340
|
let req = new $OpenApi.OpenApiRequest({
|
|
5858
6341
|
query: OpenApiUtil.query(query),
|
|
5859
|
-
body: Util.toMap(request),
|
|
5860
6342
|
});
|
|
5861
6343
|
let params = new $OpenApi.Params({
|
|
5862
6344
|
action: "ClearExternalSAMLIdentityProvider",
|
|
@@ -5866,7 +6348,7 @@ export default class Client extends OpenApi {
|
|
|
5866
6348
|
method: "POST",
|
|
5867
6349
|
authType: "AK",
|
|
5868
6350
|
style: "RPC",
|
|
5869
|
-
reqBodyType: "
|
|
6351
|
+
reqBodyType: "formData",
|
|
5870
6352
|
bodyType: "json",
|
|
5871
6353
|
});
|
|
5872
6354
|
return $tea.cast<ClearExternalSAMLIdentityProviderResponse>(await this.callApi(params, req, runtime), new ClearExternalSAMLIdentityProviderResponse({}));
|
|
@@ -5880,25 +6362,42 @@ export default class Client extends OpenApi {
|
|
|
5880
6362
|
async createAccessAssignmentWithOptions(request: CreateAccessAssignmentRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccessAssignmentResponse> {
|
|
5881
6363
|
Util.validateModel(request);
|
|
5882
6364
|
let query = { };
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
6365
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6366
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6367
|
+
}
|
|
6368
|
+
|
|
6369
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6370
|
+
query["DirectoryId"] = request.directoryId;
|
|
6371
|
+
}
|
|
6372
|
+
|
|
6373
|
+
if (!Util.isUnset(request.principalId)) {
|
|
6374
|
+
query["PrincipalId"] = request.principalId;
|
|
6375
|
+
}
|
|
6376
|
+
|
|
6377
|
+
if (!Util.isUnset(request.principalType)) {
|
|
6378
|
+
query["PrincipalType"] = request.principalType;
|
|
6379
|
+
}
|
|
6380
|
+
|
|
6381
|
+
if (!Util.isUnset(request.targetId)) {
|
|
6382
|
+
query["TargetId"] = request.targetId;
|
|
6383
|
+
}
|
|
6384
|
+
|
|
6385
|
+
if (!Util.isUnset(request.targetType)) {
|
|
6386
|
+
query["TargetType"] = request.targetType;
|
|
6387
|
+
}
|
|
6388
|
+
|
|
6389
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6390
|
+
query: OpenApiUtil.query(query),
|
|
6391
|
+
});
|
|
6392
|
+
let params = new $OpenApi.Params({
|
|
6393
|
+
action: "CreateAccessAssignment",
|
|
6394
|
+
version: "2021-05-15",
|
|
6395
|
+
protocol: "HTTPS",
|
|
6396
|
+
pathname: "/",
|
|
5898
6397
|
method: "POST",
|
|
5899
6398
|
authType: "AK",
|
|
5900
6399
|
style: "RPC",
|
|
5901
|
-
reqBodyType: "
|
|
6400
|
+
reqBodyType: "formData",
|
|
5902
6401
|
bodyType: "json",
|
|
5903
6402
|
});
|
|
5904
6403
|
return $tea.cast<CreateAccessAssignmentResponse>(await this.callApi(params, req, runtime), new CreateAccessAssignmentResponse({}));
|
|
@@ -5912,14 +6411,28 @@ export default class Client extends OpenApi {
|
|
|
5912
6411
|
async createAccessConfigurationWithOptions(request: CreateAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccessConfigurationResponse> {
|
|
5913
6412
|
Util.validateModel(request);
|
|
5914
6413
|
let query = { };
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
6414
|
+
if (!Util.isUnset(request.accessConfigurationName)) {
|
|
6415
|
+
query["AccessConfigurationName"] = request.accessConfigurationName;
|
|
6416
|
+
}
|
|
6417
|
+
|
|
6418
|
+
if (!Util.isUnset(request.description)) {
|
|
6419
|
+
query["Description"] = request.description;
|
|
6420
|
+
}
|
|
6421
|
+
|
|
6422
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6423
|
+
query["DirectoryId"] = request.directoryId;
|
|
6424
|
+
}
|
|
6425
|
+
|
|
6426
|
+
if (!Util.isUnset(request.relayState)) {
|
|
6427
|
+
query["RelayState"] = request.relayState;
|
|
6428
|
+
}
|
|
6429
|
+
|
|
6430
|
+
if (!Util.isUnset(request.sessionDuration)) {
|
|
6431
|
+
query["SessionDuration"] = request.sessionDuration;
|
|
6432
|
+
}
|
|
6433
|
+
|
|
5920
6434
|
let req = new $OpenApi.OpenApiRequest({
|
|
5921
6435
|
query: OpenApiUtil.query(query),
|
|
5922
|
-
body: Util.toMap(request),
|
|
5923
6436
|
});
|
|
5924
6437
|
let params = new $OpenApi.Params({
|
|
5925
6438
|
action: "CreateAccessConfiguration",
|
|
@@ -5929,7 +6442,7 @@ export default class Client extends OpenApi {
|
|
|
5929
6442
|
method: "POST",
|
|
5930
6443
|
authType: "AK",
|
|
5931
6444
|
style: "RPC",
|
|
5932
|
-
reqBodyType: "
|
|
6445
|
+
reqBodyType: "formData",
|
|
5933
6446
|
bodyType: "json",
|
|
5934
6447
|
});
|
|
5935
6448
|
return $tea.cast<CreateAccessConfigurationResponse>(await this.callApi(params, req, runtime), new CreateAccessConfigurationResponse({}));
|
|
@@ -5943,10 +6456,12 @@ export default class Client extends OpenApi {
|
|
|
5943
6456
|
async createDirectoryWithOptions(request: CreateDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<CreateDirectoryResponse> {
|
|
5944
6457
|
Util.validateModel(request);
|
|
5945
6458
|
let query = { };
|
|
5946
|
-
|
|
6459
|
+
if (!Util.isUnset(request.directoryName)) {
|
|
6460
|
+
query["DirectoryName"] = request.directoryName;
|
|
6461
|
+
}
|
|
6462
|
+
|
|
5947
6463
|
let req = new $OpenApi.OpenApiRequest({
|
|
5948
6464
|
query: OpenApiUtil.query(query),
|
|
5949
|
-
body: Util.toMap(request),
|
|
5950
6465
|
});
|
|
5951
6466
|
let params = new $OpenApi.Params({
|
|
5952
6467
|
action: "CreateDirectory",
|
|
@@ -5956,7 +6471,7 @@ export default class Client extends OpenApi {
|
|
|
5956
6471
|
method: "POST",
|
|
5957
6472
|
authType: "AK",
|
|
5958
6473
|
style: "RPC",
|
|
5959
|
-
reqBodyType: "
|
|
6474
|
+
reqBodyType: "formData",
|
|
5960
6475
|
bodyType: "json",
|
|
5961
6476
|
});
|
|
5962
6477
|
return $tea.cast<CreateDirectoryResponse>(await this.callApi(params, req, runtime), new CreateDirectoryResponse({}));
|
|
@@ -5970,12 +6485,20 @@ export default class Client extends OpenApi {
|
|
|
5970
6485
|
async createGroupWithOptions(request: CreateGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateGroupResponse> {
|
|
5971
6486
|
Util.validateModel(request);
|
|
5972
6487
|
let query = { };
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
6488
|
+
if (!Util.isUnset(request.description)) {
|
|
6489
|
+
query["Description"] = request.description;
|
|
6490
|
+
}
|
|
6491
|
+
|
|
6492
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6493
|
+
query["DirectoryId"] = request.directoryId;
|
|
6494
|
+
}
|
|
6495
|
+
|
|
6496
|
+
if (!Util.isUnset(request.groupName)) {
|
|
6497
|
+
query["GroupName"] = request.groupName;
|
|
6498
|
+
}
|
|
6499
|
+
|
|
5976
6500
|
let req = new $OpenApi.OpenApiRequest({
|
|
5977
6501
|
query: OpenApiUtil.query(query),
|
|
5978
|
-
body: Util.toMap(request),
|
|
5979
6502
|
});
|
|
5980
6503
|
let params = new $OpenApi.Params({
|
|
5981
6504
|
action: "CreateGroup",
|
|
@@ -5985,7 +6508,7 @@ export default class Client extends OpenApi {
|
|
|
5985
6508
|
method: "POST",
|
|
5986
6509
|
authType: "AK",
|
|
5987
6510
|
style: "RPC",
|
|
5988
|
-
reqBodyType: "
|
|
6511
|
+
reqBodyType: "formData",
|
|
5989
6512
|
bodyType: "json",
|
|
5990
6513
|
});
|
|
5991
6514
|
return $tea.cast<CreateGroupResponse>(await this.callApi(params, req, runtime), new CreateGroupResponse({}));
|
|
@@ -5999,10 +6522,12 @@ export default class Client extends OpenApi {
|
|
|
5999
6522
|
async createSCIMServerCredentialWithOptions(request: CreateSCIMServerCredentialRequest, runtime: $Util.RuntimeOptions): Promise<CreateSCIMServerCredentialResponse> {
|
|
6000
6523
|
Util.validateModel(request);
|
|
6001
6524
|
let query = { };
|
|
6002
|
-
|
|
6525
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6526
|
+
query["DirectoryId"] = request.directoryId;
|
|
6527
|
+
}
|
|
6528
|
+
|
|
6003
6529
|
let req = new $OpenApi.OpenApiRequest({
|
|
6004
6530
|
query: OpenApiUtil.query(query),
|
|
6005
|
-
body: Util.toMap(request),
|
|
6006
6531
|
});
|
|
6007
6532
|
let params = new $OpenApi.Params({
|
|
6008
6533
|
action: "CreateSCIMServerCredential",
|
|
@@ -6012,7 +6537,7 @@ export default class Client extends OpenApi {
|
|
|
6012
6537
|
method: "POST",
|
|
6013
6538
|
authType: "AK",
|
|
6014
6539
|
style: "RPC",
|
|
6015
|
-
reqBodyType: "
|
|
6540
|
+
reqBodyType: "formData",
|
|
6016
6541
|
bodyType: "json",
|
|
6017
6542
|
});
|
|
6018
6543
|
return $tea.cast<CreateSCIMServerCredentialResponse>(await this.callApi(params, req, runtime), new CreateSCIMServerCredentialResponse({}));
|
|
@@ -6026,17 +6551,40 @@ export default class Client extends OpenApi {
|
|
|
6026
6551
|
async createUserWithOptions(request: CreateUserRequest, runtime: $Util.RuntimeOptions): Promise<CreateUserResponse> {
|
|
6027
6552
|
Util.validateModel(request);
|
|
6028
6553
|
let query = { };
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6554
|
+
if (!Util.isUnset(request.description)) {
|
|
6555
|
+
query["Description"] = request.description;
|
|
6556
|
+
}
|
|
6557
|
+
|
|
6558
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6559
|
+
query["DirectoryId"] = request.directoryId;
|
|
6560
|
+
}
|
|
6561
|
+
|
|
6562
|
+
if (!Util.isUnset(request.displayName)) {
|
|
6563
|
+
query["DisplayName"] = request.displayName;
|
|
6564
|
+
}
|
|
6565
|
+
|
|
6566
|
+
if (!Util.isUnset(request.email)) {
|
|
6567
|
+
query["Email"] = request.email;
|
|
6568
|
+
}
|
|
6569
|
+
|
|
6570
|
+
if (!Util.isUnset(request.firstName)) {
|
|
6571
|
+
query["FirstName"] = request.firstName;
|
|
6572
|
+
}
|
|
6573
|
+
|
|
6574
|
+
if (!Util.isUnset(request.lastName)) {
|
|
6575
|
+
query["LastName"] = request.lastName;
|
|
6576
|
+
}
|
|
6577
|
+
|
|
6578
|
+
if (!Util.isUnset(request.status)) {
|
|
6579
|
+
query["Status"] = request.status;
|
|
6580
|
+
}
|
|
6581
|
+
|
|
6582
|
+
if (!Util.isUnset(request.userName)) {
|
|
6583
|
+
query["UserName"] = request.userName;
|
|
6584
|
+
}
|
|
6585
|
+
|
|
6037
6586
|
let req = new $OpenApi.OpenApiRequest({
|
|
6038
6587
|
query: OpenApiUtil.query(query),
|
|
6039
|
-
body: Util.toMap(request),
|
|
6040
6588
|
});
|
|
6041
6589
|
let params = new $OpenApi.Params({
|
|
6042
6590
|
action: "CreateUser",
|
|
@@ -6046,7 +6594,7 @@ export default class Client extends OpenApi {
|
|
|
6046
6594
|
method: "POST",
|
|
6047
6595
|
authType: "AK",
|
|
6048
6596
|
style: "RPC",
|
|
6049
|
-
reqBodyType: "
|
|
6597
|
+
reqBodyType: "formData",
|
|
6050
6598
|
bodyType: "json",
|
|
6051
6599
|
});
|
|
6052
6600
|
return $tea.cast<CreateUserResponse>(await this.callApi(params, req, runtime), new CreateUserResponse({}));
|
|
@@ -6060,16 +6608,36 @@ export default class Client extends OpenApi {
|
|
|
6060
6608
|
async deleteAccessAssignmentWithOptions(request: DeleteAccessAssignmentRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAccessAssignmentResponse> {
|
|
6061
6609
|
Util.validateModel(request);
|
|
6062
6610
|
let query = { };
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6611
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6612
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6613
|
+
}
|
|
6614
|
+
|
|
6615
|
+
if (!Util.isUnset(request.deprovisionStrategy)) {
|
|
6616
|
+
query["DeprovisionStrategy"] = request.deprovisionStrategy;
|
|
6617
|
+
}
|
|
6618
|
+
|
|
6619
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6620
|
+
query["DirectoryId"] = request.directoryId;
|
|
6621
|
+
}
|
|
6622
|
+
|
|
6623
|
+
if (!Util.isUnset(request.principalId)) {
|
|
6624
|
+
query["PrincipalId"] = request.principalId;
|
|
6625
|
+
}
|
|
6626
|
+
|
|
6627
|
+
if (!Util.isUnset(request.principalType)) {
|
|
6628
|
+
query["PrincipalType"] = request.principalType;
|
|
6629
|
+
}
|
|
6630
|
+
|
|
6631
|
+
if (!Util.isUnset(request.targetId)) {
|
|
6632
|
+
query["TargetId"] = request.targetId;
|
|
6633
|
+
}
|
|
6634
|
+
|
|
6635
|
+
if (!Util.isUnset(request.targetType)) {
|
|
6636
|
+
query["TargetType"] = request.targetType;
|
|
6637
|
+
}
|
|
6638
|
+
|
|
6070
6639
|
let req = new $OpenApi.OpenApiRequest({
|
|
6071
6640
|
query: OpenApiUtil.query(query),
|
|
6072
|
-
body: Util.toMap(request),
|
|
6073
6641
|
});
|
|
6074
6642
|
let params = new $OpenApi.Params({
|
|
6075
6643
|
action: "DeleteAccessAssignment",
|
|
@@ -6079,7 +6647,7 @@ export default class Client extends OpenApi {
|
|
|
6079
6647
|
method: "POST",
|
|
6080
6648
|
authType: "AK",
|
|
6081
6649
|
style: "RPC",
|
|
6082
|
-
reqBodyType: "
|
|
6650
|
+
reqBodyType: "formData",
|
|
6083
6651
|
bodyType: "json",
|
|
6084
6652
|
});
|
|
6085
6653
|
return $tea.cast<DeleteAccessAssignmentResponse>(await this.callApi(params, req, runtime), new DeleteAccessAssignmentResponse({}));
|
|
@@ -6093,12 +6661,20 @@ export default class Client extends OpenApi {
|
|
|
6093
6661
|
async deleteAccessConfigurationWithOptions(request: DeleteAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAccessConfigurationResponse> {
|
|
6094
6662
|
Util.validateModel(request);
|
|
6095
6663
|
let query = { };
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6664
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6665
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6666
|
+
}
|
|
6667
|
+
|
|
6668
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6669
|
+
query["DirectoryId"] = request.directoryId;
|
|
6670
|
+
}
|
|
6671
|
+
|
|
6672
|
+
if (!Util.isUnset(request.forceRemovePermissionPolicies)) {
|
|
6673
|
+
query["ForceRemovePermissionPolicies"] = request.forceRemovePermissionPolicies;
|
|
6674
|
+
}
|
|
6675
|
+
|
|
6099
6676
|
let req = new $OpenApi.OpenApiRequest({
|
|
6100
6677
|
query: OpenApiUtil.query(query),
|
|
6101
|
-
body: Util.toMap(request),
|
|
6102
6678
|
});
|
|
6103
6679
|
let params = new $OpenApi.Params({
|
|
6104
6680
|
action: "DeleteAccessConfiguration",
|
|
@@ -6108,7 +6684,7 @@ export default class Client extends OpenApi {
|
|
|
6108
6684
|
method: "POST",
|
|
6109
6685
|
authType: "AK",
|
|
6110
6686
|
style: "RPC",
|
|
6111
|
-
reqBodyType: "
|
|
6687
|
+
reqBodyType: "formData",
|
|
6112
6688
|
bodyType: "json",
|
|
6113
6689
|
});
|
|
6114
6690
|
return $tea.cast<DeleteAccessConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteAccessConfigurationResponse({}));
|
|
@@ -6122,10 +6698,12 @@ export default class Client extends OpenApi {
|
|
|
6122
6698
|
async deleteDirectoryWithOptions(request: DeleteDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDirectoryResponse> {
|
|
6123
6699
|
Util.validateModel(request);
|
|
6124
6700
|
let query = { };
|
|
6125
|
-
|
|
6701
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6702
|
+
query["DirectoryId"] = request.directoryId;
|
|
6703
|
+
}
|
|
6704
|
+
|
|
6126
6705
|
let req = new $OpenApi.OpenApiRequest({
|
|
6127
6706
|
query: OpenApiUtil.query(query),
|
|
6128
|
-
body: Util.toMap(request),
|
|
6129
6707
|
});
|
|
6130
6708
|
let params = new $OpenApi.Params({
|
|
6131
6709
|
action: "DeleteDirectory",
|
|
@@ -6135,7 +6713,7 @@ export default class Client extends OpenApi {
|
|
|
6135
6713
|
method: "POST",
|
|
6136
6714
|
authType: "AK",
|
|
6137
6715
|
style: "RPC",
|
|
6138
|
-
reqBodyType: "
|
|
6716
|
+
reqBodyType: "formData",
|
|
6139
6717
|
bodyType: "json",
|
|
6140
6718
|
});
|
|
6141
6719
|
return $tea.cast<DeleteDirectoryResponse>(await this.callApi(params, req, runtime), new DeleteDirectoryResponse({}));
|
|
@@ -6149,11 +6727,16 @@ export default class Client extends OpenApi {
|
|
|
6149
6727
|
async deleteGroupWithOptions(request: DeleteGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteGroupResponse> {
|
|
6150
6728
|
Util.validateModel(request);
|
|
6151
6729
|
let query = { };
|
|
6152
|
-
|
|
6153
|
-
|
|
6730
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6731
|
+
query["DirectoryId"] = request.directoryId;
|
|
6732
|
+
}
|
|
6733
|
+
|
|
6734
|
+
if (!Util.isUnset(request.groupId)) {
|
|
6735
|
+
query["GroupId"] = request.groupId;
|
|
6736
|
+
}
|
|
6737
|
+
|
|
6154
6738
|
let req = new $OpenApi.OpenApiRequest({
|
|
6155
6739
|
query: OpenApiUtil.query(query),
|
|
6156
|
-
body: Util.toMap(request),
|
|
6157
6740
|
});
|
|
6158
6741
|
let params = new $OpenApi.Params({
|
|
6159
6742
|
action: "DeleteGroup",
|
|
@@ -6163,7 +6746,7 @@ export default class Client extends OpenApi {
|
|
|
6163
6746
|
method: "POST",
|
|
6164
6747
|
authType: "AK",
|
|
6165
6748
|
style: "RPC",
|
|
6166
|
-
reqBodyType: "
|
|
6749
|
+
reqBodyType: "formData",
|
|
6167
6750
|
bodyType: "json",
|
|
6168
6751
|
});
|
|
6169
6752
|
return $tea.cast<DeleteGroupResponse>(await this.callApi(params, req, runtime), new DeleteGroupResponse({}));
|
|
@@ -6177,12 +6760,20 @@ export default class Client extends OpenApi {
|
|
|
6177
6760
|
async deleteMFADeviceForUserWithOptions(request: DeleteMFADeviceForUserRequest, runtime: $Util.RuntimeOptions): Promise<DeleteMFADeviceForUserResponse> {
|
|
6178
6761
|
Util.validateModel(request);
|
|
6179
6762
|
let query = { };
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6763
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6764
|
+
query["DirectoryId"] = request.directoryId;
|
|
6765
|
+
}
|
|
6766
|
+
|
|
6767
|
+
if (!Util.isUnset(request.MFADeviceId)) {
|
|
6768
|
+
query["MFADeviceId"] = request.MFADeviceId;
|
|
6769
|
+
}
|
|
6770
|
+
|
|
6771
|
+
if (!Util.isUnset(request.userId)) {
|
|
6772
|
+
query["UserId"] = request.userId;
|
|
6773
|
+
}
|
|
6774
|
+
|
|
6183
6775
|
let req = new $OpenApi.OpenApiRequest({
|
|
6184
6776
|
query: OpenApiUtil.query(query),
|
|
6185
|
-
body: Util.toMap(request),
|
|
6186
6777
|
});
|
|
6187
6778
|
let params = new $OpenApi.Params({
|
|
6188
6779
|
action: "DeleteMFADeviceForUser",
|
|
@@ -6192,7 +6783,7 @@ export default class Client extends OpenApi {
|
|
|
6192
6783
|
method: "POST",
|
|
6193
6784
|
authType: "AK",
|
|
6194
6785
|
style: "RPC",
|
|
6195
|
-
reqBodyType: "
|
|
6786
|
+
reqBodyType: "formData",
|
|
6196
6787
|
bodyType: "json",
|
|
6197
6788
|
});
|
|
6198
6789
|
return $tea.cast<DeleteMFADeviceForUserResponse>(await this.callApi(params, req, runtime), new DeleteMFADeviceForUserResponse({}));
|
|
@@ -6206,11 +6797,16 @@ export default class Client extends OpenApi {
|
|
|
6206
6797
|
async deleteSCIMServerCredentialWithOptions(request: DeleteSCIMServerCredentialRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSCIMServerCredentialResponse> {
|
|
6207
6798
|
Util.validateModel(request);
|
|
6208
6799
|
let query = { };
|
|
6209
|
-
|
|
6210
|
-
|
|
6800
|
+
if (!Util.isUnset(request.credentialId)) {
|
|
6801
|
+
query["CredentialId"] = request.credentialId;
|
|
6802
|
+
}
|
|
6803
|
+
|
|
6804
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6805
|
+
query["DirectoryId"] = request.directoryId;
|
|
6806
|
+
}
|
|
6807
|
+
|
|
6211
6808
|
let req = new $OpenApi.OpenApiRequest({
|
|
6212
6809
|
query: OpenApiUtil.query(query),
|
|
6213
|
-
body: Util.toMap(request),
|
|
6214
6810
|
});
|
|
6215
6811
|
let params = new $OpenApi.Params({
|
|
6216
6812
|
action: "DeleteSCIMServerCredential",
|
|
@@ -6220,7 +6816,7 @@ export default class Client extends OpenApi {
|
|
|
6220
6816
|
method: "POST",
|
|
6221
6817
|
authType: "AK",
|
|
6222
6818
|
style: "RPC",
|
|
6223
|
-
reqBodyType: "
|
|
6819
|
+
reqBodyType: "formData",
|
|
6224
6820
|
bodyType: "json",
|
|
6225
6821
|
});
|
|
6226
6822
|
return $tea.cast<DeleteSCIMServerCredentialResponse>(await this.callApi(params, req, runtime), new DeleteSCIMServerCredentialResponse({}));
|
|
@@ -6234,11 +6830,16 @@ export default class Client extends OpenApi {
|
|
|
6234
6830
|
async deleteUserWithOptions(request: DeleteUserRequest, runtime: $Util.RuntimeOptions): Promise<DeleteUserResponse> {
|
|
6235
6831
|
Util.validateModel(request);
|
|
6236
6832
|
let query = { };
|
|
6237
|
-
|
|
6238
|
-
|
|
6833
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6834
|
+
query["DirectoryId"] = request.directoryId;
|
|
6835
|
+
}
|
|
6836
|
+
|
|
6837
|
+
if (!Util.isUnset(request.userId)) {
|
|
6838
|
+
query["UserId"] = request.userId;
|
|
6839
|
+
}
|
|
6840
|
+
|
|
6239
6841
|
let req = new $OpenApi.OpenApiRequest({
|
|
6240
6842
|
query: OpenApiUtil.query(query),
|
|
6241
|
-
body: Util.toMap(request),
|
|
6242
6843
|
});
|
|
6243
6844
|
let params = new $OpenApi.Params({
|
|
6244
6845
|
action: "DeleteUser",
|
|
@@ -6248,7 +6849,7 @@ export default class Client extends OpenApi {
|
|
|
6248
6849
|
method: "POST",
|
|
6249
6850
|
authType: "AK",
|
|
6250
6851
|
style: "RPC",
|
|
6251
|
-
reqBodyType: "
|
|
6852
|
+
reqBodyType: "formData",
|
|
6252
6853
|
bodyType: "json",
|
|
6253
6854
|
});
|
|
6254
6855
|
return $tea.cast<DeleteUserResponse>(await this.callApi(params, req, runtime), new DeleteUserResponse({}));
|
|
@@ -6262,13 +6863,24 @@ export default class Client extends OpenApi {
|
|
|
6262
6863
|
async deprovisionAccessConfigurationWithOptions(request: DeprovisionAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeprovisionAccessConfigurationResponse> {
|
|
6263
6864
|
Util.validateModel(request);
|
|
6264
6865
|
let query = { };
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6866
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6867
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6868
|
+
}
|
|
6869
|
+
|
|
6870
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6871
|
+
query["DirectoryId"] = request.directoryId;
|
|
6872
|
+
}
|
|
6873
|
+
|
|
6874
|
+
if (!Util.isUnset(request.targetId)) {
|
|
6875
|
+
query["TargetId"] = request.targetId;
|
|
6876
|
+
}
|
|
6877
|
+
|
|
6878
|
+
if (!Util.isUnset(request.targetType)) {
|
|
6879
|
+
query["TargetType"] = request.targetType;
|
|
6880
|
+
}
|
|
6881
|
+
|
|
6269
6882
|
let req = new $OpenApi.OpenApiRequest({
|
|
6270
6883
|
query: OpenApiUtil.query(query),
|
|
6271
|
-
body: Util.toMap(request),
|
|
6272
6884
|
});
|
|
6273
6885
|
let params = new $OpenApi.Params({
|
|
6274
6886
|
action: "DeprovisionAccessConfiguration",
|
|
@@ -6278,7 +6890,7 @@ export default class Client extends OpenApi {
|
|
|
6278
6890
|
method: "POST",
|
|
6279
6891
|
authType: "AK",
|
|
6280
6892
|
style: "RPC",
|
|
6281
|
-
reqBodyType: "
|
|
6893
|
+
reqBodyType: "formData",
|
|
6282
6894
|
bodyType: "json",
|
|
6283
6895
|
});
|
|
6284
6896
|
return $tea.cast<DeprovisionAccessConfigurationResponse>(await this.callApi(params, req, runtime), new DeprovisionAccessConfigurationResponse({}));
|
|
@@ -6299,7 +6911,7 @@ export default class Client extends OpenApi {
|
|
|
6299
6911
|
method: "POST",
|
|
6300
6912
|
authType: "AK",
|
|
6301
6913
|
style: "RPC",
|
|
6302
|
-
reqBodyType: "
|
|
6914
|
+
reqBodyType: "formData",
|
|
6303
6915
|
bodyType: "json",
|
|
6304
6916
|
});
|
|
6305
6917
|
return $tea.cast<DisableServiceResponse>(await this.callApi(params, req, runtime), new DisableServiceResponse({}));
|
|
@@ -6320,7 +6932,7 @@ export default class Client extends OpenApi {
|
|
|
6320
6932
|
method: "POST",
|
|
6321
6933
|
authType: "AK",
|
|
6322
6934
|
style: "RPC",
|
|
6323
|
-
reqBodyType: "
|
|
6935
|
+
reqBodyType: "formData",
|
|
6324
6936
|
bodyType: "json",
|
|
6325
6937
|
});
|
|
6326
6938
|
return $tea.cast<EnableServiceResponse>(await this.callApi(params, req, runtime), new EnableServiceResponse({}));
|
|
@@ -6334,11 +6946,16 @@ export default class Client extends OpenApi {
|
|
|
6334
6946
|
async getAccessConfigurationWithOptions(request: GetAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<GetAccessConfigurationResponse> {
|
|
6335
6947
|
Util.validateModel(request);
|
|
6336
6948
|
let query = { };
|
|
6337
|
-
|
|
6338
|
-
|
|
6949
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6950
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6951
|
+
}
|
|
6952
|
+
|
|
6953
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6954
|
+
query["DirectoryId"] = request.directoryId;
|
|
6955
|
+
}
|
|
6956
|
+
|
|
6339
6957
|
let req = new $OpenApi.OpenApiRequest({
|
|
6340
6958
|
query: OpenApiUtil.query(query),
|
|
6341
|
-
body: Util.toMap(request),
|
|
6342
6959
|
});
|
|
6343
6960
|
let params = new $OpenApi.Params({
|
|
6344
6961
|
action: "GetAccessConfiguration",
|
|
@@ -6348,7 +6965,7 @@ export default class Client extends OpenApi {
|
|
|
6348
6965
|
method: "POST",
|
|
6349
6966
|
authType: "AK",
|
|
6350
6967
|
style: "RPC",
|
|
6351
|
-
reqBodyType: "
|
|
6968
|
+
reqBodyType: "formData",
|
|
6352
6969
|
bodyType: "json",
|
|
6353
6970
|
});
|
|
6354
6971
|
return $tea.cast<GetAccessConfigurationResponse>(await this.callApi(params, req, runtime), new GetAccessConfigurationResponse({}));
|
|
@@ -6362,10 +6979,12 @@ export default class Client extends OpenApi {
|
|
|
6362
6979
|
async getDirectoryWithOptions(request: GetDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<GetDirectoryResponse> {
|
|
6363
6980
|
Util.validateModel(request);
|
|
6364
6981
|
let query = { };
|
|
6365
|
-
|
|
6982
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6983
|
+
query["DirectoryId"] = request.directoryId;
|
|
6984
|
+
}
|
|
6985
|
+
|
|
6366
6986
|
let req = new $OpenApi.OpenApiRequest({
|
|
6367
6987
|
query: OpenApiUtil.query(query),
|
|
6368
|
-
body: Util.toMap(request),
|
|
6369
6988
|
});
|
|
6370
6989
|
let params = new $OpenApi.Params({
|
|
6371
6990
|
action: "GetDirectory",
|
|
@@ -6375,7 +6994,7 @@ export default class Client extends OpenApi {
|
|
|
6375
6994
|
method: "POST",
|
|
6376
6995
|
authType: "AK",
|
|
6377
6996
|
style: "RPC",
|
|
6378
|
-
reqBodyType: "
|
|
6997
|
+
reqBodyType: "formData",
|
|
6379
6998
|
bodyType: "json",
|
|
6380
6999
|
});
|
|
6381
7000
|
return $tea.cast<GetDirectoryResponse>(await this.callApi(params, req, runtime), new GetDirectoryResponse({}));
|
|
@@ -6389,10 +7008,12 @@ export default class Client extends OpenApi {
|
|
|
6389
7008
|
async getDirectorySAMLServiceProviderInfoWithOptions(request: GetDirectorySAMLServiceProviderInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetDirectorySAMLServiceProviderInfoResponse> {
|
|
6390
7009
|
Util.validateModel(request);
|
|
6391
7010
|
let query = { };
|
|
6392
|
-
|
|
7011
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7012
|
+
query["DirectoryId"] = request.directoryId;
|
|
7013
|
+
}
|
|
7014
|
+
|
|
6393
7015
|
let req = new $OpenApi.OpenApiRequest({
|
|
6394
7016
|
query: OpenApiUtil.query(query),
|
|
6395
|
-
body: Util.toMap(request),
|
|
6396
7017
|
});
|
|
6397
7018
|
let params = new $OpenApi.Params({
|
|
6398
7019
|
action: "GetDirectorySAMLServiceProviderInfo",
|
|
@@ -6402,7 +7023,7 @@ export default class Client extends OpenApi {
|
|
|
6402
7023
|
method: "POST",
|
|
6403
7024
|
authType: "AK",
|
|
6404
7025
|
style: "RPC",
|
|
6405
|
-
reqBodyType: "
|
|
7026
|
+
reqBodyType: "formData",
|
|
6406
7027
|
bodyType: "json",
|
|
6407
7028
|
});
|
|
6408
7029
|
return $tea.cast<GetDirectorySAMLServiceProviderInfoResponse>(await this.callApi(params, req, runtime), new GetDirectorySAMLServiceProviderInfoResponse({}));
|
|
@@ -6416,10 +7037,12 @@ export default class Client extends OpenApi {
|
|
|
6416
7037
|
async getDirectoryStatisticsWithOptions(request: GetDirectoryStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<GetDirectoryStatisticsResponse> {
|
|
6417
7038
|
Util.validateModel(request);
|
|
6418
7039
|
let query = { };
|
|
6419
|
-
|
|
7040
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7041
|
+
query["DirectoryId"] = request.directoryId;
|
|
7042
|
+
}
|
|
7043
|
+
|
|
6420
7044
|
let req = new $OpenApi.OpenApiRequest({
|
|
6421
7045
|
query: OpenApiUtil.query(query),
|
|
6422
|
-
body: Util.toMap(request),
|
|
6423
7046
|
});
|
|
6424
7047
|
let params = new $OpenApi.Params({
|
|
6425
7048
|
action: "GetDirectoryStatistics",
|
|
@@ -6429,7 +7052,7 @@ export default class Client extends OpenApi {
|
|
|
6429
7052
|
method: "POST",
|
|
6430
7053
|
authType: "AK",
|
|
6431
7054
|
style: "RPC",
|
|
6432
|
-
reqBodyType: "
|
|
7055
|
+
reqBodyType: "formData",
|
|
6433
7056
|
bodyType: "json",
|
|
6434
7057
|
});
|
|
6435
7058
|
return $tea.cast<GetDirectoryStatisticsResponse>(await this.callApi(params, req, runtime), new GetDirectoryStatisticsResponse({}));
|
|
@@ -6443,10 +7066,12 @@ export default class Client extends OpenApi {
|
|
|
6443
7066
|
async getExternalSAMLIdentityProviderWithOptions(request: GetExternalSAMLIdentityProviderRequest, runtime: $Util.RuntimeOptions): Promise<GetExternalSAMLIdentityProviderResponse> {
|
|
6444
7067
|
Util.validateModel(request);
|
|
6445
7068
|
let query = { };
|
|
6446
|
-
|
|
7069
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7070
|
+
query["DirectoryId"] = request.directoryId;
|
|
7071
|
+
}
|
|
7072
|
+
|
|
6447
7073
|
let req = new $OpenApi.OpenApiRequest({
|
|
6448
7074
|
query: OpenApiUtil.query(query),
|
|
6449
|
-
body: Util.toMap(request),
|
|
6450
7075
|
});
|
|
6451
7076
|
let params = new $OpenApi.Params({
|
|
6452
7077
|
action: "GetExternalSAMLIdentityProvider",
|
|
@@ -6456,7 +7081,7 @@ export default class Client extends OpenApi {
|
|
|
6456
7081
|
method: "POST",
|
|
6457
7082
|
authType: "AK",
|
|
6458
7083
|
style: "RPC",
|
|
6459
|
-
reqBodyType: "
|
|
7084
|
+
reqBodyType: "formData",
|
|
6460
7085
|
bodyType: "json",
|
|
6461
7086
|
});
|
|
6462
7087
|
return $tea.cast<GetExternalSAMLIdentityProviderResponse>(await this.callApi(params, req, runtime), new GetExternalSAMLIdentityProviderResponse({}));
|
|
@@ -6470,11 +7095,16 @@ export default class Client extends OpenApi {
|
|
|
6470
7095
|
async getGroupWithOptions(request: GetGroupRequest, runtime: $Util.RuntimeOptions): Promise<GetGroupResponse> {
|
|
6471
7096
|
Util.validateModel(request);
|
|
6472
7097
|
let query = { };
|
|
6473
|
-
|
|
6474
|
-
|
|
7098
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7099
|
+
query["DirectoryId"] = request.directoryId;
|
|
7100
|
+
}
|
|
7101
|
+
|
|
7102
|
+
if (!Util.isUnset(request.groupId)) {
|
|
7103
|
+
query["GroupId"] = request.groupId;
|
|
7104
|
+
}
|
|
7105
|
+
|
|
6475
7106
|
let req = new $OpenApi.OpenApiRequest({
|
|
6476
7107
|
query: OpenApiUtil.query(query),
|
|
6477
|
-
body: Util.toMap(request),
|
|
6478
7108
|
});
|
|
6479
7109
|
let params = new $OpenApi.Params({
|
|
6480
7110
|
action: "GetGroup",
|
|
@@ -6484,7 +7114,7 @@ export default class Client extends OpenApi {
|
|
|
6484
7114
|
method: "POST",
|
|
6485
7115
|
authType: "AK",
|
|
6486
7116
|
style: "RPC",
|
|
6487
|
-
reqBodyType: "
|
|
7117
|
+
reqBodyType: "formData",
|
|
6488
7118
|
bodyType: "json",
|
|
6489
7119
|
});
|
|
6490
7120
|
return $tea.cast<GetGroupResponse>(await this.callApi(params, req, runtime), new GetGroupResponse({}));
|
|
@@ -6495,13 +7125,44 @@ export default class Client extends OpenApi {
|
|
|
6495
7125
|
return await this.getGroupWithOptions(request, runtime);
|
|
6496
7126
|
}
|
|
6497
7127
|
|
|
7128
|
+
async getMFAAuthenticationSettingsWithOptions(request: GetMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<GetMFAAuthenticationSettingsResponse> {
|
|
7129
|
+
Util.validateModel(request);
|
|
7130
|
+
let query = { };
|
|
7131
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7132
|
+
query["DirectoryId"] = request.directoryId;
|
|
7133
|
+
}
|
|
7134
|
+
|
|
7135
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7136
|
+
query: OpenApiUtil.query(query),
|
|
7137
|
+
});
|
|
7138
|
+
let params = new $OpenApi.Params({
|
|
7139
|
+
action: "GetMFAAuthenticationSettings",
|
|
7140
|
+
version: "2021-05-15",
|
|
7141
|
+
protocol: "HTTPS",
|
|
7142
|
+
pathname: "/",
|
|
7143
|
+
method: "POST",
|
|
7144
|
+
authType: "AK",
|
|
7145
|
+
style: "RPC",
|
|
7146
|
+
reqBodyType: "formData",
|
|
7147
|
+
bodyType: "json",
|
|
7148
|
+
});
|
|
7149
|
+
return $tea.cast<GetMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new GetMFAAuthenticationSettingsResponse({}));
|
|
7150
|
+
}
|
|
7151
|
+
|
|
7152
|
+
async getMFAAuthenticationSettings(request: GetMFAAuthenticationSettingsRequest): Promise<GetMFAAuthenticationSettingsResponse> {
|
|
7153
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7154
|
+
return await this.getMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
7155
|
+
}
|
|
7156
|
+
|
|
6498
7157
|
async getMFAAuthenticationStatusWithOptions(request: GetMFAAuthenticationStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetMFAAuthenticationStatusResponse> {
|
|
6499
7158
|
Util.validateModel(request);
|
|
6500
7159
|
let query = { };
|
|
6501
|
-
|
|
7160
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7161
|
+
query["DirectoryId"] = request.directoryId;
|
|
7162
|
+
}
|
|
7163
|
+
|
|
6502
7164
|
let req = new $OpenApi.OpenApiRequest({
|
|
6503
7165
|
query: OpenApiUtil.query(query),
|
|
6504
|
-
body: Util.toMap(request),
|
|
6505
7166
|
});
|
|
6506
7167
|
let params = new $OpenApi.Params({
|
|
6507
7168
|
action: "GetMFAAuthenticationStatus",
|
|
@@ -6511,7 +7172,7 @@ export default class Client extends OpenApi {
|
|
|
6511
7172
|
method: "POST",
|
|
6512
7173
|
authType: "AK",
|
|
6513
7174
|
style: "RPC",
|
|
6514
|
-
reqBodyType: "
|
|
7175
|
+
reqBodyType: "formData",
|
|
6515
7176
|
bodyType: "json",
|
|
6516
7177
|
});
|
|
6517
7178
|
return $tea.cast<GetMFAAuthenticationStatusResponse>(await this.callApi(params, req, runtime), new GetMFAAuthenticationStatusResponse({}));
|
|
@@ -6525,10 +7186,12 @@ export default class Client extends OpenApi {
|
|
|
6525
7186
|
async getSCIMSynchronizationStatusWithOptions(request: GetSCIMSynchronizationStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSCIMSynchronizationStatusResponse> {
|
|
6526
7187
|
Util.validateModel(request);
|
|
6527
7188
|
let query = { };
|
|
6528
|
-
|
|
7189
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7190
|
+
query["DirectoryId"] = request.directoryId;
|
|
7191
|
+
}
|
|
7192
|
+
|
|
6529
7193
|
let req = new $OpenApi.OpenApiRequest({
|
|
6530
7194
|
query: OpenApiUtil.query(query),
|
|
6531
|
-
body: Util.toMap(request),
|
|
6532
7195
|
});
|
|
6533
7196
|
let params = new $OpenApi.Params({
|
|
6534
7197
|
action: "GetSCIMSynchronizationStatus",
|
|
@@ -6538,7 +7201,7 @@ export default class Client extends OpenApi {
|
|
|
6538
7201
|
method: "POST",
|
|
6539
7202
|
authType: "AK",
|
|
6540
7203
|
style: "RPC",
|
|
6541
|
-
reqBodyType: "
|
|
7204
|
+
reqBodyType: "formData",
|
|
6542
7205
|
bodyType: "json",
|
|
6543
7206
|
});
|
|
6544
7207
|
return $tea.cast<GetSCIMSynchronizationStatusResponse>(await this.callApi(params, req, runtime), new GetSCIMSynchronizationStatusResponse({}));
|
|
@@ -6559,7 +7222,7 @@ export default class Client extends OpenApi {
|
|
|
6559
7222
|
method: "POST",
|
|
6560
7223
|
authType: "AK",
|
|
6561
7224
|
style: "RPC",
|
|
6562
|
-
reqBodyType: "
|
|
7225
|
+
reqBodyType: "formData",
|
|
6563
7226
|
bodyType: "json",
|
|
6564
7227
|
});
|
|
6565
7228
|
return $tea.cast<GetServiceStatusResponse>(await this.callApi(params, req, runtime), new GetServiceStatusResponse({}));
|
|
@@ -6573,11 +7236,16 @@ export default class Client extends OpenApi {
|
|
|
6573
7236
|
async getTaskWithOptions(request: GetTaskRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskResponse> {
|
|
6574
7237
|
Util.validateModel(request);
|
|
6575
7238
|
let query = { };
|
|
6576
|
-
|
|
6577
|
-
|
|
7239
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7240
|
+
query["DirectoryId"] = request.directoryId;
|
|
7241
|
+
}
|
|
7242
|
+
|
|
7243
|
+
if (!Util.isUnset(request.taskId)) {
|
|
7244
|
+
query["TaskId"] = request.taskId;
|
|
7245
|
+
}
|
|
7246
|
+
|
|
6578
7247
|
let req = new $OpenApi.OpenApiRequest({
|
|
6579
7248
|
query: OpenApiUtil.query(query),
|
|
6580
|
-
body: Util.toMap(request),
|
|
6581
7249
|
});
|
|
6582
7250
|
let params = new $OpenApi.Params({
|
|
6583
7251
|
action: "GetTask",
|
|
@@ -6587,7 +7255,7 @@ export default class Client extends OpenApi {
|
|
|
6587
7255
|
method: "POST",
|
|
6588
7256
|
authType: "AK",
|
|
6589
7257
|
style: "RPC",
|
|
6590
|
-
reqBodyType: "
|
|
7258
|
+
reqBodyType: "formData",
|
|
6591
7259
|
bodyType: "json",
|
|
6592
7260
|
});
|
|
6593
7261
|
return $tea.cast<GetTaskResponse>(await this.callApi(params, req, runtime), new GetTaskResponse({}));
|
|
@@ -6601,11 +7269,16 @@ export default class Client extends OpenApi {
|
|
|
6601
7269
|
async getTaskStatusWithOptions(request: GetTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse> {
|
|
6602
7270
|
Util.validateModel(request);
|
|
6603
7271
|
let query = { };
|
|
6604
|
-
|
|
6605
|
-
|
|
7272
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7273
|
+
query["DirectoryId"] = request.directoryId;
|
|
7274
|
+
}
|
|
7275
|
+
|
|
7276
|
+
if (!Util.isUnset(request.taskId)) {
|
|
7277
|
+
query["TaskId"] = request.taskId;
|
|
7278
|
+
}
|
|
7279
|
+
|
|
6606
7280
|
let req = new $OpenApi.OpenApiRequest({
|
|
6607
7281
|
query: OpenApiUtil.query(query),
|
|
6608
|
-
body: Util.toMap(request),
|
|
6609
7282
|
});
|
|
6610
7283
|
let params = new $OpenApi.Params({
|
|
6611
7284
|
action: "GetTaskStatus",
|
|
@@ -6615,7 +7288,7 @@ export default class Client extends OpenApi {
|
|
|
6615
7288
|
method: "POST",
|
|
6616
7289
|
authType: "AK",
|
|
6617
7290
|
style: "RPC",
|
|
6618
|
-
reqBodyType: "
|
|
7291
|
+
reqBodyType: "formData",
|
|
6619
7292
|
bodyType: "json",
|
|
6620
7293
|
});
|
|
6621
7294
|
return $tea.cast<GetTaskStatusResponse>(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
|
|
@@ -6629,11 +7302,16 @@ export default class Client extends OpenApi {
|
|
|
6629
7302
|
async getUserWithOptions(request: GetUserRequest, runtime: $Util.RuntimeOptions): Promise<GetUserResponse> {
|
|
6630
7303
|
Util.validateModel(request);
|
|
6631
7304
|
let query = { };
|
|
6632
|
-
|
|
6633
|
-
|
|
7305
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7306
|
+
query["DirectoryId"] = request.directoryId;
|
|
7307
|
+
}
|
|
7308
|
+
|
|
7309
|
+
if (!Util.isUnset(request.userId)) {
|
|
7310
|
+
query["UserId"] = request.userId;
|
|
7311
|
+
}
|
|
7312
|
+
|
|
6634
7313
|
let req = new $OpenApi.OpenApiRequest({
|
|
6635
7314
|
query: OpenApiUtil.query(query),
|
|
6636
|
-
body: Util.toMap(request),
|
|
6637
7315
|
});
|
|
6638
7316
|
let params = new $OpenApi.Params({
|
|
6639
7317
|
action: "GetUser",
|
|
@@ -6643,7 +7321,7 @@ export default class Client extends OpenApi {
|
|
|
6643
7321
|
method: "POST",
|
|
6644
7322
|
authType: "AK",
|
|
6645
7323
|
style: "RPC",
|
|
6646
|
-
reqBodyType: "
|
|
7324
|
+
reqBodyType: "formData",
|
|
6647
7325
|
bodyType: "json",
|
|
6648
7326
|
});
|
|
6649
7327
|
return $tea.cast<GetUserResponse>(await this.callApi(params, req, runtime), new GetUserResponse({}));
|
|
@@ -6654,20 +7332,76 @@ export default class Client extends OpenApi {
|
|
|
6654
7332
|
return await this.getUserWithOptions(request, runtime);
|
|
6655
7333
|
}
|
|
6656
7334
|
|
|
7335
|
+
async getUserMFAAuthenticationSettingsWithOptions(request: GetUserMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<GetUserMFAAuthenticationSettingsResponse> {
|
|
7336
|
+
Util.validateModel(request);
|
|
7337
|
+
let query = { };
|
|
7338
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7339
|
+
query["DirectoryId"] = request.directoryId;
|
|
7340
|
+
}
|
|
7341
|
+
|
|
7342
|
+
if (!Util.isUnset(request.userId)) {
|
|
7343
|
+
query["UserId"] = request.userId;
|
|
7344
|
+
}
|
|
7345
|
+
|
|
7346
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7347
|
+
query: OpenApiUtil.query(query),
|
|
7348
|
+
});
|
|
7349
|
+
let params = new $OpenApi.Params({
|
|
7350
|
+
action: "GetUserMFAAuthenticationSettings",
|
|
7351
|
+
version: "2021-05-15",
|
|
7352
|
+
protocol: "HTTPS",
|
|
7353
|
+
pathname: "/",
|
|
7354
|
+
method: "POST",
|
|
7355
|
+
authType: "AK",
|
|
7356
|
+
style: "RPC",
|
|
7357
|
+
reqBodyType: "formData",
|
|
7358
|
+
bodyType: "json",
|
|
7359
|
+
});
|
|
7360
|
+
return $tea.cast<GetUserMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new GetUserMFAAuthenticationSettingsResponse({}));
|
|
7361
|
+
}
|
|
7362
|
+
|
|
7363
|
+
async getUserMFAAuthenticationSettings(request: GetUserMFAAuthenticationSettingsRequest): Promise<GetUserMFAAuthenticationSettingsResponse> {
|
|
7364
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7365
|
+
return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
7366
|
+
}
|
|
7367
|
+
|
|
6657
7368
|
async listAccessAssignmentsWithOptions(request: ListAccessAssignmentsRequest, runtime: $Util.RuntimeOptions): Promise<ListAccessAssignmentsResponse> {
|
|
6658
7369
|
Util.validateModel(request);
|
|
6659
7370
|
let query = { };
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
7371
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7372
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7373
|
+
}
|
|
7374
|
+
|
|
7375
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7376
|
+
query["DirectoryId"] = request.directoryId;
|
|
7377
|
+
}
|
|
7378
|
+
|
|
7379
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7380
|
+
query["MaxResults"] = request.maxResults;
|
|
7381
|
+
}
|
|
7382
|
+
|
|
7383
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7384
|
+
query["NextToken"] = request.nextToken;
|
|
7385
|
+
}
|
|
7386
|
+
|
|
7387
|
+
if (!Util.isUnset(request.principalId)) {
|
|
7388
|
+
query["PrincipalId"] = request.principalId;
|
|
7389
|
+
}
|
|
7390
|
+
|
|
7391
|
+
if (!Util.isUnset(request.principalType)) {
|
|
7392
|
+
query["PrincipalType"] = request.principalType;
|
|
7393
|
+
}
|
|
7394
|
+
|
|
7395
|
+
if (!Util.isUnset(request.targetId)) {
|
|
7396
|
+
query["TargetId"] = request.targetId;
|
|
7397
|
+
}
|
|
7398
|
+
|
|
7399
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7400
|
+
query["TargetType"] = request.targetType;
|
|
7401
|
+
}
|
|
7402
|
+
|
|
6668
7403
|
let req = new $OpenApi.OpenApiRequest({
|
|
6669
7404
|
query: OpenApiUtil.query(query),
|
|
6670
|
-
body: Util.toMap(request),
|
|
6671
7405
|
});
|
|
6672
7406
|
let params = new $OpenApi.Params({
|
|
6673
7407
|
action: "ListAccessAssignments",
|
|
@@ -6677,7 +7411,7 @@ export default class Client extends OpenApi {
|
|
|
6677
7411
|
method: "POST",
|
|
6678
7412
|
authType: "AK",
|
|
6679
7413
|
style: "RPC",
|
|
6680
|
-
reqBodyType: "
|
|
7414
|
+
reqBodyType: "formData",
|
|
6681
7415
|
bodyType: "json",
|
|
6682
7416
|
});
|
|
6683
7417
|
return $tea.cast<ListAccessAssignmentsResponse>(await this.callApi(params, req, runtime), new ListAccessAssignmentsResponse({}));
|
|
@@ -6691,16 +7425,36 @@ export default class Client extends OpenApi {
|
|
|
6691
7425
|
async listAccessConfigurationProvisioningsWithOptions(request: ListAccessConfigurationProvisioningsRequest, runtime: $Util.RuntimeOptions): Promise<ListAccessConfigurationProvisioningsResponse> {
|
|
6692
7426
|
Util.validateModel(request);
|
|
6693
7427
|
let query = { };
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
7428
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7429
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7430
|
+
}
|
|
7431
|
+
|
|
7432
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7433
|
+
query["DirectoryId"] = request.directoryId;
|
|
7434
|
+
}
|
|
7435
|
+
|
|
7436
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7437
|
+
query["MaxResults"] = request.maxResults;
|
|
7438
|
+
}
|
|
7439
|
+
|
|
7440
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7441
|
+
query["NextToken"] = request.nextToken;
|
|
7442
|
+
}
|
|
7443
|
+
|
|
7444
|
+
if (!Util.isUnset(request.provisioningStatus)) {
|
|
7445
|
+
query["ProvisioningStatus"] = request.provisioningStatus;
|
|
7446
|
+
}
|
|
7447
|
+
|
|
7448
|
+
if (!Util.isUnset(request.targetId)) {
|
|
7449
|
+
query["TargetId"] = request.targetId;
|
|
7450
|
+
}
|
|
7451
|
+
|
|
7452
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7453
|
+
query["TargetType"] = request.targetType;
|
|
7454
|
+
}
|
|
7455
|
+
|
|
6701
7456
|
let req = new $OpenApi.OpenApiRequest({
|
|
6702
7457
|
query: OpenApiUtil.query(query),
|
|
6703
|
-
body: Util.toMap(request),
|
|
6704
7458
|
});
|
|
6705
7459
|
let params = new $OpenApi.Params({
|
|
6706
7460
|
action: "ListAccessConfigurationProvisionings",
|
|
@@ -6710,7 +7464,7 @@ export default class Client extends OpenApi {
|
|
|
6710
7464
|
method: "POST",
|
|
6711
7465
|
authType: "AK",
|
|
6712
7466
|
style: "RPC",
|
|
6713
|
-
reqBodyType: "
|
|
7467
|
+
reqBodyType: "formData",
|
|
6714
7468
|
bodyType: "json",
|
|
6715
7469
|
});
|
|
6716
7470
|
return $tea.cast<ListAccessConfigurationProvisioningsResponse>(await this.callApi(params, req, runtime), new ListAccessConfigurationProvisioningsResponse({}));
|
|
@@ -6724,14 +7478,28 @@ export default class Client extends OpenApi {
|
|
|
6724
7478
|
async listAccessConfigurationsWithOptions(request: ListAccessConfigurationsRequest, runtime: $Util.RuntimeOptions): Promise<ListAccessConfigurationsResponse> {
|
|
6725
7479
|
Util.validateModel(request);
|
|
6726
7480
|
let query = { };
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
7481
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7482
|
+
query["DirectoryId"] = request.directoryId;
|
|
7483
|
+
}
|
|
7484
|
+
|
|
7485
|
+
if (!Util.isUnset(request.filter)) {
|
|
7486
|
+
query["Filter"] = request.filter;
|
|
7487
|
+
}
|
|
7488
|
+
|
|
7489
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7490
|
+
query["MaxResults"] = request.maxResults;
|
|
7491
|
+
}
|
|
7492
|
+
|
|
7493
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7494
|
+
query["NextToken"] = request.nextToken;
|
|
7495
|
+
}
|
|
7496
|
+
|
|
7497
|
+
if (!Util.isUnset(request.statusNotifications)) {
|
|
7498
|
+
query["StatusNotifications"] = request.statusNotifications;
|
|
7499
|
+
}
|
|
7500
|
+
|
|
6732
7501
|
let req = new $OpenApi.OpenApiRequest({
|
|
6733
7502
|
query: OpenApiUtil.query(query),
|
|
6734
|
-
body: Util.toMap(request),
|
|
6735
7503
|
});
|
|
6736
7504
|
let params = new $OpenApi.Params({
|
|
6737
7505
|
action: "ListAccessConfigurations",
|
|
@@ -6741,7 +7509,7 @@ export default class Client extends OpenApi {
|
|
|
6741
7509
|
method: "POST",
|
|
6742
7510
|
authType: "AK",
|
|
6743
7511
|
style: "RPC",
|
|
6744
|
-
reqBodyType: "
|
|
7512
|
+
reqBodyType: "formData",
|
|
6745
7513
|
bodyType: "json",
|
|
6746
7514
|
});
|
|
6747
7515
|
return $tea.cast<ListAccessConfigurationsResponse>(await this.callApi(params, req, runtime), new ListAccessConfigurationsResponse({}));
|
|
@@ -6762,7 +7530,7 @@ export default class Client extends OpenApi {
|
|
|
6762
7530
|
method: "POST",
|
|
6763
7531
|
authType: "AK",
|
|
6764
7532
|
style: "RPC",
|
|
6765
|
-
reqBodyType: "
|
|
7533
|
+
reqBodyType: "formData",
|
|
6766
7534
|
bodyType: "json",
|
|
6767
7535
|
});
|
|
6768
7536
|
return $tea.cast<ListDirectoriesResponse>(await this.callApi(params, req, runtime), new ListDirectoriesResponse({}));
|
|
@@ -6776,10 +7544,12 @@ export default class Client extends OpenApi {
|
|
|
6776
7544
|
async listExternalSAMLIdPCertificatesWithOptions(request: ListExternalSAMLIdPCertificatesRequest, runtime: $Util.RuntimeOptions): Promise<ListExternalSAMLIdPCertificatesResponse> {
|
|
6777
7545
|
Util.validateModel(request);
|
|
6778
7546
|
let query = { };
|
|
6779
|
-
|
|
7547
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7548
|
+
query["DirectoryId"] = request.directoryId;
|
|
7549
|
+
}
|
|
7550
|
+
|
|
6780
7551
|
let req = new $OpenApi.OpenApiRequest({
|
|
6781
7552
|
query: OpenApiUtil.query(query),
|
|
6782
|
-
body: Util.toMap(request),
|
|
6783
7553
|
});
|
|
6784
7554
|
let params = new $OpenApi.Params({
|
|
6785
7555
|
action: "ListExternalSAMLIdPCertificates",
|
|
@@ -6789,7 +7559,7 @@ export default class Client extends OpenApi {
|
|
|
6789
7559
|
method: "POST",
|
|
6790
7560
|
authType: "AK",
|
|
6791
7561
|
style: "RPC",
|
|
6792
|
-
reqBodyType: "
|
|
7562
|
+
reqBodyType: "formData",
|
|
6793
7563
|
bodyType: "json",
|
|
6794
7564
|
});
|
|
6795
7565
|
return $tea.cast<ListExternalSAMLIdPCertificatesResponse>(await this.callApi(params, req, runtime), new ListExternalSAMLIdPCertificatesResponse({}));
|
|
@@ -6803,13 +7573,24 @@ export default class Client extends OpenApi {
|
|
|
6803
7573
|
async listGroupMembersWithOptions(request: ListGroupMembersRequest, runtime: $Util.RuntimeOptions): Promise<ListGroupMembersResponse> {
|
|
6804
7574
|
Util.validateModel(request);
|
|
6805
7575
|
let query = { };
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
7576
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7577
|
+
query["DirectoryId"] = request.directoryId;
|
|
7578
|
+
}
|
|
7579
|
+
|
|
7580
|
+
if (!Util.isUnset(request.groupId)) {
|
|
7581
|
+
query["GroupId"] = request.groupId;
|
|
7582
|
+
}
|
|
7583
|
+
|
|
7584
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7585
|
+
query["MaxResults"] = request.maxResults;
|
|
7586
|
+
}
|
|
7587
|
+
|
|
7588
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7589
|
+
query["NextToken"] = request.nextToken;
|
|
7590
|
+
}
|
|
7591
|
+
|
|
6810
7592
|
let req = new $OpenApi.OpenApiRequest({
|
|
6811
7593
|
query: OpenApiUtil.query(query),
|
|
6812
|
-
body: Util.toMap(request),
|
|
6813
7594
|
});
|
|
6814
7595
|
let params = new $OpenApi.Params({
|
|
6815
7596
|
action: "ListGroupMembers",
|
|
@@ -6819,7 +7600,7 @@ export default class Client extends OpenApi {
|
|
|
6819
7600
|
method: "POST",
|
|
6820
7601
|
authType: "AK",
|
|
6821
7602
|
style: "RPC",
|
|
6822
|
-
reqBodyType: "
|
|
7603
|
+
reqBodyType: "formData",
|
|
6823
7604
|
bodyType: "json",
|
|
6824
7605
|
});
|
|
6825
7606
|
return $tea.cast<ListGroupMembersResponse>(await this.callApi(params, req, runtime), new ListGroupMembersResponse({}));
|
|
@@ -6833,14 +7614,28 @@ export default class Client extends OpenApi {
|
|
|
6833
7614
|
async listGroupsWithOptions(request: ListGroupsRequest, runtime: $Util.RuntimeOptions): Promise<ListGroupsResponse> {
|
|
6834
7615
|
Util.validateModel(request);
|
|
6835
7616
|
let query = { };
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
7617
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7618
|
+
query["DirectoryId"] = request.directoryId;
|
|
7619
|
+
}
|
|
7620
|
+
|
|
7621
|
+
if (!Util.isUnset(request.filter)) {
|
|
7622
|
+
query["Filter"] = request.filter;
|
|
7623
|
+
}
|
|
7624
|
+
|
|
7625
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7626
|
+
query["MaxResults"] = request.maxResults;
|
|
7627
|
+
}
|
|
7628
|
+
|
|
7629
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7630
|
+
query["NextToken"] = request.nextToken;
|
|
7631
|
+
}
|
|
7632
|
+
|
|
7633
|
+
if (!Util.isUnset(request.provisionType)) {
|
|
7634
|
+
query["ProvisionType"] = request.provisionType;
|
|
7635
|
+
}
|
|
7636
|
+
|
|
6841
7637
|
let req = new $OpenApi.OpenApiRequest({
|
|
6842
7638
|
query: OpenApiUtil.query(query),
|
|
6843
|
-
body: Util.toMap(request),
|
|
6844
7639
|
});
|
|
6845
7640
|
let params = new $OpenApi.Params({
|
|
6846
7641
|
action: "ListGroups",
|
|
@@ -6850,7 +7645,7 @@ export default class Client extends OpenApi {
|
|
|
6850
7645
|
method: "POST",
|
|
6851
7646
|
authType: "AK",
|
|
6852
7647
|
style: "RPC",
|
|
6853
|
-
reqBodyType: "
|
|
7648
|
+
reqBodyType: "formData",
|
|
6854
7649
|
bodyType: "json",
|
|
6855
7650
|
});
|
|
6856
7651
|
return $tea.cast<ListGroupsResponse>(await this.callApi(params, req, runtime), new ListGroupsResponse({}));
|
|
@@ -6864,13 +7659,24 @@ export default class Client extends OpenApi {
|
|
|
6864
7659
|
async listJoinedGroupsForUserWithOptions(request: ListJoinedGroupsForUserRequest, runtime: $Util.RuntimeOptions): Promise<ListJoinedGroupsForUserResponse> {
|
|
6865
7660
|
Util.validateModel(request);
|
|
6866
7661
|
let query = { };
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
7662
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7663
|
+
query["DirectoryId"] = request.directoryId;
|
|
7664
|
+
}
|
|
7665
|
+
|
|
7666
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7667
|
+
query["MaxResults"] = request.maxResults;
|
|
7668
|
+
}
|
|
7669
|
+
|
|
7670
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7671
|
+
query["NextToken"] = request.nextToken;
|
|
7672
|
+
}
|
|
7673
|
+
|
|
7674
|
+
if (!Util.isUnset(request.userId)) {
|
|
7675
|
+
query["UserId"] = request.userId;
|
|
7676
|
+
}
|
|
7677
|
+
|
|
6871
7678
|
let req = new $OpenApi.OpenApiRequest({
|
|
6872
7679
|
query: OpenApiUtil.query(query),
|
|
6873
|
-
body: Util.toMap(request),
|
|
6874
7680
|
});
|
|
6875
7681
|
let params = new $OpenApi.Params({
|
|
6876
7682
|
action: "ListJoinedGroupsForUser",
|
|
@@ -6880,7 +7686,7 @@ export default class Client extends OpenApi {
|
|
|
6880
7686
|
method: "POST",
|
|
6881
7687
|
authType: "AK",
|
|
6882
7688
|
style: "RPC",
|
|
6883
|
-
reqBodyType: "
|
|
7689
|
+
reqBodyType: "formData",
|
|
6884
7690
|
bodyType: "json",
|
|
6885
7691
|
});
|
|
6886
7692
|
return $tea.cast<ListJoinedGroupsForUserResponse>(await this.callApi(params, req, runtime), new ListJoinedGroupsForUserResponse({}));
|
|
@@ -6894,11 +7700,16 @@ export default class Client extends OpenApi {
|
|
|
6894
7700
|
async listMFADevicesForUserWithOptions(request: ListMFADevicesForUserRequest, runtime: $Util.RuntimeOptions): Promise<ListMFADevicesForUserResponse> {
|
|
6895
7701
|
Util.validateModel(request);
|
|
6896
7702
|
let query = { };
|
|
6897
|
-
|
|
6898
|
-
|
|
7703
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7704
|
+
query["DirectoryId"] = request.directoryId;
|
|
7705
|
+
}
|
|
7706
|
+
|
|
7707
|
+
if (!Util.isUnset(request.userId)) {
|
|
7708
|
+
query["UserId"] = request.userId;
|
|
7709
|
+
}
|
|
7710
|
+
|
|
6899
7711
|
let req = new $OpenApi.OpenApiRequest({
|
|
6900
7712
|
query: OpenApiUtil.query(query),
|
|
6901
|
-
body: Util.toMap(request),
|
|
6902
7713
|
});
|
|
6903
7714
|
let params = new $OpenApi.Params({
|
|
6904
7715
|
action: "ListMFADevicesForUser",
|
|
@@ -6908,7 +7719,7 @@ export default class Client extends OpenApi {
|
|
|
6908
7719
|
method: "POST",
|
|
6909
7720
|
authType: "AK",
|
|
6910
7721
|
style: "RPC",
|
|
6911
|
-
reqBodyType: "
|
|
7722
|
+
reqBodyType: "formData",
|
|
6912
7723
|
bodyType: "json",
|
|
6913
7724
|
});
|
|
6914
7725
|
return $tea.cast<ListMFADevicesForUserResponse>(await this.callApi(params, req, runtime), new ListMFADevicesForUserResponse({}));
|
|
@@ -6922,12 +7733,20 @@ export default class Client extends OpenApi {
|
|
|
6922
7733
|
async listPermissionPoliciesInAccessConfigurationWithOptions(request: ListPermissionPoliciesInAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ListPermissionPoliciesInAccessConfigurationResponse> {
|
|
6923
7734
|
Util.validateModel(request);
|
|
6924
7735
|
let query = { };
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
7736
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7737
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7738
|
+
}
|
|
7739
|
+
|
|
7740
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7741
|
+
query["DirectoryId"] = request.directoryId;
|
|
7742
|
+
}
|
|
7743
|
+
|
|
7744
|
+
if (!Util.isUnset(request.permissionPolicyType)) {
|
|
7745
|
+
query["PermissionPolicyType"] = request.permissionPolicyType;
|
|
7746
|
+
}
|
|
7747
|
+
|
|
6928
7748
|
let req = new $OpenApi.OpenApiRequest({
|
|
6929
7749
|
query: OpenApiUtil.query(query),
|
|
6930
|
-
body: Util.toMap(request),
|
|
6931
7750
|
});
|
|
6932
7751
|
let params = new $OpenApi.Params({
|
|
6933
7752
|
action: "ListPermissionPoliciesInAccessConfiguration",
|
|
@@ -6937,7 +7756,7 @@ export default class Client extends OpenApi {
|
|
|
6937
7756
|
method: "POST",
|
|
6938
7757
|
authType: "AK",
|
|
6939
7758
|
style: "RPC",
|
|
6940
|
-
reqBodyType: "
|
|
7759
|
+
reqBodyType: "formData",
|
|
6941
7760
|
bodyType: "json",
|
|
6942
7761
|
});
|
|
6943
7762
|
return $tea.cast<ListPermissionPoliciesInAccessConfigurationResponse>(await this.callApi(params, req, runtime), new ListPermissionPoliciesInAccessConfigurationResponse({}));
|
|
@@ -6951,10 +7770,12 @@ export default class Client extends OpenApi {
|
|
|
6951
7770
|
async listSCIMServerCredentialsWithOptions(request: ListSCIMServerCredentialsRequest, runtime: $Util.RuntimeOptions): Promise<ListSCIMServerCredentialsResponse> {
|
|
6952
7771
|
Util.validateModel(request);
|
|
6953
7772
|
let query = { };
|
|
6954
|
-
|
|
7773
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7774
|
+
query["DirectoryId"] = request.directoryId;
|
|
7775
|
+
}
|
|
7776
|
+
|
|
6955
7777
|
let req = new $OpenApi.OpenApiRequest({
|
|
6956
7778
|
query: OpenApiUtil.query(query),
|
|
6957
|
-
body: Util.toMap(request),
|
|
6958
7779
|
});
|
|
6959
7780
|
let params = new $OpenApi.Params({
|
|
6960
7781
|
action: "ListSCIMServerCredentials",
|
|
@@ -6964,7 +7785,7 @@ export default class Client extends OpenApi {
|
|
|
6964
7785
|
method: "POST",
|
|
6965
7786
|
authType: "AK",
|
|
6966
7787
|
style: "RPC",
|
|
6967
|
-
reqBodyType: "
|
|
7788
|
+
reqBodyType: "formData",
|
|
6968
7789
|
bodyType: "json",
|
|
6969
7790
|
});
|
|
6970
7791
|
return $tea.cast<ListSCIMServerCredentialsResponse>(await this.callApi(params, req, runtime), new ListSCIMServerCredentialsResponse({}));
|
|
@@ -6978,20 +7799,52 @@ export default class Client extends OpenApi {
|
|
|
6978
7799
|
async listTasksWithOptions(request: ListTasksRequest, runtime: $Util.RuntimeOptions): Promise<ListTasksResponse> {
|
|
6979
7800
|
Util.validateModel(request);
|
|
6980
7801
|
let query = { };
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
7802
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7803
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7804
|
+
}
|
|
7805
|
+
|
|
7806
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7807
|
+
query["DirectoryId"] = request.directoryId;
|
|
7808
|
+
}
|
|
7809
|
+
|
|
7810
|
+
if (!Util.isUnset(request.filter)) {
|
|
7811
|
+
query["Filter"] = request.filter;
|
|
7812
|
+
}
|
|
7813
|
+
|
|
7814
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7815
|
+
query["MaxResults"] = request.maxResults;
|
|
7816
|
+
}
|
|
7817
|
+
|
|
7818
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7819
|
+
query["NextToken"] = request.nextToken;
|
|
7820
|
+
}
|
|
7821
|
+
|
|
7822
|
+
if (!Util.isUnset(request.principalId)) {
|
|
7823
|
+
query["PrincipalId"] = request.principalId;
|
|
7824
|
+
}
|
|
7825
|
+
|
|
7826
|
+
if (!Util.isUnset(request.principalType)) {
|
|
7827
|
+
query["PrincipalType"] = request.principalType;
|
|
7828
|
+
}
|
|
7829
|
+
|
|
7830
|
+
if (!Util.isUnset(request.status)) {
|
|
7831
|
+
query["Status"] = request.status;
|
|
7832
|
+
}
|
|
7833
|
+
|
|
7834
|
+
if (!Util.isUnset(request.targetId)) {
|
|
7835
|
+
query["TargetId"] = request.targetId;
|
|
7836
|
+
}
|
|
7837
|
+
|
|
7838
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7839
|
+
query["TargetType"] = request.targetType;
|
|
7840
|
+
}
|
|
7841
|
+
|
|
7842
|
+
if (!Util.isUnset(request.taskType)) {
|
|
7843
|
+
query["TaskType"] = request.taskType;
|
|
7844
|
+
}
|
|
7845
|
+
|
|
6992
7846
|
let req = new $OpenApi.OpenApiRequest({
|
|
6993
7847
|
query: OpenApiUtil.query(query),
|
|
6994
|
-
body: Util.toMap(request),
|
|
6995
7848
|
});
|
|
6996
7849
|
let params = new $OpenApi.Params({
|
|
6997
7850
|
action: "ListTasks",
|
|
@@ -7001,7 +7854,7 @@ export default class Client extends OpenApi {
|
|
|
7001
7854
|
method: "POST",
|
|
7002
7855
|
authType: "AK",
|
|
7003
7856
|
style: "RPC",
|
|
7004
|
-
reqBodyType: "
|
|
7857
|
+
reqBodyType: "formData",
|
|
7005
7858
|
bodyType: "json",
|
|
7006
7859
|
});
|
|
7007
7860
|
return $tea.cast<ListTasksResponse>(await this.callApi(params, req, runtime), new ListTasksResponse({}));
|
|
@@ -7015,15 +7868,32 @@ export default class Client extends OpenApi {
|
|
|
7015
7868
|
async listUsersWithOptions(request: ListUsersRequest, runtime: $Util.RuntimeOptions): Promise<ListUsersResponse> {
|
|
7016
7869
|
Util.validateModel(request);
|
|
7017
7870
|
let query = { };
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7871
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7872
|
+
query["DirectoryId"] = request.directoryId;
|
|
7873
|
+
}
|
|
7874
|
+
|
|
7875
|
+
if (!Util.isUnset(request.filter)) {
|
|
7876
|
+
query["Filter"] = request.filter;
|
|
7877
|
+
}
|
|
7878
|
+
|
|
7879
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7880
|
+
query["MaxResults"] = request.maxResults;
|
|
7881
|
+
}
|
|
7882
|
+
|
|
7883
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7884
|
+
query["NextToken"] = request.nextToken;
|
|
7885
|
+
}
|
|
7886
|
+
|
|
7887
|
+
if (!Util.isUnset(request.provisionType)) {
|
|
7888
|
+
query["ProvisionType"] = request.provisionType;
|
|
7889
|
+
}
|
|
7890
|
+
|
|
7891
|
+
if (!Util.isUnset(request.status)) {
|
|
7892
|
+
query["Status"] = request.status;
|
|
7893
|
+
}
|
|
7894
|
+
|
|
7024
7895
|
let req = new $OpenApi.OpenApiRequest({
|
|
7025
7896
|
query: OpenApiUtil.query(query),
|
|
7026
|
-
body: Util.toMap(request),
|
|
7027
7897
|
});
|
|
7028
7898
|
let params = new $OpenApi.Params({
|
|
7029
7899
|
action: "ListUsers",
|
|
@@ -7033,7 +7903,7 @@ export default class Client extends OpenApi {
|
|
|
7033
7903
|
method: "POST",
|
|
7034
7904
|
authType: "AK",
|
|
7035
7905
|
style: "RPC",
|
|
7036
|
-
reqBodyType: "
|
|
7906
|
+
reqBodyType: "formData",
|
|
7037
7907
|
bodyType: "json",
|
|
7038
7908
|
});
|
|
7039
7909
|
return $tea.cast<ListUsersResponse>(await this.callApi(params, req, runtime), new ListUsersResponse({}));
|
|
@@ -7047,13 +7917,24 @@ export default class Client extends OpenApi {
|
|
|
7047
7917
|
async provisionAccessConfigurationWithOptions(request: ProvisionAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ProvisionAccessConfigurationResponse> {
|
|
7048
7918
|
Util.validateModel(request);
|
|
7049
7919
|
let query = { };
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7920
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7921
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7922
|
+
}
|
|
7923
|
+
|
|
7924
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7925
|
+
query["DirectoryId"] = request.directoryId;
|
|
7926
|
+
}
|
|
7927
|
+
|
|
7928
|
+
if (!Util.isUnset(request.targetId)) {
|
|
7929
|
+
query["TargetId"] = request.targetId;
|
|
7930
|
+
}
|
|
7931
|
+
|
|
7932
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7933
|
+
query["TargetType"] = request.targetType;
|
|
7934
|
+
}
|
|
7935
|
+
|
|
7054
7936
|
let req = new $OpenApi.OpenApiRequest({
|
|
7055
7937
|
query: OpenApiUtil.query(query),
|
|
7056
|
-
body: Util.toMap(request),
|
|
7057
7938
|
});
|
|
7058
7939
|
let params = new $OpenApi.Params({
|
|
7059
7940
|
action: "ProvisionAccessConfiguration",
|
|
@@ -7063,7 +7944,7 @@ export default class Client extends OpenApi {
|
|
|
7063
7944
|
method: "POST",
|
|
7064
7945
|
authType: "AK",
|
|
7065
7946
|
style: "RPC",
|
|
7066
|
-
reqBodyType: "
|
|
7947
|
+
reqBodyType: "formData",
|
|
7067
7948
|
bodyType: "json",
|
|
7068
7949
|
});
|
|
7069
7950
|
return $tea.cast<ProvisionAccessConfigurationResponse>(await this.callApi(params, req, runtime), new ProvisionAccessConfigurationResponse({}));
|
|
@@ -7077,11 +7958,16 @@ export default class Client extends OpenApi {
|
|
|
7077
7958
|
async removeExternalSAMLIdPCertificateWithOptions(request: RemoveExternalSAMLIdPCertificateRequest, runtime: $Util.RuntimeOptions): Promise<RemoveExternalSAMLIdPCertificateResponse> {
|
|
7078
7959
|
Util.validateModel(request);
|
|
7079
7960
|
let query = { };
|
|
7080
|
-
|
|
7081
|
-
|
|
7961
|
+
if (!Util.isUnset(request.certificateId)) {
|
|
7962
|
+
query["CertificateId"] = request.certificateId;
|
|
7963
|
+
}
|
|
7964
|
+
|
|
7965
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7966
|
+
query["DirectoryId"] = request.directoryId;
|
|
7967
|
+
}
|
|
7968
|
+
|
|
7082
7969
|
let req = new $OpenApi.OpenApiRequest({
|
|
7083
7970
|
query: OpenApiUtil.query(query),
|
|
7084
|
-
body: Util.toMap(request),
|
|
7085
7971
|
});
|
|
7086
7972
|
let params = new $OpenApi.Params({
|
|
7087
7973
|
action: "RemoveExternalSAMLIdPCertificate",
|
|
@@ -7091,7 +7977,7 @@ export default class Client extends OpenApi {
|
|
|
7091
7977
|
method: "POST",
|
|
7092
7978
|
authType: "AK",
|
|
7093
7979
|
style: "RPC",
|
|
7094
|
-
reqBodyType: "
|
|
7980
|
+
reqBodyType: "formData",
|
|
7095
7981
|
bodyType: "json",
|
|
7096
7982
|
});
|
|
7097
7983
|
return $tea.cast<RemoveExternalSAMLIdPCertificateResponse>(await this.callApi(params, req, runtime), new RemoveExternalSAMLIdPCertificateResponse({}));
|
|
@@ -7105,13 +7991,24 @@ export default class Client extends OpenApi {
|
|
|
7105
7991
|
async removePermissionPolicyFromAccessConfigurationWithOptions(request: RemovePermissionPolicyFromAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<RemovePermissionPolicyFromAccessConfigurationResponse> {
|
|
7106
7992
|
Util.validateModel(request);
|
|
7107
7993
|
let query = { };
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7994
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7995
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7996
|
+
}
|
|
7997
|
+
|
|
7998
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7999
|
+
query["DirectoryId"] = request.directoryId;
|
|
8000
|
+
}
|
|
8001
|
+
|
|
8002
|
+
if (!Util.isUnset(request.permissionPolicyName)) {
|
|
8003
|
+
query["PermissionPolicyName"] = request.permissionPolicyName;
|
|
8004
|
+
}
|
|
8005
|
+
|
|
8006
|
+
if (!Util.isUnset(request.permissionPolicyType)) {
|
|
8007
|
+
query["PermissionPolicyType"] = request.permissionPolicyType;
|
|
8008
|
+
}
|
|
8009
|
+
|
|
7112
8010
|
let req = new $OpenApi.OpenApiRequest({
|
|
7113
8011
|
query: OpenApiUtil.query(query),
|
|
7114
|
-
body: Util.toMap(request),
|
|
7115
8012
|
});
|
|
7116
8013
|
let params = new $OpenApi.Params({
|
|
7117
8014
|
action: "RemovePermissionPolicyFromAccessConfiguration",
|
|
@@ -7121,7 +8018,7 @@ export default class Client extends OpenApi {
|
|
|
7121
8018
|
method: "POST",
|
|
7122
8019
|
authType: "AK",
|
|
7123
8020
|
style: "RPC",
|
|
7124
|
-
reqBodyType: "
|
|
8021
|
+
reqBodyType: "formData",
|
|
7125
8022
|
bodyType: "json",
|
|
7126
8023
|
});
|
|
7127
8024
|
return $tea.cast<RemovePermissionPolicyFromAccessConfigurationResponse>(await this.callApi(params, req, runtime), new RemovePermissionPolicyFromAccessConfigurationResponse({}));
|
|
@@ -7135,12 +8032,20 @@ export default class Client extends OpenApi {
|
|
|
7135
8032
|
async removeUserFromGroupWithOptions(request: RemoveUserFromGroupRequest, runtime: $Util.RuntimeOptions): Promise<RemoveUserFromGroupResponse> {
|
|
7136
8033
|
Util.validateModel(request);
|
|
7137
8034
|
let query = { };
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
8035
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8036
|
+
query["DirectoryId"] = request.directoryId;
|
|
8037
|
+
}
|
|
8038
|
+
|
|
8039
|
+
if (!Util.isUnset(request.groupId)) {
|
|
8040
|
+
query["GroupId"] = request.groupId;
|
|
8041
|
+
}
|
|
8042
|
+
|
|
8043
|
+
if (!Util.isUnset(request.userId)) {
|
|
8044
|
+
query["UserId"] = request.userId;
|
|
8045
|
+
}
|
|
8046
|
+
|
|
7141
8047
|
let req = new $OpenApi.OpenApiRequest({
|
|
7142
8048
|
query: OpenApiUtil.query(query),
|
|
7143
|
-
body: Util.toMap(request),
|
|
7144
8049
|
});
|
|
7145
8050
|
let params = new $OpenApi.Params({
|
|
7146
8051
|
action: "RemoveUserFromGroup",
|
|
@@ -7150,7 +8055,7 @@ export default class Client extends OpenApi {
|
|
|
7150
8055
|
method: "POST",
|
|
7151
8056
|
authType: "AK",
|
|
7152
8057
|
style: "RPC",
|
|
7153
|
-
reqBodyType: "
|
|
8058
|
+
reqBodyType: "formData",
|
|
7154
8059
|
bodyType: "json",
|
|
7155
8060
|
});
|
|
7156
8061
|
return $tea.cast<RemoveUserFromGroupResponse>(await this.callApi(params, req, runtime), new RemoveUserFromGroupResponse({}));
|
|
@@ -7164,14 +8069,28 @@ export default class Client extends OpenApi {
|
|
|
7164
8069
|
async resetUserPasswordWithOptions(request: ResetUserPasswordRequest, runtime: $Util.RuntimeOptions): Promise<ResetUserPasswordResponse> {
|
|
7165
8070
|
Util.validateModel(request);
|
|
7166
8071
|
let query = { };
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
8072
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8073
|
+
query["DirectoryId"] = request.directoryId;
|
|
8074
|
+
}
|
|
8075
|
+
|
|
8076
|
+
if (!Util.isUnset(request.generateRandomPassword)) {
|
|
8077
|
+
query["GenerateRandomPassword"] = request.generateRandomPassword;
|
|
8078
|
+
}
|
|
8079
|
+
|
|
8080
|
+
if (!Util.isUnset(request.password)) {
|
|
8081
|
+
query["Password"] = request.password;
|
|
8082
|
+
}
|
|
8083
|
+
|
|
8084
|
+
if (!Util.isUnset(request.requirePasswordResetForNextLogin)) {
|
|
8085
|
+
query["RequirePasswordResetForNextLogin"] = request.requirePasswordResetForNextLogin;
|
|
8086
|
+
}
|
|
8087
|
+
|
|
8088
|
+
if (!Util.isUnset(request.userId)) {
|
|
8089
|
+
query["UserId"] = request.userId;
|
|
8090
|
+
}
|
|
8091
|
+
|
|
7172
8092
|
let req = new $OpenApi.OpenApiRequest({
|
|
7173
8093
|
query: OpenApiUtil.query(query),
|
|
7174
|
-
body: Util.toMap(request),
|
|
7175
8094
|
});
|
|
7176
8095
|
let params = new $OpenApi.Params({
|
|
7177
8096
|
action: "ResetUserPassword",
|
|
@@ -7181,7 +8100,7 @@ export default class Client extends OpenApi {
|
|
|
7181
8100
|
method: "POST",
|
|
7182
8101
|
authType: "AK",
|
|
7183
8102
|
style: "RPC",
|
|
7184
|
-
reqBodyType: "
|
|
8103
|
+
reqBodyType: "formData",
|
|
7185
8104
|
bodyType: "json",
|
|
7186
8105
|
});
|
|
7187
8106
|
return $tea.cast<ResetUserPasswordResponse>(await this.callApi(params, req, runtime), new ResetUserPasswordResponse({}));
|
|
@@ -7195,16 +8114,36 @@ export default class Client extends OpenApi {
|
|
|
7195
8114
|
async setExternalSAMLIdentityProviderWithOptions(request: SetExternalSAMLIdentityProviderRequest, runtime: $Util.RuntimeOptions): Promise<SetExternalSAMLIdentityProviderResponse> {
|
|
7196
8115
|
Util.validateModel(request);
|
|
7197
8116
|
let query = { };
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
8117
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8118
|
+
query["DirectoryId"] = request.directoryId;
|
|
8119
|
+
}
|
|
8120
|
+
|
|
8121
|
+
if (!Util.isUnset(request.encodedMetadataDocument)) {
|
|
8122
|
+
query["EncodedMetadataDocument"] = request.encodedMetadataDocument;
|
|
8123
|
+
}
|
|
8124
|
+
|
|
8125
|
+
if (!Util.isUnset(request.entityId)) {
|
|
8126
|
+
query["EntityId"] = request.entityId;
|
|
8127
|
+
}
|
|
8128
|
+
|
|
8129
|
+
if (!Util.isUnset(request.loginUrl)) {
|
|
8130
|
+
query["LoginUrl"] = request.loginUrl;
|
|
8131
|
+
}
|
|
8132
|
+
|
|
8133
|
+
if (!Util.isUnset(request.SSOStatus)) {
|
|
8134
|
+
query["SSOStatus"] = request.SSOStatus;
|
|
8135
|
+
}
|
|
8136
|
+
|
|
8137
|
+
if (!Util.isUnset(request.wantRequestSigned)) {
|
|
8138
|
+
query["WantRequestSigned"] = request.wantRequestSigned;
|
|
8139
|
+
}
|
|
8140
|
+
|
|
8141
|
+
if (!Util.isUnset(request.x509Certificate)) {
|
|
8142
|
+
query["X509Certificate"] = request.x509Certificate;
|
|
8143
|
+
}
|
|
8144
|
+
|
|
7205
8145
|
let req = new $OpenApi.OpenApiRequest({
|
|
7206
8146
|
query: OpenApiUtil.query(query),
|
|
7207
|
-
body: Util.toMap(request),
|
|
7208
8147
|
});
|
|
7209
8148
|
let params = new $OpenApi.Params({
|
|
7210
8149
|
action: "SetExternalSAMLIdentityProvider",
|
|
@@ -7214,7 +8153,7 @@ export default class Client extends OpenApi {
|
|
|
7214
8153
|
method: "POST",
|
|
7215
8154
|
authType: "AK",
|
|
7216
8155
|
style: "RPC",
|
|
7217
|
-
reqBodyType: "
|
|
8156
|
+
reqBodyType: "formData",
|
|
7218
8157
|
bodyType: "json",
|
|
7219
8158
|
});
|
|
7220
8159
|
return $tea.cast<SetExternalSAMLIdentityProviderResponse>(await this.callApi(params, req, runtime), new SetExternalSAMLIdentityProviderResponse({}));
|
|
@@ -7228,11 +8167,16 @@ export default class Client extends OpenApi {
|
|
|
7228
8167
|
async setMFAAuthenticationStatusWithOptions(request: SetMFAAuthenticationStatusRequest, runtime: $Util.RuntimeOptions): Promise<SetMFAAuthenticationStatusResponse> {
|
|
7229
8168
|
Util.validateModel(request);
|
|
7230
8169
|
let query = { };
|
|
7231
|
-
|
|
7232
|
-
|
|
8170
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8171
|
+
query["DirectoryId"] = request.directoryId;
|
|
8172
|
+
}
|
|
8173
|
+
|
|
8174
|
+
if (!Util.isUnset(request.MFAAuthenticationStatus)) {
|
|
8175
|
+
query["MFAAuthenticationStatus"] = request.MFAAuthenticationStatus;
|
|
8176
|
+
}
|
|
8177
|
+
|
|
7233
8178
|
let req = new $OpenApi.OpenApiRequest({
|
|
7234
8179
|
query: OpenApiUtil.query(query),
|
|
7235
|
-
body: Util.toMap(request),
|
|
7236
8180
|
});
|
|
7237
8181
|
let params = new $OpenApi.Params({
|
|
7238
8182
|
action: "SetMFAAuthenticationStatus",
|
|
@@ -7242,7 +8186,7 @@ export default class Client extends OpenApi {
|
|
|
7242
8186
|
method: "POST",
|
|
7243
8187
|
authType: "AK",
|
|
7244
8188
|
style: "RPC",
|
|
7245
|
-
reqBodyType: "
|
|
8189
|
+
reqBodyType: "formData",
|
|
7246
8190
|
bodyType: "json",
|
|
7247
8191
|
});
|
|
7248
8192
|
return $tea.cast<SetMFAAuthenticationStatusResponse>(await this.callApi(params, req, runtime), new SetMFAAuthenticationStatusResponse({}));
|
|
@@ -7256,11 +8200,16 @@ export default class Client extends OpenApi {
|
|
|
7256
8200
|
async setSCIMSynchronizationStatusWithOptions(request: SetSCIMSynchronizationStatusRequest, runtime: $Util.RuntimeOptions): Promise<SetSCIMSynchronizationStatusResponse> {
|
|
7257
8201
|
Util.validateModel(request);
|
|
7258
8202
|
let query = { };
|
|
7259
|
-
|
|
7260
|
-
|
|
8203
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8204
|
+
query["DirectoryId"] = request.directoryId;
|
|
8205
|
+
}
|
|
8206
|
+
|
|
8207
|
+
if (!Util.isUnset(request.SCIMSynchronizationStatus)) {
|
|
8208
|
+
query["SCIMSynchronizationStatus"] = request.SCIMSynchronizationStatus;
|
|
8209
|
+
}
|
|
8210
|
+
|
|
7261
8211
|
let req = new $OpenApi.OpenApiRequest({
|
|
7262
8212
|
query: OpenApiUtil.query(query),
|
|
7263
|
-
body: Util.toMap(request),
|
|
7264
8213
|
});
|
|
7265
8214
|
let params = new $OpenApi.Params({
|
|
7266
8215
|
action: "SetSCIMSynchronizationStatus",
|
|
@@ -7270,7 +8219,7 @@ export default class Client extends OpenApi {
|
|
|
7270
8219
|
method: "POST",
|
|
7271
8220
|
authType: "AK",
|
|
7272
8221
|
style: "RPC",
|
|
7273
|
-
reqBodyType: "
|
|
8222
|
+
reqBodyType: "formData",
|
|
7274
8223
|
bodyType: "json",
|
|
7275
8224
|
});
|
|
7276
8225
|
return $tea.cast<SetSCIMSynchronizationStatusResponse>(await this.callApi(params, req, runtime), new SetSCIMSynchronizationStatusResponse({}));
|
|
@@ -7284,14 +8233,28 @@ export default class Client extends OpenApi {
|
|
|
7284
8233
|
async updateAccessConfigurationWithOptions(request: UpdateAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAccessConfigurationResponse> {
|
|
7285
8234
|
Util.validateModel(request);
|
|
7286
8235
|
let query = { };
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
8236
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
8237
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
8238
|
+
}
|
|
8239
|
+
|
|
8240
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8241
|
+
query["DirectoryId"] = request.directoryId;
|
|
8242
|
+
}
|
|
8243
|
+
|
|
8244
|
+
if (!Util.isUnset(request.newDescription)) {
|
|
8245
|
+
query["NewDescription"] = request.newDescription;
|
|
8246
|
+
}
|
|
8247
|
+
|
|
8248
|
+
if (!Util.isUnset(request.newRelayState)) {
|
|
8249
|
+
query["NewRelayState"] = request.newRelayState;
|
|
8250
|
+
}
|
|
8251
|
+
|
|
8252
|
+
if (!Util.isUnset(request.newSessionDuration)) {
|
|
8253
|
+
query["NewSessionDuration"] = request.newSessionDuration;
|
|
8254
|
+
}
|
|
8255
|
+
|
|
7292
8256
|
let req = new $OpenApi.OpenApiRequest({
|
|
7293
8257
|
query: OpenApiUtil.query(query),
|
|
7294
|
-
body: Util.toMap(request),
|
|
7295
8258
|
});
|
|
7296
8259
|
let params = new $OpenApi.Params({
|
|
7297
8260
|
action: "UpdateAccessConfiguration",
|
|
@@ -7301,7 +8264,7 @@ export default class Client extends OpenApi {
|
|
|
7301
8264
|
method: "POST",
|
|
7302
8265
|
authType: "AK",
|
|
7303
8266
|
style: "RPC",
|
|
7304
|
-
reqBodyType: "
|
|
8267
|
+
reqBodyType: "formData",
|
|
7305
8268
|
bodyType: "json",
|
|
7306
8269
|
});
|
|
7307
8270
|
return $tea.cast<UpdateAccessConfigurationResponse>(await this.callApi(params, req, runtime), new UpdateAccessConfigurationResponse({}));
|
|
@@ -7315,11 +8278,16 @@ export default class Client extends OpenApi {
|
|
|
7315
8278
|
async updateDirectoryWithOptions(request: UpdateDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<UpdateDirectoryResponse> {
|
|
7316
8279
|
Util.validateModel(request);
|
|
7317
8280
|
let query = { };
|
|
7318
|
-
|
|
7319
|
-
|
|
8281
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8282
|
+
query["DirectoryId"] = request.directoryId;
|
|
8283
|
+
}
|
|
8284
|
+
|
|
8285
|
+
if (!Util.isUnset(request.newDirectoryName)) {
|
|
8286
|
+
query["NewDirectoryName"] = request.newDirectoryName;
|
|
8287
|
+
}
|
|
8288
|
+
|
|
7320
8289
|
let req = new $OpenApi.OpenApiRequest({
|
|
7321
8290
|
query: OpenApiUtil.query(query),
|
|
7322
|
-
body: Util.toMap(request),
|
|
7323
8291
|
});
|
|
7324
8292
|
let params = new $OpenApi.Params({
|
|
7325
8293
|
action: "UpdateDirectory",
|
|
@@ -7329,7 +8297,7 @@ export default class Client extends OpenApi {
|
|
|
7329
8297
|
method: "POST",
|
|
7330
8298
|
authType: "AK",
|
|
7331
8299
|
style: "RPC",
|
|
7332
|
-
reqBodyType: "
|
|
8300
|
+
reqBodyType: "formData",
|
|
7333
8301
|
bodyType: "json",
|
|
7334
8302
|
});
|
|
7335
8303
|
return $tea.cast<UpdateDirectoryResponse>(await this.callApi(params, req, runtime), new UpdateDirectoryResponse({}));
|
|
@@ -7343,13 +8311,24 @@ export default class Client extends OpenApi {
|
|
|
7343
8311
|
async updateGroupWithOptions(request: UpdateGroupRequest, runtime: $Util.RuntimeOptions): Promise<UpdateGroupResponse> {
|
|
7344
8312
|
Util.validateModel(request);
|
|
7345
8313
|
let query = { };
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
8314
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8315
|
+
query["DirectoryId"] = request.directoryId;
|
|
8316
|
+
}
|
|
8317
|
+
|
|
8318
|
+
if (!Util.isUnset(request.groupId)) {
|
|
8319
|
+
query["GroupId"] = request.groupId;
|
|
8320
|
+
}
|
|
8321
|
+
|
|
8322
|
+
if (!Util.isUnset(request.newDescription)) {
|
|
8323
|
+
query["NewDescription"] = request.newDescription;
|
|
8324
|
+
}
|
|
8325
|
+
|
|
8326
|
+
if (!Util.isUnset(request.newGroupName)) {
|
|
8327
|
+
query["NewGroupName"] = request.newGroupName;
|
|
8328
|
+
}
|
|
8329
|
+
|
|
7350
8330
|
let req = new $OpenApi.OpenApiRequest({
|
|
7351
8331
|
query: OpenApiUtil.query(query),
|
|
7352
|
-
body: Util.toMap(request),
|
|
7353
8332
|
});
|
|
7354
8333
|
let params = new $OpenApi.Params({
|
|
7355
8334
|
action: "UpdateGroup",
|
|
@@ -7359,7 +8338,7 @@ export default class Client extends OpenApi {
|
|
|
7359
8338
|
method: "POST",
|
|
7360
8339
|
authType: "AK",
|
|
7361
8340
|
style: "RPC",
|
|
7362
|
-
reqBodyType: "
|
|
8341
|
+
reqBodyType: "formData",
|
|
7363
8342
|
bodyType: "json",
|
|
7364
8343
|
});
|
|
7365
8344
|
return $tea.cast<UpdateGroupResponse>(await this.callApi(params, req, runtime), new UpdateGroupResponse({}));
|
|
@@ -7373,13 +8352,24 @@ export default class Client extends OpenApi {
|
|
|
7373
8352
|
async updateInlinePolicyForAccessConfigurationWithOptions(request: UpdateInlinePolicyForAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<UpdateInlinePolicyForAccessConfigurationResponse> {
|
|
7374
8353
|
Util.validateModel(request);
|
|
7375
8354
|
let query = { };
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
8355
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
8356
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
8357
|
+
}
|
|
8358
|
+
|
|
8359
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8360
|
+
query["DirectoryId"] = request.directoryId;
|
|
8361
|
+
}
|
|
8362
|
+
|
|
8363
|
+
if (!Util.isUnset(request.inlinePolicyName)) {
|
|
8364
|
+
query["InlinePolicyName"] = request.inlinePolicyName;
|
|
8365
|
+
}
|
|
8366
|
+
|
|
8367
|
+
if (!Util.isUnset(request.newInlinePolicyDocument)) {
|
|
8368
|
+
query["NewInlinePolicyDocument"] = request.newInlinePolicyDocument;
|
|
8369
|
+
}
|
|
8370
|
+
|
|
7380
8371
|
let req = new $OpenApi.OpenApiRequest({
|
|
7381
8372
|
query: OpenApiUtil.query(query),
|
|
7382
|
-
body: Util.toMap(request),
|
|
7383
8373
|
});
|
|
7384
8374
|
let params = new $OpenApi.Params({
|
|
7385
8375
|
action: "UpdateInlinePolicyForAccessConfiguration",
|
|
@@ -7389,7 +8379,7 @@ export default class Client extends OpenApi {
|
|
|
7389
8379
|
method: "POST",
|
|
7390
8380
|
authType: "AK",
|
|
7391
8381
|
style: "RPC",
|
|
7392
|
-
reqBodyType: "
|
|
8382
|
+
reqBodyType: "formData",
|
|
7393
8383
|
bodyType: "json",
|
|
7394
8384
|
});
|
|
7395
8385
|
return $tea.cast<UpdateInlinePolicyForAccessConfigurationResponse>(await this.callApi(params, req, runtime), new UpdateInlinePolicyForAccessConfigurationResponse({}));
|
|
@@ -7400,15 +8390,60 @@ export default class Client extends OpenApi {
|
|
|
7400
8390
|
return await this.updateInlinePolicyForAccessConfigurationWithOptions(request, runtime);
|
|
7401
8391
|
}
|
|
7402
8392
|
|
|
8393
|
+
async updateMFAAuthenticationSettingsWithOptions(request: UpdateMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<UpdateMFAAuthenticationSettingsResponse> {
|
|
8394
|
+
Util.validateModel(request);
|
|
8395
|
+
let query = { };
|
|
8396
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8397
|
+
query["DirectoryId"] = request.directoryId;
|
|
8398
|
+
}
|
|
8399
|
+
|
|
8400
|
+
if (!Util.isUnset(request.MFAAuthenticationSettings)) {
|
|
8401
|
+
query["MFAAuthenticationSettings"] = request.MFAAuthenticationSettings;
|
|
8402
|
+
}
|
|
8403
|
+
|
|
8404
|
+
if (!Util.isUnset(request.operationForRiskLogin)) {
|
|
8405
|
+
query["OperationForRiskLogin"] = request.operationForRiskLogin;
|
|
8406
|
+
}
|
|
8407
|
+
|
|
8408
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8409
|
+
query: OpenApiUtil.query(query),
|
|
8410
|
+
});
|
|
8411
|
+
let params = new $OpenApi.Params({
|
|
8412
|
+
action: "UpdateMFAAuthenticationSettings",
|
|
8413
|
+
version: "2021-05-15",
|
|
8414
|
+
protocol: "HTTPS",
|
|
8415
|
+
pathname: "/",
|
|
8416
|
+
method: "POST",
|
|
8417
|
+
authType: "AK",
|
|
8418
|
+
style: "RPC",
|
|
8419
|
+
reqBodyType: "formData",
|
|
8420
|
+
bodyType: "json",
|
|
8421
|
+
});
|
|
8422
|
+
return $tea.cast<UpdateMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new UpdateMFAAuthenticationSettingsResponse({}));
|
|
8423
|
+
}
|
|
8424
|
+
|
|
8425
|
+
async updateMFAAuthenticationSettings(request: UpdateMFAAuthenticationSettingsRequest): Promise<UpdateMFAAuthenticationSettingsResponse> {
|
|
8426
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8427
|
+
return await this.updateMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
8428
|
+
}
|
|
8429
|
+
|
|
7403
8430
|
async updateSCIMServerCredentialStatusWithOptions(request: UpdateSCIMServerCredentialStatusRequest, runtime: $Util.RuntimeOptions): Promise<UpdateSCIMServerCredentialStatusResponse> {
|
|
7404
8431
|
Util.validateModel(request);
|
|
7405
8432
|
let query = { };
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
8433
|
+
if (!Util.isUnset(request.credentialId)) {
|
|
8434
|
+
query["CredentialId"] = request.credentialId;
|
|
8435
|
+
}
|
|
8436
|
+
|
|
8437
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8438
|
+
query["DirectoryId"] = request.directoryId;
|
|
8439
|
+
}
|
|
8440
|
+
|
|
8441
|
+
if (!Util.isUnset(request.newStatus)) {
|
|
8442
|
+
query["NewStatus"] = request.newStatus;
|
|
8443
|
+
}
|
|
8444
|
+
|
|
7409
8445
|
let req = new $OpenApi.OpenApiRequest({
|
|
7410
8446
|
query: OpenApiUtil.query(query),
|
|
7411
|
-
body: Util.toMap(request),
|
|
7412
8447
|
});
|
|
7413
8448
|
let params = new $OpenApi.Params({
|
|
7414
8449
|
action: "UpdateSCIMServerCredentialStatus",
|
|
@@ -7418,7 +8453,7 @@ export default class Client extends OpenApi {
|
|
|
7418
8453
|
method: "POST",
|
|
7419
8454
|
authType: "AK",
|
|
7420
8455
|
style: "RPC",
|
|
7421
|
-
reqBodyType: "
|
|
8456
|
+
reqBodyType: "formData",
|
|
7422
8457
|
bodyType: "json",
|
|
7423
8458
|
});
|
|
7424
8459
|
return $tea.cast<UpdateSCIMServerCredentialStatusResponse>(await this.callApi(params, req, runtime), new UpdateSCIMServerCredentialStatusResponse({}));
|
|
@@ -7432,16 +8467,36 @@ export default class Client extends OpenApi {
|
|
|
7432
8467
|
async updateUserWithOptions(request: UpdateUserRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserResponse> {
|
|
7433
8468
|
Util.validateModel(request);
|
|
7434
8469
|
let query = { };
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
8470
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8471
|
+
query["DirectoryId"] = request.directoryId;
|
|
8472
|
+
}
|
|
8473
|
+
|
|
8474
|
+
if (!Util.isUnset(request.newDescription)) {
|
|
8475
|
+
query["NewDescription"] = request.newDescription;
|
|
8476
|
+
}
|
|
8477
|
+
|
|
8478
|
+
if (!Util.isUnset(request.newDisplayName)) {
|
|
8479
|
+
query["NewDisplayName"] = request.newDisplayName;
|
|
8480
|
+
}
|
|
8481
|
+
|
|
8482
|
+
if (!Util.isUnset(request.newEmail)) {
|
|
8483
|
+
query["NewEmail"] = request.newEmail;
|
|
8484
|
+
}
|
|
8485
|
+
|
|
8486
|
+
if (!Util.isUnset(request.newFirstName)) {
|
|
8487
|
+
query["NewFirstName"] = request.newFirstName;
|
|
8488
|
+
}
|
|
8489
|
+
|
|
8490
|
+
if (!Util.isUnset(request.newLastName)) {
|
|
8491
|
+
query["NewLastName"] = request.newLastName;
|
|
8492
|
+
}
|
|
8493
|
+
|
|
8494
|
+
if (!Util.isUnset(request.userId)) {
|
|
8495
|
+
query["UserId"] = request.userId;
|
|
8496
|
+
}
|
|
8497
|
+
|
|
7442
8498
|
let req = new $OpenApi.OpenApiRequest({
|
|
7443
8499
|
query: OpenApiUtil.query(query),
|
|
7444
|
-
body: Util.toMap(request),
|
|
7445
8500
|
});
|
|
7446
8501
|
let params = new $OpenApi.Params({
|
|
7447
8502
|
action: "UpdateUser",
|
|
@@ -7451,7 +8506,7 @@ export default class Client extends OpenApi {
|
|
|
7451
8506
|
method: "POST",
|
|
7452
8507
|
authType: "AK",
|
|
7453
8508
|
style: "RPC",
|
|
7454
|
-
reqBodyType: "
|
|
8509
|
+
reqBodyType: "formData",
|
|
7455
8510
|
bodyType: "json",
|
|
7456
8511
|
});
|
|
7457
8512
|
return $tea.cast<UpdateUserResponse>(await this.callApi(params, req, runtime), new UpdateUserResponse({}));
|
|
@@ -7462,15 +8517,60 @@ export default class Client extends OpenApi {
|
|
|
7462
8517
|
return await this.updateUserWithOptions(request, runtime);
|
|
7463
8518
|
}
|
|
7464
8519
|
|
|
8520
|
+
async updateUserMFAAuthenticationSettingsWithOptions(request: UpdateUserMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserMFAAuthenticationSettingsResponse> {
|
|
8521
|
+
Util.validateModel(request);
|
|
8522
|
+
let query = { };
|
|
8523
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8524
|
+
query["DirectoryId"] = request.directoryId;
|
|
8525
|
+
}
|
|
8526
|
+
|
|
8527
|
+
if (!Util.isUnset(request.userId)) {
|
|
8528
|
+
query["UserId"] = request.userId;
|
|
8529
|
+
}
|
|
8530
|
+
|
|
8531
|
+
if (!Util.isUnset(request.userMFAAuthenticationSettings)) {
|
|
8532
|
+
query["UserMFAAuthenticationSettings"] = request.userMFAAuthenticationSettings;
|
|
8533
|
+
}
|
|
8534
|
+
|
|
8535
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8536
|
+
query: OpenApiUtil.query(query),
|
|
8537
|
+
});
|
|
8538
|
+
let params = new $OpenApi.Params({
|
|
8539
|
+
action: "UpdateUserMFAAuthenticationSettings",
|
|
8540
|
+
version: "2021-05-15",
|
|
8541
|
+
protocol: "HTTPS",
|
|
8542
|
+
pathname: "/",
|
|
8543
|
+
method: "POST",
|
|
8544
|
+
authType: "AK",
|
|
8545
|
+
style: "RPC",
|
|
8546
|
+
reqBodyType: "formData",
|
|
8547
|
+
bodyType: "json",
|
|
8548
|
+
});
|
|
8549
|
+
return $tea.cast<UpdateUserMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new UpdateUserMFAAuthenticationSettingsResponse({}));
|
|
8550
|
+
}
|
|
8551
|
+
|
|
8552
|
+
async updateUserMFAAuthenticationSettings(request: UpdateUserMFAAuthenticationSettingsRequest): Promise<UpdateUserMFAAuthenticationSettingsResponse> {
|
|
8553
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8554
|
+
return await this.updateUserMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
8555
|
+
}
|
|
8556
|
+
|
|
7465
8557
|
async updateUserStatusWithOptions(request: UpdateUserStatusRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserStatusResponse> {
|
|
7466
8558
|
Util.validateModel(request);
|
|
7467
8559
|
let query = { };
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
8560
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8561
|
+
query["DirectoryId"] = request.directoryId;
|
|
8562
|
+
}
|
|
8563
|
+
|
|
8564
|
+
if (!Util.isUnset(request.newStatus)) {
|
|
8565
|
+
query["NewStatus"] = request.newStatus;
|
|
8566
|
+
}
|
|
8567
|
+
|
|
8568
|
+
if (!Util.isUnset(request.userId)) {
|
|
8569
|
+
query["UserId"] = request.userId;
|
|
8570
|
+
}
|
|
8571
|
+
|
|
7471
8572
|
let req = new $OpenApi.OpenApiRequest({
|
|
7472
8573
|
query: OpenApiUtil.query(query),
|
|
7473
|
-
body: Util.toMap(request),
|
|
7474
8574
|
});
|
|
7475
8575
|
let params = new $OpenApi.Params({
|
|
7476
8576
|
action: "UpdateUserStatus",
|
|
@@ -7480,7 +8580,7 @@ export default class Client extends OpenApi {
|
|
|
7480
8580
|
method: "POST",
|
|
7481
8581
|
authType: "AK",
|
|
7482
8582
|
style: "RPC",
|
|
7483
|
-
reqBodyType: "
|
|
8583
|
+
reqBodyType: "formData",
|
|
7484
8584
|
bodyType: "json",
|
|
7485
8585
|
});
|
|
7486
8586
|
return $tea.cast<UpdateUserStatusResponse>(await this.callApi(params, req, runtime), new UpdateUserStatusResponse({}));
|