tencentcloud-sdk-nodejs 4.0.266 → 4.0.270
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 +899 -0
- package/SERVICE_CHANGELOG.md +914 -94
- package/package.json +1 -1
- package/products.md +40 -39
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +3 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +56 -22
- package/src/services/as/v20180419/as_models.ts +8 -3
- package/src/services/billing/v20180709/billing_models.ts +18 -0
- package/src/services/cam/v20190116/cam_client.ts +21 -7
- package/src/services/cam/v20190116/cam_models.ts +134 -11
- package/src/services/cbs/v20170312/cbs_models.ts +6 -1
- package/src/services/cdb/v20170320/cdb_models.ts +11 -1
- package/src/services/clb/v20180317/clb_models.ts +22 -0
- package/src/services/cls/v20201016/cls_models.ts +3 -49
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +44 -2
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +28 -4
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +166 -71
- package/src/services/dcdb/v20180411/dcdb_models.ts +21 -5
- package/src/services/dlc/v20210125/dlc_models.ts +0 -1
- package/src/services/eb/index.ts +5 -0
- package/src/services/eb/v20210416/eb_client.ts +353 -0
- package/src/services/eb/v20210416/eb_models.ts +1483 -0
- package/src/services/eb/v20210416/index.ts +6 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +12 -19
- package/src/services/essbasic/v20210526/essbasic_models.ts +33 -8
- package/src/services/faceid/v20180301/faceid_client.ts +15 -1
- package/src/services/faceid/v20180301/faceid_models.ts +143 -8
- package/src/services/gaap/v20180529/gaap_models.ts +115 -1
- package/src/services/gs/v20191118/gs_client.ts +24 -0
- package/src/services/gs/v20191118/gs_models.ts +45 -0
- package/src/services/ic/v20190307/ic_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +542 -431
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +538 -64
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +831 -391
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +2089 -360
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +20 -0
- package/src/services/live/v20180801/live_models.ts +1 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +13 -1
- package/src/services/mariadb/v20170312/mariadb_models.ts +158 -26
- package/src/services/ocr/v20181119/ocr_models.ts +2 -1
- package/src/services/postgres/v20170312/postgres_client.ts +1 -0
- package/src/services/postgres/v20170312/postgres_models.ts +43 -3
- package/src/services/rce/v20201103/rce_models.ts +5 -0
- package/src/services/scf/v20180416/scf_models.ts +3 -3
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -1
- package/src/services/ssm/v20190923/ssm_client.ts +3 -2
- package/src/services/ssm/v20190923/ssm_models.ts +36 -14
- package/src/services/tcss/v20201101/tcss_models.ts +31 -5
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +13 -0
- package/src/services/tsf/v20180326/tsf_models.ts +12 -0
- package/src/services/vod/v20180717/vod_models.ts +18 -1
- package/src/services/wav/v20210129/wav_client.ts +2 -2
- package/src/services/wav/v20210129/wav_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +48 -18
- package/tencentcloud/services/as/v20180419/as_models.d.ts +7 -3
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +17 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +7 -3
- package/tencentcloud/services/cam/v20190116/cam_client.js +9 -3
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +113 -10
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +5 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +9 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +18 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -48
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -2
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +143 -63
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +18 -5
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +0 -1
- package/tencentcloud/services/eb/index.d.ts +6 -0
- package/tencentcloud/services/eb/index.js +7 -0
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +110 -0
- package/tencentcloud/services/eb/v20210416/eb_client.js +181 -0
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +1248 -0
- package/tencentcloud/services/eb/v20210416/eb_models.js +18 -0
- package/tencentcloud/services/eb/v20210416/index.d.ts +6 -0
- package/tencentcloud/services/eb/v20210416/index.js +9 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +10 -17
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -17
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +28 -8
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +121 -8
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +102 -1
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +9 -1
- package/tencentcloud/services/gs/v20191118/gs_client.js +12 -0
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +40 -0
- package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +179 -143
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +267 -213
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +462 -59
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +276 -119
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +400 -175
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1779 -293
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +17 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +130 -21
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +37 -3
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +4 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +3 -3
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +5 -1
- package/tencentcloud/services/ssm/v20190923/ssm_client.d.ts +2 -1
- package/tencentcloud/services/ssm/v20190923/ssm_client.js +2 -1
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +33 -14
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +25 -3
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +11 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +10 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +17 -1
- package/tencentcloud/services/wav/v20210129/wav_client.d.ts +2 -2
- package/tencentcloud/services/wav/v20210129/wav_client.js +2 -2
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +1 -1
- package/test/cam.v20190116.test.js +12 -2
- package/test/dbbrain.v20210527.test.js +20 -0
- package/test/eb.v20210416.test.js +271 -0
- package/test/faceid.v20180301.test.js +10 -0
- package/test/gs.v20191118.test.js +20 -0
- package/test/iotexplorer.v20190423.test.js +240 -150
- package/test/iotvideoindustry.v20201201.test.js +454 -114
- package/test/mariadb.v20170312.test.js +10 -0
|
@@ -0,0 +1,1483 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* ListConnections返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface ListConnectionsResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 连接器信息
|
|
24
|
+
*/
|
|
25
|
+
Connections: Array<Connection>
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 连接器总数
|
|
29
|
+
*/
|
|
30
|
+
TotalCount: number
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
34
|
+
*/
|
|
35
|
+
RequestId?: string
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* GetEventBus返回参数结构体
|
|
40
|
+
*/
|
|
41
|
+
export interface GetEventBusResponse {
|
|
42
|
+
/**
|
|
43
|
+
* 更新时间
|
|
44
|
+
*/
|
|
45
|
+
ModTime: string
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* 事件集描述
|
|
49
|
+
*/
|
|
50
|
+
Description: string
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* 日志主题ID
|
|
54
|
+
*/
|
|
55
|
+
ClsTopicId: string
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 创建时间
|
|
59
|
+
*/
|
|
60
|
+
AddTime: string
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 日志集ID
|
|
64
|
+
*/
|
|
65
|
+
ClsLogsetId: string
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* 事件集名称
|
|
69
|
+
*/
|
|
70
|
+
EventBusName: string
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 事件集ID
|
|
74
|
+
*/
|
|
75
|
+
EventBusId: string
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* (已废弃)事件集类型
|
|
79
|
+
*/
|
|
80
|
+
Type: string
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
84
|
+
*/
|
|
85
|
+
RequestId?: string
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* 用来描述一个ckafka投递目标的重试策略
|
|
90
|
+
*/
|
|
91
|
+
export interface RetryPolicy {
|
|
92
|
+
/**
|
|
93
|
+
* 重试间隔 单位:秒
|
|
94
|
+
*/
|
|
95
|
+
RetryInterval: number
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 最大重试次数
|
|
99
|
+
*/
|
|
100
|
+
MaxRetryAttempts: number
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* 用来描述ckafka投递目标
|
|
105
|
+
*/
|
|
106
|
+
export interface CkafkaTargetParams {
|
|
107
|
+
/**
|
|
108
|
+
* 要投递到的ckafka topic
|
|
109
|
+
*/
|
|
110
|
+
TopicName: string
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* 重试策略
|
|
114
|
+
*/
|
|
115
|
+
RetryPolicy: RetryPolicy
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* ListConnections请求参数结构体
|
|
120
|
+
*/
|
|
121
|
+
export interface ListConnectionsRequest {
|
|
122
|
+
/**
|
|
123
|
+
* 事件集ID
|
|
124
|
+
*/
|
|
125
|
+
EventBusId: string
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* 根据哪个字段进行返回结果排序,目前支持如下以下字段:AddTime, ModTime
|
|
129
|
+
*/
|
|
130
|
+
OrderBy?: string
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* 返回数量,默认为20,最大值为100。
|
|
134
|
+
*/
|
|
135
|
+
Limit?: number
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* 以升序还是降序的方式返回结果,可选值 ASC 和 DESC
|
|
139
|
+
*/
|
|
140
|
+
Order?: string
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* 偏移量,默认为0。
|
|
144
|
+
*/
|
|
145
|
+
Offset?: number
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* DeleteRule请求参数结构体
|
|
150
|
+
*/
|
|
151
|
+
export interface DeleteRuleRequest {
|
|
152
|
+
/**
|
|
153
|
+
* 事件集ID
|
|
154
|
+
*/
|
|
155
|
+
EventBusId: string
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* 事件规则ID
|
|
159
|
+
*/
|
|
160
|
+
RuleId: string
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* UpdateRule返回参数结构体
|
|
165
|
+
*/
|
|
166
|
+
export interface UpdateRuleResponse {
|
|
167
|
+
/**
|
|
168
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
169
|
+
*/
|
|
170
|
+
RequestId?: string
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* CreateTarget请求参数结构体
|
|
175
|
+
*/
|
|
176
|
+
export interface CreateTargetRequest {
|
|
177
|
+
/**
|
|
178
|
+
* 事件集ID
|
|
179
|
+
*/
|
|
180
|
+
EventBusId: string
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* 目标类型
|
|
184
|
+
*/
|
|
185
|
+
Type: string
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* 目标描述
|
|
189
|
+
*/
|
|
190
|
+
TargetDescription: TargetDescription
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* 事件规则ID
|
|
194
|
+
*/
|
|
195
|
+
RuleId: string
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* DeleteTarget返回参数结构体
|
|
200
|
+
*/
|
|
201
|
+
export interface DeleteTargetResponse {
|
|
202
|
+
/**
|
|
203
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
204
|
+
*/
|
|
205
|
+
RequestId?: string
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* 描述如何提取数据
|
|
210
|
+
*/
|
|
211
|
+
export interface Extraction {
|
|
212
|
+
/**
|
|
213
|
+
* JsonPath, 不指定则使用默认值$.
|
|
214
|
+
*/
|
|
215
|
+
ExtractionInputPath: string
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* 取值: TEXT/JSON
|
|
219
|
+
*/
|
|
220
|
+
Format: string
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* 仅在Text需要传递
|
|
224
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
225
|
+
*/
|
|
226
|
+
TextParams?: TextParams
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* 目标简要信息
|
|
231
|
+
*/
|
|
232
|
+
export interface TargetBrief {
|
|
233
|
+
/**
|
|
234
|
+
* 目标ID
|
|
235
|
+
*/
|
|
236
|
+
TargetId: string
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* 目标类型
|
|
240
|
+
*/
|
|
241
|
+
Type: string
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* ListRules返回参数结构体
|
|
246
|
+
*/
|
|
247
|
+
export interface ListRulesResponse {
|
|
248
|
+
/**
|
|
249
|
+
* 事件规则信息
|
|
250
|
+
*/
|
|
251
|
+
Rules: Array<Rule>
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* 事件规则总数
|
|
255
|
+
*/
|
|
256
|
+
TotalCount: number
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
260
|
+
*/
|
|
261
|
+
RequestId?: string
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* CreateTarget返回参数结构体
|
|
266
|
+
*/
|
|
267
|
+
export interface CreateTargetResponse {
|
|
268
|
+
/**
|
|
269
|
+
* 目标ID
|
|
270
|
+
*/
|
|
271
|
+
TargetId: string
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
275
|
+
*/
|
|
276
|
+
RequestId?: string
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* CheckRule请求参数结构体
|
|
281
|
+
*/
|
|
282
|
+
export type CheckRuleRequest = null
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* GetRule返回参数结构体
|
|
286
|
+
*/
|
|
287
|
+
export interface GetRuleResponse {
|
|
288
|
+
/**
|
|
289
|
+
* 事件集id
|
|
290
|
+
*/
|
|
291
|
+
EventBusId: string
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* 事件规则id
|
|
295
|
+
*/
|
|
296
|
+
RuleId: string
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* 事件规则名称
|
|
300
|
+
*/
|
|
301
|
+
RuleName: string
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* 事件规则状态
|
|
305
|
+
*/
|
|
306
|
+
Status: string
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* 使能开关
|
|
310
|
+
*/
|
|
311
|
+
Enable: boolean
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* 事件规则描述
|
|
315
|
+
*/
|
|
316
|
+
Description: string
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* 事件模式
|
|
320
|
+
*/
|
|
321
|
+
EventPattern: string
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* 创建时间
|
|
325
|
+
*/
|
|
326
|
+
AddTime: string
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* 更新时间
|
|
330
|
+
*/
|
|
331
|
+
ModTime: string
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
335
|
+
*/
|
|
336
|
+
RequestId?: string
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* CreateConnection返回参数结构体
|
|
341
|
+
*/
|
|
342
|
+
export interface CreateConnectionResponse {
|
|
343
|
+
/**
|
|
344
|
+
* 连接器ID
|
|
345
|
+
*/
|
|
346
|
+
ConnectionId: string
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
350
|
+
*/
|
|
351
|
+
RequestId?: string
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* 事件集信息
|
|
356
|
+
*/
|
|
357
|
+
export interface EventBus {
|
|
358
|
+
/**
|
|
359
|
+
* 更新时间
|
|
360
|
+
*/
|
|
361
|
+
ModTime: string
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* 事件集描述,不限字符类型,200字符描述以内
|
|
365
|
+
*/
|
|
366
|
+
Description: string
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* 创建时间
|
|
370
|
+
*/
|
|
371
|
+
AddTime: string
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
|
|
375
|
+
*/
|
|
376
|
+
EventBusName: string
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* 事件集ID
|
|
380
|
+
*/
|
|
381
|
+
EventBusId: string
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* 事件集类型
|
|
385
|
+
*/
|
|
386
|
+
Type: string
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* ListTargets请求参数结构体
|
|
391
|
+
*/
|
|
392
|
+
export interface ListTargetsRequest {
|
|
393
|
+
/**
|
|
394
|
+
* 事件规则ID
|
|
395
|
+
*/
|
|
396
|
+
RuleId: string
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* 事件集ID
|
|
400
|
+
*/
|
|
401
|
+
EventBusId: string
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* 根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
|
|
405
|
+
*/
|
|
406
|
+
OrderBy?: string
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* 返回数量,默认为20,最大值为100。
|
|
410
|
+
*/
|
|
411
|
+
Limit?: number
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* 分页偏移量,默认为0。
|
|
415
|
+
*/
|
|
416
|
+
Offset?: number
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* 以升序还是降序的方式返回结果,可选值 ASC(升序) 和 DESC(降序)
|
|
420
|
+
*/
|
|
421
|
+
Order?: string
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* 一个转换器
|
|
426
|
+
*/
|
|
427
|
+
export interface Transformation {
|
|
428
|
+
/**
|
|
429
|
+
* 描述如何提取数据
|
|
430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
431
|
+
*/
|
|
432
|
+
Extraction?: Extraction
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* 描述如何过滤数据
|
|
436
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
437
|
+
*/
|
|
438
|
+
EtlFilter?: EtlFilter
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* 描述如何数据转换
|
|
442
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
443
|
+
*/
|
|
444
|
+
Transform?: Transform
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Target信息
|
|
449
|
+
*/
|
|
450
|
+
export interface Target {
|
|
451
|
+
/**
|
|
452
|
+
* 目标类型
|
|
453
|
+
*/
|
|
454
|
+
Type: string
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* 事件集ID
|
|
458
|
+
*/
|
|
459
|
+
EventBusId: string
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* 目标ID
|
|
463
|
+
*/
|
|
464
|
+
TargetId: string
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* 目标描述
|
|
468
|
+
*/
|
|
469
|
+
TargetDescription: TargetDescription
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* 事件规则ID
|
|
473
|
+
*/
|
|
474
|
+
RuleId: string
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* 开启批量投递使能
|
|
478
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
479
|
+
*/
|
|
480
|
+
EnableBatchDelivery: boolean
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* 批量投递最长等待时间
|
|
484
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
485
|
+
*/
|
|
486
|
+
BatchTimeout: number
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* 批量投递最大事件条数
|
|
490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
491
|
+
*/
|
|
492
|
+
BatchEventCount: number
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* ListRules请求参数结构体
|
|
497
|
+
*/
|
|
498
|
+
export interface ListRulesRequest {
|
|
499
|
+
/**
|
|
500
|
+
* 事件集ID
|
|
501
|
+
*/
|
|
502
|
+
EventBusId: string
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* 根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
|
|
506
|
+
*/
|
|
507
|
+
OrderBy?: string
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* 返回数量,默认为20,最大值为100。
|
|
511
|
+
*/
|
|
512
|
+
Limit?: number
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* 分页偏移量,默认为0。
|
|
516
|
+
*/
|
|
517
|
+
Offset?: number
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* 以升序还是降序的方式返回结果,可选值 ASC(升序) 和 DESC(降序)
|
|
521
|
+
*/
|
|
522
|
+
Order?: string
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* 云函数参数
|
|
527
|
+
*/
|
|
528
|
+
export interface SCFParams {
|
|
529
|
+
/**
|
|
530
|
+
* 批量投递最长等待时间
|
|
531
|
+
*/
|
|
532
|
+
BatchTimeout?: number
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* 批量投递最大事件条数
|
|
536
|
+
*/
|
|
537
|
+
BatchEventCount?: number
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* 开启批量投递使能
|
|
541
|
+
*/
|
|
542
|
+
EnableBatchDelivery?: boolean
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* rule对应的dlq配置
|
|
547
|
+
*/
|
|
548
|
+
export interface DeadLetterConfig {
|
|
549
|
+
/**
|
|
550
|
+
* 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERROR
|
|
551
|
+
*/
|
|
552
|
+
DisposeMethod: string
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* 设置了DLQ方式后,此选项必填. 错误消息会被投递到对应的kafka topic中
|
|
556
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
557
|
+
*/
|
|
558
|
+
CkafkaDeliveryParams?: CkafkaDeliveryParams
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* UpdateTransformation返回参数结构体
|
|
563
|
+
*/
|
|
564
|
+
export interface UpdateTransformationResponse {
|
|
565
|
+
/**
|
|
566
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
567
|
+
*/
|
|
568
|
+
RequestId?: string
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* UpdateEventBus请求参数结构体
|
|
573
|
+
*/
|
|
574
|
+
export interface UpdateEventBusRequest {
|
|
575
|
+
/**
|
|
576
|
+
* 事件集ID
|
|
577
|
+
*/
|
|
578
|
+
EventBusId: string
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* 事件集描述,不限字符类型,200字符描述以内
|
|
582
|
+
*/
|
|
583
|
+
Description?: string
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
|
|
587
|
+
*/
|
|
588
|
+
EventBusName?: string
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* CreateEventBus请求参数结构体
|
|
593
|
+
*/
|
|
594
|
+
export interface CreateEventBusRequest {
|
|
595
|
+
/**
|
|
596
|
+
* 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
|
|
597
|
+
*/
|
|
598
|
+
EventBusName: string
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* 事件集描述,不限字符类型,200字符描述以内
|
|
602
|
+
*/
|
|
603
|
+
Description?: string
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* UpdateRule请求参数结构体
|
|
608
|
+
*/
|
|
609
|
+
export interface UpdateRuleRequest {
|
|
610
|
+
/**
|
|
611
|
+
* 事件规则ID
|
|
612
|
+
*/
|
|
613
|
+
RuleId: string
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* 事件集ID
|
|
617
|
+
*/
|
|
618
|
+
EventBusId: string
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* 使能开关。
|
|
622
|
+
*/
|
|
623
|
+
Enable?: boolean
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* 规则描述,不限字符类型,200字符描述以内。
|
|
627
|
+
*/
|
|
628
|
+
Description?: string
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* 事件规则名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
|
|
632
|
+
*/
|
|
633
|
+
RuleName?: string
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* CreateRule请求参数结构体
|
|
638
|
+
*/
|
|
639
|
+
export interface CreateRuleRequest {
|
|
640
|
+
/**
|
|
641
|
+
* 参考:[事件模式](https://cloud.tencent.com/document/product/1359/56084)
|
|
642
|
+
*/
|
|
643
|
+
EventPattern: string
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* 事件集ID。
|
|
647
|
+
*/
|
|
648
|
+
EventBusId: string
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* 事件集名称,只能包含字母、数字、下划线、连字符,以字母开头,以数字或字母结尾,2~60个字符
|
|
652
|
+
*/
|
|
653
|
+
RuleName: string
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* 使能开关。
|
|
657
|
+
*/
|
|
658
|
+
Enable?: boolean
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* 事件集描述,不限字符类型,200字符描述以内
|
|
662
|
+
*/
|
|
663
|
+
Description?: string
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* 描述如何切分数据
|
|
668
|
+
*/
|
|
669
|
+
export interface TextParams {
|
|
670
|
+
/**
|
|
671
|
+
* 逗号、| 、制表符、空格、换行符、%、#,限制长度为 1。
|
|
672
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
673
|
+
*/
|
|
674
|
+
Separator?: string
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* 填写正则表达式:长度128
|
|
678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
679
|
+
*/
|
|
680
|
+
Regex?: string
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* DeleteConnection返回参数结构体
|
|
685
|
+
*/
|
|
686
|
+
export interface DeleteConnectionResponse {
|
|
687
|
+
/**
|
|
688
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
689
|
+
*/
|
|
690
|
+
RequestId?: string
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* DeleteRule返回参数结构体
|
|
695
|
+
*/
|
|
696
|
+
export interface DeleteRuleResponse {
|
|
697
|
+
/**
|
|
698
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
699
|
+
*/
|
|
700
|
+
RequestId?: string
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* GetTransformation返回参数结构体
|
|
705
|
+
*/
|
|
706
|
+
export interface GetTransformationResponse {
|
|
707
|
+
/**
|
|
708
|
+
* 转换规则列表
|
|
709
|
+
*/
|
|
710
|
+
Transformations: Array<Transformation>
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
714
|
+
*/
|
|
715
|
+
RequestId?: string
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* 规则信息
|
|
720
|
+
*/
|
|
721
|
+
export interface Rule {
|
|
722
|
+
/**
|
|
723
|
+
* 状态
|
|
724
|
+
*/
|
|
725
|
+
Status: string
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* 修改时间
|
|
729
|
+
*/
|
|
730
|
+
ModTime: string
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* 使能开关
|
|
734
|
+
*/
|
|
735
|
+
Enable: boolean
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* 描述
|
|
739
|
+
*/
|
|
740
|
+
Description: string
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* 规则ID
|
|
744
|
+
*/
|
|
745
|
+
RuleId: string
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* 创建时间
|
|
749
|
+
*/
|
|
750
|
+
AddTime: string
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* 事件集ID
|
|
754
|
+
*/
|
|
755
|
+
EventBusId: string
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* 规则名称
|
|
759
|
+
*/
|
|
760
|
+
RuleName: string
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Target 简要信息
|
|
764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
765
|
+
*/
|
|
766
|
+
Targets: Array<TargetBrief>
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* rule设置的dlq规则. 可能为null
|
|
770
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
771
|
+
*/
|
|
772
|
+
DeadLetterConfig: DeadLetterConfig
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* CreateTransformation请求参数结构体
|
|
777
|
+
*/
|
|
778
|
+
export interface CreateTransformationRequest {
|
|
779
|
+
/**
|
|
780
|
+
* 事件总线 id
|
|
781
|
+
*/
|
|
782
|
+
EventBusId: string
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* 规则id
|
|
786
|
+
*/
|
|
787
|
+
RuleId: string
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* 一个转换规则列表,当前仅限定一个
|
|
791
|
+
*/
|
|
792
|
+
Transformations: Array<Transformation>
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* PublishEvent请求参数结构体
|
|
797
|
+
*/
|
|
798
|
+
export interface PublishEventRequest {
|
|
799
|
+
/**
|
|
800
|
+
* 事件列表
|
|
801
|
+
*/
|
|
802
|
+
EventList: Array<Event>
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* 事件集ID
|
|
806
|
+
*/
|
|
807
|
+
EventBusId: string
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* 描述如何过滤数据
|
|
812
|
+
*/
|
|
813
|
+
export interface EtlFilter {
|
|
814
|
+
/**
|
|
815
|
+
* 语法Rule规则保持一致
|
|
816
|
+
*/
|
|
817
|
+
Filter: string
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* CheckTransformation返回参数结构体
|
|
822
|
+
*/
|
|
823
|
+
export interface CheckTransformationResponse {
|
|
824
|
+
/**
|
|
825
|
+
* 经过Transformations处理之后的数据
|
|
826
|
+
*/
|
|
827
|
+
Output: string
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
831
|
+
*/
|
|
832
|
+
RequestId?: string
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* ListTargets返回参数结构体
|
|
837
|
+
*/
|
|
838
|
+
export interface ListTargetsResponse {
|
|
839
|
+
/**
|
|
840
|
+
* 目标总数
|
|
841
|
+
*/
|
|
842
|
+
TotalCount: number
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* 目标信息
|
|
846
|
+
*/
|
|
847
|
+
Targets: Array<Target>
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
851
|
+
*/
|
|
852
|
+
RequestId?: string
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* ListEventBuses返回参数结构体
|
|
857
|
+
*/
|
|
858
|
+
export interface ListEventBusesResponse {
|
|
859
|
+
/**
|
|
860
|
+
* 事件集信息
|
|
861
|
+
*/
|
|
862
|
+
EventBuses: Array<EventBus>
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* 事件集总数
|
|
866
|
+
*/
|
|
867
|
+
TotalCount: number
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
871
|
+
*/
|
|
872
|
+
RequestId?: string
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* CheckRule返回参数结构体
|
|
877
|
+
*/
|
|
878
|
+
export interface CheckRuleResponse {
|
|
879
|
+
/**
|
|
880
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
881
|
+
*/
|
|
882
|
+
RequestId?: string
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* ConnectionDescription描述
|
|
887
|
+
*/
|
|
888
|
+
export interface ConnectionDescription {
|
|
889
|
+
/**
|
|
890
|
+
* 资源qcs六段式,更多参考 [资源六段式](https://cloud.tencent.com/document/product/598/10606)
|
|
891
|
+
*/
|
|
892
|
+
ResourceDescription: string
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* apigw参数
|
|
896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
897
|
+
*/
|
|
898
|
+
APIGWParams?: APIGWParams
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* ckafka参数
|
|
902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
903
|
+
*/
|
|
904
|
+
CkafkaParams?: CkafkaParams
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* 用来描述需要投递到kafka topic的参数
|
|
909
|
+
*/
|
|
910
|
+
export interface CkafkaDeliveryParams {
|
|
911
|
+
/**
|
|
912
|
+
* ckafka topic name
|
|
913
|
+
*/
|
|
914
|
+
TopicName: string
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* ckafka资源qcs六段式
|
|
918
|
+
*/
|
|
919
|
+
ResourceDescription: string
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* UpdateTarget返回参数结构体
|
|
924
|
+
*/
|
|
925
|
+
export interface UpdateTargetResponse {
|
|
926
|
+
/**
|
|
927
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
928
|
+
*/
|
|
929
|
+
RequestId?: string
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* CreateConnection请求参数结构体
|
|
934
|
+
*/
|
|
935
|
+
export interface CreateConnectionRequest {
|
|
936
|
+
/**
|
|
937
|
+
* 连接器描述
|
|
938
|
+
*/
|
|
939
|
+
ConnectionDescription: ConnectionDescription
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* 事件集ID
|
|
943
|
+
*/
|
|
944
|
+
EventBusId: string
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* 连接器名称
|
|
948
|
+
*/
|
|
949
|
+
ConnectionName: string
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* 描述
|
|
953
|
+
*/
|
|
954
|
+
Description?: string
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* 使能开关
|
|
958
|
+
*/
|
|
959
|
+
Enable?: boolean
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* 类型
|
|
963
|
+
*/
|
|
964
|
+
Type?: string
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* DeleteEventBus请求参数结构体
|
|
969
|
+
*/
|
|
970
|
+
export interface DeleteEventBusRequest {
|
|
971
|
+
/**
|
|
972
|
+
* 事件集ID
|
|
973
|
+
*/
|
|
974
|
+
EventBusId: string
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* ListEventBuses请求参数结构体
|
|
979
|
+
*/
|
|
980
|
+
export interface ListEventBusesRequest {
|
|
981
|
+
/**
|
|
982
|
+
* 根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
|
|
983
|
+
*/
|
|
984
|
+
OrderBy?: string
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* 返回数量,默认为20,最大值为100。
|
|
988
|
+
*/
|
|
989
|
+
Limit?: number
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* 以升序还是降序的方式返回结果,可选值 ASC(升序) 和 DESC(降序)
|
|
993
|
+
*/
|
|
994
|
+
Order?: string
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* 过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。
|
|
998
|
+
*/
|
|
999
|
+
Filters?: Array<Filter>
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* 分页偏移量,默认为0。
|
|
1003
|
+
*/
|
|
1004
|
+
Offset?: number
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* PublishEvent返回参数结构体
|
|
1009
|
+
*/
|
|
1010
|
+
export interface PublishEventResponse {
|
|
1011
|
+
/**
|
|
1012
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1013
|
+
*/
|
|
1014
|
+
RequestId?: string
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* CreateTransformation返回参数结构体
|
|
1019
|
+
*/
|
|
1020
|
+
export interface CreateTransformationResponse {
|
|
1021
|
+
/**
|
|
1022
|
+
* 生成的转换器id
|
|
1023
|
+
*/
|
|
1024
|
+
TransformationId: string
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1028
|
+
*/
|
|
1029
|
+
RequestId?: string
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* 描述如何数据转换
|
|
1034
|
+
|
|
1035
|
+
*/
|
|
1036
|
+
export interface Transform {
|
|
1037
|
+
/**
|
|
1038
|
+
* 描述如何数据转换
|
|
1039
|
+
*/
|
|
1040
|
+
OutputStructs: Array<OutputStructParam>
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
|
1045
|
+
* 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
1046
|
+
* 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
|
1047
|
+
*/
|
|
1048
|
+
export interface Filter {
|
|
1049
|
+
/**
|
|
1050
|
+
* 一个或者多个过滤值。
|
|
1051
|
+
*/
|
|
1052
|
+
Values: Array<string>
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* 过滤键的名称。
|
|
1056
|
+
*/
|
|
1057
|
+
Name: string
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* Connection信息
|
|
1062
|
+
*/
|
|
1063
|
+
export interface Connection {
|
|
1064
|
+
/**
|
|
1065
|
+
* 状态
|
|
1066
|
+
*/
|
|
1067
|
+
Status: string
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* 更新时间
|
|
1071
|
+
*/
|
|
1072
|
+
ModTime: string
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* 使能开关
|
|
1076
|
+
*/
|
|
1077
|
+
Enable: boolean
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* 描述
|
|
1081
|
+
*/
|
|
1082
|
+
Description: string
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* 创建时间
|
|
1086
|
+
*/
|
|
1087
|
+
AddTime: string
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* 连接器ID
|
|
1091
|
+
*/
|
|
1092
|
+
ConnectionId: string
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* 事件集ID
|
|
1096
|
+
*/
|
|
1097
|
+
EventBusId: string
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* 连接器描述
|
|
1101
|
+
*/
|
|
1102
|
+
ConnectionDescription: ConnectionDescription
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* 连接器名称
|
|
1106
|
+
*/
|
|
1107
|
+
ConnectionName: string
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* 类型
|
|
1111
|
+
*/
|
|
1112
|
+
Type: string
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* DeleteEventBus返回参数结构体
|
|
1117
|
+
*/
|
|
1118
|
+
export interface DeleteEventBusResponse {
|
|
1119
|
+
/**
|
|
1120
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1121
|
+
*/
|
|
1122
|
+
RequestId?: string
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* GetTransformation请求参数结构体
|
|
1127
|
+
*/
|
|
1128
|
+
export interface GetTransformationRequest {
|
|
1129
|
+
/**
|
|
1130
|
+
* 事件集ID
|
|
1131
|
+
*/
|
|
1132
|
+
EventBusId: string
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* 规则ID
|
|
1136
|
+
*/
|
|
1137
|
+
RuleId: string
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* 转换器id
|
|
1141
|
+
*/
|
|
1142
|
+
TransformationId: string
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* CreateEventBus返回参数结构体
|
|
1147
|
+
*/
|
|
1148
|
+
export interface CreateEventBusResponse {
|
|
1149
|
+
/**
|
|
1150
|
+
* 事件集ID
|
|
1151
|
+
*/
|
|
1152
|
+
EventBusId: string
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1156
|
+
*/
|
|
1157
|
+
RequestId?: string
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* DeleteConnection请求参数结构体
|
|
1162
|
+
*/
|
|
1163
|
+
export interface DeleteConnectionRequest {
|
|
1164
|
+
/**
|
|
1165
|
+
* 连接器ID
|
|
1166
|
+
*/
|
|
1167
|
+
ConnectionId: string
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* 事件集ID
|
|
1171
|
+
*/
|
|
1172
|
+
EventBusId: string
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* UpdateTransformation请求参数结构体
|
|
1177
|
+
*/
|
|
1178
|
+
export interface UpdateTransformationRequest {
|
|
1179
|
+
/**
|
|
1180
|
+
* 事件集ID
|
|
1181
|
+
*/
|
|
1182
|
+
EventBusId: string
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* 规则ID
|
|
1186
|
+
*/
|
|
1187
|
+
RuleId: string
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* 转换器id
|
|
1191
|
+
*/
|
|
1192
|
+
TransformationId: string
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* 一个转换规则列表,当前仅限定一个
|
|
1196
|
+
*/
|
|
1197
|
+
Transformations: Array<Transformation>
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* CreateRule返回参数结构体
|
|
1202
|
+
*/
|
|
1203
|
+
export interface CreateRuleResponse {
|
|
1204
|
+
/**
|
|
1205
|
+
* 事件规则ID
|
|
1206
|
+
*/
|
|
1207
|
+
RuleId: string
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1211
|
+
*/
|
|
1212
|
+
RequestId?: string
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* TargetDescription描述
|
|
1217
|
+
*/
|
|
1218
|
+
export interface TargetDescription {
|
|
1219
|
+
/**
|
|
1220
|
+
* QCS资源六段式,更多参考 [资源六段式](https://cloud.tencent.com/document/product/598/10606)
|
|
1221
|
+
*/
|
|
1222
|
+
ResourceDescription: string
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* 云函数参数
|
|
1226
|
+
*/
|
|
1227
|
+
SCFParams?: SCFParams
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* Ckafka参数
|
|
1231
|
+
*/
|
|
1232
|
+
CkafkaTargetParams?: CkafkaTargetParams
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* DeleteTransformation返回参数结构体
|
|
1237
|
+
*/
|
|
1238
|
+
export interface DeleteTransformationResponse {
|
|
1239
|
+
/**
|
|
1240
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1241
|
+
*/
|
|
1242
|
+
RequestId?: string
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* DeleteTransformation请求参数结构体
|
|
1247
|
+
*/
|
|
1248
|
+
export interface DeleteTransformationRequest {
|
|
1249
|
+
/**
|
|
1250
|
+
* 事件集ID
|
|
1251
|
+
*/
|
|
1252
|
+
EventBusId: string
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* 规则ID
|
|
1256
|
+
*/
|
|
1257
|
+
RuleId: string
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* 转换器id
|
|
1261
|
+
*/
|
|
1262
|
+
TransformationId: string
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* GetEventBus请求参数结构体
|
|
1267
|
+
*/
|
|
1268
|
+
export interface GetEventBusRequest {
|
|
1269
|
+
/**
|
|
1270
|
+
* 事件集ID
|
|
1271
|
+
*/
|
|
1272
|
+
EventBusId: string
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* UpdateConnection请求参数结构体
|
|
1277
|
+
*/
|
|
1278
|
+
export interface UpdateConnectionRequest {
|
|
1279
|
+
/**
|
|
1280
|
+
* 连接器ID
|
|
1281
|
+
*/
|
|
1282
|
+
ConnectionId: string
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* 事件集ID
|
|
1286
|
+
*/
|
|
1287
|
+
EventBusId: string
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* 使能开关
|
|
1291
|
+
*/
|
|
1292
|
+
Enable?: boolean
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* 描述
|
|
1296
|
+
*/
|
|
1297
|
+
Description?: string
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* 连接器名称
|
|
1301
|
+
*/
|
|
1302
|
+
ConnectionName?: string
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* DeleteTarget请求参数结构体
|
|
1307
|
+
*/
|
|
1308
|
+
export interface DeleteTargetRequest {
|
|
1309
|
+
/**
|
|
1310
|
+
* 事件集ID
|
|
1311
|
+
*/
|
|
1312
|
+
EventBusId: string
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* 事件目标ID
|
|
1316
|
+
*/
|
|
1317
|
+
TargetId: string
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* 事件规则ID
|
|
1321
|
+
*/
|
|
1322
|
+
RuleId: string
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Ckafka 连接器参数
|
|
1327
|
+
*/
|
|
1328
|
+
export interface CkafkaParams {
|
|
1329
|
+
/**
|
|
1330
|
+
* kafka offset
|
|
1331
|
+
*/
|
|
1332
|
+
Offset: string
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* ckafka topic
|
|
1336
|
+
*/
|
|
1337
|
+
TopicName: string
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Transform输出参数
|
|
1342
|
+
*/
|
|
1343
|
+
export interface OutputStructParam {
|
|
1344
|
+
/**
|
|
1345
|
+
* 对应输出json中的key
|
|
1346
|
+
*/
|
|
1347
|
+
Key: string
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* 可以填json-path也可以支持常量或者内置关键字date类型
|
|
1351
|
+
*/
|
|
1352
|
+
Value: string
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* value的数据类型, 可选值: STRING, NUMBER,BOOLEAN,NULL,SYS_VARIABLE,JSONPATH
|
|
1356
|
+
*/
|
|
1357
|
+
ValueType: string
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* CheckTransformation请求参数结构体
|
|
1362
|
+
*/
|
|
1363
|
+
export interface CheckTransformationRequest {
|
|
1364
|
+
/**
|
|
1365
|
+
* 待处理的json字符串
|
|
1366
|
+
*/
|
|
1367
|
+
Input: string
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* 一个转换规则列表
|
|
1371
|
+
*/
|
|
1372
|
+
Transformations: Array<Transformation>
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* UpdateConnection返回参数结构体
|
|
1377
|
+
*/
|
|
1378
|
+
export interface UpdateConnectionResponse {
|
|
1379
|
+
/**
|
|
1380
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1381
|
+
*/
|
|
1382
|
+
RequestId?: string
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* GetRule请求参数结构体
|
|
1387
|
+
*/
|
|
1388
|
+
export interface GetRuleRequest {
|
|
1389
|
+
/**
|
|
1390
|
+
* 事件集ID
|
|
1391
|
+
*/
|
|
1392
|
+
EventBusId: string
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* 事件规则ID
|
|
1396
|
+
*/
|
|
1397
|
+
RuleId: string
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* UpdateTarget请求参数结构体
|
|
1402
|
+
*/
|
|
1403
|
+
export interface UpdateTargetRequest {
|
|
1404
|
+
/**
|
|
1405
|
+
* 事件集ID
|
|
1406
|
+
*/
|
|
1407
|
+
EventBusId: string
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* 事件规则ID
|
|
1411
|
+
*/
|
|
1412
|
+
RuleId: string
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* 事件目标ID
|
|
1416
|
+
*/
|
|
1417
|
+
TargetId: string
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* 开启批量投递使能
|
|
1421
|
+
*/
|
|
1422
|
+
EnableBatchDelivery?: boolean
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* 批量投递最长等待时间
|
|
1426
|
+
*/
|
|
1427
|
+
BatchTimeout?: number
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* 批量投递最大事件条数
|
|
1431
|
+
*/
|
|
1432
|
+
BatchEventCount?: number
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* eb event信息
|
|
1437
|
+
*/
|
|
1438
|
+
export interface Event {
|
|
1439
|
+
/**
|
|
1440
|
+
* 事件源的信息,新产品上报必须符合EB的规范
|
|
1441
|
+
*/
|
|
1442
|
+
Source: string
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* 事件数据,内容由创建事件的系统来控制,当前datacontenttype仅支持application/json;charset=utf-8,所以该字段是json字符串
|
|
1446
|
+
*/
|
|
1447
|
+
Data: string
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* 事件类型,可自定义,选填。云服务默认写 COS:Created:PostObject,用“:”分割类型字段
|
|
1451
|
+
*/
|
|
1452
|
+
Type: string
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* 事件来源详细描述,可自定义,选填。云服务默认为标准qcs资源表示语法:qcs::dts:ap-guangzhou:appid/uin:xxx
|
|
1456
|
+
*/
|
|
1457
|
+
Subject: string
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* UpdateEventBus返回参数结构体
|
|
1462
|
+
*/
|
|
1463
|
+
export interface UpdateEventBusResponse {
|
|
1464
|
+
/**
|
|
1465
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1466
|
+
*/
|
|
1467
|
+
RequestId?: string
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* APIGWParams描述
|
|
1472
|
+
*/
|
|
1473
|
+
export interface APIGWParams {
|
|
1474
|
+
/**
|
|
1475
|
+
* HTTPS
|
|
1476
|
+
*/
|
|
1477
|
+
Protocol: string
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* POST
|
|
1481
|
+
*/
|
|
1482
|
+
Method: string
|
|
1483
|
+
}
|