tencentcloud-sdk-nodejs 4.0.490 → 4.0.491

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 (61) hide show
  1. package/CHANGELOG.md +221 -0
  2. package/SERVICE_CHANGELOG.md +293 -124
  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/asr/v20190614/asr_client.ts +4 -2
  7. package/src/services/asr/v20190614/asr_models.ts +2 -2
  8. package/src/services/cdb/v20170320/cdb_client.ts +2 -15
  9. package/src/services/cdb/v20170320/cdb_models.ts +72 -132
  10. package/src/services/cdn/v20180606/cdn_client.ts +1 -1
  11. package/src/services/cdn/v20180606/cdn_models.ts +8 -3
  12. package/src/services/cvm/v20170312/cvm_client.ts +1 -0
  13. package/src/services/cvm/v20170312/cvm_models.ts +25 -0
  14. package/src/services/dcdb/v20180411/dcdb_client.ts +22 -0
  15. package/src/services/dcdb/v20180411/dcdb_models.ts +155 -0
  16. package/src/services/emr/v20190103/emr_client.ts +5 -5
  17. package/src/services/emr/v20190103/emr_models.ts +13 -19
  18. package/src/services/essbasic/v20210526/essbasic_client.ts +15 -0
  19. package/src/services/essbasic/v20210526/essbasic_models.ts +148 -1
  20. package/src/services/faceid/v20180301/faceid_client.ts +1 -0
  21. package/src/services/faceid/v20180301/faceid_models.ts +15 -0
  22. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +6 -0
  23. package/src/services/lighthouse/v20200324/lighthouse_models.ts +10 -0
  24. package/src/services/postgres/v20170312/postgres_client.ts +2 -0
  25. package/src/services/postgres/v20170312/postgres_models.ts +119 -7
  26. package/src/services/tcm/v20210413/tcm_models.ts +27 -2
  27. package/src/services/teo/v20220901/teo_models.ts +7 -2
  28. package/src/services/tione/v20211111/tione_models.ts +5 -0
  29. package/src/services/tts/v20190823/tts_models.ts +1 -1
  30. package/tencentcloud/common/sdk_version.d.ts +1 -1
  31. package/tencentcloud/common/sdk_version.js +1 -1
  32. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +3 -1
  33. package/tencentcloud/services/asr/v20190614/asr_client.js +3 -1
  34. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
  35. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -5
  36. package/tencentcloud/services/cdb/v20170320/cdb_client.js +0 -6
  37. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +59 -109
  38. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
  39. package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
  40. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +7 -3
  41. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +21 -0
  42. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +10 -1
  43. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +11 -0
  44. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +132 -0
  45. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -5
  46. package/tencentcloud/services/emr/v20190103/emr_client.js +5 -5
  47. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +11 -17
  48. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +6 -1
  49. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +7 -0
  50. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +125 -1
  51. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +13 -0
  52. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +5 -0
  53. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +10 -0
  54. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +102 -7
  55. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +21 -1
  56. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +6 -2
  57. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
  58. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +1 -1
  59. package/test/cdb.v20170320.test.js +0 -10
  60. package/test/dcdb.v20180411.test.js +10 -0
  61. package/test/essbasic.v20210526.test.js +10 -0
package/products.md CHANGED
@@ -15,7 +15,7 @@
15
15
  | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2022-11-09 06:09:16 |
16
16
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-08-22 06:08:36 |
17
17
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-11-18 06:08:39 |
18
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-11-28 06:10:45 |
18
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-11-29 06:12:14 |
19
19
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
20
20
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
21
21
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-11-01 06:09:07 |
@@ -39,9 +39,9 @@
39
39
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-11-09 06:14:16 |
40
40
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-10-27 06:14:10 |
41
41
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-11-21 06:12:39 |
42
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-11-25 06:13:56 |
42
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-11-29 06:19:07 |
43
43
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-07-30 15:07:54 |
44
- | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2022-10-31 06:15:07 |
44
+ | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2022-11-29 06:20:53 |
45
45
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2022-10-31 06:15:53 |
46
46
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2022-11-25 17:33:17 |
47
47
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-09-26 06:16:02 |
@@ -63,7 +63,7 @@
63
63
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
64
64
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-11-25 06:20:42 |
65
65
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
66
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-11-23 06:18:34 |
66
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-11-29 06:30:25 |
67
67
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-11-17 06:19:07 |
68
68
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
69
69
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2022-11-23 06:21:08 |
@@ -73,7 +73,7 @@
73
73
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-09-29 06:25:38 |
74
74
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-11-23 06:23:05 |
75
75
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-10-26 06:29:47 |
76
- | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2022-11-23 06:23:24 |
76
+ | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2022-11-29 06:37:37 |
77
77
  | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2022-11-24 06:27:21 |
