tencentcloud-sdk-nodejs 4.0.988 → 4.0.990
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 +305 -0
- package/SERVICE_CHANGELOG.md +384 -219
- package/package.json +1 -1
- package/products.md +28 -28
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +15 -2
- package/src/services/aiart/v20221229/aiart_models.ts +109 -46
- package/src/services/batch/v20170312/batch_models.ts +1 -1
- package/src/services/cam/v20190116/cam_client.ts +12 -0
- package/src/services/cam/v20190116/cam_models.ts +59 -26
- package/src/services/cfg/v20210820/cfg_models.ts +4 -0
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +18 -18
- package/src/services/cvm/v20170312/cvm_models.ts +27 -27
- package/src/services/es/v20180416/es_models.ts +50 -7
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +7 -7
- package/src/services/mps/v20190612/mps_models.ts +5 -0
- package/src/services/mqtt/v20240516/mqtt_client.ts +151 -103
- package/src/services/mqtt/v20240516/mqtt_models.ts +202 -48
- package/src/services/mrs/v20200910/mrs_models.ts +1 -1
- package/src/services/ocr/v20181119/ocr_client.ts +2 -1
- package/src/services/ocr/v20181119/ocr_models.ts +72 -0
- package/src/services/postgres/v20170312/postgres_models.ts +3 -3
- package/src/services/sts/v20180813/sts_models.ts +3 -3
- package/src/services/tcbr/v20220217/tcbr_models.ts +44 -44
- package/src/services/tdmq/v20200217/tdmq_models.ts +5 -0
- package/src/services/tione/v20211111/tione_client.ts +31 -15
- package/src/services/tione/v20211111/tione_models.ts +461 -199
- package/src/services/tse/v20201207/tse_client.ts +73 -21
- package/src/services/tse/v20201207/tse_models.ts +322 -68
- package/src/services/vclm/v20240523/vclm_models.ts +2 -1
- package/src/services/vdb/v20230616/vdb_models.ts +3 -0
- package/src/services/vod/v20180717/vod_client.ts +8 -2
- package/src/services/vpc/v20170312/vpc_models.ts +4 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +6 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +7 -0
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +107 -46
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +57 -26
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +18 -18
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +27 -27
- package/tencentcloud/services/es/v20180416/es_models.d.ts +50 -7
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +7 -7
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +57 -41
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +84 -60
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +194 -48
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +71 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +3 -3
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +3 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +44 -44
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -0
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +9 -5
- package/tencentcloud/services/tione/v20211111/tione_client.js +12 -6
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +453 -197
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +23 -7
- package/tencentcloud/services/tse/v20201207/tse_client.js +33 -9
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +310 -68
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +2 -1
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +3 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +8 -2
- package/tencentcloud/services/vod/v20180717/vod_client.js +8 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/test/aiart.v20221229.test.js +10 -0
- package/test/cam.v20190116.test.js +10 -0
- package/test/mqtt.v20240516.test.js +80 -40
- package/test/tione.v20211111.test.js +20 -10
- package/test/tse.v20201207.test.js +46 -6
|
@@ -35,10 +35,14 @@ import {
|
|
|
35
35
|
ActivateDeviceCertificateRequest,
|
|
36
36
|
DescribeInstanceResponse,
|
|
37
37
|
DescribeAuthenticatorResponse,
|
|
38
|
+
DeleteDeviceCertificateRequest,
|
|
38
39
|
CreateTopicResponse,
|
|
39
40
|
ModifyJWTAuthenticatorRequest,
|
|
41
|
+
DescribeDeviceCertificateResponse,
|
|
42
|
+
RevokedDeviceCertificateRequest,
|
|
40
43
|
AuthorizationPolicyPriority,
|
|
41
44
|
CreateAuthorizationPolicyResponse,
|
|
45
|
+
DeleteDeviceCertificateResponse,
|
|
42
46
|
CreateJWTAuthenticatorRequest,
|
|
43
47
|
DeleteTopicRequest,
|
|
44
48
|
CreateJWKSAuthenticatorRequest,
|
|
@@ -59,12 +63,16 @@ import {
|
|
|
59
63
|
DescribeTopicListResponse,
|
|
60
64
|
DescribeAuthenticatorRequest,
|
|
61
65
|
MQTTInstanceItem,
|
|
66
|
+
RevokedDeviceCertificateResponse,
|
|
62
67
|
DeleteTopicResponse,
|
|
63
|
-
|
|
68
|
+
DeactivateDeviceCertificateResponse,
|
|
69
|
+
DescribeDeviceCertificateRequest,
|
|
70
|
+
DeactivateDeviceCertificateRequest,
|
|
64
71
|
DescribeInstanceRequest,
|
|
65
72
|
MQTTAuthenticatorItem,
|
|
66
73
|
DeleteAuthenticatorResponse,
|
|
67
74
|
TagFilter,
|
|
75
|
+
ModifyAuthorizationPolicyRequest,
|
|
68
76
|
ActivateDeviceCertificateResponse,
|
|
69
77
|
DescribeInstanceListResponse,
|
|
70
78
|
DescribeTopicRequest,
|
|
@@ -80,13 +88,93 @@ export class Client extends AbstractClient {
|
|
|
80
88
|
}
|
|
81
89
|
|
|
82
90
|
/**
|
|
83
|
-
*
|
|
91
|
+
* 修改主题属性
|
|
84
92
|
*/
|
|
85
|
-
async
|
|
86
|
-
req:
|
|
87
|
-
cb?: (error: string, rep:
|
|
88
|
-
): Promise<
|
|
89
|
-
return this.request("
|
|
93
|
+
async ModifyTopic(
|
|
94
|
+
req: ModifyTopicRequest,
|
|
95
|
+
cb?: (error: string, rep: ModifyTopicResponse) => void
|
|
96
|
+
): Promise<ModifyTopicResponse> {
|
|
97
|
+
return this.request("ModifyTopic", req, cb)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* 失效Ca证书
|
|
102
|
+
*/
|
|
103
|
+
async DeactivateDeviceCertificate(
|
|
104
|
+
req: DeactivateDeviceCertificateRequest,
|
|
105
|
+
cb?: (error: string, rep: DeactivateDeviceCertificateResponse) => void
|
|
106
|
+
): Promise<DeactivateDeviceCertificateResponse> {
|
|
107
|
+
return this.request("DeactivateDeviceCertificate", req, cb)
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* 查询mqtt主题详情
|
|
112
|
+
*/
|
|
113
|
+
async DescribeTopic(
|
|
114
|
+
req: DescribeTopicRequest,
|
|
115
|
+
cb?: (error: string, rep: DescribeTopicResponse) => void
|
|
116
|
+
): Promise<DescribeTopicResponse> {
|
|
117
|
+
return this.request("DescribeTopic", req, cb)
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* 创建一个jwks的认证
|
|
122
|
+
*/
|
|
123
|
+
async CreateJWTAuthenticator(
|
|
124
|
+
req: CreateJWTAuthenticatorRequest,
|
|
125
|
+
cb?: (error: string, rep: CreateJWTAuthenticatorResponse) => void
|
|
126
|
+
): Promise<CreateJWTAuthenticatorResponse> {
|
|
127
|
+
return this.request("CreateJWTAuthenticator", req, cb)
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* 删除设备证书
|
|
132
|
+
*/
|
|
133
|
+
async DeleteDeviceCertificate(
|
|
134
|
+
req: DeleteDeviceCertificateRequest,
|
|
135
|
+
cb?: (error: string, rep: DeleteDeviceCertificateResponse) => void
|
|
136
|
+
): Promise<DeleteDeviceCertificateResponse> {
|
|
137
|
+
return this.request("DeleteDeviceCertificate", req, cb)
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* 修改MQTT JWKS 认证器
|
|
142
|
+
*/
|
|
143
|
+
async ModifyJWTAuthenticator(
|
|
144
|
+
req: ModifyJWTAuthenticatorRequest,
|
|
145
|
+
cb?: (error: string, rep: ModifyJWTAuthenticatorResponse) => void
|
|
146
|
+
): Promise<ModifyJWTAuthenticatorResponse> {
|
|
147
|
+
return this.request("ModifyJWTAuthenticator", req, cb)
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* 修改MQTT JWKS 认证器
|
|
152
|
+
*/
|
|
153
|
+
async ModifyJWKSAuthenticator(
|
|
154
|
+
req: ModifyJWKSAuthenticatorRequest,
|
|
155
|
+
cb?: (error: string, rep: ModifyJWKSAuthenticatorResponse) => void
|
|
156
|
+
): Promise<ModifyJWKSAuthenticatorResponse> {
|
|
157
|
+
return this.request("ModifyJWKSAuthenticator", req, cb)
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* 分页查询设备证书
|
|
162
|
+
*/
|
|
163
|
+
async DescribeDeviceCertificates(
|
|
164
|
+
req: DescribeDeviceCertificatesRequest,
|
|
165
|
+
cb?: (error: string, rep: DescribeDeviceCertificatesResponse) => void
|
|
166
|
+
): Promise<DescribeDeviceCertificatesResponse> {
|
|
167
|
+
return this.request("DescribeDeviceCertificates", req, cb)
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* 注册设备证书
|
|
172
|
+
*/
|
|
173
|
+
async RegisterDeviceCertificate(
|
|
174
|
+
req: RegisterDeviceCertificateRequest,
|
|
175
|
+
cb?: (error: string, rep: RegisterDeviceCertificateResponse) => void
|
|
176
|
+
): Promise<RegisterDeviceCertificateResponse> {
|
|
177
|
+
return this.request("RegisterDeviceCertificate", req, cb)
|
|
90
178
|
}
|
|
91
179
|
|
|
92
180
|
/**
|
|
@@ -120,33 +208,13 @@ export class Client extends AbstractClient {
|
|
|
120
208
|
}
|
|
121
209
|
|
|
122
210
|
/**
|
|
123
|
-
*
|
|
211
|
+
* 查询设备证书详情接口
|
|
124
212
|
*/
|
|
125
|
-
async
|
|
126
|
-
req:
|
|
127
|
-
cb?: (error: string, rep:
|
|
128
|
-
): Promise<
|
|
129
|
-
return this.request("
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* 修改主题属性
|
|
134
|
-
*/
|
|
135
|
-
async ModifyTopic(
|
|
136
|
-
req: ModifyTopicRequest,
|
|
137
|
-
cb?: (error: string, rep: ModifyTopicResponse) => void
|
|
138
|
-
): Promise<ModifyTopicResponse> {
|
|
139
|
-
return this.request("ModifyTopic", req, cb)
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* 修改策略规则
|
|
144
|
-
*/
|
|
145
|
-
async ModifyAuthorizationPolicy(
|
|
146
|
-
req: ModifyAuthorizationPolicyRequest,
|
|
147
|
-
cb?: (error: string, rep: ModifyAuthorizationPolicyResponse) => void
|
|
148
|
-
): Promise<ModifyAuthorizationPolicyResponse> {
|
|
149
|
-
return this.request("ModifyAuthorizationPolicy", req, cb)
|
|
213
|
+
async DescribeDeviceCertificate(
|
|
214
|
+
req: DescribeDeviceCertificateRequest,
|
|
215
|
+
cb?: (error: string, rep: DescribeDeviceCertificateResponse) => void
|
|
216
|
+
): Promise<DescribeDeviceCertificateResponse> {
|
|
217
|
+
return this.request("DescribeDeviceCertificate", req, cb)
|
|
150
218
|
}
|
|
151
219
|
|
|
152
220
|
/**
|
|
@@ -164,6 +232,56 @@ export class Client extends AbstractClient {
|
|
|
164
232
|
return this.request("DescribeInstanceList", req, cb)
|
|
165
233
|
}
|
|
166
234
|
|
|
235
|
+
/**
|
|
236
|
+
* 吊销设备证书
|
|
237
|
+
*/
|
|
238
|
+
async RevokedDeviceCertificate(
|
|
239
|
+
req: RevokedDeviceCertificateRequest,
|
|
240
|
+
cb?: (error: string, rep: RevokedDeviceCertificateResponse) => void
|
|
241
|
+
): Promise<RevokedDeviceCertificateResponse> {
|
|
242
|
+
return this.request("RevokedDeviceCertificate", req, cb)
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* 查询实例信息
|
|
247
|
+
*/
|
|
248
|
+
async DescribeInstance(
|
|
249
|
+
req: DescribeInstanceRequest,
|
|
250
|
+
cb?: (error: string, rep: DescribeInstanceResponse) => void
|
|
251
|
+
): Promise<DescribeInstanceResponse> {
|
|
252
|
+
return this.request("DescribeInstance", req, cb)
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* 删除MQTT主题
|
|
257
|
+
*/
|
|
258
|
+
async DeleteTopic(
|
|
259
|
+
req: DeleteTopicRequest,
|
|
260
|
+
cb?: (error: string, rep: DeleteTopicResponse) => void
|
|
261
|
+
): Promise<DeleteTopicResponse> {
|
|
262
|
+
return this.request("DeleteTopic", req, cb)
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* 创建一个jwks的认证
|
|
267
|
+
*/
|
|
268
|
+
async CreateJWKSAuthenticator(
|
|
269
|
+
req: CreateJWKSAuthenticatorRequest,
|
|
270
|
+
cb?: (error: string, rep: CreateJWKSAuthenticatorResponse) => void
|
|
271
|
+
): Promise<CreateJWKSAuthenticatorResponse> {
|
|
272
|
+
return this.request("CreateJWKSAuthenticator", req, cb)
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* 修改策略规则
|
|
277
|
+
*/
|
|
278
|
+
async ModifyAuthorizationPolicy(
|
|
279
|
+
req: ModifyAuthorizationPolicyRequest,
|
|
280
|
+
cb?: (error: string, rep: ModifyAuthorizationPolicyResponse) => void
|
|
281
|
+
): Promise<ModifyAuthorizationPolicyResponse> {
|
|
282
|
+
return this.request("ModifyAuthorizationPolicy", req, cb)
|
|
283
|
+
}
|
|
284
|
+
|
|
167
285
|
/**
|
|
168
286
|
* 删除策略规则
|
|
169
287
|
*/
|
|
@@ -184,16 +302,6 @@ export class Client extends AbstractClient {
|
|
|
184
302
|
return this.request("DeleteAuthenticator", req, cb)
|
|
185
303
|
}
|
|
186
304
|
|
|
187
|
-
/**
|
|
188
|
-
* 查询mqtt主题详情
|
|
189
|
-
*/
|
|
190
|
-
async DescribeTopic(
|
|
191
|
-
req: DescribeTopicRequest,
|
|
192
|
-
cb?: (error: string, rep: DescribeTopicResponse) => void
|
|
193
|
-
): Promise<DescribeTopicResponse> {
|
|
194
|
-
return this.request("DescribeTopic", req, cb)
|
|
195
|
-
}
|
|
196
|
-
|
|
197
305
|
/**
|
|
198
306
|
* 查询MQTT认证器
|
|
199
307
|
*/
|
|
@@ -204,16 +312,6 @@ export class Client extends AbstractClient {
|
|
|
204
312
|
return this.request("DescribeAuthenticator", req, cb)
|
|
205
313
|
}
|
|
206
314
|
|
|
207
|
-
/**
|
|
208
|
-
* 创建一个jwks的认证
|
|
209
|
-
*/
|
|
210
|
-
async CreateJWTAuthenticator(
|
|
211
|
-
req: CreateJWTAuthenticatorRequest,
|
|
212
|
-
cb?: (error: string, rep: CreateJWTAuthenticatorResponse) => void
|
|
213
|
-
): Promise<CreateJWTAuthenticatorResponse> {
|
|
214
|
-
return this.request("CreateJWTAuthenticator", req, cb)
|
|
215
|
-
}
|
|
216
|
-
|
|
217
315
|
/**
|
|
218
316
|
* 修改策略规则优先级
|
|
219
317
|
*/
|
|
@@ -224,16 +322,6 @@ export class Client extends AbstractClient {
|
|
|
224
322
|
return this.request("UpdateAuthorizationPolicyPriority", req, cb)
|
|
225
323
|
}
|
|
226
324
|
|
|
227
|
-
/**
|
|
228
|
-
* 修改MQTT JWKS 认证器
|
|
229
|
-
*/
|
|
230
|
-
async ModifyJWTAuthenticator(
|
|
231
|
-
req: ModifyJWTAuthenticatorRequest,
|
|
232
|
-
cb?: (error: string, rep: ModifyJWTAuthenticatorResponse) => void
|
|
233
|
-
): Promise<ModifyJWTAuthenticatorResponse> {
|
|
234
|
-
return this.request("ModifyJWTAuthenticator", req, cb)
|
|
235
|
-
}
|
|
236
|
-
|
|
237
325
|
/**
|
|
238
326
|
* 获取主题列表,Filter参数使用说明如下:
|
|
239
327
|
|
|
@@ -247,26 +335,6 @@ export class Client extends AbstractClient {
|
|
|
247
335
|
return this.request("DescribeTopicList", req, cb)
|
|
248
336
|
}
|
|
249
337
|
|
|
250
|
-
/**
|
|
251
|
-
* 删除MQTT主题
|
|
252
|
-
*/
|
|
253
|
-
async DeleteTopic(
|
|
254
|
-
req: DeleteTopicRequest,
|
|
255
|
-
cb?: (error: string, rep: DeleteTopicResponse) => void
|
|
256
|
-
): Promise<DeleteTopicResponse> {
|
|
257
|
-
return this.request("DeleteTopic", req, cb)
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* 分页查询设备证书
|
|
262
|
-
*/
|
|
263
|
-
async DescribeDeviceCertificates(
|
|
264
|
-
req: DescribeDeviceCertificatesRequest,
|
|
265
|
-
cb?: (error: string, rep: DescribeDeviceCertificatesResponse) => void
|
|
266
|
-
): Promise<DescribeDeviceCertificatesResponse> {
|
|
267
|
-
return this.request("DescribeDeviceCertificates", req, cb)
|
|
268
|
-
}
|
|
269
|
-
|
|
270
338
|
/**
|
|
271
339
|
* 创建MQTT实例的性能测试任务
|
|
272
340
|
*/
|
|
@@ -276,24 +344,4 @@ export class Client extends AbstractClient {
|
|
|
276
344
|
): Promise<CreateAuthorizationPolicyResponse> {
|
|
277
345
|
return this.request("CreateAuthorizationPolicy", req, cb)
|
|
278
346
|
}
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* 修改MQTT JWKS 认证器
|
|
282
|
-
*/
|
|
283
|
-
async ModifyJWKSAuthenticator(
|
|
284
|
-
req: ModifyJWKSAuthenticatorRequest,
|
|
285
|
-
cb?: (error: string, rep: ModifyJWKSAuthenticatorResponse) => void
|
|
286
|
-
): Promise<ModifyJWKSAuthenticatorResponse> {
|
|
287
|
-
return this.request("ModifyJWKSAuthenticator", req, cb)
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* 创建一个jwks的认证
|
|
292
|
-
*/
|
|
293
|
-
async CreateJWKSAuthenticator(
|
|
294
|
-
req: CreateJWKSAuthenticatorRequest,
|
|
295
|
-
cb?: (error: string, rep: CreateJWKSAuthenticatorResponse) => void
|
|
296
|
-
): Promise<CreateJWKSAuthenticatorResponse> {
|
|
297
|
-
return this.request("CreateJWKSAuthenticator", req, cb)
|
|
298
|
-
}
|
|
299
347
|
}
|
|
@@ -514,6 +514,20 @@ export interface DescribeAuthenticatorResponse {
|
|
|
514
514
|
RequestId?: string
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
+
/**
|
|
518
|
+
* DeleteDeviceCertificate请求参数结构体
|
|
519
|
+
*/
|
|
520
|
+
export interface DeleteDeviceCertificateRequest {
|
|
521
|
+
/**
|
|
522
|
+
* 集群id
|
|
523
|
+
*/
|
|
524
|
+
InstanceId: string
|
|
525
|
+
/**
|
|
526
|
+
* 设备证书序列号
|
|
527
|
+
*/
|
|
528
|
+
DeviceCertificateSn: string
|
|
529
|
+
}
|
|
530
|
+
|
|
517
531
|
/**
|
|
518
532
|
* CreateTopic返回参数结构体
|
|
519
533
|
*/
|
|
@@ -568,6 +582,88 @@ password-使用密码字段传递
|
|
|
568
582
|
Remark?: string
|
|
569
583
|
}
|
|
570
584
|
|
|
585
|
+
/**
|
|
586
|
+
* DescribeDeviceCertificate返回参数结构体
|
|
587
|
+
*/
|
|
588
|
+
export interface DescribeDeviceCertificateResponse {
|
|
589
|
+
/**
|
|
590
|
+
* 创建时间
|
|
591
|
+
*/
|
|
592
|
+
CreatedTime?: number
|
|
593
|
+
/**
|
|
594
|
+
* 上次更新时间
|
|
595
|
+
*/
|
|
596
|
+
UpdateTime?: number
|
|
597
|
+
/**
|
|
598
|
+
* 证书失效日期
|
|
599
|
+
*/
|
|
600
|
+
NotAfterTime?: number
|
|
601
|
+
/**
|
|
602
|
+
* 上次激活时间
|
|
603
|
+
*/
|
|
604
|
+
LastActivationTime?: number
|
|
605
|
+
/**
|
|
606
|
+
* 上次取消激活时间
|
|
607
|
+
*/
|
|
608
|
+
LastInactivationTime?: number
|
|
609
|
+
/**
|
|
610
|
+
* 证书状态
|
|
611
|
+
*/
|
|
612
|
+
Status?: string
|
|
613
|
+
/**
|
|
614
|
+
* 证书序列号
|
|
615
|
+
*/
|
|
616
|
+
CaSn?: string
|
|
617
|
+
/**
|
|
618
|
+
* 设备证书sn
|
|
619
|
+
*/
|
|
620
|
+
DeviceCertificateSn?: string
|
|
621
|
+
/**
|
|
622
|
+
* 证书内容
|
|
623
|
+
*/
|
|
624
|
+
DeviceCertificate?: string
|
|
625
|
+
/**
|
|
626
|
+
* 设备证书cn
|
|
627
|
+
*/
|
|
628
|
+
DeviceCertificateCn?: string
|
|
629
|
+
/**
|
|
630
|
+
* 证书格式
|
|
631
|
+
*/
|
|
632
|
+
Format?: string
|
|
633
|
+
/**
|
|
634
|
+
* 客户端id
|
|
635
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
636
|
+
*/
|
|
637
|
+
ClientId?: string
|
|
638
|
+
/**
|
|
639
|
+
* API, 手动注册
|
|
640
|
+
JITP 自动注册
|
|
641
|
+
*/
|
|
642
|
+
CertificateSource?: string
|
|
643
|
+
/**
|
|
644
|
+
* 证书生效开始时间
|
|
645
|
+
*/
|
|
646
|
+
NotBeforeTime?: number
|
|
647
|
+
/**
|
|
648
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
649
|
+
*/
|
|
650
|
+
RequestId?: string
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* RevokedDeviceCertificate请求参数结构体
|
|
655
|
+
*/
|
|
656
|
+
export interface RevokedDeviceCertificateRequest {
|
|
657
|
+
/**
|
|
658
|
+
* 集群id
|
|
659
|
+
*/
|
|
660
|
+
InstanceId: string
|
|
661
|
+
/**
|
|
662
|
+
* 设备证书序列号
|
|
663
|
+
*/
|
|
664
|
+
DeviceCertificateSn: string
|
|
665
|
+
}
|
|
666
|
+
|
|
571
667
|
/**
|
|
572
668
|
* 策略规则优先级
|
|
573
669
|
*/
|
|
@@ -594,6 +690,16 @@ export interface CreateAuthorizationPolicyResponse {
|
|
|
594
690
|
RequestId?: string
|
|
595
691
|
}
|
|
596
692
|
|
|
693
|
+
/**
|
|
694
|
+
* DeleteDeviceCertificate返回参数结构体
|
|
695
|
+
*/
|
|
696
|
+
export interface DeleteDeviceCertificateResponse {
|
|
697
|
+
/**
|
|
698
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
699
|
+
*/
|
|
700
|
+
RequestId?: string
|
|
701
|
+
}
|
|
702
|
+
|
|
597
703
|
/**
|
|
598
704
|
* CreateJWTAuthenticator请求参数结构体
|
|
599
705
|
*/
|
|
@@ -1086,9 +1192,9 @@ DELETING,删除中
|
|
|
1086
1192
|
}
|
|
1087
1193
|
|
|
1088
1194
|
/**
|
|
1089
|
-
*
|
|
1195
|
+
* RevokedDeviceCertificate返回参数结构体
|
|
1090
1196
|
*/
|
|
1091
|
-
export interface
|
|
1197
|
+
export interface RevokedDeviceCertificateResponse {
|
|
1092
1198
|
/**
|
|
1093
1199
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1094
1200
|
*/
|
|
@@ -1096,65 +1202,51 @@ export interface DeleteTopicResponse {
|
|
|
1096
1202
|
}
|
|
1097
1203
|
|
|
1098
1204
|
/**
|
|
1099
|
-
*
|
|
1205
|
+
* DeleteTopic返回参数结构体
|
|
1100
1206
|
*/
|
|
1101
|
-
export interface
|
|
1102
|
-
/**
|
|
1103
|
-
* 策略
|
|
1104
|
-
*/
|
|
1105
|
-
Id: number
|
|
1106
|
-
/**
|
|
1107
|
-
* 实例ID
|
|
1108
|
-
*/
|
|
1109
|
-
InstanceId: string
|
|
1110
|
-
/**
|
|
1111
|
-
* 策略名称
|
|
1112
|
-
*/
|
|
1113
|
-
PolicyName?: string
|
|
1114
|
-
/**
|
|
1115
|
-
* 策略版本
|
|
1116
|
-
*/
|
|
1117
|
-
PolicyVersion?: number
|
|
1118
|
-
/**
|
|
1119
|
-
* 策略优先级,越小越优先
|
|
1120
|
-
*/
|
|
1121
|
-
Priority?: number
|
|
1122
|
-
/**
|
|
1123
|
-
* allow、deny
|
|
1124
|
-
*/
|
|
1125
|
-
Effect?: string
|
|
1126
|
-
/**
|
|
1127
|
-
* connect、pub、sub
|
|
1128
|
-
*/
|
|
1129
|
-
Actions?: string
|
|
1130
|
-
/**
|
|
1131
|
-
* 资源
|
|
1132
|
-
*/
|
|
1133
|
-
Resources?: string
|
|
1207
|
+
export interface DeleteTopicResponse {
|
|
1134
1208
|
/**
|
|
1135
|
-
*
|
|
1209
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1136
1210
|
*/
|
|
1137
|
-
|
|
1211
|
+
RequestId?: string
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* DeactivateDeviceCertificate返回参数结构体
|
|
1216
|
+
*/
|
|
1217
|
+
export interface DeactivateDeviceCertificateResponse {
|
|
1138
1218
|
/**
|
|
1139
|
-
*
|
|
1219
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1140
1220
|
*/
|
|
1141
|
-
|
|
1221
|
+
RequestId?: string
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* DescribeDeviceCertificate请求参数结构体
|
|
1226
|
+
*/
|
|
1227
|
+
export interface DescribeDeviceCertificateRequest {
|
|
1142
1228
|
/**
|
|
1143
|
-
*
|
|
1229
|
+
* 设备证书sn
|
|
1144
1230
|
*/
|
|
1145
|
-
|
|
1231
|
+
DeviceCertificateSn: string
|
|
1146
1232
|
/**
|
|
1147
|
-
*
|
|
1233
|
+
* 集群id
|
|
1148
1234
|
*/
|
|
1149
|
-
|
|
1235
|
+
InstanceId: string
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* DeactivateDeviceCertificate请求参数结构体
|
|
1240
|
+
*/
|
|
1241
|
+
export interface DeactivateDeviceCertificateRequest {
|
|
1150
1242
|
/**
|
|
1151
|
-
*
|
|
1243
|
+
* 集群id
|
|
1152
1244
|
*/
|
|
1153
|
-
|
|
1245
|
+
InstanceId: string
|
|
1154
1246
|
/**
|
|
1155
|
-
*
|
|
1247
|
+
* 设备证书序列号
|
|
1156
1248
|
*/
|
|
1157
|
-
|
|
1249
|
+
DeviceCertificateSn: string
|
|
1158
1250
|
}
|
|
1159
1251
|
|
|
1160
1252
|
/**
|
|
@@ -1222,6 +1314,68 @@ export interface TagFilter {
|
|
|
1222
1314
|
TagValues?: Array<string>
|
|
1223
1315
|
}
|
|
1224
1316
|
|
|
1317
|
+
/**
|
|
1318
|
+
* ModifyAuthorizationPolicy请求参数结构体
|
|
1319
|
+
*/
|
|
1320
|
+
export interface ModifyAuthorizationPolicyRequest {
|
|
1321
|
+
/**
|
|
1322
|
+
* 策略
|
|
1323
|
+
*/
|
|
1324
|
+
Id: number
|
|
1325
|
+
/**
|
|
1326
|
+
* 实例ID
|
|
1327
|
+
*/
|
|
1328
|
+
InstanceId: string
|
|
1329
|
+
/**
|
|
1330
|
+
* 策略名称
|
|
1331
|
+
*/
|
|
1332
|
+
PolicyName?: string
|
|
1333
|
+
/**
|
|
1334
|
+
* 策略版本
|
|
1335
|
+
*/
|
|
1336
|
+
PolicyVersion?: number
|
|
1337
|
+
/**
|
|
1338
|
+
* 策略优先级,越小越优先
|
|
1339
|
+
*/
|
|
1340
|
+
Priority?: number
|
|
1341
|
+
/**
|
|
1342
|
+
* allow、deny
|
|
1343
|
+
*/
|
|
1344
|
+
Effect?: string
|
|
1345
|
+
/**
|
|
1346
|
+
* connect、pub、sub
|
|
1347
|
+
*/
|
|
1348
|
+
Actions?: string
|
|
1349
|
+
/**
|
|
1350
|
+
* 资源
|
|
1351
|
+
*/
|
|
1352
|
+
Resources?: string
|
|
1353
|
+
/**
|
|
1354
|
+
* 用户名
|
|
1355
|
+
*/
|
|
1356
|
+
Username?: string
|
|
1357
|
+
/**
|
|
1358
|
+
* 1.匹配保留消息;2.匹配非保留消息;3.匹配所有消息
|
|
1359
|
+
*/
|
|
1360
|
+
Retain?: number
|
|
1361
|
+
/**
|
|
1362
|
+
* 客户端
|
|
1363
|
+
*/
|
|
1364
|
+
ClientId?: string
|
|
1365
|
+
/**
|
|
1366
|
+
* IP
|
|
1367
|
+
*/
|
|
1368
|
+
Ip?: string
|
|
1369
|
+
/**
|
|
1370
|
+
* 0、1、2
|
|
1371
|
+
*/
|
|
1372
|
+
Qos?: string
|
|
1373
|
+
/**
|
|
1374
|
+
* 备注信息
|
|
1375
|
+
*/
|
|
1376
|
+
Remark?: string
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1225
1379
|
/**
|
|
1226
1380
|
* ActivateDeviceCertificate返回参数结构体
|
|
1227
1381
|
*/
|
|
@@ -247,6 +247,7 @@ import {
|
|
|
247
247
|
InsuranceBillInfo,
|
|
248
248
|
ContentInfo,
|
|
249
249
|
GetTaskStateRequest,
|
|
250
|
+
TextTractorVehicleBack,
|
|
250
251
|
RecognizeMedicalInvoiceOCRRequest,
|
|
251
252
|
InsuranceBillOCRResponse,
|
|
252
253
|
ClassifyDetectInfo,
|
|
@@ -646,7 +647,7 @@ export class Client extends AbstractClient {
|
|
|
646
647
|
}
|
|
647
648
|
|
|
648
649
|
/**
|
|
649
|
-
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com
|
|
650
|
+
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://ocrdemo.cloud.tencent.com?action=RecognizeTableAccurateOCR)。
|
|
650
651
|
|
|
651
652
|
默认接口请求频率限制:2次/秒。
|
|
652
653
|
*/
|