tencentcloud-sdk-nodejs 4.0.941 → 4.0.942
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.
- package/CHANGELOG.md +358 -0
- package/SERVICE_CHANGELOG.md +637 -12
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +8 -0
- package/src/services/asr/v20190614/asr_client.ts +71 -57
- package/src/services/asr/v20190614/asr_models.ts +967 -895
- package/src/services/cfg/v20210820/cfg_models.ts +4 -0
- package/src/services/cwp/v20180228/cwp_client.ts +5 -3
- package/src/services/cwp/v20180228/cwp_models.ts +131 -48
- package/src/services/dlc/v20210125/dlc_models.ts +4 -0
- package/src/services/dsgc/v20190723/dsgc_models.ts +1 -1
- package/src/services/ims/v20201229/ims_client.ts +1 -1
- package/src/services/ims/v20201229/ims_models.ts +3 -3
- package/src/services/lke/v20231130/lke_client.ts +576 -478
- package/src/services/lke/v20231130/lke_models.ts +516 -98
- package/src/services/mps/v20190612/mps_models.ts +8 -3
- package/src/services/mqtt/v20240516/mqtt_client.ts +215 -4
- package/src/services/mqtt/v20240516/mqtt_models.ts +894 -97
- package/src/services/tcss/v20201101/tcss_client.ts +4 -2
- package/src/services/tke/v20180525/tke_client.ts +40 -16
- package/src/services/tke/v20180525/tke_models.ts +154 -70
- package/src/services/vdb/v20230616/vdb_models.ts +5 -0
- package/src/services/vod/v20180717/vod_client.ts +2 -1
- package/src/services/vod/v20180717/vod_models.ts +34 -1
- package/src/services/vpc/v20170312/vpc_models.ts +17 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +8 -0
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +5 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +6 -0
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +998 -930
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +128 -47
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +4 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +1 -1
- package/tencentcloud/services/ims/v20201229/ims_client.d.ts +1 -1
- package/tencentcloud/services/ims/v20201229/ims_client.js +1 -1
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +3 -3
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +195 -163
- package/tencentcloud/services/lke/v20231130/lke_client.js +288 -240
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +497 -97
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +7 -2
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +72 -1
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +105 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +856 -97
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +3 -1
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +3 -1
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +150 -70
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +5 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +33 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +17 -1
- package/test/asr.v20190614.test.js +10 -0
- package/test/lke.v20231130.test.js +238 -158
- package/test/mqtt.v20240516.test.js +170 -0
- package/test/tke.v20180525.test.js +24 -4
|
@@ -949,6 +949,10 @@ export interface ModifyOutputInfo {
|
|
|
949
949
|
* 绑定的安全组 ID。 仅支持关联一组安全组。
|
|
950
950
|
*/
|
|
951
951
|
SecurityGroupIds?: Array<string>
|
|
952
|
+
/**
|
|
953
|
+
* 可用区
|
|
954
|
+
*/
|
|
955
|
+
Zones?: Array<string>
|
|
952
956
|
}
|
|
953
957
|
|
|
954
958
|
/**
|
|
@@ -5955,7 +5959,7 @@ export interface DescribeQualityControlTemplatesRequest {
|
|
|
5955
5959
|
*/
|
|
5956
5960
|
Limit?: number
|
|
5957
5961
|
/**
|
|
5958
|
-
* "Preset":预设,Custom"
|
|
5962
|
+
* "Preset":预设,Custom":自定义模板
|
|
5959
5963
|
*/
|
|
5960
5964
|
Type?: string
|
|
5961
5965
|
/**
|
|
@@ -6289,6 +6293,7 @@ export interface ProcessMediaRequest {
|
|
|
6289
6293
|
InputInfo: MediaInputInfo
|
|
6290
6294
|
/**
|
|
6291
6295
|
* 媒体处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
|
|
6296
|
+
注意:当InputInfo.Type为URL时,该参数是必填项
|
|
6292
6297
|
*/
|
|
6293
6298
|
OutputStorage?: TaskOutputStorage
|
|
6294
6299
|
/**
|
|
@@ -11332,7 +11337,7 @@ export interface VideoTemplateInfoForUpdate {
|
|
|
11332
11337
|
Gop?: number
|
|
11333
11338
|
/**
|
|
11334
11339
|
* 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
|
|
11335
|
-
<li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
|
|
11340
|
+
<li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
|
|
11336
11341
|
<li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
|
|
11337
11342
|
<li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
|
|
11338
11343
|
<li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊填充。</li>
|
|
@@ -11340,7 +11345,7 @@ export interface VideoTemplateInfoForUpdate {
|
|
|
11340
11345
|
*/
|
|
11341
11346
|
FillType?: string
|
|
11342
11347
|
/**
|
|
11343
|
-
* 视频恒定码率控制因子。取值范围为[0, 51],填0表示禁用该参数。
|
|
11348
|
+
* 视频恒定码率控制因子。取值范围为[0, 51],填0表示禁用该参数。
|
|
11344
11349
|
如果没有特殊需求,不建议指定该参数。
|
|
11345
11350
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11346
11351
|
*/
|
|
@@ -18,13 +18,51 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
UpdateAuthorizationPolicyPriorityResponse,
|
|
22
|
+
UpdateAuthorizationPolicyPriorityRequest,
|
|
23
|
+
AuthorizationPolicyItem,
|
|
24
|
+
CreateJWTAuthenticatorResponse,
|
|
25
|
+
DeleteAuthorizationPolicyRequest,
|
|
26
|
+
ModifyJWKSAuthenticatorResponse,
|
|
27
|
+
RegisterDeviceCertificateResponse,
|
|
28
|
+
ModifyJWTAuthenticatorResponse,
|
|
29
|
+
DescribeAuthorizationPoliciesRequest,
|
|
30
|
+
DescribeTopicListRequest,
|
|
31
|
+
DescribeInstanceListRequest,
|
|
32
|
+
ModifyAuthorizationPolicyResponse,
|
|
33
|
+
CreateAuthorizationPolicyRequest,
|
|
34
|
+
DescribeInstanceResponse,
|
|
35
|
+
DescribeAuthenticatorResponse,
|
|
36
|
+
CreateTopicResponse,
|
|
37
|
+
ModifyJWTAuthenticatorRequest,
|
|
38
|
+
AuthorizationPolicyPriority,
|
|
39
|
+
CreateAuthorizationPolicyResponse,
|
|
40
|
+
CreateJWTAuthenticatorRequest,
|
|
41
|
+
DeleteTopicRequest,
|
|
42
|
+
CreateJWKSAuthenticatorRequest,
|
|
43
|
+
ModifyTopicResponse,
|
|
44
|
+
DescribeTopicResponse,
|
|
45
|
+
CreateJWKSAuthenticatorResponse,
|
|
46
|
+
DeleteAuthenticatorRequest,
|
|
47
|
+
DescribeAuthorizationPoliciesResponse,
|
|
48
|
+
RegisterDeviceCertificateRequest,
|
|
49
|
+
CreateTopicRequest,
|
|
50
|
+
MQTTTopicItem,
|
|
51
|
+
Filter,
|
|
52
|
+
DeleteAuthorizationPolicyResponse,
|
|
53
|
+
ModifyJWKSAuthenticatorRequest,
|
|
54
|
+
ModifyTopicRequest,
|
|
55
|
+
DescribeTopicListResponse,
|
|
56
|
+
DescribeAuthenticatorRequest,
|
|
57
|
+
DeleteTopicResponse,
|
|
58
|
+
ModifyAuthorizationPolicyRequest,
|
|
22
59
|
DescribeInstanceRequest,
|
|
60
|
+
MQTTAuthenticatorItem,
|
|
61
|
+
DeleteAuthenticatorResponse,
|
|
23
62
|
TagFilter,
|
|
24
|
-
Filter,
|
|
25
63
|
MQTTInstanceItem,
|
|
26
|
-
|
|
27
|
-
|
|
64
|
+
DescribeInstanceListResponse,
|
|
65
|
+
DescribeTopicRequest,
|
|
28
66
|
} from "./mqtt_models"
|
|
29
67
|
|
|
30
68
|
/**
|
|
@@ -46,6 +84,56 @@ export class Client extends AbstractClient {
|
|
|
46
84
|
return this.request("DescribeInstance", req, cb)
|
|
47
85
|
}
|
|
48
86
|
|
|
87
|
+
/**
|
|
88
|
+
* 创建主题
|
|
89
|
+
*/
|
|
90
|
+
async CreateTopic(
|
|
91
|
+
req: CreateTopicRequest,
|
|
92
|
+
cb?: (error: string, rep: CreateTopicResponse) => void
|
|
93
|
+
): Promise<CreateTopicResponse> {
|
|
94
|
+
return this.request("CreateTopic", req, cb)
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 注册设备证书
|
|
99
|
+
*/
|
|
100
|
+
async RegisterDeviceCertificate(
|
|
101
|
+
req: RegisterDeviceCertificateRequest,
|
|
102
|
+
cb?: (error: string, rep: RegisterDeviceCertificateResponse) => void
|
|
103
|
+
): Promise<RegisterDeviceCertificateResponse> {
|
|
104
|
+
return this.request("RegisterDeviceCertificate", req, cb)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* 查询授权规则
|
|
109
|
+
*/
|
|
110
|
+
async DescribeAuthorizationPolicies(
|
|
111
|
+
req: DescribeAuthorizationPoliciesRequest,
|
|
112
|
+
cb?: (error: string, rep: DescribeAuthorizationPoliciesResponse) => void
|
|
113
|
+
): Promise<DescribeAuthorizationPoliciesResponse> {
|
|
114
|
+
return this.request("DescribeAuthorizationPolicies", req, cb)
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* 修改主题属性
|
|
119
|
+
*/
|
|
120
|
+
async ModifyTopic(
|
|
121
|
+
req: ModifyTopicRequest,
|
|
122
|
+
cb?: (error: string, rep: ModifyTopicResponse) => void
|
|
123
|
+
): Promise<ModifyTopicResponse> {
|
|
124
|
+
return this.request("ModifyTopic", req, cb)
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* 修改策略规则
|
|
129
|
+
*/
|
|
130
|
+
async ModifyAuthorizationPolicy(
|
|
131
|
+
req: ModifyAuthorizationPolicyRequest,
|
|
132
|
+
cb?: (error: string, rep: ModifyAuthorizationPolicyResponse) => void
|
|
133
|
+
): Promise<ModifyAuthorizationPolicyResponse> {
|
|
134
|
+
return this.request("ModifyAuthorizationPolicy", req, cb)
|
|
135
|
+
}
|
|
136
|
+
|
|
49
137
|
/**
|
|
50
138
|
* 获取实例列表,Filters参数使用说明如下:
|
|
51
139
|
1. InstanceName, 名称模糊查询
|
|
@@ -61,4 +149,127 @@ export class Client extends AbstractClient {
|
|
|
61
149
|
): Promise<DescribeInstanceListResponse> {
|
|
62
150
|
return this.request("DescribeInstanceList", req, cb)
|
|
63
151
|
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* 删除策略规则
|
|
155
|
+
*/
|
|
156
|
+
async DeleteAuthorizationPolicy(
|
|
157
|
+
req: DeleteAuthorizationPolicyRequest,
|
|
158
|
+
cb?: (error: string, rep: DeleteAuthorizationPolicyResponse) => void
|
|
159
|
+
): Promise<DeleteAuthorizationPolicyResponse> {
|
|
160
|
+
return this.request("DeleteAuthorizationPolicy", req, cb)
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* 根据认证器类型删除一个MQTT认证器
|
|
165
|
+
*/
|
|
166
|
+
async DeleteAuthenticator(
|
|
167
|
+
req: DeleteAuthenticatorRequest,
|
|
168
|
+
cb?: (error: string, rep: DeleteAuthenticatorResponse) => void
|
|
169
|
+
): Promise<DeleteAuthenticatorResponse> {
|
|
170
|
+
return this.request("DeleteAuthenticator", req, cb)
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* 查询mqtt主题详情
|
|
175
|
+
*/
|
|
176
|
+
async DescribeTopic(
|
|
177
|
+
req: DescribeTopicRequest,
|
|
178
|
+
cb?: (error: string, rep: DescribeTopicResponse) => void
|
|
179
|
+
): Promise<DescribeTopicResponse> {
|
|
180
|
+
return this.request("DescribeTopic", req, cb)
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* 查询MQTT认证器
|
|
185
|
+
*/
|
|
186
|
+
async DescribeAuthenticator(
|
|
187
|
+
req: DescribeAuthenticatorRequest,
|
|
188
|
+
cb?: (error: string, rep: DescribeAuthenticatorResponse) => void
|
|
189
|
+
): Promise<DescribeAuthenticatorResponse> {
|
|
190
|
+
return this.request("DescribeAuthenticator", req, cb)
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* 创建一个jwks的认证
|
|
195
|
+
*/
|
|
196
|
+
async CreateJWTAuthenticator(
|
|
197
|
+
req: CreateJWTAuthenticatorRequest,
|
|
198
|
+
cb?: (error: string, rep: CreateJWTAuthenticatorResponse) => void
|
|
199
|
+
): Promise<CreateJWTAuthenticatorResponse> {
|
|
200
|
+
return this.request("CreateJWTAuthenticator", req, cb)
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 修改策略规则优先级
|
|
205
|
+
*/
|
|
206
|
+
async UpdateAuthorizationPolicyPriority(
|
|
207
|
+
req: UpdateAuthorizationPolicyPriorityRequest,
|
|
208
|
+
cb?: (error: string, rep: UpdateAuthorizationPolicyPriorityResponse) => void
|
|
209
|
+
): Promise<UpdateAuthorizationPolicyPriorityResponse> {
|
|
210
|
+
return this.request("UpdateAuthorizationPolicyPriority", req, cb)
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* 修改MQTT JWKS 认证器
|
|
215
|
+
*/
|
|
216
|
+
async ModifyJWTAuthenticator(
|
|
217
|
+
req: ModifyJWTAuthenticatorRequest,
|
|
218
|
+
cb?: (error: string, rep: ModifyJWTAuthenticatorResponse) => void
|
|
219
|
+
): Promise<ModifyJWTAuthenticatorResponse> {
|
|
220
|
+
return this.request("ModifyJWTAuthenticator", req, cb)
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* 获取主题列表,Filter参数使用说明如下:
|
|
225
|
+
|
|
226
|
+
1. TopicName,主题名称模糊搜索
|
|
227
|
+
2. TopicType,主题类型查询,支持多选,可选值:Normal,Order,Transaction,DelayScheduled
|
|
228
|
+
*/
|
|
229
|
+
async DescribeTopicList(
|
|
230
|
+
req: DescribeTopicListRequest,
|
|
231
|
+
cb?: (error: string, rep: DescribeTopicListResponse) => void
|
|
232
|
+
): Promise<DescribeTopicListResponse> {
|
|
233
|
+
return this.request("DescribeTopicList", req, cb)
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* 删除MQTT主题
|
|
238
|
+
*/
|
|
239
|
+
async DeleteTopic(
|
|
240
|
+
req: DeleteTopicRequest,
|
|
241
|
+
cb?: (error: string, rep: DeleteTopicResponse) => void
|
|
242
|
+
): Promise<DeleteTopicResponse> {
|
|
243
|
+
return this.request("DeleteTopic", req, cb)
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* 创建MQTT实例的性能测试任务
|
|
248
|
+
*/
|
|
249
|
+
async CreateAuthorizationPolicy(
|
|
250
|
+
req: CreateAuthorizationPolicyRequest,
|
|
251
|
+
cb?: (error: string, rep: CreateAuthorizationPolicyResponse) => void
|
|
252
|
+
): Promise<CreateAuthorizationPolicyResponse> {
|
|
253
|
+
return this.request("CreateAuthorizationPolicy", req, cb)
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* 修改MQTT JWKS 认证器
|
|
258
|
+
*/
|
|
259
|
+
async ModifyJWKSAuthenticator(
|
|
260
|
+
req: ModifyJWKSAuthenticatorRequest,
|
|
261
|
+
cb?: (error: string, rep: ModifyJWKSAuthenticatorResponse) => void
|
|
262
|
+
): Promise<ModifyJWKSAuthenticatorResponse> {
|
|
263
|
+
return this.request("ModifyJWKSAuthenticator", req, cb)
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* 创建一个jwks的认证
|
|
268
|
+
*/
|
|
269
|
+
async CreateJWKSAuthenticator(
|
|
270
|
+
req: CreateJWKSAuthenticatorRequest,
|
|
271
|
+
cb?: (error: string, rep: CreateJWKSAuthenticatorResponse) => void
|
|
272
|
+
): Promise<CreateJWKSAuthenticatorResponse> {
|
|
273
|
+
return this.request("CreateJWKSAuthenticator", req, cb)
|
|
274
|
+
}
|
|
64
275
|
}
|