tencentcloud-sdk-nodejs 4.0.914 → 4.0.916

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 (46) hide show
  1. package/CHANGELOG.md +190 -0
  2. package/SERVICE_CHANGELOG.md +174 -111
  3. package/package.json +1 -1
  4. package/products.md +15 -15
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_models.ts +5 -2
  7. package/src/services/cls/v20201016/cls_models.ts +16 -4
  8. package/src/services/cwp/v20180228/cwp_client.ts +21 -5
  9. package/src/services/cwp/v20180228/cwp_models.ts +89 -25
  10. package/src/services/emr/v20190103/emr_client.ts +55 -13
  11. package/src/services/emr/v20190103/emr_models.ts +614 -160
  12. package/src/services/ioa/v20220601/ioa_models.ts +6 -5
  13. package/src/services/live/v20180801/live_models.ts +2 -10
  14. package/src/services/ocr/v20181119/ocr_models.ts +14 -2
  15. package/src/services/smh/v20210712/smh_client.ts +68 -7
  16. package/src/services/smh/v20210712/smh_models.ts +425 -32
  17. package/src/services/sms/v20210111/sms_models.ts +2 -1
  18. package/src/services/trtc/v20190722/trtc_client.ts +0 -3
  19. package/src/services/trtc/v20190722/trtc_models.ts +3 -28
  20. package/src/services/vod/v20180717/vod_models.ts +5 -0
  21. package/src/services/vpc/v20170312/vpc_models.ts +27 -12
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +5 -2
  25. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +16 -4
  26. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +11 -3
  27. package/tencentcloud/services/cwp/v20180228/cwp_client.js +12 -2
  28. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +87 -25
  29. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +15 -3
  30. package/tencentcloud/services/emr/v20190103/emr_client.js +21 -3
  31. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +607 -165
  32. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +6 -5
  33. package/tencentcloud/services/live/v20180801/live_models.d.ts +2 -10
  34. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +14 -2
  35. package/tencentcloud/services/smh/v20210712/smh_client.d.ts +23 -3
  36. package/tencentcloud/services/smh/v20210712/smh_client.js +33 -3
  37. package/tencentcloud/services/smh/v20210712/smh_models.d.ts +414 -32
  38. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +2 -1
  39. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +0 -3
  40. package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -3
  41. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +3 -28
  42. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +5 -0
  43. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +27 -12
  44. package/test/cwp.v20180228.test.js +10 -0
  45. package/test/emr.v20190103.test.js +32 -2
  46. package/test/smh.v20210712.test.js +52 -2
@@ -4302,51 +4302,61 @@ export interface CcnRoute {
4302
4302
  /**
4303
4303
  * 目的端
4304
4304
  */
4305
- DestinationCidrBlock: string;
4305
+ DestinationCidrBlock?: string;
4306
4306
  /**
4307
4307
  * 下一跳类型(关联实例类型),所有类型:VPC、DIRECTCONNECT
4308
4308
  */
4309
- InstanceType: string;
4309
+ InstanceType?: string;
4310
4310
  /**
4311
4311
  * 下一跳(关联实例)
4312
4312
  */
4313
- InstanceId: string;
4313
+ InstanceId?: string;
4314
4314
  /**
4315
4315
  * 下一跳名称(关联实例名称)
4316
4316
  */
4317
- InstanceName: string;
4317
+ InstanceName?: string;
4318
4318
  /**
4319
4319
  * 下一跳所属地域(关联实例所属地域)
4320
4320
  */
4321
- InstanceRegion: string;
4321
+ InstanceRegion?: string;
4322
4322
  /**
4323
4323
  * 更新时间
4324
4324
  */
4325
- UpdateTime: string;
4325
+ UpdateTime?: string;
4326
4326
  /**
4327
4327
  * 路由是否启用
4328
4328
  */
4329
- Enabled: boolean;
4329
+ Enabled?: boolean;
4330
4330
  /**
4331
4331
  * 关联实例所属UIN(根账号)
4332
4332
  */
4333
- InstanceUin: string;
4333
+ InstanceUin?: string;
4334
4334
  /**
4335
4335
  * 路由的扩展状态
4336
4336
  */
4337
- ExtraState: string;
4337
+ ExtraState?: string;
4338
4338
  /**
4339
4339
  * 是否动态路由
4340
4340
  */
4341
- IsBgp: boolean;
4341
+ IsBgp?: boolean;
4342
4342
  /**
4343
4343
  * 路由优先级
4344
4344
  */
4345
- RoutePriority: number;
4345
+ RoutePriority?: number;
4346
4346
  /**
4347
4347
  * 下一跳扩展名称(关联实例的扩展名称)
4348
4348
  */
4349
- InstanceExtraName: string;
4349
+ InstanceExtraName?: string;
4350
+ /**
4351
+ * 实例类型
4352
+ 注意:此字段可能返回 null,表示取不到有效值。
4353
+ */
4354
+ AliasType?: string;
4355
+ /**
4356
+ * 实例id
4357
+ 注意:此字段可能返回 null,表示取不到有效值。
4358
+ */
4359
+ AliasInstanceId?: string;
4350
4360
  }
4351
4361
  /**
4352
4362
  * ModifyIpv6AddressesAttribute返回参数结构体
@@ -12842,6 +12852,11 @@ export interface CCN {
12842
12852
  注意:此字段可能返回 null,表示取不到有效值。
12843
12853
  */
