tencentcloud-sdk-nodejs 4.0.683 → 4.0.684

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 (51) hide show
  1. package/CHANGELOG.md +196 -0
  2. package/SERVICE_CHANGELOG.md +271 -54
  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/cdwch/v20200915/cdwch_client.ts +27 -15
  7. package/src/services/cdwch/v20200915/cdwch_models.ts +70 -46
  8. package/src/services/cfw/v20190904/cfw_client.ts +711 -456
  9. package/src/services/cfw/v20190904/cfw_models.ts +1815 -305
  10. package/src/services/eb/v20210416/eb_client.ts +110 -59
  11. package/src/services/eb/v20210416/eb_models.ts +917 -780
  12. package/src/services/ess/v20201111/ess_client.ts +40 -16
  13. package/src/services/ess/v20201111/ess_models.ts +301 -177
  14. package/src/services/facefusion/v20181201/facefusion_client.ts +4 -2
  15. package/src/services/iai/v20180301/iai_models.ts +13 -13
  16. package/src/services/iai/v20200303/iai_models.ts +15 -15
  17. package/src/services/trocket/v20230308/trocket_client.ts +68 -17
  18. package/src/services/trocket/v20230308/trocket_models.ts +371 -35
  19. package/src/services/trtc/v20190722/trtc_models.ts +1 -1
  20. package/src/services/waf/v20180125/waf_client.ts +25 -38
  21. package/src/services/waf/v20180125/waf_models.ts +45 -73
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +9 -5
  25. package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +12 -6
  26. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +68 -46
  27. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +227 -147
  28. package/tencentcloud/services/cfw/v20190904/cfw_client.js +336 -216
  29. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1815 -360
  30. package/tencentcloud/services/eb/v20210416/eb_client.d.ts +17 -1
  31. package/tencentcloud/services/eb/v20210416/eb_client.js +24 -0
  32. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +896 -770
  33. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +36 -12
  34. package/tencentcloud/services/ess/v20201111/ess_client.js +36 -12
  35. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +301 -177
  36. package/tencentcloud/services/facefusion/v20181201/facefusion_client.d.ts +3 -1
  37. package/tencentcloud/services/facefusion/v20181201/facefusion_client.js +3 -1
  38. package/tencentcloud/services/iai/v20180301/iai_models.d.ts +13 -13
  39. package/tencentcloud/services/iai/v20200303/iai_models.d.ts +15 -15
  40. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +24 -8
  41. package/tencentcloud/services/trocket/v20230308/trocket_client.js +33 -9
  42. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +359 -34
  43. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
  44. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -13
  45. package/tencentcloud/services/waf/v20180125/waf_client.js +12 -18
  46. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +43 -68
  47. package/test/cdwch.v20200915.test.js +14 -4
  48. package/test/cfw.v20190904.test.js +340 -140
  49. package/test/eb.v20210416.test.js +40 -0
  50. package/test/trocket.v20230308.test.js +42 -2
  51. package/test/waf.v20180125.test.js +14 -24
@@ -16,28 +16,23 @@
16
16
  */
17
17
 
18
18
  /**
19
- * 描述如何数据转换
20
-
19
+ * 用来描述ckafka投递目标
21
20
  */
