tencentcloud-sdk-nodejs 4.0.692 → 4.0.693

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 (55) hide show
  1. package/CHANGELOG.md +271 -0
  2. package/SERVICE_CHANGELOG.md +367 -97
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_client.ts +17 -0
  7. package/src/services/apm/v20210622/apm_models.ts +187 -0
  8. package/src/services/asr/v20190614/asr_models.ts +5 -5
  9. package/src/services/cam/v20190116/cam_models.ts +1 -1
  10. package/src/services/car/v20220110/car_client.ts +28 -16
  11. package/src/services/car/v20220110/car_models.ts +24 -0
  12. package/src/services/cdb/v20170320/cdb_models.ts +11 -6
  13. package/src/services/clb/v20180317/clb_models.ts +24 -24
  14. package/src/services/cls/v20201016/cls_client.ts +680 -656
  15. package/src/services/cls/v20201016/cls_models.ts +80 -0
  16. package/src/services/cpdp/v20190820/cpdp_client.ts +1 -13
  17. package/src/services/cpdp/v20190820/cpdp_models.ts +35 -113
  18. package/src/services/essbasic/v20210526/essbasic_models.ts +12 -7
  19. package/src/services/mps/v20190612/mps_models.ts +11 -0
  20. package/src/services/ocr/v20181119/ocr_models.ts +9 -0
  21. package/src/services/tag/v20180813/tag_client.ts +4 -6
  22. package/src/services/tag/v20180813/tag_models.ts +60 -22
  23. package/src/services/thpc/v20230321/thpc_client.ts +5 -1
  24. package/src/services/thpc/v20230321/thpc_models.ts +119 -63
  25. package/src/services/trp/v20210515/trp_models.ts +60 -22
  26. package/tencentcloud/common/sdk_version.d.ts +1 -1
  27. package/tencentcloud/common/sdk_version.js +1 -1
  28. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
  29. package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
  30. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +180 -0
  31. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +5 -5
  32. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +1 -1
  33. package/tencentcloud/services/car/v20220110/car_client.d.ts +11 -7
  34. package/tencentcloud/services/car/v20220110/car_client.js +15 -9
  35. package/tencentcloud/services/car/v20220110/car_models.d.ts +22 -0
  36. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +11 -6
  37. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +24 -24
  38. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +334 -326
  39. package/tencentcloud/services/cls/v20201016/cls_client.js +420 -408
  40. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +76 -0
  41. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +1 -5
  42. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +0 -6
  43. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +35 -111
  44. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -7
  45. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +11 -0
  46. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -0
  47. package/tencentcloud/services/tag/v20180813/tag_client.d.ts +0 -2
  48. package/tencentcloud/services/tag/v20180813/tag_client.js +0 -2
  49. package/tencentcloud/services/tag/v20180813/tag_models.d.ts +60 -22
  50. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +115 -63
  51. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +60 -22
  52. package/test/apm.v20210622.test.js +10 -0
  53. package/test/car.v20220110.test.js +18 -8
  54. package/test/cls.v20201016.test.js +188 -168
  55. package/test/cpdp.v20190820.test.js +0 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.692",
3
+ "version": "4.0.693",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -15,12 +15,12 @@
15
15
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
16
16
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
17
17
  | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-09-14 01:07:23 |
18
- | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-07-18 01:07:24 |
18
+ | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-09-21 01:15:22 |
19
19
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-09-12 01:09:06 |
20
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-09-14 01:09:19 |
20
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-09-21 01:17:04 |
21
21
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
22
22
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2023-08-17 01:18:28 |
23
- | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-09-15 15:00:54 |
23
+ | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-09-21 01:17:48 |
24
24
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2023-08-17 01:19:19 |
25
25
  | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2023-09-18 01:10:19 |
26
26
  | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-09-18 01:10:26 |
@@ -34,14 +34,14 @@
34
34
  | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2023-08-17 01:22:35 |
