tencentcloud-sdk-nodejs 4.0.512 → 4.0.514

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 (64) hide show
  1. package/CHANGELOG.md +348 -0
  2. package/SERVICE_CHANGELOG.md +386 -92
  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/ams/v20201229/ams_client.ts +4 -4
  7. package/src/services/ams/v20201229/ams_models.ts +14 -8
  8. package/src/services/asr/v20190614/asr_client.ts +1 -1
  9. package/src/services/clb/v20180317/clb_client.ts +62 -15
  10. package/src/services/clb/v20180317/clb_models.ts +102 -0
  11. package/src/services/cls/v20201016/cls_client.ts +1 -1
  12. package/src/services/cls/v20201016/cls_models.ts +5 -4
  13. package/src/services/cwp/v20180228/cwp_models.ts +2 -2
  14. package/src/services/cynosdb/v20190107/cynosdb_client.ts +4 -2
  15. package/src/services/cynosdb/v20190107/cynosdb_models.ts +355 -59
  16. package/src/services/dnspod/v20210323/dnspod_client.ts +9 -13
  17. package/src/services/dnspod/v20210323/dnspod_models.ts +93 -93
  18. package/src/services/essbasic/v20210526/essbasic_models.ts +5 -0
  19. package/src/services/live/v20180801/live_models.ts +128 -110
  20. package/src/services/tcr/v20190924/tcr_client.ts +2 -14
  21. package/src/services/tcr/v20190924/tcr_models.ts +9 -44
  22. package/src/services/tdmq/v20200217/tdmq_models.ts +10 -0
  23. package/src/services/teo/v20220901/teo_client.ts +27 -0
  24. package/src/services/teo/v20220901/teo_models.ts +157 -0
  25. package/src/services/vod/v20180717/vod_client.ts +1 -0
  26. package/src/services/vod/v20180717/vod_models.ts +58 -22
  27. package/src/services/vpc/v20170312/vpc_models.ts +19 -13
  28. package/src/services/wedata/v20210820/wedata_client.ts +1 -0
  29. package/src/services/wedata/v20210820/wedata_models.ts +41 -1
  30. package/tencentcloud/common/sdk_version.d.ts +1 -1
  31. package/tencentcloud/common/sdk_version.js +1 -1
  32. package/tencentcloud/services/ams/v20201229/ams_client.d.ts +4 -4
  33. package/tencentcloud/services/ams/v20201229/ams_client.js +4 -4
  34. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +13 -8
  35. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  36. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  37. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +36 -7
  38. package/tencentcloud/services/clb/v20180317/clb_client.js +41 -8
  39. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +87 -0
  40. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  41. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  42. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -4
  43. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
  44. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +2 -2
  45. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +1 -1
  46. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +260 -9
  47. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +1 -5
  48. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +1 -5
  49. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +93 -93
  50. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -0
  51. package/tencentcloud/services/live/v20180801/live_models.d.ts +94 -76
  52. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +1 -5
  53. package/tencentcloud/services/tcr/v20190924/tcr_client.js +0 -6
  54. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +8 -38
  55. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +8 -0
  56. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -1
  57. package/tencentcloud/services/teo/v20220901/teo_client.js +12 -0
  58. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +135 -0
  59. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +50 -19
  60. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +18 -13
  61. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +35 -1
  62. package/test/clb.v20180317.test.js +24 -4
  63. package/test/tcr.v20190924.test.js +0 -10
  64. package/test/teo.v20220901.test.js +20 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.512",
3
+ "version": "4.0.514",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -7,7 +7,7 @@
7
7
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-11-14 06:09:18 |
9
9
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
10
- | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2022-11-16 06:07:01 |
10
+ | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2022-12-29 10:01:58 |
11
11
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2022-12-21 18:48:21 |
12
12
  | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2022-12-20 11:47:08 |
13
13
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
@@ -16,7 +16,7 @@
16
16
  | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2022-11-09 06:09:16 |
17
17
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-12-06 06:16:29 |
18
18
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-12-26 01:08:11 |
19
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-12-28 01:04:09 |
19
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-12-29 10:03:59 |
20
20
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
21
21
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
22
22
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-12-09 01:11:02 |
@@ -54,20 +54,20 @@
54
54
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
55
55
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
56
56
  | ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2022-12-27 01:23:30 |
