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.
Files changed (29) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/SERVICE_CHANGELOG.md +143 -16
  3. package/package.json +1 -1
  4. package/products.md +11 -11
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/dlc/v20210125/dlc_client.ts +35 -10
  7. package/src/services/dlc/v20210125/dlc_models.ts +275 -30
  8. package/src/services/ecm/v20190719/ecm_models.ts +1 -1
  9. package/src/services/ess/v20201111/ess_client.ts +31 -4
  10. package/src/services/ess/v20201111/ess_models.ts +299 -71
  11. package/src/services/vpc/v20170312/vpc_models.ts +5 -0
  12. package/src/services/waf/v20180125/waf_client.ts +37 -0
  13. package/src/services/waf/v20180125/waf_models.ts +160 -0
  14. package/tencentcloud/common/sdk_version.d.ts +1 -1
  15. package/tencentcloud/common/sdk_version.js +1 -1
  16. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +11 -3
  17. package/tencentcloud/services/dlc/v20210125/dlc_client.js +15 -3
  18. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +232 -28
  19. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +1 -1
  20. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
  21. package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
  22. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +259 -65
  23. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
  24. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -1
  25. package/tencentcloud/services/waf/v20180125/waf_client.js +18 -0
  26. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +135 -0
  27. package/test/dlc.v20210125.test.js +22 -2
  28. package/test/ess.v20201111.test.js +20 -0
  29. package/test/waf.v20180125.test.js +30 -0
@@ -305,23 +305,18 @@ export interface CreateStoreLocationResponse {
305
305
  }
306
306
 
307
307
  /**
308
- * ReportHeartbeatMetaData请求参数结构体
308
+ * DescribeNotebookSession返回参数结构体
309
309
  */