22
- export interface Transform {
21
+ export interface CkafkaTargetParams {
23
22
  /**
24
- * 描述如何数据转换
23
+ * 要投递到的ckafka topic
25
24
  */
26
- OutputStructs: Array<OutputStructParam>
25
+ TopicName: string
26
+ /**
27
+ * 重试策略
28
+ */
29
+ RetryPolicy: RetryPolicy
27
30
  }
28
31
 
29
32
  /**
30
- * ListConnections返回参数结构体
33
+ * DeleteTarget返回参数结构体
31
34
  */
32
- export interface ListConnectionsResponse {
33
- /**
34
- * 连接器信息
35
- */
36
- Connections: Array<Connection>
37
- /**
38
- * 连接器总数
39
- */
40
- TotalCount: number
35
+ export interface DeleteTargetResponse {
41
36
  /**
42
37
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
43
38
  */
@@ -45,99 +40,88 @@ export interface ListConnectionsResponse {
45
40
  }
46
41
 
47
42
  /**
48
- * 描述Es规则目标
43
+ * DeleteRule请求参数结构体
49
44
  */
50
- export interface ESTargetParams {
51
- /**
52
- * 网络连接类型
53
- */
54
- NetMode: string
55
- /**
56
- * 索引前缀
57
- */
58
- IndexPrefix: string
59
- /**
60
- * es日志轮换粒度
61
- */
62
- RotationInterval: string
63
- /**
64
- * DTS事件配置
65
- */
66
- OutputMode: string
45
+ export interface DeleteRuleRequest {
67
46
  /**
68
- * DTS索引配置
47
+ * 事件集ID
69
48
  */
70
- IndexSuffixMode: string
49
+ EventBusId: string
71
50
  /**
72
- * es模版类型
51
+ * 事件规则ID
73
52
  */
74
- IndexTemplateType?: string
53
+ RuleId: string
75
54
  }
76
55
 
77
56
  /**
78
- * GetEventBus返回参数结构体
57
+ * CheckRule请求参数结构体
79
58
  */
80
- export interface GetEventBusResponse {
81
- /**
82
- * 更新时间
83
- */
84
- ModTime?: string
85
- /**
86
- * 事件集描述
87
- */
88
- Description?: string
59
+ export interface CheckRuleRequest {
89
60
  /**
90
- * 日志主题ID
61
+ * Event信息
91
62
  */
92
- ClsTopicId?: string
63
+ Event: string
93
64
  /**
94
- * 创建时间
65
+ * EventPattern信息
95
66
  */
96
- AddTime?: string
67
+ EventPattern: string
68
+ }
69
+
70
+ /**
71
+ * 日志存储过滤条件
72
+ */
73
+ export interface LogFilters {
97
74
  /**
98
- * 日志集ID
75
+ * 过滤字段名称
99
76
  */
100
- ClsLogsetId?: string
77
+ Key: string
101
78
  /**
102
- * 事件集名称
79
+ * 运算符, 全等 eq,不等 neq,相似 like,排除相似 not like, 小于 lt,小于且等于 lte,大于 gt,大于且等于 gte,在范围内 range,不在范围内 norange
103
80
  */
104
- EventBusName?: string
81
+ Operator: string
105
82
  /**
106
- * 事件集ID
83
+ * 过滤值,范围运算需要同时输入两个值,以英文逗号分隔
84
+
107
85
  */
108
- EventBusId?: string
86
+ Value: string
87
+ }
88
+
89
+ /**
90
+ * CreateEventBus请求参数结构体
91
+ */
92
+ export interface CreateEventBusRequest {
109
93
  /**
110
- * (已废弃)事件集类型
94
+ * 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
111
95
  */
112
- Type?: string
96
+ EventBusName: string
113
97
  /**
114
- * 计费模式
98
+ * 事件集描述,不限字符类型,200字符描述以内
115
99
  */
116
- PayMode?: string
100
+ Description?: string
117
101
  /**
118
- * EB日志存储时长
119
- 注意:此字段可能返回 null,表示取不到有效值。
102
+ * EB存储时长
120
103
  */
121
104
  SaveDays?: number
122
105
  /**
123
- * EB日志主题ID
124
- 注意:此字段可能返回 null,表示取不到有效值。
125
- */
126
- LogTopicId?: string
127
- /**
128
- * 是否开启存储
129
- 注意:此字段可能返回 null,表示取不到有效值。
106
+ * EB是否开启存储
130
107
  */
131
108
  EnableStore?: boolean
109
+ }
110
+
111
+ /**
112
+ * 平台事件匹配规则
113
+ */
114
+ export interface PlatformEventSummary {
132
115
  /**
133
- * 消息序列,是否有序
116
+ * 平台事件名称
134
117
  注意:此字段可能返回 null,表示取不到有效值。
135
118
  */
136
- LinkMode?: string
119
+ EventName?: string
137
120
  /**
138
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
121
+ * 平台事件匹配规则
122
+ 注意:此字段可能返回 null,表示取不到有效值。
139
123
  */
140
- RequestId?: string
124
+ EventPattern?: string
141
125
  }
142
126
 
143
127
  /**
@@ -155,63 +139,65 @@ export interface RetryPolicy {
155
139
  }
156
140
 
157
141
  /**
158
- * 用来描述ckafka投递目标
142
+ * CreateTransformation请求参数结构体
159
143
  */
160
- export interface CkafkaTargetParams {
144
+ export interface CreateTransformationRequest {
161
145
  /**
162
- * 要投递到的ckafka topic
146
+ * 事件总线 id
163
147
  */
164
- TopicName: string
148
+ EventBusId: string
165
149
  /**
166
- * 重试策略
150
+ * 规则id
167
151
  */
168
- RetryPolicy: RetryPolicy
152
+ RuleId: string
153
+ /**
154
+ * 一个转换规则列表,当前仅限定一个
155
+ */
156
+ Transformations: Array<Transformation>
169
157
  }
170
158
 
171
159
  /**
172
- * ListConnections请求参数结构体
160
+ * SearchLog返回参数结构体
173
161
  */
174
- export interface ListConnectionsRequest {
162
+ export interface SearchLogResponse {
175
163
  /**
176
- * 事件集ID
164
+ * 日志总数
165
+ 注意:此字段可能返回 null,表示取不到有效值。
177
166
  */
178
- EventBusId: string
167
+ Total?: number
179
168
  /**
180
- * 根据哪个字段进行返回结果排序,目前支持如下以下字段:AddTime, ModTime
169
+ * 每页日志条数
170
+ 注意:此字段可能返回 null,表示取不到有效值。
181
171
  */
182
- OrderBy?: string
172
+ Limit?: number
183
173
  /**
184
- * 返回数量,默认为20,最大值为100。
174
+ * 页码
175
+ 注意:此字段可能返回 null,表示取不到有效值。
185
176
  */
186
- Limit?: number
177
+ Page?: number
187
178
  /**
188
- * 以升序还是降序的方式返回结果,可选值 ASC 和 DESC
179
+ * 日志检索结果
180
+ 注意:此字段可能返回 null,表示取不到有效值。
189
181
  */
190
- Order?: string
182
+ Results?: Array<SearchLogResult>
191
183
  /**
192
- * 偏移量,默认为0
184
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
193
185
  */
194
- Offset?: number
186
+ RequestId?: string
195
187
  }
196
188
 
197
189
  /**
198
- * DeleteRule请求参数结构体
190
+ * ListEventBuses返回参数结构体
199
191
  */
200
- export interface DeleteRuleRequest {
192
+ export interface ListEventBusesResponse {
201
193
  /**
202
- * 事件集ID
194
+ * 事件集信息
203
195
  */
204
- EventBusId: string
196
+ EventBuses?: Array<EventBus>
205
197
  /**
206
- * 事件规则ID
198
+ * 事件集总数
207
199
  */
208
- RuleId: string
209
- }
210
-
211
- /**
212
- * UpdateRule返回参数结构体
213
- */
214
- export interface UpdateRuleResponse {
200
+ TotalCount?: number
215
201
  /**
216
202
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
217
203
  */
@@ -241,198 +227,254 @@ export interface CreateTargetRequest {
241
227
  }
242
228
 
243
229
  /**
244
- * DeleteTarget返回参数结构体
230
+ * 日志检索详情
245
231
  */
246
- export interface DeleteTargetResponse {
232
+ export interface SearchLogResult {
247
233
  /**
248
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
234
+ * 单条日志上报时间
235
+ 注意:此字段可能返回 null,表示取不到有效值。
249
236
  */
250
- RequestId?: string
251
- }
252
-
253
- /**
254
- * UpdateRule请求参数结构体
255
- */
256
- export interface UpdateRuleRequest {
237
+ Timestamp?: string
257
238
  /**
258
- * 事件规则ID
239
+ * 日志内容详情
240
+ 注意:此字段可能返回 null,表示取不到有效值。
259
241
  */
260
- RuleId: string
242
+ Message?: string
261
243
  /**
262
- * 事件集ID
244
+ * 事件来源
245
+ 注意:此字段可能返回 null,表示取不到有效值。
263
246
  */
264
- EventBusId: string
247
+ Source?: string
265
248
  /**
266
- * 使能开关。
249
+ * 事件类型
250
+ 注意:此字段可能返回 null,表示取不到有效值。
267
251
  */
268
- Enable?: boolean
252
+ Type?: string
269
253
  /**
270
- * 规则描述,不限字符类型,200字符描述以内。
254
+ * 事件匹配规则
255
+ 注意:此字段可能返回 null,表示取不到有效值。
271
256
  */
272
- Description?: string
257
+ RuleIds?: string
273
258
  /**
274
- * 参考:[事件模式](https://cloud.tencent.com/document/product/1359/56084)
259
+ * 实例ID
260
+ 注意:此字段可能返回 null,表示取不到有效值。
275
261
  */
276
- EventPattern?: string
262
+ Subject?: string
277
263
  /**
278
- * 事件规则名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
264
+ * 地域
265
+ 注意:此字段可能返回 null,表示取不到有效值。
279
266
  */
280
- RuleName?: string
267
+ Region?: string
268
+ /**
269
+ * 事件状态
270
+ 注意:此字段可能返回 null,表示取不到有效值。
271
+ */
272
+ Status?: string
281
273
  }
282
274
 
283
275
  /**
284
- * DescribeLogTagValue请求参数结构体
276
+ * CreateRule返回参数结构体
285
277
  */
286
- export interface DescribeLogTagValueRequest {
287
- /**
288
- * 起始时间
289
- */
290
- StartTime: number
278
+ export interface CreateRuleResponse {
291
279
  /**
292
- * 结束时间
280
+ * 事件规则ID
293
281
  */
294
- EndTime: number
282
+ RuleId: string
295
283
  /**
296
- * 事件集ID
284
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
297
285
  */
298
- EventBusId: string
299
- /**
300
- * 聚合字段
301
- */
302
- GroupField: string
303
- /**
304
- * 页数
305
- */
306
- Page: number
286
+ RequestId?: string
287
+ }
288
+
289
+ /**
290
+ * UpdateRule返回参数结构体
291
+ */
292
+ export interface UpdateRuleResponse {
307
293
  /**
308
- * 每页数据大小
294
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
309
295
  */
310
- Limit: number
296
+ RequestId?: string
297
+ }
298
+
299
+ /**
300
+ * DeleteTransformation返回参数结构体
301
+ */
302
+ export interface DeleteTransformationResponse {
311
303
  /**
312
- * 筛选条件
304
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
313
305
  */
314
- Filter?: Array<LogFilter>
306
+ RequestId?: string
315
307
  }
316
308
 
317
309
  /**
318
- * 目标简要信息
310
+ * ListPlatformProducts返回参数结构体
319
311
  */
320
- export interface TargetBrief {
312
+ export interface ListPlatformProductsResponse {
321
313
  /**
322
- * 目标ID
314
+ * 平台产品列表
323
315
  */
324
- TargetId: string
316
+ PlatformProducts?: Array<PlatformProduct>
325
317
  /**
326
- * 目标类型
318
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
327
319
  */
328
- Type: string
320
+ RequestId?: string
329
321
  }
330
322
 
331
323
  /**
332
- * Data Transfer Service参数
324
+ * GetEventBus请求参数结构体
333
325
  */
334
- export type DTSParams = null
326
+ export interface GetEventBusRequest {
327
+ /**
328
+ * 事件集ID
329
+ */
330
+ EventBusId: string
331
+ }
335
332
 
336
333
  /**
337
- * ListRules返回参数结构体
334
+ * UpdateConnection请求参数结构体
338
335
  */
339
- export interface ListRulesResponse {
336
+ export interface UpdateConnectionRequest {
340
337
  /**
341
- * 事件规则信息
338
+ * 连接器ID
342
339
  */
343
- Rules: Array<Rule>
340
+ ConnectionId: string
344
341
  /**
345
- * 事件规则总数
342
+ * 事件集ID
346
343
  */
347
- TotalCount: number
344
+ EventBusId: string
348
345
  /**
349
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
346
+ * 使能开关
350
347
  */
351
- RequestId?: string
348
+ Enable?: boolean
349
+ /**
350
+ * 描述
351
+ */
352
+ Description?: string
353
+ /**
354
+ * 连接器名称
355
+ */
356
+ ConnectionName?: string
352
357
  }
353
358
 
354
359
  /**
355
- * CreateTarget返回参数结构体
360
+ * Transform输出参数
356
361
  */
357
- export interface CreateTargetResponse {
362
+ export interface OutputStructParam {
358
363
  /**
359
- * 目标ID
364
+ * 对应输出json中的key
360
365
  */
361
- TargetId: string
366
+ Key: string
362
367
  /**
363
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
368
+ * 可以填json-path也可以支持常量或者内置关键字date类型
364
369
  */
365
- RequestId?: string
370
+ Value: string
371
+ /**
372
+ * value的数据类型, 可选值: STRING, NUMBER,BOOLEAN,NULL,SYS_VARIABLE,JSONPATH
373
+ */
374
+ ValueType: string
366
375
  }
367
376
 
368
377
  /**
369
- * CheckRule请求参数结构体
378
+ * GetRule请求参数结构体
370
379
  */
371
- export interface CheckRuleRequest {
380
+ export interface GetRuleRequest {
372
381
  /**
373
- * Event信息
382
+ * 事件集ID
374
383
  */
375
- Event: string
384
+ EventBusId: string
376
385
  /**
377
- * EventPattern信息
386
+ * 事件规则ID
378
387
  */
379
- EventPattern: string
388
+ RuleId: string
380
389
  }
381
390
 
382
391
  /**
383
- * GetRule返回参数结构体
392
+ * 日志查询相关接口filter参数定义
384
393
  */
385
- export interface GetRuleResponse {
394
+ export interface LogFilter {
386
395
  /**
387
- * 事件集id
396
+ * 过滤字段名称
388
397
  */
389
- EventBusId?: string
398
+ Key?: string
390
399
  /**
391
- * 事件规则id
400
+ * 运算符,全等 eq,不等 neq,相似 like,排除相似 not like, 小于 lt,小于且等于 lte,大于 gt,大于且等于 gte,在范围内 range,不在范围内 norange
392
401
  */
393
- RuleId?: string
402
+ Operator?: string
394
403
  /**
395
- * 事件规则名称
404
+ * 过滤值,范围运算需要同时输入两个值,以英文逗号分隔
405
+
396
406
  */
397
- RuleName?: string
407
+ Value?: string
398
408
  /**
399
- * 事件规则状态
409
+ * 该层级filters逻辑关系,取值 "AND" 或 "OR"
400
410
  */
401
- Status?: string
411
+ Type?: string
402
412
  /**
403
- * 使能开关
413
+ * LogFilters数组
404
414
  */
405
- Enable?: boolean
415
+ Filters?: Array<LogFilters>
416
+ }
417
+
418
+ /**
419
+ * APIGWParams描述
420
+ */
421
+ export interface APIGWParams {
406
422
  /**
407
- * 事件规则描述
423
+ * HTTPS
408
424
  */
409
- Description?: string
425
+ Protocol: string
410
426
  /**
411
- * 事件模式
427
+ * POST
412
428
  */
413
- EventPattern?: string
429
+ Method: string
430
+ }
431
+
432
+ /**
433
+ * 平台产品基础信息
434
+ */
435
+ export interface PlatformProduct {
414
436
  /**
415
- * 创建时间
437
+ * 平台产品名称
416
438
  */
417
- AddTime?: string
439
+ ProductName?: string
418
440
  /**
419
- * 更新时间
441
+ * 平台产品类型
420
442
  */
421
- ModTime?: string
443
+ ProductType?: string
444
+ }
445
+
446
+ /**
447
+ * 描述如何提取数据
448
+ */
449
+ export interface Extraction {
422
450
  /**
423
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
451
+ * JsonPath, 不指定则使用默认值$.
424
452
  */
425
- RequestId?: string
453
+ ExtractionInputPath: string
454
+ /**
455
+ * 取值: TEXT/JSON
456
+ */
457
+ Format: string
458
+ /**
459
+ * 仅在Text需要传递
460
+ 注意:此字段可能返回 null,表示取不到有效值。
461
+ */
462
+ TextParams?: TextParams
426
463
  }
427
464
 
428
465
  /**
429
- * CreateConnection返回参数结构体
466
+ * Data Transfer Service参数
430
467
  */
431
- export interface CreateConnectionResponse {
468
+ export type DTSParams = null
469
+
470
+ /**
471
+ * CreateTarget返回参数结构体
472
+ */
473
+ export interface CreateTargetResponse {
432
474
  /**
433
- * 连接器ID
475
+ * 目标ID
434
476
  */
435
- ConnectionId: string
477
+ TargetId: string
436
478
  /**
437
479
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
438
480
  */
@@ -440,48 +482,47 @@ export interface CreateConnectionResponse {
440
482
  }
441
483
 
442
484
  /**
443
- * 事件集信息
485
+ * UpdateRule请求参数结构体
444
486
  */
445
- export interface EventBus {
446
- /**
447
- * 更新时间
448
- */
449
- ModTime: string
487
+ export interface UpdateRuleRequest {
450
488
  /**
451
- * 事件集描述,不限字符类型,200字符描述以内
489
+ * 事件规则ID
452
490
  */
453
- Description: string
491
+ RuleId: string
454
492
  /**
455
- * 创建时间
493
+ * 事件集ID
456
494
  */
457
- AddTime: string
495
+ EventBusId: string
458
496
  /**
459
- * 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
497
+ * 使能开关。
460
498
  */
461
- EventBusName: string
499
+ Enable?: boolean
462
500
  /**
463
- * 事件集ID
501
+ * 规则描述,不限字符类型,200字符描述以内。
464
502
  */
465
- EventBusId: string
503
+ Description?: string
466
504
  /**
467
- * 事件集类型
505
+ * 参考:[事件模式](https://cloud.tencent.com/document/product/1359/56084)
468
506
  */
469
- Type: string
507
+ EventPattern?: string
470
508
  /**
471
- * 计费模式
472
- 注意:此字段可能返回 null,表示取不到有效值。
509
+ * 事件规则名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
473
510
  */
474
- PayMode?: string
511
+ RuleName?: string
512
+ }
513
+
514
+ /**
515
+ * CreateConnection返回参数结构体
516
+ */
517
+ export interface CreateConnectionResponse {
475
518
  /**
476
- * 连接器基础信息
477
- 注意:此字段可能返回 null,表示取不到有效值。
519
+ * 连接器ID
478
520
  */
479
- ConnectionBriefs?: Array<ConnectionBrief>
521
+ ConnectionId: string
480
522
  /**
481
- * 目标简要信息
482
- 注意:此字段可能返回 null,表示取不到有效值。
523
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
483
524
  */
484
- TargetBriefs?: Array<TargetBrief>
525
+ RequestId?: string
485
526
  }
486
527
 
487
528
  /**
@@ -536,25 +577,102 @@ export interface Transformation {
536
577
  }
537
578
 
538
579
  /**
539
- * Target信息
580
+ * UpdateTransformation返回参数结构体
540
581
  */
541
- export interface Target {
582
+ export interface UpdateTransformationResponse {
542
583
  /**
543
- * 目标类型
584
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
544
585
  */
545
- Type: string
586
+ RequestId?: string
587
+ }
588
+
589
+ /**
590
+ * CheckTransformation返回参数结构体
591
+ */
592
+ export interface CheckTransformationResponse {
546
593
  /**
547
- * 事件集ID
594
+ * 经过Transformations处理之后的数据
548
595
  */
549
- EventBusId: string
596
+ Output: string
550
597
  /**
551
- * 目标ID
598
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
552
599
  */
553
- TargetId: string
600
+ RequestId?: string
601
+ }
602
+
603
+ /**
604
+ * ListTargets返回参数结构体
605
+ */
606
+ export interface ListTargetsResponse {
554
607
  /**
555
- * 目标描述
608
+ * 目标总数
556
609
  */
557
- TargetDescription: TargetDescription
610
+ TotalCount: number
611
+ /**
612
+ * 目标信息
613
+ */
614
+ Targets: Array<Target>
615
+ /**
616
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
617
+ */
618
+ RequestId?: string
619
+ }
620
+
621
+ /**
622
+ * 描述如何过滤数据
623
+ */
624
+ export interface EtlFilter {
625
+ /**
626
+ * 语法Rule规则保持一致
627
+ */
628
+ Filter: string
629
+ }
630
+
631
+ /**
632
+ * ConnectionDescription描述
633
+ */
634
+ export interface ConnectionDescription {
635
+ /**
636
+ * 资源qcs六段式,更多参考 [资源六段式](https://cloud.tencent.com/document/product/598/10606)
637
+ */
638
+ ResourceDescription: string
639
+ /**
640
+ * apigw参数
641
+ 注意:此字段可能返回 null,表示取不到有效值。
642
+ */
643
+ APIGWParams?: APIGWParams
644
+ /**
645
+ * ckafka参数
646
+ 注意:此字段可能返回 null,表示取不到有效值。
647
+ */
648
+ CkafkaParams?: CkafkaParams
649
+ /**
650
+ * data transfer service (DTS)参数
651
+ 注意:此字段可能返回 null,表示取不到有效值。
652
+ */
653
+ DTSParams?: DTSParams
654
+ }
655
+
656
+ /**
657
+ * Target信息
658
+ */
659
+ export interface Target {
660
+ /**
661
+ * 目标类型
662
+ */
663
+ Type: string
664
+ /**
665
+ * 事件集ID
666
+ */
667
+ EventBusId: string
668
+ /**
669
+ * 目标ID
670
+ */
671
+ TargetId: string
672
+ /**
673
+ * 目标描述
674
+ */
675
+ TargetDescription: TargetDescription
558
676
  /**
559
677
  * 事件规则ID
560
678
  */
@@ -577,13 +695,19 @@ export interface Target {
577
695
  }
578
696
 
579
697
  /**
580
- * ListRules请求参数结构体
698
+ * DeleteEventBus请求参数结构体
581
699
  */
582
- export interface ListRulesRequest {
700
+ export interface DeleteEventBusRequest {
583
701
  /**
584
702
  * 事件集ID
585
703
  */
586
704
  EventBusId: string
705
+ }
706
+
707
+ /**
708
+ * ListEventBuses请求参数结构体
709
+ */
710
+ export interface ListEventBusesRequest {
587
711
  /**
588
712
  * 根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
589
713
  */
@@ -592,176 +716,151 @@ export interface ListRulesRequest {
592
716
  * 返回数量,默认为20,最大值为100。
593
717
  */
594
718
  Limit?: number
595
- /**
596
- * 分页偏移量,默认为0。
597
- */
598
- Offset?: number
599
719
  /**
600
720
  * 以升序还是降序的方式返回结果,可选值 ASC(升序) 和 DESC(降序)
601
721
  */
602
722
  Order?: string
603
- }
604
-
605
- /**
606
- * 云函数参数
607
- */
608
- export interface SCFParams {
609
- /**
610
- * 批量投递最长等待时间
611
- */
612
- BatchTimeout?: number
613
723
  /**
614
- * 批量投递最大事件条数
724
+ * 过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。
615
725
  */
616
- BatchEventCount?: number
726
+ Filters?: Array<Filter>
617
727
  /**
618
- * 开启批量投递使能
728
+ * 分页偏移量,默认为0。
619
729
  */
620
- EnableBatchDelivery?: boolean
730
+ Offset?: number
621
731
  }
622
732
 
623
733
  /**
624
- * rule对应的dlq配置
734
+ * CreateTransformation返回参数结构体
625
735
  */
626
- export interface DeadLetterConfig {
736
+ export interface CreateTransformationResponse {
627
737
  /**
628
- * 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERROR
738
+ * 生成的转换器id
629
739
  */
630
- DisposeMethod: string
740
+ TransformationId: string
631
741
  /**
632
- * 设置了DLQ方式后,此选项必填. 错误消息会被投递到对应的kafka topic中
633
- 注意:此字段可能返回 null,表示取不到有效值。
742
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
634
743
  */
635
- CkafkaDeliveryParams?: CkafkaDeliveryParams
744
+ RequestId?: string
636
745
  }
637
746
 
638
747
  /**
639
- * 日志存储过滤条件
748
+ * 平台事件名称
640
749
  */
641
- export interface LogFilters {
750
+ export interface PlatformEventDetail {
642
751
  /**
643
- * 过滤字段名称
644
- */
645
- Key: string
646
- /**
647
- * 运算符, 全等 eq,不等 neq,相似 like,排除相似 not like, 小于 lt,小于且等于 lte,大于 gt,大于且等于 gte,在范围内 range,不在范围内 norange
752
+ * 事件名称
753
+ 注意:此字段可能返回 null,表示取不到有效值。
648
754
  */
649
- Operator: string
755
+ EventName?: string
650
756
  /**
651
- * 过滤值,范围运算需要同时输入两个值,以英文逗号分隔
652
-
757
+ * 事件类型
758
+ 注意:此字段可能返回 null,表示取不到有效值。
653
759
  */
654
- Value: string
760
+ EventType?: string
655
761
  }
656
762
 
657
763
  /**
658
- * UpdateEventBus请求参数结构体
764
+ * DeleteTransformation请求参数结构体
659
765
  */
660
- export interface UpdateEventBusRequest {
766
+ export interface DeleteTransformationRequest {
661
767
  /**
662
768
  * 事件集ID
663
769
  */
664
770
  EventBusId: string
665
771
  /**
666
- * 事件集描述,不限字符类型,200字符描述以内
667
- */
668
- Description?: string
669
- /**
670
- * 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
772
+ * 规则ID
671
773
  */
672
- EventBusName?: string
774
+ RuleId: string
673
775
  /**
674
- * EB日志存储时长
776
+ * 转换器id
675
777
  */
676
- SaveDays?: number
778
+ TransformationId: string
779
+ }
780
+
781
+ /**
782
+ * Ckafka 连接器参数
783
+ */
784
+ export interface CkafkaParams {
677
785
  /**
678
- * EB日志主题ID
786
+ * kafka offset
679
787
  */
680
- LogTopicId?: string
788
+ Offset: string
681
789
  /**
682
- * 是否开启存储
790
+ * ckafka topic
683
791
  */
684
- EnableStore?: boolean
792
+ TopicName: string
685
793
  }
686
794
 
687
795
  /**
688
- * CreateEventBus请求参数结构体
796
+ * eb event信息
689
797
  */
690
- export interface CreateEventBusRequest {
798
+ export interface Event {
691
799
  /**
692
- * 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
800
+ * 事件源的信息,新产品上报必须符合EB的规范
693
801
  */
694
- EventBusName: string
802
+ Source: string
695
803
  /**
696
- * 事件集描述,不限字符类型,200字符描述以内
804
+ * 事件数据,内容由创建事件的系统来控制,当前datacontenttype仅支持application/json;charset=utf-8,所以该字段是json字符串
697
805
  */
698
- Description?: string
806
+ Data: string
699
807
  /**
700
- * EB存储时长
808
+ * 事件类型,可自定义,选填。云服务默认写 COS:Created:PostObject,用“:”分割类型字段
701
809
  */
702
- SaveDays?: number
810
+ Type: string
703
811
  /**
704
- * EB是否开启存储
812
+ * 事件来源详细描述,可自定义,选填。云服务默认为标准qcs资源表示语法:qcs::dts:ap-guangzhou:appid/uin:xxx
705
813
  */
706
- EnableStore?: boolean
707
- }
708
-
709
- /**
710
- * PutEvents返回参数结构体
711
- */
712
- export interface PutEventsResponse {
814
+ Subject: string
713
815
  /**
714
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
816
+ * 事件发生的毫秒时间戳,
817
+ time.Now().UnixNano()/1e6
715
818
  */
716
- RequestId?: string
819
+ Time?: number
717
820
  }
718
821
 
719
822
  /**
720
- * CreateRule请求参数结构体
823
+ * UpdateTarget请求参数结构体
721
824
  */
722
- export interface CreateRuleRequest {
825
+ export interface UpdateTargetRequest {
723
826
  /**
724
- * 参考:[事件模式](https://cloud.tencent.com/document/product/1359/56084)
827
+ * 事件集ID
725
828
  */
726
- EventPattern: string
829
+ EventBusId: string
727
830
  /**
728
- * 事件集ID
831
+ * 事件规则ID
729
832
  */
730
- EventBusId: string
833
+ RuleId: string
731
834
  /**
732
- * 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
835
+ * 事件目标ID
733
836
  */
734
- RuleName: string
837
+ TargetId: string
735
838
  /**
736
- * 使能开关。
839
+ * 开启批量投递使能
737
840
  */
738
- Enable?: boolean
841
+ EnableBatchDelivery?: boolean
739
842
  /**
740
- * 事件集描述,不限字符类型,200字符描述以内
843
+ * 批量投递最长等待时间
741
844
  */
742
- Description?: string
845
+ BatchTimeout?: number
846
+ /**
847
+ * 批量投递最大事件条数
848
+ */
849
+ BatchEventCount?: number
743
850
  }
744
851
 
745
852
  /**
746
- * 描述如何切分数据
853
+ * ListConnections返回参数结构体
747
854
  */
748
- export interface TextParams {
855
+ export interface ListConnectionsResponse {
749
856
  /**
750
- * 逗号、| 、制表符、空格、换行符、%、#,限制长度为 1。
751
- 注意:此字段可能返回 null,表示取不到有效值。
857
+ * 连接器信息
752
858
  */
753
- Separator?: string
859
+ Connections: Array<Connection>
754
860
  /**
755
- * 填写正则表达式:长度128
756
- 注意:此字段可能返回 null,表示取不到有效值。
861
+ * 连接器总数
757
862
  */
758
- Regex?: string
759
- }
760
-
761
- /**
762
- * DeleteConnection返回参数结构体
763
- */
764
- export interface DeleteConnectionResponse {
863
+ TotalCount: number
765
864
  /**
766
865
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
767
866
  */
@@ -769,157 +868,160 @@ export interface DeleteConnectionResponse {
769
868
  }
770
869
 
771
870
  /**
772
- * DeleteRule返回参数结构体
871
+ * ListPlatformProducts请求参数结构体
773
872
  */
774
- export interface DeleteRuleResponse {
775
- /**
776
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
777
- */
778
- RequestId?: string
779
- }
873
+ export type ListPlatformProductsRequest = null
780
874
 
781
875
  /**
782
- * GetTransformation返回参数结构体
876
+ * PublishEvent请求参数结构体
783
877
  */
784
- export interface GetTransformationResponse {
878
+ export interface PublishEventRequest {
785
879
  /**
786
- * 转换规则列表
880
+ * 事件列表
787
881
  */
788
- Transformations: Array<Transformation>
882
+ EventList: Array<Event>
789
883
  /**
790
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
884
+ * 事件集ID
791
885
  */
792
- RequestId?: string
886
+ EventBusId: string
793
887
  }
794
888
 
795
889
  /**
796
- * 规则信息
890
+ * 描述如何数据转换
891
+
797
892
  */
798
- export interface Rule {
893
+ export interface Transform {
799
894
  /**
800
- * 状态
895
+ * 描述如何数据转换
801
896
  */
802
- Status: string
897
+ OutputStructs: Array<OutputStructParam>
898
+ }
899
+
900
+ /**
901
+ * ListPlatformEventNames请求参数结构体
902
+ */
903
+ export interface ListPlatformEventNamesRequest {
803
904
  /**
804
- * 修改时间
905
+ * 平台产品类型
805
906
  */
806
- ModTime: string
907
+ ProductType: string
908
+ }
909
+
910
+ /**
911
+ * 事件集信息
912
+ */
913
+ export interface EventBus {
807
914
  /**
808
- * 使能开关
915
+ * 更新时间
809
916
  */
810
- Enable: boolean
917
+ ModTime: string
811
918
  /**
812
- * 描述
919
+ * 事件集描述,不限字符类型,200字符描述以内
813
920
  */
814
921
  Description: string
815
- /**
816
- * 规则ID
817
- */
818
- RuleId: string
819
922
  /**
820
923
  * 创建时间
821
924
  */
822
925
  AddTime: string
926
+ /**
927
+ * 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
928
+ */
929
+ EventBusName: string
823
930
  /**
824
931
  * 事件集ID
825
932
  */
826
933
  EventBusId: string
827
934
  /**
828
- * 规则名称
935
+ * 事件集类型
829
936
  */
830
- RuleName: string
937
+ Type: string
831
938
  /**
832
- * Target 简要信息
939
+ * 计费模式
833
940
  注意:此字段可能返回 null,表示取不到有效值。
834
941
  */
835
- Targets: Array<TargetBrief>
942
+ PayMode?: string
836
943
  /**
837
- * rule设置的dlq规则. 可能为null
944
+ * 连接器基础信息
838
945
  注意:此字段可能返回 null,表示取不到有效值。
839
946
  */
840
- DeadLetterConfig: DeadLetterConfig
947
+ ConnectionBriefs?: Array<ConnectionBrief>
948
+ /**
949
+ * 目标简要信息
950
+ 注意:此字段可能返回 null,表示取不到有效值。
951
+ */
952
+ TargetBriefs?: Array<TargetBrief>
841
953
  }
842
954
 
843
955
  /**
844
- * CreateTransformation请求参数结构体
956
+ * ListPlatformEventPatterns返回参数结构体
845
957
  */
846
- export interface CreateTransformationRequest {
847
- /**
848
- * 事件总线 id
849
- */
850
- EventBusId: string
958
+ export interface ListPlatformEventPatternsResponse {
851
959
  /**
852
- * 规则id
960
+ * 平台产品事件匹配规则
853
961
  */
854
- RuleId: string
962
+ EventPatterns?: Array<PlatformEventSummary>
855
963
  /**
856
- * 一个转换规则列表,当前仅限定一个
964
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
857
965
  */
858
- Transformations: Array<Transformation>
966
+ RequestId?: string
859
967
  }
860
968
 
861
969
  /**
862
- * PublishEvent请求参数结构体
970
+ * ListRules请求参数结构体
863
971
  */
864
- export interface PublishEventRequest {
865
- /**
866
- * 事件列表
867
- */
868
- EventList: Array<Event>
972
+ export interface ListRulesRequest {
869
973
  /**
870
974
  * 事件集ID
871
975
  */
872
976
  EventBusId: string
873
- }
874
-
875
- /**
876
- * 描述如何过滤数据
877
- */
878
- export interface EtlFilter {
879
977
  /**
880
- * 语法Rule规则保持一致
978
+ * 根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
881
979
  */
882
- Filter: string
980
+ OrderBy?: string
981
+ /**
982
+ * 返回数量,默认为20,最大值为100。
983
+ */
984
+ Limit?: number
985
+ /**
986
+ * 分页偏移量,默认为0。
987
+ */
988
+ Offset?: number
989
+ /**
990
+ * 以升序还是降序的方式返回结果,可选值 ASC(升序) 和 DESC(降序)
991
+ */
992
+ Order?: string
883
993
  }
884
994
 
885
995
  /**
886
- * SearchLog返回参数结构体
996
+ * CreateRule请求参数结构体
887
997
  */
888
- export interface SearchLogResponse {
998
+ export interface CreateRuleRequest {
889
999
  /**
890
- * 日志总数
891
- 注意:此字段可能返回 null,表示取不到有效值。
1000
+ * 参考:[事件模式](https://cloud.tencent.com/document/product/1359/56084)
892
1001
  */
893
- Total?: number
1002
+ EventPattern: string
894
1003
  /**
895
- * 每页日志条数
896
- 注意:此字段可能返回 null,表示取不到有效值。
1004
+ * 事件集ID。
897
1005
  */
898
- Limit?: number
1006
+ EventBusId: string
899
1007
  /**
900
- * 页码
901
- 注意:此字段可能返回 null,表示取不到有效值。
1008
+ * 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
902
1009
  */
903
- Page?: number
1010
+ RuleName: string
904
1011
  /**
905
- * 日志检索结果
906
- 注意:此字段可能返回 null,表示取不到有效值。
1012
+ * 使能开关。
907
1013
  */
908
- Results?: Array<SearchLogResult>
1014
+ Enable?: boolean
909
1015
  /**
910
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1016
+ * 事件集描述,不限字符类型,200字符描述以内
911
1017
  */
912
- RequestId?: string
1018
+ Description?: string
913
1019
  }
914
1020
 
915
1021
  /**
916
- * CheckTransformation返回参数结构体
1022
+ * DeleteConnection返回参数结构体
917
1023
  */
918
- export interface CheckTransformationResponse {
919
- /**
920
- * 经过Transformations处理之后的数据
921
- */
922
- Output: string
1024
+ export interface DeleteConnectionResponse {
923
1025
  /**
924
1026
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
925
1027
  */
@@ -927,17 +1029,13 @@ export interface CheckTransformationResponse {
927
1029
  }
928
1030
 
929
1031
  /**
930
- * ListTargets返回参数结构体
1032
+ * GetTransformation返回参数结构体
931
1033
  */
932
- export interface ListTargetsResponse {
933
- /**
934
- * 目标总数
935
- */
936
- TotalCount: number
1034
+ export interface GetTransformationResponse {
937
1035
  /**
938
- * 目标信息
1036
+ * 转换规则列表
939
1037
  */
940
- Targets: Array<Target>
1038
+ Transformations: Array<Transformation>
941
1039
  /**
942
1040
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
943
1041
  */
@@ -945,17 +1043,9 @@ export interface ListTargetsResponse {
945
1043
  }
946
1044
 
947
1045
  /**
948
- * ListEventBuses返回参数结构体
1046
+ * CheckRule返回参数结构体
949
1047
  */
950
- export interface ListEventBusesResponse {
951
- /**
952
- * 事件集信息
953
- */
954
- EventBuses?: Array<EventBus>
955
- /**
956
- * 事件集总数
957
- */
958
- TotalCount?: number
1048
+ export interface CheckRuleResponse {
959
1049
  /**
960
1050
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
961
1051
  */
@@ -963,9 +1053,9 @@ export interface ListEventBusesResponse {
963
1053
  }
964
1054
 
965
1055
  /**
966
- * CheckRule返回参数结构体
1056
+ * UpdateTarget返回参数结构体
967
1057
  */
968
- export interface CheckRuleResponse {
1058
+ export interface UpdateTargetResponse {
969
1059
  /**
970
1060
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
971
1061
  */
@@ -973,134 +1063,157 @@ export interface CheckRuleResponse {
973
1063
  }
974
1064
 
975
1065
  /**
976
- * ConnectionDescription描述
1066
+ * PublishEvent返回参数结构体
977
1067
  */
978
- export interface ConnectionDescription {
979
- /**
980
- * 资源qcs六段式,更多参考 [资源六段式](https://cloud.tencent.com/document/product/598/10606)
981
- */
982
- ResourceDescription: string
983
- /**
984
- * apigw参数
985
- 注意:此字段可能返回 null,表示取不到有效值。
986
- */
987
- APIGWParams?: APIGWParams
988
- /**
989
- * ckafka参数
990
- 注意:此字段可能返回 null,表示取不到有效值。
991
- */
992
- CkafkaParams?: CkafkaParams
1068
+ export interface PublishEventResponse {
993
1069
  /**
994
- * data transfer service (DTS)参数
995
- 注意:此字段可能返回 null,表示取不到有效值。
1070
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
996
1071
  */
997
- DTSParams?: DTSParams
1072
+ RequestId?: string
998
1073
  }
999
1074
 
1000
1075
  /**
1001
- * 日志检索详情
1076
+ * 规则信息
1002
1077
  */
1003
- export interface SearchLogResult {
1078
+ export interface Rule {
1004
1079
  /**
1005
- * 单条日志上报时间
1006
- 注意:此字段可能返回 null,表示取不到有效值。
1080
+ * 状态
1007
1081
  */
1008
- Timestamp?: string
1082
+ Status: string
1009
1083
  /**
1010
- * 日志内容详情
1011
- 注意:此字段可能返回 null,表示取不到有效值。
1084
+ * 修改时间
1012
1085
  */
1013
- Message?: string
1086
+ ModTime: string
1014
1087
  /**
1015
- * 事件来源
1016
- 注意:此字段可能返回 null,表示取不到有效值。
1088
+ * 使能开关
1017
1089
  */
1018
- Source?: string
1090
+ Enable: boolean
1019
1091
  /**
1020
- * 事件类型
1021
- 注意:此字段可能返回 null,表示取不到有效值。
1092
+ * 描述
1022
1093
  */
1023
- Type?: string
1094
+ Description: string
1024
1095
  /**
1025
- * 事件匹配规则
1026
- 注意:此字段可能返回 null,表示取不到有效值。
1096
+ * 规则ID
1027
1097
  */
1028
- RuleIds?: string
1098
+ RuleId: string
1029
1099
  /**
1030
- * 实例ID
1031
- 注意:此字段可能返回 null,表示取不到有效值。
1100
+ * 创建时间
1032
1101
  */
1033
- Subject?: string
1102
+ AddTime: string
1034
1103
  /**
1035
- * 地域
1104
+ * 事件集ID
1105
+ */
1106
+ EventBusId: string
1107
+ /**
1108
+ * 规则名称
1109
+ */
1110
+ RuleName: string
1111
+ /**
1112
+ * Target 简要信息
1036
1113
  注意:此字段可能返回 null,表示取不到有效值。
1037
1114
  */
1038
- Region?: string
1115
+ Targets: Array<TargetBrief>
1039
1116
  /**
1040
- * 事件状态
1117
+ * rule设置的dlq规则. 可能为null
1041
1118
  注意:此字段可能返回 null,表示取不到有效值。
1042
1119
  */
1043
- Status?: string
1120
+ DeadLetterConfig: DeadLetterConfig
1044
1121
  }
1045
1122
 
1046
1123
  /**
1047
- * 用来描述需要投递到kafka topic的参数
1124
+ * 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
1125
+ * 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
1126
+ * 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
1048
1127
  */
1049
- export interface CkafkaDeliveryParams {
1128
+ export interface Filter {
1050
1129
  /**
1051
- * ckafka topic name
1130
+ * 一个或者多个过滤值。
1052
1131
  */
1053
- TopicName: string
1132
+ Values: Array<string>
1054
1133
  /**
1055
- * ckafka资源qcs六段式
1134
+ * 过滤键的名称。
1056
1135
  */
1057
- ResourceDescription: string
1136
+ Name: string
1058
1137
  }
1059
1138
 
1060
1139
  /**
1061
- * UpdateTarget返回参数结构体
1140
+ * Connection信息
1062
1141
  */
1063
- export interface UpdateTargetResponse {
1142
+ export interface Connection {
1064
1143
  /**
1065
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1144
+ * 状态
1066
1145
  */
1067
- RequestId?: string
1068
- }
1069
-
1070
- /**
1071
- * CreateConnection请求参数结构体
1072
- */
1073
- export interface CreateConnectionRequest {
1146
+ Status: string
1074
1147
  /**
1075
- * 连接器描述
1148
+ * 更新时间
1076
1149
  */
1077
- ConnectionDescription: ConnectionDescription
1150
+ ModTime: string
1151
+ /**
1152
+ * 使能开关
1153
+ */
1154
+ Enable: boolean
1155
+ /**
1156
+ * 描述
1157
+ */
1158
+ Description: string
1159
+ /**
1160
+ * 创建时间
1161
+ */
1162
+ AddTime: string
1163
+ /**
1164
+ * 连接器ID
1165
+ */
1166
+ ConnectionId: string
1078
1167
  /**
1079
1168
  * 事件集ID
1080
1169
  */
1081
1170
  EventBusId: string
1171
+ /**
1172
+ * 连接器描述
1173
+ */
1174
+ ConnectionDescription: ConnectionDescription
1082
1175
  /**
1083
1176
  * 连接器名称
1084
1177
  */
1085
1178
  ConnectionName: string
1086
1179
  /**
1087
- * 描述
1180
+ * 类型
1088
1181
  */
1089
- Description?: string
1182
+ Type: string
1183
+ }
1184
+
1185
+ /**
1186
+ * DeleteEventBus返回参数结构体
1187
+ */
1188
+ export interface DeleteEventBusResponse {
1090
1189
  /**
1091
- * 使能开关
1190
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1092
1191
  */
1093
- Enable?: boolean
1192
+ RequestId?: string
1193
+ }
1194
+
1195
+ /**
1196
+ * CreateEventBus返回参数结构体
1197
+ */
1198
+ export interface CreateEventBusResponse {
1094
1199
  /**
1095
- * 类型
1200
+ * 事件集ID
1096
1201
  */
1097
- Type?: string
1202
+ EventBusId?: string
1203
+ /**
1204
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1205
+ */
1206
+ RequestId?: string
1098
1207
  }
1099
1208
 
1100
1209
  /**
1101
- * DeleteEventBus请求参数结构体
1210
+ * DeleteConnection请求参数结构体
1102
1211
  */
1103
- export interface DeleteEventBusRequest {
1212
+ export interface DeleteConnectionRequest {
1213
+ /**
1214
+ * 连接器ID
1215
+ */
1216
+ ConnectionId: string
1104
1217
  /**
1105
1218
  * 事件集ID
1106
1219
  */
@@ -1108,49 +1221,41 @@ export interface DeleteEventBusRequest {
1108
1221
  }
1109
1222
 
1110
1223
  /**
1111
- * ListEventBuses请求参数结构体
1224
+ * UpdateTransformation请求参数结构体
1112
1225
  */
1113
- export interface ListEventBusesRequest {
1114
- /**
1115
- * 根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
1116
- */
1117
- OrderBy?: string
1226
+ export interface UpdateTransformationRequest {
1118
1227
  /**
1119
- * 返回数量,默认为20,最大值为100。
1228
+ * 事件集ID
1120
1229
  */
1121
- Limit?: number
1230
+ EventBusId: string
1122
1231
  /**
1123
- * 以升序还是降序的方式返回结果,可选值 ASC(升序) 和 DESC(降序)
1232
+ * 规则ID
1124
1233
  */
1125
- Order?: string
1234
+ RuleId: string
1126
1235
  /**
1127
- * 过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。
1236
+ * 转换器id
1128
1237
  */
1129
- Filters?: Array<Filter>
1238
+ TransformationId: string
1130
1239
  /**
1131
- * 分页偏移量,默认为0。
1240
+ * 一个转换规则列表,当前仅限定一个
1132
1241
  */
1133
- Offset?: number
1242
+ Transformations: Array<Transformation>
1134
1243
  }
1135
1244
 
1136
1245
  /**
1137
- * PublishEvent返回参数结构体
1246
+ * GetPlatformEventTemplate请求参数结构体
1138
1247
  */
1139
- export interface PublishEventResponse {
1248
+ export interface GetPlatformEventTemplateRequest {
1140
1249
  /**
1141
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1250
+ * 平台产品事件类型
1142
1251
  */
1143
- RequestId?: string
1252
+ EventType: string
1144
1253
  }
1145
1254
 
1146
1255
  /**
1147
- * CreateTransformation返回参数结构体
1256
+ * PutEvents返回参数结构体
1148
1257
  */
1149
- export interface CreateTransformationResponse {
1150
- /**
1151
- * 生成的转换器id
1152
- */
1153
- TransformationId: string
1258
+ export interface PutEventsResponse {
1154
1259
  /**
1155
1260
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1156
1261
  */
@@ -1158,133 +1263,109 @@ export interface CreateTransformationResponse {
1158
1263
  }
1159
1264
 
1160
1265
  /**
1161
- * 连接器基础信息
1266
+ * CheckTransformation请求参数结构体
1162
1267
  */
1163
- export interface ConnectionBrief {
1268
+ export interface CheckTransformationRequest {
1164
1269
  /**
1165
- * 连接器类型
1166
- 注意:此字段可能返回 null,表示取不到有效值。
1270
+ * 待处理的json字符串
1167
1271
  */
1168
- Type?: string
1272
+ Input: string
1169
1273
  /**
1170
- * 连接器状态
1171
- 注意:此字段可能返回 null,表示取不到有效值。
1274
+ * 一个转换规则列表
1172
1275
  */
1173
- Status?: string
1276
+ Transformations: Array<Transformation>
1174
1277
  }
1175
1278
 
1176
1279
  /**
1177
- * 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
1178
- * 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
1179
- * 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
1280
+ * UpdateConnection返回参数结构体
1180
1281
  */
1181
- export interface Filter {
1182
- /**
1183
- * 一个或者多个过滤值。
1184
- */
1185
- Values: Array<string>
1282
+ export interface UpdateConnectionResponse {
1186
1283
  /**
1187
- * 过滤键的名称。
1284
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1188
1285
  */
1189
- Name: string
1286
+ RequestId?: string
1190
1287
  }
1191
1288
 
1192
1289
  /**
1193
- * Connection信息
1290
+ * UpdateEventBus返回参数结构体
1194
1291
  */
1195
- export interface Connection {
1292
+ export interface UpdateEventBusResponse {
1196
1293
  /**
1197
- * 状态
1294
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1198
1295
  */
1199
- Status: string
1296
+ RequestId?: string
1297
+ }
1298
+
1299
+ /**
1300
+ * GetEventBus返回参数结构体
1301
+ */
1302
+ export interface GetEventBusResponse {
1200
1303
  /**
1201
1304
  * 更新时间
1202
1305
  */
1203
- ModTime: string
1306
+ ModTime?: string
1204
1307
  /**
1205
- * 使能开关
1308
+ * 事件集描述
1206
1309
  */
1207
- Enable: boolean
1310
+ Description?: string
1208
1311
  /**
1209
- * 描述
1312
+ * 日志主题ID
1210
1313
  */
1211
- Description: string
1314
+ ClsTopicId?: string
1212
1315
  /**
1213
1316
  * 创建时间
1214
1317
  */
1215
- AddTime: string
1216
- /**
1217
- * 连接器ID
1218
- */
1219
- ConnectionId: string
1318
+ AddTime?: string
1220
1319
  /**
1221
- * 事件集ID
1320
+ * 日志集ID
1222
1321
  */
1223
- EventBusId: string
1322
+ ClsLogsetId?: string
1224
1323
  /**
1225
- * 连接器描述
1324
+ * 事件集名称
1226
1325
  */
1227
- ConnectionDescription: ConnectionDescription
1326
+ EventBusName?: string
1228
1327
  /**
1229
- * 连接器名称
1328
+ * 事件集ID
1230
1329
  */
1231
- ConnectionName: string
1330
+ EventBusId?: string
1232
1331
  /**
1233
- * 类型
1332
+ * (已废弃)事件集类型
1234
1333
  */
1235
- Type: string
1236
- }
1237
-
1238
- /**
1239
- * PutEvents请求参数结构体
1240
- */
1241
- export interface PutEventsRequest {
1334
+ Type?: string
1242
1335
  /**
1243
- * 事件列表
1336
+ * 计费模式
1244
1337
  */
1245
- EventList: Array<Event>
1338
+ PayMode?: string
1246
1339
  /**
1247
- * 事件集ID
1340
+ * EB日志存储时长
1341
+ 注意:此字段可能返回 null,表示取不到有效值。
1248
1342
  */
1249
- EventBusId: string
1250
- }
1251
-
1252
- /**
1253
- * DeleteEventBus返回参数结构体
1254
- */
1255
- export interface DeleteEventBusResponse {
1343
+ SaveDays?: number
1256
1344
  /**
1257
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1345
+ * EB日志主题ID
1346
+ 注意:此字段可能返回 null,表示取不到有效值。
1258
1347
  */
1259
- RequestId?: string
1260
- }
1261
-
1262
- /**
1263
- * GetTransformation请求参数结构体
1264
- */
1265
- export interface GetTransformationRequest {
1348
+ LogTopicId?: string
1266
1349
  /**
1267
- * 事件集ID
1350
+ * 是否开启存储
1351
+ 注意:此字段可能返回 null,表示取不到有效值。
1268
1352
  */
1269
- EventBusId: string
1353
+ EnableStore?: boolean
1270
1354
  /**
1271
- * 规则ID
1355
+ * 消息序列,是否有序
1356
+ 注意:此字段可能返回 null,表示取不到有效值。
1272
1357
  */
1273
- RuleId: string
1358
+ LinkMode?: string
1274
1359
  /**
1275
- * 转换器id
1360
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1276
1361
  */
1277
- TransformationId: string
1362
+ RequestId?: string
1278
1363
  }
1279
1364
 
1280
1365
  /**
1281
- * CreateEventBus返回参数结构体
1366
+ * DeleteRule返回参数结构体
1282
1367
  */
1283
- export interface CreateEventBusResponse {
1284
- /**
1285
- * 事件集ID
1286
- */
1287
- EventBusId?: string
1368
+ export interface DeleteRuleResponse {
1288
1369
  /**
1289
1370
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1290
1371
  */
@@ -1292,81 +1373,65 @@ export interface CreateEventBusResponse {
1292
1373
  }
1293
1374
 
1294
1375
  /**
1295
- * DeleteConnection请求参数结构体
1376
+ * DescribeLogTagValue请求参数结构体
1296
1377
  */
1297
- export interface DeleteConnectionRequest {
1378
+ export interface DescribeLogTagValueRequest {
1298
1379
  /**
1299
- * 连接器ID
1380
+ * 起始时间
1300
1381
  */
1301
- ConnectionId: string
1382
+ StartTime: number
1302
1383
  /**
1303
- * 事件集ID
1384
+ * 结束时间
1304
1385
  */
1305
- EventBusId: string
1306
- }
1307
-
1308
- /**
1309
- * UpdateTransformation请求参数结构体
1310
- */
1311
- export interface UpdateTransformationRequest {
1386
+ EndTime: number
1312
1387
  /**
1313
1388
  * 事件集ID
1314
1389
  */
1315
1390
  EventBusId: string
1316
1391
  /**
1317
- * 规则ID
1392
+ * 聚合字段
1318
1393
  */
1319
- RuleId: string
1394
+ GroupField: string
1320
1395
  /**
1321
- * 转换器id
1396
+ * 页数
1322
1397
  */
1323
- TransformationId: string
1398
+ Page: number
1324
1399
  /**
1325
- * 一个转换规则列表,当前仅限定一个
1400
+ * 每页数据大小
1326
1401
  */
1327
- Transformations: Array<Transformation>
1402
+ Limit: number
1403
+ /**
1404
+ * 筛选条件
1405
+ */
1406
+ Filter?: Array<LogFilter>
1328
1407
  }
1329
1408
 
1330
1409
  /**
1331
- * CreateRule返回参数结构体
1410
+ * 目标简要信息
1332
1411
  */
1333
- export interface CreateRuleResponse {
1412
+ export interface TargetBrief {
1334
1413
  /**
1335
- * 事件规则ID
1414
+ * 目标ID
1336
1415
  */
1337
- RuleId: string
1416
+ TargetId: string
1338
1417
  /**
1339
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1418
+ * 目标类型
1340
1419
  */
1341
- RequestId?: string
1420
+ Type: string
1342
1421
  }
1343
1422
 
1344
1423
  /**
1345
- * TargetDescription描述
1424
+ * ListRules返回参数结构体
1346
1425
  */
1347
- export interface TargetDescription {
1348
- /**
1349
- * QCS资源六段式,更多参考 [资源六段式](https://cloud.tencent.com/document/product/598/10606)
1350
- */
1351
- ResourceDescription: string
1352
- /**
1353
- * 云函数参数
1354
- */
1355
- SCFParams?: SCFParams
1426
+ export interface ListRulesResponse {
1356
1427
  /**
1357
- * Ckafka参数
1428
+ * 事件规则信息
1358
1429
  */
1359
- CkafkaTargetParams?: CkafkaTargetParams
1430
+ Rules: Array<Rule>
1360
1431
  /**
1361
- * ElasticSearch参数
1432
+ * 事件规则总数
1362
1433
  */
1363
- ESTargetParams?: ESTargetParams
1364
- }
1365
-
1366
- /**
1367
- * DeleteTransformation返回参数结构体
1368
- */
1369
- export interface DeleteTransformationResponse {
1434
+ TotalCount: number
1370
1435
  /**
1371
1436
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1372
1437
  */
@@ -1374,119 +1439,119 @@ export interface DeleteTransformationResponse {
1374
1439
  }
1375
1440
 
1376
1441
  /**
1377
- * DeleteTransformation请求参数结构体
1442
+ * 描述Es规则目标
1378
1443
  */
1379
- export interface DeleteTransformationRequest {
1444
+ export interface ESTargetParams {
1380
1445
  /**
1381
- * 事件集ID
1446
+ * 网络连接类型
1382
1447
  */
1383
- EventBusId: string
1448
+ NetMode: string
1384
1449
  /**
1385
- * 规则ID
1450
+ * 索引前缀
1386
1451
  */
1387
- RuleId: string
1452
+ IndexPrefix: string
1388
1453
  /**
1389
- * 转换器id
1454
+ * es日志轮换粒度
1390
1455
  */
1391
- TransformationId: string
1392
- }
1393
-
1394
- /**
1395
- * 描述如何提取数据
1396
- */
1397
- export interface Extraction {
1456
+ RotationInterval: string
1398
1457
  /**
1399
- * JsonPath, 不指定则使用默认值$.
1458
+ * DTS事件配置
1400
1459
  */
1401
- ExtractionInputPath: string
1460
+ OutputMode: string
1402
1461
  /**
1403
- * 取值: TEXT/JSON
1462
+ * DTS索引配置
1404
1463
  */
1405
- Format: string
1464
+ IndexSuffixMode: string
1406
1465
  /**
1407
- * 仅在Text需要传递
1408
- 注意:此字段可能返回 null,表示取不到有效值。
1466
+ * es模版类型
1409
1467
  */
1410
- TextParams?: TextParams
1468
+ IndexTemplateType?: string
1411
1469
  }
1412
1470
 
1413
1471
  /**
1414
- * UpdateConnection请求参数结构体
1472
+ * GetRule返回参数结构体
1415
1473
  */
1416
- export interface UpdateConnectionRequest {
1474
+ export interface GetRuleResponse {
1417
1475
  /**
1418
- * 连接器ID
1476
+ * 事件集id
1419
1477
  */
1420
- ConnectionId: string
1478
+ EventBusId?: string
1421
1479
  /**
1422
- * 事件集ID
1480
+ * 事件规则id
1423
1481
  */
1424
- EventBusId: string
1482
+ RuleId?: string
1483
+ /**
1484
+ * 事件规则名称
1485
+ */
1486
+ RuleName?: string
1487
+ /**
1488
+ * 事件规则状态
1489
+ */
1490
+ Status?: string
1425
1491
  /**
1426
1492
  * 使能开关
1427
1493
  */
1428
1494
  Enable?: boolean
1429
1495
  /**
1430
- * 描述
1496
+ * 事件规则描述
1431
1497
  */
1432
1498
  Description?: string
1433
1499
  /**
1434
- * 连接器名称
1500
+ * 事件模式
1435
1501
  */
1436
- ConnectionName?: string
1437
- }
1438
-
1439
- /**
1440
- * GetEventBus请求参数结构体
1441
- */
1442
- export interface GetEventBusRequest {
1502
+ EventPattern?: string
1443
1503
  /**
1444
- * 事件集ID
1504
+ * 创建时间
1505
+ */
1506
+ AddTime?: string
1507
+ /**
1508
+ * 更新时间
1509
+ */
1510
+ ModTime?: string
1511
+ /**
1512
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1445
1513
  */
1446
- EventBusId: string
1514
+ RequestId?: string
1447
1515
  }
1448
1516
 
1449
1517
  /**
1450
- * DeleteTarget请求参数结构体
1518
+ * UpdateEventBus请求参数结构体
1451
1519
  */
1452
- export interface DeleteTargetRequest {
1520
+ export interface UpdateEventBusRequest {
1453
1521
  /**
1454
1522
  * 事件集ID
1455
1523
  */
1456
1524
  EventBusId: string
1457
1525
  /**
1458
- * 事件目标ID
1526
+ * 事件集描述,不限字符类型,200字符描述以内
1459
1527
  */
1460
- TargetId: string
1528
+ Description?: string
1461
1529
  /**
1462
- * 事件规则ID
1530
+ * 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
1463
1531
  */
1464
- RuleId: string
1465
- }
1466
-
1467
- /**
1468
- * Ckafka 连接器参数
1469
- */
1470
- export interface CkafkaParams {
1532
+ EventBusName?: string
1471
1533
  /**
1472
- * kafka offset
1534
+ * EB日志存储时长
1473
1535
  */
1474
- Offset: string
1536
+ SaveDays?: number
1475
1537
  /**
1476
- * ckafka topic
1538
+ * EB日志主题ID
1477
1539
  */
1478
- TopicName: string
1540
+ LogTopicId?: string
1541
+ /**
1542
+ * 是否开启存储
1543
+ */
1544
+ EnableStore?: boolean
1479
1545
  }
1480
1546
 
1481
1547
  /**
1482
- * DescribeLogTagValue返回参数结构体
1548
+ * GetPlatformEventTemplate返回参数结构体
1483
1549
  */
1484
- export interface DescribeLogTagValueResponse {
1550
+ export interface GetPlatformEventTemplateResponse {
1485
1551
  /**
1486
- * 索引检索维度值
1487
- 注意:此字段可能返回 null,表示取不到有效值。
1552
+ * 平台产品事件模板
1488
1553
  */
1489
- Results?: Array<string>
1554
+ EventTemplate?: string
1490
1555
  /**
1491
1556
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1492
1557
  */
@@ -1494,58 +1559,78 @@ export interface DescribeLogTagValueResponse {
1494
1559
  }
1495
1560
 
1496
1561
  /**
1497
- * 日志查询相关接口filter参数定义
1562
+ * 云函数参数
1498
1563
  */
1499
- export interface LogFilter {
1564
+ export interface SCFParams {
1500
1565
  /**
1501
- * 过滤字段名称
1566
+ * 批量投递最长等待时间
1502
1567
  */
1503
- Key?: string
1568
+ BatchTimeout?: number
1504
1569
  /**
1505
- * 运算符,全等 eq,不等 neq,相似 like,排除相似 not like, 小于 lt,小于且等于 lte,大于 gt,大于且等于 gte,在范围内 range,不在范围内 norange
1570
+ * 批量投递最大事件条数
1506
1571
  */
1507
- Operator?: string
1572
+ BatchEventCount?: number
1508
1573
  /**
1509
- * 过滤值,范围运算需要同时输入两个值,以英文逗号分隔
1510
-
1574
+ * 开启批量投递使能
1511
1575
  */
1512
- Value?: string
1576
+ EnableBatchDelivery?: boolean
1577
+ }
1578
+
1579
+ /**
1580
+ * rule对应的dlq配置
1581
+ */
1582
+ export interface DeadLetterConfig {
1513
1583
  /**
1514
- * 该层级filters逻辑关系,取值 "AND" 或 "OR"
1584
+ * 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERROR
1515
1585
  */
1516
- Type?: string
1586
+ DisposeMethod: string
1517
1587
  /**
1518
- * LogFilters数组
1588
+ * 设置了DLQ方式后,此选项必填. 错误消息会被投递到对应的kafka topic中
1589
+ 注意:此字段可能返回 null,表示取不到有效值。
1519
1590
  */
1520
- Filters?: Array<LogFilters>
1591
+ CkafkaDeliveryParams?: CkafkaDeliveryParams
1521
1592
  }
1522
1593
 
1523
1594
  /**
1524
- * UpdateTransformation返回参数结构体
1595
+ * ListConnections请求参数结构体
1525
1596
  */
1526
- export interface UpdateTransformationResponse {
1597
+ export interface ListConnectionsRequest {
1527
1598
  /**
1528
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1599
+ * 事件集ID
1529
1600
  */
1530
- RequestId?: string
1601
+ EventBusId: string
1602
+ /**
1603
+ * 根据哪个字段进行返回结果排序,目前支持如下以下字段:AddTime, ModTime
1604
+ */
1605
+ OrderBy?: string
1606
+ /**
1607
+ * 返回数量,默认为20,最大值为100。
1608
+ */
1609
+ Limit?: number
1610
+ /**
1611
+ * 以升序还是降序的方式返回结果,可选值 ASC 和 DESC
1612
+ */
1613
+ Order?: string
1614
+ /**
1615
+ * 偏移量,默认为0。
1616
+ */
1617
+ Offset?: number
1531
1618
  }
1532
1619
 
1533
1620
  /**
1534
- * Transform输出参数
1621
+ * 描述如何切分数据
1535
1622
  */
1536
- export interface OutputStructParam {
1537
- /**
1538
- * 对应输出json中的key
1539
- */
1540
- Key: string
1623
+ export interface TextParams {
1541
1624
  /**
1542
- * 可以填json-path也可以支持常量或者内置关键字date类型
1625
+ * 逗号、| 、制表符、空格、换行符、%、#,限制长度为 1。
1626
+ 注意:此字段可能返回 null,表示取不到有效值。
1543
1627
  */
1544
- Value: string
1628
+ Separator?: string
1545
1629
  /**
1546
- * value的数据类型, 可选值: STRING, NUMBER,BOOLEAN,NULL,SYS_VARIABLE,JSONPATH
1630
+ * 填写正则表达式:长度128
1631
+ 注意:此字段可能返回 null,表示取不到有效值。
1547
1632
  */
1548
- ValueType: string
1633
+ Regex?: string
1549
1634
  }
1550
1635
 
1551
1636
  /**
@@ -1587,104 +1672,156 @@ export interface SearchLogRequest {
1587
1672
  }
1588
1673
 
1589
1674
  /**
1590
- * CheckTransformation请求参数结构体
1675
+ * 用来描述需要投递到kafka topic的参数
1591
1676
  */
1592
- export interface CheckTransformationRequest {
1677
+ export interface CkafkaDeliveryParams {
1593
1678
  /**
1594
- * 待处理的json字符串
1679
+ * ckafka topic name
1595
1680
  */
1596
- Input: string
1681
+ TopicName: string
1597
1682
  /**
1598
- * 一个转换规则列表
1683
+ * ckafka资源qcs六段式
1599
1684
  */
1600
- Transformations: Array<Transformation>
1685
+ ResourceDescription: string
1601
1686
  }
1602
1687
 
1603
1688
  /**
1604
- * UpdateConnection返回参数结构体
1689
+ * CreateConnection请求参数结构体
1605
1690
  */
1606
- export interface UpdateConnectionResponse {
1691
+ export interface CreateConnectionRequest {
1607
1692
  /**
1608
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1693
+ * 连接器描述
1609
1694
  */
1610
- RequestId?: string
1611
- }
1612
-
1613
- /**
1614
- * GetRule请求参数结构体
1615
- */
1616
- export interface GetRuleRequest {
1695
+ ConnectionDescription: ConnectionDescription
1617
1696
  /**
1618
1697
  * 事件集ID
1619
1698
  */
1620
1699
  EventBusId: string
1621
1700
  /**
1622
- * 事件规则ID
1701
+ * 连接器名称
1623
1702
  */
1624
- RuleId: string
1703
+ ConnectionName: string
1704
+ /**
1705
+ * 描述
1706
+ */
1707
+ Description?: string
1708
+ /**
1709
+ * 使能开关
1710
+ */
1711
+ Enable?: boolean
1712
+ /**
1713
+ * 类型
1714
+ */
1715
+ Type?: string
1625
1716
  }
1626
1717
 
1627
1718
  /**
1628
- * UpdateTarget请求参数结构体
1719
+ * ListPlatformEventPatterns请求参数结构体
1629
1720
  */
1630
- export interface UpdateTargetRequest {
1721
+ export interface ListPlatformEventPatternsRequest {
1722
+ /**
1723
+ * 平台产品类型
1724
+ */
1725
+ ProductType: string
1726
+ }
1727
+
1728
+ /**
1729
+ * GetTransformation请求参数结构体
1730
+ */
1731
+ export interface GetTransformationRequest {
1631
1732
  /**
1632
1733
  * 事件集ID
1633
1734
  */
1634
1735
  EventBusId: string
1635
1736
  /**
1636
- * 事件规则ID
1737
+ * 规则ID
1637
1738
  */
1638
1739
  RuleId: string
1639
1740
  /**
1640
- * 事件目标ID
1741
+ * 转换器id
1641
1742
  */
1642
- TargetId: string
1743
+ TransformationId: string
1744
+ }
1745
+
1746
+ /**
1747
+ * 连接器基础信息
1748
+ */
1749
+ export interface ConnectionBrief {
1643
1750
  /**
1644
- * 开启批量投递使能
1751
+ * 连接器类型
1752
+ 注意:此字段可能返回 null,表示取不到有效值。
1645
1753
  */
1646
- EnableBatchDelivery?: boolean
1754
+ Type?: string
1647
1755
  /**
1648
- * 批量投递最长等待时间
1756
+ * 连接器状态
1757
+ 注意:此字段可能返回 null,表示取不到有效值。
1649
1758
  */
1650
- BatchTimeout?: number
1759
+ Status?: string
1760
+ }
1761
+
1762
+ /**
1763
+ * PutEvents请求参数结构体
1764
+ */
1765
+ export interface PutEventsRequest {
1651
1766
  /**
1652
- * 批量投递最大事件条数
1767
+ * 事件列表
1653
1768
  */
1654
- BatchEventCount?: number
1769
+ EventList: Array<Event>
1770
+ /**
1771
+ * 事件集ID
1772
+ */
1773
+ EventBusId: string
1655
1774
  }
1656
1775
 
1657
1776
  /**
1658
- * eb event信息
1777
+ * TargetDescription描述
1659
1778
  */
1660
- export interface Event {
1779
+ export interface TargetDescription {
1661
1780
  /**
1662
- * 事件源的信息,新产品上报必须符合EB的规范
1781
+ * QCS资源六段式,更多参考 [资源六段式](https://cloud.tencent.com/document/product/598/10606)
1663
1782
  */
1664
- Source: string
1783
+ ResourceDescription: string
1665
1784
  /**
1666
- * 事件数据,内容由创建事件的系统来控制,当前datacontenttype仅支持application/json;charset=utf-8,所以该字段是json字符串
1785
+ * 云函数参数
1667
1786
  */
1668
- Data: string
1787
+ SCFParams?: SCFParams
1669
1788
  /**
1670
- * 事件类型,可自定义,选填。云服务默认写 COS:Created:PostObject,用“:”分割类型字段
1789
+ * Ckafka参数
1671
1790
  */
1672
- Type: string
1791
+ CkafkaTargetParams?: CkafkaTargetParams
1673
1792
  /**
1674
- * 事件来源详细描述,可自定义,选填。云服务默认为标准qcs资源表示语法:qcs::dts:ap-guangzhou:appid/uin:xxx
1793
+ * ElasticSearch参数
1675
1794
  */
1676
- Subject: string
1795
+ ESTargetParams?: ESTargetParams
1796
+ }
1797
+
1798
+ /**
1799
+ * DeleteTarget请求参数结构体
1800
+ */
1801
+ export interface DeleteTargetRequest {
1677
1802
  /**
1678
- * 事件发生的毫秒时间戳,
1679
- time.Now().UnixNano()/1e6
1803
+ * 事件集ID
1680
1804
  */
1681
- Time?: number
1805
+ EventBusId: string
1806
+ /**
1807
+ * 事件目标ID
1808
+ */
1809
+ TargetId: string
1810
+ /**
1811
+ * 事件规则ID
1812
+ */
1813
+ RuleId: string
1682
1814
  }
1683
1815
 
1684
1816
  /**
1685
- * UpdateEventBus返回参数结构体
1817
+ * DescribeLogTagValue返回参数结构体
1686
1818
  */
1687
- export interface UpdateEventBusResponse {
1819
+ export interface DescribeLogTagValueResponse {
1820
+ /**
1821
+ * 索引检索维度值
1822
+ 注意:此字段可能返回 null,表示取不到有效值。
1823
+ */
1824
+ Results?: Array<string>
1688
1825
  /**
1689
1826
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1690
1827
  */
@@ -1692,15 +1829,15 @@ export interface UpdateEventBusResponse {
1692
1829
  }
1693
1830
 
1694
1831
  /**
1695
- * APIGWParams描述
1832
+ * ListPlatformEventNames返回参数结构体
1696
1833
  */
1697
- export interface APIGWParams {
1834
+ export interface ListPlatformEventNamesResponse {
1698
1835
  /**
1699
- * HTTPS
1836
+ * 平台产品列表
1700
1837
  */
1701
- Protocol: string
1838
+ EventNames?: Array<PlatformEventDetail>
1702
1839
  /**
1703
- * POST
1840
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1704
1841
  */
1705
- Method: string
1842
+ RequestId?: string
1706
1843
  }