57
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-12-14 01:16:36 |
57
+ | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-12-29 10:11:28 |
58
58
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-11-24 06:19:10 |
59
59
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-12-14 01:17:29 |
60
60
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2022-10-31 06:18:55 |
61
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-12-28 01:05:35 |
61
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-12-30 01:14:12 |
62
62
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-12-05 06:32:09 |
63
63
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-11-16 06:15:44 |
64
64
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
65
65
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-12-28 11:40:24 |
66
66
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
67
67
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-12-28 01:05:55 |
68
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-12-13 10:22:29 |
68
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-12-30 01:17:15 |
69
69
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
70
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2022-12-23 01:24:17 |
70
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2022-12-30 01:18:47 |
71
71
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2022-11-04 06:19:07 |
72
72
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
73
73
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-07-29 06:07:15 |
@@ -76,7 +76,7 @@
76
76
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-10-26 06:29:47 |
77
77
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2022-11-29 06:37:37 |
78
78
  | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2022-12-28 01:06:32 |
79
- | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-11-25 06:28:38 |
79
+ | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-12-29 10:19:39 |
80
80
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-05-24 06:11:36 |
81
81
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
82
82
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2022-10-31 06:27:09 |
@@ -91,7 +91,7 @@
91
91
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-12-13 10:29:37 |
92
92
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-12-12 01:25:49 |
93
93
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-12-28 13:01:07 |
94
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-12-28 13:02:22 |
94
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-12-29 10:24:56 |
95
95
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
96
96
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-12-07 06:39:49 |
97
97
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
@@ -121,7 +121,7 @@
121
121
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-12-13 10:37:12 |
122
122
  | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2022-12-28 13:56:24 |
123
123
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-12-23 01:40:27 |
124
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2022-12-15 01:33:41 |
124
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2022-12-30 01:32:32 |
125
125
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
126
126
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
127
127
  | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-11-23 06:38:36 |
@@ -180,14 +180,14 @@
180
180
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
181
181
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
182
182
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-11-30 06:59:59 |
183
- | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-12-21 02:03:06 |
183
+ | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-12-30 01:44:00 |
184
184
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-12-15 01:46:24 |
185
185
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-10-21 06:47:14 |
186
186
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-11-17 06:47:13 |
187
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-12-27 02:09:12 |
187
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-12-30 01:47:00 |
188
188
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-12-06 07:10:10 |
189
189
  | tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-12-27 02:10:16 |
190
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-12-28 01:10:40 |
190
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-12-30 01:48:06 |
191
191
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-12-21 02:09:45 |
192
192
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
193
193
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2022-10-31 06:55:14 |
@@ -211,11 +211,11 @@
211
211
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
212
212
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-11-16 06:46:30 |
213
213
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
214
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-12-22 02:14:59 |
215
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-12-16 18:54:14 |
214
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-12-30 01:55:04 |
215
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-12-29 11:09:38 |
216
216
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-12-21 02:20:11 |
217
217
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-10-12 07:10:28 |
218
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-12-07 07:21:53 |
218
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-12-30 01:58:31 |
219
219
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
220
220
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2022-12-27 02:26:58 |
221
221
  | youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.512"
