ksyun-sdk-node 1.5.6 → 1.5.8
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.
|
@@ -262,6 +262,154 @@ module.exports = class Client extends BaseClient {
|
|
|
262
262
|
NotebookId: "String"
|
|
263
263
|
}
|
|
264
264
|
},
|
|
265
|
+
EnableApikeyStatus: {
|
|
266
|
+
url: "/",
|
|
267
|
+
method: "POST",
|
|
268
|
+
config: {
|
|
269
|
+
query: {
|
|
270
|
+
Version: "2024-06-12",
|
|
271
|
+
Action: "EnableApikeyStatus"
|
|
272
|
+
},
|
|
273
|
+
headers: {
|
|
274
|
+
"Content-Type": "application/json"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
paramsType: {
|
|
278
|
+
KeyId: "String",
|
|
279
|
+
Status: "String"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
ModifyApikey: {
|
|
283
|
+
url: "/",
|
|
284
|
+
method: "POST",
|
|
285
|
+
config: {
|
|
286
|
+
query: {
|
|
287
|
+
Version: "2024-06-12",
|
|
288
|
+
Action: "ModifyApikey"
|
|
289
|
+
},
|
|
290
|
+
headers: {
|
|
291
|
+
"Content-Type": "application/json"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
paramsType: {
|
|
295
|
+
KeyId: "String",
|
|
296
|
+
Name: "String",
|
|
297
|
+
Description: "String",
|
|
298
|
+
AssociatedModelIds: "Array",
|
|
299
|
+
AllAssociatedModel: "Boolean"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
ActivateApiService: {
|
|
303
|
+
url: "/",
|
|
304
|
+
method: "POST",
|
|
305
|
+
config: {
|
|
306
|
+
query: {
|
|
307
|
+
Version: "2024-06-12",
|
|
308
|
+
Action: "ActivateApiService"
|
|
309
|
+
},
|
|
310
|
+
headers: {
|
|
311
|
+
"Content-Type": "application/json"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
paramsType: {
|
|
315
|
+
Status: "String"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
DeleteApikey: {
|
|
319
|
+
url: "/",
|
|
320
|
+
method: "POST",
|
|
321
|
+
config: {
|
|
322
|
+
query: {
|
|
323
|
+
Version: "2024-06-12",
|
|
324
|
+
Action: "DeleteApikey"
|
|
325
|
+
},
|
|
326
|
+
headers: {
|
|
327
|
+
"Content-Type": "application/json"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
paramsType: {
|
|
331
|
+
KeyId: "String"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
DescribeModels: {
|
|
335
|
+
url: "/",
|
|
336
|
+
method: "GET",
|
|
337
|
+
config: {
|
|
338
|
+
query: {
|
|
339
|
+
Version: "2024-06-12",
|
|
340
|
+
Action: "DescribeModels"
|
|
341
|
+
},
|
|
342
|
+
headers: {
|
|
343
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
paramsType: {
|
|
347
|
+
Marker: "Int",
|
|
348
|
+
MaxResults: "Int",
|
|
349
|
+
ModelCategory: "Filter",
|
|
350
|
+
Provider: "Filter",
|
|
351
|
+
ContextLength: "Filter",
|
|
352
|
+
ModelName: "String"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
CreateApikey: {
|
|
356
|
+
url: "/",
|
|
357
|
+
method: "POST",
|
|
358
|
+
config: {
|
|
359
|
+
query: {
|
|
360
|
+
Version: "2024-06-12",
|
|
361
|
+
Action: "CreateApikey"
|
|
362
|
+
},
|
|
363
|
+
headers: {
|
|
364
|
+
"Content-Type": "application/json"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
paramsType: {
|
|
368
|
+
Name: "String",
|
|
369
|
+
Description: "String",
|
|
370
|
+
ProjectId: "Int",
|
|
371
|
+
AssociatedModelIds: "Array",
|
|
372
|
+
AllAssociatedModel: "Boolean",
|
|
373
|
+
AllowedIps: "Array"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
GetModelDetail: {
|
|
377
|
+
url: "/",
|
|
378
|
+
method: "GET",
|
|
379
|
+
config: {
|
|
380
|
+
query: {
|
|
381
|
+
Version: "2024-06-12",
|
|
382
|
+
Action: "GetModelDetail"
|
|
383
|
+
},
|
|
384
|
+
headers: {
|
|
385
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
paramsType: {
|
|
389
|
+
ModelId: "String"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
DescribeApikeys: {
|
|
393
|
+
url: "/",
|
|
394
|
+
method: "GET",
|
|
395
|
+
config: {
|
|
396
|
+
query: {
|
|
397
|
+
Version: "2024-06-12",
|
|
398
|
+
Action: "DescribeApikeys"
|
|
399
|
+
},
|
|
400
|
+
headers: {
|
|
401
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
paramsType: {
|
|
405
|
+
Marker: "Int",
|
|
406
|
+
MaxResults: "Int",
|
|
407
|
+
AssociatedModelId: "Filter",
|
|
408
|
+
Status: "Filter",
|
|
409
|
+
Namekeyword: "String",
|
|
410
|
+
DefaultKey: "Boolean"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
265
413
|
QueryTokenData: {
|
|
266
414
|
url: "/",
|
|
267
415
|
method: "GET",
|
|
@@ -278,7 +426,6 @@ module.exports = class Client extends BaseClient {
|
|
|
278
426
|
StartTimestamp: "Int",
|
|
279
427
|
EndTimestamp: "Int",
|
|
280
428
|
MaxResults: "Int",
|
|
281
|
-
ModelKeyword: "String",
|
|
282
429
|
Keyword: "String",
|
|
283
430
|
GroupBy: "String",
|
|
284
431
|
ReasoningType: "String",
|
|
@@ -286,6 +433,248 @@ module.exports = class Client extends BaseClient {
|
|
|
286
433
|
IsGlobalServer: "Boolean"
|
|
287
434
|
}
|
|
288
435
|
},
|
|
436
|
+
DisableApikeyStatus: {
|
|
437
|
+
url: "/",
|
|
438
|
+
method: "POST",
|
|
439
|
+
config: {
|
|
440
|
+
query: {
|
|
441
|
+
Version: "2024-06-12",
|
|
442
|
+
Action: "DisableApikeyStatus"
|
|
443
|
+
},
|
|
444
|
+
headers: {
|
|
445
|
+
"Content-Type": "application/json"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
paramsType: {
|
|
449
|
+
KeyId: "String",
|
|
450
|
+
Status: "String"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
GetApiService: {
|
|
454
|
+
url: "/",
|
|
455
|
+
method: "GET",
|
|
456
|
+
config: {
|
|
457
|
+
query: {
|
|
458
|
+
Version: "2024-06-12",
|
|
459
|
+
Action: "GetApiService"
|
|
460
|
+
},
|
|
461
|
+
headers: {
|
|
462
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
paramsType: {}
|
|
466
|
+
},
|
|
467
|
+
GetBatchInferenceJobsFinalResultDownloadUrl: {
|
|
468
|
+
url: "/",
|
|
469
|
+
method: "POST",
|
|
470
|
+
config: {
|
|
471
|
+
query: {
|
|
472
|
+
Version: "2024-06-12",
|
|
473
|
+
Action: "GetBatchInferenceJobsFinalResultDownloadUrl"
|
|
474
|
+
},
|
|
475
|
+
headers: {
|
|
476
|
+
"Content-Type": "application/json"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
paramsType: {
|
|
480
|
+
BatchId: "String"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
DescribeInferenceJobsKs3AuthInfo: {
|
|
484
|
+
url: "/",
|
|
485
|
+
method: "GET",
|
|
486
|
+
config: {
|
|
487
|
+
query: {
|
|
488
|
+
Version: "2024-06-12",
|
|
489
|
+
Action: "DescribeInferenceJobsKs3AuthInfo"
|
|
490
|
+
},
|
|
491
|
+
headers: {
|
|
492
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
paramsType: {}
|
|
496
|
+
},
|
|
497
|
+
StopBatchInferenceJob: {
|
|
498
|
+
url: "/",
|
|
499
|
+
method: "POST",
|
|
500
|
+
config: {
|
|
501
|
+
query: {
|
|
502
|
+
Version: "2024-06-12",
|
|
503
|
+
Action: "StopBatchInferenceJob"
|
|
504
|
+
},
|
|
505
|
+
headers: {
|
|
506
|
+
"Content-Type": "application/json"
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
paramsType: {
|
|
510
|
+
BatchId: "String"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
CreateBatchInferenceJob: {
|
|
514
|
+
url: "/",
|
|
515
|
+
method: "POST",
|
|
516
|
+
config: {
|
|
517
|
+
query: {
|
|
518
|
+
Version: "2024-06-12",
|
|
519
|
+
Action: "CreateBatchInferenceJob"
|
|
520
|
+
},
|
|
521
|
+
headers: {
|
|
522
|
+
"Content-Type": "application/json"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
paramsType: {
|
|
526
|
+
JobName: "String",
|
|
527
|
+
JobDesc: "String",
|
|
528
|
+
ApikeyId: "String",
|
|
529
|
+
Model: "String",
|
|
530
|
+
ExecuteTimeoutMs: "Int",
|
|
531
|
+
InputDataType: "String",
|
|
532
|
+
Ks3Region: "String",
|
|
533
|
+
Ks3Ak: "String",
|
|
534
|
+
Ks3Sk: "String",
|
|
535
|
+
InBucket: "String",
|
|
536
|
+
OutBucket: "String",
|
|
537
|
+
InObjectName: "String",
|
|
538
|
+
OutObjectName: "String"
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
ModifyBatchInferenceJob: {
|
|
542
|
+
url: "/",
|
|
543
|
+
method: "POST",
|
|
544
|
+
config: {
|
|
545
|
+
query: {
|
|
546
|
+
Version: "2024-06-12",
|
|
547
|
+
Action: "ModifyBatchInferenceJob"
|
|
548
|
+
},
|
|
549
|
+
headers: {
|
|
550
|
+
"Content-Type": "application/json"
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
paramsType: {
|
|
554
|
+
BatchId: "String",
|
|
555
|
+
JobName: "String",
|
|
556
|
+
JobDesc: "String"
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
DescribeBatchInferenceJobs: {
|
|
560
|
+
url: "/",
|
|
561
|
+
method: "GET",
|
|
562
|
+
config: {
|
|
563
|
+
query: {
|
|
564
|
+
Version: "2024-06-12",
|
|
565
|
+
Action: "DescribeBatchInferenceJobs"
|
|
566
|
+
},
|
|
567
|
+
headers: {
|
|
568
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
paramsType: {
|
|
572
|
+
Marker: "Int",
|
|
573
|
+
MaxResults: "Int",
|
|
574
|
+
JobNameKeyword: "String",
|
|
575
|
+
Status: "Filter",
|
|
576
|
+
BatchId: "String"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
DeleteBatchInferenceJob: {
|
|
580
|
+
url: "/",
|
|
581
|
+
method: "POST",
|
|
582
|
+
config: {
|
|
583
|
+
query: {
|
|
584
|
+
Version: "2024-06-12",
|
|
585
|
+
Action: "DeleteBatchInferenceJob"
|
|
586
|
+
},
|
|
587
|
+
headers: {
|
|
588
|
+
"Content-Type": "application/json"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
paramsType: {
|
|
592
|
+
BatchId: "String"
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
EnableModels: {
|
|
596
|
+
url: "/",
|
|
597
|
+
method: "POST",
|
|
598
|
+
config: {
|
|
599
|
+
query: {
|
|
600
|
+
Version: "2024-06-12",
|
|
601
|
+
Action: "EnableModels"
|
|
602
|
+
},
|
|
603
|
+
headers: {
|
|
604
|
+
"Content-Type": "application/json"
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
paramsType: {
|
|
608
|
+
ModelIds: "Array"
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
DescribeModelQuotas: {
|
|
612
|
+
url: "/",
|
|
613
|
+
method: "GET",
|
|
614
|
+
config: {
|
|
615
|
+
query: {
|
|
616
|
+
Version: "2024-06-12",
|
|
617
|
+
Action: "DescribeModelQuotas"
|
|
618
|
+
},
|
|
619
|
+
headers: {
|
|
620
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
paramsType: {
|
|
624
|
+
Marker: "Int",
|
|
625
|
+
MaxResults: "Int",
|
|
626
|
+
Keyword: "String",
|
|
627
|
+
Type: "String"
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
DisableModels: {
|
|
631
|
+
url: "/",
|
|
632
|
+
method: "POST",
|
|
633
|
+
config: {
|
|
634
|
+
query: {
|
|
635
|
+
Version: "2024-06-12",
|
|
636
|
+
Action: "DisableModels"
|
|
637
|
+
},
|
|
638
|
+
headers: {
|
|
639
|
+
"Content-Type": "application/json"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
paramsType: {
|
|
643
|
+
ModelIds: "Array"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
EnableOverFreeLimit: {
|
|
647
|
+
url: "/",
|
|
648
|
+
method: "POST",
|
|
649
|
+
config: {
|
|
650
|
+
query: {
|
|
651
|
+
Version: "2024-06-12",
|
|
652
|
+
Action: "EnableOverFreeLimit"
|
|
653
|
+
},
|
|
654
|
+
headers: {
|
|
655
|
+
"Content-Type": "application/json"
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
paramsType: {
|
|
659
|
+
ModelIds: "Array"
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
DisableOverFreeLimit: {
|
|
663
|
+
url: "/",
|
|
664
|
+
method: "POST",
|
|
665
|
+
config: {
|
|
666
|
+
query: {
|
|
667
|
+
Version: "2024-06-12",
|
|
668
|
+
Action: "DisableOverFreeLimit"
|
|
669
|
+
},
|
|
670
|
+
headers: {
|
|
671
|
+
"Content-Type": "application/json"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
paramsType: {
|
|
675
|
+
ModelIds: "Array"
|
|
676
|
+
}
|
|
677
|
+
},
|
|
289
678
|
CreateTrainJob: {
|
|
290
679
|
url: "/",
|
|
291
680
|
method: "POST",
|
|
@@ -509,6 +898,99 @@ module.exports = class Client extends BaseClient {
|
|
|
509
898
|
ProjectId: "Filter",
|
|
510
899
|
Filter: "Filter"
|
|
511
900
|
}
|
|
901
|
+
},
|
|
902
|
+
CreateInferenceEndpoint: {
|
|
903
|
+
url: "/",
|
|
904
|
+
method: "POST",
|
|
905
|
+
config: {
|
|
906
|
+
query: {
|
|
907
|
+
Version: "2024-06-12",
|
|
908
|
+
Action: "CreateInferenceEndpoint"
|
|
909
|
+
},
|
|
910
|
+
headers: {
|
|
911
|
+
"Content-Type": "application/json"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
paramsType: {
|
|
915
|
+
EndpointName: "String",
|
|
916
|
+
ProjectId: "String",
|
|
917
|
+
ModelName: "String",
|
|
918
|
+
"RateLimit ": "Object",
|
|
919
|
+
ModelId: "String"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
DescribeInferenceEndpoints: {
|
|
923
|
+
url: "/",
|
|
924
|
+
method: "GET",
|
|
925
|
+
config: {
|
|
926
|
+
query: {
|
|
927
|
+
Version: "2024-06-12",
|
|
928
|
+
Action: "DescribeInferenceEndpoints"
|
|
929
|
+
},
|
|
930
|
+
headers: {
|
|
931
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
paramsType: {
|
|
935
|
+
EndpointId: "Filter",
|
|
936
|
+
EndpointName: "String",
|
|
937
|
+
Marker: "Int",
|
|
938
|
+
MaxResults: "Int",
|
|
939
|
+
ProjectId: "Filter",
|
|
940
|
+
Filter: "Array"
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
StartInferenceEndpoint: {
|
|
944
|
+
url: "/",
|
|
945
|
+
method: "POST",
|
|
946
|
+
config: {
|
|
947
|
+
query: {
|
|
948
|
+
Version: "2024-06-12",
|
|
949
|
+
Action: "StartInferenceEndpoint"
|
|
950
|
+
},
|
|
951
|
+
headers: {
|
|
952
|
+
"Content-Type": "application/json"
|
|
953
|
+
}
|
|
954
|
+
},
|
|
955
|
+
paramsType: {
|
|
956
|
+
EndpointName: "String",
|
|
957
|
+
ProjectId: "String",
|
|
958
|
+
ModelName: "String",
|
|
959
|
+
"RateLimit ": "Object",
|
|
960
|
+
EndpointId: "String"
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
DeleteInferenceEndpoint: {
|
|
964
|
+
url: "/",
|
|
965
|
+
method: "POST",
|
|
966
|
+
config: {
|
|
967
|
+
query: {
|
|
968
|
+
Version: "2024-06-12",
|
|
969
|
+
Action: "DeleteInferenceEndpoint"
|
|
970
|
+
},
|
|
971
|
+
headers: {
|
|
972
|
+
"Content-Type": "application/json"
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
paramsType: {
|
|
976
|
+
EndpointId: "String"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
DisableEndpointRateLimit: {
|
|
980
|
+
url: "/",
|
|
981
|
+
method: "POST",
|
|
982
|
+
config: {
|
|
983
|
+
query: {
|
|
984
|
+
Version: "2024-06-12",
|
|
985
|
+
Action: "DisableEndpointRateLimit"
|
|
986
|
+
},
|
|
987
|
+
headers: {
|
|
988
|
+
"Content-Type": "application/json"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
paramsType: {
|
|
992
|
+
EndpointId: "String"
|
|
993
|
+
}
|
|
512
994
|
}
|
|
513
995
|
});
|
|
514
996
|
}
|
|
@@ -2070,6 +2070,22 @@ module.exports = class Client extends BaseClient {
|
|
|
2070
2070
|
paramsType: {
|
|
2071
2071
|
InstanceId: "String"
|
|
2072
2072
|
}
|
|
2073
|
+
},
|
|
2074
|
+
DescribeUserData: {
|
|
2075
|
+
url: "/",
|
|
2076
|
+
method: "GET",
|
|
2077
|
+
config: {
|
|
2078
|
+
query: {
|
|
2079
|
+
Version: "2015-11-01",
|
|
2080
|
+
Action: "DescribeUserData"
|
|
2081
|
+
},
|
|
2082
|
+
headers: {
|
|
2083
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
2084
|
+
}
|
|
2085
|
+
},
|
|
2086
|
+
paramsType: {
|
|
2087
|
+
HostId: "String"
|
|
2088
|
+
}
|
|
2073
2089
|
}
|
|
2074
2090
|
});
|
|
2075
2091
|
}
|
package/package.json
CHANGED
|
@@ -255,6 +255,154 @@ module.exports = class Client extends BaseClient {
|
|
|
255
255
|
NotebookId: "String",
|
|
256
256
|
},
|
|
257
257
|
},
|
|
258
|
+
EnableApikeyStatus: {
|
|
259
|
+
url: "/",
|
|
260
|
+
method: "POST",
|
|
261
|
+
config: {
|
|
262
|
+
query: {
|
|
263
|
+
Version: "2024-06-12",
|
|
264
|
+
Action: "EnableApikeyStatus",
|
|
265
|
+
},
|
|
266
|
+
headers: {
|
|
267
|
+
"Content-Type": "application/json",
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
paramsType: {
|
|
271
|
+
KeyId: "String",
|
|
272
|
+
Status: "String",
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
ModifyApikey: {
|
|
276
|
+
url: "/",
|
|
277
|
+
method: "POST",
|
|
278
|
+
config: {
|
|
279
|
+
query: {
|
|
280
|
+
Version: "2024-06-12",
|
|
281
|
+
Action: "ModifyApikey",
|
|
282
|
+
},
|
|
283
|
+
headers: {
|
|
284
|
+
"Content-Type": "application/json",
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
paramsType: {
|
|
288
|
+
KeyId: "String",
|
|
289
|
+
Name: "String",
|
|
290
|
+
Description: "String",
|
|
291
|
+
AssociatedModelIds: "Array",
|
|
292
|
+
AllAssociatedModel: "Boolean",
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
ActivateApiService: {
|
|
296
|
+
url: "/",
|
|
297
|
+
method: "POST",
|
|
298
|
+
config: {
|
|
299
|
+
query: {
|
|
300
|
+
Version: "2024-06-12",
|
|
301
|
+
Action: "ActivateApiService",
|
|
302
|
+
},
|
|
303
|
+
headers: {
|
|
304
|
+
"Content-Type": "application/json",
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
paramsType: {
|
|
308
|
+
Status: "String",
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
DeleteApikey: {
|
|
312
|
+
url: "/",
|
|
313
|
+
method: "POST",
|
|
314
|
+
config: {
|
|
315
|
+
query: {
|
|
316
|
+
Version: "2024-06-12",
|
|
317
|
+
Action: "DeleteApikey",
|
|
318
|
+
},
|
|
319
|
+
headers: {
|
|
320
|
+
"Content-Type": "application/json",
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
paramsType: {
|
|
324
|
+
KeyId: "String",
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
DescribeModels: {
|
|
328
|
+
url: "/",
|
|
329
|
+
method: "GET",
|
|
330
|
+
config: {
|
|
331
|
+
query: {
|
|
332
|
+
Version: "2024-06-12",
|
|
333
|
+
Action: "DescribeModels",
|
|
334
|
+
},
|
|
335
|
+
headers: {
|
|
336
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
paramsType: {
|
|
340
|
+
Marker: "Int",
|
|
341
|
+
MaxResults: "Int",
|
|
342
|
+
ModelCategory: "Filter",
|
|
343
|
+
Provider: "Filter",
|
|
344
|
+
ContextLength: "Filter",
|
|
345
|
+
ModelName: "String",
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
CreateApikey: {
|
|
349
|
+
url: "/",
|
|
350
|
+
method: "POST",
|
|
351
|
+
config: {
|
|
352
|
+
query: {
|
|
353
|
+
Version: "2024-06-12",
|
|
354
|
+
Action: "CreateApikey",
|
|
355
|
+
},
|
|
356
|
+
headers: {
|
|
357
|
+
"Content-Type": "application/json",
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
paramsType: {
|
|
361
|
+
Name: "String",
|
|
362
|
+
Description: "String",
|
|
363
|
+
ProjectId: "Int",
|
|
364
|
+
AssociatedModelIds: "Array",
|
|
365
|
+
AllAssociatedModel: "Boolean",
|
|
366
|
+
AllowedIps: "Array",
|
|
367
|
+
},
|
|
368
|
+
},
|
|
369
|
+
GetModelDetail: {
|
|
370
|
+
url: "/",
|
|
371
|
+
method: "GET",
|
|
372
|
+
config: {
|
|
373
|
+
query: {
|
|
374
|
+
Version: "2024-06-12",
|
|
375
|
+
Action: "GetModelDetail",
|
|
376
|
+
},
|
|
377
|
+
headers: {
|
|
378
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
paramsType: {
|
|
382
|
+
ModelId: "String",
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
DescribeApikeys: {
|
|
386
|
+
url: "/",
|
|
387
|
+
method: "GET",
|
|
388
|
+
config: {
|
|
389
|
+
query: {
|
|
390
|
+
Version: "2024-06-12",
|
|
391
|
+
Action: "DescribeApikeys",
|
|
392
|
+
},
|
|
393
|
+
headers: {
|
|
394
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
paramsType: {
|
|
398
|
+
Marker: "Int",
|
|
399
|
+
MaxResults: "Int",
|
|
400
|
+
AssociatedModelId: "Filter",
|
|
401
|
+
Status: "Filter",
|
|
402
|
+
Namekeyword: "String",
|
|
403
|
+
DefaultKey: "Boolean",
|
|
404
|
+
},
|
|
405
|
+
},
|
|
258
406
|
QueryTokenData: {
|
|
259
407
|
url: "/",
|
|
260
408
|
method: "GET",
|
|
@@ -271,7 +419,6 @@ module.exports = class Client extends BaseClient {
|
|
|
271
419
|
StartTimestamp: "Int",
|
|
272
420
|
EndTimestamp: "Int",
|
|
273
421
|
MaxResults: "Int",
|
|
274
|
-
ModelKeyword: "String",
|
|
275
422
|
Keyword: "String",
|
|
276
423
|
GroupBy: "String",
|
|
277
424
|
ReasoningType: "String",
|
|
@@ -279,6 +426,248 @@ module.exports = class Client extends BaseClient {
|
|
|
279
426
|
IsGlobalServer: "Boolean",
|
|
280
427
|
},
|
|
281
428
|
},
|
|
429
|
+
DisableApikeyStatus: {
|
|
430
|
+
url: "/",
|
|
431
|
+
method: "POST",
|
|
432
|
+
config: {
|
|
433
|
+
query: {
|
|
434
|
+
Version: "2024-06-12",
|
|
435
|
+
Action: "DisableApikeyStatus",
|
|
436
|
+
},
|
|
437
|
+
headers: {
|
|
438
|
+
"Content-Type": "application/json",
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
paramsType: {
|
|
442
|
+
KeyId: "String",
|
|
443
|
+
Status: "String",
|
|
444
|
+
},
|
|
445
|
+
},
|
|
446
|
+
GetApiService: {
|
|
447
|
+
url: "/",
|
|
448
|
+
method: "GET",
|
|
449
|
+
config: {
|
|
450
|
+
query: {
|
|
451
|
+
Version: "2024-06-12",
|
|
452
|
+
Action: "GetApiService",
|
|
453
|
+
},
|
|
454
|
+
headers: {
|
|
455
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
456
|
+
},
|
|
457
|
+
},
|
|
458
|
+
paramsType: {},
|
|
459
|
+
},
|
|
460
|
+
GetBatchInferenceJobsFinalResultDownloadUrl: {
|
|
461
|
+
url: "/",
|
|
462
|
+
method: "POST",
|
|
463
|
+
config: {
|
|
464
|
+
query: {
|
|
465
|
+
Version: "2024-06-12",
|
|
466
|
+
Action: "GetBatchInferenceJobsFinalResultDownloadUrl",
|
|
467
|
+
},
|
|
468
|
+
headers: {
|
|
469
|
+
"Content-Type": "application/json",
|
|
470
|
+
},
|
|
471
|
+
},
|
|
472
|
+
paramsType: {
|
|
473
|
+
BatchId: "String",
|
|
474
|
+
},
|
|
475
|
+
},
|
|
476
|
+
DescribeInferenceJobsKs3AuthInfo: {
|
|
477
|
+
url: "/",
|
|
478
|
+
method: "GET",
|
|
479
|
+
config: {
|
|
480
|
+
query: {
|
|
481
|
+
Version: "2024-06-12",
|
|
482
|
+
Action: "DescribeInferenceJobsKs3AuthInfo",
|
|
483
|
+
},
|
|
484
|
+
headers: {
|
|
485
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
486
|
+
},
|
|
487
|
+
},
|
|
488
|
+
paramsType: {},
|
|
489
|
+
},
|
|
490
|
+
StopBatchInferenceJob: {
|
|
491
|
+
url: "/",
|
|
492
|
+
method: "POST",
|
|
493
|
+
config: {
|
|
494
|
+
query: {
|
|
495
|
+
Version: "2024-06-12",
|
|
496
|
+
Action: "StopBatchInferenceJob",
|
|
497
|
+
},
|
|
498
|
+
headers: {
|
|
499
|
+
"Content-Type": "application/json",
|
|
500
|
+
},
|
|
501
|
+
},
|
|
502
|
+
paramsType: {
|
|
503
|
+
BatchId: "String",
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
CreateBatchInferenceJob: {
|
|
507
|
+
url: "/",
|
|
508
|
+
method: "POST",
|
|
509
|
+
config: {
|
|
510
|
+
query: {
|
|
511
|
+
Version: "2024-06-12",
|
|
512
|
+
Action: "CreateBatchInferenceJob",
|
|
513
|
+
},
|
|
514
|
+
headers: {
|
|
515
|
+
"Content-Type": "application/json",
|
|
516
|
+
},
|
|
517
|
+
},
|
|
518
|
+
paramsType: {
|
|
519
|
+
JobName: "String",
|
|
520
|
+
JobDesc: "String",
|
|
521
|
+
ApikeyId: "String",
|
|
522
|
+
Model: "String",
|
|
523
|
+
ExecuteTimeoutMs: "Int",
|
|
524
|
+
InputDataType: "String",
|
|
525
|
+
Ks3Region: "String",
|
|
526
|
+
Ks3Ak: "String",
|
|
527
|
+
Ks3Sk: "String",
|
|
528
|
+
InBucket: "String",
|
|
529
|
+
OutBucket: "String",
|
|
530
|
+
InObjectName: "String",
|
|
531
|
+
OutObjectName: "String",
|
|
532
|
+
},
|
|
533
|
+
},
|
|
534
|
+
ModifyBatchInferenceJob: {
|
|
535
|
+
url: "/",
|
|
536
|
+
method: "POST",
|
|
537
|
+
config: {
|
|
538
|
+
query: {
|
|
539
|
+
Version: "2024-06-12",
|
|
540
|
+
Action: "ModifyBatchInferenceJob",
|
|
541
|
+
},
|
|
542
|
+
headers: {
|
|
543
|
+
"Content-Type": "application/json",
|
|
544
|
+
},
|
|
545
|
+
},
|
|
546
|
+
paramsType: {
|
|
547
|
+
BatchId: "String",
|
|
548
|
+
JobName: "String",
|
|
549
|
+
JobDesc: "String",
|
|
550
|
+
},
|
|
551
|
+
},
|
|
552
|
+
DescribeBatchInferenceJobs: {
|
|
553
|
+
url: "/",
|
|
554
|
+
method: "GET",
|
|
555
|
+
config: {
|
|
556
|
+
query: {
|
|
557
|
+
Version: "2024-06-12",
|
|
558
|
+
Action: "DescribeBatchInferenceJobs",
|
|
559
|
+
},
|
|
560
|
+
headers: {
|
|
561
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
562
|
+
},
|
|
563
|
+
},
|
|
564
|
+
paramsType: {
|
|
565
|
+
Marker: "Int",
|
|
566
|
+
MaxResults: "Int",
|
|
567
|
+
JobNameKeyword: "String",
|
|
568
|
+
Status: "Filter",
|
|
569
|
+
BatchId: "String",
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
|
+
DeleteBatchInferenceJob: {
|
|
573
|
+
url: "/",
|
|
574
|
+
method: "POST",
|
|
575
|
+
config: {
|
|
576
|
+
query: {
|
|
577
|
+
Version: "2024-06-12",
|
|
578
|
+
Action: "DeleteBatchInferenceJob",
|
|
579
|
+
},
|
|
580
|
+
headers: {
|
|
581
|
+
"Content-Type": "application/json",
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
paramsType: {
|
|
585
|
+
BatchId: "String",
|
|
586
|
+
},
|
|
587
|
+
},
|
|
588
|
+
EnableModels: {
|
|
589
|
+
url: "/",
|
|
590
|
+
method: "POST",
|
|
591
|
+
config: {
|
|
592
|
+
query: {
|
|
593
|
+
Version: "2024-06-12",
|
|
594
|
+
Action: "EnableModels",
|
|
595
|
+
},
|
|
596
|
+
headers: {
|
|
597
|
+
"Content-Type": "application/json",
|
|
598
|
+
},
|
|
599
|
+
},
|
|
600
|
+
paramsType: {
|
|
601
|
+
ModelIds: "Array",
|
|
602
|
+
},
|
|
603
|
+
},
|
|
604
|
+
DescribeModelQuotas: {
|
|
605
|
+
url: "/",
|
|
606
|
+
method: "GET",
|
|
607
|
+
config: {
|
|
608
|
+
query: {
|
|
609
|
+
Version: "2024-06-12",
|
|
610
|
+
Action: "DescribeModelQuotas",
|
|
611
|
+
},
|
|
612
|
+
headers: {
|
|
613
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
614
|
+
},
|
|
615
|
+
},
|
|
616
|
+
paramsType: {
|
|
617
|
+
Marker: "Int",
|
|
618
|
+
MaxResults: "Int",
|
|
619
|
+
Keyword: "String",
|
|
620
|
+
Type: "String",
|
|
621
|
+
},
|
|
622
|
+
},
|
|
623
|
+
DisableModels: {
|
|
624
|
+
url: "/",
|
|
625
|
+
method: "POST",
|
|
626
|
+
config: {
|
|
627
|
+
query: {
|
|
628
|
+
Version: "2024-06-12",
|
|
629
|
+
Action: "DisableModels",
|
|
630
|
+
},
|
|
631
|
+
headers: {
|
|
632
|
+
"Content-Type": "application/json",
|
|
633
|
+
},
|
|
634
|
+
},
|
|
635
|
+
paramsType: {
|
|
636
|
+
ModelIds: "Array",
|
|
637
|
+
},
|
|
638
|
+
},
|
|
639
|
+
EnableOverFreeLimit: {
|
|
640
|
+
url: "/",
|
|
641
|
+
method: "POST",
|
|
642
|
+
config: {
|
|
643
|
+
query: {
|
|
644
|
+
Version: "2024-06-12",
|
|
645
|
+
Action: "EnableOverFreeLimit",
|
|
646
|
+
},
|
|
647
|
+
headers: {
|
|
648
|
+
"Content-Type": "application/json",
|
|
649
|
+
},
|
|
650
|
+
},
|
|
651
|
+
paramsType: {
|
|
652
|
+
ModelIds: "Array",
|
|
653
|
+
},
|
|
654
|
+
},
|
|
655
|
+
DisableOverFreeLimit: {
|
|
656
|
+
url: "/",
|
|
657
|
+
method: "POST",
|
|
658
|
+
config: {
|
|
659
|
+
query: {
|
|
660
|
+
Version: "2024-06-12",
|
|
661
|
+
Action: "DisableOverFreeLimit",
|
|
662
|
+
},
|
|
663
|
+
headers: {
|
|
664
|
+
"Content-Type": "application/json",
|
|
665
|
+
},
|
|
666
|
+
},
|
|
667
|
+
paramsType: {
|
|
668
|
+
ModelIds: "Array",
|
|
669
|
+
},
|
|
670
|
+
},
|
|
282
671
|
CreateTrainJob: {
|
|
283
672
|
url: "/",
|
|
284
673
|
method: "POST",
|
|
@@ -503,5 +892,98 @@ module.exports = class Client extends BaseClient {
|
|
|
503
892
|
Filter: "Filter",
|
|
504
893
|
},
|
|
505
894
|
},
|
|
895
|
+
CreateInferenceEndpoint: {
|
|
896
|
+
url: "/",
|
|
897
|
+
method: "POST",
|
|
898
|
+
config: {
|
|
899
|
+
query: {
|
|
900
|
+
Version: "2024-06-12",
|
|
901
|
+
Action: "CreateInferenceEndpoint",
|
|
902
|
+
},
|
|
903
|
+
headers: {
|
|
904
|
+
"Content-Type": "application/json",
|
|
905
|
+
},
|
|
906
|
+
},
|
|
907
|
+
paramsType: {
|
|
908
|
+
EndpointName: "String",
|
|
909
|
+
ProjectId: "String",
|
|
910
|
+
ModelName: "String",
|
|
911
|
+
"RateLimit ": "Object",
|
|
912
|
+
ModelId: "String",
|
|
913
|
+
},
|
|
914
|
+
},
|
|
915
|
+
DescribeInferenceEndpoints: {
|
|
916
|
+
url: "/",
|
|
917
|
+
method: "GET",
|
|
918
|
+
config: {
|
|
919
|
+
query: {
|
|
920
|
+
Version: "2024-06-12",
|
|
921
|
+
Action: "DescribeInferenceEndpoints",
|
|
922
|
+
},
|
|
923
|
+
headers: {
|
|
924
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
925
|
+
},
|
|
926
|
+
},
|
|
927
|
+
paramsType: {
|
|
928
|
+
EndpointId: "Filter",
|
|
929
|
+
EndpointName: "String",
|
|
930
|
+
Marker: "Int",
|
|
931
|
+
MaxResults: "Int",
|
|
932
|
+
ProjectId: "Filter",
|
|
933
|
+
Filter: "Array",
|
|
934
|
+
},
|
|
935
|
+
},
|
|
936
|
+
StartInferenceEndpoint: {
|
|
937
|
+
url: "/",
|
|
938
|
+
method: "POST",
|
|
939
|
+
config: {
|
|
940
|
+
query: {
|
|
941
|
+
Version: "2024-06-12",
|
|
942
|
+
Action: "StartInferenceEndpoint",
|
|
943
|
+
},
|
|
944
|
+
headers: {
|
|
945
|
+
"Content-Type": "application/json",
|
|
946
|
+
},
|
|
947
|
+
},
|
|
948
|
+
paramsType: {
|
|
949
|
+
EndpointName: "String",
|
|
950
|
+
ProjectId: "String",
|
|
951
|
+
ModelName: "String",
|
|
952
|
+
"RateLimit ": "Object",
|
|
953
|
+
EndpointId: "String",
|
|
954
|
+
},
|
|
955
|
+
},
|
|
956
|
+
DeleteInferenceEndpoint: {
|
|
957
|
+
url: "/",
|
|
958
|
+
method: "POST",
|
|
959
|
+
config: {
|
|
960
|
+
query: {
|
|
961
|
+
Version: "2024-06-12",
|
|
962
|
+
Action: "DeleteInferenceEndpoint",
|
|
963
|
+
},
|
|
964
|
+
headers: {
|
|
965
|
+
"Content-Type": "application/json",
|
|
966
|
+
},
|
|
967
|
+
},
|
|
968
|
+
paramsType: {
|
|
969
|
+
EndpointId: "String",
|
|
970
|
+
},
|
|
971
|
+
},
|
|
972
|
+
DisableEndpointRateLimit: {
|
|
973
|
+
url: "/",
|
|
974
|
+
method: "POST",
|
|
975
|
+
config: {
|
|
976
|
+
query: {
|
|
977
|
+
Version: "2024-06-12",
|
|
978
|
+
Action: "DisableEndpointRateLimit",
|
|
979
|
+
},
|
|
980
|
+
headers: {
|
|
981
|
+
"Content-Type": "application/json",
|
|
982
|
+
},
|
|
983
|
+
},
|
|
984
|
+
paramsType: {
|
|
985
|
+
EndpointId: "String",
|
|
986
|
+
},
|
|
987
|
+
},
|
|
506
988
|
};
|
|
507
989
|
};
|
|
@@ -2064,5 +2064,21 @@ module.exports = class Client extends BaseClient {
|
|
|
2064
2064
|
InstanceId: "String",
|
|
2065
2065
|
},
|
|
2066
2066
|
},
|
|
2067
|
+
DescribeUserData: {
|
|
2068
|
+
url: "/",
|
|
2069
|
+
method: "GET",
|
|
2070
|
+
config: {
|
|
2071
|
+
query: {
|
|
2072
|
+
Version: "2015-11-01",
|
|
2073
|
+
Action: "DescribeUserData",
|
|
2074
|
+
},
|
|
2075
|
+
headers: {
|
|
2076
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
2077
|
+
},
|
|
2078
|
+
},
|
|
2079
|
+
paramsType: {
|
|
2080
|
+
HostId: "String",
|
|
2081
|
+
},
|
|
2082
|
+
},
|
|
2067
2083
|
};
|
|
2068
2084
|
};
|