12844
12854
  DirectConnectAccelerateChannelFlag?: boolean;
12855
+ /**
12856
+ * 是否支持ipv6路由表
12857
+ 注意:此字段可能返回 null,表示取不到有效值。
12858
+ */
12859
+ Ipv6Flag?: string;
12845
12860
  }
12846
12861
  /**
12847
12862
  * 网络ACL五元组Entry
@@ -698,6 +698,16 @@ it("cwp.v20180228.DescribeMachineLicenseDetail", async function () {
698
698
  }
699
699
  })
700
700
 
701
+ it("cwp.v20180228.ModifyReverseShellRulesAggregation", async function () {
702
+ try {
703
+ const data = await client.ModifyReverseShellRulesAggregation({})
704
+ expect(data).to.be.ok
705
+ } catch(error) {
706
+ expect(error.requestId).to.be.ok
707
+ expect(error.code).to.be.ok
708
+ }
709
+ })
710
+
701
711
  it("cwp.v20180228.SwitchBashRules", async function () {
702
712
  try {
703
713
  const data = await client.SwitchBashRules({})
@@ -168,6 +168,16 @@ it("emr.v20190103.DescribeHBaseTableOverview", async function () {
168
168
  }
169
169
  })
170
170
 
171
+ it("emr.v20190103.DescribeServiceNodeInfos", async function () {
172
+ try {
173
+ const data = await client.DescribeServiceNodeInfos({})
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
+
171
181
  it("emr.v20190103.DescribeInstances", async function () {
172
182
  try {
173
183
  const data = await client.DescribeInstances({})
@@ -178,9 +188,9 @@ it("emr.v20190103.DescribeInstances", async function () {
178
188
  }
179
189
  })
180
190
 
181
- it("emr.v20190103.RunJobFlow", async function () {
191
+ it("emr.v20190103.ModifyYarnDeploy", async function () {
182
192
  try {
183
- const data = await client.RunJobFlow({})
193
+ const data = await client.ModifyYarnDeploy({})
184
194
  expect(data).to.be.ok
185
195
  } catch(error) {
186
196
  expect(error.requestId).to.be.ok
@@ -328,6 +338,16 @@ it("emr.v20190103.AddMetricScaleStrategy", async function () {
328
338
  }
329
339
  })
330
340
 
341
+ it("emr.v20190103.DescribeYarnScheduleHistory", async function () {
342
+ try {
343
+ const data = await client.DescribeYarnScheduleHistory({})
344
+ expect(data).to.be.ok
345
+ } catch(error) {
346
+ expect(error.requestId).to.be.ok
347
+ expect(error.code).to.be.ok
348
+ }
349
+ })
350
+
331
351
  it("emr.v20190103.DescribeJobFlow", async function () {
332
352
  try {
333
353
  const data = await client.DescribeJobFlow({})
@@ -468,4 +488,14 @@ it("emr.v20190103.ScaleOutCluster", async function () {
468
488
  }
469
489
  })
470
490
 
491
+ it("emr.v20190103.RunJobFlow", async function () {
492
+ try {
493
+ const data = await client.RunJobFlow({})
494
+ expect(data).to.be.ok
495
+ } catch(error) {
496
+ expect(error.requestId).to.be.ok
497
+ expect(error.code).to.be.ok
498
+ }
499
+ })
500
+
471
501
  })
@@ -18,6 +18,36 @@ const client = new tencentcloud.smh.v20210712.Client({
18
18
  })
19
19
  describe("smh.v20210712.test.js", function () {
20
20
 
21
+ it("smh.v20210712.ModifyUser", async function () {
22
+ try {
23
+ const data = await client.ModifyUser({})
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
+
31
+ it("smh.v20210712.DeleteUser", async function () {
32
+ try {
33
+ const data = await client.DeleteUser({})
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
+
41
+ it("smh.v20210712.VerifySmsCode", async function () {
42
+ try {
43
+ const data = await client.VerifySmsCode({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
21
51
  it("smh.v20210712.DescribeOfficialInstances", async function () {
22
52
  try {
23
53
  const data = await client.DescribeOfficialInstances({})
@@ -48,9 +78,19 @@ it("smh.v20210712.SendSmsCode", async function () {
48
78
  }
49
79
  })
50
80
 
51
- it("smh.v20210712.VerifySmsCode", async function () {
81
+ it("smh.v20210712.CreateUser", async function () {
52
82
  try {
53
- const data = await client.VerifySmsCode({})
83
+ const data = await client.CreateUser({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
91
+ it("smh.v20210712.CreateUserLifecycle", async function () {
92
+ try {
93
+ const data = await client.CreateUserLifecycle({})
54
94
  expect(data).to.be.ok
55
95
  } catch(error) {
56
96
  expect(error.requestId).to.be.ok
@@ -108,6 +148,16 @@ it("smh.v20210712.DeleteLibrary", async function () {
108
148
  }
109
149
  })
110
150
 
151
+ it("smh.v20210712.DescribeUserLifecycle", async function () {
152
+ try {
153
+ const data = await client.DescribeUserLifecycle({})
154
+ expect(data).to.be.ok
155
+ } catch(error) {
156
+ expect(error.requestId).to.be.ok
157
+ expect(error.code).to.be.ok
158
+ }
159
+ })
160
+
111
161
  it("smh.v20210712.DescribeLibrarySecret", async function () {
112
162
  try {
113
163
  const data = await client.DescribeLibrarySecret({})