1
+ export const sdkVersion = "4.0.514"
@@ -107,12 +107,12 @@ export class Client extends AbstractClient {
107
107
  - 该接口为收费接口,计费方式敬请参见 [腾讯云音频内容安全定价](https://cloud.tencent.com/product/ams/pricing)。
108
108
 
109
109
  ### 接口调用说明:
110
- - 音频文件大小支持:**文件 < 5M**;
111
- - 音频文件**时长小于60s**,超过60s音频调用则报错;
112
- - 音频文件支持格式:**wav (PCM编码)** 、**mp3**、**m4a** (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:**16kHz/16bit/单声道**);
110
+ - 音频文件大小支持:**文件 <= 4M**;
111
+ - 音频文件**时长不超过60s**,超过60s音频调用则报错;
112
+ - 音频文件支持格式:**wav (PCM编码)** 、**mp3**、**aac**、**m4a** (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:**16kHz/16bit/单声道**);
113
113
  - 接口仅限音频文件传入,视频文件传入请调用长音频异步接口;
114
114
  - 接口**默认QPS为20**,如需自定义配置并发或请求频率,请工单咨询;
115
- - 接口**默认超时为5s**,请求如超过该时长则接口会报错。
115
+ - 接口**默认超时为10s**,请求如超过该时长则接口会报错。
116
116
 
117
117
  */
118
118
  async CreateAudioModerationSyncTask(
@@ -124,13 +124,13 @@ export interface AudioResultDetailSpeakerResult {
124
124
  Score: number
125
125
 
126
126
  /**
127
- * 该字段用于返回对应说话人的片段在音频文件内的开始时间,单位为毫秒。
127
+ * 该字段用于返回对应说话人的片段在音频文件内的开始时间,单位为秒。
128
128
  注意:此字段可能返回 null,表示取不到有效值。
129
129
  */
130
130
  StartTime: number
131
131
 
132
132
  /**
133
- * 该字段用于返回对应说话人的片段在音频文件内的结束时间,单位为毫秒。
133
+ * 该字段用于返回对应说话人的片段在音频文件内的结束时间,单位为秒。
134
134
  注意:此字段可能返回 null,表示取不到有效值。
135
135
  */
136
136
  EndTime: number
@@ -522,6 +522,12 @@ Block 建议屏蔽;
522
522
  */
523
523
  RecognitionResults: Array<RecognitionResult>
524
524
 
525
+ /**
526
+ * 识别音频时长,单位为毫秒;
527
+ 注意:此字段可能返回 null,表示取不到有效值。
528
+ */
529
+ Duration: string
530
+
525
531
  /**
526
532
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
527
533
  */
@@ -650,13 +656,13 @@ export interface AudioResultDetailLanguageResult {
650
656
  Score: number
651
657
 
652
658
  /**
653
- * 该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为毫秒。
659
+ * 该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为秒。
654
660
  注意:此字段可能返回 null,表示取不到有效值。
655
661
  */
656
662
  StartTime: number
657
663
 
658
664
  /**
659
- * 该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为毫秒。
665
+ * 该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为秒。
660
666
  注意:此字段可能返回 null,表示取不到有效值。
661
667
  */
662
668
  EndTime: number
@@ -708,12 +714,12 @@ export interface MoanResult {
708
714
  Suggestion: string
709
715
 
710
716
  /**
711
- * 违规事件开始时间,单位为毫秒(ms);
717
+ * 违规事件开始时间,单位为秒(s);
712
718
  */
713
719
  StartTime: number
714
720
 
715
721
  /**
716
- * 违规事件结束时间,单位为毫秒(ms);
722
+ * 违规事件结束时间,单位为秒(s);
717
723
  */
718
724
  EndTime: number
719
725
 
@@ -883,12 +889,12 @@ export interface AudioResultDetailMoanResult {
883
889
  Score: number
884
890
 
885
891
  /**
886
- * 该字段用于返回对应呻吟标签的片段在音频文件内的开始时间,单位为毫秒。
892
+ * 该字段用于返回对应呻吟标签的片段在音频文件内的开始时间,单位为秒。
887
893
  */
888
894
  StartTime: number
889
895
 
890
896
  /**
891
- * 该字段用于返回对应呻吟标签的片段在音频文件内的结束时间,单位为毫秒。
897
+ * 该字段用于返回对应呻吟标签的片段在音频文件内的结束时间,单位为秒。
892
898
  */
893
899
  EndTime: number
894
900
 
@@ -274,7 +274,7 @@ export class Client extends AbstractClient {
274
274
  }
275
275
 
276
276
  /**
277
- * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:25次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
277
+ * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)
278
278
  */
279
279
  async SentenceRecognition(
280
280
  req: SentenceRecognitionRequest,
@@ -48,6 +48,7 @@ import {
48
48
  ClassicalTarget,
49
49
  ListenerItem,
50
50
  RsWeightRule,
51
+ RegisterFunctionTargetsRequest,
51
52
  DeregisterTargetsFromClassicalLBRequest,
52
53
  SetSecurityGroupForLoadbalancersResponse,
53
54
  BasicTargetGroupInfo,
@@ -74,9 +75,11 @@ import {
74
75
  BlockedIP,
75
76
  ModifyRuleResponse,
76
77
  DescribeClassicalLBTargetsRequest,
78
+ DeregisterFunctionTargetsResponse,
77
79
  DescribeCustomizedConfigListRequest,
78
80
  AutoRewriteRequest,
79
81
  DescribeCrossTargetsResponse,
82
+ FunctionInfo,
80
83
  DescribeLoadBalancerListByCertIdResponse,
81
84
  ModifyTargetGroupInstancesWeightResponse,
82
85
  DescribeTargetGroupsRequest,
@@ -111,7 +114,9 @@ import {
111
114
  MigrateClassicalLoadBalancersRequest,
112
115
  DescribeLoadBalancersDetailRequest,
113
116
  TargetGroupBackend,
117
+ DeregisterFunctionTargetsRequest,
114
118
  DescribeClassicalLBByInstanceIdRequest,
119
+ FunctionTarget,
115
120
  DescribeResourcesResponse,
116
121
  ModifyTargetGroupInstancesWeightRequest,
117
122
  ManualRewriteResponse,
@@ -138,6 +143,7 @@ import {
138
143
  ClassicalLoadBalancerInfo,
139
144
  DescribeListenersResponse,
140
145
  RuleOutput,
146
+ RegisterFunctionTargetsResponse,
141
147
  CreateTopicResponse,
142
148
  CreateRuleRequest,
143
149
  ModifyTargetGroupInstancesPortResponse,
@@ -306,6 +312,17 @@ export class Client extends AbstractClient {
306
312
  return this.request("DescribeCustomizedConfigAssociateList", req, cb)
307
313
  }
308
314
 
315
+ /**
316
+ * ModifyTargetWeight 接口用于修改负载均衡绑定的后端服务的转发权重。
317
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
318
+ */
319
+ async ModifyTargetWeight(
320
+ req: ModifyTargetWeightRequest,
321
+ cb?: (error: string, rep: ModifyTargetWeightResponse) => void
322
+ ): Promise<ModifyTargetWeightResponse> {
323
+ return this.request("ModifyTargetWeight", req, cb)
324
+ }
325
+
309
326
  /**
310
327
  * 创建主题,默认开启全文索引和键值索引。如果不存在CLB专有日志集,则创建失败。
311
328
  */
@@ -698,6 +715,26 @@ export class Client extends AbstractClient {
698
715
  return this.request("BatchRegisterTargets", req, cb)
699
716
  }
700
717
 
718
+ /**
719
+ * RegisterFunctionTargets 接口用来将一个云函数绑定到负载均衡的7层转发规则,在此之前您需要先行创建相关的7层监听器(HTTP、HTTPS)和转发规则。
720
+ 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。<br/>
721
+ 限制说明:
722
+ - 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、孟买、东京、硅谷地域支持绑定 SCF。
723
+ - 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。
724
+ - 传统型负载均衡不支持绑定 SCF。
725
+ - 基础网络类型不支持绑定 SCF。
726
+ - CLB 默认支持绑定同地域下的所有 SCF,可支持跨 VPC 绑定 SCF,不支持跨地域绑定。
727
+ - 目前仅 IPv4、IPv6 NAT64 版本的负载均衡支持绑定 SCF,IPv6 版本的暂不支持。
728
+ - 仅七层(HTTP、HTTPS)监听器支持绑定 SCF,四层(TCP、UDP、TCP SSL)监听器和七层 QUIC 监听器不支持。
729
+ - CLB 绑定 SCF 仅支持绑定“Event 函数”类型的云函数。
730
+ */
731
+ async RegisterFunctionTargets(
732
+ req?: RegisterFunctionTargetsRequest,
733
+ cb?: (error: string, rep: RegisterFunctionTargetsResponse) => void
734
+ ): Promise<RegisterFunctionTargetsResponse> {
735
+ return this.request("RegisterFunctionTargets", req, cb)
736
+ }
737
+
701
738
  /**
702
739
  * ModifyRule 接口用来修改负载均衡七层监听器下的转发规则的各项属性,包括转发路径、健康检查属性、转发策略等。
703
740
  本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
@@ -730,14 +767,13 @@ export class Client extends AbstractClient {
730
767
  }
731
768
 
732
769
  /**
733
- * ModifyTargetWeight 接口用于修改负载均衡绑定的后端服务的转发权重。
734
- 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
735
- */
736
- async ModifyTargetWeight(
737
- req: ModifyTargetWeightRequest,
738
- cb?: (error: string, rep: ModifyTargetWeightResponse) => void
739
- ): Promise<ModifyTargetWeightResponse> {
740
- return this.request("ModifyTargetWeight", req, cb)
770
+ * 修改目标组的名称或者默认端口属性
771
+ */
772
+ async ModifyTargetGroupAttribute(
773
+ req: ModifyTargetGroupAttributeRequest,
774
+ cb?: (error: string, rep: ModifyTargetGroupAttributeResponse) => void
775
+ ): Promise<ModifyTargetGroupAttributeResponse> {
776
+ return this.request("ModifyTargetGroupAttribute", req, cb)
741
777
  }
742
778
 
743
779
  /**
@@ -873,13 +909,24 @@ export class Client extends AbstractClient {
873
909
  }
874
910
 
875
911
  /**
876
- * 修改目标组的名称或者默认端口属性
877
- */
878
- async ModifyTargetGroupAttribute(
879
- req: ModifyTargetGroupAttributeRequest,
880
- cb?: (error: string, rep: ModifyTargetGroupAttributeResponse) => void
881
- ): Promise<ModifyTargetGroupAttributeResponse> {
882
- return this.request("ModifyTargetGroupAttribute", req, cb)
912
+ * DeregisterFunctionTargets 接口用来将一个云函数从负载均衡的转发规则上解绑,对于七层监听器,还需通过 LocationId 或 Domain+Url 指定转发规则。
913
+ 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
914
+ <br/>限制说明:
915
+
916
+ - 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、孟买、东京、硅谷地域支持绑定 SCF。
917
+ - 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。
918
+ - 传统型负载均衡不支持绑定 SCF。
919
+ - 基础网络类型不支持绑定 SCF。
920
+ - CLB 默认支持绑定同地域下的所有 SCF,可支持跨 VPC 绑定 SCF,不支持跨地域绑定。
921
+ - 目前仅 IPv4、IPv6 NAT64 版本的负载均衡支持绑定 SCF,IPv6 版本的暂不支持。
922
+ - 仅七层(HTTP、HTTPS)监听器支持绑定 SCF,四层(TCP、UDP、TCP SSL)监听器和七层 QUIC 监听器不支持。
923
+ - CLB 绑定 SCF 仅支持绑定“Event 函数”类型的云函数。
924
+ */
925
+ async DeregisterFunctionTargets(
926
+ req: DeregisterFunctionTargetsRequest,
927
+ cb?: (error: string, rep: DeregisterFunctionTargetsResponse) => void
928
+ ): Promise<DeregisterFunctionTargetsResponse> {
929
+ return this.request("DeregisterFunctionTargets", req, cb)
883
930
  }
884
931
 
885
932
  /**
@@ -958,6 +958,11 @@ export interface RsWeightRule {
958
958
  Weight?: number
959
959
  }
960
960
 
961
+ /**
962
+ * RegisterFunctionTargets请求参数结构体
963
+ */
964
+ export type RegisterFunctionTargetsRequest = null
965
+
961
966
  /**
962
967
  * DeregisterTargetsFromClassicalLB请求参数结构体
963
968
  */
@@ -1495,6 +1500,16 @@ export interface DescribeClassicalLBTargetsRequest {
1495
1500
  LoadBalancerId: string
1496
1501
  }
1497
1502
 
1503
+ /**
1504
+ * DeregisterFunctionTargets返回参数结构体
1505
+ */
1506
+ export interface DeregisterFunctionTargetsResponse {
1507
+ /**
1508
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1509
+ */
1510
+ RequestId?: string
1511
+ }
1512
+
1498
1513
  /**
1499
1514
  * DescribeCustomizedConfigList请求参数结构体
1500
1515
  */
@@ -1582,6 +1597,32 @@ export interface DescribeCrossTargetsResponse {
1582
1597
  RequestId?: string
1583
1598
  }
1584
1599
 
1600
+ /**
1601
+ * SCF云函数(Serverless Cloud Function)相关信息。
1602
+ */
1603
+ export interface FunctionInfo {
1604
+ /**
1605
+ * 函数命名空间
1606
+ */
1607
+ FunctionNamespace: string
1608
+
1609
+ /**
1610
+ * 函数名称
1611
+ */
1612
+ FunctionName: string
1613
+
1614
+ /**
1615
+ * 函数的版本名称或别名
1616
+ */
1617
+ FunctionQualifier: string
1618
+
1619
+ /**
1620
+ * 标识 FunctionQualifier 参数的类型,可取值: VERSION(版本)、ALIAS(别名)
1621
+ 注意:此字段可能返回 null,表示取不到有效值。
1622
+ */
1623
+ FunctionQualifierType?: string
1624
+ }
1625
+
1585
1626
  /**
1586
1627
  * DescribeLoadBalancerListByCertId返回参数结构体
1587
1628
  */
@@ -2542,6 +2583,41 @@ export interface TargetGroupBackend {
2542
2583
  ZoneId: number
2543
2584
  }
2544
2585
 
2586
+ /**
2587
+ * DeregisterFunctionTargets请求参数结构体
2588
+ */
2589
+ export interface DeregisterFunctionTargetsRequest {
2590
+ /**
2591
+ * 负载均衡实例 ID。
2592
+ */
2593
+ LoadBalancerId: string
2594
+
2595
+ /**
2596
+ * 负载均衡监听器 ID。
2597
+ */
2598
+ ListenerId: string
2599
+
2600
+ /**
2601
+ * 待解绑的云函数列表。
2602
+ */
2603
+ FunctionTargets: Array<FunctionTarget>
2604
+
2605
+ /**
2606
+ * 目标转发规则的 ID,当将云函数从七层转发规则上解绑时,必须输入此参数或 Domain+Url 参数。
2607
+ */
2608
+ LocationId?: string
2609
+
2610
+ /**
2611
+ * 目标转发规则的域名,若已经输入 LocationId 参数,则本参数不生效。
2612
+ */
2613
+ Domain?: string
2614
+
2615
+ /**
2616
+ * 目标转发规则的 URL,若已经输入 LocationId 参数,则本参数不生效。
2617
+ */
2618
+ Url?: string
2619
+ }
2620
+
2545
2621
  /**
2546
2622
  * DescribeClassicalLBByInstanceId请求参数结构体
2547
2623
  */
@@ -2552,6 +2628,22 @@ export interface DescribeClassicalLBByInstanceIdRequest {
2552
2628
  InstanceIds: Array<string>
2553
2629
  }
2554
2630
 
2631
+ /**
2632
+ * SCF云函数(Serverless Cloud Function)作为后端服务
2633
+ */
2634
+ export interface FunctionTarget {
2635
+ /**
2636
+ * 云函数相关信息
2637
+ 注意:此字段可能返回 null,表示取不到有效值。
2638
+ */
2639
+ Function: FunctionInfo
2640
+
2641
+ /**
2642
+ * 权重
2643
+ */
2644
+ Weight?: number
2645
+ }
2646
+
2555
2647
  /**
2556
2648
  * DescribeResources返回参数结构体
2557
2649
  */
@@ -3282,6 +3374,16 @@ export interface RuleOutput {
3282
3374
  TargetGroupList: Array<BasicTargetGroupInfo>
3283
3375
  }
3284
3376
 
3377
+ /**
3378
+ * RegisterFunctionTargets返回参数结构体
3379
+ */
3380
+ export interface RegisterFunctionTargetsResponse {
3381
+ /**
3382
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3383
+ */
3384
+ RequestId?: string
3385
+ }
3386
+
3285
3387
  /**
3286
3388
  * CreateTopic返回参数结构体
3287
3389
  */
@@ -295,7 +295,7 @@ export class Client extends AbstractClient {
295
295
  }
296
296
 
297
297
  /**
298
- * 本接口用于修改索引配置
298
+ * 本接口用于修改索引配置,该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过1,即同一时间同一个日志主题只能有一个正在执行的索引配置修改操作。
299
299
 
300
300
  */
301
301
  async ModifyIndex(
@@ -1207,22 +1207,23 @@ export interface ModifyMachineGroupResponse {
1207
1207
 
1208
1208
  /**
1209
1209
  * 索引规则,FullText、KeyValue、Tag参数必须输入一个有效参数
1210
+
1210
1211
  */
1211
1212
  export interface RuleInfo {
1212
1213
  /**
1213
- * 全文索引配置
1214
+ * 全文索引配置, 如果为空时代表未开启全文索引
1214
1215
  注意:此字段可能返回 null,表示取不到有效值。
1215
1216
  */
1216
1217
  FullText?: FullTextInfo
1217
1218
 
1218
1219
  /**
1219
- * 键值索引配置
1220
+ * 键值索引配置,如果为空时代表未开启键值索引
1220
1221
  注意:此字段可能返回 null,表示取不到有效值。
1221
1222
  */
1222
1223
  KeyValue?: RuleKeyValueInfo
1223
1224
 
1224
1225
  /**
1225
- * 元字段索引配置
1226
+ * 元字段索引配置,如果为空时代表未开启元字段索引
1226
1227
  注意:此字段可能返回 null,表示取不到有效值。
1227
1228
  */
1228
1229
  Tag?: RuleTagInfo
@@ -3709,7 +3710,7 @@ export interface ShipperInfo {
3709
3710
  */
3710
3711
  export interface KeyValueInfo {
3711
3712
  /**
3712
- * 需要配置键值或者元字段索引的字段名称,仅支持字母、数字和_-./@,且不能以_开头
3713
+ * 需要配置键值或者元字段索引的字段名称,仅支持字母、数字、下划线和-./@,且不能以下划线开头
3713
3714
 
3714
3715
  注意:
3715
3716
  1,元字段(tag)的Key无需额外添加`__TAG__.`前缀,与上传日志时对应的字段Key一致即可,腾讯云控制台展示时将自动添加`__TAG__.`前缀
@@ -2523,7 +2523,7 @@ export interface DescribeTagsRequest {
2523
2523
  <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版)</li>
2524
2524
  <li>Risk - String 是否必填: 否 - 风险主机( yes ) </li>
2525
2525
  <li>Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 )
2526
- 每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
2526
+ 每个过滤条件只支持一个值,暂不支持多个值“或”关系查询</li>
2527
2527
  */
2528
2528
  Filters?: Array<Filters>
2529
2529
  }
@@ -14014,7 +14014,7 @@ export interface DescribeScanStateRequest {
14014
14014
 
14015
14015
  /**
14016
14016
  * 过滤参数;
14017
- <li>StrategyId 基线策略ID ,仅ModuleType 为 Baseline 时需要<li/>
14017
+ <li>StrategyId 基线策略ID ,仅ModuleType 为 Baseline 时需要</li>
14018
14018
  */
14019
14019
  Filters?: Array<Filters>
14020
14020
  }
@@ -32,6 +32,7 @@ import {
32
32
  RollBackClusterRequest,
33
33
  DescribeAuditLogFilesResponse,
34
34
  SwitchClusterZoneResponse,
35
+ ModifyParamItem,
35
36
  AssociateSecurityGroupsRequest,
36
37
  DescribeBinlogDownloadUrlRequest,
37
38
  CreateAccountsResponse,
@@ -76,7 +77,7 @@ import {
76
77
  AuditLogFile,
77
78
  ExportInstanceSlowQueriesResponse,
78
79
  SwitchClusterZoneRequest,
79
- DescribeDBSecurityGroupsRequest,
80
+ Ability,
80
81
  InstanceInitInfo,
81
82
  UpgradeInstanceRequest,
82
83
  RollbackTable,
@@ -182,6 +183,7 @@ import {
182
183
  DescribeClusterParamsRequest,
183
184
  AuditLog,
184
185
  DescribeInstanceSpecsResponse,
186
+ DescribeDBSecurityGroupsRequest,
185
187
  DescribeAccountAllGrantPrivilegesRequest,
186
188
  OfflineInstanceResponse,
187
189
  ParamItem,
@@ -606,7 +608,7 @@ export class Client extends AbstractClient {
606
608
  }
607
609
 
608
610
  /**
609
- * 显示集群详情
611
+ * 该接口(DescribeClusterDetail)显示集群详情
610
612
  */
611
613
  async DescribeClusterDetail(
612
614
  req: DescribeClusterDetailRequest,