tencentcloud-sdk-nodejs 4.0.641 → 4.0.642

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 (47) hide show
  1. package/CHANGELOG.md +173 -0
  2. package/SERVICE_CHANGELOG.md +210 -91
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_client.ts +6 -6
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +91 -91
  8. package/src/services/asr/v20190614/asr_models.ts +1 -1
  9. package/src/services/cdb/v20170320/cdb_client.ts +13 -0
  10. package/src/services/cdb/v20170320/cdb_models.ts +144 -0
  11. package/src/services/cfs/v20190719/cfs_client.ts +1 -1
  12. package/src/services/cfs/v20190719/cfs_models.ts +83 -73
  13. package/src/services/cfw/v20190904/cfw_client.ts +51 -27
  14. package/src/services/cfw/v20190904/cfw_models.ts +95 -33
  15. package/src/services/dbbrain/v20210527/dbbrain_models.ts +9 -9
  16. package/src/services/domain/v20180808/domain_models.ts +32 -4
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +13 -13
  18. package/src/services/lcic/v20220817/lcic_models.ts +4 -0
  19. package/src/services/nlp/v20190408/nlp_models.ts +6 -7
  20. package/src/services/tcb/v20180608/tcb_models.ts +1 -1
  21. package/src/services/tke/v20180525/tke_models.ts +6 -6
  22. package/src/services/wav/v20210129/wav_models.ts +53 -0
  23. package/tencentcloud/common/sdk_version.d.ts +1 -1
  24. package/tencentcloud/common/sdk_version.js +1 -1
  25. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +2 -2
  26. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +1 -1
  27. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +89 -89
  28. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
  29. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -1
  30. package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
  31. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +141 -0
  32. package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -1
  33. package/tencentcloud/services/cfs/v20190719/cfs_client.js +1 -1
  34. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +83 -73
  35. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +18 -10
  36. package/tencentcloud/services/cfw/v20190904/cfw_client.js +25 -13
  37. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +90 -32
  38. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +9 -9
  39. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +32 -4
  40. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +13 -13
  41. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
  42. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +6 -7
  43. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1 -1
  44. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +6 -6
  45. package/tencentcloud/services/wav/v20210129/wav_models.d.ts +53 -0
  46. package/test/cdb.v20170320.test.js +10 -0
  47. package/test/cfw.v20190904.test.js +28 -8
package/products.md CHANGED
@@ -14,10 +14,10 @@
14
14
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
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
- | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-07-13 01:02:00 |
17
+ | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-07-14 01:02:00 |
18
18
  | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-06-28 01:02:05 |
19
19
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-07-11 01:03:12 |
20
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-07-13 01:02:59 |
20
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-07-14 01:03: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-05-18 01:04:06 |
23
23
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-07-13 01:03:15 |
@@ -41,14 +41,14 @@
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-07-03 01:06:30 |
43
43
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-06-30 01:11:07 |
44
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-07-13 01:06:06 |
44
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-07-14 01:06:10 |
45
45
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-06-08 01:10:03 |
46
46
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-07-12 01:11:36 |
47
47
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-05-18 01:10:41 |
48
48
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-06-30 01:12:59 |
49
49
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-06-29 01:09:00 |
50
- | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-07-13 01:07:49 |
51
- | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-07-05 01:13:10 |
50
+ | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-07-14 01:07:56 |
51
+ | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-07-14 01:08:16 |
52
52
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-05-31 01:12:53 |
53
53
  | ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-07-06 01:13:25 |
54
54
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
@@ -74,13 +74,13 @@
74
74
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-07-07 01:21:45 |
75
75
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
76
76
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
77
- | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-07-13 01:15:30 |
77
+ | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-07-14 01:15:28 |
78
78
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-05-18 01:21:33 |
79
79
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-05-18 01:21:37 |
80
80
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-06-28 01:18:44 |
81
81
  | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-07-11 01:18:28 |
82
82
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-07-10 01:22:33 |
83
- | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-05-18 01:23:17 |
83
+ | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-07-14 01:17:08 |
84
84
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-05-18 01:23:31 |
85
85
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-05-18 01:23:36 |
86
86
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
@@ -94,7 +94,7 @@
94
94
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-07-12 01:23:43 |
95
95
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-07-12 01:24:00 |
96
96
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-07-13 01:19:43 |
97
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-07-13 01:20:20 |
97
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-07-14 01:19:48 |
98
98
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-07-11 01:24:18 |
99
99
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-07-03 01:23:32 |
100
100
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-05-24 14:30:55 |
@@ -125,7 +125,7 @@
125
125
  | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-05-18 01:35:21 |
