tencentcloud-sdk-nodejs 4.0.708 → 4.0.709

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 (122) hide show
  1. package/CHANGELOG.md +294 -0
  2. package/SERVICE_CHANGELOG.md +393 -137
  3. package/package.json +1 -1
  4. package/products.md +21 -21
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/btoe/index.ts +2 -2
  7. package/src/services/cbs/v20170312/cbs_models.ts +1 -1
  8. package/src/services/cdwpg/v20201230/cdwpg_client.ts +21 -8
  9. package/src/services/cdwpg/v20201230/cdwpg_models.ts +274 -205
  10. package/src/services/cii/index.ts +2 -2
  11. package/src/services/clb/v20180317/clb_client.ts +30 -17
  12. package/src/services/clb/v20180317/clb_models.ts +107 -52
  13. package/src/services/cloudstudio/index.ts +2 -2
  14. package/src/services/cme/v20191029/cme_models.ts +8 -0
  15. package/src/services/cwp/v20180228/cwp_client.ts +2 -2
  16. package/src/services/cwp/v20180228/cwp_models.ts +32 -2
  17. package/src/services/dlc/v20210125/dlc_client.ts +15 -3
  18. package/src/services/dlc/v20210125/dlc_models.ts +72 -57
  19. package/src/services/dts/index.ts +2 -2
  20. package/src/services/ess/v20201111/ess_client.ts +36 -2
  21. package/src/services/essbasic/v20210526/essbasic_client.ts +161 -8
  22. package/src/services/essbasic/v20210526/essbasic_models.ts +129 -51
  23. package/src/services/facefusion/index.ts +2 -2
  24. package/src/services/iotcloud/index.ts +2 -2
  25. package/src/services/iotvideo/index.ts +2 -2
  26. package/src/services/irp/index.ts +2 -2
  27. package/src/services/lcic/v20220817/lcic_client.ts +30 -1
  28. package/src/services/lcic/v20220817/lcic_models.ts +191 -23
  29. package/src/services/mgobe/index.ts +2 -2
  30. package/src/services/oceanus/v20190422/oceanus_client.ts +63 -3
  31. package/src/services/oceanus/v20190422/oceanus_models.ts +207 -55
  32. package/src/services/organization/v20210331/organization_client.ts +57 -9
  33. package/src/services/organization/v20210331/organization_models.ts +192 -74
  34. package/src/services/rce/v20201103/rce_models.ts +7 -7
  35. package/src/services/scf/v20180416/scf_models.ts +1 -1
  36. package/src/services/tbp/index.ts +2 -2
  37. package/src/services/tdmq/v20200217/tdmq_client.ts +14 -1
  38. package/src/services/tdmq/v20200217/tdmq_models.ts +95 -12
  39. package/src/services/teo/index.ts +2 -2
  40. package/src/services/tse/v20201207/tse_client.ts +13 -0
  41. package/src/services/tse/v20201207/tse_models.ts +56 -2
  42. package/src/services/tsw/index.ts +2 -2
  43. package/src/services/vm/index.ts +2 -2
  44. package/src/services/waf/v20180125/waf_client.ts +314 -277
  45. package/src/services/waf/v20180125/waf_models.ts +4528 -4307
  46. package/src/services/wedata/v20210820/wedata_models.ts +6 -1
  47. package/tencentcloud/common/sdk_version.d.ts +1 -1
  48. package/tencentcloud/common/sdk_version.js +1 -1
  49. package/tencentcloud/services/btoe/index.d.ts +4 -4
  50. package/tencentcloud/services/btoe/index.js +2 -2
  51. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +1 -1
  52. package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.d.ts +5 -1
  53. package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.js +6 -0
  54. package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +267 -201
  55. package/tencentcloud/services/cii/index.d.ts +4 -4
  56. package/tencentcloud/services/cii/index.js +2 -2
  57. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +10 -6
  58. package/tencentcloud/services/clb/v20180317/clb_client.js +13 -7
  59. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +104 -52
  60. package/tencentcloud/services/cloudstudio/index.d.ts +4 -4
  61. package/tencentcloud/services/cloudstudio/index.js +2 -2
  62. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +8 -0
  63. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +2 -2
  64. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +32 -2
  65. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
  66. package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
  67. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +70 -57
  68. package/tencentcloud/services/dts/index.d.ts +4 -4
  69. package/tencentcloud/services/dts/index.js +2 -2
  70. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +34 -0
  71. package/tencentcloud/services/ess/v20201111/ess_client.js +34 -0
  72. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +158 -5
  73. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +158 -5
  74. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +126 -48
  75. package/tencentcloud/services/facefusion/index.d.ts +4 -4
  76. package/tencentcloud/services/facefusion/index.js +2 -2
  77. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  78. package/tencentcloud/services/iotcloud/index.js +2 -2
  79. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  80. package/tencentcloud/services/iotvideo/index.js +2 -2
  81. package/tencentcloud/services/irp/index.d.ts +4 -4
  82. package/tencentcloud/services/irp/index.js +2 -2
  83. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +9 -1
  84. package/tencentcloud/services/lcic/v20220817/lcic_client.js +12 -0
  85. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +182 -23
  86. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  87. package/tencentcloud/services/mgobe/index.js +2 -2
  88. package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +21 -1
  89. package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +30 -0
  90. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +197 -55
  91. package/tencentcloud/services/organization/v20210331/organization_client.d.ts +17 -1
  92. package/tencentcloud/services/organization/v20210331/organization_client.js +24 -0
  93. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +183 -73
  94. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +7 -7
  95. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
  96. package/tencentcloud/services/tbp/index.d.ts +4 -4
  97. package/tencentcloud/services/tbp/index.js +2 -2
  98. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
  99. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
  100. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +92 -12
  101. package/tencentcloud/services/teo/index.d.ts +4 -4
  102. package/tencentcloud/services/teo/index.js +2 -2
  103. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
  104. package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
  105. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +53 -2
  106. package/tencentcloud/services/tsw/index.d.ts +4 -4
  107. package/tencentcloud/services/tsw/index.js +2 -2
  108. package/tencentcloud/services/vm/index.d.ts +4 -4
  109. package/tencentcloud/services/vm/index.js +2 -2
  110. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +15 -3
  111. package/tencentcloud/services/waf/v20180125/waf_client.js +21 -3
  112. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +4298 -4084
  113. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +6 -1
  114. package/test/cdwpg.v20201230.test.js +10 -0
  115. package/test/clb.v20180317.test.js +14 -4
  116. package/test/dlc.v20210125.test.js +10 -0
  117. package/test/lcic.v20220817.test.js +20 -0
  118. package/test/oceanus.v20190422.test.js +50 -0
  119. package/test/organization.v20210331.test.js +40 -0
  120. package/test/tdmq.v20200217.test.js +10 -0
  121. package/test/tse.v20201207.test.js +10 -0
  122. package/test/waf.v20180125.test.js +32 -2
