@alicloud/pai-dlc20201203 1.1.5 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -566,101 +566,6 @@ export declare class Workspace extends $tea.Model {
566
566
  [key: string]: any;
567
567
  });
568
568
  }
569
- export declare class CreateCodeSourceRequest extends $tea.Model {
570
- codeBranch?: string;
571
- codeRepo?: string;
572
- codeRepoAccessToken?: string;
573
- codeRepoUserName?: string;
574
- description?: string;
575
- displayName?: string;
576
- mountPath?: string;
577
- static names(): {
578
- [key: string]: string;
579
- };
580
- static types(): {
581
- [key: string]: any;
582
- };
583
- constructor(map?: {
584
- [key: string]: any;
585
- });
586
- }
587
- export declare class CreateCodeSourceResponseBody extends $tea.Model {
588
- codeSourceId?: string;
589
- requestId?: string;
590
- static names(): {
591
- [key: string]: string;
592
- };
593
- static types(): {
594
- [key: string]: any;
595
- };
596
- constructor(map?: {
597
- [key: string]: any;
598
- });
599
- }
600
- export declare class CreateCodeSourceResponse extends $tea.Model {
601
- headers: {
602
- [key: string]: string;
603
- };
604
- statusCode: number;
605
- body: CreateCodeSourceResponseBody;
606
- static names(): {
607
- [key: string]: string;
608
- };
609
- static types(): {
610
- [key: string]: any;
611
- };
612
- constructor(map?: {
613
- [key: string]: any;
614
- });
615
- }
616
- export declare class CreateDataSourceRequest extends $tea.Model {
617
- dataSourceType?: string;
618
- description?: string;
619
- displayName?: string;
620
- endpoint?: string;
621
- fileSystemId?: string;
622
- mountPath?: string;
623
- options?: string;
624
- path?: string;
625
- static names(): {
626
- [key: string]: string;
627
- };
628
- static types(): {
629
- [key: string]: any;
630
- };
631
- constructor(map?: {
632
- [key: string]: any;
633
- });
634
- }
635
- export declare class CreateDataSourceResponseBody extends $tea.Model {
636
- dataSourceId?: string;
637
- requestId?: string;
638
- static names(): {
639
- [key: string]: string;
640
- };
641
- static types(): {
642
- [key: string]: any;
643
- };
644
- constructor(map?: {
645
- [key: string]: any;
646
- });
647
- }
648
- export declare class CreateDataSourceResponse extends $tea.Model {
649
- headers: {
650
- [key: string]: string;
651
- };
652
- statusCode: number;
653
- body: CreateDataSourceResponseBody;
654
- static names(): {
655
- [key: string]: string;
656
- };
657
- static types(): {
658
- [key: string]: any;
659
- };
660
- constructor(map?: {
661
- [key: string]: any;
662
- });
663
- }
664
569
  export declare class CreateJobRequest extends $tea.Model {
665
570
  codeSource?: CreateJobRequestCodeSource;
666
571
  dataSources?: CreateJobRequestDataSources[];
@@ -776,64 +681,6 @@ export declare class CreateTensorboardResponse extends $tea.Model {
776
681
  [key: string]: any;
777
682
  });
778
683
  }
779
- export declare class DeleteCodeSourceResponseBody extends $tea.Model {
780
- codeSourceId?: string;
781
- requestId?: string;
782
- static names(): {
783
- [key: string]: string;
784
- };
785
- static types(): {
786
- [key: string]: any;
787
- };
788
- constructor(map?: {
789
- [key: string]: any;
790
- });
791
- }
792
- export declare class DeleteCodeSourceResponse extends $tea.Model {
793
- headers: {
794
- [key: string]: string;
795
- };
796
- statusCode: number;
797
- body: DeleteCodeSourceResponseBody;
798
- static names(): {
799
- [key: string]: string;
800
- };
801
- static types(): {
802
- [key: string]: any;
803
- };
804
- constructor(map?: {
805
- [key: string]: any;
806
- });
807
- }
808
- export declare class DeleteDataSourceResponseBody extends $tea.Model {
809
- dataSourceId?: string;
810
- requestId?: string;
811
- static names(): {
812
- [key: string]: string;
813
- };
814
- static types(): {
815
- [key: string]: any;
816
- };
817
- constructor(map?: {
818
- [key: string]: any;
819
- });
820
- }
821
- export declare class DeleteDataSourceResponse extends $tea.Model {
822
- headers: {
823
- [key: string]: string;
824
- };
825
- statusCode: number;
826
- body: DeleteDataSourceResponseBody;
827
- static names(): {
828
- [key: string]: string;
829
- };
830
- static types(): {
831
- [key: string]: any;
832
- };
833
- constructor(map?: {
834
- [key: string]: any;
835
- });
836
- }
837
684
  export declare class DeleteJobResponseBody extends $tea.Model {
838
685
  jobId?: string;
839
686
  requestId?: string;
@@ -863,47 +710,6 @@ export declare class DeleteJobResponse extends $tea.Model {
863
710
  [key: string]: any;
864
711
  });
