tencentcloud-sdk-nodejs 4.0.321 → 4.0.322

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 (35) hide show
  1. package/CHANGELOG.md +141 -0
  2. package/SERVICE_CHANGELOG.md +185 -110
  3. package/package.json +1 -1
  4. package/products.md +10 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdn/v20180606/cdn_models.ts +7 -0
  7. package/src/services/cls/v20201016/cls_client.ts +37 -13
  8. package/src/services/cls/v20201016/cls_models.ts +75 -30
  9. package/src/services/cvm/v20170312/cvm_models.ts +13 -3
  10. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +45 -45
  11. package/src/services/lighthouse/v20200324/lighthouse_models.ts +13 -2
  12. package/src/services/ssa/v20180608/ssa_client.ts +18 -1
  13. package/src/services/ssa/v20180608/ssa_models.ts +233 -7
  14. package/src/services/tdmq/v20200217/tdmq_models.ts +6 -0
  15. package/src/services/tsf/v20180326/tsf_client.ts +15 -0
  16. package/src/services/tsf/v20180326/tsf_models.ts +175 -0
  17. package/tencentcloud/common/sdk_version.d.ts +1 -1
  18. package/tencentcloud/common/sdk_version.js +1 -1
  19. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +6 -0
  20. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +13 -5
  21. package/tencentcloud/services/cls/v20201016/cls_client.js +18 -6
  22. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +65 -25
  23. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +11 -3
  24. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +45 -45
  25. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +12 -1
  26. package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +5 -1
  27. package/tencentcloud/services/ssa/v20180608/ssa_client.js +6 -0
  28. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +199 -7
  29. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -0
  30. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +5 -1
  31. package/tencentcloud/services/tsf/v20180326/tsf_client.js +6 -0
  32. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +149 -0
  33. package/test/cls.v20201016.test.js +24 -4
  34. package/test/ssa.v20180608.test.js +10 -0
  35. package/test/tsf.v20180326.test.js +10 -0
package/products.md CHANGED
@@ -35,7 +35,7 @@
35
35
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-04-08 06:02:53 |
36
36
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-04-04 06:12:36 |
37
37
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-04-08 06:03:03 |
38
- | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-04-08 06:03:21 |
38
+ | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-04-11 06:08:14 |
39
39
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
40
40
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-04-04 06:17:11 |
41
41
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-04-04 06:17:16 |
@@ -48,13 +48,13 @@
48
48
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-04-08 06:04:17 |
49
49
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-04-04 06:21:08 |
50
50
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-04-04 06:21:17 |
51
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-04-07 06:21:48 |
51
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-04-11 06:09:13 |
52
52
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-04-04 06:22:26 |
53
53
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
54
54
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
55
55
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-04-04 06:23:11 |
56
56
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
57
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-04-08 06:05:15 |
57
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-04-11 06:09:58 |
58
58
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-04-04 06:27:42 |
59
59
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
60
60
  | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-04-04 06:33:13 |
@@ -98,13 +98,13 @@
98
98
  | ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2022-04-04 06:48:07 |
99
99
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2022-04-04 06:48:08 |
100
100
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-04-01 15:20:13 |
101
- | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-04-04 06:48:34 |
101
+ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-04-11 06:13:21 |
102
102
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
103
103
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-04-04 06:49:51 |
104
104
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-04-04 06:51:27 |
105
105
  | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-04-04 06:53:04 |
106
106
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-04-04 06:53:19 |
107
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-04-08 06:09:37 |
107
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-04-11 06:14:18 |
108
108
  | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-04-08 06:09:47 |
109
109
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
110
110
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
@@ -142,11 +142,11 @@
142
142
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2022-04-04 07:05:55 |
143
143
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
144
144
  | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-04-04 07:05:59 |
145
- | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-04-04 07:07:27 |
145
+ | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-04-11 06:16:51 |
146
146
  | ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-04-04 07:07:38 |
147
147
  | sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2022-04-04 07:07:55 |
148
148
  | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-04-04 07:08:00 |
149
- | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2022-04-08 06:12:32 |
149
+ | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2022-04-11 06:17:05 |
150
150
  | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2022-04-04 07:08:16 |