78
78
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-11-25 06:28:38 |
79
79
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-05-24 06:11:36 |
@@ -87,12 +87,12 @@
87
87
  | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-09-09 06:24:10 |
88
88
  | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
89
89
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2022-11-16 06:22:42 |
90
- | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-11-24 06:31:27 |
90
+ | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-11-29 06:43:55 |
91
91
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-11-17 06:25:50 |
92
92
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-11-25 18:17:09 |
93
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-11-25 18:17:38 |
93
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-11-29 06:45:57 |
94
94
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
95
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-11-16 06:23:45 |
95
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-11-29 06:46:33 |
96
96
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
97
97
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
98
98
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-11-23 06:29:46 |
@@ -111,7 +111,7 @@
111
111
  | ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2022-09-29 06:34:25 |
112
112
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2022-04-04 06:48:08 |
113
113
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-08-16 06:27:22 |
114
- | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-11-21 06:32:42 |
114
+ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-11-29 06:52:35 |
115
115
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
116
116
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-11-03 06:28:16 |
117
117
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-11-17 06:31:48 |
@@ -119,7 +119,7 @@
119
119
  | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2022-10-28 11:32:11 |
120
120
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-11-01 06:32:51 |
121
121
  | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2022-10-19 06:31:50 |
122
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-11-28 06:47:35 |
122
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-11-29 06:58:08 |
123
123
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2022-11-18 06:36:08 |
124
124
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
125
125
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
@@ -143,7 +143,7 @@
143
143
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2022-11-18 06:41:15 |
144
144
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-11-17 06:38:25 |
145
145
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
146
- | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-11-24 06:46:55 |
146
+ | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-11-29 07:09:18 |
147
147
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-10-26 06:52:45 |
148
148
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2022-11-18 06:42:29 |
149
149
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-09-23 06:43:17 |
@@ -178,7 +178,7 @@
178
178
  | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-08-23 06:50:39 |
179
179
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
180
180
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
181
- | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-11-24 06:54:17 |
181
+ | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-11-29 07:19:41 |
182
182
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-11-08 06:41:24 |
183
183
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-11-25 06:59:05 |
184
184
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-10-21 06:47:14 |
@@ -186,7 +186,7 @@
186
186
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-11-25 07:03:54 |
187
187
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-10-10 06:42:56 |
188
188
  | tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-11-17 06:48:59 |
189
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-11-28 07:11:19 |
189
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-11-29 07:26:41 |
190
190
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-11-16 06:42:38 |
191
191
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
192
192
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2022-10-31 06:55:14 |
@@ -194,7 +194,7 @@
194
194
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
195
195
  | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
196
196
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-11-22 07:01:36 |
197
- | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-11-24 07:02:07 |
197
+ | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-11-29 07:29:47 |
198
198
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-11-24 07:03:21 |
199
199
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-11-22 07:03:00 |
200
200
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
@@ -205,7 +205,7 @@
205
205
  | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2022-10-31 06:58:14 |
206
206
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-10-31 06:58:25 |
207
207
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-10-31 06:59:44 |
208
- | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-11-24 07:07:34 |
208
+ | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-11-29 07:36:55 |
209
209
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
210
210
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-11-16 06:46:30 |
211
211
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.490"
1
+ export const sdkVersion = "4.0.491"
@@ -224,8 +224,10 @@ export class Client extends AbstractClient {
224
224
  }
225
225
 