865
712
  }
866
- export declare class DeleteJobsRequest extends $tea.Model {
867
- jobIds?: string[];
868
- static names(): {
869
- [key: string]: string;
870
- };
871
- static types(): {
872
- [key: string]: any;
873
- };
874
- constructor(map?: {
875
- [key: string]: any;
876
- });
877
- }
878
- export declare class DeleteJobsResponseBody extends $tea.Model {
879
- jobIds?: string[];
880
- requestId?: string;
881
- static names(): {
882
- [key: string]: string;
883
- };
884
- static types(): {
885
- [key: string]: any;
886
- };
887
- constructor(map?: {
888
- [key: string]: any;
889
- });
890
- }
891
- export declare class DeleteJobsResponse extends $tea.Model {
892
- headers: {
893
- [key: string]: string;
894
- };
895
- statusCode: number;
896
- body: DeleteJobsResponseBody;
897
- static names(): {
898
- [key: string]: string;
899
- };
900
- static types(): {
901
- [key: string]: any;
902
- };
903
- constructor(map?: {
904
- [key: string]: any;
905
- });
906
- }
907
713
  export declare class DeleteTensorboardRequest extends $tea.Model {
908
714
  workspaceId?: string;
909
715
  static names(): {
@@ -945,86 +751,6 @@ export declare class DeleteTensorboardResponse extends $tea.Model {
945
751
  [key: string]: any;
946
752
  });
947
753
  }
948
- export declare class GetCodeSourceResponseBody extends $tea.Model {
949
- codeBranch?: string;
950
- codeCommit?: string;
951
- codeRepo?: string;
952
- codeRepoAccessToken?: string;
953
- codeRepoUserName?: string;
954
- codeSourceId?: string;
955
- description?: string;
956
- displayName?: string;
957
- gmtCreateTime?: string;
958
- gmtModifyTime?: string;
959
- mountPath?: string;
960
- requestId?: string;
961
- userId?: string;
962
- static names(): {
963
- [key: string]: string;
964
- };
965
- static types(): {
966
- [key: string]: any;
967
- };
968
- constructor(map?: {
969
- [key: string]: any;
970
- });
971
- }
972
- export declare class GetCodeSourceResponse extends $tea.Model {
973
- headers: {
974
- [key: string]: string;
975
- };
976
- statusCode: number;
977
- body: GetCodeSourceResponseBody;
978
- static names(): {
979
- [key: string]: string;
980
- };
981
- static types(): {
982
- [key: string]: any;
983
- };
984
- constructor(map?: {
985
- [key: string]: any;
986
- });
987
- }
988
- export declare class GetDataSourceResponseBody extends $tea.Model {
989
- dataSourceId?: string;
990
- dataSourceType?: string;
991
- description?: string;
992
- displayName?: string;
993
- endpoint?: string;
994
- fileSystemId?: string;
995
- gmtCreateTime?: string;
996
- gmtModifyTime?: string;
997
- mountPath?: string;
998
- options?: string;
999
- path?: string;
1000
- requestId?: string;
1001
- userId?: string;
1002
- static names(): {
1003
- [key: string]: string;
1004
- };
1005
- static types(): {
1006
- [key: string]: any;
1007
- };
1008
- constructor(map?: {
1009
- [key: string]: any;
1010
- });
1011
- }
1012
- export declare class GetDataSourceResponse extends $tea.Model {
1013
- headers: {
1014
- [key: string]: string;
1015
- };
1016
- statusCode: number;
1017
- body: GetDataSourceResponseBody;
1018
- static names(): {
1019
- [key: string]: string;
1020
- };
1021
- static types(): {
1022
- [key: string]: any;
1023
- };
1024
- constructor(map?: {
1025
- [key: string]: any;
1026
- });
1027
- }
1028
754
  export declare class GetJobResponseBody extends $tea.Model {
1029
755
  clusterId?: string;
1030
756
  codeSource?: GetJobResponseBodyCodeSource;
@@ -1301,99 +1027,6 @@ export declare class GetTensorboardResponse extends $tea.Model {
1301
1027
  [key: string]: any;
1302
1028
  });