126
126
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-05-24 01:32:32 |
127
127
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-05-18 01:35:58 |
128
- | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-07-12 01:30:32 |
128
+ | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-07-14 01:25:31 |
129
129
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-07-10 01:32:08 |
130
130
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-07-12 01:31:17 |
131
131
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
@@ -138,12 +138,12 @@
138
138
  | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2023-05-25 01:46:28 |
139
139
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-07-06 01:31:55 |
140
140
  | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-07-13 01:28:24 |
141
- | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-07-06 01:33:04 |
141
+ | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-07-14 01:28:28 |
142
142
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-05-18 01:42:01 |
143
143
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-06-15 01:29:09 |
144
144
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-05-18 01:42:21 |
145
145
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
146
- | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-07-04 01:39:00 |
146
+ | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-07-14 01:29:25 |
147
147
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
148
148
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-06-19 01:30:56 |
149
149
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-07-13 01:30:28 |
@@ -183,7 +183,7 @@
183
183
  | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
184
184
  | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-06-06 01:55:04 |
185
185
  | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-06-20 01:48:17 |
186
- | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-07-11 01:40:42 |
186
+ | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-07-14 01:35:07 |
187
187
  | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2023-05-18 01:51:15 |
188
188
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
189
189
  | tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2023-07-10 10:40:45 |
@@ -206,7 +206,7 @@
206
206
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-07-10 01:48:50 |
207
207
  | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-06-26 01:57:45 |