@@ -16229,6 +16229,11 @@ export interface BooleanResponse {
16229
16229
  注意:此字段可能返回 null,表示取不到有效值。
16230
16230
  */
16231
16231
  Message?: string;
16232
+ /**
16233
+ * 基线Id
16234
+ 注意:此字段可能返回 null,表示取不到有效值。
16235
+ */
16236
+ BaselineId?: number;
16232
16237
  }
16233
16238
  /**
16234
16239
  * DeleteProjectParamDs请求参数结构体
@@ -21082,7 +21087,7 @@ export interface CreateHiveTableRequest {
21082
21087
  */
21083
21088
  DatasourceId: string;
21084
21089
  /**
21085
- * 数据库
21090
+ * 数据库名称
21086
21091
  */
21087
21092
  Database: string;
21088
21093
  /**
@@ -18,6 +18,16 @@ const client = new tencentcloud.cdwpg.v20201230.Client({
18
18
  })
19
19
  describe("cdwpg.v20201230.test.js", function () {
20
20
 
21
+ it("cdwpg.v20201230.DescribeInstances", async function () {
22
+ try {
23
+ const data = await client.DescribeInstances({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
21
31
  it("cdwpg.v20201230.DescribeInstanceState", async function () {
22
32
  try {
23
33
  const data = await client.DescribeInstanceState({})
@@ -138,9 +138,9 @@ it("clb.v20180317.InquiryPriceModifyLoadBalancer", async function () {
138
138
  }
139
139
  })
140
140
 
141
- it("clb.v20180317.SetSecurityGroupForLoadbalancers", async function () {
141
+ it("clb.v20180317.ManualRewrite", async function () {
142
142
  try {
143
- const data = await client.SetSecurityGroupForLoadbalancers({})
143
+ const data = await client.ManualRewrite({})
144
144
  expect(data).to.be.ok
145
145
  } catch(error) {
146
146
  expect(error.requestId).to.be.ok
@@ -688,6 +688,16 @@ it("clb.v20180317.DescribeRewrite", async function () {
688
688
  }
689
689
  })
690
690
 
691
+ it("clb.v20180317.SetSecurityGroupForLoadbalancers", async function () {
692
+ try {
693
+ const data = await client.SetSecurityGroupForLoadbalancers({})
694
+ expect(data).to.be.ok
695
+ } catch(error) {
696
+ expect(error.requestId).to.be.ok
697
+ expect(error.code).to.be.ok
698
+ }
699
+ })
700
+
691
701
  it("clb.v20180317.DescribeTargetGroups", async function () {
692
702
  try {
693
703
  const data = await client.DescribeTargetGroups({})
@@ -828,9 +838,9 @@ it("clb.v20180317.DeleteRewrite", async function () {
828
838
  }
829
839
  })
830
840
 
831
- it("clb.v20180317.ManualRewrite", async function () {
841
+ it("clb.v20180317.BatchModifyTargetTag", async function () {
832
842
  try {
833
- const data = await client.ManualRewrite({})
843
+ const data = await client.BatchModifyTargetTag({})
834
844
  expect(data).to.be.ok
835
845
  } catch(error) {
836
846
  expect(error.requestId).to.be.ok
@@ -328,6 +328,16 @@ it("dlc.v20210125.DescribeNotebookSessions", async function () {
328
328
  }
329
329
  })
330
330
 
331
+ it("dlc.v20210125.DescribeLakeFsTaskResult", async function () {
332
+ try {
333
+ const data = await client.DescribeLakeFsTaskResult({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
331
341
  it("dlc.v20210125.UpdateRowFilter", async function () {
332
342
  try {
333
343
  const data = await client.UpdateRowFilter({})
@@ -28,6 +28,16 @@ it("lcic.v20220817.DescribeAppDetail", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("lcic.v20220817.SendRoomNotificationMessage", async function () {
32
+ try {
33
+ const data = await client.SendRoomNotificationMessage({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
31
41
  it("lcic.v20220817.GetRoomMessage", async function () {
32
42
  try {
33
43
  const data = await client.GetRoomMessage({})
@@ -308,6 +318,16 @@ it("lcic.v20220817.DeleteRecord", async function () {
308
318
  }
309
319
  })
310
320
 
321
+ it("lcic.v20220817.SendRoomNormalMessage", async function () {
322
+ try {
323
+ const data = await client.SendRoomNormalMessage({})
324
+ expect(data).to.be.ok
325
+ } catch(error) {
326
+ expect(error.requestId).to.be.ok
327
+ expect(error.code).to.be.ok
328
+ }
329
+ })
330
+
311
331
  it("lcic.v20220817.DescribeGroupList", async function () {
312
332
  try {
313
333
  const data = await client.DescribeGroupList({})
@@ -68,6 +68,16 @@ it("oceanus.v20190422.DeleteResourceConfigs", async function () {
68
68
  }
69
69
  })
70
70
 
71
+ it("oceanus.v20190422.CreateWorkSpace", async function () {
72
+ try {
73
+ const data = await client.CreateWorkSpace({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
71
81
  it("oceanus.v20190422.CreateResourceConfig", async function () {
72
82
  try {
73
83
  const data = await client.CreateResourceConfig({})
@@ -98,6 +108,16 @@ it("oceanus.v20190422.DescribeResourceConfigs", async function () {
98
108
  }
99
109
  })
100
110
 
111
+ it("oceanus.v20190422.ModifyFolder", async function () {
112
+ try {
113
+ const data = await client.ModifyFolder({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
101
121
  it("oceanus.v20190422.DescribeJobSavepoint", async function () {
102
122
  try {
103
123
  const data = await client.DescribeJobSavepoint({})
@@ -148,6 +168,16 @@ it("oceanus.v20190422.DescribeClusters", async function () {
148
168
  }
149
169
  })
150
170
 
171
+ it("oceanus.v20190422.DeleteFolders", async function () {
172
+ try {
173
+ const data = await client.DeleteFolders({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
151
181
  it("oceanus.v20190422.DescribeWorkSpaces", async function () {
152
182
  try {
153
183
  const data = await client.DescribeWorkSpaces({})
@@ -228,6 +258,16 @@ it("oceanus.v20190422.CreateJobConfig", async function () {
228
258
  }
229
259
  })
230
260
 
261
+ it("oceanus.v20190422.DeleteJobConfigs", async function () {
262
+ try {
263
+ const data = await client.DeleteJobConfigs({})
264
+ expect(data).to.be.ok
265
+ } catch(error) {
266
+ expect(error.requestId).to.be.ok
267
+ expect(error.code).to.be.ok
268
+ }
269
+ })
270
+
231
271
  it("oceanus.v20190422.StopJobs", async function () {
232
272
  try {
233
273
  const data = await client.StopJobs({})
@@ -248,6 +288,16 @@ it("oceanus.v20190422.DescribeResourceRelatedJobs", async function () {
248
288
  }
249
289
  })
250
290
 
291
+ it("oceanus.v20190422.ModifyWorkSpace", async function () {
292
+ try {
293
+ const data = await client.ModifyWorkSpace({})
294
+ expect(data).to.be.ok
295
+ } catch(error) {
296
+ expect(error.requestId).to.be.ok
297
+ expect(error.code).to.be.ok
298
+ }
299
+ })
300
+
251
301
  it("oceanus.v20190422.DeleteResources", async function () {
252
302
  try {
253
303
  const data = await client.DeleteResources({})
@@ -198,6 +198,26 @@ it("organization.v20210331.DescribeOrganizationFinancialByMember", async functio
198
198
  }
199
199
  })
200
200
 
201
+ it("organization.v20210331.UpdateOrganizationIdentity", async function () {
202
+ try {
203
+ const data = await client.UpdateOrganizationIdentity({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
211
+ it("organization.v20210331.CreateOrganizationMembersPolicy", async function () {
212
+ try {
213
+ const data = await client.CreateOrganizationMembersPolicy({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
201
221
  it("organization.v20210331.DescribeOrganization", async function () {
202
222
  try {
203
223
  const data = await client.DescribeOrganization({})
@@ -228,6 +248,26 @@ it("organization.v20210331.CreateOrganization", async function () {
228
248
  }
229
249
  })
230
250
 
251
+ it("organization.v20210331.CreateOrganizationIdentity", async function () {
252
+ try {
253
+ const data = await client.CreateOrganizationIdentity({})
254
+ expect(data).to.be.ok
255
+ } catch(error) {
256
+ expect(error.requestId).to.be.ok
257
+ expect(error.code).to.be.ok
258
+ }
259
+ })
260
+
261
+ it("organization.v20210331.DeleteOrganizationIdentity", async function () {
262
+ try {
263
+ const data = await client.DeleteOrganizationIdentity({})
264
+ expect(data).to.be.ok
265
+ } catch(error) {
266
+ expect(error.requestId).to.be.ok
267
+ expect(error.code).to.be.ok
268
+ }
269
+ })
270
+
231
271
  it("organization.v20210331.AddOrganizationMemberEmail", async function () {
232
272
  try {
233
273
  const data = await client.AddOrganizationMemberEmail({})
@@ -138,6 +138,16 @@ it("tdmq.v20200217.DescribeRocketMQSmoothMigrationTaskList", async function () {
138
138
  }
139
139
  })
140
140
 
141
+ it("tdmq.v20200217.DescribeRocketMQConsumerConnections", async function () {
142
+ try {
143
+ const data = await client.DescribeRocketMQConsumerConnections({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
141
151
  it("tdmq.v20200217.CreateRabbitMQUser", async function () {
142
152
  try {
143
153
  const data = await client.CreateRabbitMQUser({})
@@ -388,6 +388,16 @@ it("tse.v20201207.DeleteCloudNativeAPIGateway", async function () {
388
388
  }
389
389
  })
390
390
 
391
+ it("tse.v20201207.UpdateUpstreamTargets", async function () {
392
+ try {
393
+ const data = await client.UpdateUpstreamTargets({})
394
+ expect(data).to.be.ok
395
+ } catch(error) {
396
+ expect(error.requestId).to.be.ok
397
+ expect(error.code).to.be.ok
398
+ }
399
+ })
400
+
391
401
  it("tse.v20201207.DeleteCloudNativeAPIGatewayCertificate", async function () {
392
402
  try {
393
403
  const data = await client.DeleteCloudNativeAPIGatewayCertificate({})
@@ -118,6 +118,16 @@ it("waf.v20180125.ModifyInstanceQpsLimit", async function () {
118
118
  }
119
119
  })
120
120
 
121
+ it("waf.v20180125.DescribeSpartaProtectionInfo", async function () {
122
+ try {
123
+ const data = await client.DescribeSpartaProtectionInfo({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
121
131
  it("waf.v20180125.DescribeAutoDenyIP", async function () {
122
132
  try {
123
133
  const data = await client.DescribeAutoDenyIP({})
@@ -288,6 +298,16 @@ it("waf.v20180125.DescribeHistogram", async function () {
288
298
  }
289
299
  })
290
300
 
301
+ it("waf.v20180125.DescribeWebshellStatus", async function () {
302
+ try {
303
+ const data = await client.DescribeWebshellStatus({})
304
+ expect(data).to.be.ok
305
+ } catch(error) {
306
+ expect(error.requestId).to.be.ok
307
+ expect(error.code).to.be.ok
308
+ }
309
+ })
310
+
291
311
  it("waf.v20180125.DescribeDomainWhiteRules", async function () {
292
312
  try {
293
313
  const data = await client.DescribeDomainWhiteRules({})
@@ -498,9 +518,9 @@ it("waf.v20180125.ModifyInstanceRenewFlag", async function () {
498
518
  }
499
519
  })
500
520
 
501
- it("waf.v20180125.DescribeDomainDetailsSaas", async function () {
521
+ it("waf.v20180125.DescribeUserLevel", async function () {
502
522
  try {
503
- const data = await client.DescribeDomainDetailsSaas({})
523
+ const data = await client.DescribeUserLevel({})
504
524
  expect(data).to.be.ok
505
525
  } catch(error) {
506
526
  expect(error.requestId).to.be.ok
@@ -1058,6 +1078,16 @@ it("waf.v20180125.ModifyAttackWhiteRule", async function () {
1058
1078
  }
1059
1079
  })
1060
1080
 
1081
+ it("waf.v20180125.DescribeDomainDetailsSaas", async function () {
1082
+ try {
1083
+ const data = await client.DescribeDomainDetailsSaas({})
1084
+ expect(data).to.be.ok
1085
+ } catch(error) {
1086
+ expect(error.requestId).to.be.ok
1087
+ expect(error.code).to.be.ok
1088
+ }
1089
+ })
1090
+
1061
1091
  it("waf.v20180125.ModifyUserSignatureRule", async function () {
1062
1092
  try {
1063
1093
  const data = await client.ModifyUserSignatureRule({})