226
226
  /**
227
- * 用户使用该接口可以创建自学习模型,以供识别调用
228
- */
227
+ * 用户使用该接口可以创建自学习模型,以供识别调用。
228
+
229
+ 注意:调用该接口后,模型会自动训练。新建模型成功后,调用ModifyCustomizationState接口修改为上线状态,即可在识别请求中使用对应模型ID。
230
+ */
229
231
  async CreateCustomization(
230
232
  req: CreateCustomizationRequest,
231
233
  cb?: (error: string, rep: CreateCustomizationResponse) => void
@@ -219,7 +219,7 @@ export interface DescribeTaskStatusResponse {
219
219
  */
220
220
  export interface SentenceRecognitionRequest {
221
221
  /**
222
- * 腾讯云项目 ID,废弃参数,默认填写0即可。
222
+ * 腾讯云项目 ID,废弃参数,填写0即可。
223
223
  */
224
224
  ProjectId: number
225
225
 
@@ -255,7 +255,7 @@ export interface SentenceRecognitionRequest {
255
255
  VoiceFormat: string
256
256
 
257
257
  /**
258
- * 用户端对此任务的唯一标识。废弃参数,忽略即可。
258
+ * 废弃参数,填写任意字符串即可。
259
259
  */
260
260
  UsrAudioKey: string
261
261
 
@@ -182,10 +182,9 @@ import {
182
182
  ModifyInstancePasswordComplexityResponse,
183
183
  DeviceMemInfo,
184
184
  UpgradeDBInstanceEngineVersionRequest,
185
- SlowLogItem,
185
+ DatabasesWithCharacterLists,
186
186
  TagInfo,
187
187
  DescribeDBInstancesResponse,
188
- ModifyCDBProxyResponse,
189
188
  DescribeBackupDownloadRestrictionRequest,
190
189
  CreateDeployGroupRequest,
191
190
  DeleteAccountsRequest,
@@ -230,14 +229,13 @@ import {
230
229
  SwitchForUpgradeRequest,
231
230
  CreateDBInstanceHourResponse,
232
231
  DescribeBackupDownloadRestrictionResponse,
233
- DatabasesWithCharacterLists,
232
+ SlowLogItem,
234
233
  CloneItem,
235
234
  ModifyDBInstanceSecurityGroupsResponse,
236
235
  CreateAccountsRequest,
237
236
  DescribeDeployGroupListRequest,
238
237
  BackupInfo,
239
238
  CloseWanServiceResponse,
240
- RoWeight,
241
239
  RenewDBInstanceRequest,
242
240
  SlowLogInfo,
243
241
  ModifyLocalBinlogConfigResponse,
@@ -298,7 +296,6 @@ import {
298
296
  ModifyInstancePasswordComplexityRequest,
299
297
  OpenWanServiceResponse,
300
298
  DescribeDBInstanceGTIDRequest,
301
- ModifyCDBProxyRequest,
302
299
  ModifyAuditConfigRequest,
303
300
  DeviceDiskInfo,
304
301
  RoWeightValue,
@@ -997,16 +994,6 @@ export class Client extends AbstractClient {
997
994
  return this.request("DescribeInstanceParams", req, cb)
998
995
  }
999
996
 
1000
- /**
1001
- * 配置数据库代理读写分离
1002
- */
1003
- async ModifyCDBProxy(
1004
- req: ModifyCDBProxyRequest,
1005
- cb?: (error: string, rep: ModifyCDBProxyResponse) => void
1006
- ): Promise<ModifyCDBProxyResponse> {
1007
- return this.request("ModifyCDBProxy", req, cb)
1008
- }
1009
-
1010
997
  /**
1011
998
  * 查询代理规格配置
1012
999
  */
@@ -3988,74 +3988,18 @@ export interface UpgradeDBInstanceEngineVersionRequest {
3988
3988
  }
3989
3989
 
3990
3990
  /**
3991
- * 结构化的慢日志详情
3991
+ * 数据库名以及字符集
3992
3992
  */
3993
- export interface SlowLogItem {
3994
- /**
3995
- * Sql的执行时间。
3996
- 注意:此字段可能返回 null,表示取不到有效值。
3997
- */
3998
- Timestamp: number
3999
-
4000
- /**
4001
- * Sql的执行时长(秒)。
4002
- 注意:此字段可能返回 null,表示取不到有效值。
4003
- */
4004
- QueryTime: number
4005
-
4006
- /**
4007
- * Sql语句。
4008
- 注意:此字段可能返回 null,表示取不到有效值。
4009
- */
4010
- SqlText: string
4011
-
4012
- /**
4013
- * 客户端地址。
4014
- 注意:此字段可能返回 null,表示取不到有效值。
4015
- */
4016
- UserHost: string
4017
-
4018
- /**
4019
- * 用户名。
4020
- 注意:此字段可能返回 null,表示取不到有效值。
4021
- */
4022
- UserName: string
4023
-
4024
- /**
4025
- * 数据库名。
4026
- 注意:此字段可能返回 null,表示取不到有效值。
4027
- */
4028
- Database: string
4029
-
4030
- /**
4031
- * 锁时长(秒)。
4032
- 注意:此字段可能返回 null,表示取不到有效值。
4033
- */
4034
- LockTime: number
4035
-
4036
- /**
4037
- * 扫描行数。
4038
- 注意:此字段可能返回 null,表示取不到有效值。
4039
- */
4040
- RowsExamined: number
4041
-
4042
- /**
4043
- * 结果集行数。
4044
- 注意:此字段可能返回 null,表示取不到有效值。
4045
- */
4046
- RowsSent: number
4047
-
3993
+ export interface DatabasesWithCharacterLists {
4048
3994
  /**
4049
- * Sql模板。
4050
- 注意:此字段可能返回 null,表示取不到有效值。
4051
- */
4052
- SqlTemplate: string
3995
+ * 数据库名
3996
+ */
3997
+ DatabaseName: string
4053
3998
 
4054
3999
  /**
4055
- * Sql语句的md5。
4056
- 注意:此字段可能返回 null,表示取不到有效值。
4057
- */
4058
- Md5: string
4000
+ * 字符集类型
4001
+ */
4002
+ CharacterSet: string
4059
4003
  }
4060
4004
 
4061
4005
  /**
@@ -4093,16 +4037,6 @@ export interface DescribeDBInstancesResponse {
4093
4037
  RequestId?: string
4094
4038
  }
4095
4039
 
4096
- /**
4097
- * ModifyCDBProxy返回参数结构体
4098
- */
4099
- export interface ModifyCDBProxyResponse {
4100
- /**
4101
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4102
- */
4103
- RequestId?: string
4104
- }
4105
-
4106
4040
  /**
4107
4041
  * DescribeBackupDownloadRestriction请求参数结构体
4108
4042
  */
@@ -5456,18 +5390,74 @@ export interface DescribeBackupDownloadRestrictionResponse {
5456
5390
  }
5457
5391
 
5458
5392
  /**
5459
- * 数据库名以及字符集
5393
+ * 结构化的慢日志详情
5460
5394
  */
5461
- export interface DatabasesWithCharacterLists {
5395
+ export interface SlowLogItem {
5462
5396
  /**
5463
- * 数据库名
5464
- */
5465
- DatabaseName: string
5397
+ * Sql的执行时间。
5398
+ 注意:此字段可能返回 null,表示取不到有效值。
5399
+ */
5400
+ Timestamp: number
5466
5401
 
5467
5402
  /**
5468
- * 字符集类型
5469
- */
5470
- CharacterSet: string
5403
+ * Sql的执行时长(秒)。
5404
+ 注意:此字段可能返回 null,表示取不到有效值。
5405
+ */
5406
+ QueryTime: number
5407
+
5408
+ /**
5409
+ * Sql语句。
5410
+ 注意:此字段可能返回 null,表示取不到有效值。
5411
+ */
5412
+ SqlText: string
5413
+
5414
+ /**
5415
+ * 客户端地址。
5416
+ 注意:此字段可能返回 null,表示取不到有效值。
5417
+ */
5418
+ UserHost: string
5419
+
5420
+ /**
5421
+ * 用户名。
5422
+ 注意:此字段可能返回 null,表示取不到有效值。
5423
+ */
5424
+ UserName: string
5425
+
5426
+ /**
5427
+ * 数据库名。
5428
+ 注意:此字段可能返回 null,表示取不到有效值。
5429
+ */
5430
+ Database: string
5431
+
5432
+ /**
5433
+ * 锁时长(秒)。
5434
+ 注意:此字段可能返回 null,表示取不到有效值。
5435
+ */
5436
+ LockTime: number
5437
+
5438
+ /**
5439
+ * 扫描行数。
5440
+ 注意:此字段可能返回 null,表示取不到有效值。
5441
+ */
5442
+ RowsExamined: number
5443
+
5444
+ /**
5445
+ * 结果集行数。
5446
+ 注意:此字段可能返回 null,表示取不到有效值。
5447
+ */
5448
+ RowsSent: number
5449
+
5450
+ /**
5451
+ * Sql模板。
5452
+ 注意:此字段可能返回 null,表示取不到有效值。
5453
+ */
5454
+ SqlTemplate: string
5455
+
5456
+ /**
5457
+ * Sql语句的md5。
5458
+ 注意:此字段可能返回 null,表示取不到有效值。
5459
+ */
5460
+ Md5: string
5471
5461
  }
5472
5462
 
5473
5463
  /**
@@ -5695,11 +5685,6 @@ export interface CloseWanServiceResponse {
5695
5685
  RequestId?: string
5696
5686
  }
5697
5687
 
5698
- /**
5699
- * 实例权重
5700
- */
5701
- export type RoWeight = null
5702
-
5703
5688
  /**
5704
5689
  * RenewDBInstance请求参数结构体
5705
5690
  */
@@ -7296,51 +7281,6 @@ export interface DescribeDBInstanceGTIDRequest {
7296
7281
  InstanceId: string
7297
7282
  }
7298
7283
 
7299
- /**
7300
- * ModifyCDBProxy请求参数结构体
7301
- */
7302
- export interface ModifyCDBProxyRequest {
7303
- /**
7304
- * 数据库代理组唯一ID
7305
- */
7306
- ProxyGroupId: string
7307
-
7308
- /**
7309
- * 是否开始延迟剔除,默认false,取值:"true" | "false"
7310
- */
7311
- IsKickout?: boolean
7312
-
7313
- /**
7314
- * 最少保留数,最小为0,最大为实例数量
7315
- */
7316
- MinCount?: number
7317
-
7318
- /**
7319
- * 延迟剔除的阈值;如果IsKickOut="true", 该字段必填
7320
- */
7321
- MaxDelay?: number
7322
-
7323
- /**
7324
- * 读写权重分配模式;系统自动分配:"system", 自定义:"custom"
7325
- */
7326
- WeightMode?: string
7327
-
7328
- /**
7329
- * 实例只读权重
7330
- */
7331
- RoWeightValues?: RoWeight
7332
-
7333
- /**
7334
- * 是否开启故障转移,代理出现故障后,连接地址将路由到主实例,默认false,取值:"true" | "false"
7335
- */
7336
- FailOver?: boolean
7337
-
7338
- /**
7339
- * 是否自动添加只读实例,默认false,取值:"true" | "false"
7340
- */
7341
- AutoAddRo?: boolean
7342
- }
7343
-
7344
7284
  /**
7345
7285
  * ModifyAuditConfig请求参数结构体
7346
7286
  */
@@ -385,7 +385,7 @@ export class Client extends AbstractClient {
385
385
  }
386
386
 
387
387
  /**
388
- * DescribeIpStatus 用于查询域名所在加速平台的边缘节点、回源节点明细。注意事项:暂不支持查询边缘节点信息。
388
+ * DescribeIpStatus 用于查询域名所在加速平台的边缘节点、回源节点明细。注意事项:暂不支持查询边缘节点信息并且数据会存在一定延迟。
389
389
 
390
390
  >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41954"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
391
391
  */
@@ -2164,7 +2164,7 @@ export interface DDoSAttackBandwidthData {
2164
2164
  }
2165
2165
 
2166
2166
  /**
2167
- * 跨国回源优化配置,默认为关闭状态(功能灰度中,尚未全量)
2167
+ * 跨国回源优化配置,默认为关闭状态 (已下线)
2168
2168
  */
2169
2169
  export interface OriginPullOptimization {
2170
2170
  /**
@@ -4120,6 +4120,11 @@ global: 全球节点
4120
4120
  * 是否查询节点 IPV6 信息。
4121
4121
  */
4122
4122
  ShowIpv6?: boolean
4123
+
4124
+ /**
4125
+ * 是否对IPV6进行缩写。
4126
+ */
4127
+ AbbreviationIpv6?: boolean
4123
4128
  }
4124
4129
 
4125
4130
  /**
@@ -8520,7 +8525,7 @@ export interface UpdateDomainConfigRequest {
8520
8525
  Cache?: Cache
8521
8526
 
8522
8527
  /**
8523
- * 跨国链路优化配置
8528
+ * 跨国链路优化配置(已下线)
8524
8529
  */
8525
8530
  OriginPullOptimization?: OriginPullOptimization
8526
8531
 
@@ -11004,7 +11009,7 @@ export interface OriginPullTimeout {
11004
11009
  ConnectTimeout: number
11005
11010
 
11006
11011
  /**
11007
- * 回源接收超时时间,单位为秒,要求10 ~ 60之间
11012
+ * 回源接收超时时间,单位为秒,要求10 ~ 300之间
11008
11013
  注意:此字段可能返回 null,表示取不到有效值。
11009
11014
  */
11010
11015
  ReceiveTimeout: number
@@ -241,6 +241,7 @@ import {
241
241
  DisassociateSecurityGroupsRequest,
242
242
  ModifyHostsAttributeRequest,
243
243
  ImportKeyPairRequest,
244
+ SyncImage,
244
245
  KeyPair,
245
246
  DescribeInstancesModificationResponse,
246
247
  RenewInstancesResponse,
@@ -1565,6 +1565,11 @@ export interface DescribeInstancesOperationLimitResponse {
1565
1565
  * SyncImages返回参数结构体
1566
1566
  */
1567
1567
  export interface SyncImagesResponse {
1568
+ /**
1569
+ * 目的地域的镜像ID信息。
1570
+ */
1571
+ ImageSet?: Array<SyncImage>
1572
+
1568
1573
  /**
1569
1574
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1570
1575
  */
@@ -1908,6 +1913,11 @@ export interface SyncImagesRequest {
1908
1913
  * 目标镜像名称。
1909
1914
  */
1910
1915
  ImageName?: string
1916
+
1917
+ /**
1918
+ * 是否需要返回目的地域的镜像ID。
1919
+ */
1920
+ ImageSetRequired?: boolean
1911
1921
  }
1912
1922
 
1913
1923
  /**
@@ -5803,6 +5813,21 @@ export interface ImportKeyPairRequest {
5803
5813
  TagSpecification?: Array<TagSpecification>
5804
5814
  }
5805
5815
 
5816
+ /**
5817
+ * 同步镜像信息
5818
+ */
5819
+ export interface SyncImage {
5820
+ /**
5821
+ * 镜像ID
5822
+ */
5823
+ ImageId: string
5824
+
5825
+ /**
5826
+ * 地域
5827
+ */
5828
+ Region: string
5829
+ }
5830
+
5806
5831
  /**
5807
5832
  * 描述密钥对信息
5808
5833
  */
@@ -71,6 +71,7 @@ import {
71
71
  DescribeDCDBPriceRequest,
72
72
  SwitchDBInstanceHAResponse,
73
73
  ParamModifyResult,
74
+ TablePrivilege,
74
75
  DescribeProjectSecurityGroupsResponse,
75
76
  DatabaseFunction,
76
77
  DescribeSqlLogsRequest,
@@ -107,6 +108,7 @@ import {
107
108
  DescribeDcnDetailResponse,
108
109
  TableColumn,
109
110
  SecurityGroupBound,
111
+ ColumnPrivilege,
110
112
  SplitShardConfig,
111
113
  RenewDCDBInstanceResponse,
112
114
  DescribeShardSpecResponse,
@@ -122,6 +124,7 @@ import {
122
124
  ShardInfo,
123
125
  ModifyInstanceVipRequest,
124
126
  OpenDBExtranetAccessRequest,
127
+ DatabasePrivilege,
125
128
  DescribeDCDBSaleInfoResponse,
126
129
  ModifyDBInstancesProjectRequest,
127
130
  DcnDetailItem,
@@ -131,6 +134,7 @@ import {
131
134
  KillSessionResponse,
132
135
  SlowLogData,
133
136
  DescribeDatabasesResponse,
137
+ ViewPrivileges,
134
138
  DescribeOrdersRequest,
135
139
  DescribeDBLogFilesResponse,
136
140
  CloseDBExtranetAccessRequest,
@@ -139,7 +143,10 @@ import {
139
143
  DescribeSqlLogsResponse,
140
144
  DeleteAccountRequest,
141
145
  DescribeDCDBInstancesResponse,
146
+ ModifyAccountPrivilegesResponse,
142
147
  DescribeFlowRequest,
148
+ ModifyAccountPrivilegesRequest,
149
+ Account,
143
150
  CreateDCDBInstanceRequest,
144
151
  DescribeDCDBUpgradePriceRequest,
145
152
  UserTaskInfo,
@@ -544,6 +551,21 @@ export class Client extends AbstractClient {
544
551
  return this.request("OpenDBExtranetAccess", req, cb)
545
552
  }
546
553
 
554
+ /**
555
+ * 本接口(ModifyAccountPrivileges)用于修改云数据库的账户的权限信息。
556
+
557
+ **注意**
558
+ - 系统保留库:"mysql",只开放["SELECT"]权限
559
+ - 只读账号授予读写权限会报错
560
+ - 不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组
561
+ */
562
+ async ModifyAccountPrivileges(
563
+ req: ModifyAccountPrivilegesRequest,
564
+ cb?: (error: string, rep: ModifyAccountPrivilegesResponse) => void
565
+ ): Promise<ModifyAccountPrivilegesResponse> {
566
+ return this.request("ModifyAccountPrivileges", req, cb)
567
+ }
568
+
547
569
  /**
548
570
  * 本接口(DestroyDCDBInstance)用于销毁已隔离的包年包月实例。
549
571
  */