151
151
  | tag | [标签](https://cloud.tencent.com/document/product/651) | 2022-04-08 06:12:35 |
152
152
  | tat | [腾讯云自动化助手](https://cloud.tencent.com/document/product/1340) | 2022-04-08 06:12:44 |
@@ -163,7 +163,7 @@
163
163
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-04-04 07:12:15 |
164
164
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-04-04 07:15:36 |
165
165
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
166
- | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-04-08 06:13:51 |
166
+ | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-04-11 06:18:16 |
167
167
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-04-04 07:16:34 |
168
168
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-04-04 11:19:56 |
169
169
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
@@ -178,9 +178,9 @@
178
178
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
179
179
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
180
180
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-04-04 07:18:12 |
181
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-04-04 07:18:16 |
181
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-04-11 06:19:11 |
182
182
  | tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-04-04 07:18:29 |
183
- | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-04-04 07:18:32 |
183
+ | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-04-11 06:19:17 |
184
184
  | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
185
185
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-04-04 07:22:42 |
186
186
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.321"
1
+ export const sdkVersion = "4.0.322"
@@ -2819,6 +2819,13 @@ global:预热全球节点
2819
2819
  3. 解析获取的ts分片会正常累加每日预热用量,当用量超出配额时,会静默处理,不再执行预热
2820
2820
  */
2821
2821
  ParseM3U8?: boolean
2822
+
2823
+ /**
2824
+ * 是否关闭Range回源
2825
+ 注意事项:
2826
+ 此功能灰度发布中,敬请期待
2827
+ */
2828
+ DisableRange?: boolean
2822
2829
  }
2823
2830
 
2824
2831
  /**
@@ -51,6 +51,7 @@ import {
51
51
  ContainerWorkLoadInfo,
52
52
  DescribeConfigExtrasResponse,
53
53
  CallBackInfo,
54
+ OpenKafkaConsumerResponse,
54
55
  AlarmTargetInfo,
55
56
  DescribeIndexRequest,
56
57
  DescribeConfigsResponse,
@@ -89,6 +90,7 @@ import {
89
90
  DescribeMachineGroupConfigsResponse,
90
91
  MachineGroupInfo,
91
92
  DescribeLogHistogramResponse,
93
+ CloseKafkaConsumerResponse,
92
94
  RuleTagInfo,
93
95
  CreateIndexRequest,
94
96
  DeleteConsumerResponse,
@@ -97,6 +99,7 @@ import {
97
99
  CreateTopicRequest,
98
100
  DescribeMachineGroupsRequest,
99
101
  AlarmTarget,
102
+ OpenKafkaConsumerRequest,
100
103
  DeleteConfigResponse,
101
104
  ModifyIndexResponse,
102
105
  DeleteConsumerRequest,
@@ -105,11 +108,12 @@ import {
105
108
  UploadLogRequest,
106
109
  ModifyConsumerResponse,
107
110
  DescribeConfigsRequest,
111
+ LogsetInfo,
108
112
  DescribeConsumerRequest,
109
113
  DeleteConfigRequest,
110
114
  AnalysisDimensional,
111
115
  ShipperTaskInfo,
112
- LogsetInfo,
116
+ CloseKafkaConsumerRequest,
113
117
  CreateExportRequest,
114
118
  DescribeAlarmNoticesResponse,
115
119
  DeleteDataTransformRequest,
@@ -575,6 +579,16 @@ export class Client extends AbstractClient {
575
579
  return this.request("DescribeLogHistogram", req, cb)
576
580
  }
577
581
 
582
+ /**
583
+ * 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
584
+ */
585
+ async SearchLog(
586
+ req: SearchLogRequest,
587
+ cb?: (error: string, rep: SearchLogResponse) => void
588
+ ): Promise<SearchLogResponse> {
589
+ return this.request("SearchLog", req, cb)
590
+ }
591
+
578
592
  /**
579
593
  * 该接口用于修改通知渠道组
580
594
  */
@@ -586,13 +600,13 @@ export class Client extends AbstractClient {
586
600
  }
587
601
 
588
602
  /**
589
- * 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
603
+ * 打开kafka协议消费
590
604
  */
591
- async SearchLog(
592
- req: SearchLogRequest,
593
- cb?: (error: string, rep: SearchLogResponse) => void
594
- ): Promise<SearchLogResponse> {
595
- return this.request("SearchLog", req, cb)
605
+ async OpenKafkaConsumer(
606
+ req: OpenKafkaConsumerRequest,
607
+ cb?: (error: string, rep: OpenKafkaConsumerResponse) => void
608
+ ): Promise<OpenKafkaConsumerResponse> {
609
+ return this.request("OpenKafkaConsumer", req, cb)
596
610
  }
597
611
 
598
612
  /**
@@ -870,6 +884,16 @@ cls.pb.cc cls.pb.h cls.proto
870
884
  return this.request("DescribeConsumer", req, cb)
871
885
  }
872
886
 
887
+ /**
888
+ * 本接口用于分裂主题分区
889
+ */
890
+ async SplitPartition(
891
+ req: SplitPartitionRequest,
892
+ cb?: (error: string, rep: SplitPartitionResponse) => void
893
+ ): Promise<SplitPartitionResponse> {
894
+ return this.request("SplitPartition", req, cb)
895
+ }
896
+
873
897
  /**
874
898
  * 获取采集规则配置
875
899
  */
@@ -961,13 +985,13 @@ cls.pb.cc cls.pb.h cls.proto
961
985
  }
962
986
 
963
987
  /**
964
- * 本接口用于分裂主题分区
988
+ * 关闭Kafka协议消费
965
989
  */
966
- async SplitPartition(
967
- req: SplitPartitionRequest,
968
- cb?: (error: string, rep: SplitPartitionResponse) => void
969
- ): Promise<SplitPartitionResponse> {
970
- return this.request("SplitPartition", req, cb)
990
+ async CloseKafkaConsumer(
991
+ req: CloseKafkaConsumerRequest,
992
+ cb?: (error: string, rep: CloseKafkaConsumerResponse) => void
993
+ ): Promise<CloseKafkaConsumerResponse> {
994
+ return this.request("CloseKafkaConsumer", req, cb)
971
995
  }
972
996
 
973
997
  /**
@@ -778,6 +778,21 @@ export interface CallBackInfo {
778
778
  Headers?: Array<string>
779
779
  }
780
780
 
781
+ /**
782
+ * OpenKafkaConsumer返回参数结构体
783
+ */
784
+ export interface OpenKafkaConsumerResponse {
785
+ /**
786
+ * 待消费TopicId
787
+ */
788
+ TopicID: string
789
+
790
+ /**
791
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
792
+ */
793
+ RequestId?: string
794
+ }
795
+
781
796
  /**
782
797
  * 告警对象
783
798
  */
@@ -1785,6 +1800,16 @@ export interface DescribeLogHistogramResponse {
1785
1800
  RequestId?: string
1786
1801
  }
1787
1802
 
1803
+ /**
1804
+ * CloseKafkaConsumer返回参数结构体
1805
+ */
1806
+ export interface CloseKafkaConsumerResponse {
1807
+ /**
1808
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1809
+ */
1810
+ RequestId?: string
1811
+ }
1812
+
1788
1813
  /**
1789
1814
  * 元字段索引配置
1790
1815
  */
@@ -2035,6 +2060,16 @@ export interface AlarmTarget {
2035
2060
  LogsetId: string
2036
2061
  }
2037
2062
 
2063
+ /**
2064
+ * OpenKafkaConsumer请求参数结构体
2065
+ */
2066
+ export interface OpenKafkaConsumerRequest {
2067
+ /**
2068
+ * CLS控制台创建的TopicId
2069
+ */
2070
+ FromTopicId: string
2071
+ }
2072
+
2038
2073
  /**
2039
2074
  * DeleteConfig返回参数结构体
2040
2075
  */
@@ -2178,6 +2213,42 @@ export interface DescribeConfigsRequest {
2178
2213
  Limit?: number
2179
2214
  }
2180
2215
 
2216
+ /**
2217
+ * 日志集相关信息
2218
+ */
2219
+ export interface LogsetInfo {
2220
+ /**
2221
+ * 日志集ID
2222
+ */
2223
+ LogsetId: string
2224
+
2225
+ /**
2226
+ * 日志集名称
2227
+ */
2228
+ LogsetName: string
2229
+
2230
+ /**
2231
+ * 创建时间
2232
+ */
2233
+ CreateTime: string
2234
+
2235
+ /**
2236
+ * 日志集绑定的标签
2237
+ 注意:此字段可能返回 null,表示取不到有效值。
2238
+ */
2239
+ Tags: Array<Tag>
2240
+
2241
+ /**
2242
+ * 日志集下日志主题的数目
2243
+ */
2244
+ TopicCount: number
2245
+
2246
+ /**
2247
+ * 若AssumerUin非空,则表示创建该日志集的服务方角色
2248
+ */
2249
+ RoleName: string
2250
+ }
2251
+
2181
2252
  /**
2182
2253
  * DescribeConsumer请求参数结构体
2183
2254
  */
@@ -2269,39 +2340,13 @@ export interface ShipperTaskInfo {
2269
2340
  }
2270
2341
 
2271
2342
  /**
2272
- * 日志集相关信息
2343
+ * CloseKafkaConsumer请求参数结构体
2273
2344
  */
2274
- export interface LogsetInfo {
2345
+ export interface CloseKafkaConsumerRequest {
2275
2346
  /**
2276
- * 日志集ID
2277
- */
2278
- LogsetId: string
2279
-
2280
- /**
2281
- * 日志集名称
2347
+ * CLS对应的topic标识
2282
2348
  */
2283
- LogsetName: string
2284
-
2285
- /**
2286
- * 创建时间
2287
- */
2288
- CreateTime: string
2289
-
2290
- /**
2291
- * 日志集绑定的标签
2292
- 注意:此字段可能返回 null,表示取不到有效值。
2293
- */
2294
- Tags: Array<Tag>
2295
-
2296
- /**
2297
- * 日志集下日志主题的数目
2298
- */
2299
- TopicCount: number
2300
-
2301
- /**
2302
- * 若AssumerUin非空,则表示创建该日志集的服务方角色
2303
- */
2304
- RoleName: string
2349
+ FromTopicId: string
2305
2350
  }
2306
2351
 
2307
2352
  /**
@@ -1963,12 +1963,12 @@ export interface DescribeReservedInstancesResponse {
1963
1963
  /**
1964
1964
  * 符合条件的预留实例计费数量。
1965
1965
  */
1966
- TotalCount?: number
1966
+ TotalCount: number
1967
1967
 
1968
1968
  /**
1969
1969
  * 符合条件的预留实例计费列表。
1970
1970
  */
1971
- ReservedInstancesSet?: Array<ReservedInstances>
1971
+ ReservedInstancesSet: Array<ReservedInstances>
1972
1972
 
1973
1973
  /**
1974
1974
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4415,7 +4415,7 @@ export interface SharePermission {
4415
4415
  */
4416
4416
  export interface ReservedInstances {
4417
4417
  /**
4418
- * 已购买的预留实例计费ID。形如:650c138f-ae7e-4750-952a-96841d6e9fc1
4418
+ * (此字段已废弃,建议使用字段:ReservedInstanceId)已购买的预留实例计费ID。形如:ri-rtbh4han
4419
4419
  */
4420
4420
  ReservedInstancesId: string
4421
4421
 
@@ -4481,6 +4481,16 @@ export interface ReservedInstances {
4481
4481
  返回项:<a href="https://cloud.tencent.com/document/product/213/11518">预留实例计费类型列表</a>
4482
4482
  */
4483
4483
  InstanceFamily: string
4484
+
4485
+ /**
4486
+ * 已购买的预留实例计费ID。形如:ri-rtbh4han。
4487
+ */
4488
+ ReservedInstanceId: string
4489
+
4490
+ /**
4491
+ * 预留实例显示名称。形如:riname-01
4492
+ */
4493
+ ReservedInstanceName: string
4484
4494
  }
4485
4495
 
4486
4496
  /**