208
208
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-06-08 02:02:46 |
209
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-07-12 01:46:09 |
209
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-07-14 01:40:32 |
210
210
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
211
211
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-05-18 02:01:07 |
212
212
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-05-18 02:01:10 |
@@ -226,7 +226,7 @@
226
226
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-07-12 01:51:01 |
227
227
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-06-21 01:45:11 |
228
228
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-07-05 01:56:06 |
229
- | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-11 01:55:43 |
229
+ | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-14 01:46:29 |
230
230
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-07-12 01:53:01 |
231
231
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
232
232
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-06-22 02:06:43 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.641"
1
+ export const sdkVersion = "4.0.642"
@@ -110,6 +110,7 @@ import {
110
110
  NetworkConfig,
111
111
  ServiceReleaseHistory,
112
112
  ModifyUsagePlanResponse,
113
+ IPStrategiesStatus,
113
114
  CreateUsagePlanResponse,
114
115
  DomainSets,
115
116
  DeletePluginRequest,
@@ -154,7 +155,7 @@ import {
154
155
  UpdateApiAppKeyRequest,
155
156
  ApigatewayTags,
156
157
  DomainSetList,
157
- IPStrategysStatus,
158
+ ServicesStatus,
158
159
  DescribeApiKeyResponse,
159
160
  ModifyApiIncrementResponse,
160
161
  ModifyApiRequest,
@@ -165,6 +166,7 @@ import {
165
166
  DescribeAllPluginApisRequest,
166
167
  ApiIdStatus,
167
168
  CreateApiRequest,
169
+ UnBindEnvironmentRequest,
168
170
  DescribeServiceEnvironmentStrategyRequest,
169
171
  DescribeUpstreamBindApisResponse,
170
172
  ReleaseServiceRequest,
@@ -173,7 +175,6 @@ import {
173
175
  Environment,
174
176
  DescribeAPIDocsRequest,
175
177
  DescribePluginsByApiRequest,
176
- UsagePlanStatusInfo,
177
178
  ServiceReleaseHistoryInfo,
178
179
  CreatePluginResponse,
179
180
  ModifyExclusiveInstanceResponse,
@@ -252,7 +253,6 @@ import {
252
253
  MicroService,
253
254
  DescribeApiEnvironmentStrategyResponse,
254
255
  DescribeApiRequest,
255
- ApiEnvironmentStrategyStataus,
256
256
  PluginSummary,
257
257
  ApiAppInfo,
258
258
  DeleteIPStrategyResponse,
@@ -262,7 +262,7 @@ import {
262
262
  ApiAppApiInfo,
263
263
  DescribeUsagePlanResponse,
264
264
  ReqParameter,
265
- UnBindEnvironmentRequest,
265
+ ApiEnvironmentStrategyStatus,
266
266
  AttachPluginResponse,
267
267
  BindEnvironmentRequest,
268
268
  ModifyUpstreamResponse,
@@ -287,7 +287,7 @@ import {
287
287
  DescribeServiceEnvironmentStrategyResponse,
288
288
  DesApisStatus,
289
289
  DescribeApiKeysStatusResponse,
290
- ServicesStatus,
290
+ UsagePlanStatusInfo,
291
291
  DescribeLogSearchRequest,
292
292
  BuildAPIDocRequest,
293
293
  ApiKeysStatus,
@@ -948,7 +948,7 @@ API 网关的服务创建后,需要发布到某个环境方生效后,使用
948
948
  }
949
949
 
950
950
  /**
951
- * 本接口(DescribeIPStrategysStatus)用于查询服务IP策略列表。
951
+ * 本接口(DescribeIPStrategysStatus)用于查询服务IP策略列表,因为接口名拼写错误,已不推荐使用,请优先使用DescribeIPStrategiesStatus接口。
952
952
  */
953
953
  async DescribeIPStrategysStatus(
954
954
  req: DescribeIPStrategysStatusRequest,
@@ -2320,6 +2320,22 @@ export interface ModifyUsagePlanResponse {
2320
2320
  RequestId?: string
2321
2321
  }
2322
2322
 
2323
+ /**
2324
+ * 策略列表
2325
+ */
2326
+ export interface IPStrategiesStatus {
2327
+ /**
2328
+ * 策略数量。
2329
+ 注意:此字段可能返回 null,表示取不到有效值。
2330
+ */
2331
+ TotalCount: number
2332
+ /**
2333
+ * 策略列表。
2334
+ 注意:此字段可能返回 null,表示取不到有效值。
2335
+ */
2336
+ StrategySet: Array<IPStrategy>
2337
+ }
2338
+
2323
2339
  /**
2324
2340
  * CreateUsagePlan返回参数结构体
2325
2341
  */
@@ -3278,19 +3294,19 @@ export interface DomainSetList {
3278
3294
  }
3279
3295
 
3280
3296
  /**
3281
- * 策略列表
3297
+ * 服务列表展示
3282
3298
  */
3283
- export interface IPStrategysStatus {
3299
+ export interface ServicesStatus {
3284
3300
  /**
3285
- * 策略数量。
3301
+ * 服务列表总数。
3286
3302
  注意:此字段可能返回 null,表示取不到有效值。
3287
3303
  */
3288
3304
  TotalCount: number
3289
3305
  /**
3290
- * 策略列表。
3306
+ * 服务列表详情。
3291
3307
  注意:此字段可能返回 null,表示取不到有效值。
3292
3308
  */
3293
- StrategySet: Array<IPStrategy>
3309
+ ServiceSet: Array<Service>
3294
3310
  }
3295
3311
 
3296
3312
  /**
@@ -3955,6 +3971,32 @@ export interface CreateApiRequest {
3955
3971
  Owner?: string
3956
3972
  }
3957
3973
 
3974
+ /**
3975
+ * UnBindEnvironment请求参数结构体
3976
+ */
3977
+ export interface UnBindEnvironmentRequest {
3978
+ /**
3979
+ * 绑定类型,取值为 API、SERVICE,默认值为 SERVICE。
3980
+ */
3981
+ BindType: string
3982
+ /**
3983
+ * 待绑定的使用计划唯一 ID 列表。
3984
+ */
3985
+ UsagePlanIds: Array<string>
3986
+ /**
3987
+ * 待解绑的服务环境。
3988
+ */
3989
+ Environment: string
3990
+ /**
3991
+ * 待解绑的服务唯一 ID。
3992
+ */
3993
+ ServiceId: string
3994
+ /**
3995
+ * API 唯一 ID 数组,当 BindType=API 时,需要传入此参数。
3996
+ */
3997
+ ApiIds?: Array<string>
3998
+ }
3999
+
3958
4000
  /**
3959
4001
  * DescribeServiceEnvironmentStrategy请求参数结构体
3960
4002
  */
@@ -4101,47 +4143,6 @@ export interface DescribePluginsByApiRequest {
4101
4143
  Offset?: number
4102
4144
  }
4103
4145
 
4104
- /**
4105
- * 用于使用计划列表展示
4106
- */
4107
- export interface UsagePlanStatusInfo {
4108
- /**
4109
- * 使用计划唯一 ID。
4110
- 注意:此字段可能返回 null,表示取不到有效值。
4111
- */
4112
- UsagePlanId: string
4113
- /**
4114
- * 用户自定义的使用计划名称。
4115
- 注意:此字段可能返回 null,表示取不到有效值。
4116
- */
4117
- UsagePlanName: string
4118
- /**
4119
- * 用户自定义的使用计划描述。
4120
- 注意:此字段可能返回 null,表示取不到有效值。
4121
- */
4122
- UsagePlanDesc: string
4123
- /**
4124
- * 每秒最大请求次数。
4125
- 注意:此字段可能返回 null,表示取不到有效值。
4126
- */
4127
- MaxRequestNumPreSec: number
4128
- /**
4129
- * 请求配额总量,-1表示没有限制。
4130
- 注意:此字段可能返回 null,表示取不到有效值。
4131
- */
4132
- MaxRequestNum: number
4133
- /**
4134
- * 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
4135
- 注意:此字段可能返回 null,表示取不到有效值。
4136
- */
4137
- CreatedTime: string
4138
- /**
4139
- * 最后修改时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
4140
- 注意:此字段可能返回 null,表示取不到有效值。
4141
- */
4142
- ModifiedTime: string
4143
- }
4144
-
4145
4146
  /**
4146
4147
  * 服务发布列表详情
4147
4148
  */
@@ -4150,17 +4151,17 @@ export interface ServiceReleaseHistoryInfo {
4150
4151
  * 版本号。
4151
4152
  注意:此字段可能返回 null,表示取不到有效值。
4152
4153
  */
4153
- VersionName: string
4154
+ VersionName?: string
4154
4155
  /**
4155
4156
  * 版本描述。
4156
4157
  注意:此字段可能返回 null,表示取不到有效值。
4157
4158
  */
4158
- VersionDesc: string
4159
+ VersionDesc?: string
4159
4160
  /**
4160
4161
  * 版本发布时间。
4161
4162
  注意:此字段可能返回 null,表示取不到有效值。
4162
4163
  */
4163
- ReleaseTime: string
4164
+ ReleaseTime?: string
4164
4165
  }
4165
4166
 
4166
4167
  /**
@@ -5789,7 +5790,7 @@ export interface DescribeApiEnvironmentStrategyResponse {
5789
5790
  * api绑定策略详情
5790
5791
  注意:此字段可能返回 null,表示取不到有效值。
5791
5792
  */
5792
- Result: ApiEnvironmentStrategyStataus
5793
+ Result?: ApiEnvironmentStrategyStatus
5793
5794
  /**
5794
5795
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5795
5796
  */
@@ -5810,22 +5811,6 @@ export interface DescribeApiRequest {
5810
5811
  ApiId: string
5811
5812
  }
5812
5813
 
5813
- /**
5814
- * API绑定策略列表
5815
- */
5816
- export interface ApiEnvironmentStrategyStataus {
5817
- /**
5818
- * API绑定的限流策略数量。
5819
- 注意:此字段可能返回 null,表示取不到有效值。
5820
- */
5821
- TotalCount: number
5822
- /**
5823
- * API绑定的限流策略列表。
5824
- 注意:此字段可能返回 null,表示取不到有效值。
5825
- */
5826
- ApiEnvironmentStrategySet: Array<ApiEnvironmentStrategy>
5827
- }
5828
-
5829
5814
  /**
5830
5815
  * 插件列表详情。
5831
5816
  */
@@ -6062,29 +6047,19 @@ export interface ReqParameter {
6062
6047
  }
6063
6048
 
6064
6049
  /**
6065
- * UnBindEnvironment请求参数结构体
6050
+ * API绑定策略列表
6066
6051
  */
6067
- export interface UnBindEnvironmentRequest {
6052
+ export interface ApiEnvironmentStrategyStatus {
6068
6053
  /**
6069
- * 绑定类型,取值为 API、SERVICE,默认值为 SERVICE。
6070
- */
6071
- BindType: string
6072
- /**
6073
- * 待绑定的使用计划唯一 ID 列表。
6074
- */
6075
- UsagePlanIds: Array<string>
6076
- /**
6077
- * 待解绑的服务环境。
6078
- */
6079
- Environment: string
6080
- /**
6081
- * 待解绑的服务唯一 ID。
6054
+ * API绑定的限流策略数量。
6055
+ 注意:此字段可能返回 null,表示取不到有效值。
6082
6056
  */
6083
- ServiceId: string
6057
+ TotalCount: number
6084
6058
  /**
6085
- * API 唯一 ID 数组,当 BindType=API 时,需要传入此参数。
6059
+ * API绑定的限流策略列表。
6060
+ 注意:此字段可能返回 null,表示取不到有效值。
6086
6061
  */
6087
- ApiIds?: Array<string>
6062
+ ApiEnvironmentStrategySet: Array<ApiEnvironmentStrategy>
6088
6063
  }
6089
6064
 
6090
6065
  /**
@@ -6701,19 +6676,44 @@ export interface DescribeApiKeysStatusResponse {
6701
6676
  }
6702
6677
 
6703
6678
  /**
6704
- * 服务列表展示
6679
+ * 用于使用计划列表展示
6705
6680
  */
6706
- export interface ServicesStatus {
6681
+ export interface UsagePlanStatusInfo {
6707
6682
  /**
6708
- * 服务列表总数。
6683
+ * 使用计划唯一 ID。
6709
6684
  注意:此字段可能返回 null,表示取不到有效值。
6710
6685
  */
6711
- TotalCount: number
6686
+ UsagePlanId: string
6712
6687
  /**
6713
- * 服务列表详情。
6688
+ * 用户自定义的使用计划名称。
6714
6689
  注意:此字段可能返回 null,表示取不到有效值。
6715
6690
  */
6716
- ServiceSet: Array<Service>
6691
+ UsagePlanName: string
6692
+ /**
6693
+ * 用户自定义的使用计划描述。
6694
+ 注意:此字段可能返回 null,表示取不到有效值。
6695
+ */
6696
+ UsagePlanDesc: string
6697
+ /**
6698
+ * 每秒最大请求次数。
6699
+ 注意:此字段可能返回 null,表示取不到有效值。
6700
+ */
6701
+ MaxRequestNumPreSec: number
6702
+ /**
6703
+ * 请求配额总量,-1表示没有限制。
6704
+ 注意:此字段可能返回 null,表示取不到有效值。
6705
+ */
6706
+ MaxRequestNum: number
6707
+ /**
6708
+ * 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
6709
+ 注意:此字段可能返回 null,表示取不到有效值。
6710
+ */
6711
+ CreatedTime: string
6712
+ /**
6713
+ * 最后修改时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
6714
+ 注意:此字段可能返回 null,表示取不到有效值。
6715
+ */
6716
+ ModifiedTime: string
6717
6717
  }
6718
6718
 
6719
6719
  /**
@@ -6902,7 +6902,7 @@ export interface DescribeIPStrategysStatusResponse {
6902
6902
  * 符合条件的策略列表。
6903
6903
  注意:此字段可能返回 null,表示取不到有效值。
6904
6904
  */
6905
- Result: IPStrategysStatus
6905
+ Result?: IPStrategiesStatus
6906
6906
  /**
6907
6907
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6908
6908
  */
@@ -599,7 +599,7 @@ export interface CreateRecTaskRequest {
599
599
  */
600
600
  ChannelNum: number
601
601
  /**
602
- * 识别结果返回形式。0: 识别结果文本(含分段时间戳); 1:词级别粒度的[详细识别结果](https://cloud.tencent.com/document/api/1093/37824#SentenceDetail)(不含标点,含语速值);2:词级别粒度的详细识别结果(包含标点、语速值);3: 标点符号分段,包含每段时间戳,特别适用于字幕场景(包含词级时间、标点、语速值)。4:【付费功能】将对ASR结果按照语义分段,并展示词级别粒度的详细识别结果,目前仅支持中文引擎(注意:如果开启后付费,将[自动计费](https://cloud.tencent.com/document/product/1093/35686))
602
+ * 识别结果返回形式。0: 识别结果文本(含分段时间戳); 1:词级别粒度的[详细识别结果](https://cloud.tencent.com/document/api/1093/37824#SentenceDetail)(不含标点,含语速值);2:词级别粒度的详细识别结果(包含标点、语速值);3: 标点符号分段,包含每段时间戳,特别适用于字幕场景(包含词级时间、标点、语速值)。4:【增值付费功能】对识别结果按照语义分段,并展示词级别粒度的详细识别结果,仅支持8k_zh、16k_zh引擎,需购买对应资源包使用(注意:如果账号后付费功能开启并使用此功能,将[自动计费](https://cloud.tencent.com/document/product/1093/35686))
603
603
  */
604
604
  ResTextFormat: number
605
605
  /**
@@ -210,6 +210,7 @@ import {
210
210
  ReloadBalanceProxyNodeRequest,
211
211
  DescribeAccountsResponse,
212
212
  RollbackTimeRange,
213
+ AuditLog,
213
214
  DescribeAuditLogFilesRequest,
214
215
  ModifyBackupConfigRequest,
215
216
  DisassociateSecurityGroupsResponse,
@@ -220,6 +221,7 @@ import {
220
221
  DescribeProxyConnectionPoolConfRequest,
221
222
  DescribeParamTemplatesRequest,
222
223
  DescribeAccountPrivilegesResponse,
224
+ DescribeAuditLogsRequest,
223
225
  DescribeBackupConfigRequest,
224
226
  RoVipInfo,
225
227
  DescribeAccountsRequest,
@@ -343,6 +345,7 @@ import {
343
345
  DeleteParamTemplateResponse,
344
346
  DBSwitchInfo,
345
347
  DescribeTasksResponse,
348
+ DescribeAuditLogsResponse,
346
349
  DescribeAuditPoliciesResponse,
347
350
  IsolateDBInstanceResponse,
348
351
  AdjustCdbProxyRequest,
@@ -1451,6 +1454,16 @@ export class Client extends AbstractClient {
1451
1454
  return this.request("DescribeAsyncRequestInfo", req, cb)
1452
1455
  }
1453
1456
 
1457
+ /**
1458
+ * 本接口(DescribeAuditLogs)用于查询数据库审计日志。
1459
+ */
1460
+ async DescribeAuditLogs(
1461
+ req: DescribeAuditLogsRequest,
1462
+ cb?: (error: string, rep: DescribeAuditLogsResponse) => void
1463
+ ): Promise<DescribeAuditLogsResponse> {
1464
+ return this.request("DescribeAuditLogs", req, cb)
1465
+ }
1466
+
1454
1467
  /**
1455
1468
  * 本接口(DescribeDBInstanceRebootTime)用于查询云数据库实例重启预计所需的时间。
1456
1469
  */
@@ -4204,6 +4204,90 @@ export interface RollbackTimeRange {
4204
4204
  End: string
4205
4205
  }
4206
4206
 
4207
+ /**
4208
+ * 审计日志详细信息
4209
+ */
4210
+ export interface AuditLog {
4211
+ /**
4212
+ * 影响行数。
4213
+ */
4214
+ AffectRows?: number
4215
+ /**
4216
+ * 错误码。
4217
+ */
4218
+ ErrCode?: number
4219
+ /**
4220
+ * SQL 类型。
4221
+ */
4222
+ SqlType?: string
4223
+ /**
4224
+ * 审计策略名称,逐步下线。
4225
+ */
4226
+ PolicyName?: string
4227
+ /**
4228
+ * 数据库名称。
4229
+ */
4230
+ DBName?: string
4231
+ /**
4232
+ * SQL 语句。
4233
+ */
4234
+ Sql?: string
4235
+ /**
4236
+ * 客户端地址。
4237
+ */
4238
+ Host?: string
4239
+ /**
4240
+ * 用户名。
4241
+ */
4242
+ User?: string
4243
+ /**
4244
+ * 执行时间,微秒。
4245
+ */
4246
+ ExecTime?: number
4247
+ /**
4248
+ * 时间。
4249
+ */
4250
+ Timestamp?: string
4251
+ /**
4252
+ * 返回行数。
4253
+ */
4254
+ SentRows?: number
4255
+ /**
4256
+ * 线程ID。
4257
+ */
4258
+ ThreadId?: number
4259
+ /**
4260
+ * 扫描行数。
4261
+ 注意:此字段可能返回 null,表示取不到有效值。
4262
+ */
4263
+ CheckRows?: number
4264
+ /**
4265
+ * cpu执行时间,微秒。
4266
+ 注意:此字段可能返回 null,表示取不到有效值。
4267
+ */
4268
+ CpuTime?: number
4269
+ /**
4270
+ * IO等待时间,微秒。
4271
+ 注意:此字段可能返回 null,表示取不到有效值。
4272
+ */
4273
+ IoWaitTime?: number
4274
+ /**
4275
+ * 锁等待时间,微秒。
4276
+ 注意:此字段可能返回 null,表示取不到有效值。
4277
+ */
4278
+ LockWaitTime?: number
4279
+ /**
4280
+ * 开始时间,与timestamp构成一个精确到纳秒的时间。
4281
+ 注意:此字段可能返回 null,表示取不到有效值。
4282
+ */
4283
+ NsTime?: number
4284
+ /**
4285
+ * 事物持续时间,微秒。
4286
+ 注意:此字段可能返回 null,表示取不到有效值。
4287
+ */
4288
+ TrxLivingTime?: number
4289
+ }
4290
+
4207
4291
  /**
4208
4292
  * DescribeAuditLogFiles请求参数结构体
4209
4293
  */
@@ -4619,6 +4703,47 @@ export interface DescribeAccountPrivilegesResponse {
4619
4703
  RequestId?: string
4620
4704
  }
4621
4705
 
4706
+ /**
4707
+ * DescribeAuditLogs请求参数结构体
4708
+ */
4709
+ export interface DescribeAuditLogsRequest {
4710
+ /**
4711
+ * 实例 ID。
4712
+ */
4713
+ InstanceId: string
4714
+ /**
4715
+ * 开始时间。
4716
+ */
4717
+ StartTime: string
4718
+ /**
4719
+ * 结束时间。
4720
+ */
4721
+ EndTime: string
4722
+ /**
4723
+ * 分页参数,单次返回的数据条数。默认值为100,最大值为100。
4724
+ */
4725
+ Limit?: number
4726
+ /**
4727
+ * 分页偏移量。
4728
+ */
4729
+ Offset?: number
4730
+ /**
4731
+ * 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。
4732
+ */
4733
+ Order?: string
4734
+ /**
4735
+ * 排序字段。支持值包括:
4736
+ "timestamp" - 时间戳;
4737
+ "affectRows" - 影响行数;
4738
+ "execTime" - 执行时间。
4739
+ */
4740
+ OrderBy?: string
4741
+ /**
4742
+ * 过滤条件。可按设置的过滤条件过滤日志。
4743
+ */
4744
+ LogFilter?: Array<InstanceAuditLogFilters>
4745
+ }
4746
+
4622
4747
  /**
4623
4748
  * DescribeBackupConfig请求参数结构体
4624
4749
  */
@@ -7641,6 +7766,25 @@ export interface DescribeTasksResponse {
7641
7766
  RequestId?: string
7642
7767
  }
7643
7768
 
7769
+ /**
7770
+ * DescribeAuditLogs返回参数结构体
7771
+ */
7772
+ export interface DescribeAuditLogsResponse {
7773
+ /**
7774
+ * 符合条件的审计日志条数。
7775
+ */
7776
+ TotalCount?: number
7777
+ /**
7778
+ * 审计日志详情。
7779
+ 注意:此字段可能返回 null,表示取不到有效值。
7780
+ */
7781
+ Items?: Array<AuditLog>
7782
+ /**
7783
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7784
+ */
7785
+ RequestId?: string
7786
+ }
7787
+
7644
7788
  /**
7645
7789
  * DescribeAuditPolicies返回参数结构体
7646
7790
  */
@@ -368,7 +368,7 @@ export class Client extends AbstractClient {
368
368
  }
369
369
 
370
370
  /**
371
- * 查询文件系统配额
371
+ * 查询文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
372
372
  */
373
373
  async DescribeUserQuota(
374
374
  req: DescribeUserQuotaRequest,