35
35
  | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2023-05-18 01:06:40 |
36
36
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2023-05-18 01:06:44 |
37
- | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-08-18 01:06:57 |
37
+ | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-09-21 01:23:47 |
38
38
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2023-08-24 10:06:50 |
39
- | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-08-23 01:10:00 |
39
+ | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-09-21 01:28:16 |
40
40
  | casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
41
41
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
42
42
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-09-20 01:08:08 |
43
43
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2023-09-15 01:15:34 |
44
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-09-14 01:15:30 |
44
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-09-21 01:31:18 |
45
45
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-09-12 01:18:51 |
46
46
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-09-20 01:08:50 |
47
47
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
@@ -54,16 +54,16 @@
54
54
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
55
55
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
56
56
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
57
- | ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-09-14 01:21:26 |
58
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-09-20 01:13:18 |
57
+ | ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-09-21 01:53:00 |
58
+ | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-09-21 01:56:45 |
59
59
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-05-18 01:13:28 |
60
60
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-08-17 01:57:08 |
61
61
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-08-03 01:03:28 |
62
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-09-13 01:24:20 |
62
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-09-21 02:03:11 |
63
63
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-08-17 02:01:58 |
64
64
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-08-17 02:03:39 |
65
65
  | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-08-24 01:10:10 |
66
- | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-08-17 02:03:56 |
66
+ | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
67
67
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
68
68
  | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-09-12 01:32:51 |
69
69
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
@@ -95,7 +95,7 @@
95
95
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-08-17 03:08:06 |
96
96
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-09-15 01:48:20 |
97
97
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-09-20 01:35:54 |
98
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-20 01:36:35 |
98
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-21 03:37:59 |
99
99
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-09-18 01:48:33 |
100
100
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-09-19 01:15:41 |
101
101
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
@@ -134,14 +134,14 @@
134
134
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
135
135
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2023-07-17 10:16:02 |
136
136
  | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2023-08-29 01:18:45 |