1303
1029
  }
1304
- export declare class ListCodeSourcesRequest extends $tea.Model {
1305
- displayName?: string;
1306
- order?: string;
1307
- pageNumber?: number;
1308
- pageSize?: number;
1309
- sortBy?: string;
1310
- static names(): {
1311
- [key: string]: string;
1312
- };
1313
- static types(): {
1314
- [key: string]: any;
1315
- };
1316
- constructor(map?: {
1317
- [key: string]: any;
1318
- });
1319
- }
1320
- export declare class ListCodeSourcesResponseBody extends $tea.Model {
1321
- codeSources?: CodeSourceItem[];
1322
- requestId?: string;
1323
- totalCount?: number;
1324
- static names(): {
1325
- [key: string]: string;
1326
- };
1327
- static types(): {
1328
- [key: string]: any;
1329
- };
1330
- constructor(map?: {
1331
- [key: string]: any;
1332
- });
1333
- }
1334
- export declare class ListCodeSourcesResponse extends $tea.Model {
1335
- headers: {
1336
- [key: string]: string;
1337
- };
1338
- statusCode: number;
1339
- body: ListCodeSourcesResponseBody;
1340
- static names(): {
1341
- [key: string]: string;
1342
- };
1343
- static types(): {
1344
- [key: string]: any;
1345
- };
1346
- constructor(map?: {
1347
- [key: string]: any;
1348
- });
1349
- }
1350
- export declare class ListDataSourcesRequest extends $tea.Model {
1351
- dataSourceType?: string;
1352
- displayName?: string;
1353
- order?: string;
1354
- pageNumber?: number;
1355
- pageSize?: number;
1356
- sortBy?: string;
1357
- static names(): {
1358
- [key: string]: string;
1359
- };
1360
- static types(): {
1361
- [key: string]: any;
1362
- };
1363
- constructor(map?: {
1364
- [key: string]: any;
1365
- });
1366
- }
1367
- export declare class ListDataSourcesResponseBody extends $tea.Model {
1368
- dataSources?: DataSourceItem[];
1369
- requestId?: string;
1370
- totalCount?: number;
1371
- static names(): {
1372
- [key: string]: string;
1373
- };
1374
- static types(): {
1375
- [key: string]: any;
1376
- };
1377
- constructor(map?: {
1378
- [key: string]: any;
1379
- });
1380
- }
1381
- export declare class ListDataSourcesResponse extends $tea.Model {
1382
- headers: {
1383
- [key: string]: string;
1384
- };
1385
- statusCode: number;
1386
- body: ListDataSourcesResponseBody;
1387
- static names(): {
1388
- [key: string]: string;
1389
- };
1390
- static types(): {
1391
- [key: string]: any;
1392
- };
1393
- constructor(map?: {
1394
- [key: string]: any;
1395
- });
1396
- }
1397
1030
  export declare class ListEcsSpecsRequest extends $tea.Model {
1398
1031
  acceleratorType?: string;
1399
1032
  order?: string;
@@ -1440,53 +1073,6 @@ export declare class ListEcsSpecsResponse extends $tea.Model {
1440
1073
  [key: string]: any;
1441
1074
  });
1442
1075
  }
1443
- export declare class ListImagesRequest extends $tea.Model {
1444
- acceleratorType?: string;
1445
- framework?: string;
1446
- imageProviderType?: string;
1447
- order?: string;
1448
- sortBy?: string;
1449
- workspaceId?: string;
1450
- static names(): {
1451
- [key: string]: string;
1452
- };
1453
- static types(): {
1454
- [key: string]: any;
1455
- };
1456
- constructor(map?: {
1457
- [key: string]: any;
1458
- });
1459
- }
1460
- export declare class ListImagesResponseBody extends $tea.Model {
1461
- images?: ImageItem[];
1462
- requestId?: string;
1463
- totalCount?: number;
1464
- static names(): {
1465
- [key: string]: string;
1466
- };
1467
- static types(): {
1468
- [key: string]: any;
1469
- };
1470
- constructor(map?: {
1471
- [key: string]: any;
1472
- });
1473
- }
1474
- export declare class ListImagesResponse extends $tea.Model {
1475
- headers: {
1476
- [key: string]: string;
1477
- };
1478
- statusCode: number;
1479
- body: ListImagesResponseBody;
1480
- static names(): {
1481
- [key: string]: string;
1482
- };
1483
- static types(): {
1484
- [key: string]: any;
1485
- };
1486
- constructor(map?: {
1487
- [key: string]: any;
1488
- });
1489
- }
1490
1076
  export declare class ListJobsRequest extends $tea.Model {
1491
1077
  businessUserId?: string;
1492
1078
  caller?: string;
@@ -1700,47 +1286,6 @@ export declare class StopJobResponse extends $tea.Model {
1700
1286
  [key: string]: any;
1701
1287
  });
