@alicloud/cloudsso20210515 1.0.0 → 1.0.1
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 +234 -0
- package/dist/client.js +1083 -305
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +1406 -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,72 @@ 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
|
+
static names(): { [key: string]: string } {
|
|
4265
|
+
return {
|
|
4266
|
+
directoryId: 'DirectoryId',
|
|
4267
|
+
MFAAuthenticationSettings: 'MFAAuthenticationSettings',
|
|
4268
|
+
};
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4271
|
+
static types(): { [key: string]: any } {
|
|
4272
|
+
return {
|
|
4273
|
+
directoryId: 'string',
|
|
4274
|
+
MFAAuthenticationSettings: 'string',
|
|
4275
|
+
};
|
|
4276
|
+
}
|
|
4277
|
+
|
|
4278
|
+
constructor(map?: { [key: string]: any }) {
|
|
4279
|
+
super(map);
|
|
4280
|
+
}
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4283
|
+
export class UpdateMFAAuthenticationSettingsResponseBody extends $tea.Model {
|
|
4284
|
+
requestId?: string;
|
|
4285
|
+
static names(): { [key: string]: string } {
|
|
4286
|
+
return {
|
|
4287
|
+
requestId: 'RequestId',
|
|
4288
|
+
};
|
|
4289
|
+
}
|
|
4290
|
+
|
|
4291
|
+
static types(): { [key: string]: any } {
|
|
4292
|
+
return {
|
|
4293
|
+
requestId: 'string',
|
|
4294
|
+
};
|
|
4295
|
+
}
|
|
4296
|
+
|
|
4297
|
+
constructor(map?: { [key: string]: any }) {
|
|
4298
|
+
super(map);
|
|
4299
|
+
}
|
|
4300
|
+
}
|
|
4301
|
+
|
|
4302
|
+
export class UpdateMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
4303
|
+
headers: { [key: string]: string };
|
|
4304
|
+
statusCode: number;
|
|
4305
|
+
body: UpdateMFAAuthenticationSettingsResponseBody;
|
|
4306
|
+
static names(): { [key: string]: string } {
|
|
4307
|
+
return {
|
|
4308
|
+
headers: 'headers',
|
|
4309
|
+
statusCode: 'statusCode',
|
|
4310
|
+
body: 'body',
|
|
4311
|
+
};
|
|
4312
|
+
}
|
|
4313
|
+
|
|
4314
|
+
static types(): { [key: string]: any } {
|
|
4315
|
+
return {
|
|
4316
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4317
|
+
statusCode: 'number',
|
|
4318
|
+
body: UpdateMFAAuthenticationSettingsResponseBody,
|
|
4319
|
+
};
|
|
4320
|
+
}
|
|
4321
|
+
|
|
4322
|
+
constructor(map?: { [key: string]: any }) {
|
|
4323
|
+
super(map);
|
|
4324
|
+
}
|
|
4325
|
+
}
|
|
4326
|
+
|
|
3955
4327
|
export class UpdateSCIMServerCredentialStatusRequest extends $tea.Model {
|
|
3956
4328
|
credentialId?: string;
|
|
3957
4329
|
directoryId?: string;
|
|
@@ -4001,10 +4373,12 @@ export class UpdateSCIMServerCredentialStatusResponseBody extends $tea.Model {
|
|
|
4001
4373
|
|
|
4002
4374
|
export class UpdateSCIMServerCredentialStatusResponse extends $tea.Model {
|
|
4003
4375
|
headers: { [key: string]: string };
|
|
4376
|
+
statusCode: number;
|
|
4004
4377
|
body: UpdateSCIMServerCredentialStatusResponseBody;
|
|
4005
4378
|
static names(): { [key: string]: string } {
|
|
4006
4379
|
return {
|
|
4007
4380
|
headers: 'headers',
|
|
4381
|
+
statusCode: 'statusCode',
|
|
4008
4382
|
body: 'body',
|
|
4009
4383
|
};
|
|
4010
4384
|
}
|
|
@@ -4012,6 +4386,7 @@ export class UpdateSCIMServerCredentialStatusResponse extends $tea.Model {
|
|
|
4012
4386
|
static types(): { [key: string]: any } {
|
|
4013
4387
|
return {
|
|
4014
4388
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4389
|
+
statusCode: 'number',
|
|
4015
4390
|
body: UpdateSCIMServerCredentialStatusResponseBody,
|
|
4016
4391
|
};
|
|
4017
4392
|
}
|
|
@@ -4082,10 +4457,12 @@ export class UpdateUserResponseBody extends $tea.Model {
|
|
|
4082
4457
|
|
|
4083
4458
|
export class UpdateUserResponse extends $tea.Model {
|
|
4084
4459
|
headers: { [key: string]: string };
|
|
4460
|
+
statusCode: number;
|
|
4085
4461
|
body: UpdateUserResponseBody;
|
|
4086
4462
|
static names(): { [key: string]: string } {
|
|
4087
4463
|
return {
|
|
4088
4464
|
headers: 'headers',
|
|
4465
|
+
statusCode: 'statusCode',
|
|
4089
4466
|
body: 'body',
|
|
4090
4467
|
};
|
|
4091
4468
|
}
|
|
@@ -4093,6 +4470,7 @@ export class UpdateUserResponse extends $tea.Model {
|
|
|
4093
4470
|
static types(): { [key: string]: any } {
|
|
4094
4471
|
return {
|
|
4095
4472
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4473
|
+
statusCode: 'number',
|
|
4096
4474
|
body: UpdateUserResponseBody,
|
|
4097
4475
|
};
|
|
4098
4476
|
}
|
|
@@ -4102,6 +4480,75 @@ export class UpdateUserResponse extends $tea.Model {
|
|
|
4102
4480
|
}
|
|
4103
4481
|
}
|
|
4104
4482
|
|
|
4483
|
+
export class UpdateUserMFAAuthenticationSettingsRequest extends $tea.Model {
|
|
4484
|
+
directoryId?: string;
|
|
4485
|
+
userId?: string;
|
|
4486
|
+
userMFAAuthenticationSettings?: string;
|
|
4487
|
+
static names(): { [key: string]: string } {
|
|
4488
|
+
return {
|
|
4489
|
+
directoryId: 'DirectoryId',
|
|
4490
|
+
userId: 'UserId',
|
|
4491
|
+
userMFAAuthenticationSettings: 'UserMFAAuthenticationSettings',
|
|
4492
|
+
};
|
|
4493
|
+
}
|
|
4494
|
+
|
|
4495
|
+
static types(): { [key: string]: any } {
|
|
4496
|
+
return {
|
|
4497
|
+
directoryId: 'string',
|
|
4498
|
+
userId: 'string',
|
|
4499
|
+
userMFAAuthenticationSettings: 'string',
|
|
4500
|
+
};
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4503
|
+
constructor(map?: { [key: string]: any }) {
|
|
4504
|
+
super(map);
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
|
|
4508
|
+
export class UpdateUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
|
|
4509
|
+
requestId?: string;
|
|
4510
|
+
static names(): { [key: string]: string } {
|
|
4511
|
+
return {
|
|
4512
|
+
requestId: 'RequestId',
|
|
4513
|
+
};
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4516
|
+
static types(): { [key: string]: any } {
|
|
4517
|
+
return {
|
|
4518
|
+
requestId: 'string',
|
|
4519
|
+
};
|
|
4520
|
+
}
|
|
4521
|
+
|
|
4522
|
+
constructor(map?: { [key: string]: any }) {
|
|
4523
|
+
super(map);
|
|
4524
|
+
}
|
|
4525
|
+
}
|
|
4526
|
+
|
|
4527
|
+
export class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
4528
|
+
headers: { [key: string]: string };
|
|
4529
|
+
statusCode: number;
|
|
4530
|
+
body: UpdateUserMFAAuthenticationSettingsResponseBody;
|
|
4531
|
+
static names(): { [key: string]: string } {
|
|
4532
|
+
return {
|
|
4533
|
+
headers: 'headers',
|
|
4534
|
+
statusCode: 'statusCode',
|
|
4535
|
+
body: 'body',
|
|
4536
|
+
};
|
|
4537
|
+
}
|
|
4538
|
+
|
|
4539
|
+
static types(): { [key: string]: any } {
|
|
4540
|
+
return {
|
|
4541
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4542
|
+
statusCode: 'number',
|
|
4543
|
+
body: UpdateUserMFAAuthenticationSettingsResponseBody,
|
|
4544
|
+
};
|
|
4545
|
+
}
|
|
4546
|
+
|
|
4547
|
+
constructor(map?: { [key: string]: any }) {
|
|
4548
|
+
super(map);
|
|
4549
|
+
}
|
|
4550
|
+
}
|
|
4551
|
+
|
|
4105
4552
|
export class UpdateUserStatusRequest extends $tea.Model {
|
|
4106
4553
|
directoryId?: string;
|
|
4107
4554
|
newStatus?: string;
|
|
@@ -4148,10 +4595,12 @@ export class UpdateUserStatusResponseBody extends $tea.Model {
|
|
|
4148
4595
|
|
|
4149
4596
|
export class UpdateUserStatusResponse extends $tea.Model {
|
|
4150
4597
|
headers: { [key: string]: string };
|
|
4598
|
+
statusCode: number;
|
|
4151
4599
|
body: UpdateUserStatusResponseBody;
|
|
4152
4600
|
static names(): { [key: string]: string } {
|
|
4153
4601
|
return {
|
|
4154
4602
|
headers: 'headers',
|
|
4603
|
+
statusCode: 'statusCode',
|
|
4155
4604
|
body: 'body',
|
|
4156
4605
|
};
|
|
4157
4606
|
}
|
|
@@ -4159,6 +4608,7 @@ export class UpdateUserStatusResponse extends $tea.Model {
|
|
|
4159
4608
|
static types(): { [key: string]: any } {
|
|
4160
4609
|
return {
|
|
4161
4610
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4611
|
+
statusCode: 'number',
|
|
4162
4612
|
body: UpdateUserStatusResponseBody,
|
|
4163
4613
|
};
|
|
4164
4614
|
}
|
|
@@ -5765,11 +6215,16 @@ export default class Client extends OpenApi {
|
|
|
5765
6215
|
async addExternalSAMLIdPCertificateWithOptions(request: AddExternalSAMLIdPCertificateRequest, runtime: $Util.RuntimeOptions): Promise<AddExternalSAMLIdPCertificateResponse> {
|
|
5766
6216
|
Util.validateModel(request);
|
|
5767
6217
|
let query = { };
|
|
5768
|
-
|
|
5769
|
-
|
|
6218
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6219
|
+
query["DirectoryId"] = request.directoryId;
|
|
6220
|
+
}
|
|
6221
|
+
|
|
6222
|
+
if (!Util.isUnset(request.x509Certificate)) {
|
|
6223
|
+
query["X509Certificate"] = request.x509Certificate;
|
|
6224
|
+
}
|
|
6225
|
+
|
|
5770
6226
|
let req = new $OpenApi.OpenApiRequest({
|
|
5771
6227
|
query: OpenApiUtil.query(query),
|
|
5772
|
-
body: Util.toMap(request),
|
|
5773
6228
|
});
|
|
5774
6229
|
let params = new $OpenApi.Params({
|
|
5775
6230
|
action: "AddExternalSAMLIdPCertificate",
|
|
@@ -5779,7 +6234,7 @@ export default class Client extends OpenApi {
|
|
|
5779
6234
|
method: "POST",
|
|
5780
6235
|
authType: "AK",
|
|
5781
6236
|
style: "RPC",
|
|
5782
|
-
reqBodyType: "
|
|
6237
|
+
reqBodyType: "formData",
|
|
5783
6238
|
bodyType: "json",
|
|
5784
6239
|
});
|
|
5785
6240
|
return $tea.cast<AddExternalSAMLIdPCertificateResponse>(await this.callApi(params, req, runtime), new AddExternalSAMLIdPCertificateResponse({}));
|
|
@@ -5793,14 +6248,28 @@ export default class Client extends OpenApi {
|
|
|
5793
6248
|
async addPermissionPolicyToAccessConfigurationWithOptions(request: AddPermissionPolicyToAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<AddPermissionPolicyToAccessConfigurationResponse> {
|
|
5794
6249
|
Util.validateModel(request);
|
|
5795
6250
|
let query = { };
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
6251
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6252
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6253
|
+
}
|
|
6254
|
+
|
|
6255
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6256
|
+
query["DirectoryId"] = request.directoryId;
|
|
6257
|
+
}
|
|
6258
|
+
|
|
6259
|
+
if (!Util.isUnset(request.inlinePolicyDocument)) {
|
|
6260
|
+
query["InlinePolicyDocument"] = request.inlinePolicyDocument;
|
|
6261
|
+
}
|
|
6262
|
+
|
|
6263
|
+
if (!Util.isUnset(request.permissionPolicyName)) {
|
|
6264
|
+
query["PermissionPolicyName"] = request.permissionPolicyName;
|
|
6265
|
+
}
|
|
6266
|
+
|
|
6267
|
+
if (!Util.isUnset(request.permissionPolicyType)) {
|
|
6268
|
+
query["PermissionPolicyType"] = request.permissionPolicyType;
|
|
6269
|
+
}
|
|
6270
|
+
|
|
5801
6271
|
let req = new $OpenApi.OpenApiRequest({
|
|
5802
6272
|
query: OpenApiUtil.query(query),
|
|
5803
|
-
body: Util.toMap(request),
|
|
5804
6273
|
});
|
|
5805
6274
|
let params = new $OpenApi.Params({
|
|
5806
6275
|
action: "AddPermissionPolicyToAccessConfiguration",
|
|
@@ -5810,7 +6279,7 @@ export default class Client extends OpenApi {
|
|
|
5810
6279
|
method: "POST",
|
|
5811
6280
|
authType: "AK",
|
|
5812
6281
|
style: "RPC",
|
|
5813
|
-
reqBodyType: "
|
|
6282
|
+
reqBodyType: "formData",
|
|
5814
6283
|
bodyType: "json",
|
|
5815
6284
|
});
|
|
5816
6285
|
return $tea.cast<AddPermissionPolicyToAccessConfigurationResponse>(await this.callApi(params, req, runtime), new AddPermissionPolicyToAccessConfigurationResponse({}));
|
|
@@ -5824,12 +6293,20 @@ export default class Client extends OpenApi {
|
|
|
5824
6293
|
async addUserToGroupWithOptions(request: AddUserToGroupRequest, runtime: $Util.RuntimeOptions): Promise<AddUserToGroupResponse> {
|
|
5825
6294
|
Util.validateModel(request);
|
|
5826
6295
|
let query = { };
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
6296
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6297
|
+
query["DirectoryId"] = request.directoryId;
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6300
|
+
if (!Util.isUnset(request.groupId)) {
|
|
6301
|
+
query["GroupId"] = request.groupId;
|
|
6302
|
+
}
|
|
6303
|
+
|
|
6304
|
+
if (!Util.isUnset(request.userId)) {
|
|
6305
|
+
query["UserId"] = request.userId;
|
|
6306
|
+
}
|
|
6307
|
+
|
|
5830
6308
|
let req = new $OpenApi.OpenApiRequest({
|
|
5831
6309
|
query: OpenApiUtil.query(query),
|
|
5832
|
-
body: Util.toMap(request),
|
|
5833
6310
|
});
|
|
5834
6311
|
let params = new $OpenApi.Params({
|
|
5835
6312
|
action: "AddUserToGroup",
|
|
@@ -5839,7 +6316,7 @@ export default class Client extends OpenApi {
|
|
|
5839
6316
|
method: "POST",
|
|
5840
6317
|
authType: "AK",
|
|
5841
6318
|
style: "RPC",
|
|
5842
|
-
reqBodyType: "
|
|
6319
|
+
reqBodyType: "formData",
|
|
5843
6320
|
bodyType: "json",
|
|
5844
6321
|
});
|
|
5845
6322
|
return $tea.cast<AddUserToGroupResponse>(await this.callApi(params, req, runtime), new AddUserToGroupResponse({}));
|
|
@@ -5853,10 +6330,12 @@ export default class Client extends OpenApi {
|
|
|
5853
6330
|
async clearExternalSAMLIdentityProviderWithOptions(request: ClearExternalSAMLIdentityProviderRequest, runtime: $Util.RuntimeOptions): Promise<ClearExternalSAMLIdentityProviderResponse> {
|
|
5854
6331
|
Util.validateModel(request);
|
|
5855
6332
|
let query = { };
|
|
5856
|
-
|
|
6333
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6334
|
+
query["DirectoryId"] = request.directoryId;
|
|
6335
|
+
}
|
|
6336
|
+
|
|
5857
6337
|
let req = new $OpenApi.OpenApiRequest({
|
|
5858
6338
|
query: OpenApiUtil.query(query),
|
|
5859
|
-
body: Util.toMap(request),
|
|
5860
6339
|
});
|
|
5861
6340
|
let params = new $OpenApi.Params({
|
|
5862
6341
|
action: "ClearExternalSAMLIdentityProvider",
|
|
@@ -5866,7 +6345,7 @@ export default class Client extends OpenApi {
|
|
|
5866
6345
|
method: "POST",
|
|
5867
6346
|
authType: "AK",
|
|
5868
6347
|
style: "RPC",
|
|
5869
|
-
reqBodyType: "
|
|
6348
|
+
reqBodyType: "formData",
|
|
5870
6349
|
bodyType: "json",
|
|
5871
6350
|
});
|
|
5872
6351
|
return $tea.cast<ClearExternalSAMLIdentityProviderResponse>(await this.callApi(params, req, runtime), new ClearExternalSAMLIdentityProviderResponse({}));
|
|
@@ -5880,25 +6359,42 @@ export default class Client extends OpenApi {
|
|
|
5880
6359
|
async createAccessAssignmentWithOptions(request: CreateAccessAssignmentRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccessAssignmentResponse> {
|
|
5881
6360
|
Util.validateModel(request);
|
|
5882
6361
|
let query = { };
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
6362
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6363
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6364
|
+
}
|
|
6365
|
+
|
|
6366
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6367
|
+
query["DirectoryId"] = request.directoryId;
|
|
6368
|
+
}
|
|
6369
|
+
|
|
6370
|
+
if (!Util.isUnset(request.principalId)) {
|
|
6371
|
+
query["PrincipalId"] = request.principalId;
|
|
6372
|
+
}
|
|
6373
|
+
|
|
6374
|
+
if (!Util.isUnset(request.principalType)) {
|
|
6375
|
+
query["PrincipalType"] = request.principalType;
|
|
6376
|
+
}
|
|
6377
|
+
|
|
6378
|
+
if (!Util.isUnset(request.targetId)) {
|
|
6379
|
+
query["TargetId"] = request.targetId;
|
|
6380
|
+
}
|
|
6381
|
+
|
|
6382
|
+
if (!Util.isUnset(request.targetType)) {
|
|
6383
|
+
query["TargetType"] = request.targetType;
|
|
6384
|
+
}
|
|
6385
|
+
|
|
6386
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6387
|
+
query: OpenApiUtil.query(query),
|
|
6388
|
+
});
|
|
6389
|
+
let params = new $OpenApi.Params({
|
|
6390
|
+
action: "CreateAccessAssignment",
|
|
6391
|
+
version: "2021-05-15",
|
|
6392
|
+
protocol: "HTTPS",
|
|
6393
|
+
pathname: "/",
|
|
5898
6394
|
method: "POST",
|
|
5899
6395
|
authType: "AK",
|
|
5900
6396
|
style: "RPC",
|
|
5901
|
-
reqBodyType: "
|
|
6397
|
+
reqBodyType: "formData",
|
|
5902
6398
|
bodyType: "json",
|
|
5903
6399
|
});
|
|
5904
6400
|
return $tea.cast<CreateAccessAssignmentResponse>(await this.callApi(params, req, runtime), new CreateAccessAssignmentResponse({}));
|
|
@@ -5912,14 +6408,28 @@ export default class Client extends OpenApi {
|
|
|
5912
6408
|
async createAccessConfigurationWithOptions(request: CreateAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccessConfigurationResponse> {
|
|
5913
6409
|
Util.validateModel(request);
|
|
5914
6410
|
let query = { };
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
6411
|
+
if (!Util.isUnset(request.accessConfigurationName)) {
|
|
6412
|
+
query["AccessConfigurationName"] = request.accessConfigurationName;
|
|
6413
|
+
}
|
|
6414
|
+
|
|
6415
|
+
if (!Util.isUnset(request.description)) {
|
|
6416
|
+
query["Description"] = request.description;
|
|
6417
|
+
}
|
|
6418
|
+
|
|
6419
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6420
|
+
query["DirectoryId"] = request.directoryId;
|
|
6421
|
+
}
|
|
6422
|
+
|
|
6423
|
+
if (!Util.isUnset(request.relayState)) {
|
|
6424
|
+
query["RelayState"] = request.relayState;
|
|
6425
|
+
}
|
|
6426
|
+
|
|
6427
|
+
if (!Util.isUnset(request.sessionDuration)) {
|
|
6428
|
+
query["SessionDuration"] = request.sessionDuration;
|
|
6429
|
+
}
|
|
6430
|
+
|
|
5920
6431
|
let req = new $OpenApi.OpenApiRequest({
|
|
5921
6432
|
query: OpenApiUtil.query(query),
|
|
5922
|
-
body: Util.toMap(request),
|
|
5923
6433
|
});
|
|
5924
6434
|
let params = new $OpenApi.Params({
|
|
5925
6435
|
action: "CreateAccessConfiguration",
|
|
@@ -5929,7 +6439,7 @@ export default class Client extends OpenApi {
|
|
|
5929
6439
|
method: "POST",
|
|
5930
6440
|
authType: "AK",
|
|
5931
6441
|
style: "RPC",
|
|
5932
|
-
reqBodyType: "
|
|
6442
|
+
reqBodyType: "formData",
|
|
5933
6443
|
bodyType: "json",
|
|
5934
6444
|
});
|
|
5935
6445
|
return $tea.cast<CreateAccessConfigurationResponse>(await this.callApi(params, req, runtime), new CreateAccessConfigurationResponse({}));
|
|
@@ -5943,10 +6453,12 @@ export default class Client extends OpenApi {
|
|
|
5943
6453
|
async createDirectoryWithOptions(request: CreateDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<CreateDirectoryResponse> {
|
|
5944
6454
|
Util.validateModel(request);
|
|
5945
6455
|
let query = { };
|
|
5946
|
-
|
|
6456
|
+
if (!Util.isUnset(request.directoryName)) {
|
|
6457
|
+
query["DirectoryName"] = request.directoryName;
|
|
6458
|
+
}
|
|
6459
|
+
|
|
5947
6460
|
let req = new $OpenApi.OpenApiRequest({
|
|
5948
6461
|
query: OpenApiUtil.query(query),
|
|
5949
|
-
body: Util.toMap(request),
|
|
5950
6462
|
});
|
|
5951
6463
|
let params = new $OpenApi.Params({
|
|
5952
6464
|
action: "CreateDirectory",
|
|
@@ -5956,7 +6468,7 @@ export default class Client extends OpenApi {
|
|
|
5956
6468
|
method: "POST",
|
|
5957
6469
|
authType: "AK",
|
|
5958
6470
|
style: "RPC",
|
|
5959
|
-
reqBodyType: "
|
|
6471
|
+
reqBodyType: "formData",
|
|
5960
6472
|
bodyType: "json",
|
|
5961
6473
|
});
|
|
5962
6474
|
return $tea.cast<CreateDirectoryResponse>(await this.callApi(params, req, runtime), new CreateDirectoryResponse({}));
|
|
@@ -5970,12 +6482,20 @@ export default class Client extends OpenApi {
|
|
|
5970
6482
|
async createGroupWithOptions(request: CreateGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateGroupResponse> {
|
|
5971
6483
|
Util.validateModel(request);
|
|
5972
6484
|
let query = { };
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
6485
|
+
if (!Util.isUnset(request.description)) {
|
|
6486
|
+
query["Description"] = request.description;
|
|
6487
|
+
}
|
|
6488
|
+
|
|
6489
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6490
|
+
query["DirectoryId"] = request.directoryId;
|
|
6491
|
+
}
|
|
6492
|
+
|
|
6493
|
+
if (!Util.isUnset(request.groupName)) {
|
|
6494
|
+
query["GroupName"] = request.groupName;
|
|
6495
|
+
}
|
|
6496
|
+
|
|
5976
6497
|
let req = new $OpenApi.OpenApiRequest({
|
|
5977
6498
|
query: OpenApiUtil.query(query),
|
|
5978
|
-
body: Util.toMap(request),
|
|
5979
6499
|
});
|
|
5980
6500
|
let params = new $OpenApi.Params({
|
|
5981
6501
|
action: "CreateGroup",
|
|
@@ -5985,7 +6505,7 @@ export default class Client extends OpenApi {
|
|
|
5985
6505
|
method: "POST",
|
|
5986
6506
|
authType: "AK",
|
|
5987
6507
|
style: "RPC",
|
|
5988
|
-
reqBodyType: "
|
|
6508
|
+
reqBodyType: "formData",
|
|
5989
6509
|
bodyType: "json",
|
|
5990
6510
|
});
|
|
5991
6511
|
return $tea.cast<CreateGroupResponse>(await this.callApi(params, req, runtime), new CreateGroupResponse({}));
|
|
@@ -5999,10 +6519,12 @@ export default class Client extends OpenApi {
|
|
|
5999
6519
|
async createSCIMServerCredentialWithOptions(request: CreateSCIMServerCredentialRequest, runtime: $Util.RuntimeOptions): Promise<CreateSCIMServerCredentialResponse> {
|
|
6000
6520
|
Util.validateModel(request);
|
|
6001
6521
|
let query = { };
|
|
6002
|
-
|
|
6522
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6523
|
+
query["DirectoryId"] = request.directoryId;
|
|
6524
|
+
}
|
|
6525
|
+
|
|
6003
6526
|
let req = new $OpenApi.OpenApiRequest({
|
|
6004
6527
|
query: OpenApiUtil.query(query),
|
|
6005
|
-
body: Util.toMap(request),
|
|
6006
6528
|
});
|
|
6007
6529
|
let params = new $OpenApi.Params({
|
|
6008
6530
|
action: "CreateSCIMServerCredential",
|
|
@@ -6012,7 +6534,7 @@ export default class Client extends OpenApi {
|
|
|
6012
6534
|
method: "POST",
|
|
6013
6535
|
authType: "AK",
|
|
6014
6536
|
style: "RPC",
|
|
6015
|
-
reqBodyType: "
|
|
6537
|
+
reqBodyType: "formData",
|
|
6016
6538
|
bodyType: "json",
|
|
6017
6539
|
});
|
|
6018
6540
|
return $tea.cast<CreateSCIMServerCredentialResponse>(await this.callApi(params, req, runtime), new CreateSCIMServerCredentialResponse({}));
|
|
@@ -6026,17 +6548,40 @@ export default class Client extends OpenApi {
|
|
|
6026
6548
|
async createUserWithOptions(request: CreateUserRequest, runtime: $Util.RuntimeOptions): Promise<CreateUserResponse> {
|
|
6027
6549
|
Util.validateModel(request);
|
|
6028
6550
|
let query = { };
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6551
|
+
if (!Util.isUnset(request.description)) {
|
|
6552
|
+
query["Description"] = request.description;
|
|
6553
|
+
}
|
|
6554
|
+
|
|
6555
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6556
|
+
query["DirectoryId"] = request.directoryId;
|
|
6557
|
+
}
|
|
6558
|
+
|
|
6559
|
+
if (!Util.isUnset(request.displayName)) {
|
|
6560
|
+
query["DisplayName"] = request.displayName;
|
|
6561
|
+
}
|
|
6562
|
+
|
|
6563
|
+
if (!Util.isUnset(request.email)) {
|
|
6564
|
+
query["Email"] = request.email;
|
|
6565
|
+
}
|
|
6566
|
+
|
|
6567
|
+
if (!Util.isUnset(request.firstName)) {
|
|
6568
|
+
query["FirstName"] = request.firstName;
|
|
6569
|
+
}
|
|
6570
|
+
|
|
6571
|
+
if (!Util.isUnset(request.lastName)) {
|
|
6572
|
+
query["LastName"] = request.lastName;
|
|
6573
|
+
}
|
|
6574
|
+
|
|
6575
|
+
if (!Util.isUnset(request.status)) {
|
|
6576
|
+
query["Status"] = request.status;
|
|
6577
|
+
}
|
|
6578
|
+
|
|
6579
|
+
if (!Util.isUnset(request.userName)) {
|
|
6580
|
+
query["UserName"] = request.userName;
|
|
6581
|
+
}
|
|
6582
|
+
|
|
6037
6583
|
let req = new $OpenApi.OpenApiRequest({
|
|
6038
6584
|
query: OpenApiUtil.query(query),
|
|
6039
|
-
body: Util.toMap(request),
|
|
6040
6585
|
});
|
|
6041
6586
|
let params = new $OpenApi.Params({
|
|
6042
6587
|
action: "CreateUser",
|
|
@@ -6046,7 +6591,7 @@ export default class Client extends OpenApi {
|
|
|
6046
6591
|
method: "POST",
|
|
6047
6592
|
authType: "AK",
|
|
6048
6593
|
style: "RPC",
|
|
6049
|
-
reqBodyType: "
|
|
6594
|
+
reqBodyType: "formData",
|
|
6050
6595
|
bodyType: "json",
|
|
6051
6596
|
});
|
|
6052
6597
|
return $tea.cast<CreateUserResponse>(await this.callApi(params, req, runtime), new CreateUserResponse({}));
|
|
@@ -6060,16 +6605,36 @@ export default class Client extends OpenApi {
|
|
|
6060
6605
|
async deleteAccessAssignmentWithOptions(request: DeleteAccessAssignmentRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAccessAssignmentResponse> {
|
|
6061
6606
|
Util.validateModel(request);
|
|
6062
6607
|
let query = { };
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6608
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6609
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6610
|
+
}
|
|
6611
|
+
|
|
6612
|
+
if (!Util.isUnset(request.deprovisionStrategy)) {
|
|
6613
|
+
query["DeprovisionStrategy"] = request.deprovisionStrategy;
|
|
6614
|
+
}
|
|
6615
|
+
|
|
6616
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6617
|
+
query["DirectoryId"] = request.directoryId;
|
|
6618
|
+
}
|
|
6619
|
+
|
|
6620
|
+
if (!Util.isUnset(request.principalId)) {
|
|
6621
|
+
query["PrincipalId"] = request.principalId;
|
|
6622
|
+
}
|
|
6623
|
+
|
|
6624
|
+
if (!Util.isUnset(request.principalType)) {
|
|
6625
|
+
query["PrincipalType"] = request.principalType;
|
|
6626
|
+
}
|
|
6627
|
+
|
|
6628
|
+
if (!Util.isUnset(request.targetId)) {
|
|
6629
|
+
query["TargetId"] = request.targetId;
|
|
6630
|
+
}
|
|
6631
|
+
|
|
6632
|
+
if (!Util.isUnset(request.targetType)) {
|
|
6633
|
+
query["TargetType"] = request.targetType;
|
|
6634
|
+
}
|
|
6635
|
+
|
|
6070
6636
|
let req = new $OpenApi.OpenApiRequest({
|
|
6071
6637
|
query: OpenApiUtil.query(query),
|
|
6072
|
-
body: Util.toMap(request),
|
|
6073
6638
|
});
|
|
6074
6639
|
let params = new $OpenApi.Params({
|
|
6075
6640
|
action: "DeleteAccessAssignment",
|
|
@@ -6079,7 +6644,7 @@ export default class Client extends OpenApi {
|
|
|
6079
6644
|
method: "POST",
|
|
6080
6645
|
authType: "AK",
|
|
6081
6646
|
style: "RPC",
|
|
6082
|
-
reqBodyType: "
|
|
6647
|
+
reqBodyType: "formData",
|
|
6083
6648
|
bodyType: "json",
|
|
6084
6649
|
});
|
|
6085
6650
|
return $tea.cast<DeleteAccessAssignmentResponse>(await this.callApi(params, req, runtime), new DeleteAccessAssignmentResponse({}));
|
|
@@ -6093,12 +6658,20 @@ export default class Client extends OpenApi {
|
|
|
6093
6658
|
async deleteAccessConfigurationWithOptions(request: DeleteAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAccessConfigurationResponse> {
|
|
6094
6659
|
Util.validateModel(request);
|
|
6095
6660
|
let query = { };
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6661
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6662
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6663
|
+
}
|
|
6664
|
+
|
|
6665
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6666
|
+
query["DirectoryId"] = request.directoryId;
|
|
6667
|
+
}
|
|
6668
|
+
|
|
6669
|
+
if (!Util.isUnset(request.forceRemovePermissionPolicies)) {
|
|
6670
|
+
query["ForceRemovePermissionPolicies"] = request.forceRemovePermissionPolicies;
|
|
6671
|
+
}
|
|
6672
|
+
|
|
6099
6673
|
let req = new $OpenApi.OpenApiRequest({
|
|
6100
6674
|
query: OpenApiUtil.query(query),
|
|
6101
|
-
body: Util.toMap(request),
|
|
6102
6675
|
});
|
|
6103
6676
|
let params = new $OpenApi.Params({
|
|
6104
6677
|
action: "DeleteAccessConfiguration",
|
|
@@ -6108,7 +6681,7 @@ export default class Client extends OpenApi {
|
|
|
6108
6681
|
method: "POST",
|
|
6109
6682
|
authType: "AK",
|
|
6110
6683
|
style: "RPC",
|
|
6111
|
-
reqBodyType: "
|
|
6684
|
+
reqBodyType: "formData",
|
|
6112
6685
|
bodyType: "json",
|
|
6113
6686
|
});
|
|
6114
6687
|
return $tea.cast<DeleteAccessConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteAccessConfigurationResponse({}));
|
|
@@ -6122,10 +6695,12 @@ export default class Client extends OpenApi {
|
|
|
6122
6695
|
async deleteDirectoryWithOptions(request: DeleteDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDirectoryResponse> {
|
|
6123
6696
|
Util.validateModel(request);
|
|
6124
6697
|
let query = { };
|
|
6125
|
-
|
|
6698
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6699
|
+
query["DirectoryId"] = request.directoryId;
|
|
6700
|
+
}
|
|
6701
|
+
|
|
6126
6702
|
let req = new $OpenApi.OpenApiRequest({
|
|
6127
6703
|
query: OpenApiUtil.query(query),
|
|
6128
|
-
body: Util.toMap(request),
|
|
6129
6704
|
});
|
|
6130
6705
|
let params = new $OpenApi.Params({
|
|
6131
6706
|
action: "DeleteDirectory",
|
|
@@ -6135,7 +6710,7 @@ export default class Client extends OpenApi {
|
|
|
6135
6710
|
method: "POST",
|
|
6136
6711
|
authType: "AK",
|
|
6137
6712
|
style: "RPC",
|
|
6138
|
-
reqBodyType: "
|
|
6713
|
+
reqBodyType: "formData",
|
|
6139
6714
|
bodyType: "json",
|
|
6140
6715
|
});
|
|
6141
6716
|
return $tea.cast<DeleteDirectoryResponse>(await this.callApi(params, req, runtime), new DeleteDirectoryResponse({}));
|
|
@@ -6149,11 +6724,16 @@ export default class Client extends OpenApi {
|
|
|
6149
6724
|
async deleteGroupWithOptions(request: DeleteGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteGroupResponse> {
|
|
6150
6725
|
Util.validateModel(request);
|
|
6151
6726
|
let query = { };
|
|
6152
|
-
|
|
6153
|
-
|
|
6727
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6728
|
+
query["DirectoryId"] = request.directoryId;
|
|
6729
|
+
}
|
|
6730
|
+
|
|
6731
|
+
if (!Util.isUnset(request.groupId)) {
|
|
6732
|
+
query["GroupId"] = request.groupId;
|
|
6733
|
+
}
|
|
6734
|
+
|
|
6154
6735
|
let req = new $OpenApi.OpenApiRequest({
|
|
6155
6736
|
query: OpenApiUtil.query(query),
|
|
6156
|
-
body: Util.toMap(request),
|
|
6157
6737
|
});
|
|
6158
6738
|
let params = new $OpenApi.Params({
|
|
6159
6739
|
action: "DeleteGroup",
|
|
@@ -6163,7 +6743,7 @@ export default class Client extends OpenApi {
|
|
|
6163
6743
|
method: "POST",
|
|
6164
6744
|
authType: "AK",
|
|
6165
6745
|
style: "RPC",
|
|
6166
|
-
reqBodyType: "
|
|
6746
|
+
reqBodyType: "formData",
|
|
6167
6747
|
bodyType: "json",
|
|
6168
6748
|
});
|
|
6169
6749
|
return $tea.cast<DeleteGroupResponse>(await this.callApi(params, req, runtime), new DeleteGroupResponse({}));
|
|
@@ -6177,12 +6757,20 @@ export default class Client extends OpenApi {
|
|
|
6177
6757
|
async deleteMFADeviceForUserWithOptions(request: DeleteMFADeviceForUserRequest, runtime: $Util.RuntimeOptions): Promise<DeleteMFADeviceForUserResponse> {
|
|
6178
6758
|
Util.validateModel(request);
|
|
6179
6759
|
let query = { };
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6760
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6761
|
+
query["DirectoryId"] = request.directoryId;
|
|
6762
|
+
}
|
|
6763
|
+
|
|
6764
|
+
if (!Util.isUnset(request.MFADeviceId)) {
|
|
6765
|
+
query["MFADeviceId"] = request.MFADeviceId;
|
|
6766
|
+
}
|
|
6767
|
+
|
|
6768
|
+
if (!Util.isUnset(request.userId)) {
|
|
6769
|
+
query["UserId"] = request.userId;
|
|
6770
|
+
}
|
|
6771
|
+
|
|
6183
6772
|
let req = new $OpenApi.OpenApiRequest({
|
|
6184
6773
|
query: OpenApiUtil.query(query),
|
|
6185
|
-
body: Util.toMap(request),
|
|
6186
6774
|
});
|
|
6187
6775
|
let params = new $OpenApi.Params({
|
|
6188
6776
|
action: "DeleteMFADeviceForUser",
|
|
@@ -6192,7 +6780,7 @@ export default class Client extends OpenApi {
|
|
|
6192
6780
|
method: "POST",
|
|
6193
6781
|
authType: "AK",
|
|
6194
6782
|
style: "RPC",
|
|
6195
|
-
reqBodyType: "
|
|
6783
|
+
reqBodyType: "formData",
|
|
6196
6784
|
bodyType: "json",
|
|
6197
6785
|
});
|
|
6198
6786
|
return $tea.cast<DeleteMFADeviceForUserResponse>(await this.callApi(params, req, runtime), new DeleteMFADeviceForUserResponse({}));
|
|
@@ -6206,11 +6794,16 @@ export default class Client extends OpenApi {
|
|
|
6206
6794
|
async deleteSCIMServerCredentialWithOptions(request: DeleteSCIMServerCredentialRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSCIMServerCredentialResponse> {
|
|
6207
6795
|
Util.validateModel(request);
|
|
6208
6796
|
let query = { };
|
|
6209
|
-
|
|
6210
|
-
|
|
6797
|
+
if (!Util.isUnset(request.credentialId)) {
|
|
6798
|
+
query["CredentialId"] = request.credentialId;
|
|
6799
|
+
}
|
|
6800
|
+
|
|
6801
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6802
|
+
query["DirectoryId"] = request.directoryId;
|
|
6803
|
+
}
|
|
6804
|
+
|
|
6211
6805
|
let req = new $OpenApi.OpenApiRequest({
|
|
6212
6806
|
query: OpenApiUtil.query(query),
|
|
6213
|
-
body: Util.toMap(request),
|
|
6214
6807
|
});
|
|
6215
6808
|
let params = new $OpenApi.Params({
|
|
6216
6809
|
action: "DeleteSCIMServerCredential",
|
|
@@ -6220,7 +6813,7 @@ export default class Client extends OpenApi {
|
|
|
6220
6813
|
method: "POST",
|
|
6221
6814
|
authType: "AK",
|
|
6222
6815
|
style: "RPC",
|
|
6223
|
-
reqBodyType: "
|
|
6816
|
+
reqBodyType: "formData",
|
|
6224
6817
|
bodyType: "json",
|
|
6225
6818
|
});
|
|
6226
6819
|
return $tea.cast<DeleteSCIMServerCredentialResponse>(await this.callApi(params, req, runtime), new DeleteSCIMServerCredentialResponse({}));
|
|
@@ -6234,11 +6827,16 @@ export default class Client extends OpenApi {
|
|
|
6234
6827
|
async deleteUserWithOptions(request: DeleteUserRequest, runtime: $Util.RuntimeOptions): Promise<DeleteUserResponse> {
|
|
6235
6828
|
Util.validateModel(request);
|
|
6236
6829
|
let query = { };
|
|
6237
|
-
|
|
6238
|
-
|
|
6830
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6831
|
+
query["DirectoryId"] = request.directoryId;
|
|
6832
|
+
}
|
|
6833
|
+
|
|
6834
|
+
if (!Util.isUnset(request.userId)) {
|
|
6835
|
+
query["UserId"] = request.userId;
|
|
6836
|
+
}
|
|
6837
|
+
|
|
6239
6838
|
let req = new $OpenApi.OpenApiRequest({
|
|
6240
6839
|
query: OpenApiUtil.query(query),
|
|
6241
|
-
body: Util.toMap(request),
|
|
6242
6840
|
});
|
|
6243
6841
|
let params = new $OpenApi.Params({
|
|
6244
6842
|
action: "DeleteUser",
|
|
@@ -6248,7 +6846,7 @@ export default class Client extends OpenApi {
|
|
|
6248
6846
|
method: "POST",
|
|
6249
6847
|
authType: "AK",
|
|
6250
6848
|
style: "RPC",
|
|
6251
|
-
reqBodyType: "
|
|
6849
|
+
reqBodyType: "formData",
|
|
6252
6850
|
bodyType: "json",
|
|
6253
6851
|
});
|
|
6254
6852
|
return $tea.cast<DeleteUserResponse>(await this.callApi(params, req, runtime), new DeleteUserResponse({}));
|
|
@@ -6262,13 +6860,24 @@ export default class Client extends OpenApi {
|
|
|
6262
6860
|
async deprovisionAccessConfigurationWithOptions(request: DeprovisionAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeprovisionAccessConfigurationResponse> {
|
|
6263
6861
|
Util.validateModel(request);
|
|
6264
6862
|
let query = { };
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6863
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6864
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6865
|
+
}
|
|
6866
|
+
|
|
6867
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6868
|
+
query["DirectoryId"] = request.directoryId;
|
|
6869
|
+
}
|
|
6870
|
+
|
|
6871
|
+
if (!Util.isUnset(request.targetId)) {
|
|
6872
|
+
query["TargetId"] = request.targetId;
|
|
6873
|
+
}
|
|
6874
|
+
|
|
6875
|
+
if (!Util.isUnset(request.targetType)) {
|
|
6876
|
+
query["TargetType"] = request.targetType;
|
|
6877
|
+
}
|
|
6878
|
+
|
|
6269
6879
|
let req = new $OpenApi.OpenApiRequest({
|
|
6270
6880
|
query: OpenApiUtil.query(query),
|
|
6271
|
-
body: Util.toMap(request),
|
|
6272
6881
|
});
|
|
6273
6882
|
let params = new $OpenApi.Params({
|
|
6274
6883
|
action: "DeprovisionAccessConfiguration",
|
|
@@ -6278,7 +6887,7 @@ export default class Client extends OpenApi {
|
|
|
6278
6887
|
method: "POST",
|
|
6279
6888
|
authType: "AK",
|
|
6280
6889
|
style: "RPC",
|
|
6281
|
-
reqBodyType: "
|
|
6890
|
+
reqBodyType: "formData",
|
|
6282
6891
|
bodyType: "json",
|
|
6283
6892
|
});
|
|
6284
6893
|
return $tea.cast<DeprovisionAccessConfigurationResponse>(await this.callApi(params, req, runtime), new DeprovisionAccessConfigurationResponse({}));
|
|
@@ -6299,7 +6908,7 @@ export default class Client extends OpenApi {
|
|
|
6299
6908
|
method: "POST",
|
|
6300
6909
|
authType: "AK",
|
|
6301
6910
|
style: "RPC",
|
|
6302
|
-
reqBodyType: "
|
|
6911
|
+
reqBodyType: "formData",
|
|
6303
6912
|
bodyType: "json",
|
|
6304
6913
|
});
|
|
6305
6914
|
return $tea.cast<DisableServiceResponse>(await this.callApi(params, req, runtime), new DisableServiceResponse({}));
|
|
@@ -6320,7 +6929,7 @@ export default class Client extends OpenApi {
|
|
|
6320
6929
|
method: "POST",
|
|
6321
6930
|
authType: "AK",
|
|
6322
6931
|
style: "RPC",
|
|
6323
|
-
reqBodyType: "
|
|
6932
|
+
reqBodyType: "formData",
|
|
6324
6933
|
bodyType: "json",
|
|
6325
6934
|
});
|
|
6326
6935
|
return $tea.cast<EnableServiceResponse>(await this.callApi(params, req, runtime), new EnableServiceResponse({}));
|
|
@@ -6334,11 +6943,16 @@ export default class Client extends OpenApi {
|
|
|
6334
6943
|
async getAccessConfigurationWithOptions(request: GetAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<GetAccessConfigurationResponse> {
|
|
6335
6944
|
Util.validateModel(request);
|
|
6336
6945
|
let query = { };
|
|
6337
|
-
|
|
6338
|
-
|
|
6946
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
6947
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
6948
|
+
}
|
|
6949
|
+
|
|
6950
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6951
|
+
query["DirectoryId"] = request.directoryId;
|
|
6952
|
+
}
|
|
6953
|
+
|
|
6339
6954
|
let req = new $OpenApi.OpenApiRequest({
|
|
6340
6955
|
query: OpenApiUtil.query(query),
|
|
6341
|
-
body: Util.toMap(request),
|
|
6342
6956
|
});
|
|
6343
6957
|
let params = new $OpenApi.Params({
|
|
6344
6958
|
action: "GetAccessConfiguration",
|
|
@@ -6348,7 +6962,7 @@ export default class Client extends OpenApi {
|
|
|
6348
6962
|
method: "POST",
|
|
6349
6963
|
authType: "AK",
|
|
6350
6964
|
style: "RPC",
|
|
6351
|
-
reqBodyType: "
|
|
6965
|
+
reqBodyType: "formData",
|
|
6352
6966
|
bodyType: "json",
|
|
6353
6967
|
});
|
|
6354
6968
|
return $tea.cast<GetAccessConfigurationResponse>(await this.callApi(params, req, runtime), new GetAccessConfigurationResponse({}));
|
|
@@ -6362,10 +6976,12 @@ export default class Client extends OpenApi {
|
|
|
6362
6976
|
async getDirectoryWithOptions(request: GetDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<GetDirectoryResponse> {
|
|
6363
6977
|
Util.validateModel(request);
|
|
6364
6978
|
let query = { };
|
|
6365
|
-
|
|
6979
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
6980
|
+
query["DirectoryId"] = request.directoryId;
|
|
6981
|
+
}
|
|
6982
|
+
|
|
6366
6983
|
let req = new $OpenApi.OpenApiRequest({
|
|
6367
6984
|
query: OpenApiUtil.query(query),
|
|
6368
|
-
body: Util.toMap(request),
|
|
6369
6985
|
});
|
|
6370
6986
|
let params = new $OpenApi.Params({
|
|
6371
6987
|
action: "GetDirectory",
|
|
@@ -6375,7 +6991,7 @@ export default class Client extends OpenApi {
|
|
|
6375
6991
|
method: "POST",
|
|
6376
6992
|
authType: "AK",
|
|
6377
6993
|
style: "RPC",
|
|
6378
|
-
reqBodyType: "
|
|
6994
|
+
reqBodyType: "formData",
|
|
6379
6995
|
bodyType: "json",
|
|
6380
6996
|
});
|
|
6381
6997
|
return $tea.cast<GetDirectoryResponse>(await this.callApi(params, req, runtime), new GetDirectoryResponse({}));
|
|
@@ -6389,10 +7005,12 @@ export default class Client extends OpenApi {
|
|
|
6389
7005
|
async getDirectorySAMLServiceProviderInfoWithOptions(request: GetDirectorySAMLServiceProviderInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetDirectorySAMLServiceProviderInfoResponse> {
|
|
6390
7006
|
Util.validateModel(request);
|
|
6391
7007
|
let query = { };
|
|
6392
|
-
|
|
7008
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7009
|
+
query["DirectoryId"] = request.directoryId;
|
|
7010
|
+
}
|
|
7011
|
+
|
|
6393
7012
|
let req = new $OpenApi.OpenApiRequest({
|
|
6394
7013
|
query: OpenApiUtil.query(query),
|
|
6395
|
-
body: Util.toMap(request),
|
|
6396
7014
|
});
|
|
6397
7015
|
let params = new $OpenApi.Params({
|
|
6398
7016
|
action: "GetDirectorySAMLServiceProviderInfo",
|
|
@@ -6402,7 +7020,7 @@ export default class Client extends OpenApi {
|
|
|
6402
7020
|
method: "POST",
|
|
6403
7021
|
authType: "AK",
|
|
6404
7022
|
style: "RPC",
|
|
6405
|
-
reqBodyType: "
|
|
7023
|
+
reqBodyType: "formData",
|
|
6406
7024
|
bodyType: "json",
|
|
6407
7025
|
});
|
|
6408
7026
|
return $tea.cast<GetDirectorySAMLServiceProviderInfoResponse>(await this.callApi(params, req, runtime), new GetDirectorySAMLServiceProviderInfoResponse({}));
|
|
@@ -6416,10 +7034,12 @@ export default class Client extends OpenApi {
|
|
|
6416
7034
|
async getDirectoryStatisticsWithOptions(request: GetDirectoryStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<GetDirectoryStatisticsResponse> {
|
|
6417
7035
|
Util.validateModel(request);
|
|
6418
7036
|
let query = { };
|
|
6419
|
-
|
|
7037
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7038
|
+
query["DirectoryId"] = request.directoryId;
|
|
7039
|
+
}
|
|
7040
|
+
|
|
6420
7041
|
let req = new $OpenApi.OpenApiRequest({
|
|
6421
7042
|
query: OpenApiUtil.query(query),
|
|
6422
|
-
body: Util.toMap(request),
|
|
6423
7043
|
});
|
|
6424
7044
|
let params = new $OpenApi.Params({
|
|
6425
7045
|
action: "GetDirectoryStatistics",
|
|
@@ -6429,7 +7049,7 @@ export default class Client extends OpenApi {
|
|
|
6429
7049
|
method: "POST",
|
|
6430
7050
|
authType: "AK",
|
|
6431
7051
|
style: "RPC",
|
|
6432
|
-
reqBodyType: "
|
|
7052
|
+
reqBodyType: "formData",
|
|
6433
7053
|
bodyType: "json",
|
|
6434
7054
|
});
|
|
6435
7055
|
return $tea.cast<GetDirectoryStatisticsResponse>(await this.callApi(params, req, runtime), new GetDirectoryStatisticsResponse({}));
|
|
@@ -6443,10 +7063,12 @@ export default class Client extends OpenApi {
|
|
|
6443
7063
|
async getExternalSAMLIdentityProviderWithOptions(request: GetExternalSAMLIdentityProviderRequest, runtime: $Util.RuntimeOptions): Promise<GetExternalSAMLIdentityProviderResponse> {
|
|
6444
7064
|
Util.validateModel(request);
|
|
6445
7065
|
let query = { };
|
|
6446
|
-
|
|
7066
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7067
|
+
query["DirectoryId"] = request.directoryId;
|
|
7068
|
+
}
|
|
7069
|
+
|
|
6447
7070
|
let req = new $OpenApi.OpenApiRequest({
|
|
6448
7071
|
query: OpenApiUtil.query(query),
|
|
6449
|
-
body: Util.toMap(request),
|
|
6450
7072
|
});
|
|
6451
7073
|
let params = new $OpenApi.Params({
|
|
6452
7074
|
action: "GetExternalSAMLIdentityProvider",
|
|
@@ -6456,7 +7078,7 @@ export default class Client extends OpenApi {
|
|
|
6456
7078
|
method: "POST",
|
|
6457
7079
|
authType: "AK",
|
|
6458
7080
|
style: "RPC",
|
|
6459
|
-
reqBodyType: "
|
|
7081
|
+
reqBodyType: "formData",
|
|
6460
7082
|
bodyType: "json",
|
|
6461
7083
|
});
|
|
6462
7084
|
return $tea.cast<GetExternalSAMLIdentityProviderResponse>(await this.callApi(params, req, runtime), new GetExternalSAMLIdentityProviderResponse({}));
|
|
@@ -6470,11 +7092,16 @@ export default class Client extends OpenApi {
|
|
|
6470
7092
|
async getGroupWithOptions(request: GetGroupRequest, runtime: $Util.RuntimeOptions): Promise<GetGroupResponse> {
|
|
6471
7093
|
Util.validateModel(request);
|
|
6472
7094
|
let query = { };
|
|
6473
|
-
|
|
6474
|
-
|
|
7095
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7096
|
+
query["DirectoryId"] = request.directoryId;
|
|
7097
|
+
}
|
|
7098
|
+
|
|
7099
|
+
if (!Util.isUnset(request.groupId)) {
|
|
7100
|
+
query["GroupId"] = request.groupId;
|
|
7101
|
+
}
|
|
7102
|
+
|
|
6475
7103
|
let req = new $OpenApi.OpenApiRequest({
|
|
6476
7104
|
query: OpenApiUtil.query(query),
|
|
6477
|
-
body: Util.toMap(request),
|
|
6478
7105
|
});
|
|
6479
7106
|
let params = new $OpenApi.Params({
|
|
6480
7107
|
action: "GetGroup",
|
|
@@ -6484,7 +7111,7 @@ export default class Client extends OpenApi {
|
|
|
6484
7111
|
method: "POST",
|
|
6485
7112
|
authType: "AK",
|
|
6486
7113
|
style: "RPC",
|
|
6487
|
-
reqBodyType: "
|
|
7114
|
+
reqBodyType: "formData",
|
|
6488
7115
|
bodyType: "json",
|
|
6489
7116
|
});
|
|
6490
7117
|
return $tea.cast<GetGroupResponse>(await this.callApi(params, req, runtime), new GetGroupResponse({}));
|
|
@@ -6495,13 +7122,44 @@ export default class Client extends OpenApi {
|
|
|
6495
7122
|
return await this.getGroupWithOptions(request, runtime);
|
|
6496
7123
|
}
|
|
6497
7124
|
|
|
7125
|
+
async getMFAAuthenticationSettingsWithOptions(request: GetMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<GetMFAAuthenticationSettingsResponse> {
|
|
7126
|
+
Util.validateModel(request);
|
|
7127
|
+
let query = { };
|
|
7128
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7129
|
+
query["DirectoryId"] = request.directoryId;
|
|
7130
|
+
}
|
|
7131
|
+
|
|
7132
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7133
|
+
query: OpenApiUtil.query(query),
|
|
7134
|
+
});
|
|
7135
|
+
let params = new $OpenApi.Params({
|
|
7136
|
+
action: "GetMFAAuthenticationSettings",
|
|
7137
|
+
version: "2021-05-15",
|
|
7138
|
+
protocol: "HTTPS",
|
|
7139
|
+
pathname: "/",
|
|
7140
|
+
method: "POST",
|
|
7141
|
+
authType: "AK",
|
|
7142
|
+
style: "RPC",
|
|
7143
|
+
reqBodyType: "formData",
|
|
7144
|
+
bodyType: "json",
|
|
7145
|
+
});
|
|
7146
|
+
return $tea.cast<GetMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new GetMFAAuthenticationSettingsResponse({}));
|
|
7147
|
+
}
|
|
7148
|
+
|
|
7149
|
+
async getMFAAuthenticationSettings(request: GetMFAAuthenticationSettingsRequest): Promise<GetMFAAuthenticationSettingsResponse> {
|
|
7150
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7151
|
+
return await this.getMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
7152
|
+
}
|
|
7153
|
+
|
|
6498
7154
|
async getMFAAuthenticationStatusWithOptions(request: GetMFAAuthenticationStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetMFAAuthenticationStatusResponse> {
|
|
6499
7155
|
Util.validateModel(request);
|
|
6500
7156
|
let query = { };
|
|
6501
|
-
|
|
7157
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7158
|
+
query["DirectoryId"] = request.directoryId;
|
|
7159
|
+
}
|
|
7160
|
+
|
|
6502
7161
|
let req = new $OpenApi.OpenApiRequest({
|
|
6503
7162
|
query: OpenApiUtil.query(query),
|
|
6504
|
-
body: Util.toMap(request),
|
|
6505
7163
|
});
|
|
6506
7164
|
let params = new $OpenApi.Params({
|
|
6507
7165
|
action: "GetMFAAuthenticationStatus",
|
|
@@ -6511,7 +7169,7 @@ export default class Client extends OpenApi {
|
|
|
6511
7169
|
method: "POST",
|
|
6512
7170
|
authType: "AK",
|
|
6513
7171
|
style: "RPC",
|
|
6514
|
-
reqBodyType: "
|
|
7172
|
+
reqBodyType: "formData",
|
|
6515
7173
|
bodyType: "json",
|
|
6516
7174
|
});
|
|
6517
7175
|
return $tea.cast<GetMFAAuthenticationStatusResponse>(await this.callApi(params, req, runtime), new GetMFAAuthenticationStatusResponse({}));
|
|
@@ -6525,10 +7183,12 @@ export default class Client extends OpenApi {
|
|
|
6525
7183
|
async getSCIMSynchronizationStatusWithOptions(request: GetSCIMSynchronizationStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSCIMSynchronizationStatusResponse> {
|
|
6526
7184
|
Util.validateModel(request);
|
|
6527
7185
|
let query = { };
|
|
6528
|
-
|
|
7186
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7187
|
+
query["DirectoryId"] = request.directoryId;
|
|
7188
|
+
}
|
|
7189
|
+
|
|
6529
7190
|
let req = new $OpenApi.OpenApiRequest({
|
|
6530
7191
|
query: OpenApiUtil.query(query),
|
|
6531
|
-
body: Util.toMap(request),
|
|
6532
7192
|
});
|
|
6533
7193
|
let params = new $OpenApi.Params({
|
|
6534
7194
|
action: "GetSCIMSynchronizationStatus",
|
|
@@ -6538,7 +7198,7 @@ export default class Client extends OpenApi {
|
|
|
6538
7198
|
method: "POST",
|
|
6539
7199
|
authType: "AK",
|
|
6540
7200
|
style: "RPC",
|
|
6541
|
-
reqBodyType: "
|
|
7201
|
+
reqBodyType: "formData",
|
|
6542
7202
|
bodyType: "json",
|
|
6543
7203
|
});
|
|
6544
7204
|
return $tea.cast<GetSCIMSynchronizationStatusResponse>(await this.callApi(params, req, runtime), new GetSCIMSynchronizationStatusResponse({}));
|
|
@@ -6559,7 +7219,7 @@ export default class Client extends OpenApi {
|
|
|
6559
7219
|
method: "POST",
|
|
6560
7220
|
authType: "AK",
|
|
6561
7221
|
style: "RPC",
|
|
6562
|
-
reqBodyType: "
|
|
7222
|
+
reqBodyType: "formData",
|
|
6563
7223
|
bodyType: "json",
|
|
6564
7224
|
});
|
|
6565
7225
|
return $tea.cast<GetServiceStatusResponse>(await this.callApi(params, req, runtime), new GetServiceStatusResponse({}));
|
|
@@ -6573,11 +7233,16 @@ export default class Client extends OpenApi {
|
|
|
6573
7233
|
async getTaskWithOptions(request: GetTaskRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskResponse> {
|
|
6574
7234
|
Util.validateModel(request);
|
|
6575
7235
|
let query = { };
|
|
6576
|
-
|
|
6577
|
-
|
|
7236
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7237
|
+
query["DirectoryId"] = request.directoryId;
|
|
7238
|
+
}
|
|
7239
|
+
|
|
7240
|
+
if (!Util.isUnset(request.taskId)) {
|
|
7241
|
+
query["TaskId"] = request.taskId;
|
|
7242
|
+
}
|
|
7243
|
+
|
|
6578
7244
|
let req = new $OpenApi.OpenApiRequest({
|
|
6579
7245
|
query: OpenApiUtil.query(query),
|
|
6580
|
-
body: Util.toMap(request),
|
|
6581
7246
|
});
|
|
6582
7247
|
let params = new $OpenApi.Params({
|
|
6583
7248
|
action: "GetTask",
|
|
@@ -6587,7 +7252,7 @@ export default class Client extends OpenApi {
|
|
|
6587
7252
|
method: "POST",
|
|
6588
7253
|
authType: "AK",
|
|
6589
7254
|
style: "RPC",
|
|
6590
|
-
reqBodyType: "
|
|
7255
|
+
reqBodyType: "formData",
|
|
6591
7256
|
bodyType: "json",
|
|
6592
7257
|
});
|
|
6593
7258
|
return $tea.cast<GetTaskResponse>(await this.callApi(params, req, runtime), new GetTaskResponse({}));
|
|
@@ -6601,11 +7266,16 @@ export default class Client extends OpenApi {
|
|
|
6601
7266
|
async getTaskStatusWithOptions(request: GetTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse> {
|
|
6602
7267
|
Util.validateModel(request);
|
|
6603
7268
|
let query = { };
|
|
6604
|
-
|
|
6605
|
-
|
|
7269
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7270
|
+
query["DirectoryId"] = request.directoryId;
|
|
7271
|
+
}
|
|
7272
|
+
|
|
7273
|
+
if (!Util.isUnset(request.taskId)) {
|
|
7274
|
+
query["TaskId"] = request.taskId;
|
|
7275
|
+
}
|
|
7276
|
+
|
|
6606
7277
|
let req = new $OpenApi.OpenApiRequest({
|
|
6607
7278
|
query: OpenApiUtil.query(query),
|
|
6608
|
-
body: Util.toMap(request),
|
|
6609
7279
|
});
|
|
6610
7280
|
let params = new $OpenApi.Params({
|
|
6611
7281
|
action: "GetTaskStatus",
|
|
@@ -6615,7 +7285,7 @@ export default class Client extends OpenApi {
|
|
|
6615
7285
|
method: "POST",
|
|
6616
7286
|
authType: "AK",
|
|
6617
7287
|
style: "RPC",
|
|
6618
|
-
reqBodyType: "
|
|
7288
|
+
reqBodyType: "formData",
|
|
6619
7289
|
bodyType: "json",
|
|
6620
7290
|
});
|
|
6621
7291
|
return $tea.cast<GetTaskStatusResponse>(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
|
|
@@ -6629,11 +7299,16 @@ export default class Client extends OpenApi {
|
|
|
6629
7299
|
async getUserWithOptions(request: GetUserRequest, runtime: $Util.RuntimeOptions): Promise<GetUserResponse> {
|
|
6630
7300
|
Util.validateModel(request);
|
|
6631
7301
|
let query = { };
|
|
6632
|
-
|
|
6633
|
-
|
|
7302
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7303
|
+
query["DirectoryId"] = request.directoryId;
|
|
7304
|
+
}
|
|
7305
|
+
|
|
7306
|
+
if (!Util.isUnset(request.userId)) {
|
|
7307
|
+
query["UserId"] = request.userId;
|
|
7308
|
+
}
|
|
7309
|
+
|
|
6634
7310
|
let req = new $OpenApi.OpenApiRequest({
|
|
6635
7311
|
query: OpenApiUtil.query(query),
|
|
6636
|
-
body: Util.toMap(request),
|
|
6637
7312
|
});
|
|
6638
7313
|
let params = new $OpenApi.Params({
|
|
6639
7314
|
action: "GetUser",
|
|
@@ -6643,7 +7318,7 @@ export default class Client extends OpenApi {
|
|
|
6643
7318
|
method: "POST",
|
|
6644
7319
|
authType: "AK",
|
|
6645
7320
|
style: "RPC",
|
|
6646
|
-
reqBodyType: "
|
|
7321
|
+
reqBodyType: "formData",
|
|
6647
7322
|
bodyType: "json",
|
|
6648
7323
|
});
|
|
6649
7324
|
return $tea.cast<GetUserResponse>(await this.callApi(params, req, runtime), new GetUserResponse({}));
|
|
@@ -6654,20 +7329,76 @@ export default class Client extends OpenApi {
|
|
|
6654
7329
|
return await this.getUserWithOptions(request, runtime);
|
|
6655
7330
|
}
|
|
6656
7331
|
|
|
7332
|
+
async getUserMFAAuthenticationSettingsWithOptions(request: GetUserMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<GetUserMFAAuthenticationSettingsResponse> {
|
|
7333
|
+
Util.validateModel(request);
|
|
7334
|
+
let query = { };
|
|
7335
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7336
|
+
query["DirectoryId"] = request.directoryId;
|
|
7337
|
+
}
|
|
7338
|
+
|
|
7339
|
+
if (!Util.isUnset(request.userId)) {
|
|
7340
|
+
query["UserId"] = request.userId;
|
|
7341
|
+
}
|
|
7342
|
+
|
|
7343
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7344
|
+
query: OpenApiUtil.query(query),
|
|
7345
|
+
});
|
|
7346
|
+
let params = new $OpenApi.Params({
|
|
7347
|
+
action: "GetUserMFAAuthenticationSettings",
|
|
7348
|
+
version: "2021-05-15",
|
|
7349
|
+
protocol: "HTTPS",
|
|
7350
|
+
pathname: "/",
|
|
7351
|
+
method: "POST",
|
|
7352
|
+
authType: "AK",
|
|
7353
|
+
style: "RPC",
|
|
7354
|
+
reqBodyType: "formData",
|
|
7355
|
+
bodyType: "json",
|
|
7356
|
+
});
|
|
7357
|
+
return $tea.cast<GetUserMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new GetUserMFAAuthenticationSettingsResponse({}));
|
|
7358
|
+
}
|
|
7359
|
+
|
|
7360
|
+
async getUserMFAAuthenticationSettings(request: GetUserMFAAuthenticationSettingsRequest): Promise<GetUserMFAAuthenticationSettingsResponse> {
|
|
7361
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7362
|
+
return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
7363
|
+
}
|
|
7364
|
+
|
|
6657
7365
|
async listAccessAssignmentsWithOptions(request: ListAccessAssignmentsRequest, runtime: $Util.RuntimeOptions): Promise<ListAccessAssignmentsResponse> {
|
|
6658
7366
|
Util.validateModel(request);
|
|
6659
7367
|
let query = { };
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
7368
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7369
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7370
|
+
}
|
|
7371
|
+
|
|
7372
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7373
|
+
query["DirectoryId"] = request.directoryId;
|
|
7374
|
+
}
|
|
7375
|
+
|
|
7376
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7377
|
+
query["MaxResults"] = request.maxResults;
|
|
7378
|
+
}
|
|
7379
|
+
|
|
7380
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7381
|
+
query["NextToken"] = request.nextToken;
|
|
7382
|
+
}
|
|
7383
|
+
|
|
7384
|
+
if (!Util.isUnset(request.principalId)) {
|
|
7385
|
+
query["PrincipalId"] = request.principalId;
|
|
7386
|
+
}
|
|
7387
|
+
|
|
7388
|
+
if (!Util.isUnset(request.principalType)) {
|
|
7389
|
+
query["PrincipalType"] = request.principalType;
|
|
7390
|
+
}
|
|
7391
|
+
|
|
7392
|
+
if (!Util.isUnset(request.targetId)) {
|
|
7393
|
+
query["TargetId"] = request.targetId;
|
|
7394
|
+
}
|
|
7395
|
+
|
|
7396
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7397
|
+
query["TargetType"] = request.targetType;
|
|
7398
|
+
}
|
|
7399
|
+
|
|
6668
7400
|
let req = new $OpenApi.OpenApiRequest({
|
|
6669
7401
|
query: OpenApiUtil.query(query),
|
|
6670
|
-
body: Util.toMap(request),
|
|
6671
7402
|
});
|
|
6672
7403
|
let params = new $OpenApi.Params({
|
|
6673
7404
|
action: "ListAccessAssignments",
|
|
@@ -6677,7 +7408,7 @@ export default class Client extends OpenApi {
|
|
|
6677
7408
|
method: "POST",
|
|
6678
7409
|
authType: "AK",
|
|
6679
7410
|
style: "RPC",
|
|
6680
|
-
reqBodyType: "
|
|
7411
|
+
reqBodyType: "formData",
|
|
6681
7412
|
bodyType: "json",
|
|
6682
7413
|
});
|
|
6683
7414
|
return $tea.cast<ListAccessAssignmentsResponse>(await this.callApi(params, req, runtime), new ListAccessAssignmentsResponse({}));
|
|
@@ -6691,16 +7422,36 @@ export default class Client extends OpenApi {
|
|
|
6691
7422
|
async listAccessConfigurationProvisioningsWithOptions(request: ListAccessConfigurationProvisioningsRequest, runtime: $Util.RuntimeOptions): Promise<ListAccessConfigurationProvisioningsResponse> {
|
|
6692
7423
|
Util.validateModel(request);
|
|
6693
7424
|
let query = { };
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
7425
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7426
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7427
|
+
}
|
|
7428
|
+
|
|
7429
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7430
|
+
query["DirectoryId"] = request.directoryId;
|
|
7431
|
+
}
|
|
7432
|
+
|
|
7433
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7434
|
+
query["MaxResults"] = request.maxResults;
|
|
7435
|
+
}
|
|
7436
|
+
|
|
7437
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7438
|
+
query["NextToken"] = request.nextToken;
|
|
7439
|
+
}
|
|
7440
|
+
|
|
7441
|
+
if (!Util.isUnset(request.provisioningStatus)) {
|
|
7442
|
+
query["ProvisioningStatus"] = request.provisioningStatus;
|
|
7443
|
+
}
|
|
7444
|
+
|
|
7445
|
+
if (!Util.isUnset(request.targetId)) {
|
|
7446
|
+
query["TargetId"] = request.targetId;
|
|
7447
|
+
}
|
|
7448
|
+
|
|
7449
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7450
|
+
query["TargetType"] = request.targetType;
|
|
7451
|
+
}
|
|
7452
|
+
|
|
6701
7453
|
let req = new $OpenApi.OpenApiRequest({
|
|
6702
7454
|
query: OpenApiUtil.query(query),
|
|
6703
|
-
body: Util.toMap(request),
|
|
6704
7455
|
});
|
|
6705
7456
|
let params = new $OpenApi.Params({
|
|
6706
7457
|
action: "ListAccessConfigurationProvisionings",
|
|
@@ -6710,7 +7461,7 @@ export default class Client extends OpenApi {
|
|
|
6710
7461
|
method: "POST",
|
|
6711
7462
|
authType: "AK",
|
|
6712
7463
|
style: "RPC",
|
|
6713
|
-
reqBodyType: "
|
|
7464
|
+
reqBodyType: "formData",
|
|
6714
7465
|
bodyType: "json",
|
|
6715
7466
|
});
|
|
6716
7467
|
return $tea.cast<ListAccessConfigurationProvisioningsResponse>(await this.callApi(params, req, runtime), new ListAccessConfigurationProvisioningsResponse({}));
|
|
@@ -6724,14 +7475,28 @@ export default class Client extends OpenApi {
|
|
|
6724
7475
|
async listAccessConfigurationsWithOptions(request: ListAccessConfigurationsRequest, runtime: $Util.RuntimeOptions): Promise<ListAccessConfigurationsResponse> {
|
|
6725
7476
|
Util.validateModel(request);
|
|
6726
7477
|
let query = { };
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
7478
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7479
|
+
query["DirectoryId"] = request.directoryId;
|
|
7480
|
+
}
|
|
7481
|
+
|
|
7482
|
+
if (!Util.isUnset(request.filter)) {
|
|
7483
|
+
query["Filter"] = request.filter;
|
|
7484
|
+
}
|
|
7485
|
+
|
|
7486
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7487
|
+
query["MaxResults"] = request.maxResults;
|
|
7488
|
+
}
|
|
7489
|
+
|
|
7490
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7491
|
+
query["NextToken"] = request.nextToken;
|
|
7492
|
+
}
|
|
7493
|
+
|
|
7494
|
+
if (!Util.isUnset(request.statusNotifications)) {
|
|
7495
|
+
query["StatusNotifications"] = request.statusNotifications;
|
|
7496
|
+
}
|
|
7497
|
+
|
|
6732
7498
|
let req = new $OpenApi.OpenApiRequest({
|
|
6733
7499
|
query: OpenApiUtil.query(query),
|
|
6734
|
-
body: Util.toMap(request),
|
|
6735
7500
|
});
|
|
6736
7501
|
let params = new $OpenApi.Params({
|
|
6737
7502
|
action: "ListAccessConfigurations",
|
|
@@ -6741,7 +7506,7 @@ export default class Client extends OpenApi {
|
|
|
6741
7506
|
method: "POST",
|
|
6742
7507
|
authType: "AK",
|
|
6743
7508
|
style: "RPC",
|
|
6744
|
-
reqBodyType: "
|
|
7509
|
+
reqBodyType: "formData",
|
|
6745
7510
|
bodyType: "json",
|
|
6746
7511
|
});
|
|
6747
7512
|
return $tea.cast<ListAccessConfigurationsResponse>(await this.callApi(params, req, runtime), new ListAccessConfigurationsResponse({}));
|
|
@@ -6762,7 +7527,7 @@ export default class Client extends OpenApi {
|
|
|
6762
7527
|
method: "POST",
|
|
6763
7528
|
authType: "AK",
|
|
6764
7529
|
style: "RPC",
|
|
6765
|
-
reqBodyType: "
|
|
7530
|
+
reqBodyType: "formData",
|
|
6766
7531
|
bodyType: "json",
|
|
6767
7532
|
});
|
|
6768
7533
|
return $tea.cast<ListDirectoriesResponse>(await this.callApi(params, req, runtime), new ListDirectoriesResponse({}));
|
|
@@ -6776,10 +7541,12 @@ export default class Client extends OpenApi {
|
|
|
6776
7541
|
async listExternalSAMLIdPCertificatesWithOptions(request: ListExternalSAMLIdPCertificatesRequest, runtime: $Util.RuntimeOptions): Promise<ListExternalSAMLIdPCertificatesResponse> {
|
|
6777
7542
|
Util.validateModel(request);
|
|
6778
7543
|
let query = { };
|
|
6779
|
-
|
|
7544
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7545
|
+
query["DirectoryId"] = request.directoryId;
|
|
7546
|
+
}
|
|
7547
|
+
|
|
6780
7548
|
let req = new $OpenApi.OpenApiRequest({
|
|
6781
7549
|
query: OpenApiUtil.query(query),
|
|
6782
|
-
body: Util.toMap(request),
|
|
6783
7550
|
});
|
|
6784
7551
|
let params = new $OpenApi.Params({
|
|
6785
7552
|
action: "ListExternalSAMLIdPCertificates",
|
|
@@ -6789,7 +7556,7 @@ export default class Client extends OpenApi {
|
|
|
6789
7556
|
method: "POST",
|
|
6790
7557
|
authType: "AK",
|
|
6791
7558
|
style: "RPC",
|
|
6792
|
-
reqBodyType: "
|
|
7559
|
+
reqBodyType: "formData",
|
|
6793
7560
|
bodyType: "json",
|
|
6794
7561
|
});
|
|
6795
7562
|
return $tea.cast<ListExternalSAMLIdPCertificatesResponse>(await this.callApi(params, req, runtime), new ListExternalSAMLIdPCertificatesResponse({}));
|
|
@@ -6803,13 +7570,24 @@ export default class Client extends OpenApi {
|
|
|
6803
7570
|
async listGroupMembersWithOptions(request: ListGroupMembersRequest, runtime: $Util.RuntimeOptions): Promise<ListGroupMembersResponse> {
|
|
6804
7571
|
Util.validateModel(request);
|
|
6805
7572
|
let query = { };
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
7573
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7574
|
+
query["DirectoryId"] = request.directoryId;
|
|
7575
|
+
}
|
|
7576
|
+
|
|
7577
|
+
if (!Util.isUnset(request.groupId)) {
|
|
7578
|
+
query["GroupId"] = request.groupId;
|
|
7579
|
+
}
|
|
7580
|
+
|
|
7581
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7582
|
+
query["MaxResults"] = request.maxResults;
|
|
7583
|
+
}
|
|
7584
|
+
|
|
7585
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7586
|
+
query["NextToken"] = request.nextToken;
|
|
7587
|
+
}
|
|
7588
|
+
|
|
6810
7589
|
let req = new $OpenApi.OpenApiRequest({
|
|
6811
7590
|
query: OpenApiUtil.query(query),
|
|
6812
|
-
body: Util.toMap(request),
|
|
6813
7591
|
});
|
|
6814
7592
|
let params = new $OpenApi.Params({
|
|
6815
7593
|
action: "ListGroupMembers",
|
|
@@ -6819,7 +7597,7 @@ export default class Client extends OpenApi {
|
|
|
6819
7597
|
method: "POST",
|
|
6820
7598
|
authType: "AK",
|
|
6821
7599
|
style: "RPC",
|
|
6822
|
-
reqBodyType: "
|
|
7600
|
+
reqBodyType: "formData",
|
|
6823
7601
|
bodyType: "json",
|
|
6824
7602
|
});
|
|
6825
7603
|
return $tea.cast<ListGroupMembersResponse>(await this.callApi(params, req, runtime), new ListGroupMembersResponse({}));
|
|
@@ -6833,14 +7611,28 @@ export default class Client extends OpenApi {
|
|
|
6833
7611
|
async listGroupsWithOptions(request: ListGroupsRequest, runtime: $Util.RuntimeOptions): Promise<ListGroupsResponse> {
|
|
6834
7612
|
Util.validateModel(request);
|
|
6835
7613
|
let query = { };
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
7614
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7615
|
+
query["DirectoryId"] = request.directoryId;
|
|
7616
|
+
}
|
|
7617
|
+
|
|
7618
|
+
if (!Util.isUnset(request.filter)) {
|
|
7619
|
+
query["Filter"] = request.filter;
|
|
7620
|
+
}
|
|
7621
|
+
|
|
7622
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7623
|
+
query["MaxResults"] = request.maxResults;
|
|
7624
|
+
}
|
|
7625
|
+
|
|
7626
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7627
|
+
query["NextToken"] = request.nextToken;
|
|
7628
|
+
}
|
|
7629
|
+
|
|
7630
|
+
if (!Util.isUnset(request.provisionType)) {
|
|
7631
|
+
query["ProvisionType"] = request.provisionType;
|
|
7632
|
+
}
|
|
7633
|
+
|
|
6841
7634
|
let req = new $OpenApi.OpenApiRequest({
|
|
6842
7635
|
query: OpenApiUtil.query(query),
|
|
6843
|
-
body: Util.toMap(request),
|
|
6844
7636
|
});
|
|
6845
7637
|
let params = new $OpenApi.Params({
|
|
6846
7638
|
action: "ListGroups",
|
|
@@ -6850,7 +7642,7 @@ export default class Client extends OpenApi {
|
|
|
6850
7642
|
method: "POST",
|
|
6851
7643
|
authType: "AK",
|
|
6852
7644
|
style: "RPC",
|
|
6853
|
-
reqBodyType: "
|
|
7645
|
+
reqBodyType: "formData",
|
|
6854
7646
|
bodyType: "json",
|
|
6855
7647
|
});
|
|
6856
7648
|
return $tea.cast<ListGroupsResponse>(await this.callApi(params, req, runtime), new ListGroupsResponse({}));
|
|
@@ -6864,13 +7656,24 @@ export default class Client extends OpenApi {
|
|
|
6864
7656
|
async listJoinedGroupsForUserWithOptions(request: ListJoinedGroupsForUserRequest, runtime: $Util.RuntimeOptions): Promise<ListJoinedGroupsForUserResponse> {
|
|
6865
7657
|
Util.validateModel(request);
|
|
6866
7658
|
let query = { };
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
7659
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7660
|
+
query["DirectoryId"] = request.directoryId;
|
|
7661
|
+
}
|
|
7662
|
+
|
|
7663
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7664
|
+
query["MaxResults"] = request.maxResults;
|
|
7665
|
+
}
|
|
7666
|
+
|
|
7667
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7668
|
+
query["NextToken"] = request.nextToken;
|
|
7669
|
+
}
|
|
7670
|
+
|
|
7671
|
+
if (!Util.isUnset(request.userId)) {
|
|
7672
|
+
query["UserId"] = request.userId;
|
|
7673
|
+
}
|
|
7674
|
+
|
|
6871
7675
|
let req = new $OpenApi.OpenApiRequest({
|
|
6872
7676
|
query: OpenApiUtil.query(query),
|
|
6873
|
-
body: Util.toMap(request),
|
|
6874
7677
|
});
|
|
6875
7678
|
let params = new $OpenApi.Params({
|
|
6876
7679
|
action: "ListJoinedGroupsForUser",
|
|
@@ -6880,7 +7683,7 @@ export default class Client extends OpenApi {
|
|
|
6880
7683
|
method: "POST",
|
|
6881
7684
|
authType: "AK",
|
|
6882
7685
|
style: "RPC",
|
|
6883
|
-
reqBodyType: "
|
|
7686
|
+
reqBodyType: "formData",
|
|
6884
7687
|
bodyType: "json",
|
|
6885
7688
|
});
|
|
6886
7689
|
return $tea.cast<ListJoinedGroupsForUserResponse>(await this.callApi(params, req, runtime), new ListJoinedGroupsForUserResponse({}));
|
|
@@ -6894,11 +7697,16 @@ export default class Client extends OpenApi {
|
|
|
6894
7697
|
async listMFADevicesForUserWithOptions(request: ListMFADevicesForUserRequest, runtime: $Util.RuntimeOptions): Promise<ListMFADevicesForUserResponse> {
|
|
6895
7698
|
Util.validateModel(request);
|
|
6896
7699
|
let query = { };
|
|
6897
|
-
|
|
6898
|
-
|
|
7700
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7701
|
+
query["DirectoryId"] = request.directoryId;
|
|
7702
|
+
}
|
|
7703
|
+
|
|
7704
|
+
if (!Util.isUnset(request.userId)) {
|
|
7705
|
+
query["UserId"] = request.userId;
|
|
7706
|
+
}
|
|
7707
|
+
|
|
6899
7708
|
let req = new $OpenApi.OpenApiRequest({
|
|
6900
7709
|
query: OpenApiUtil.query(query),
|
|
6901
|
-
body: Util.toMap(request),
|
|
6902
7710
|
});
|
|
6903
7711
|
let params = new $OpenApi.Params({
|
|
6904
7712
|
action: "ListMFADevicesForUser",
|
|
@@ -6908,7 +7716,7 @@ export default class Client extends OpenApi {
|
|
|
6908
7716
|
method: "POST",
|
|
6909
7717
|
authType: "AK",
|
|
6910
7718
|
style: "RPC",
|
|
6911
|
-
reqBodyType: "
|
|
7719
|
+
reqBodyType: "formData",
|
|
6912
7720
|
bodyType: "json",
|
|
6913
7721
|
});
|
|
6914
7722
|
return $tea.cast<ListMFADevicesForUserResponse>(await this.callApi(params, req, runtime), new ListMFADevicesForUserResponse({}));
|
|
@@ -6922,12 +7730,20 @@ export default class Client extends OpenApi {
|
|
|
6922
7730
|
async listPermissionPoliciesInAccessConfigurationWithOptions(request: ListPermissionPoliciesInAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ListPermissionPoliciesInAccessConfigurationResponse> {
|
|
6923
7731
|
Util.validateModel(request);
|
|
6924
7732
|
let query = { };
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
7733
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7734
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7735
|
+
}
|
|
7736
|
+
|
|
7737
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7738
|
+
query["DirectoryId"] = request.directoryId;
|
|
7739
|
+
}
|
|
7740
|
+
|
|
7741
|
+
if (!Util.isUnset(request.permissionPolicyType)) {
|
|
7742
|
+
query["PermissionPolicyType"] = request.permissionPolicyType;
|
|
7743
|
+
}
|
|
7744
|
+
|
|
6928
7745
|
let req = new $OpenApi.OpenApiRequest({
|
|
6929
7746
|
query: OpenApiUtil.query(query),
|
|
6930
|
-
body: Util.toMap(request),
|
|
6931
7747
|
});
|
|
6932
7748
|
let params = new $OpenApi.Params({
|
|
6933
7749
|
action: "ListPermissionPoliciesInAccessConfiguration",
|
|
@@ -6937,7 +7753,7 @@ export default class Client extends OpenApi {
|
|
|
6937
7753
|
method: "POST",
|
|
6938
7754
|
authType: "AK",
|
|
6939
7755
|
style: "RPC",
|
|
6940
|
-
reqBodyType: "
|
|
7756
|
+
reqBodyType: "formData",
|
|
6941
7757
|
bodyType: "json",
|
|
6942
7758
|
});
|
|
6943
7759
|
return $tea.cast<ListPermissionPoliciesInAccessConfigurationResponse>(await this.callApi(params, req, runtime), new ListPermissionPoliciesInAccessConfigurationResponse({}));
|
|
@@ -6951,10 +7767,12 @@ export default class Client extends OpenApi {
|
|
|
6951
7767
|
async listSCIMServerCredentialsWithOptions(request: ListSCIMServerCredentialsRequest, runtime: $Util.RuntimeOptions): Promise<ListSCIMServerCredentialsResponse> {
|
|
6952
7768
|
Util.validateModel(request);
|
|
6953
7769
|
let query = { };
|
|
6954
|
-
|
|
7770
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7771
|
+
query["DirectoryId"] = request.directoryId;
|
|
7772
|
+
}
|
|
7773
|
+
|
|
6955
7774
|
let req = new $OpenApi.OpenApiRequest({
|
|
6956
7775
|
query: OpenApiUtil.query(query),
|
|
6957
|
-
body: Util.toMap(request),
|
|
6958
7776
|
});
|
|
6959
7777
|
let params = new $OpenApi.Params({
|
|
6960
7778
|
action: "ListSCIMServerCredentials",
|
|
@@ -6964,7 +7782,7 @@ export default class Client extends OpenApi {
|
|
|
6964
7782
|
method: "POST",
|
|
6965
7783
|
authType: "AK",
|
|
6966
7784
|
style: "RPC",
|
|
6967
|
-
reqBodyType: "
|
|
7785
|
+
reqBodyType: "formData",
|
|
6968
7786
|
bodyType: "json",
|
|
6969
7787
|
});
|
|
6970
7788
|
return $tea.cast<ListSCIMServerCredentialsResponse>(await this.callApi(params, req, runtime), new ListSCIMServerCredentialsResponse({}));
|
|
@@ -6978,20 +7796,52 @@ export default class Client extends OpenApi {
|
|
|
6978
7796
|
async listTasksWithOptions(request: ListTasksRequest, runtime: $Util.RuntimeOptions): Promise<ListTasksResponse> {
|
|
6979
7797
|
Util.validateModel(request);
|
|
6980
7798
|
let query = { };
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
7799
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7800
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7801
|
+
}
|
|
7802
|
+
|
|
7803
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7804
|
+
query["DirectoryId"] = request.directoryId;
|
|
7805
|
+
}
|
|
7806
|
+
|
|
7807
|
+
if (!Util.isUnset(request.filter)) {
|
|
7808
|
+
query["Filter"] = request.filter;
|
|
7809
|
+
}
|
|
7810
|
+
|
|
7811
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7812
|
+
query["MaxResults"] = request.maxResults;
|
|
7813
|
+
}
|
|
7814
|
+
|
|
7815
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7816
|
+
query["NextToken"] = request.nextToken;
|
|
7817
|
+
}
|
|
7818
|
+
|
|
7819
|
+
if (!Util.isUnset(request.principalId)) {
|
|
7820
|
+
query["PrincipalId"] = request.principalId;
|
|
7821
|
+
}
|
|
7822
|
+
|
|
7823
|
+
if (!Util.isUnset(request.principalType)) {
|
|
7824
|
+
query["PrincipalType"] = request.principalType;
|
|
7825
|
+
}
|
|
7826
|
+
|
|
7827
|
+
if (!Util.isUnset(request.status)) {
|
|
7828
|
+
query["Status"] = request.status;
|
|
7829
|
+
}
|
|
7830
|
+
|
|
7831
|
+
if (!Util.isUnset(request.targetId)) {
|
|
7832
|
+
query["TargetId"] = request.targetId;
|
|
7833
|
+
}
|
|
7834
|
+
|
|
7835
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7836
|
+
query["TargetType"] = request.targetType;
|
|
7837
|
+
}
|
|
7838
|
+
|
|
7839
|
+
if (!Util.isUnset(request.taskType)) {
|
|
7840
|
+
query["TaskType"] = request.taskType;
|
|
7841
|
+
}
|
|
7842
|
+
|
|
6992
7843
|
let req = new $OpenApi.OpenApiRequest({
|
|
6993
7844
|
query: OpenApiUtil.query(query),
|
|
6994
|
-
body: Util.toMap(request),
|
|
6995
7845
|
});
|
|
6996
7846
|
let params = new $OpenApi.Params({
|
|
6997
7847
|
action: "ListTasks",
|
|
@@ -7001,7 +7851,7 @@ export default class Client extends OpenApi {
|
|
|
7001
7851
|
method: "POST",
|
|
7002
7852
|
authType: "AK",
|
|
7003
7853
|
style: "RPC",
|
|
7004
|
-
reqBodyType: "
|
|
7854
|
+
reqBodyType: "formData",
|
|
7005
7855
|
bodyType: "json",
|
|
7006
7856
|
});
|
|
7007
7857
|
return $tea.cast<ListTasksResponse>(await this.callApi(params, req, runtime), new ListTasksResponse({}));
|
|
@@ -7015,15 +7865,32 @@ export default class Client extends OpenApi {
|
|
|
7015
7865
|
async listUsersWithOptions(request: ListUsersRequest, runtime: $Util.RuntimeOptions): Promise<ListUsersResponse> {
|
|
7016
7866
|
Util.validateModel(request);
|
|
7017
7867
|
let query = { };
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7868
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7869
|
+
query["DirectoryId"] = request.directoryId;
|
|
7870
|
+
}
|
|
7871
|
+
|
|
7872
|
+
if (!Util.isUnset(request.filter)) {
|
|
7873
|
+
query["Filter"] = request.filter;
|
|
7874
|
+
}
|
|
7875
|
+
|
|
7876
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
7877
|
+
query["MaxResults"] = request.maxResults;
|
|
7878
|
+
}
|
|
7879
|
+
|
|
7880
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
7881
|
+
query["NextToken"] = request.nextToken;
|
|
7882
|
+
}
|
|
7883
|
+
|
|
7884
|
+
if (!Util.isUnset(request.provisionType)) {
|
|
7885
|
+
query["ProvisionType"] = request.provisionType;
|
|
7886
|
+
}
|
|
7887
|
+
|
|
7888
|
+
if (!Util.isUnset(request.status)) {
|
|
7889
|
+
query["Status"] = request.status;
|
|
7890
|
+
}
|
|
7891
|
+
|
|
7024
7892
|
let req = new $OpenApi.OpenApiRequest({
|
|
7025
7893
|
query: OpenApiUtil.query(query),
|
|
7026
|
-
body: Util.toMap(request),
|
|
7027
7894
|
});
|
|
7028
7895
|
let params = new $OpenApi.Params({
|
|
7029
7896
|
action: "ListUsers",
|
|
@@ -7033,7 +7900,7 @@ export default class Client extends OpenApi {
|
|
|
7033
7900
|
method: "POST",
|
|
7034
7901
|
authType: "AK",
|
|
7035
7902
|
style: "RPC",
|
|
7036
|
-
reqBodyType: "
|
|
7903
|
+
reqBodyType: "formData",
|
|
7037
7904
|
bodyType: "json",
|
|
7038
7905
|
});
|
|
7039
7906
|
return $tea.cast<ListUsersResponse>(await this.callApi(params, req, runtime), new ListUsersResponse({}));
|
|
@@ -7047,13 +7914,24 @@ export default class Client extends OpenApi {
|
|
|
7047
7914
|
async provisionAccessConfigurationWithOptions(request: ProvisionAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ProvisionAccessConfigurationResponse> {
|
|
7048
7915
|
Util.validateModel(request);
|
|
7049
7916
|
let query = { };
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7917
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7918
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7919
|
+
}
|
|
7920
|
+
|
|
7921
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7922
|
+
query["DirectoryId"] = request.directoryId;
|
|
7923
|
+
}
|
|
7924
|
+
|
|
7925
|
+
if (!Util.isUnset(request.targetId)) {
|
|
7926
|
+
query["TargetId"] = request.targetId;
|
|
7927
|
+
}
|
|
7928
|
+
|
|
7929
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7930
|
+
query["TargetType"] = request.targetType;
|
|
7931
|
+
}
|
|
7932
|
+
|
|
7054
7933
|
let req = new $OpenApi.OpenApiRequest({
|
|
7055
7934
|
query: OpenApiUtil.query(query),
|
|
7056
|
-
body: Util.toMap(request),
|
|
7057
7935
|
});
|
|
7058
7936
|
let params = new $OpenApi.Params({
|
|
7059
7937
|
action: "ProvisionAccessConfiguration",
|
|
@@ -7063,7 +7941,7 @@ export default class Client extends OpenApi {
|
|
|
7063
7941
|
method: "POST",
|
|
7064
7942
|
authType: "AK",
|
|
7065
7943
|
style: "RPC",
|
|
7066
|
-
reqBodyType: "
|
|
7944
|
+
reqBodyType: "formData",
|
|
7067
7945
|
bodyType: "json",
|
|
7068
7946
|
});
|
|
7069
7947
|
return $tea.cast<ProvisionAccessConfigurationResponse>(await this.callApi(params, req, runtime), new ProvisionAccessConfigurationResponse({}));
|
|
@@ -7077,11 +7955,16 @@ export default class Client extends OpenApi {
|
|
|
7077
7955
|
async removeExternalSAMLIdPCertificateWithOptions(request: RemoveExternalSAMLIdPCertificateRequest, runtime: $Util.RuntimeOptions): Promise<RemoveExternalSAMLIdPCertificateResponse> {
|
|
7078
7956
|
Util.validateModel(request);
|
|
7079
7957
|
let query = { };
|
|
7080
|
-
|
|
7081
|
-
|
|
7958
|
+
if (!Util.isUnset(request.certificateId)) {
|
|
7959
|
+
query["CertificateId"] = request.certificateId;
|
|
7960
|
+
}
|
|
7961
|
+
|
|
7962
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7963
|
+
query["DirectoryId"] = request.directoryId;
|
|
7964
|
+
}
|
|
7965
|
+
|
|
7082
7966
|
let req = new $OpenApi.OpenApiRequest({
|
|
7083
7967
|
query: OpenApiUtil.query(query),
|
|
7084
|
-
body: Util.toMap(request),
|
|
7085
7968
|
});
|
|
7086
7969
|
let params = new $OpenApi.Params({
|
|
7087
7970
|
action: "RemoveExternalSAMLIdPCertificate",
|
|
@@ -7091,7 +7974,7 @@ export default class Client extends OpenApi {
|
|
|
7091
7974
|
method: "POST",
|
|
7092
7975
|
authType: "AK",
|
|
7093
7976
|
style: "RPC",
|
|
7094
|
-
reqBodyType: "
|
|
7977
|
+
reqBodyType: "formData",
|
|
7095
7978
|
bodyType: "json",
|
|
7096
7979
|
});
|
|
7097
7980
|
return $tea.cast<RemoveExternalSAMLIdPCertificateResponse>(await this.callApi(params, req, runtime), new RemoveExternalSAMLIdPCertificateResponse({}));
|
|
@@ -7105,13 +7988,24 @@ export default class Client extends OpenApi {
|
|
|
7105
7988
|
async removePermissionPolicyFromAccessConfigurationWithOptions(request: RemovePermissionPolicyFromAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<RemovePermissionPolicyFromAccessConfigurationResponse> {
|
|
7106
7989
|
Util.validateModel(request);
|
|
7107
7990
|
let query = { };
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7991
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
7992
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
7993
|
+
}
|
|
7994
|
+
|
|
7995
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7996
|
+
query["DirectoryId"] = request.directoryId;
|
|
7997
|
+
}
|
|
7998
|
+
|
|
7999
|
+
if (!Util.isUnset(request.permissionPolicyName)) {
|
|
8000
|
+
query["PermissionPolicyName"] = request.permissionPolicyName;
|
|
8001
|
+
}
|
|
8002
|
+
|
|
8003
|
+
if (!Util.isUnset(request.permissionPolicyType)) {
|
|
8004
|
+
query["PermissionPolicyType"] = request.permissionPolicyType;
|
|
8005
|
+
}
|
|
8006
|
+
|
|
7112
8007
|
let req = new $OpenApi.OpenApiRequest({
|
|
7113
8008
|
query: OpenApiUtil.query(query),
|
|
7114
|
-
body: Util.toMap(request),
|
|
7115
8009
|
});
|
|
7116
8010
|
let params = new $OpenApi.Params({
|
|
7117
8011
|
action: "RemovePermissionPolicyFromAccessConfiguration",
|
|
@@ -7121,7 +8015,7 @@ export default class Client extends OpenApi {
|
|
|
7121
8015
|
method: "POST",
|
|
7122
8016
|
authType: "AK",
|
|
7123
8017
|
style: "RPC",
|
|
7124
|
-
reqBodyType: "
|
|
8018
|
+
reqBodyType: "formData",
|
|
7125
8019
|
bodyType: "json",
|
|
7126
8020
|
});
|
|
7127
8021
|
return $tea.cast<RemovePermissionPolicyFromAccessConfigurationResponse>(await this.callApi(params, req, runtime), new RemovePermissionPolicyFromAccessConfigurationResponse({}));
|
|
@@ -7135,12 +8029,20 @@ export default class Client extends OpenApi {
|
|
|
7135
8029
|
async removeUserFromGroupWithOptions(request: RemoveUserFromGroupRequest, runtime: $Util.RuntimeOptions): Promise<RemoveUserFromGroupResponse> {
|
|
7136
8030
|
Util.validateModel(request);
|
|
7137
8031
|
let query = { };
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
8032
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8033
|
+
query["DirectoryId"] = request.directoryId;
|
|
8034
|
+
}
|
|
8035
|
+
|
|
8036
|
+
if (!Util.isUnset(request.groupId)) {
|
|
8037
|
+
query["GroupId"] = request.groupId;
|
|
8038
|
+
}
|
|
8039
|
+
|
|
8040
|
+
if (!Util.isUnset(request.userId)) {
|
|
8041
|
+
query["UserId"] = request.userId;
|
|
8042
|
+
}
|
|
8043
|
+
|
|
7141
8044
|
let req = new $OpenApi.OpenApiRequest({
|
|
7142
8045
|
query: OpenApiUtil.query(query),
|
|
7143
|
-
body: Util.toMap(request),
|
|
7144
8046
|
});
|
|
7145
8047
|
let params = new $OpenApi.Params({
|
|
7146
8048
|
action: "RemoveUserFromGroup",
|
|
@@ -7150,7 +8052,7 @@ export default class Client extends OpenApi {
|
|
|
7150
8052
|
method: "POST",
|
|
7151
8053
|
authType: "AK",
|
|
7152
8054
|
style: "RPC",
|
|
7153
|
-
reqBodyType: "
|
|
8055
|
+
reqBodyType: "formData",
|
|
7154
8056
|
bodyType: "json",
|
|
7155
8057
|
});
|
|
7156
8058
|
return $tea.cast<RemoveUserFromGroupResponse>(await this.callApi(params, req, runtime), new RemoveUserFromGroupResponse({}));
|
|
@@ -7164,14 +8066,28 @@ export default class Client extends OpenApi {
|
|
|
7164
8066
|
async resetUserPasswordWithOptions(request: ResetUserPasswordRequest, runtime: $Util.RuntimeOptions): Promise<ResetUserPasswordResponse> {
|
|
7165
8067
|
Util.validateModel(request);
|
|
7166
8068
|
let query = { };
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
8069
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8070
|
+
query["DirectoryId"] = request.directoryId;
|
|
8071
|
+
}
|
|
8072
|
+
|
|
8073
|
+
if (!Util.isUnset(request.generateRandomPassword)) {
|
|
8074
|
+
query["GenerateRandomPassword"] = request.generateRandomPassword;
|
|
8075
|
+
}
|
|
8076
|
+
|
|
8077
|
+
if (!Util.isUnset(request.password)) {
|
|
8078
|
+
query["Password"] = request.password;
|
|
8079
|
+
}
|
|
8080
|
+
|
|
8081
|
+
if (!Util.isUnset(request.requirePasswordResetForNextLogin)) {
|
|
8082
|
+
query["RequirePasswordResetForNextLogin"] = request.requirePasswordResetForNextLogin;
|
|
8083
|
+
}
|
|
8084
|
+
|
|
8085
|
+
if (!Util.isUnset(request.userId)) {
|
|
8086
|
+
query["UserId"] = request.userId;
|
|
8087
|
+
}
|
|
8088
|
+
|
|
7172
8089
|
let req = new $OpenApi.OpenApiRequest({
|
|
7173
8090
|
query: OpenApiUtil.query(query),
|
|
7174
|
-
body: Util.toMap(request),
|
|
7175
8091
|
});
|
|
7176
8092
|
let params = new $OpenApi.Params({
|
|
7177
8093
|
action: "ResetUserPassword",
|
|
@@ -7181,7 +8097,7 @@ export default class Client extends OpenApi {
|
|
|
7181
8097
|
method: "POST",
|
|
7182
8098
|
authType: "AK",
|
|
7183
8099
|
style: "RPC",
|
|
7184
|
-
reqBodyType: "
|
|
8100
|
+
reqBodyType: "formData",
|
|
7185
8101
|
bodyType: "json",
|
|
7186
8102
|
});
|
|
7187
8103
|
return $tea.cast<ResetUserPasswordResponse>(await this.callApi(params, req, runtime), new ResetUserPasswordResponse({}));
|
|
@@ -7195,16 +8111,36 @@ export default class Client extends OpenApi {
|
|
|
7195
8111
|
async setExternalSAMLIdentityProviderWithOptions(request: SetExternalSAMLIdentityProviderRequest, runtime: $Util.RuntimeOptions): Promise<SetExternalSAMLIdentityProviderResponse> {
|
|
7196
8112
|
Util.validateModel(request);
|
|
7197
8113
|
let query = { };
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
8114
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8115
|
+
query["DirectoryId"] = request.directoryId;
|
|
8116
|
+
}
|
|
8117
|
+
|
|
8118
|
+
if (!Util.isUnset(request.encodedMetadataDocument)) {
|
|
8119
|
+
query["EncodedMetadataDocument"] = request.encodedMetadataDocument;
|
|
8120
|
+
}
|
|
8121
|
+
|
|
8122
|
+
if (!Util.isUnset(request.entityId)) {
|
|
8123
|
+
query["EntityId"] = request.entityId;
|
|
8124
|
+
}
|
|
8125
|
+
|
|
8126
|
+
if (!Util.isUnset(request.loginUrl)) {
|
|
8127
|
+
query["LoginUrl"] = request.loginUrl;
|
|
8128
|
+
}
|
|
8129
|
+
|
|
8130
|
+
if (!Util.isUnset(request.SSOStatus)) {
|
|
8131
|
+
query["SSOStatus"] = request.SSOStatus;
|
|
8132
|
+
}
|
|
8133
|
+
|
|
8134
|
+
if (!Util.isUnset(request.wantRequestSigned)) {
|
|
8135
|
+
query["WantRequestSigned"] = request.wantRequestSigned;
|
|
8136
|
+
}
|
|
8137
|
+
|
|
8138
|
+
if (!Util.isUnset(request.x509Certificate)) {
|
|
8139
|
+
query["X509Certificate"] = request.x509Certificate;
|
|
8140
|
+
}
|
|
8141
|
+
|
|
7205
8142
|
let req = new $OpenApi.OpenApiRequest({
|
|
7206
8143
|
query: OpenApiUtil.query(query),
|
|
7207
|
-
body: Util.toMap(request),
|
|
7208
8144
|
});
|
|
7209
8145
|
let params = new $OpenApi.Params({
|
|
7210
8146
|
action: "SetExternalSAMLIdentityProvider",
|
|
@@ -7214,7 +8150,7 @@ export default class Client extends OpenApi {
|
|
|
7214
8150
|
method: "POST",
|
|
7215
8151
|
authType: "AK",
|
|
7216
8152
|
style: "RPC",
|
|
7217
|
-
reqBodyType: "
|
|
8153
|
+
reqBodyType: "formData",
|
|
7218
8154
|
bodyType: "json",
|
|
7219
8155
|
});
|
|
7220
8156
|
return $tea.cast<SetExternalSAMLIdentityProviderResponse>(await this.callApi(params, req, runtime), new SetExternalSAMLIdentityProviderResponse({}));
|
|
@@ -7228,11 +8164,16 @@ export default class Client extends OpenApi {
|
|
|
7228
8164
|
async setMFAAuthenticationStatusWithOptions(request: SetMFAAuthenticationStatusRequest, runtime: $Util.RuntimeOptions): Promise<SetMFAAuthenticationStatusResponse> {
|
|
7229
8165
|
Util.validateModel(request);
|
|
7230
8166
|
let query = { };
|
|
7231
|
-
|
|
7232
|
-
|
|
8167
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8168
|
+
query["DirectoryId"] = request.directoryId;
|
|
8169
|
+
}
|
|
8170
|
+
|
|
8171
|
+
if (!Util.isUnset(request.MFAAuthenticationStatus)) {
|
|
8172
|
+
query["MFAAuthenticationStatus"] = request.MFAAuthenticationStatus;
|
|
8173
|
+
}
|
|
8174
|
+
|
|
7233
8175
|
let req = new $OpenApi.OpenApiRequest({
|
|
7234
8176
|
query: OpenApiUtil.query(query),
|
|
7235
|
-
body: Util.toMap(request),
|
|
7236
8177
|
});
|
|
7237
8178
|
let params = new $OpenApi.Params({
|
|
7238
8179
|
action: "SetMFAAuthenticationStatus",
|
|
@@ -7242,7 +8183,7 @@ export default class Client extends OpenApi {
|
|
|
7242
8183
|
method: "POST",
|
|
7243
8184
|
authType: "AK",
|
|
7244
8185
|
style: "RPC",
|
|
7245
|
-
reqBodyType: "
|
|
8186
|
+
reqBodyType: "formData",
|
|
7246
8187
|
bodyType: "json",
|
|
7247
8188
|
});
|
|
7248
8189
|
return $tea.cast<SetMFAAuthenticationStatusResponse>(await this.callApi(params, req, runtime), new SetMFAAuthenticationStatusResponse({}));
|
|
@@ -7256,11 +8197,16 @@ export default class Client extends OpenApi {
|
|
|
7256
8197
|
async setSCIMSynchronizationStatusWithOptions(request: SetSCIMSynchronizationStatusRequest, runtime: $Util.RuntimeOptions): Promise<SetSCIMSynchronizationStatusResponse> {
|
|
7257
8198
|
Util.validateModel(request);
|
|
7258
8199
|
let query = { };
|
|
7259
|
-
|
|
7260
|
-
|
|
8200
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8201
|
+
query["DirectoryId"] = request.directoryId;
|
|
8202
|
+
}
|
|
8203
|
+
|
|
8204
|
+
if (!Util.isUnset(request.SCIMSynchronizationStatus)) {
|
|
8205
|
+
query["SCIMSynchronizationStatus"] = request.SCIMSynchronizationStatus;
|
|
8206
|
+
}
|
|
8207
|
+
|
|
7261
8208
|
let req = new $OpenApi.OpenApiRequest({
|
|
7262
8209
|
query: OpenApiUtil.query(query),
|
|
7263
|
-
body: Util.toMap(request),
|
|
7264
8210
|
});
|
|
7265
8211
|
let params = new $OpenApi.Params({
|
|
7266
8212
|
action: "SetSCIMSynchronizationStatus",
|
|
@@ -7270,7 +8216,7 @@ export default class Client extends OpenApi {
|
|
|
7270
8216
|
method: "POST",
|
|
7271
8217
|
authType: "AK",
|
|
7272
8218
|
style: "RPC",
|
|
7273
|
-
reqBodyType: "
|
|
8219
|
+
reqBodyType: "formData",
|
|
7274
8220
|
bodyType: "json",
|
|
7275
8221
|
});
|
|
7276
8222
|
return $tea.cast<SetSCIMSynchronizationStatusResponse>(await this.callApi(params, req, runtime), new SetSCIMSynchronizationStatusResponse({}));
|
|
@@ -7284,14 +8230,28 @@ export default class Client extends OpenApi {
|
|
|
7284
8230
|
async updateAccessConfigurationWithOptions(request: UpdateAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAccessConfigurationResponse> {
|
|
7285
8231
|
Util.validateModel(request);
|
|
7286
8232
|
let query = { };
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
8233
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
8234
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
8235
|
+
}
|
|
8236
|
+
|
|
8237
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8238
|
+
query["DirectoryId"] = request.directoryId;
|
|
8239
|
+
}
|
|
8240
|
+
|
|
8241
|
+
if (!Util.isUnset(request.newDescription)) {
|
|
8242
|
+
query["NewDescription"] = request.newDescription;
|
|
8243
|
+
}
|
|
8244
|
+
|
|
8245
|
+
if (!Util.isUnset(request.newRelayState)) {
|
|
8246
|
+
query["NewRelayState"] = request.newRelayState;
|
|
8247
|
+
}
|
|
8248
|
+
|
|
8249
|
+
if (!Util.isUnset(request.newSessionDuration)) {
|
|
8250
|
+
query["NewSessionDuration"] = request.newSessionDuration;
|
|
8251
|
+
}
|
|
8252
|
+
|
|
7292
8253
|
let req = new $OpenApi.OpenApiRequest({
|
|
7293
8254
|
query: OpenApiUtil.query(query),
|
|
7294
|
-
body: Util.toMap(request),
|
|
7295
8255
|
});
|
|
7296
8256
|
let params = new $OpenApi.Params({
|
|
7297
8257
|
action: "UpdateAccessConfiguration",
|
|
@@ -7301,7 +8261,7 @@ export default class Client extends OpenApi {
|
|
|
7301
8261
|
method: "POST",
|
|
7302
8262
|
authType: "AK",
|
|
7303
8263
|
style: "RPC",
|
|
7304
|
-
reqBodyType: "
|
|
8264
|
+
reqBodyType: "formData",
|
|
7305
8265
|
bodyType: "json",
|
|
7306
8266
|
});
|
|
7307
8267
|
return $tea.cast<UpdateAccessConfigurationResponse>(await this.callApi(params, req, runtime), new UpdateAccessConfigurationResponse({}));
|
|
@@ -7315,11 +8275,16 @@ export default class Client extends OpenApi {
|
|
|
7315
8275
|
async updateDirectoryWithOptions(request: UpdateDirectoryRequest, runtime: $Util.RuntimeOptions): Promise<UpdateDirectoryResponse> {
|
|
7316
8276
|
Util.validateModel(request);
|
|
7317
8277
|
let query = { };
|
|
7318
|
-
|
|
7319
|
-
|
|
8278
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8279
|
+
query["DirectoryId"] = request.directoryId;
|
|
8280
|
+
}
|
|
8281
|
+
|
|
8282
|
+
if (!Util.isUnset(request.newDirectoryName)) {
|
|
8283
|
+
query["NewDirectoryName"] = request.newDirectoryName;
|
|
8284
|
+
}
|
|
8285
|
+
|
|
7320
8286
|
let req = new $OpenApi.OpenApiRequest({
|
|
7321
8287
|
query: OpenApiUtil.query(query),
|
|
7322
|
-
body: Util.toMap(request),
|
|
7323
8288
|
});
|
|
7324
8289
|
let params = new $OpenApi.Params({
|
|
7325
8290
|
action: "UpdateDirectory",
|
|
@@ -7329,7 +8294,7 @@ export default class Client extends OpenApi {
|
|
|
7329
8294
|
method: "POST",
|
|
7330
8295
|
authType: "AK",
|
|
7331
8296
|
style: "RPC",
|
|
7332
|
-
reqBodyType: "
|
|
8297
|
+
reqBodyType: "formData",
|
|
7333
8298
|
bodyType: "json",
|
|
7334
8299
|
});
|
|
7335
8300
|
return $tea.cast<UpdateDirectoryResponse>(await this.callApi(params, req, runtime), new UpdateDirectoryResponse({}));
|
|
@@ -7343,13 +8308,24 @@ export default class Client extends OpenApi {
|
|
|
7343
8308
|
async updateGroupWithOptions(request: UpdateGroupRequest, runtime: $Util.RuntimeOptions): Promise<UpdateGroupResponse> {
|
|
7344
8309
|
Util.validateModel(request);
|
|
7345
8310
|
let query = { };
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
8311
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8312
|
+
query["DirectoryId"] = request.directoryId;
|
|
8313
|
+
}
|
|
8314
|
+
|
|
8315
|
+
if (!Util.isUnset(request.groupId)) {
|
|
8316
|
+
query["GroupId"] = request.groupId;
|
|
8317
|
+
}
|
|
8318
|
+
|
|
8319
|
+
if (!Util.isUnset(request.newDescription)) {
|
|
8320
|
+
query["NewDescription"] = request.newDescription;
|
|
8321
|
+
}
|
|
8322
|
+
|
|
8323
|
+
if (!Util.isUnset(request.newGroupName)) {
|
|
8324
|
+
query["NewGroupName"] = request.newGroupName;
|
|
8325
|
+
}
|
|
8326
|
+
|
|
7350
8327
|
let req = new $OpenApi.OpenApiRequest({
|
|
7351
8328
|
query: OpenApiUtil.query(query),
|
|
7352
|
-
body: Util.toMap(request),
|
|
7353
8329
|
});
|
|
7354
8330
|
let params = new $OpenApi.Params({
|
|
7355
8331
|
action: "UpdateGroup",
|
|
@@ -7359,7 +8335,7 @@ export default class Client extends OpenApi {
|
|
|
7359
8335
|
method: "POST",
|
|
7360
8336
|
authType: "AK",
|
|
7361
8337
|
style: "RPC",
|
|
7362
|
-
reqBodyType: "
|
|
8338
|
+
reqBodyType: "formData",
|
|
7363
8339
|
bodyType: "json",
|
|
7364
8340
|
});
|
|
7365
8341
|
return $tea.cast<UpdateGroupResponse>(await this.callApi(params, req, runtime), new UpdateGroupResponse({}));
|
|
@@ -7373,13 +8349,24 @@ export default class Client extends OpenApi {
|
|
|
7373
8349
|
async updateInlinePolicyForAccessConfigurationWithOptions(request: UpdateInlinePolicyForAccessConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<UpdateInlinePolicyForAccessConfigurationResponse> {
|
|
7374
8350
|
Util.validateModel(request);
|
|
7375
8351
|
let query = { };
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
8352
|
+
if (!Util.isUnset(request.accessConfigurationId)) {
|
|
8353
|
+
query["AccessConfigurationId"] = request.accessConfigurationId;
|
|
8354
|
+
}
|
|
8355
|
+
|
|
8356
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8357
|
+
query["DirectoryId"] = request.directoryId;
|
|
8358
|
+
}
|
|
8359
|
+
|
|
8360
|
+
if (!Util.isUnset(request.inlinePolicyName)) {
|
|
8361
|
+
query["InlinePolicyName"] = request.inlinePolicyName;
|
|
8362
|
+
}
|
|
8363
|
+
|
|
8364
|
+
if (!Util.isUnset(request.newInlinePolicyDocument)) {
|
|
8365
|
+
query["NewInlinePolicyDocument"] = request.newInlinePolicyDocument;
|
|
8366
|
+
}
|
|
8367
|
+
|
|
7380
8368
|
let req = new $OpenApi.OpenApiRequest({
|
|
7381
8369
|
query: OpenApiUtil.query(query),
|
|
7382
|
-
body: Util.toMap(request),
|
|
7383
8370
|
});
|
|
7384
8371
|
let params = new $OpenApi.Params({
|
|
7385
8372
|
action: "UpdateInlinePolicyForAccessConfiguration",
|
|
@@ -7389,7 +8376,7 @@ export default class Client extends OpenApi {
|
|
|
7389
8376
|
method: "POST",
|
|
7390
8377
|
authType: "AK",
|
|
7391
8378
|
style: "RPC",
|
|
7392
|
-
reqBodyType: "
|
|
8379
|
+
reqBodyType: "formData",
|
|
7393
8380
|
bodyType: "json",
|
|
7394
8381
|
});
|
|
7395
8382
|
return $tea.cast<UpdateInlinePolicyForAccessConfigurationResponse>(await this.callApi(params, req, runtime), new UpdateInlinePolicyForAccessConfigurationResponse({}));
|
|
@@ -7400,15 +8387,56 @@ export default class Client extends OpenApi {
|
|
|
7400
8387
|
return await this.updateInlinePolicyForAccessConfigurationWithOptions(request, runtime);
|
|
7401
8388
|
}
|
|
7402
8389
|
|
|
8390
|
+
async updateMFAAuthenticationSettingsWithOptions(request: UpdateMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<UpdateMFAAuthenticationSettingsResponse> {
|
|
8391
|
+
Util.validateModel(request);
|
|
8392
|
+
let query = { };
|
|
8393
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8394
|
+
query["DirectoryId"] = request.directoryId;
|
|
8395
|
+
}
|
|
8396
|
+
|
|
8397
|
+
if (!Util.isUnset(request.MFAAuthenticationSettings)) {
|
|
8398
|
+
query["MFAAuthenticationSettings"] = request.MFAAuthenticationSettings;
|
|
8399
|
+
}
|
|
8400
|
+
|
|
8401
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8402
|
+
query: OpenApiUtil.query(query),
|
|
8403
|
+
});
|
|
8404
|
+
let params = new $OpenApi.Params({
|
|
8405
|
+
action: "UpdateMFAAuthenticationSettings",
|
|
8406
|
+
version: "2021-05-15",
|
|
8407
|
+
protocol: "HTTPS",
|
|
8408
|
+
pathname: "/",
|
|
8409
|
+
method: "POST",
|
|
8410
|
+
authType: "AK",
|
|
8411
|
+
style: "RPC",
|
|
8412
|
+
reqBodyType: "formData",
|
|
8413
|
+
bodyType: "json",
|
|
8414
|
+
});
|
|
8415
|
+
return $tea.cast<UpdateMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new UpdateMFAAuthenticationSettingsResponse({}));
|
|
8416
|
+
}
|
|
8417
|
+
|
|
8418
|
+
async updateMFAAuthenticationSettings(request: UpdateMFAAuthenticationSettingsRequest): Promise<UpdateMFAAuthenticationSettingsResponse> {
|
|
8419
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8420
|
+
return await this.updateMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
8421
|
+
}
|
|
8422
|
+
|
|
7403
8423
|
async updateSCIMServerCredentialStatusWithOptions(request: UpdateSCIMServerCredentialStatusRequest, runtime: $Util.RuntimeOptions): Promise<UpdateSCIMServerCredentialStatusResponse> {
|
|
7404
8424
|
Util.validateModel(request);
|
|
7405
8425
|
let query = { };
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
8426
|
+
if (!Util.isUnset(request.credentialId)) {
|
|
8427
|
+
query["CredentialId"] = request.credentialId;
|
|
8428
|
+
}
|
|
8429
|
+
|
|
8430
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8431
|
+
query["DirectoryId"] = request.directoryId;
|
|
8432
|
+
}
|
|
8433
|
+
|
|
8434
|
+
if (!Util.isUnset(request.newStatus)) {
|
|
8435
|
+
query["NewStatus"] = request.newStatus;
|
|
8436
|
+
}
|
|
8437
|
+
|
|
7409
8438
|
let req = new $OpenApi.OpenApiRequest({
|
|
7410
8439
|
query: OpenApiUtil.query(query),
|
|
7411
|
-
body: Util.toMap(request),
|
|
7412
8440
|
});
|
|
7413
8441
|
let params = new $OpenApi.Params({
|
|
7414
8442
|
action: "UpdateSCIMServerCredentialStatus",
|
|
@@ -7418,7 +8446,7 @@ export default class Client extends OpenApi {
|
|
|
7418
8446
|
method: "POST",
|
|
7419
8447
|
authType: "AK",
|
|
7420
8448
|
style: "RPC",
|
|
7421
|
-
reqBodyType: "
|
|
8449
|
+
reqBodyType: "formData",
|
|
7422
8450
|
bodyType: "json",
|
|
7423
8451
|
});
|
|
7424
8452
|
return $tea.cast<UpdateSCIMServerCredentialStatusResponse>(await this.callApi(params, req, runtime), new UpdateSCIMServerCredentialStatusResponse({}));
|
|
@@ -7432,16 +8460,36 @@ export default class Client extends OpenApi {
|
|
|
7432
8460
|
async updateUserWithOptions(request: UpdateUserRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserResponse> {
|
|
7433
8461
|
Util.validateModel(request);
|
|
7434
8462
|
let query = { };
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
8463
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8464
|
+
query["DirectoryId"] = request.directoryId;
|
|
8465
|
+
}
|
|
8466
|
+
|
|
8467
|
+
if (!Util.isUnset(request.newDescription)) {
|
|
8468
|
+
query["NewDescription"] = request.newDescription;
|
|
8469
|
+
}
|
|
8470
|
+
|
|
8471
|
+
if (!Util.isUnset(request.newDisplayName)) {
|
|
8472
|
+
query["NewDisplayName"] = request.newDisplayName;
|
|
8473
|
+
}
|
|
8474
|
+
|
|
8475
|
+
if (!Util.isUnset(request.newEmail)) {
|
|
8476
|
+
query["NewEmail"] = request.newEmail;
|
|
8477
|
+
}
|
|
8478
|
+
|
|
8479
|
+
if (!Util.isUnset(request.newFirstName)) {
|
|
8480
|
+
query["NewFirstName"] = request.newFirstName;
|
|
8481
|
+
}
|
|
8482
|
+
|
|
8483
|
+
if (!Util.isUnset(request.newLastName)) {
|
|
8484
|
+
query["NewLastName"] = request.newLastName;
|
|
8485
|
+
}
|
|
8486
|
+
|
|
8487
|
+
if (!Util.isUnset(request.userId)) {
|
|
8488
|
+
query["UserId"] = request.userId;
|
|
8489
|
+
}
|
|
8490
|
+
|
|
7442
8491
|
let req = new $OpenApi.OpenApiRequest({
|
|
7443
8492
|
query: OpenApiUtil.query(query),
|
|
7444
|
-
body: Util.toMap(request),
|
|
7445
8493
|
});
|
|
7446
8494
|
let params = new $OpenApi.Params({
|
|
7447
8495
|
action: "UpdateUser",
|
|
@@ -7451,7 +8499,7 @@ export default class Client extends OpenApi {
|
|
|
7451
8499
|
method: "POST",
|
|
7452
8500
|
authType: "AK",
|
|
7453
8501
|
style: "RPC",
|
|
7454
|
-
reqBodyType: "
|
|
8502
|
+
reqBodyType: "formData",
|
|
7455
8503
|
bodyType: "json",
|
|
7456
8504
|
});
|
|
7457
8505
|
return $tea.cast<UpdateUserResponse>(await this.callApi(params, req, runtime), new UpdateUserResponse({}));
|
|
@@ -7462,15 +8510,60 @@ export default class Client extends OpenApi {
|
|
|
7462
8510
|
return await this.updateUserWithOptions(request, runtime);
|
|
7463
8511
|
}
|
|
7464
8512
|
|
|
8513
|
+
async updateUserMFAAuthenticationSettingsWithOptions(request: UpdateUserMFAAuthenticationSettingsRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserMFAAuthenticationSettingsResponse> {
|
|
8514
|
+
Util.validateModel(request);
|
|
8515
|
+
let query = { };
|
|
8516
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8517
|
+
query["DirectoryId"] = request.directoryId;
|
|
8518
|
+
}
|
|
8519
|
+
|
|
8520
|
+
if (!Util.isUnset(request.userId)) {
|
|
8521
|
+
query["UserId"] = request.userId;
|
|
8522
|
+
}
|
|
8523
|
+
|
|
8524
|
+
if (!Util.isUnset(request.userMFAAuthenticationSettings)) {
|
|
8525
|
+
query["UserMFAAuthenticationSettings"] = request.userMFAAuthenticationSettings;
|
|
8526
|
+
}
|
|
8527
|
+
|
|
8528
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8529
|
+
query: OpenApiUtil.query(query),
|
|
8530
|
+
});
|
|
8531
|
+
let params = new $OpenApi.Params({
|
|
8532
|
+
action: "UpdateUserMFAAuthenticationSettings",
|
|
8533
|
+
version: "2021-05-15",
|
|
8534
|
+
protocol: "HTTPS",
|
|
8535
|
+
pathname: "/",
|
|
8536
|
+
method: "POST",
|
|
8537
|
+
authType: "AK",
|
|
8538
|
+
style: "RPC",
|
|
8539
|
+
reqBodyType: "formData",
|
|
8540
|
+
bodyType: "json",
|
|
8541
|
+
});
|
|
8542
|
+
return $tea.cast<UpdateUserMFAAuthenticationSettingsResponse>(await this.callApi(params, req, runtime), new UpdateUserMFAAuthenticationSettingsResponse({}));
|
|
8543
|
+
}
|
|
8544
|
+
|
|
8545
|
+
async updateUserMFAAuthenticationSettings(request: UpdateUserMFAAuthenticationSettingsRequest): Promise<UpdateUserMFAAuthenticationSettingsResponse> {
|
|
8546
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8547
|
+
return await this.updateUserMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
8548
|
+
}
|
|
8549
|
+
|
|
7465
8550
|
async updateUserStatusWithOptions(request: UpdateUserStatusRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserStatusResponse> {
|
|
7466
8551
|
Util.validateModel(request);
|
|
7467
8552
|
let query = { };
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
8553
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8554
|
+
query["DirectoryId"] = request.directoryId;
|
|
8555
|
+
}
|
|
8556
|
+
|
|
8557
|
+
if (!Util.isUnset(request.newStatus)) {
|
|
8558
|
+
query["NewStatus"] = request.newStatus;
|
|
8559
|
+
}
|
|
8560
|
+
|
|
8561
|
+
if (!Util.isUnset(request.userId)) {
|
|
8562
|
+
query["UserId"] = request.userId;
|
|
8563
|
+
}
|
|
8564
|
+
|
|
7471
8565
|
let req = new $OpenApi.OpenApiRequest({
|
|
7472
8566
|
query: OpenApiUtil.query(query),
|
|
7473
|
-
body: Util.toMap(request),
|
|
7474
8567
|
});
|
|
7475
8568
|
let params = new $OpenApi.Params({
|
|
7476
8569
|
action: "UpdateUserStatus",
|
|
@@ -7480,7 +8573,7 @@ export default class Client extends OpenApi {
|
|
|
7480
8573
|
method: "POST",
|
|
7481
8574
|
authType: "AK",
|
|
7482
8575
|
style: "RPC",
|
|
7483
|
-
reqBodyType: "
|
|
8576
|
+
reqBodyType: "formData",
|
|
7484
8577
|
bodyType: "json",
|
|
7485
8578
|
});
|
|
7486
8579
|
return $tea.cast<UpdateUserStatusResponse>(await this.callApi(params, req, runtime), new UpdateUserStatusResponse({}));
|