137
- | market | [云市场](https://cloud.tencent.com/document/product/306) | 2023-06-21 01:26:39 |
137
+ | market | [云市场](https://cloud.tencent.com/document/product/306) | 2023-09-21 04:45:17 |
138
138
  | memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2023-08-29 01:18:58 |
139
139
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
140
140
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-05-18 01:39:20 |
141
141
  | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-08-30 01:19:09 |
142
142
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-09-15 02:08:53 |
143
143
  | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-09-15 02:09:24 |
144
- | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-20 01:41:08 |
144
+ | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-21 04:51:12 |
145
145
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-09-13 02:09:08 |
146
146
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-08-30 01:19:55 |
147
147
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-08-17 04:18:22 |
@@ -149,7 +149,7 @@
149
149
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 |
150
150
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
151
151
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-09-06 02:10:27 |
152
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-09-14 02:09:03 |
152
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-09-21 04:56:57 |
153
153
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-09-18 02:11:06 |
154
154
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-09-19 14:35:45 |
155
155
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
@@ -168,7 +168,7 @@
168
168
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-07-11 01:37:49 |
169
169
  | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2023-05-18 01:47:59 |
170
170
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2023-08-17 04:38:34 |
171
- | sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-08-17 04:39:05 |
171
+ | sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-09-21 05:17:41 |
172
172
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-07-10 01:39:48 |
173
173
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
174
174
  | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-09-13 02:18:02 |
@@ -178,7 +178,7 @@
178
178
  | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2023-08-17 04:46:36 |
179
179
  | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2023-08-17 04:47:11 |
180
180
  | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2023-08-17 04:47:19 |
181
- | tag | [标签](https://cloud.tencent.com/document/product/651) | 2023-08-17 04:47:23 |
181
+ | tag | [标签](https://cloud.tencent.com/document/product/651) | 2023-09-21 05:27:30 |
182
182
  | tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2023-05-18 01:50:16 |
183
183
  | tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-09-18 02:20:44 |
184
184
  | tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
@@ -200,7 +200,7 @@
200
200
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-05-18 01:55:50 |
201
201
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
202
202
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-09-20 01:47:29 |
203
- | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-09-14 02:31:21 |
203
+ | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-09-21 06:17:00 |
204
204
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
205
205
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
206
206
  | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
@@ -216,7 +216,7 @@
216
216
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2023-08-10 01:43:37 |
217
217
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
218
218
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2023-09-19 01:28:01 |
219
- | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-08-15 01:44:16 |
219
+ | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-09-21 06:25:32 |
220
220
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
221
221
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-09-20 01:50:48 |
222
222
  | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-09-18 02:36:04 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.692"
1
+ export const sdkVersion = "4.0.693"
@@ -18,6 +18,7 @@
18
18
  import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
+ SpanLog,
21
22
  ModifyApmInstanceRequest,
22
23
  ApmInstanceDetail,
23
24
  CreateApmInstanceRequest,
@@ -25,12 +26,15 @@ import {
25
26
  QueryMetricItem,
26
27
  TerminateApmInstanceRequest,
27
28
  DescribeApmInstancesResponse,
29
+ Span,
28
30
  ApmAgentInfo,
31
+ DescribeGeneralSpanListResponse,
29
32
  ApmMetricRecord,
30
33
  DescribeServiceOverviewRequest,
31
34
  DescribeApmAgentResponse,
32
35
  ApmField,
33
36
  Line,
37
+ DescribeGeneralSpanListRequest,
34
38
  APMKVItem,
35
39
  OrderBy,
36
40
  DescribeMetricRecordsResponse,
@@ -41,9 +45,12 @@ import {
41
45
  DescribeMetricRecordsRequest,
42
46
  DescribeGeneralMetricDataRequest,
43
47
  CreateApmInstanceResponse,
48
+ SpanReference,
49
+ SpanProcess,
44
50
  ModifyApmInstanceResponse,
45
51
  GeneralFilter,
46
52
  DescribeApmInstancesRequest,
53
+ SpanTag,
47
54
  DescribeGeneralMetricDataResponse,
48
55
  TerminateApmInstanceResponse,
49
56
  } from "./apm_models"
@@ -67,6 +74,16 @@ export class Client extends AbstractClient {
67
74
  return this.request("ModifyApmInstance", req, cb)
68
75
  }
69
76
 
77
+ /**
78
+ * 通用查询调用链列表
79
+ */
80
+ async DescribeGeneralSpanList(
81
+ req: DescribeGeneralSpanListRequest,
82
+ cb?: (error: string, rep: DescribeGeneralSpanListResponse) => void
83
+ ): Promise<DescribeGeneralSpanListResponse> {
84
+ return this.request("DescribeGeneralSpanList", req, cb)
85
+ }
86
+
70
87
  /**
71
88
  * APM实例列表拉取
72
89
  */
@@ -15,6 +15,22 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
+ /**
19
+ * Span日志部分
20
+
21
+
22
+ */
23
+ export interface SpanLog {
24
+ /**
25
+ * 日志时间戳
26
+ */
27
+ Timestamp: number
28
+ /**
29
+ * 标签
30
+ */
31
+ Fields: Array<SpanTag>
32
+ }
33
+
18
34
  /**
19
35
  * ModifyApmInstance请求参数结构体
20
36
  */
@@ -312,6 +328,69 @@ export interface DescribeApmInstancesResponse {
312
328
  RequestId?: string
313
329
  }
314
330
 
331
+ /**
332
+ * Span对象
333
+
334
+
335
+ */
336
+ export interface Span {
337
+ /**
338
+ * Trace Id
339
+ 注意:此字段可能返回 null,表示取不到有效值。
340
+ */
341
+ TraceID?: string
342
+ /**
343
+ * 日志
344
+ 注意:此字段可能返回 null,表示取不到有效值。
345
+ */
346
+ Logs?: Array<SpanLog>
347
+ /**
348
+ * 标签
349
+ 注意:此字段可能返回 null,表示取不到有效值。
350
+ */
351
+ Tags?: Array<SpanTag>
352
+ /**
353
+ * 上报应用服务信息
354
+ 注意:此字段可能返回 null,表示取不到有效值。
355
+ */
356
+ Process?: SpanProcess
357
+ /**
358
+ * 产生时间戳(毫秒)
359
+ 注意:此字段可能返回 null,表示取不到有效值。
360
+ */
361
+ Timestamp?: number
362
+ /**
363
+ * Span名称
364
+ 注意:此字段可能返回 null,表示取不到有效值。
365
+ */
366
+ OperationName?: string
367
+ /**
368
+ * 关联关系
369
+ 注意:此字段可能返回 null,表示取不到有效值。
370
+ */
371
+ References?: Array<SpanReference>
372
+ /**
373
+ * 产生时间戳(微秒)
374
+ 注意:此字段可能返回 null,表示取不到有效值。
375
+ */
376
+ StartTime?: number
377
+ /**
378
+ * 持续耗时(微妙)
379
+ 注意:此字段可能返回 null,表示取不到有效值。
380
+ */
381
+ Duration?: number
382
+ /**
383
+ * Span Id
384
+ 注意:此字段可能返回 null,表示取不到有效值。
385
+ */
386
+ SpanID?: string
387
+ /**
388
+ * 产生时间戳(毫秒)
389
+ 注意:此字段可能返回 null,表示取不到有效值。
390
+ */
391
+ StartTimeMillis?: number
392
+ }
393
+
315
394
  /**
316
395
  * apm Agent信息
317
396
  */
@@ -348,6 +427,24 @@ export interface ApmAgentInfo {
348
427
  PrivateLinkCollectorURL: string
349
428
  }
350
429
 
430
+ /**
431
+ * DescribeGeneralSpanList返回参数结构体
432
+ */
433
+ export interface DescribeGeneralSpanListResponse {
434
+ /**
435
+ * 总数量
436
+ */
437
+ TotalCount: number
438
+ /**
439
+ * Span分页列表
440
+ */
441
+ Spans: Array<Span>
442
+ /**
443
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
444
+ */
445
+ RequestId?: string
446
+ }
447
+
351
448
  /**
352
449
  * 指标列表单元
353
450
  */
@@ -482,6 +579,44 @@ export interface Line {
482
579
  Tags: Array<ApmTag>
483
580
  }
484
581
 
582
+ /**
583
+ * DescribeGeneralSpanList请求参数结构体
584
+ */
585
+ export interface DescribeGeneralSpanListRequest {
586
+ /**
587
+ * 分页
588
+ */
589
+ Offset: number
590
+ /**
591
+ * 列表项个数
592
+ */
593
+ Limit: number
594
+ /**
595
+ * 排序
596
+ */
597
+ OrderBy?: OrderBy
598
+ /**
599
+ * span查询开始时间戳(单位:秒)
600
+ */
601
+ StartTime?: number
602
+ /**
603
+ * 实例名
604
+ */
605
+ InstanceId?: string
606
+ /**
607
+ * 通用过滤参数
608
+ */
609
+ Filters?: Array<Filter>
610
+ /**
611
+ * 业务自身服务名
612
+ */
613
+ BusinessName?: string
614
+ /**
615
+ * span查询结束时间戳(单位:秒)
616
+ */
617
+ EndTime?: number
618
+ }
619
+
485
620
  /**
486
621
  * Apm通用KV结构
487
622
  */
@@ -743,6 +878,38 @@ export interface CreateApmInstanceResponse {
743
878
  RequestId?: string
744
879
  }
745
880
 
881
+ /**
882
+ * Span上下游关联关系
883
+ */
884
+ export interface SpanReference {
885
+ /**
886
+ * 关联关系类型
887
+ */
888
+ RefType: string
889
+ /**
890
+ * Span ID
891
+ */
892
+ SpanID: string
893
+ /**
894
+ * Trace ID
895
+ */
896
+ TraceID: string
897
+ }
898
+
899
+ /**
900
+ * 服务相关信息
901
+ */
902
+ export interface SpanProcess {
903
+ /**
904
+ * 应用服务名称
905
+ */
906
+ ServiceName: string
907
+ /**
908
+ * Tags 标签数组
909
+ */
910
+ Tags: Array<SpanTag>
911
+ }
912
+
746
913
  /**
747
914
  * ModifyApmInstance返回参数结构体
748
915
  */
@@ -793,6 +960,26 @@ export interface DescribeApmInstancesRequest {
793
960
  AllRegionsFlag?: number
794
961
  }
795
962
 
963
+ /**
964
+ * 标签
965
+ */
966
+ export interface SpanTag {
967
+ /**
968
+ * 标签类型
969
+ */
970
+ Type: string
971
+ /**
972
+ * 标签Key
973
+ 注意:此字段可能返回 null,表示取不到有效值。
974
+ */
975
+ Key: string
976
+ /**
977
+ * 标签值
978
+ 注意:此字段可能返回 null,表示取不到有效值。
979
+ */
980
+ Value: string
981
+ }
982
+
796
983
  /**
797
984
  * DescribeGeneralMetricData返回参数结构体
798
985
  */
@@ -640,13 +640,13 @@ export interface CreateRecTaskRequest {
640
640
  */
641
641
  ResTextFormat: number
642
642
  /**
643
- * 语音数据来源
644
- 0:语音 URL;
645
- 1:语音数据(post body)
643
+ * 音频数据来源
644
+ 0:音频URL;
645
+ 1:音频数据(post body)
646
646
  */
647
647
  SourceType: number
648
648
  /**
649
- * 语音数据base64编码
649
+ * 音频数据base64编码
650
650
  **当 SourceType 值为 1 时须填写该字段,为 0 时不需要填写**
651
651
 
652
652
  注意:音频数据要小于5MB(含)
@@ -657,7 +657,7 @@ export interface CreateRecTaskRequest {
657
657
  */
658
658
  DataLen?: number
659
659
  /**
660
- * 语音URL的地址(需要公网环境浏览器可下载)
660
+ * 音频URL的地址(需要公网环境浏览器可下载)
661
661
  **当 SourceType 值为 0 时须填写该字段,为 1 时不需要填写**
662
662
 
663
663
  注意:
@@ -202,7 +202,7 @@ export interface UpdatePolicyResponse {
202
202
  * 策略id,入参是PolicyName时,才会返回
203
203
  注意:此字段可能返回 null,表示取不到有效值。
204
204
  */
205
- PolicyId: number
205
+ PolicyId?: number
206
206
  /**
207
207
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
208
208
  */
@@ -20,7 +20,9 @@ import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  CreateSessionResponse,
22
22
  StopPublishStreamRequest,
23
+ StartPublishStreamWithURLResponse,
23
24
  StopPublishStreamResponse,
25
+ StartPublishStreamWithURLRequest,
24
26
  DestroySessionResponse,
25
27
  StartPublishStreamResponse,
26
28
  ApplyConcurrentResponse,
@@ -49,6 +51,26 @@ export class Client extends AbstractClient {
49
51
  return this.request("ApplyConcurrent", req, cb)
50
52
  }
51
53
 
54
+ /**
55
+ * 销毁会话
56
+ */
57
+ async DestroySession(
58
+ req: DestroySessionRequest,
59
+ cb?: (error: string, rep: DestroySessionResponse) => void
60
+ ): Promise<DestroySessionResponse> {
61
+ return this.request("DestroySession", req, cb)
62
+ }
63
+
64
+ /**
65
+ * 开始云端推流
66
+ */
67
+ async StartPublishStream(
68
+ req: StartPublishStreamRequest,
69
+ cb?: (error: string, rep: StartPublishStreamResponse) => void
70
+ ): Promise<StartPublishStreamResponse> {
71
+ return this.request("StartPublishStream", req, cb)
72
+ }
73
+
52
74
  /**
53
75
  * 停止云端推流
54
76
  */
@@ -60,13 +82,13 @@ export class Client extends AbstractClient {
60
82
  }
61
83
 
62
84
  /**
63
- * 销毁会话
85
+ * 开始云端推流到指定URL
64
86
  */
65
- async DestroySession(
66
- req: DestroySessionRequest,
67
- cb?: (error: string, rep: DestroySessionResponse) => void
68
- ): Promise<DestroySessionResponse> {
69
- return this.request("DestroySession", req, cb)
87
+ async StartPublishStreamWithURL(
88
+ req: StartPublishStreamWithURLRequest,
89
+ cb?: (error: string, rep: StartPublishStreamWithURLResponse) => void
90
+ ): Promise<StartPublishStreamWithURLResponse> {
91
+ return this.request("StartPublishStreamWithURL", req, cb)
70
92
  }
71
93
 
72
94
  /**
@@ -78,14 +100,4 @@ export class Client extends AbstractClient {
78
100
  ): Promise<CreateSessionResponse> {
79
101
  return this.request("CreateSession", req, cb)
80
102
  }
81
-
82
- /**
83
- * 开始云端推流
84
- */
85
- async StartPublishStream(
86
- req: StartPublishStreamRequest,
87
- cb?: (error: string, rep: StartPublishStreamResponse) => void
88
- ): Promise<StartPublishStreamResponse> {
89
- return this.request("StartPublishStream", req, cb)
90
- }
91
103
  }
@@ -39,6 +39,16 @@ export interface StopPublishStreamRequest {
39
39
  UserId: string
40
40
  }
41
41
 
42
+ /**
43
+ * StartPublishStreamWithURL返回参数结构体
44
+ */
45
+ export interface StartPublishStreamWithURLResponse {
46
+ /**
47
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
48
+ */
49
+ RequestId?: string
50
+ }
51
+
42
52
  /**
43
53
  * StopPublishStream返回参数结构体
44
54
  */
@@ -49,6 +59,20 @@ export interface StopPublishStreamResponse {
49
59
  RequestId?: string
50
60
  }
51
61
 
62
+ /**
63
+ * StartPublishStreamWithURL请求参数结构体
64
+ */
65
+ export interface StartPublishStreamWithURLRequest {
66
+ /**
67
+ * 唯一用户身份标识,由业务方自定义,平台不予理解。
68
+ */
69
+ UserId: string
70
+ /**
71
+ * 推流地址,仅支持rtmp协议。
72
+ */
73
+ PublishStreamURL: string
74
+ }
75
+
52
76
  /**
53
77
  * DestroySession返回参数结构体
54
78
  */
@@ -360,27 +360,32 @@ export interface ParamRecord {
360
360
  /**
361
361
  * 实例ID
362
362
  */
363
- InstanceId: string
363
+ InstanceId?: string
364
364
  /**
365
365
  * 参数名称
366
366
  */
367
- ParamName: string
367
+ ParamName?: string
368
368
  /**
369
369
  * 参数修改前的值
370
370
  */
371
- OldValue: string
371
+ OldValue?: string
372
372
  /**
373
373
  * 参数修改后的值
374
374
  */
375
- NewValue: string
375
+ NewValue?: string
376
376
  /**
377
377
  * 参数是否修改成功
378
+ * @deprecated
378
379
  */
379
- IsSucess: boolean
380
+ IsSucess?: boolean
380
381
  /**
381
382
  * 修改时间
382
383
  */
383
- ModifyTime: string
384
+ ModifyTime?: string
385
+ /**
386
+ * 参数是否修改成功
387
+ */
388
+ IsSuccess?: boolean
384
389
  }
385
390
 
386
391
  /**