1702
1288
  }
1703
- export declare class StopJobsRequest extends $tea.Model {
1704
- jobIds?: string[];
1705
- static names(): {
1706
- [key: string]: string;
1707
- };
1708
- static types(): {
1709
- [key: string]: any;
1710
- };
1711
- constructor(map?: {
1712
- [key: string]: any;
1713
- });
1714
- }
1715
- export declare class StopJobsResponseBody extends $tea.Model {
1716
- jobIds?: string[];
1717
- requestId?: string;
1718
- static names(): {
1719
- [key: string]: string;
1720
- };
1721
- static types(): {
1722
- [key: string]: any;
1723
- };
1724
- constructor(map?: {
1725
- [key: string]: any;
1726
- });
1727
- }
1728
- export declare class StopJobsResponse extends $tea.Model {
1729
- headers: {
1730
- [key: string]: string;
1731
- };
1732
- statusCode: number;
1733
- body: StopJobsResponseBody;
1734
- static names(): {
1735
- [key: string]: string;
1736
- };
1737
- static types(): {
1738
- [key: string]: any;
1739
- };
1740
- constructor(map?: {
1741
- [key: string]: any;
1742
- });
1743
- }
1744
1289
  export declare class StopTensorboardRequest extends $tea.Model {
1745
1290
  workspaceId?: string;
1746
1291
  static names(): {
@@ -2008,14 +1553,6 @@ export default class Client extends OpenApi {
2008
1553
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
2009
1554
  [key: string]: string;
2010
1555
  }, endpoint: string): string;
2011
- createCodeSource(request: CreateCodeSourceRequest): Promise<CreateCodeSourceResponse>;
2012
- createCodeSourceWithOptions(request: CreateCodeSourceRequest, headers: {
2013
- [key: string]: string;
2014
- }, runtime: $Util.RuntimeOptions): Promise<CreateCodeSourceResponse>;
2015
- createDataSource(request: CreateDataSourceRequest): Promise<CreateDataSourceResponse>;
2016
- createDataSourceWithOptions(request: CreateDataSourceRequest, headers: {
2017
- [key: string]: string;
2018
- }, runtime: $Util.RuntimeOptions): Promise<CreateDataSourceResponse>;
2019
1556
  createJob(request: CreateJobRequest): Promise<CreateJobResponse>;
2020
1557
  createJobWithOptions(request: CreateJobRequest, headers: {
2021
1558
  [key: string]: string;
@@ -2024,34 +1561,14 @@ export default class Client extends OpenApi {
2024
1561
  createTensorboardWithOptions(request: CreateTensorboardRequest, headers: {
2025
1562
  [key: string]: string;
2026
1563
  }, runtime: $Util.RuntimeOptions): Promise<CreateTensorboardResponse>;
2027
- deleteCodeSource(CodeSourceId: string): Promise<DeleteCodeSourceResponse>;
2028
- deleteCodeSourceWithOptions(CodeSourceId: string, headers: {
2029
- [key: string]: string;
2030
- }, runtime: $Util.RuntimeOptions): Promise<DeleteCodeSourceResponse>;
2031
- deleteDataSource(DataSourceId: string): Promise<DeleteDataSourceResponse>;
2032
- deleteDataSourceWithOptions(DataSourceId: string, headers: {
2033
- [key: string]: string;
2034
- }, runtime: $Util.RuntimeOptions): Promise<DeleteDataSourceResponse>;
2035
1564
  deleteJob(JobId: string): Promise<DeleteJobResponse>;
2036
1565
  deleteJobWithOptions(JobId: string, headers: {
2037
1566
  [key: string]: string;
2038
1567
  }, runtime: $Util.RuntimeOptions): Promise<DeleteJobResponse>;
2039
- deleteJobs(request: DeleteJobsRequest): Promise<DeleteJobsResponse>;
2040
- deleteJobsWithOptions(request: DeleteJobsRequest, headers: {
2041
- [key: string]: string;
2042
- }, runtime: $Util.RuntimeOptions): Promise<DeleteJobsResponse>;
2043
1568
  deleteTensorboard(TensorboardId: string, request: DeleteTensorboardRequest): Promise<DeleteTensorboardResponse>;
2044
1569
  deleteTensorboardWithOptions(TensorboardId: string, request: DeleteTensorboardRequest, headers: {
2045
1570
  [key: string]: string;
2046
1571
  }, runtime: $Util.RuntimeOptions): Promise<DeleteTensorboardResponse>;
2047
- getCodeSource(CodeSourceId: string): Promise<GetCodeSourceResponse>;
2048
- getCodeSourceWithOptions(CodeSourceId: string, headers: {
2049
- [key: string]: string;
2050
- }, runtime: $Util.RuntimeOptions): Promise<GetCodeSourceResponse>;
2051
- getDataSource(DataSourceId: string): Promise<GetDataSourceResponse>;
2052
- getDataSourceWithOptions(DataSourceId: string, headers: {
2053
- [key: string]: string;
2054
- }, runtime: $Util.RuntimeOptions): Promise<GetDataSourceResponse>;
2055
1572
  getJob(JobId: string): Promise<GetJobResponse>;
2056
1573
  getJobWithOptions(JobId: string, headers: {
2057
1574
  [key: string]: string;
@@ -2076,22 +1593,10 @@ export default class Client extends OpenApi {
2076
1593
  getTensorboardWithOptions(TensorboardId: string, request: GetTensorboardRequest, headers: {
2077
1594
  [key: string]: string;
2078
1595
  }, runtime: $Util.RuntimeOptions): Promise<GetTensorboardResponse>;
2079
- listCodeSources(request: ListCodeSourcesRequest): Promise<ListCodeSourcesResponse>;
2080
- listCodeSourcesWithOptions(request: ListCodeSourcesRequest, headers: {
2081
- [key: string]: string;
2082
- }, runtime: $Util.RuntimeOptions): Promise<ListCodeSourcesResponse>;
2083
- listDataSources(request: ListDataSourcesRequest): Promise<ListDataSourcesResponse>;
2084
- listDataSourcesWithOptions(request: ListDataSourcesRequest, headers: {
2085
- [key: string]: string;
2086
- }, runtime: $Util.RuntimeOptions): Promise<ListDataSourcesResponse>;
2087
1596
  listEcsSpecs(request: ListEcsSpecsRequest): Promise<ListEcsSpecsResponse>;
2088
1597
  listEcsSpecsWithOptions(request: ListEcsSpecsRequest, headers: {
2089
1598
  [key: string]: string;
2090
1599
  }, runtime: $Util.RuntimeOptions): Promise<ListEcsSpecsResponse>;
2091
- listImages(request: ListImagesRequest): Promise<ListImagesResponse>;
2092
- listImagesWithOptions(request: ListImagesRequest, headers: {
2093
- [key: string]: string;
2094
- }, runtime: $Util.RuntimeOptions): Promise<ListImagesResponse>;
2095
1600
  listJobs(request: ListJobsRequest): Promise<ListJobsResponse>;
2096
1601
  listJobsWithOptions(tmpReq: ListJobsRequest, headers: {
2097
1602
  [key: string]: string;
@@ -2108,10 +1613,6 @@ export default class Client extends OpenApi {
2108
1613
  stopJobWithOptions(JobId: string, headers: {
2109
1614
  [key: string]: string;
2110
1615
  }, runtime: $Util.RuntimeOptions): Promise<StopJobResponse>;
2111
- stopJobs(request: StopJobsRequest): Promise<StopJobsResponse>;
2112
- stopJobsWithOptions(request: StopJobsRequest, headers: {
2113
- [key: string]: string;
2114
- }, runtime: $Util.RuntimeOptions): Promise<StopJobsResponse>;
2115
1616
  stopTensorboard(TensorboardId: string, request: StopTensorboardRequest): Promise<StopTensorboardResponse>;
2116
1617
  stopTensorboardWithOptions(TensorboardId: string, request: StopTensorboardRequest, headers: {
2117
1618
  [key: string]: string;