310
- export interface ReportHeartbeatMetaDataRequest {
311
- /**
312
- * 数据源名称
313
- */
314
- DatasourceConnectionName?: string
315
-
310
+ export interface DescribeNotebookSessionResponse {
316
311
  /**
317
- * 锁ID
312
+ * Session详情信息
318
313
  */
319
- LockId?: number
314
+ Session?: NotebookSessionInfo
320
315
 
321
316
  /**
322
- * 事务ID
317
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
323
318
  */
324
- TxnId?: number
319
+ RequestId?: string
325
320
  }
326
321
 
327
322
  /**
@@ -1620,13 +1615,23 @@ export interface DeleteUserResponse {
1620
1615
  }
1621
1616
 
1622
1617
  /**
1623
- * CreateStoreLocation请求参数结构体
1618
+ * DescribeDatabases返回参数结构体
1624
1619
  */
1625
- export interface CreateStoreLocationRequest {
1620
+ export interface DescribeDatabasesResponse {
1626
1621
  /**
1627
- * 计算结果存储cos路径,如:cosn://bucketname/
1622
+ * 数据库对象列表。
1628
1623
  */
1629
- StoreLocation: string
1624
+ DatabaseList: Array<DatabaseResponseInfo>
1625
+
1626
+ /**
1627
+ * 实例总数。
1628
+ */
1629
+ TotalCount: number
1630
+
1631
+ /**
1632
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1633
+ */
1634
+ RequestId?: string
1630
1635
  }
1631
1636
 
1632
1637
  /**
@@ -1789,6 +1794,81 @@ export interface CreateDMSTableResponse {
1789
1794
  RequestId?: string
1790
1795
  }
1791
1796
 
1797
+ /**
1798
+ * CreateNotebookSession请求参数结构体
1799
+ */
1800
+ export interface CreateNotebookSessionRequest {
1801
+ /**
1802
+ * Session名称
1803
+ */
1804
+ Name: string
1805
+
1806
+ /**
1807
+ * 类型,当前支持:spark、pyspark、sparkr、sql
1808
+ */
1809
+ Kind: string
1810
+
1811
+ /**
1812
+ * DLC Spark作业引擎名称
1813
+ */
1814
+ DataEngineName: string
1815
+
1816
+ /**
1817
+ * session文件地址,当前支持:cosn://和lakefs://两种路径
1818
+ */
1819
+ ProgramDependentFiles?: Array<string>
1820
+
1821
+ /**
1822
+ * 依赖的jar程序地址,当前支持:cosn://和lakefs://两种路径
1823
+ */
1824
+ ProgramDependentJars?: Array<string>
1825
+
1826
+ /**
1827
+ * 依赖的python程序地址,当前支持:cosn://和lakefs://两种路径
1828
+ */
1829
+ ProgramDependentPython?: Array<string>
1830
+
1831
+ /**
1832
+ * 依赖的pyspark虚拟环境地址,当前支持:cosn://和lakefs://两种路径
1833
+ */
1834
+ ProgramArchives?: Array<string>
1835
+
1836
+ /**
1837
+ * 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
1838
+ */
1839
+ DriverSize?: string
1840
+
1841
+ /**
1842
+ * 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
1843
+ */
1844
+ ExecutorSize?: string
1845
+
1846
+ /**
1847
+ * 指定的Executor数量,默认为1
1848
+ */
1849
+ ExecutorNumbers?: number
1850
+
1851
+ /**
1852
+ * Session相关配置,当前支持:dlc.eni、dlc.role.arn、dlc.sql.set.config以及用户指定的配置,注:roleArn必填;
1853
+ */
1854
+ Arguments?: Array<KVPair>
1855
+
1856
+ /**
1857
+ * 代理用户,默认为root
1858
+ */
1859
+ ProxyUser?: string
1860
+
1861
+ /**
1862
+ * 指定的Session超时时间,单位秒,默认3600秒
1863
+ */
1864
+ TimeoutInSecond?: number
1865
+
1866
+ /**
1867
+ * 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
1868
+ */
1869
+ ExecutorMaxNumbers?: number
1870
+ }
1871
+
1792
1872
  /**
1793
1873
  * 数据表分块信息。
1794
1874
  */
@@ -1853,13 +1933,13 @@ export interface CreateTaskRequest {
1853
1933
  }
1854
1934
 
1855
1935
  /**
1856
- * ModifySparkApp返回参数结构体
1936
+ * DescribeNotebookSession请求参数结构体
1857
1937
  */
1858
- export interface ModifySparkAppResponse {
1938
+ export interface DescribeNotebookSessionRequest {
1859
1939
  /**
1860
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1940
+ * Session唯一标识
1861
1941
  */
1862
- RequestId?: string
1942
+ SessionId: string
1863
1943
  }
1864
1944
 
1865
1945
  /**
@@ -2123,6 +2203,26 @@ export interface ReportHeartbeatMetaDataResponse {
2123
2203
  RequestId?: string
2124
2204
  }
2125
2205
 
2206
+ /**
2207
+ * ReportHeartbeatMetaData请求参数结构体
2208
+ */
2209
+ export interface ReportHeartbeatMetaDataRequest {
2210
+ /**
2211
+ * 数据源名称
2212
+ */
2213
+ DatasourceConnectionName?: string
2214
+
2215
+ /**
2216
+ * 锁ID
2217
+ */
2218
+ LockId?: number
2219
+
2220
+ /**
2221
+ * 事务ID
2222
+ */
2223
+ TxnId?: number
2224
+ }
2225
+
2126
2226
  /**
2127
2227
  * CreateDMSTable请求参数结构体
2128
2228
  */
@@ -2959,6 +3059,125 @@ export interface CreateImportTaskResponse {
2959
3059
  RequestId?: string
2960
3060
  }
2961
3061
 
3062
+ /**
3063
+ * Notebook Session详细信息。
3064
+ */
3065
+ export interface NotebookSessionInfo {
3066
+ /**
3067
+ * Session名称
3068
+ */
3069
+ Name: string
3070
+
3071
+ /**
3072
+ * 类型,当前支持:spark、pyspark、sparkr、sql
3073
+ */
3074
+ Kind: string
3075
+
3076
+ /**
3077
+ * DLC Spark作业引擎名称
3078
+ */
3079
+ DataEngineName: string
3080
+
3081
+ /**
3082
+ * Session相关配置,当前支持:eni、roleArn以及用户指定的配置
3083
+ 注意:此字段可能返回 null,表示取不到有效值。
3084
+ */
3085
+ Arguments: Array<KVPair>
3086
+
3087
+ /**
3088
+ * 运行程序地址,当前支持:cosn://和lakefs://两种路径
3089
+ 注意:此字段可能返回 null,表示取不到有效值。
3090
+ */
3091
+ ProgramDependentFiles: Array<string>
3092
+
3093
+ /**
3094
+ * 依赖的jar程序地址,当前支持:cosn://和lakefs://两种路径
3095
+ 注意:此字段可能返回 null,表示取不到有效值。
3096
+ */
3097
+ ProgramDependentJars: Array<string>
3098
+
3099
+ /**
3100
+ * 依赖的python程序地址,当前支持:cosn://和lakefs://两种路径
3101
+ 注意:此字段可能返回 null,表示取不到有效值。
3102
+ */
3103
+ ProgramDependentPython: Array<string>
3104
+
3105
+ /**
3106
+ * 依赖的pyspark虚拟环境地址,当前支持:cosn://和lakefs://两种路径
3107
+ 注意:此字段可能返回 null,表示取不到有效值。
3108
+ */
3109
+ ProgramArchives: Array<string>
3110
+
3111
+ /**
3112
+ * 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
3113
+ 注意:此字段可能返回 null,表示取不到有效值。
3114
+ */
3115
+ DriverSize: string
3116
+
3117
+ /**
3118
+ * 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
3119
+ 注意:此字段可能返回 null,表示取不到有效值。
3120
+ */
3121
+ ExecutorSize: string
3122
+
3123
+ /**
3124
+ * 指定的Executor数量,默认为1
3125
+ 注意:此字段可能返回 null,表示取不到有效值。
3126
+ */
3127
+ ExecutorNumbers: number
3128
+
3129
+ /**
3130
+ * 代理用户,默认为root
3131
+ 注意:此字段可能返回 null,表示取不到有效值。
3132
+ */
3133
+ ProxyUser: string
3134
+
3135
+ /**
3136
+ * 指定的Session超时时间,单位秒,默认3600秒
3137
+ 注意:此字段可能返回 null,表示取不到有效值。
3138
+ */
3139
+ TimeoutInSecond: number
3140
+
3141
+ /**
3142
+ * Spark任务返回的AppId
3143
+ 注意:此字段可能返回 null,表示取不到有效值。
3144
+ */
3145
+ SparkAppId: string
3146
+
3147
+ /**
3148
+ * Session唯一标识
3149
+ */
3150
+ SessionId: string
3151
+
3152
+ /**
3153
+ * Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
3154
+ */
3155
+ State: string
3156
+
3157
+ /**
3158
+ * Session创建时间
3159
+ */
3160
+ CreateTime: string
3161
+
3162
+ /**
3163
+ * 其它信息
3164
+ 注意:此字段可能返回 null,表示取不到有效值。
3165
+ */
3166
+ AppInfo: Array<KVPair>
3167
+
3168
+ /**
3169
+ * Spark ui地址
3170
+ 注意:此字段可能返回 null,表示取不到有效值。
3171
+ */
3172
+ SparkUiUrl: string
3173
+
3174
+ /**
3175
+ * 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
3176
+ 注意:此字段可能返回 null,表示取不到有效值。
3177
+ */
3178
+ ExecutorMaxNumbers?: number
3179
+ }
3180
+
2962
3181
  /**
2963
3182
  * SQL语句对象
2964
3183
  */
@@ -3551,23 +3770,23 @@ table-id - String - (过滤条件)table id形如:12342。
3551
3770
  }
3552
3771
 
3553
3772
  /**
3554
- * DescribeDatabases返回参数结构体
3773
+ * ModifySparkApp返回参数结构体
3555
3774
  */
3556
- export interface DescribeDatabasesResponse {
3557
- /**
3558
- * 数据库对象列表。
3559
- */
3560
- DatabaseList: Array<DatabaseResponseInfo>
3561
-
3775
+ export interface ModifySparkAppResponse {
3562
3776
  /**
3563
- * 实例总数。
3777
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3564
3778
  */
3565
- TotalCount: number
3779
+ RequestId?: string
3780
+ }
3566
3781
 
3782
+ /**
3783
+ * CreateStoreLocation请求参数结构体
3784
+ */
3785
+ export interface CreateStoreLocationRequest {
3567
3786
  /**
3568
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3787
+ * 计算结果存储cos路径,如:cosn://bucketname/
3569
3788
  */
3570
- RequestId?: string
3789
+ StoreLocation: string
3571
3790
  }
3572
3791
 
3573
3792
  /**
@@ -4344,6 +4563,32 @@ export interface CreateTasksResponse {
4344
4563
  RequestId?: string
4345
4564
  }
4346
4565
 
4566
+ /**
4567
+ * CreateNotebookSession返回参数结构体
4568
+ */
4569
+ export interface CreateNotebookSessionResponse {
4570
+ /**
4571
+ * Session唯一标识
4572
+ */
4573
+ SessionId?: string
4574
+
4575
+ /**
4576
+ * Spark任务返回的AppId
4577
+ 注意:此字段可能返回 null,表示取不到有效值。
4578
+ */
4579
+ SparkAppId?: string
4580
+
4581
+ /**
4582
+ * Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
4583
+ */
4584
+ State?: string
4585
+
4586
+ /**
4587
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4588
+ */
4589
+ RequestId?: string
4590
+ }
4591
+
4347
4592
  /**
4348
4593
  * CreateSparkApp请求参数结构体
4349
4594
  */
@@ -3427,7 +3427,7 @@ export interface CreateKeyPairResponse {
3427
3427
  /**
3428
3428
  * 密钥对信息。
3429
3429
  */
3430
- KeyPair: KeyPair
3430
+ KeyPair?: KeyPair
3431
3431
 
3432
3432
  /**
3433
3433
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -22,9 +22,10 @@ import {
22
22
  DescribeFlowEvidenceReportRequest,
23
23
  Department,
24
24
  CreateSchemeUrlRequest,
25
+ FileInfo,
25
26
  CreateFlowApproversResponse,
26
- UploadFilesRequest,
27
- RemindFlowRecords,
27
+ DescribeIntegrationMainOrganizationUserRequest,
28
+ CreateMultiFlowSignQRCodeResponse,
28
29
  FlowCreateApprover,
29
30
  DescribeThirdPartyAuthCodeResponse,
30
31
  CreateIntegrationEmployeesRequest,
@@ -34,6 +35,7 @@ import {
34
35
  FlowApproverUrlInfo,
35
36
  CreateConvertTaskApiRequest,
36
37
  CreateFlowRemindsResponse,
38
+ DescribeOrganizationGroupOrganizationsRequest,
37
39
  Agent,
38
40
  FlowApproverDetail,
39
41
  DescribeFlowTemplatesRequest,
@@ -67,12 +69,13 @@ import {
67
69
  DescribeFileUrlsResponse,
68
70
  AuthorizedUser,
69
71
  CreateDocumentRequest,
70
- CreateMultiFlowSignQRCodeResponse,
72
+ RemindFlowRecords,
71
73
  DescribeOrganizationSealsResponse,
72
74
  DeleteIntegrationEmployeesRequest,
73
75
  SignQrCode,
74
76
  GetTaskResultApiRequest,
75
77
  RegisterInfo,
78
+ GroupOrganization,
76
79
  CreateFlowSignUrlRequest,
77
80
  CreateIntegrationEmployeesResponse,
78
81
  FlowDetailInfo,
@@ -85,12 +88,13 @@ import {
85
88
  CreateFlowSignReviewResponse,
86
89
  Filter,
87
90
  CreateStaffResult,
88
- FileInfo,
91
+ DescribeIntegrationMainOrganizationUserResponse,
89
92
  CreateSchemeUrlResponse,
90
93
  ApproverRestriction,
91
94
  CreatePrepareFlowResponse,
92
95
  GetTaskResultApiResponse,
93
96
  CancelMultiFlowSignQRCodeRequest,
97
+ IntegrationMainOrganizationUser,
94
98
  StartFlowRequest,
95
99
  CreatePrepareFlowRequest,
96
100
  ApproverOption,
@@ -105,14 +109,17 @@ import {
105
109
  VerifyPdfResponse,
106
110
  DeleteStaffsResult,
107
111
  DescribeFlowBriefsResponse,
112
+ Admin,
108
113
  OccupiedSeal,
109
114
  DescribeFlowTemplatesResponse,
115
+ UploadFilesRequest,
110
116
  CreateBatchCancelFlowUrlRequest,
111
117
  CreateMultiFlowSignQRCodeRequest,
112
118
  DescribeFlowInfoResponse,
113
119
  CcInfo,
114
120
  CreateFlowResponse,
115
121
  FlowBrief,
122
+ DescribeOrganizationGroupOrganizationsResponse,
116
123
  CancelMultiFlowSignQRCodeResponse,
117
124
  } from "./ess_models"
118
125
 
@@ -125,6 +132,16 @@ export class Client extends AbstractClient {
125
132
  super("ess.tencentcloudapi.com", "2020-11-11", clientConfig)
126
133
  }
127
134
 
135
+ /**
136
+ * 此API接口用户查询加入集团的成员企业
137
+ */
138
+ async DescribeOrganizationGroupOrganizations(
139
+ req: DescribeOrganizationGroupOrganizationsRequest,
140
+ cb?: (error: string, rep: DescribeOrganizationGroupOrganizationsResponse) => void
141
+ ): Promise<DescribeOrganizationGroupOrganizationsResponse> {
142
+ return this.request("DescribeOrganizationGroupOrganizations", req, cb)
143
+ }
144
+
128
145
  /**
129
146
  * 此接口用于发起流程
130
147
  适用场景:见创建签署流程接口。
@@ -398,6 +415,16 @@ export class Client extends AbstractClient {
398
415
  return this.request("CreateFlowReminds", req, cb)
399
416
  }
400
417
 
418
+ /**
419
+ * 通过子企业影子账号查询主企业员工账号
420
+ */
421
+ async DescribeIntegrationMainOrganizationUser(
422
+ req: DescribeIntegrationMainOrganizationUserRequest,
423
+ cb?: (error: string, rep: DescribeIntegrationMainOrganizationUserResponse) => void
424
+ ): Promise<DescribeIntegrationMainOrganizationUserResponse> {
425
+ return this.request("DescribeIntegrationMainOrganizationUser", req, cb)
426
+ }
427
+
401
428
  /**
402
429
  * 通过AuthCode查询用户是否实名
403
430
  */