tencentcloud-sdk-nodejs 4.0.531 → 4.0.532
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/CHANGELOG.md +94 -0
- package/SERVICE_CHANGELOG.md +143 -16
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/dlc/v20210125/dlc_client.ts +35 -10
- package/src/services/dlc/v20210125/dlc_models.ts +275 -30
- package/src/services/ecm/v20190719/ecm_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +31 -4
- package/src/services/ess/v20201111/ess_models.ts +299 -71
- package/src/services/vpc/v20170312/vpc_models.ts +5 -0
- package/src/services/waf/v20180125/waf_client.ts +37 -0
- package/src/services/waf/v20180125/waf_models.ts +160 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +11 -3
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +15 -3
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +232 -28
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +259 -65
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +18 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +135 -0
- package/test/dlc.v20210125.test.js +22 -2
- package/test/ess.v20201111.test.js +20 -0
- package/test/waf.v20180125.test.js +30 -0
|
@@ -520,6 +520,46 @@ export interface DescribeWafAutoDenyRulesRequest {
|
|
|
520
520
|
Domain: string
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
+
/**
|
|
524
|
+
* SearchAttackLog请求参数结构体
|
|
525
|
+
*/
|
|
526
|
+
export interface SearchAttackLogRequest {
|
|
527
|
+
/**
|
|
528
|
+
* 查询的域名,所有域名使用all
|
|
529
|
+
*/
|
|
530
|
+
Domain: string
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* 查询起始时间
|
|
534
|
+
*/
|
|
535
|
+
StartTime: string
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* 查询结束时间
|
|
539
|
+
*/
|
|
540
|
+
EndTime: string
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* 查询的游标。第一次请求使用空字符串即可,后续请求使用上一次请求返回的最后一条记录的context的值即可。
|
|
544
|
+
*/
|
|
545
|
+
Context: string
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Lucene语法
|
|
549
|
+
*/
|
|
550
|
+
QueryString: string
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* 查询的数量,默认10条,最多100条
|
|
554
|
+
*/
|
|
555
|
+
Count?: number
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* 默认为desc,可以取值desc和asc
|
|
559
|
+
*/
|
|
560
|
+
Sort?: string
|
|
561
|
+
}
|
|
562
|
+
|
|
523
563
|
/**
|
|
524
564
|
* AddCustomRule返回参数结构体
|
|
525
565
|
*/
|
|
@@ -743,6 +783,16 @@ export interface DescribeAutoDenyIPResponse {
|
|
|
743
783
|
RequestId?: string
|
|
744
784
|
}
|
|
745
785
|
|
|
786
|
+
/**
|
|
787
|
+
* SwitchDomainRules返回参数结构体
|
|
788
|
+
*/
|
|
789
|
+
export interface SwitchDomainRulesResponse {
|
|
790
|
+
/**
|
|
791
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
792
|
+
*/
|
|
793
|
+
RequestId?: string
|
|
794
|
+
}
|
|
795
|
+
|
|
746
796
|
/**
|
|
747
797
|
* SearchAccessLog返回参数结构体
|
|
748
798
|
*/
|
|
@@ -825,6 +875,31 @@ export interface IpAccessControlItem {
|
|
|
825
875
|
ValidTs: number
|
|
826
876
|
}
|
|
827
877
|
|
|
878
|
+
/**
|
|
879
|
+
* SwitchDomainRules请求参数结构体
|
|
880
|
+
*/
|
|
881
|
+
export interface SwitchDomainRulesRequest {
|
|
882
|
+
/**
|
|
883
|
+
* 域名
|
|
884
|
+
*/
|
|
885
|
+
Domain: string
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* 规则列表
|
|
889
|
+
*/
|
|
890
|
+
Ids: Array<number>
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* 开关状态
|
|
894
|
+
*/
|
|
895
|
+
Status: number
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* 设置为观察模式原因
|
|
899
|
+
*/
|
|
900
|
+
Reason?: number
|
|
901
|
+
}
|
|
902
|
+
|
|
828
903
|
/**
|
|
829
904
|
* saas域名详情
|
|
830
905
|
*/
|
|
@@ -1091,6 +1166,21 @@ export interface DescribeIpAccessControlRequest {
|
|
|
1091
1166
|
Ip?: string
|
|
1092
1167
|
}
|
|
1093
1168
|
|
|
1169
|
+
/**
|
|
1170
|
+
* ModifyAreaBanStatus请求参数结构体
|
|
1171
|
+
*/
|
|
1172
|
+
export interface ModifyAreaBanStatusRequest {
|
|
1173
|
+
/**
|
|
1174
|
+
* 修要修改的域名
|
|
1175
|
+
*/
|
|
1176
|
+
Domain: string
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* 状态值,0表示关闭,1表示开启
|
|
1180
|
+
*/
|
|
1181
|
+
Status: number
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1094
1184
|
/**
|
|
1095
1185
|
* AddSpartaProtection请求参数结构体
|
|
1096
1186
|
*/
|
|
@@ -1336,6 +1426,31 @@ export interface DeleteIpAccessControlRequest {
|
|
|
1336
1426
|
SourceType?: string
|
|
1337
1427
|
}
|
|
1338
1428
|
|
|
1429
|
+
/**
|
|
1430
|
+
* 攻击日志详情
|
|
1431
|
+
*/
|
|
1432
|
+
export interface AttackLogInfo {
|
|
1433
|
+
/**
|
|
1434
|
+
* 攻击日志的详情内容
|
|
1435
|
+
*/
|
|
1436
|
+
Content: string
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* CLS返回内容
|
|
1440
|
+
*/
|
|
1441
|
+
FileName: string
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* CLS返回内容
|
|
1445
|
+
*/
|
|
1446
|
+
Source: string
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* CLS返回内容
|
|
1450
|
+
*/
|
|
1451
|
+
TimeStamp: string
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1339
1454
|
/**
|
|
1340
1455
|
* DeleteDomainWhiteRules返回参数结构体
|
|
1341
1456
|
*/
|
|
@@ -1734,6 +1849,41 @@ export interface ModifyWafAutoDenyRulesResponse {
|
|
|
1734
1849
|
RequestId?: string
|
|
1735
1850
|
}
|
|
1736
1851
|
|
|
1852
|
+
/**
|
|
1853
|
+
* SearchAttackLog返回参数结构体
|
|
1854
|
+
*/
|
|
1855
|
+
export interface SearchAttackLogResponse {
|
|
1856
|
+
/**
|
|
1857
|
+
* 当前返回的攻击日志条数
|
|
1858
|
+
*/
|
|
1859
|
+
Count?: number
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* 翻页游标,如果没有下一页了,这个参数为空""
|
|
1863
|
+
*/
|
|
1864
|
+
Context?: string
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
* 攻击日志数组条目内容
|
|
1868
|
+
*/
|
|
1869
|
+
Data?: Array<AttackLogInfo>
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* CLS接口返回内容
|
|
1873
|
+
*/
|
|
1874
|
+
ListOver?: boolean
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* CLS接口返回内容,标志是否启动新版本索引
|
|
1878
|
+
*/
|
|
1879
|
+
SqlFlag?: boolean
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1883
|
+
*/
|
|
1884
|
+
RequestId?: string
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1737
1887
|
/**
|
|
1738
1888
|
* DescribeInstances请求参数结构体
|
|
1739
1889
|
*/
|
|
@@ -2151,6 +2301,16 @@ export interface FraudPkg {
|
|
|
2151
2301
|
UsedNum?: number
|
|
2152
2302
|
}
|
|
2153
2303
|
|
|
2304
|
+
/**
|
|
2305
|
+
* ModifyAreaBanStatus返回参数结构体
|
|
2306
|
+
*/
|
|
2307
|
+
export interface ModifyAreaBanStatusResponse {
|
|
2308
|
+
/**
|
|
2309
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2310
|
+
*/
|
|
2311
|
+
RequestId?: string
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2154
2314
|
/**
|
|
2155
2315
|
* ModifyDomainWhiteRule返回参数结构体
|
|
2156
2316
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.532";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeResultDownloadResponse, DescribeTaskResultResponse, AlterDMSTableResponse, DescribeDatabasesRequest, DeleteUserRequest, ListTaskJobLogDetailResponse, CreateResultDownloadResponse, CreateDMSDatabaseResponse, CreateStoreLocationResponse,
|
|
3
|
+
import { DescribeResultDownloadResponse, DescribeTaskResultResponse, AlterDMSTableResponse, DescribeDatabasesRequest, DeleteUserRequest, ListTaskJobLogDetailResponse, CreateResultDownloadResponse, CreateDMSDatabaseResponse, CreateStoreLocationResponse, DescribeNotebookSessionResponse, DescribeDMSDatabaseResponse, DropDMSDatabaseRequest, CreateScriptResponse, CreateTasksInOrderResponse, DescribeTablesResponse, SuspendResumeDataEngineResponse, DeleteSparkAppRequest, ModifyUserResponse, DeleteScriptResponse, DetachUserPolicyRequest, DescribeSparkAppTasksResponse, DescribeTasksResponse, DescribeDMSTableResponse, DropDMSPartitionsRequest, CreateTasksInOrderRequest, AddDMSPartitionsResponse, DetachWorkGroupPolicyResponse, ModifySparkAppRequest, CreateDatabaseRequest, DescribeDMSTablesResponse, AlterDMSPartitionRequest, CheckLockMetaDataRequest, DescribeSparkAppJobRequest, CreateDatabaseResponse, DescribeTasksRequest, CreateSparkAppTaskRequest, DeleteWorkGroupRequest, UnlockMetaDataRequest, AttachUserPolicyRequest, ListTaskJobLogDetailRequest, AttachWorkGroupPolicyRequest, CreateUserResponse, DeleteUserResponse, DescribeDatabasesResponse, DescribeDMSPartitionsRequest, DescribeSparkAppJobsRequest, CreateDMSTableResponse, CreateNotebookSessionRequest, CreateTaskRequest, DescribeNotebookSessionRequest, CreateTableRequest, DescribeWorkGroupsResponse, CreateImportTaskRequest, DescribeScriptsRequest, DescribeSparkAppJobResponse, DeleteUsersFromWorkGroupResponse, AddUsersToWorkGroupRequest, DescribeStoreLocationRequest, AddUsersToWorkGroupResponse, CreateExportTaskRequest, ReportHeartbeatMetaDataResponse, ReportHeartbeatMetaDataRequest, CreateDMSTableRequest, DropDMSTableRequest, AttachWorkGroupPolicyResponse, ModifyWorkGroupResponse, DescribeDMSTablesRequest, ModifyUserRequest, CreateSparkAppTaskResponse, CancelTaskRequest, BindWorkGroupsToUserResponse, DescribeStoreLocationResponse, DeleteScriptRequest, AddDMSPartitionsRequest, AlterDMSTableRequest, CreateImportTaskResponse, CreateTableResponse, CreateScriptRequest, BindWorkGroupsToUserRequest, DescribeTaskResultRequest, DescribeUsersResponse, CreateUserRequest, ModifyWorkGroupRequest, CancelTaskResponse, UnlockMetaDataResponse, DeleteWorkGroupResponse, DropDMSTableResponse, CreateWorkGroupResponse, DescribeTablesRequest, ModifySparkAppResponse, CreateStoreLocationRequest, AttachUserPolicyResponse, DescribeDMSPartitionsResponse, CreateExportTaskResponse, UnbindWorkGroupsFromUserRequest, DescribeDMSDatabaseRequest, DescribeTableRequest, DropDMSDatabaseResponse, DescribeUsersRequest, DeleteUsersFromWorkGroupRequest, CreateSparkAppResponse, CreateTaskResponse, DeleteSparkAppResponse, AlterDMSPartitionResponse, CreateTasksRequest, SuspendResumeDataEngineRequest, DescribeTableResponse, DescribeSparkAppJobsResponse, DescribeViewsRequest, LockMetaDataRequest, DetachUserPolicyResponse, DescribeWorkGroupsRequest, CreateTasksResponse, CreateNotebookSessionResponse, CreateSparkAppRequest, UnbindWorkGroupsFromUserResponse, DropDMSPartitionsResponse, AlterDMSDatabaseResponse, CreateWorkGroupRequest, DescribeSparkAppTasksRequest, LockMetaDataResponse, CheckLockMetaDataResponse, AlterDMSDatabaseRequest, CreateResultDownloadRequest, CreateDMSDatabaseRequest, DetachWorkGroupPolicyRequest, DescribeDMSTableRequest, DescribeViewsResponse, DescribeScriptsResponse, DescribeResultDownloadRequest } from "./dlc_models";
|
|
4
4
|
/**
|
|
5
5
|
* dlc client
|
|
6
6
|
* @class
|
|
@@ -31,6 +31,10 @@ export declare class Client extends AbstractClient {
|
|
|
31
31
|
* DMS元数据更新表
|
|
32
32
|
*/
|
|
33
33
|
AlterDMSTable(req: AlterDMSTableRequest, cb?: (error: string, rep: AlterDMSTableResponse) => void): Promise<AlterDMSTableResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 本接口(DescribeNotebookSession)用于获取notebook livy session详情信息
|
|
36
|
+
*/
|
|
37
|
+
DescribeNotebookSession(req: DescribeNotebookSessionRequest, cb?: (error: string, rep: DescribeNotebookSessionResponse) => void): Promise<DescribeNotebookSessionResponse>;
|
|
34
38
|
/**
|
|
35
39
|
* DMS元数据删除库
|
|
36
40
|
*/
|
|
@@ -64,9 +68,9 @@ export declare class Client extends AbstractClient {
|
|
|
64
68
|
*/
|
|
65
69
|
DeleteSparkApp(req: DeleteSparkAppRequest, cb?: (error: string, rep: DeleteSparkAppResponse) => void): Promise<DeleteSparkAppResponse>;
|
|
66
70
|
/**
|
|
67
|
-
*
|
|
71
|
+
* 本接口(CreateNotebookSession)用于创建notebook livy session
|
|
68
72
|
*/
|
|
69
|
-
|
|
73
|
+
CreateNotebookSession(req: CreateNotebookSessionRequest, cb?: (error: string, rep: CreateNotebookSessionResponse) => void): Promise<CreateNotebookSessionResponse>;
|
|
70
74
|
/**
|
|
71
75
|
* 本接口(CreateTasks),用于批量创建任务
|
|
72
76
|
*/
|
|
@@ -123,6 +127,10 @@ export declare class Client extends AbstractClient {
|
|
|
123
127
|
* 解绑用户上的用户组
|
|
124
128
|
*/
|
|
125
129
|
UnbindWorkGroupsFromUser(req: UnbindWorkGroupsFromUserRequest, cb?: (error: string, rep: UnbindWorkGroupsFromUserResponse) => void): Promise<UnbindWorkGroupsFromUserResponse>;
|
|
130
|
+
/**
|
|
131
|
+
* 获取用户列表信息
|
|
132
|
+
*/
|
|
133
|
+
DescribeUsers(req: DescribeUsersRequest, cb?: (error: string, rep: DescribeUsersResponse) => void): Promise<DescribeUsersResponse>;
|
|
126
134
|
/**
|
|
127
135
|
* 绑定鉴权策略到工作组
|
|
128
136
|
*/
|
|
@@ -63,6 +63,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
63
63
|
async AlterDMSTable(req, cb) {
|
|
64
64
|
return this.request("AlterDMSTable", req, cb);
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* 本接口(DescribeNotebookSession)用于获取notebook livy session详情信息
|
|
68
|
+
*/
|
|
69
|
+
async DescribeNotebookSession(req, cb) {
|
|
70
|
+
return this.request("DescribeNotebookSession", req, cb);
|
|
71
|
+
}
|
|
66
72
|
/**
|
|
67
73
|
* DMS元数据删除库
|
|
68
74
|
*/
|
|
@@ -112,10 +118,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
112
118
|
return this.request("DeleteSparkApp", req, cb);
|
|
113
119
|
}
|
|
114
120
|
/**
|
|
115
|
-
*
|
|
121
|
+
* 本接口(CreateNotebookSession)用于创建notebook livy session
|
|
116
122
|
*/
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
123
|
+
async CreateNotebookSession(req, cb) {
|
|
124
|
+
return this.request("CreateNotebookSession", req, cb);
|
|
119
125
|
}
|
|
120
126
|
/**
|
|
121
127
|
* 本接口(CreateTasks),用于批量创建任务
|
|
@@ -201,6 +207,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
201
207
|
async UnbindWorkGroupsFromUser(req, cb) {
|
|
202
208
|
return this.request("UnbindWorkGroupsFromUser", req, cb);
|
|
203
209
|
}
|
|
210
|
+
/**
|
|
211
|
+
* 获取用户列表信息
|
|
212
|
+
*/
|
|
213
|
+
async DescribeUsers(req, cb) {
|
|
214
|
+
return this.request("DescribeUsers", req, cb);
|
|
215
|
+
}
|
|
204
216
|
/**
|
|
205
217
|
* 绑定鉴权策略到工作组
|
|
206
218
|
*/
|
|
@@ -244,21 +244,17 @@ export interface CreateStoreLocationResponse {
|
|
|
244
244
|
RequestId?: string;
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* DescribeNotebookSession返回参数结构体
|
|
248
248
|
*/
|
|
249
|
-
export interface
|
|
250
|
-
/**
|
|
251
|
-
* 数据源名称
|
|
252
|
-
*/
|
|
253
|
-
DatasourceConnectionName?: string;
|
|
249
|
+
export interface DescribeNotebookSessionResponse {
|
|
254
250
|
/**
|
|
255
|
-
*
|
|
251
|
+
* Session详情信息
|
|
256
252
|
*/
|
|
257
|
-
|
|
253
|
+
Session?: NotebookSessionInfo;
|
|
258
254
|
/**
|
|
259
|
-
*
|
|
255
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
260
256
|
*/
|
|
261
|
-
|
|
257
|
+
RequestId?: string;
|
|
262
258
|
}
|
|
263
259
|
/**
|
|
264
260
|
* DescribeDMSDatabase返回参数结构体
|
|
@@ -1350,13 +1346,21 @@ export interface DeleteUserResponse {
|
|
|
1350
1346
|
RequestId?: string;
|
|
1351
1347
|
}
|
|
1352
1348
|
/**
|
|
1353
|
-
*
|
|
1349
|
+
* DescribeDatabases返回参数结构体
|
|
1354
1350
|
*/
|
|
1355
|
-
export interface
|
|
1351
|
+
export interface DescribeDatabasesResponse {
|
|
1356
1352
|
/**
|
|
1357
|
-
*
|
|
1353
|
+
* 数据库对象列表。
|
|
1358
1354
|
*/
|
|
1359
|
-
|
|
1355
|
+
DatabaseList: Array<DatabaseResponseInfo>;
|
|
1356
|
+
/**
|
|
1357
|
+
* 实例总数。
|
|
1358
|
+
*/
|
|
1359
|
+
TotalCount: number;
|
|
1360
|
+
/**
|
|
1361
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1362
|
+
*/
|
|
1363
|
+
RequestId?: string;
|
|
1360
1364
|
}
|
|
1361
1365
|
/**
|
|
1362
1366
|
* 元数据加锁内容
|
|
@@ -1490,6 +1494,67 @@ export interface CreateDMSTableResponse {
|
|
|
1490
1494
|
*/
|
|
1491
1495
|
RequestId?: string;
|
|
1492
1496
|
}
|
|
1497
|
+
/**
|
|
1498
|
+
* CreateNotebookSession请求参数结构体
|
|
1499
|
+
*/
|
|
1500
|
+
export interface CreateNotebookSessionRequest {
|
|
1501
|
+
/**
|
|
1502
|
+
* Session名称
|
|
1503
|
+
*/
|
|
1504
|
+
Name: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* 类型,当前支持:spark、pyspark、sparkr、sql
|
|
1507
|
+
*/
|
|
1508
|
+
Kind: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* DLC Spark作业引擎名称
|
|
1511
|
+
*/
|
|
1512
|
+
DataEngineName: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* session文件地址,当前支持:cosn://和lakefs://两种路径
|
|
1515
|
+
*/
|
|
1516
|
+
ProgramDependentFiles?: Array<string>;
|
|
1517
|
+
/**
|
|
1518
|
+
* 依赖的jar程序地址,当前支持:cosn://和lakefs://两种路径
|
|
1519
|
+
*/
|
|
1520
|
+
ProgramDependentJars?: Array<string>;
|
|
1521
|
+
/**
|
|
1522
|
+
* 依赖的python程序地址,当前支持:cosn://和lakefs://两种路径
|
|
1523
|
+
*/
|
|
1524
|
+
ProgramDependentPython?: Array<string>;
|
|
1525
|
+
/**
|
|
1526
|
+
* 依赖的pyspark虚拟环境地址,当前支持:cosn://和lakefs://两种路径
|
|
1527
|
+
*/
|
|
1528
|
+
ProgramArchives?: Array<string>;
|
|
1529
|
+
/**
|
|
1530
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1531
|
+
*/
|
|
1532
|
+
DriverSize?: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1535
|
+
*/
|
|
1536
|
+
ExecutorSize?: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* 指定的Executor数量,默认为1
|
|
1539
|
+
*/
|
|
1540
|
+
ExecutorNumbers?: number;
|
|
1541
|
+
/**
|
|
1542
|
+
* Session相关配置,当前支持:dlc.eni、dlc.role.arn、dlc.sql.set.config以及用户指定的配置,注:roleArn必填;
|
|
1543
|
+
*/
|
|
1544
|
+
Arguments?: Array<KVPair>;
|
|
1545
|
+
/**
|
|
1546
|
+
* 代理用户,默认为root
|
|
1547
|
+
*/
|
|
1548
|
+
ProxyUser?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* 指定的Session超时时间,单位秒,默认3600秒
|
|
1551
|
+
*/
|
|
1552
|
+
TimeoutInSecond?: number;
|
|
1553
|
+
/**
|
|
1554
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
|
|
1555
|
+
*/
|
|
1556
|
+
ExecutorMaxNumbers?: number;
|
|
1557
|
+
}
|
|
1493
1558
|
/**
|
|
1494
1559
|
* 数据表分块信息。
|
|
1495
1560
|
*/
|
|
@@ -1544,13 +1609,13 @@ export interface CreateTaskRequest {
|
|
|
1544
1609
|
DataEngineName?: string;
|
|
1545
1610
|
}
|
|
1546
1611
|
/**
|
|
1547
|
-
*
|
|
1612
|
+
* DescribeNotebookSession请求参数结构体
|
|
1548
1613
|
*/
|
|
1549
|
-
export interface
|
|
1614
|
+
export interface DescribeNotebookSessionRequest {
|
|
1550
1615
|
/**
|
|
1551
|
-
*
|
|
1616
|
+
* Session唯一标识
|
|
1552
1617
|
*/
|
|
1553
|
-
|
|
1618
|
+
SessionId: string;
|
|
1554
1619
|
}
|
|
1555
1620
|
/**
|
|
1556
1621
|
* CSV类型数据格式
|
|
@@ -1775,6 +1840,23 @@ export interface ReportHeartbeatMetaDataResponse {
|
|
|
1775
1840
|
*/
|
|
1776
1841
|
RequestId?: string;
|
|
1777
1842
|
}
|
|
1843
|
+
/**
|
|
1844
|
+
* ReportHeartbeatMetaData请求参数结构体
|
|
1845
|
+
*/
|
|
1846
|
+
export interface ReportHeartbeatMetaDataRequest {
|
|
1847
|
+
/**
|
|
1848
|
+
* 数据源名称
|
|
1849
|
+
*/
|
|
1850
|
+
DatasourceConnectionName?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* 锁ID
|
|
1853
|
+
*/
|
|
1854
|
+
LockId?: number;
|
|
1855
|
+
/**
|
|
1856
|
+
* 事务ID
|
|
1857
|
+
*/
|
|
1858
|
+
TxnId?: number;
|
|
1859
|
+
}
|
|
1778
1860
|
/**
|
|
1779
1861
|
* CreateDMSTable请求参数结构体
|
|
1780
1862
|
*/
|
|
@@ -2474,6 +2556,105 @@ export interface CreateImportTaskResponse {
|
|
|
2474
2556
|
*/
|
|
2475
2557
|
RequestId?: string;
|
|
2476
2558
|
}
|
|
2559
|
+
/**
|
|
2560
|
+
* Notebook Session详细信息。
|
|
2561
|
+
*/
|
|
2562
|
+
export interface NotebookSessionInfo {
|
|
2563
|
+
/**
|
|
2564
|
+
* Session名称
|
|
2565
|
+
*/
|
|
2566
|
+
Name: string;
|
|
2567
|
+
/**
|
|
2568
|
+
* 类型,当前支持:spark、pyspark、sparkr、sql
|
|
2569
|
+
*/
|
|
2570
|
+
Kind: string;
|
|
2571
|
+
/**
|
|
2572
|
+
* DLC Spark作业引擎名称
|
|
2573
|
+
*/
|
|
2574
|
+
DataEngineName: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* Session相关配置,当前支持:eni、roleArn以及用户指定的配置
|
|
2577
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2578
|
+
*/
|
|
2579
|
+
Arguments: Array<KVPair>;
|
|
2580
|
+
/**
|
|
2581
|
+
* 运行程序地址,当前支持:cosn://和lakefs://两种路径
|
|
2582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2583
|
+
*/
|
|
2584
|
+
ProgramDependentFiles: Array<string>;
|
|
2585
|
+
/**
|
|
2586
|
+
* 依赖的jar程序地址,当前支持:cosn://和lakefs://两种路径
|
|
2587
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2588
|
+
*/
|
|
2589
|
+
ProgramDependentJars: Array<string>;
|
|
2590
|
+
/**
|
|
2591
|
+
* 依赖的python程序地址,当前支持:cosn://和lakefs://两种路径
|
|
2592
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2593
|
+
*/
|
|
2594
|
+
ProgramDependentPython: Array<string>;
|
|
2595
|
+
/**
|
|
2596
|
+
* 依赖的pyspark虚拟环境地址,当前支持:cosn://和lakefs://两种路径
|
|
2597
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2598
|
+
*/
|
|
2599
|
+
ProgramArchives: Array<string>;
|
|
2600
|
+
/**
|
|
2601
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
2602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2603
|
+
*/
|
|
2604
|
+
DriverSize: string;
|
|
2605
|
+
/**
|
|
2606
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
2607
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2608
|
+
*/
|
|
2609
|
+
ExecutorSize: string;
|
|
2610
|
+
/**
|
|
2611
|
+
* 指定的Executor数量,默认为1
|
|
2612
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2613
|
+
*/
|
|
2614
|
+
ExecutorNumbers: number;
|
|
2615
|
+
/**
|
|
2616
|
+
* 代理用户,默认为root
|
|
2617
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2618
|
+
*/
|
|
2619
|
+
ProxyUser: string;
|
|
2620
|
+
/**
|
|
2621
|
+
* 指定的Session超时时间,单位秒,默认3600秒
|
|
2622
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2623
|
+
*/
|
|
2624
|
+
TimeoutInSecond: number;
|
|
2625
|
+
/**
|
|
2626
|
+
* Spark任务返回的AppId
|
|
2627
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2628
|
+
*/
|
|
2629
|
+
SparkAppId: string;
|
|
2630
|
+
/**
|
|
2631
|
+
* Session唯一标识
|
|
2632
|
+
*/
|
|
2633
|
+
SessionId: string;
|
|
2634
|
+
/**
|
|
2635
|
+
* Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
|
2636
|
+
*/
|
|
2637
|
+
State: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* Session创建时间
|
|
2640
|
+
*/
|
|
2641
|
+
CreateTime: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* 其它信息
|
|
2644
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2645
|
+
*/
|
|
2646
|
+
AppInfo: Array<KVPair>;
|
|
2647
|
+
/**
|
|
2648
|
+
* Spark ui地址
|
|
2649
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2650
|
+
*/
|
|
2651
|
+
SparkUiUrl: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
|
|
2654
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2655
|
+
*/
|
|
2656
|
+
ExecutorMaxNumbers?: number;
|
|
2657
|
+
}
|
|
2477
2658
|
/**
|
|
2478
2659
|
* SQL语句对象
|
|
2479
2660
|
*/
|
|
@@ -2974,22 +3155,23 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
|
2974
3155
|
TableFormat?: string;
|
|
2975
3156
|
}
|
|
2976
3157
|
/**
|
|
2977
|
-
*
|
|
3158
|
+
* ModifySparkApp返回参数结构体
|
|
2978
3159
|
*/
|
|
2979
|
-
export interface
|
|
2980
|
-
/**
|
|
2981
|
-
* 数据库对象列表。
|
|
2982
|
-
*/
|
|
2983
|
-
DatabaseList: Array<DatabaseResponseInfo>;
|
|
2984
|
-
/**
|
|
2985
|
-
* 实例总数。
|
|
2986
|
-
*/
|
|
2987
|
-
TotalCount: number;
|
|
3160
|
+
export interface ModifySparkAppResponse {
|
|
2988
3161
|
/**
|
|
2989
3162
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2990
3163
|
*/
|
|
2991
3164
|
RequestId?: string;
|
|
2992
3165
|
}
|
|
3166
|
+
/**
|
|
3167
|
+
* CreateStoreLocation请求参数结构体
|
|
3168
|
+
*/
|
|
3169
|
+
export interface CreateStoreLocationRequest {
|
|
3170
|
+
/**
|
|
3171
|
+
* 计算结果存储cos路径,如:cosn://bucketname/
|
|
3172
|
+
*/
|
|
3173
|
+
StoreLocation: string;
|
|
3174
|
+
}
|
|
2993
3175
|
/**
|
|
2994
3176
|
* DMSTable信息
|
|
2995
3177
|
*/
|
|
@@ -3647,6 +3829,28 @@ export interface CreateTasksResponse {
|
|
|
3647
3829
|
*/
|
|
3648
3830
|
RequestId?: string;
|
|
3649
3831
|
}
|
|
3832
|
+
/**
|
|
3833
|
+
* CreateNotebookSession返回参数结构体
|
|
3834
|
+
*/
|
|
3835
|
+
export interface CreateNotebookSessionResponse {
|
|
3836
|
+
/**
|
|
3837
|
+
* Session唯一标识
|
|
3838
|
+
*/
|
|
3839
|
+
SessionId?: string;
|
|
3840
|
+
/**
|
|
3841
|
+
* Spark任务返回的AppId
|
|
3842
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3843
|
+
*/
|
|
3844
|
+
SparkAppId?: string;
|
|
3845
|
+
/**
|
|
3846
|
+
* Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
|
3847
|
+
*/
|
|
3848
|
+
State?: string;
|
|
3849
|
+
/**
|
|
3850
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3851
|
+
*/
|
|
3852
|
+
RequestId?: string;
|
|
3853
|
+
}
|
|
3650
3854
|
/**
|
|
3651
3855
|
* CreateSparkApp请求参数结构体
|
|
3652
3856
|
*/
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CancelFlowResponse, DescribeFlowEvidenceReportRequest, CreateSchemeUrlRequest, CreateFlowApproversResponse,
|
|
3
|
+
import { CancelFlowResponse, DescribeFlowEvidenceReportRequest, CreateSchemeUrlRequest, CreateFlowApproversResponse, DescribeIntegrationMainOrganizationUserRequest, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, CreateIntegrationEmployeesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateConvertTaskApiRequest, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, DescribeFlowTemplatesRequest, DescribeFlowEvidenceReportResponse, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, CreateFlowRequest, DescribeThirdPartyAuthCodeRequest, DescribeFlowInfoRequest, CreateBatchCancelFlowUrlResponse, DescribeIntegrationEmployeesResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, CreateFlowByFilesRequest, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreateFlowApproversRequest, CreateFlowEvidenceReportResponse, DescribeFileUrlsResponse, CreateDocumentRequest, DescribeOrganizationSealsResponse, DeleteIntegrationEmployeesRequest, GetTaskResultApiRequest, CreateFlowSignUrlRequest, CreateIntegrationEmployeesResponse, CreateFlowByFilesResponse, UploadFilesResponse, VerifyPdfRequest, CreateFlowSignReviewResponse, DescribeIntegrationMainOrganizationUserResponse, CreateSchemeUrlResponse, CreatePrepareFlowResponse, GetTaskResultApiResponse, CancelMultiFlowSignQRCodeRequest, StartFlowRequest, CreatePrepareFlowRequest, DeleteIntegrationEmployeesResponse, DescribeOrganizationSealsRequest, CancelFlowRequest, CreateFlowRemindsRequest, DescribeFlowBriefsRequest, VerifyPdfResponse, DescribeFlowBriefsResponse, DescribeFlowTemplatesResponse, UploadFilesRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, DescribeFlowInfoResponse, CreateFlowResponse, DescribeOrganizationGroupOrganizationsResponse, CancelMultiFlowSignQRCodeResponse } from "./ess_models";
|
|
4
4
|
/**
|
|
5
5
|
* ess client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 此API接口用户查询加入集团的成员企业
|
|
12
|
+
*/
|
|
13
|
+
DescribeOrganizationGroupOrganizations(req: DescribeOrganizationGroupOrganizationsRequest, cb?: (error: string, rep: DescribeOrganizationGroupOrganizationsResponse) => void): Promise<DescribeOrganizationGroupOrganizationsResponse>;
|
|
10
14
|
/**
|
|
11
15
|
* 此接口用于发起流程
|
|
12
16
|
适用场景:见创建签署流程接口。
|
|
@@ -136,6 +140,10 @@ export declare class Client extends AbstractClient {
|
|
|
136
140
|
该接口需要开白后使用
|
|
137
141
|
*/
|
|
138
142
|
CreateFlowReminds(req: CreateFlowRemindsRequest, cb?: (error: string, rep: CreateFlowRemindsResponse) => void): Promise<CreateFlowRemindsResponse>;
|
|
143
|
+
/**
|
|
144
|
+
* 通过子企业影子账号查询主企业员工账号
|
|
145
|
+
*/
|
|
146
|
+
DescribeIntegrationMainOrganizationUser(req: DescribeIntegrationMainOrganizationUserRequest, cb?: (error: string, rep: DescribeIntegrationMainOrganizationUserResponse) => void): Promise<DescribeIntegrationMainOrganizationUserResponse>;
|
|
139
147
|
/**
|
|
140
148
|
* 通过AuthCode查询用户是否实名
|
|
141
149
|
*/
|