tencentcloud-sdk-wedata 3.0.445 → 3.0.446
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210820/client.rb +2292 -228
- data/lib/v20210820/models.rb +7684 -1251
- metadata +4 -4
data/lib/v20210820/client.rb
CHANGED
@@ -29,17 +29,16 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
#
|
33
|
-
# 批量删除任务,仅对任务状态为”已停止“有效;
|
32
|
+
# 批量创建任务告警规则
|
34
33
|
|
35
|
-
# @param request: Request instance for
|
36
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
37
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
38
|
-
def
|
39
|
-
body = send_request('
|
34
|
+
# @param request: Request instance for BatchCreateIntegrationTaskAlarms.
|
35
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchCreateIntegrationTaskAlarmsRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchCreateIntegrationTaskAlarmsResponse`
|
37
|
+
def BatchCreateIntegrationTaskAlarms(request)
|
38
|
+
body = send_request('BatchCreateIntegrationTaskAlarms', request.serialize)
|
40
39
|
response = JSON.parse(body)
|
41
40
|
if response['Response'].key?('Error') == false
|
42
|
-
model =
|
41
|
+
model = BatchCreateIntegrationTaskAlarmsResponse.new
|
43
42
|
model.deserialize(response['Response'])
|
44
43
|
model
|
45
44
|
else
|
@@ -54,17 +53,16 @@ module TencentCloud
|
|
54
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
55
54
|
end
|
56
55
|
|
57
|
-
#
|
58
|
-
# 批量修改任务责任人
|
56
|
+
# 批量删除集成任务
|
59
57
|
|
60
|
-
# @param request: Request instance for
|
61
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
62
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
63
|
-
def
|
64
|
-
body = send_request('
|
58
|
+
# @param request: Request instance for BatchDeleteIntegrationTasks.
|
59
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchDeleteIntegrationTasksRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchDeleteIntegrationTasksResponse`
|
61
|
+
def BatchDeleteIntegrationTasks(request)
|
62
|
+
body = send_request('BatchDeleteIntegrationTasks', request.serialize)
|
65
63
|
response = JSON.parse(body)
|
66
64
|
if response['Response'].key?('Error') == false
|
67
|
-
model =
|
65
|
+
model = BatchDeleteIntegrationTasksResponse.new
|
68
66
|
model.deserialize(response['Response'])
|
69
67
|
model
|
70
68
|
else
|
@@ -80,16 +78,16 @@ module TencentCloud
|
|
80
78
|
end
|
81
79
|
|
82
80
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
83
|
-
#
|
81
|
+
# 批量删除任务,仅对任务状态为”已停止“有效;
|
84
82
|
|
85
|
-
# @param request: Request instance for
|
86
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
87
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
88
|
-
def
|
89
|
-
body = send_request('
|
83
|
+
# @param request: Request instance for BatchDeleteTasksNew.
|
84
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchDeleteTasksNewRequest`
|
85
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchDeleteTasksNewResponse`
|
86
|
+
def BatchDeleteTasksNew(request)
|
87
|
+
body = send_request('BatchDeleteTasksNew', request.serialize)
|
90
88
|
response = JSON.parse(body)
|
91
89
|
if response['Response'].key?('Error') == false
|
92
|
-
model =
|
90
|
+
model = BatchDeleteTasksNewResponse.new
|
93
91
|
model.deserialize(response['Response'])
|
94
92
|
model
|
95
93
|
else
|
@@ -104,16 +102,16 @@ module TencentCloud
|
|
104
102
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
105
103
|
end
|
106
104
|
|
107
|
-
#
|
105
|
+
# 批量置成功集成任务实例
|
108
106
|
|
109
|
-
# @param request: Request instance for
|
110
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
111
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
112
|
-
def
|
113
|
-
body = send_request('
|
107
|
+
# @param request: Request instance for BatchForceSuccessIntegrationTaskInstances.
|
108
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchForceSuccessIntegrationTaskInstancesRequest`
|
109
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchForceSuccessIntegrationTaskInstancesResponse`
|
110
|
+
def BatchForceSuccessIntegrationTaskInstances(request)
|
111
|
+
body = send_request('BatchForceSuccessIntegrationTaskInstances', request.serialize)
|
114
112
|
response = JSON.parse(body)
|
115
113
|
if response['Response'].key?('Error') == false
|
116
|
-
model =
|
114
|
+
model = BatchForceSuccessIntegrationTaskInstancesResponse.new
|
117
115
|
model.deserialize(response['Response'])
|
118
116
|
model
|
119
117
|
else
|
@@ -128,17 +126,16 @@ module TencentCloud
|
|
128
126
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
129
127
|
end
|
130
128
|
|
131
|
-
#
|
132
|
-
# 创建数据源
|
129
|
+
# 批量终止集成任务实例
|
133
130
|
|
134
|
-
# @param request: Request instance for
|
135
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
136
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
137
|
-
def
|
138
|
-
body = send_request('
|
131
|
+
# @param request: Request instance for BatchKillIntegrationTaskInstances.
|
132
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchKillIntegrationTaskInstancesRequest`
|
133
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchKillIntegrationTaskInstancesResponse`
|
134
|
+
def BatchKillIntegrationTaskInstances(request)
|
135
|
+
body = send_request('BatchKillIntegrationTaskInstances', request.serialize)
|
139
136
|
response = JSON.parse(body)
|
140
137
|
if response['Response'].key?('Error') == false
|
141
|
-
model =
|
138
|
+
model = BatchKillIntegrationTaskInstancesResponse.new
|
142
139
|
model.deserialize(response['Response'])
|
143
140
|
model
|
144
141
|
else
|
@@ -153,17 +150,16 @@ module TencentCloud
|
|
153
150
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
154
151
|
end
|
155
152
|
|
156
|
-
#
|
157
|
-
# 创建文件夹
|
153
|
+
# 对集成离线任务执行批量补数据操作
|
158
154
|
|
159
|
-
# @param request: Request instance for
|
160
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
161
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
162
|
-
def
|
163
|
-
body = send_request('
|
155
|
+
# @param request: Request instance for BatchMakeUpIntegrationTasks.
|
156
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchMakeUpIntegrationTasksRequest`
|
157
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchMakeUpIntegrationTasksResponse`
|
158
|
+
def BatchMakeUpIntegrationTasks(request)
|
159
|
+
body = send_request('BatchMakeUpIntegrationTasks', request.serialize)
|
164
160
|
response = JSON.parse(body)
|
165
161
|
if response['Response'].key?('Error') == false
|
166
|
-
model =
|
162
|
+
model = BatchMakeUpIntegrationTasksResponse.new
|
167
163
|
model.deserialize(response['Response'])
|
168
164
|
model
|
169
165
|
else
|
@@ -178,16 +174,17 @@ module TencentCloud
|
|
178
174
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
179
175
|
end
|
180
176
|
|
181
|
-
#
|
177
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
178
|
+
# 批量修改任务责任人
|
182
179
|
|
183
|
-
# @param request: Request instance for
|
184
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
185
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
186
|
-
def
|
187
|
-
body = send_request('
|
180
|
+
# @param request: Request instance for BatchModifyOwnersNew.
|
181
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchModifyOwnersNewRequest`
|
182
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchModifyOwnersNewResponse`
|
183
|
+
def BatchModifyOwnersNew(request)
|
184
|
+
body = send_request('BatchModifyOwnersNew', request.serialize)
|
188
185
|
response = JSON.parse(body)
|
189
186
|
if response['Response'].key?('Error') == false
|
190
|
-
model =
|
187
|
+
model = BatchModifyOwnersNewResponse.new
|
191
188
|
model.deserialize(response['Response'])
|
192
189
|
model
|
193
190
|
else
|
@@ -202,17 +199,16 @@ module TencentCloud
|
|
202
199
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
203
200
|
end
|
204
201
|
|
205
|
-
#
|
206
|
-
# 创建任务
|
202
|
+
# 批量重跑集成任务实例
|
207
203
|
|
208
|
-
# @param request: Request instance for
|
209
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
210
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
211
|
-
def
|
212
|
-
body = send_request('
|
204
|
+
# @param request: Request instance for BatchRerunIntegrationTaskInstances.
|
205
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchRerunIntegrationTaskInstancesRequest`
|
206
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchRerunIntegrationTaskInstancesResponse`
|
207
|
+
def BatchRerunIntegrationTaskInstances(request)
|
208
|
+
body = send_request('BatchRerunIntegrationTaskInstances', request.serialize)
|
213
209
|
response = JSON.parse(body)
|
214
210
|
if response['Response'].key?('Error') == false
|
215
|
-
model =
|
211
|
+
model = BatchRerunIntegrationTaskInstancesResponse.new
|
216
212
|
model.deserialize(response['Response'])
|
217
213
|
model
|
218
214
|
else
|
@@ -227,17 +223,16 @@ module TencentCloud
|
|
227
223
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
228
224
|
end
|
229
225
|
|
230
|
-
#
|
231
|
-
# 创建工作流
|
226
|
+
# 批量继续执行集成实时任务
|
232
227
|
|
233
|
-
# @param request: Request instance for
|
234
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
235
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
236
|
-
def
|
237
|
-
body = send_request('
|
228
|
+
# @param request: Request instance for BatchResumeIntegrationTasks.
|
229
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchResumeIntegrationTasksRequest`
|
230
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchResumeIntegrationTasksResponse`
|
231
|
+
def BatchResumeIntegrationTasks(request)
|
232
|
+
body = send_request('BatchResumeIntegrationTasks', request.serialize)
|
238
233
|
response = JSON.parse(body)
|
239
234
|
if response['Response'].key?('Error') == false
|
240
|
-
model =
|
235
|
+
model = BatchResumeIntegrationTasksResponse.new
|
241
236
|
model.deserialize(response['Response'])
|
242
237
|
model
|
243
238
|
else
|
@@ -252,16 +247,16 @@ module TencentCloud
|
|
252
247
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
253
248
|
end
|
254
249
|
|
255
|
-
#
|
250
|
+
# 批量运行集成任务
|
256
251
|
|
257
|
-
# @param request: Request instance for
|
258
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
259
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
260
|
-
def
|
261
|
-
body = send_request('
|
252
|
+
# @param request: Request instance for BatchStartIntegrationTasks.
|
253
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchStartIntegrationTasksRequest`
|
254
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchStartIntegrationTasksResponse`
|
255
|
+
def BatchStartIntegrationTasks(request)
|
256
|
+
body = send_request('BatchStartIntegrationTasks', request.serialize)
|
262
257
|
response = JSON.parse(body)
|
263
258
|
if response['Response'].key?('Error') == false
|
264
|
-
model =
|
259
|
+
model = BatchStartIntegrationTasksResponse.new
|
265
260
|
model.deserialize(response['Response'])
|
266
261
|
model
|
267
262
|
else
|
@@ -276,17 +271,16 @@ module TencentCloud
|
|
276
271
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
277
272
|
end
|
278
273
|
|
279
|
-
#
|
280
|
-
# 删除数据源
|
274
|
+
# 批量停止集成任务
|
281
275
|
|
282
|
-
# @param request: Request instance for
|
283
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
284
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
285
|
-
def
|
286
|
-
body = send_request('
|
276
|
+
# @param request: Request instance for BatchStopIntegrationTasks.
|
277
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchStopIntegrationTasksRequest`
|
278
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchStopIntegrationTasksResponse`
|
279
|
+
def BatchStopIntegrationTasks(request)
|
280
|
+
body = send_request('BatchStopIntegrationTasks', request.serialize)
|
287
281
|
response = JSON.parse(body)
|
288
282
|
if response['Response'].key?('Error') == false
|
289
|
-
model =
|
283
|
+
model = BatchStopIntegrationTasksResponse.new
|
290
284
|
model.deserialize(response['Response'])
|
291
285
|
model
|
292
286
|
else
|
@@ -302,16 +296,16 @@ module TencentCloud
|
|
302
296
|
end
|
303
297
|
|
304
298
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
305
|
-
#
|
299
|
+
# 仅对任务状态为”调度中“和”已暂停“有效,对所选任务的任务实例进行终止,并停止调度
|
306
300
|
|
307
|
-
# @param request: Request instance for
|
308
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
309
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
310
|
-
def
|
311
|
-
body = send_request('
|
301
|
+
# @param request: Request instance for BatchStopTasksNew.
|
302
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchStopTasksNewRequest`
|
303
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchStopTasksNewResponse`
|
304
|
+
def BatchStopTasksNew(request)
|
305
|
+
body = send_request('BatchStopTasksNew', request.serialize)
|
312
306
|
response = JSON.parse(body)
|
313
307
|
if response['Response'].key?('Error') == false
|
314
|
-
model =
|
308
|
+
model = BatchStopTasksNewResponse.new
|
315
309
|
model.deserialize(response['Response'])
|
316
310
|
model
|
317
311
|
else
|
@@ -326,16 +320,16 @@ module TencentCloud
|
|
326
320
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
327
321
|
end
|
328
322
|
|
329
|
-
#
|
323
|
+
# 批量暂停集成任务
|
330
324
|
|
331
|
-
# @param request: Request instance for
|
332
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
333
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
334
|
-
def
|
335
|
-
body = send_request('
|
325
|
+
# @param request: Request instance for BatchSuspendIntegrationTasks.
|
326
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchSuspendIntegrationTasksRequest`
|
327
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchSuspendIntegrationTasksResponse`
|
328
|
+
def BatchSuspendIntegrationTasks(request)
|
329
|
+
body = send_request('BatchSuspendIntegrationTasks', request.serialize)
|
336
330
|
response = JSON.parse(body)
|
337
331
|
if response['Response'].key?('Error') == false
|
338
|
-
model =
|
332
|
+
model = BatchSuspendIntegrationTasksResponse.new
|
339
333
|
model.deserialize(response['Response'])
|
340
334
|
model
|
341
335
|
else
|
@@ -350,17 +344,16 @@ module TencentCloud
|
|
350
344
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
351
345
|
end
|
352
346
|
|
353
|
-
#
|
354
|
-
# 删除工作流
|
347
|
+
# 批量更新集成任务(暂时仅支持批量更新责任人)
|
355
348
|
|
356
|
-
# @param request: Request instance for
|
357
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
358
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
359
|
-
def
|
360
|
-
body = send_request('
|
349
|
+
# @param request: Request instance for BatchUpdateIntegrationTasks.
|
350
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::BatchUpdateIntegrationTasksRequest`
|
351
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::BatchUpdateIntegrationTasksResponse`
|
352
|
+
def BatchUpdateIntegrationTasks(request)
|
353
|
+
body = send_request('BatchUpdateIntegrationTasks', request.serialize)
|
361
354
|
response = JSON.parse(body)
|
362
355
|
if response['Response'].key?('Error') == false
|
363
|
-
model =
|
356
|
+
model = BatchUpdateIntegrationTasksResponse.new
|
364
357
|
model.deserialize(response['Response'])
|
365
358
|
model
|
366
359
|
else
|
@@ -375,17 +368,16 @@ module TencentCloud
|
|
375
368
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
376
369
|
end
|
377
370
|
|
378
|
-
#
|
379
|
-
# 数据源详情
|
371
|
+
# 判断告警规则重名
|
380
372
|
|
381
|
-
# @param request: Request instance for
|
382
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
383
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
384
|
-
def
|
385
|
-
body = send_request('
|
373
|
+
# @param request: Request instance for CheckAlarmRegularNameExist.
|
374
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CheckAlarmRegularNameExistRequest`
|
375
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CheckAlarmRegularNameExistResponse`
|
376
|
+
def CheckAlarmRegularNameExist(request)
|
377
|
+
body = send_request('CheckAlarmRegularNameExist', request.serialize)
|
386
378
|
response = JSON.parse(body)
|
387
379
|
if response['Response'].key?('Error') == false
|
388
|
-
model =
|
380
|
+
model = CheckAlarmRegularNameExistResponse.new
|
389
381
|
model.deserialize(response['Response'])
|
390
382
|
model
|
391
383
|
else
|
@@ -400,17 +392,16 @@ module TencentCloud
|
|
400
392
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
401
393
|
end
|
402
394
|
|
403
|
-
#
|
404
|
-
# 数据源列表
|
395
|
+
# 判断集成节点名称是否存在
|
405
396
|
|
406
|
-
# @param request: Request instance for
|
407
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
408
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
409
|
-
def
|
410
|
-
body = send_request('
|
397
|
+
# @param request: Request instance for CheckIntegrationNodeNameExists.
|
398
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CheckIntegrationNodeNameExistsRequest`
|
399
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CheckIntegrationNodeNameExistsResponse`
|
400
|
+
def CheckIntegrationNodeNameExists(request)
|
401
|
+
body = send_request('CheckIntegrationNodeNameExists', request.serialize)
|
411
402
|
response = JSON.parse(body)
|
412
403
|
if response['Response'].key?('Error') == false
|
413
|
-
model =
|
404
|
+
model = CheckIntegrationNodeNameExistsResponse.new
|
414
405
|
model.deserialize(response['Response'])
|
415
406
|
model
|
416
407
|
else
|
@@ -425,17 +416,16 @@ module TencentCloud
|
|
425
416
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
426
417
|
end
|
427
418
|
|
428
|
-
#
|
429
|
-
# 数据源详情
|
419
|
+
# 判断集成任务名称是否存在
|
430
420
|
|
431
|
-
# @param request: Request instance for
|
432
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
433
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
434
|
-
def
|
435
|
-
body = send_request('
|
421
|
+
# @param request: Request instance for CheckIntegrationTaskNameExists.
|
422
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CheckIntegrationTaskNameExistsRequest`
|
423
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CheckIntegrationTaskNameExistsResponse`
|
424
|
+
def CheckIntegrationTaskNameExists(request)
|
425
|
+
body = send_request('CheckIntegrationTaskNameExists', request.serialize)
|
436
426
|
response = JSON.parse(body)
|
437
427
|
if response['Response'].key?('Error') == false
|
438
|
-
model =
|
428
|
+
model = CheckIntegrationTaskNameExistsResponse.new
|
439
429
|
model.deserialize(response['Response'])
|
440
430
|
model
|
441
431
|
else
|
@@ -450,17 +440,16 @@ module TencentCloud
|
|
450
440
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
451
441
|
end
|
452
442
|
|
453
|
-
#
|
454
|
-
# 根据层级查找上/下游任务节点
|
443
|
+
# 离线任务重名校验
|
455
444
|
|
456
|
-
# @param request: Request instance for
|
457
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
458
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
459
|
-
def
|
460
|
-
body = send_request('
|
445
|
+
# @param request: Request instance for CheckTaskNameExist.
|
446
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CheckTaskNameExistRequest`
|
447
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CheckTaskNameExistResponse`
|
448
|
+
def CheckTaskNameExist(request)
|
449
|
+
body = send_request('CheckTaskNameExist', request.serialize)
|
461
450
|
response = JSON.parse(body)
|
462
451
|
if response['Response'].key?('Error') == false
|
463
|
-
model =
|
452
|
+
model = CheckTaskNameExistResponse.new
|
464
453
|
model.deserialize(response['Response'])
|
465
454
|
model
|
466
455
|
else
|
@@ -475,17 +464,16 @@ module TencentCloud
|
|
475
464
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
476
465
|
end
|
477
466
|
|
478
|
-
#
|
479
|
-
# 拉取文件夹目录
|
467
|
+
# 提交集成任务
|
480
468
|
|
481
|
-
# @param request: Request instance for
|
482
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
483
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
484
|
-
def
|
485
|
-
body = send_request('
|
469
|
+
# @param request: Request instance for CommitIntegrationTask.
|
470
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CommitIntegrationTaskRequest`
|
471
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CommitIntegrationTaskResponse`
|
472
|
+
def CommitIntegrationTask(request)
|
473
|
+
body = send_request('CommitIntegrationTask', request.serialize)
|
486
474
|
response = JSON.parse(body)
|
487
475
|
if response['Response'].key?('Error') == false
|
488
|
-
model =
|
476
|
+
model = CommitIntegrationTaskResponse.new
|
489
477
|
model.deserialize(response['Response'])
|
490
478
|
model
|
491
479
|
else
|
@@ -500,17 +488,16 @@ module TencentCloud
|
|
500
488
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
501
489
|
end
|
502
490
|
|
503
|
-
#
|
504
|
-
# 拉取文件夹下的工作流
|
491
|
+
# 创建用户自定义函数
|
505
492
|
|
506
|
-
# @param request: Request instance for
|
507
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
508
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
509
|
-
def
|
510
|
-
body = send_request('
|
493
|
+
# @param request: Request instance for CreateCustomFunction.
|
494
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateCustomFunctionRequest`
|
495
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateCustomFunctionResponse`
|
496
|
+
def CreateCustomFunction(request)
|
497
|
+
body = send_request('CreateCustomFunction', request.serialize)
|
511
498
|
response = JSON.parse(body)
|
512
499
|
if response['Response'].key?('Error') == false
|
513
|
-
model =
|
500
|
+
model = CreateCustomFunctionResponse.new
|
514
501
|
model.deserialize(response['Response'])
|
515
502
|
model
|
516
503
|
else
|
@@ -525,16 +512,17 @@ module TencentCloud
|
|
525
512
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
526
513
|
end
|
527
514
|
|
528
|
-
#
|
515
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
516
|
+
# 创建数据源
|
529
517
|
|
530
|
-
# @param request: Request instance for
|
531
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
532
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
533
|
-
def
|
534
|
-
body = send_request('
|
518
|
+
# @param request: Request instance for CreateDataSource.
|
519
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateDataSourceRequest`
|
520
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateDataSourceResponse`
|
521
|
+
def CreateDataSource(request)
|
522
|
+
body = send_request('CreateDataSource', request.serialize)
|
535
523
|
response = JSON.parse(body)
|
536
524
|
if response['Response'].key?('Error') == false
|
537
|
-
model =
|
525
|
+
model = CreateDataSourceResponse.new
|
538
526
|
model.deserialize(response['Response'])
|
539
527
|
model
|
540
528
|
else
|
@@ -549,16 +537,17 @@ module TencentCloud
|
|
549
537
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
550
538
|
end
|
551
539
|
|
552
|
-
#
|
540
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
541
|
+
# 创建文件夹
|
553
542
|
|
554
|
-
# @param request: Request instance for
|
555
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
556
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
557
|
-
def
|
558
|
-
body = send_request('
|
543
|
+
# @param request: Request instance for CreateFolder.
|
544
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateFolderRequest`
|
545
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateFolderResponse`
|
546
|
+
def CreateFolder(request)
|
547
|
+
body = send_request('CreateFolder', request.serialize)
|
559
548
|
response = JSON.parse(body)
|
560
549
|
if response['Response'].key?('Error') == false
|
561
|
-
model =
|
550
|
+
model = CreateFolderResponse.new
|
562
551
|
model.deserialize(response['Response'])
|
563
552
|
model
|
564
553
|
else
|
@@ -573,17 +562,16 @@ module TencentCloud
|
|
573
562
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
574
563
|
end
|
575
564
|
|
576
|
-
#
|
577
|
-
# 获取实例日志列表
|
565
|
+
# 建hive表
|
578
566
|
|
579
|
-
# @param request: Request instance for
|
580
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
581
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
582
|
-
def
|
583
|
-
body = send_request('
|
567
|
+
# @param request: Request instance for CreateHiveTable.
|
568
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateHiveTableRequest`
|
569
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateHiveTableResponse`
|
570
|
+
def CreateHiveTable(request)
|
571
|
+
body = send_request('CreateHiveTable', request.serialize)
|
584
572
|
response = JSON.parse(body)
|
585
573
|
if response['Response'].key?('Error') == false
|
586
|
-
model =
|
574
|
+
model = CreateHiveTableResponse.new
|
587
575
|
model.deserialize(response['Response'])
|
588
576
|
model
|
589
577
|
else
|
@@ -598,16 +586,16 @@ module TencentCloud
|
|
598
586
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
599
587
|
end
|
600
588
|
|
601
|
-
#
|
589
|
+
# 创建hive表,返回表名称
|
602
590
|
|
603
|
-
# @param request: Request instance for
|
604
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
605
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
606
|
-
def
|
607
|
-
body = send_request('
|
591
|
+
# @param request: Request instance for CreateHiveTableByDDL.
|
592
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateHiveTableByDDLRequest`
|
593
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateHiveTableByDDLResponse`
|
594
|
+
def CreateHiveTableByDDL(request)
|
595
|
+
body = send_request('CreateHiveTableByDDL', request.serialize)
|
608
596
|
response = JSON.parse(body)
|
609
597
|
if response['Response'].key?('Error') == false
|
610
|
-
model =
|
598
|
+
model = CreateHiveTableByDDLResponse.new
|
611
599
|
model.deserialize(response['Response'])
|
612
600
|
model
|
613
601
|
else
|
@@ -622,16 +610,16 @@ module TencentCloud
|
|
622
610
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
623
611
|
end
|
624
612
|
|
625
|
-
#
|
613
|
+
# 注册采集器
|
626
614
|
|
627
|
-
# @param request: Request instance for
|
628
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
629
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
630
|
-
def
|
631
|
-
body = send_request('
|
615
|
+
# @param request: Request instance for CreateInLongAgent.
|
616
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateInLongAgentRequest`
|
617
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateInLongAgentResponse`
|
618
|
+
def CreateInLongAgent(request)
|
619
|
+
body = send_request('CreateInLongAgent', request.serialize)
|
632
620
|
response = JSON.parse(body)
|
633
621
|
if response['Response'].key?('Error') == false
|
634
|
-
model =
|
622
|
+
model = CreateInLongAgentResponse.new
|
635
623
|
model.deserialize(response['Response'])
|
636
624
|
model
|
637
625
|
else
|
@@ -646,16 +634,16 @@ module TencentCloud
|
|
646
634
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
647
635
|
end
|
648
636
|
|
649
|
-
#
|
637
|
+
# 创建集成节点
|
650
638
|
|
651
|
-
# @param request: Request instance for
|
652
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
653
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
654
|
-
def
|
655
|
-
body = send_request('
|
639
|
+
# @param request: Request instance for CreateIntegrationNode.
|
640
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateIntegrationNodeRequest`
|
641
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateIntegrationNodeResponse`
|
642
|
+
def CreateIntegrationNode(request)
|
643
|
+
body = send_request('CreateIntegrationNode', request.serialize)
|
656
644
|
response = JSON.parse(body)
|
657
645
|
if response['Response'].key?('Error') == false
|
658
|
-
model =
|
646
|
+
model = CreateIntegrationNodeResponse.new
|
659
647
|
model.deserialize(response['Response'])
|
660
648
|
model
|
661
649
|
else
|
@@ -670,16 +658,16 @@ module TencentCloud
|
|
670
658
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
671
659
|
end
|
672
660
|
|
673
|
-
#
|
661
|
+
# 创建集成任务
|
674
662
|
|
675
|
-
# @param request: Request instance for
|
676
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
677
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
678
|
-
def
|
679
|
-
body = send_request('
|
663
|
+
# @param request: Request instance for CreateIntegrationTask.
|
664
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateIntegrationTaskRequest`
|
665
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateIntegrationTaskResponse`
|
666
|
+
def CreateIntegrationTask(request)
|
667
|
+
body = send_request('CreateIntegrationTask', request.serialize)
|
680
668
|
response = JSON.parse(body)
|
681
669
|
if response['Response'].key?('Error') == false
|
682
|
-
model =
|
670
|
+
model = CreateIntegrationTaskResponse.new
|
683
671
|
model.deserialize(response['Response'])
|
684
672
|
model
|
685
673
|
else
|
@@ -694,14 +682,1514 @@ module TencentCloud
|
|
694
682
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
695
683
|
end
|
696
684
|
|
697
|
-
#
|
698
|
-
# 查询任务具体详情
|
685
|
+
# 创建离线任务
|
699
686
|
|
700
|
-
# @param request: Request instance for
|
701
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
702
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
703
|
-
def
|
704
|
-
body = send_request('
|
687
|
+
# @param request: Request instance for CreateOfflineTask.
|
688
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateOfflineTaskRequest`
|
689
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateOfflineTaskResponse`
|
690
|
+
def CreateOfflineTask(request)
|
691
|
+
body = send_request('CreateOfflineTask', request.serialize)
|
692
|
+
response = JSON.parse(body)
|
693
|
+
if response['Response'].key?('Error') == false
|
694
|
+
model = CreateOfflineTaskResponse.new
|
695
|
+
model.deserialize(response['Response'])
|
696
|
+
model
|
697
|
+
else
|
698
|
+
code = response['Response']['Error']['Code']
|
699
|
+
message = response['Response']['Error']['Message']
|
700
|
+
reqid = response['Response']['RequestId']
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
702
|
+
end
|
703
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
704
|
+
raise e
|
705
|
+
rescue StandardError => e
|
706
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
707
|
+
end
|
708
|
+
|
709
|
+
# 资源管理需要先将资源上传到cos中,然后调用该接口,将cos资源绑定到wedata
|
710
|
+
|
711
|
+
# @param request: Request instance for CreateOrUpdateResource.
|
712
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateOrUpdateResourceRequest`
|
713
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateOrUpdateResourceResponse`
|
714
|
+
def CreateOrUpdateResource(request)
|
715
|
+
body = send_request('CreateOrUpdateResource', request.serialize)
|
716
|
+
response = JSON.parse(body)
|
717
|
+
if response['Response'].key?('Error') == false
|
718
|
+
model = CreateOrUpdateResourceResponse.new
|
719
|
+
model.deserialize(response['Response'])
|
720
|
+
model
|
721
|
+
else
|
722
|
+
code = response['Response']['Error']['Code']
|
723
|
+
message = response['Response']['Error']['Message']
|
724
|
+
reqid = response['Response']['RequestId']
|
725
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
726
|
+
end
|
727
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
728
|
+
raise e
|
729
|
+
rescue StandardError => e
|
730
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
731
|
+
end
|
732
|
+
|
733
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
734
|
+
# 创建任务
|
735
|
+
|
736
|
+
# @param request: Request instance for CreateTask.
|
737
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateTaskRequest`
|
738
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateTaskResponse`
|
739
|
+
def CreateTask(request)
|
740
|
+
body = send_request('CreateTask', request.serialize)
|
741
|
+
response = JSON.parse(body)
|
742
|
+
if response['Response'].key?('Error') == false
|
743
|
+
model = CreateTaskResponse.new
|
744
|
+
model.deserialize(response['Response'])
|
745
|
+
model
|
746
|
+
else
|
747
|
+
code = response['Response']['Error']['Code']
|
748
|
+
message = response['Response']['Error']['Message']
|
749
|
+
reqid = response['Response']['RequestId']
|
750
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
751
|
+
end
|
752
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
753
|
+
raise e
|
754
|
+
rescue StandardError => e
|
755
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
756
|
+
end
|
757
|
+
|
758
|
+
# 创建任务告警规则
|
759
|
+
|
760
|
+
# @param request: Request instance for CreateTaskAlarmRegular.
|
761
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateTaskAlarmRegularRequest`
|
762
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateTaskAlarmRegularResponse`
|
763
|
+
def CreateTaskAlarmRegular(request)
|
764
|
+
body = send_request('CreateTaskAlarmRegular', request.serialize)
|
765
|
+
response = JSON.parse(body)
|
766
|
+
if response['Response'].key?('Error') == false
|
767
|
+
model = CreateTaskAlarmRegularResponse.new
|
768
|
+
model.deserialize(response['Response'])
|
769
|
+
model
|
770
|
+
else
|
771
|
+
code = response['Response']['Error']['Code']
|
772
|
+
message = response['Response']['Error']['Message']
|
773
|
+
reqid = response['Response']['RequestId']
|
774
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
775
|
+
end
|
776
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
777
|
+
raise e
|
778
|
+
rescue StandardError => e
|
779
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
780
|
+
end
|
781
|
+
|
782
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
783
|
+
# 创建工作流
|
784
|
+
|
785
|
+
# @param request: Request instance for CreateWorkflow.
|
786
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateWorkflowRequest`
|
787
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateWorkflowResponse`
|
788
|
+
def CreateWorkflow(request)
|
789
|
+
body = send_request('CreateWorkflow', request.serialize)
|
790
|
+
response = JSON.parse(body)
|
791
|
+
if response['Response'].key?('Error') == false
|
792
|
+
model = CreateWorkflowResponse.new
|
793
|
+
model.deserialize(response['Response'])
|
794
|
+
model
|
795
|
+
else
|
796
|
+
code = response['Response']['Error']['Code']
|
797
|
+
message = response['Response']['Error']['Message']
|
798
|
+
reqid = response['Response']['RequestId']
|
799
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
800
|
+
end
|
801
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
802
|
+
raise e
|
803
|
+
rescue StandardError => e
|
804
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
805
|
+
end
|
806
|
+
|
807
|
+
# 删除用户自定义函数
|
808
|
+
|
809
|
+
# @param request: Request instance for DeleteCustomFunction.
|
810
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteCustomFunctionRequest`
|
811
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteCustomFunctionResponse`
|
812
|
+
def DeleteCustomFunction(request)
|
813
|
+
body = send_request('DeleteCustomFunction', request.serialize)
|
814
|
+
response = JSON.parse(body)
|
815
|
+
if response['Response'].key?('Error') == false
|
816
|
+
model = DeleteCustomFunctionResponse.new
|
817
|
+
model.deserialize(response['Response'])
|
818
|
+
model
|
819
|
+
else
|
820
|
+
code = response['Response']['Error']['Code']
|
821
|
+
message = response['Response']['Error']['Message']
|
822
|
+
reqid = response['Response']['RequestId']
|
823
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
824
|
+
end
|
825
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
826
|
+
raise e
|
827
|
+
rescue StandardError => e
|
828
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
829
|
+
end
|
830
|
+
|
831
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
832
|
+
# 删除数据源
|
833
|
+
|
834
|
+
# @param request: Request instance for DeleteDataSources.
|
835
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteDataSourcesRequest`
|
836
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteDataSourcesResponse`
|
837
|
+
def DeleteDataSources(request)
|
838
|
+
body = send_request('DeleteDataSources', request.serialize)
|
839
|
+
response = JSON.parse(body)
|
840
|
+
if response['Response'].key?('Error') == false
|
841
|
+
model = DeleteDataSourcesResponse.new
|
842
|
+
model.deserialize(response['Response'])
|
843
|
+
model
|
844
|
+
else
|
845
|
+
code = response['Response']['Error']['Code']
|
846
|
+
message = response['Response']['Error']['Message']
|
847
|
+
reqid = response['Response']['RequestId']
|
848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
849
|
+
end
|
850
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
851
|
+
raise e
|
852
|
+
rescue StandardError => e
|
853
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
854
|
+
end
|
855
|
+
|
856
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
857
|
+
# 删除文件夹
|
858
|
+
|
859
|
+
# @param request: Request instance for DeleteFolder.
|
860
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteFolderRequest`
|
861
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteFolderResponse`
|
862
|
+
def DeleteFolder(request)
|
863
|
+
body = send_request('DeleteFolder', request.serialize)
|
864
|
+
response = JSON.parse(body)
|
865
|
+
if response['Response'].key?('Error') == false
|
866
|
+
model = DeleteFolderResponse.new
|
867
|
+
model.deserialize(response['Response'])
|
868
|
+
model
|
869
|
+
else
|
870
|
+
code = response['Response']['Error']['Code']
|
871
|
+
message = response['Response']['Error']['Message']
|
872
|
+
reqid = response['Response']['RequestId']
|
873
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
874
|
+
end
|
875
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
876
|
+
raise e
|
877
|
+
rescue StandardError => e
|
878
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
879
|
+
end
|
880
|
+
|
881
|
+
# 删除采集器
|
882
|
+
|
883
|
+
# @param request: Request instance for DeleteInLongAgent.
|
884
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteInLongAgentRequest`
|
885
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteInLongAgentResponse`
|
886
|
+
def DeleteInLongAgent(request)
|
887
|
+
body = send_request('DeleteInLongAgent', request.serialize)
|
888
|
+
response = JSON.parse(body)
|
889
|
+
if response['Response'].key?('Error') == false
|
890
|
+
model = DeleteInLongAgentResponse.new
|
891
|
+
model.deserialize(response['Response'])
|
892
|
+
model
|
893
|
+
else
|
894
|
+
code = response['Response']['Error']['Code']
|
895
|
+
message = response['Response']['Error']['Message']
|
896
|
+
reqid = response['Response']['RequestId']
|
897
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
898
|
+
end
|
899
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
900
|
+
raise e
|
901
|
+
rescue StandardError => e
|
902
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
903
|
+
end
|
904
|
+
|
905
|
+
# 删除集成节点
|
906
|
+
|
907
|
+
# @param request: Request instance for DeleteIntegrationNode.
|
908
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteIntegrationNodeRequest`
|
909
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteIntegrationNodeResponse`
|
910
|
+
def DeleteIntegrationNode(request)
|
911
|
+
body = send_request('DeleteIntegrationNode', request.serialize)
|
912
|
+
response = JSON.parse(body)
|
913
|
+
if response['Response'].key?('Error') == false
|
914
|
+
model = DeleteIntegrationNodeResponse.new
|
915
|
+
model.deserialize(response['Response'])
|
916
|
+
model
|
917
|
+
else
|
918
|
+
code = response['Response']['Error']['Code']
|
919
|
+
message = response['Response']['Error']['Message']
|
920
|
+
reqid = response['Response']['RequestId']
|
921
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
922
|
+
end
|
923
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
924
|
+
raise e
|
925
|
+
rescue StandardError => e
|
926
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
927
|
+
end
|
928
|
+
|
929
|
+
# 删除集成任务
|
930
|
+
|
931
|
+
# @param request: Request instance for DeleteIntegrationTask.
|
932
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteIntegrationTaskRequest`
|
933
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteIntegrationTaskResponse`
|
934
|
+
def DeleteIntegrationTask(request)
|
935
|
+
body = send_request('DeleteIntegrationTask', request.serialize)
|
936
|
+
response = JSON.parse(body)
|
937
|
+
if response['Response'].key?('Error') == false
|
938
|
+
model = DeleteIntegrationTaskResponse.new
|
939
|
+
model.deserialize(response['Response'])
|
940
|
+
model
|
941
|
+
else
|
942
|
+
code = response['Response']['Error']['Code']
|
943
|
+
message = response['Response']['Error']['Message']
|
944
|
+
reqid = response['Response']['RequestId']
|
945
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
946
|
+
end
|
947
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
948
|
+
raise e
|
949
|
+
rescue StandardError => e
|
950
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
951
|
+
end
|
952
|
+
|
953
|
+
# 删除任务
|
954
|
+
|
955
|
+
# @param request: Request instance for DeleteOfflineTask.
|
956
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteOfflineTaskRequest`
|
957
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteOfflineTaskResponse`
|
958
|
+
def DeleteOfflineTask(request)
|
959
|
+
body = send_request('DeleteOfflineTask', request.serialize)
|
960
|
+
response = JSON.parse(body)
|
961
|
+
if response['Response'].key?('Error') == false
|
962
|
+
model = DeleteOfflineTaskResponse.new
|
963
|
+
model.deserialize(response['Response'])
|
964
|
+
model
|
965
|
+
else
|
966
|
+
code = response['Response']['Error']['Code']
|
967
|
+
message = response['Response']['Error']['Message']
|
968
|
+
reqid = response['Response']['RequestId']
|
969
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
970
|
+
end
|
971
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
972
|
+
raise e
|
973
|
+
rescue StandardError => e
|
974
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
975
|
+
end
|
976
|
+
|
977
|
+
# 资源管理删除资源
|
978
|
+
|
979
|
+
# @param request: Request instance for DeleteResource.
|
980
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteResourceRequest`
|
981
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteResourceResponse`
|
982
|
+
def DeleteResource(request)
|
983
|
+
body = send_request('DeleteResource', request.serialize)
|
984
|
+
response = JSON.parse(body)
|
985
|
+
if response['Response'].key?('Error') == false
|
986
|
+
model = DeleteResourceResponse.new
|
987
|
+
model.deserialize(response['Response'])
|
988
|
+
model
|
989
|
+
else
|
990
|
+
code = response['Response']['Error']['Code']
|
991
|
+
message = response['Response']['Error']['Message']
|
992
|
+
reqid = response['Response']['RequestId']
|
993
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
994
|
+
end
|
995
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
996
|
+
raise e
|
997
|
+
rescue StandardError => e
|
998
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
999
|
+
end
|
1000
|
+
|
1001
|
+
# 删除任务告警规则
|
1002
|
+
|
1003
|
+
# @param request: Request instance for DeleteTaskAlarmRegular.
|
1004
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteTaskAlarmRegularRequest`
|
1005
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteTaskAlarmRegularResponse`
|
1006
|
+
def DeleteTaskAlarmRegular(request)
|
1007
|
+
body = send_request('DeleteTaskAlarmRegular', request.serialize)
|
1008
|
+
response = JSON.parse(body)
|
1009
|
+
if response['Response'].key?('Error') == false
|
1010
|
+
model = DeleteTaskAlarmRegularResponse.new
|
1011
|
+
model.deserialize(response['Response'])
|
1012
|
+
model
|
1013
|
+
else
|
1014
|
+
code = response['Response']['Error']['Code']
|
1015
|
+
message = response['Response']['Error']['Message']
|
1016
|
+
reqid = response['Response']['RequestId']
|
1017
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1018
|
+
end
|
1019
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1020
|
+
raise e
|
1021
|
+
rescue StandardError => e
|
1022
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1026
|
+
# 删除工作流
|
1027
|
+
|
1028
|
+
# @param request: Request instance for DeleteWorkflowNew.
|
1029
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteWorkflowNewRequest`
|
1030
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteWorkflowNewResponse`
|
1031
|
+
def DeleteWorkflowNew(request)
|
1032
|
+
body = send_request('DeleteWorkflowNew', request.serialize)
|
1033
|
+
response = JSON.parse(body)
|
1034
|
+
if response['Response'].key?('Error') == false
|
1035
|
+
model = DeleteWorkflowNewResponse.new
|
1036
|
+
model.deserialize(response['Response'])
|
1037
|
+
model
|
1038
|
+
else
|
1039
|
+
code = response['Response']['Error']['Code']
|
1040
|
+
message = response['Response']['Error']['Message']
|
1041
|
+
reqid = response['Response']['RequestId']
|
1042
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1043
|
+
end
|
1044
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1045
|
+
raise e
|
1046
|
+
rescue StandardError => e
|
1047
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# 告警事件列表
|
1051
|
+
|
1052
|
+
# @param request: Request instance for DescribeAlarmEvents.
|
1053
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeAlarmEventsRequest`
|
1054
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeAlarmEventsResponse`
|
1055
|
+
def DescribeAlarmEvents(request)
|
1056
|
+
body = send_request('DescribeAlarmEvents', request.serialize)
|
1057
|
+
response = JSON.parse(body)
|
1058
|
+
if response['Response'].key?('Error') == false
|
1059
|
+
model = DescribeAlarmEventsResponse.new
|
1060
|
+
model.deserialize(response['Response'])
|
1061
|
+
model
|
1062
|
+
else
|
1063
|
+
code = response['Response']['Error']['Code']
|
1064
|
+
message = response['Response']['Error']['Message']
|
1065
|
+
reqid = response['Response']['RequestId']
|
1066
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1067
|
+
end
|
1068
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1069
|
+
raise e
|
1070
|
+
rescue StandardError => e
|
1071
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
# 告警接收人详情
|
1075
|
+
|
1076
|
+
# @param request: Request instance for DescribeAlarmReceiver.
|
1077
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeAlarmReceiverRequest`
|
1078
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeAlarmReceiverResponse`
|
1079
|
+
def DescribeAlarmReceiver(request)
|
1080
|
+
body = send_request('DescribeAlarmReceiver', request.serialize)
|
1081
|
+
response = JSON.parse(body)
|
1082
|
+
if response['Response'].key?('Error') == false
|
1083
|
+
model = DescribeAlarmReceiverResponse.new
|
1084
|
+
model.deserialize(response['Response'])
|
1085
|
+
model
|
1086
|
+
else
|
1087
|
+
code = response['Response']['Error']['Code']
|
1088
|
+
message = response['Response']['Error']['Message']
|
1089
|
+
reqid = response['Response']['RequestId']
|
1090
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1091
|
+
end
|
1092
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1093
|
+
raise e
|
1094
|
+
rescue StandardError => e
|
1095
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# 获取集群命名空间列表
|
1099
|
+
|
1100
|
+
# @param request: Request instance for DescribeClusterNamespaceList.
|
1101
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeClusterNamespaceListRequest`
|
1102
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeClusterNamespaceListResponse`
|
1103
|
+
def DescribeClusterNamespaceList(request)
|
1104
|
+
body = send_request('DescribeClusterNamespaceList', request.serialize)
|
1105
|
+
response = JSON.parse(body)
|
1106
|
+
if response['Response'].key?('Error') == false
|
1107
|
+
model = DescribeClusterNamespaceListResponse.new
|
1108
|
+
model.deserialize(response['Response'])
|
1109
|
+
model
|
1110
|
+
else
|
1111
|
+
code = response['Response']['Error']['Code']
|
1112
|
+
message = response['Response']['Error']['Message']
|
1113
|
+
reqid = response['Response']['RequestId']
|
1114
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1115
|
+
end
|
1116
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1117
|
+
raise e
|
1118
|
+
rescue StandardError => e
|
1119
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# 获取数据源信息-数据源分页列表
|
1123
|
+
|
1124
|
+
# @param request: Request instance for DescribeDataSourceInfoList.
|
1125
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDataSourceInfoListRequest`
|
1126
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDataSourceInfoListResponse`
|
1127
|
+
def DescribeDataSourceInfoList(request)
|
1128
|
+
body = send_request('DescribeDataSourceInfoList', request.serialize)
|
1129
|
+
response = JSON.parse(body)
|
1130
|
+
if response['Response'].key?('Error') == false
|
1131
|
+
model = DescribeDataSourceInfoListResponse.new
|
1132
|
+
model.deserialize(response['Response'])
|
1133
|
+
model
|
1134
|
+
else
|
1135
|
+
code = response['Response']['Error']['Code']
|
1136
|
+
message = response['Response']['Error']['Message']
|
1137
|
+
reqid = response['Response']['RequestId']
|
1138
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1139
|
+
end
|
1140
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1141
|
+
raise e
|
1142
|
+
rescue StandardError => e
|
1143
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1147
|
+
# 数据源详情
|
1148
|
+
|
1149
|
+
# @param request: Request instance for DescribeDataSourceList.
|
1150
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDataSourceListRequest`
|
1151
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDataSourceListResponse`
|
1152
|
+
def DescribeDataSourceList(request)
|
1153
|
+
body = send_request('DescribeDataSourceList', request.serialize)
|
1154
|
+
response = JSON.parse(body)
|
1155
|
+
if response['Response'].key?('Error') == false
|
1156
|
+
model = DescribeDataSourceListResponse.new
|
1157
|
+
model.deserialize(response['Response'])
|
1158
|
+
model
|
1159
|
+
else
|
1160
|
+
code = response['Response']['Error']['Code']
|
1161
|
+
message = response['Response']['Error']['Message']
|
1162
|
+
reqid = response['Response']['RequestId']
|
1163
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1164
|
+
end
|
1165
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1166
|
+
raise e
|
1167
|
+
rescue StandardError => e
|
1168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1172
|
+
# 数据源列表
|
1173
|
+
|
1174
|
+
# @param request: Request instance for DescribeDataSourceWithoutInfo.
|
1175
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDataSourceWithoutInfoRequest`
|
1176
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDataSourceWithoutInfoResponse`
|
1177
|
+
def DescribeDataSourceWithoutInfo(request)
|
1178
|
+
body = send_request('DescribeDataSourceWithoutInfo', request.serialize)
|
1179
|
+
response = JSON.parse(body)
|
1180
|
+
if response['Response'].key?('Error') == false
|
1181
|
+
model = DescribeDataSourceWithoutInfoResponse.new
|
1182
|
+
model.deserialize(response['Response'])
|
1183
|
+
model
|
1184
|
+
else
|
1185
|
+
code = response['Response']['Error']['Code']
|
1186
|
+
message = response['Response']['Error']['Message']
|
1187
|
+
reqid = response['Response']['RequestId']
|
1188
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1189
|
+
end
|
1190
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1191
|
+
raise e
|
1192
|
+
rescue StandardError => e
|
1193
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1194
|
+
end
|
1195
|
+
|
1196
|
+
# 获取字段类型列表
|
1197
|
+
|
1198
|
+
# @param request: Request instance for DescribeDataTypes.
|
1199
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDataTypesRequest`
|
1200
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDataTypesResponse`
|
1201
|
+
def DescribeDataTypes(request)
|
1202
|
+
body = send_request('DescribeDataTypes', request.serialize)
|
1203
|
+
response = JSON.parse(body)
|
1204
|
+
if response['Response'].key?('Error') == false
|
1205
|
+
model = DescribeDataTypesResponse.new
|
1206
|
+
model.deserialize(response['Response'])
|
1207
|
+
model
|
1208
|
+
else
|
1209
|
+
code = response['Response']['Error']['Code']
|
1210
|
+
message = response['Response']['Error']['Message']
|
1211
|
+
reqid = response['Response']['RequestId']
|
1212
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1213
|
+
end
|
1214
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1215
|
+
raise e
|
1216
|
+
rescue StandardError => e
|
1217
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# 获取数据库信息
|
1221
|
+
|
1222
|
+
# @param request: Request instance for DescribeDatabaseInfoList.
|
1223
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDatabaseInfoListRequest`
|
1224
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDatabaseInfoListResponse`
|
1225
|
+
def DescribeDatabaseInfoList(request)
|
1226
|
+
body = send_request('DescribeDatabaseInfoList', request.serialize)
|
1227
|
+
response = JSON.parse(body)
|
1228
|
+
if response['Response'].key?('Error') == false
|
1229
|
+
model = DescribeDatabaseInfoListResponse.new
|
1230
|
+
model.deserialize(response['Response'])
|
1231
|
+
model
|
1232
|
+
else
|
1233
|
+
code = response['Response']['Error']['Code']
|
1234
|
+
message = response['Response']['Error']['Message']
|
1235
|
+
reqid = response['Response']['RequestId']
|
1236
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1237
|
+
end
|
1238
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1239
|
+
raise e
|
1240
|
+
rescue StandardError => e
|
1241
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1245
|
+
# 数据源详情
|
1246
|
+
|
1247
|
+
# @param request: Request instance for DescribeDatasource.
|
1248
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDatasourceRequest`
|
1249
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDatasourceResponse`
|
1250
|
+
def DescribeDatasource(request)
|
1251
|
+
body = send_request('DescribeDatasource', request.serialize)
|
1252
|
+
response = JSON.parse(body)
|
1253
|
+
if response['Response'].key?('Error') == false
|
1254
|
+
model = DescribeDatasourceResponse.new
|
1255
|
+
model.deserialize(response['Response'])
|
1256
|
+
model
|
1257
|
+
else
|
1258
|
+
code = response['Response']['Error']['Code']
|
1259
|
+
message = response['Response']['Error']['Message']
|
1260
|
+
reqid = response['Response']['RequestId']
|
1261
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1262
|
+
end
|
1263
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1264
|
+
raise e
|
1265
|
+
rescue StandardError => e
|
1266
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1270
|
+
# 根据层级查找上/下游任务节点
|
1271
|
+
|
1272
|
+
# @param request: Request instance for DescribeDependTasksNew.
|
1273
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDependTasksNewRequest`
|
1274
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDependTasksNewResponse`
|
1275
|
+
def DescribeDependTasksNew(request)
|
1276
|
+
body = send_request('DescribeDependTasksNew', request.serialize)
|
1277
|
+
response = JSON.parse(body)
|
1278
|
+
if response['Response'].key?('Error') == false
|
1279
|
+
model = DescribeDependTasksNewResponse.new
|
1280
|
+
model.deserialize(response['Response'])
|
1281
|
+
model
|
1282
|
+
else
|
1283
|
+
code = response['Response']['Error']['Code']
|
1284
|
+
message = response['Response']['Error']['Message']
|
1285
|
+
reqid = response['Response']['RequestId']
|
1286
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1287
|
+
end
|
1288
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1289
|
+
raise e
|
1290
|
+
rescue StandardError => e
|
1291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1295
|
+
# 拉取文件夹目录
|
1296
|
+
|
1297
|
+
# @param request: Request instance for DescribeFolderList.
|
1298
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeFolderListRequest`
|
1299
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeFolderListResponse`
|
1300
|
+
def DescribeFolderList(request)
|
1301
|
+
body = send_request('DescribeFolderList', request.serialize)
|
1302
|
+
response = JSON.parse(body)
|
1303
|
+
if response['Response'].key?('Error') == false
|
1304
|
+
model = DescribeFolderListResponse.new
|
1305
|
+
model.deserialize(response['Response'])
|
1306
|
+
model
|
1307
|
+
else
|
1308
|
+
code = response['Response']['Error']['Code']
|
1309
|
+
message = response['Response']['Error']['Message']
|
1310
|
+
reqid = response['Response']['RequestId']
|
1311
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1312
|
+
end
|
1313
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1314
|
+
raise e
|
1315
|
+
rescue StandardError => e
|
1316
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1320
|
+
# 拉取文件夹下的工作流
|
1321
|
+
|
1322
|
+
# @param request: Request instance for DescribeFolderWorkflowList.
|
1323
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeFolderWorkflowListRequest`
|
1324
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeFolderWorkflowListResponse`
|
1325
|
+
def DescribeFolderWorkflowList(request)
|
1326
|
+
body = send_request('DescribeFolderWorkflowList', request.serialize)
|
1327
|
+
response = JSON.parse(body)
|
1328
|
+
if response['Response'].key?('Error') == false
|
1329
|
+
model = DescribeFolderWorkflowListResponse.new
|
1330
|
+
model.deserialize(response['Response'])
|
1331
|
+
model
|
1332
|
+
else
|
1333
|
+
code = response['Response']['Error']['Code']
|
1334
|
+
message = response['Response']['Error']['Message']
|
1335
|
+
reqid = response['Response']['RequestId']
|
1336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1337
|
+
end
|
1338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1339
|
+
raise e
|
1340
|
+
rescue StandardError => e
|
1341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
# 查询函数分类
|
1345
|
+
|
1346
|
+
# @param request: Request instance for DescribeFunctionKinds.
|
1347
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeFunctionKindsRequest`
|
1348
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeFunctionKindsResponse`
|
1349
|
+
def DescribeFunctionKinds(request)
|
1350
|
+
body = send_request('DescribeFunctionKinds', request.serialize)
|
1351
|
+
response = JSON.parse(body)
|
1352
|
+
if response['Response'].key?('Error') == false
|
1353
|
+
model = DescribeFunctionKindsResponse.new
|
1354
|
+
model.deserialize(response['Response'])
|
1355
|
+
model
|
1356
|
+
else
|
1357
|
+
code = response['Response']['Error']['Code']
|
1358
|
+
message = response['Response']['Error']['Message']
|
1359
|
+
reqid = response['Response']['RequestId']
|
1360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1361
|
+
end
|
1362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1363
|
+
raise e
|
1364
|
+
rescue StandardError => e
|
1365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# 查询函数类型
|
1369
|
+
|
1370
|
+
# @param request: Request instance for DescribeFunctionTypes.
|
1371
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeFunctionTypesRequest`
|
1372
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeFunctionTypesResponse`
|
1373
|
+
def DescribeFunctionTypes(request)
|
1374
|
+
body = send_request('DescribeFunctionTypes', request.serialize)
|
1375
|
+
response = JSON.parse(body)
|
1376
|
+
if response['Response'].key?('Error') == false
|
1377
|
+
model = DescribeFunctionTypesResponse.new
|
1378
|
+
model.deserialize(response['Response'])
|
1379
|
+
model
|
1380
|
+
else
|
1381
|
+
code = response['Response']['Error']['Code']
|
1382
|
+
message = response['Response']['Error']['Message']
|
1383
|
+
reqid = response['Response']['RequestId']
|
1384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1385
|
+
end
|
1386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1387
|
+
raise e
|
1388
|
+
rescue StandardError => e
|
1389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
# 获取采集器列表
|
1393
|
+
|
1394
|
+
# @param request: Request instance for DescribeInLongAgentList.
|
1395
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeInLongAgentListRequest`
|
1396
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeInLongAgentListResponse`
|
1397
|
+
def DescribeInLongAgentList(request)
|
1398
|
+
body = send_request('DescribeInLongAgentList', request.serialize)
|
1399
|
+
response = JSON.parse(body)
|
1400
|
+
if response['Response'].key?('Error') == false
|
1401
|
+
model = DescribeInLongAgentListResponse.new
|
1402
|
+
model.deserialize(response['Response'])
|
1403
|
+
model
|
1404
|
+
else
|
1405
|
+
code = response['Response']['Error']['Code']
|
1406
|
+
message = response['Response']['Error']['Message']
|
1407
|
+
reqid = response['Response']['RequestId']
|
1408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1409
|
+
end
|
1410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1411
|
+
raise e
|
1412
|
+
rescue StandardError => e
|
1413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
# 查询采集器关联的任务列表
|
1417
|
+
|
1418
|
+
# @param request: Request instance for DescribeInLongAgentTaskList.
|
1419
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeInLongAgentTaskListRequest`
|
1420
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeInLongAgentTaskListResponse`
|
1421
|
+
def DescribeInLongAgentTaskList(request)
|
1422
|
+
body = send_request('DescribeInLongAgentTaskList', request.serialize)
|
1423
|
+
response = JSON.parse(body)
|
1424
|
+
if response['Response'].key?('Error') == false
|
1425
|
+
model = DescribeInLongAgentTaskListResponse.new
|
1426
|
+
model.deserialize(response['Response'])
|
1427
|
+
model
|
1428
|
+
else
|
1429
|
+
code = response['Response']['Error']['Code']
|
1430
|
+
message = response['Response']['Error']['Message']
|
1431
|
+
reqid = response['Response']['RequestId']
|
1432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1433
|
+
end
|
1434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1435
|
+
raise e
|
1436
|
+
rescue StandardError => e
|
1437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# 获取采集器所在集群的VPC列表
|
1441
|
+
|
1442
|
+
# @param request: Request instance for DescribeInLongAgentVpcList.
|
1443
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeInLongAgentVpcListRequest`
|
1444
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeInLongAgentVpcListResponse`
|
1445
|
+
def DescribeInLongAgentVpcList(request)
|
1446
|
+
body = send_request('DescribeInLongAgentVpcList', request.serialize)
|
1447
|
+
response = JSON.parse(body)
|
1448
|
+
if response['Response'].key?('Error') == false
|
1449
|
+
model = DescribeInLongAgentVpcListResponse.new
|
1450
|
+
model.deserialize(response['Response'])
|
1451
|
+
model
|
1452
|
+
else
|
1453
|
+
code = response['Response']['Error']['Code']
|
1454
|
+
message = response['Response']['Error']['Message']
|
1455
|
+
reqid = response['Response']['RequestId']
|
1456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1457
|
+
end
|
1458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1459
|
+
raise e
|
1460
|
+
rescue StandardError => e
|
1461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
# 获取TKE集群列表
|
1465
|
+
|
1466
|
+
# @param request: Request instance for DescribeInLongTkeClusterList.
|
1467
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeInLongTkeClusterListRequest`
|
1468
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeInLongTkeClusterListResponse`
|
1469
|
+
def DescribeInLongTkeClusterList(request)
|
1470
|
+
body = send_request('DescribeInLongTkeClusterList', request.serialize)
|
1471
|
+
response = JSON.parse(body)
|
1472
|
+
if response['Response'].key?('Error') == false
|
1473
|
+
model = DescribeInLongTkeClusterListResponse.new
|
1474
|
+
model.deserialize(response['Response'])
|
1475
|
+
model
|
1476
|
+
else
|
1477
|
+
code = response['Response']['Error']['Code']
|
1478
|
+
message = response['Response']['Error']['Message']
|
1479
|
+
reqid = response['Response']['RequestId']
|
1480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1481
|
+
end
|
1482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1483
|
+
raise e
|
1484
|
+
rescue StandardError => e
|
1485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
# 日志获取详情页面
|
1489
|
+
|
1490
|
+
# @param request: Request instance for DescribeInstanceLastLog.
|
1491
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceLastLogRequest`
|
1492
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceLastLogResponse`
|
1493
|
+
def DescribeInstanceLastLog(request)
|
1494
|
+
body = send_request('DescribeInstanceLastLog', request.serialize)
|
1495
|
+
response = JSON.parse(body)
|
1496
|
+
if response['Response'].key?('Error') == false
|
1497
|
+
model = DescribeInstanceLastLogResponse.new
|
1498
|
+
model.deserialize(response['Response'])
|
1499
|
+
model
|
1500
|
+
else
|
1501
|
+
code = response['Response']['Error']['Code']
|
1502
|
+
message = response['Response']['Error']['Message']
|
1503
|
+
reqid = response['Response']['RequestId']
|
1504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1505
|
+
end
|
1506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1507
|
+
raise e
|
1508
|
+
rescue StandardError => e
|
1509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
# 获取实例列表
|
1513
|
+
|
1514
|
+
# @param request: Request instance for DescribeInstanceList.
|
1515
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceListRequest`
|
1516
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceListResponse`
|
1517
|
+
def DescribeInstanceList(request)
|
1518
|
+
body = send_request('DescribeInstanceList', request.serialize)
|
1519
|
+
response = JSON.parse(body)
|
1520
|
+
if response['Response'].key?('Error') == false
|
1521
|
+
model = DescribeInstanceListResponse.new
|
1522
|
+
model.deserialize(response['Response'])
|
1523
|
+
model
|
1524
|
+
else
|
1525
|
+
code = response['Response']['Error']['Code']
|
1526
|
+
message = response['Response']['Error']['Message']
|
1527
|
+
reqid = response['Response']['RequestId']
|
1528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1529
|
+
end
|
1530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1531
|
+
raise e
|
1532
|
+
rescue StandardError => e
|
1533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
# 获取实例运行日志
|
1537
|
+
|
1538
|
+
# @param request: Request instance for DescribeInstanceLog.
|
1539
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceLogRequest`
|
1540
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceLogResponse`
|
1541
|
+
def DescribeInstanceLog(request)
|
1542
|
+
body = send_request('DescribeInstanceLog', request.serialize)
|
1543
|
+
response = JSON.parse(body)
|
1544
|
+
if response['Response'].key?('Error') == false
|
1545
|
+
model = DescribeInstanceLogResponse.new
|
1546
|
+
model.deserialize(response['Response'])
|
1547
|
+
model
|
1548
|
+
else
|
1549
|
+
code = response['Response']['Error']['Code']
|
1550
|
+
message = response['Response']['Error']['Message']
|
1551
|
+
reqid = response['Response']['RequestId']
|
1552
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1553
|
+
end
|
1554
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1555
|
+
raise e
|
1556
|
+
rescue StandardError => e
|
1557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1558
|
+
end
|
1559
|
+
|
1560
|
+
# 离线任务实例运行日志列表
|
1561
|
+
|
1562
|
+
# @param request: Request instance for DescribeInstanceLogList.
|
1563
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceLogListRequest`
|
1564
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceLogListResponse`
|
1565
|
+
def DescribeInstanceLogList(request)
|
1566
|
+
body = send_request('DescribeInstanceLogList', request.serialize)
|
1567
|
+
response = JSON.parse(body)
|
1568
|
+
if response['Response'].key?('Error') == false
|
1569
|
+
model = DescribeInstanceLogListResponse.new
|
1570
|
+
model.deserialize(response['Response'])
|
1571
|
+
model
|
1572
|
+
else
|
1573
|
+
code = response['Response']['Error']['Code']
|
1574
|
+
message = response['Response']['Error']['Message']
|
1575
|
+
reqid = response['Response']['RequestId']
|
1576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1577
|
+
end
|
1578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1579
|
+
raise e
|
1580
|
+
rescue StandardError => e
|
1581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1585
|
+
# 获取实例日志列表
|
1586
|
+
|
1587
|
+
# @param request: Request instance for DescribeInstanceLogs.
|
1588
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceLogsRequest`
|
1589
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeInstanceLogsResponse`
|
1590
|
+
def DescribeInstanceLogs(request)
|
1591
|
+
body = send_request('DescribeInstanceLogs', request.serialize)
|
1592
|
+
response = JSON.parse(body)
|
1593
|
+
if response['Response'].key?('Error') == false
|
1594
|
+
model = DescribeInstanceLogsResponse.new
|
1595
|
+
model.deserialize(response['Response'])
|
1596
|
+
model
|
1597
|
+
else
|
1598
|
+
code = response['Response']['Error']['Code']
|
1599
|
+
message = response['Response']['Error']['Message']
|
1600
|
+
reqid = response['Response']['RequestId']
|
1601
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1602
|
+
end
|
1603
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1604
|
+
raise e
|
1605
|
+
rescue StandardError => e
|
1606
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
# 查询集成节点
|
1610
|
+
|
1611
|
+
# @param request: Request instance for DescribeIntegrationNode.
|
1612
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationNodeRequest`
|
1613
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationNodeResponse`
|
1614
|
+
def DescribeIntegrationNode(request)
|
1615
|
+
body = send_request('DescribeIntegrationNode', request.serialize)
|
1616
|
+
response = JSON.parse(body)
|
1617
|
+
if response['Response'].key?('Error') == false
|
1618
|
+
model = DescribeIntegrationNodeResponse.new
|
1619
|
+
model.deserialize(response['Response'])
|
1620
|
+
model
|
1621
|
+
else
|
1622
|
+
code = response['Response']['Error']['Code']
|
1623
|
+
message = response['Response']['Error']['Message']
|
1624
|
+
reqid = response['Response']['RequestId']
|
1625
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1626
|
+
end
|
1627
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1628
|
+
raise e
|
1629
|
+
rescue StandardError => e
|
1630
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
# 数据集成大屏概览
|
1634
|
+
|
1635
|
+
# @param request: Request instance for DescribeIntegrationStatistics.
|
1636
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsRequest`
|
1637
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsResponse`
|
1638
|
+
def DescribeIntegrationStatistics(request)
|
1639
|
+
body = send_request('DescribeIntegrationStatistics', request.serialize)
|
1640
|
+
response = JSON.parse(body)
|
1641
|
+
if response['Response'].key?('Error') == false
|
1642
|
+
model = DescribeIntegrationStatisticsResponse.new
|
1643
|
+
model.deserialize(response['Response'])
|
1644
|
+
model
|
1645
|
+
else
|
1646
|
+
code = response['Response']['Error']['Code']
|
1647
|
+
message = response['Response']['Error']['Message']
|
1648
|
+
reqid = response['Response']['RequestId']
|
1649
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1650
|
+
end
|
1651
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1652
|
+
raise e
|
1653
|
+
rescue StandardError => e
|
1654
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1655
|
+
end
|
1656
|
+
|
1657
|
+
# 数据集成大屏采集器状态分布统计
|
1658
|
+
|
1659
|
+
# @param request: Request instance for DescribeIntegrationStatisticsAgentStatus.
|
1660
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsAgentStatusRequest`
|
1661
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsAgentStatusResponse`
|
1662
|
+
def DescribeIntegrationStatisticsAgentStatus(request)
|
1663
|
+
body = send_request('DescribeIntegrationStatisticsAgentStatus', request.serialize)
|
1664
|
+
response = JSON.parse(body)
|
1665
|
+
if response['Response'].key?('Error') == false
|
1666
|
+
model = DescribeIntegrationStatisticsAgentStatusResponse.new
|
1667
|
+
model.deserialize(response['Response'])
|
1668
|
+
model
|
1669
|
+
else
|
1670
|
+
code = response['Response']['Error']['Code']
|
1671
|
+
message = response['Response']['Error']['Message']
|
1672
|
+
reqid = response['Response']['RequestId']
|
1673
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1674
|
+
end
|
1675
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1676
|
+
raise e
|
1677
|
+
rescue StandardError => e
|
1678
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
# 数据集成大屏实例状态统计趋势
|
1682
|
+
|
1683
|
+
# @param request: Request instance for DescribeIntegrationStatisticsInstanceTrend.
|
1684
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsInstanceTrendRequest`
|
1685
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsInstanceTrendResponse`
|
1686
|
+
def DescribeIntegrationStatisticsInstanceTrend(request)
|
1687
|
+
body = send_request('DescribeIntegrationStatisticsInstanceTrend', request.serialize)
|
1688
|
+
response = JSON.parse(body)
|
1689
|
+
if response['Response'].key?('Error') == false
|
1690
|
+
model = DescribeIntegrationStatisticsInstanceTrendResponse.new
|
1691
|
+
model.deserialize(response['Response'])
|
1692
|
+
model
|
1693
|
+
else
|
1694
|
+
code = response['Response']['Error']['Code']
|
1695
|
+
message = response['Response']['Error']['Message']
|
1696
|
+
reqid = response['Response']['RequestId']
|
1697
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1698
|
+
end
|
1699
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1700
|
+
raise e
|
1701
|
+
rescue StandardError => e
|
1702
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# 数据集成大屏同步条数统计趋势
|
1706
|
+
|
1707
|
+
# @param request: Request instance for DescribeIntegrationStatisticsRecordsTrend.
|
1708
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsRecordsTrendRequest`
|
1709
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsRecordsTrendResponse`
|
1710
|
+
def DescribeIntegrationStatisticsRecordsTrend(request)
|
1711
|
+
body = send_request('DescribeIntegrationStatisticsRecordsTrend', request.serialize)
|
1712
|
+
response = JSON.parse(body)
|
1713
|
+
if response['Response'].key?('Error') == false
|
1714
|
+
model = DescribeIntegrationStatisticsRecordsTrendResponse.new
|
1715
|
+
model.deserialize(response['Response'])
|
1716
|
+
model
|
1717
|
+
else
|
1718
|
+
code = response['Response']['Error']['Code']
|
1719
|
+
message = response['Response']['Error']['Message']
|
1720
|
+
reqid = response['Response']['RequestId']
|
1721
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1722
|
+
end
|
1723
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1724
|
+
raise e
|
1725
|
+
rescue StandardError => e
|
1726
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
# 数据集成大屏任务状态分布统计
|
1730
|
+
|
1731
|
+
# @param request: Request instance for DescribeIntegrationStatisticsTaskStatus.
|
1732
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsTaskStatusRequest`
|
1733
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsTaskStatusResponse`
|
1734
|
+
def DescribeIntegrationStatisticsTaskStatus(request)
|
1735
|
+
body = send_request('DescribeIntegrationStatisticsTaskStatus', request.serialize)
|
1736
|
+
response = JSON.parse(body)
|
1737
|
+
if response['Response'].key?('Error') == false
|
1738
|
+
model = DescribeIntegrationStatisticsTaskStatusResponse.new
|
1739
|
+
model.deserialize(response['Response'])
|
1740
|
+
model
|
1741
|
+
else
|
1742
|
+
code = response['Response']['Error']['Code']
|
1743
|
+
message = response['Response']['Error']['Message']
|
1744
|
+
reqid = response['Response']['RequestId']
|
1745
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1746
|
+
end
|
1747
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1748
|
+
raise e
|
1749
|
+
rescue StandardError => e
|
1750
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
# 数据集成大屏任务状态统计趋势
|
1754
|
+
|
1755
|
+
# @param request: Request instance for DescribeIntegrationStatisticsTaskStatusTrend.
|
1756
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsTaskStatusTrendRequest`
|
1757
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationStatisticsTaskStatusTrendResponse`
|
1758
|
+
def DescribeIntegrationStatisticsTaskStatusTrend(request)
|
1759
|
+
body = send_request('DescribeIntegrationStatisticsTaskStatusTrend', request.serialize)
|
1760
|
+
response = JSON.parse(body)
|
1761
|
+
if response['Response'].key?('Error') == false
|
1762
|
+
model = DescribeIntegrationStatisticsTaskStatusTrendResponse.new
|
1763
|
+
model.deserialize(response['Response'])
|
1764
|
+
model
|
1765
|
+
else
|
1766
|
+
code = response['Response']['Error']['Code']
|
1767
|
+
message = response['Response']['Error']['Message']
|
1768
|
+
reqid = response['Response']['RequestId']
|
1769
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1770
|
+
end
|
1771
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1772
|
+
raise e
|
1773
|
+
rescue StandardError => e
|
1774
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# 查询集成任务
|
1778
|
+
|
1779
|
+
# @param request: Request instance for DescribeIntegrationTask.
|
1780
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationTaskRequest`
|
1781
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationTaskResponse`
|
1782
|
+
def DescribeIntegrationTask(request)
|
1783
|
+
body = send_request('DescribeIntegrationTask', request.serialize)
|
1784
|
+
response = JSON.parse(body)
|
1785
|
+
if response['Response'].key?('Error') == false
|
1786
|
+
model = DescribeIntegrationTaskResponse.new
|
1787
|
+
model.deserialize(response['Response'])
|
1788
|
+
model
|
1789
|
+
else
|
1790
|
+
code = response['Response']['Error']['Code']
|
1791
|
+
message = response['Response']['Error']['Message']
|
1792
|
+
reqid = response['Response']['RequestId']
|
1793
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1794
|
+
end
|
1795
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1796
|
+
raise e
|
1797
|
+
rescue StandardError => e
|
1798
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1799
|
+
end
|
1800
|
+
|
1801
|
+
# 查询集成任务列表
|
1802
|
+
|
1803
|
+
# @param request: Request instance for DescribeIntegrationTasks.
|
1804
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationTasksRequest`
|
1805
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationTasksResponse`
|
1806
|
+
def DescribeIntegrationTasks(request)
|
1807
|
+
body = send_request('DescribeIntegrationTasks', request.serialize)
|
1808
|
+
response = JSON.parse(body)
|
1809
|
+
if response['Response'].key?('Error') == false
|
1810
|
+
model = DescribeIntegrationTasksResponse.new
|
1811
|
+
model.deserialize(response['Response'])
|
1812
|
+
model
|
1813
|
+
else
|
1814
|
+
code = response['Response']['Error']['Code']
|
1815
|
+
message = response['Response']['Error']['Message']
|
1816
|
+
reqid = response['Response']['RequestId']
|
1817
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1818
|
+
end
|
1819
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1820
|
+
raise e
|
1821
|
+
rescue StandardError => e
|
1822
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1823
|
+
end
|
1824
|
+
|
1825
|
+
# 查询集成任务版本节点信息
|
1826
|
+
|
1827
|
+
# @param request: Request instance for DescribeIntegrationVersionNodesInfo.
|
1828
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationVersionNodesInfoRequest`
|
1829
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeIntegrationVersionNodesInfoResponse`
|
1830
|
+
def DescribeIntegrationVersionNodesInfo(request)
|
1831
|
+
body = send_request('DescribeIntegrationVersionNodesInfo', request.serialize)
|
1832
|
+
response = JSON.parse(body)
|
1833
|
+
if response['Response'].key?('Error') == false
|
1834
|
+
model = DescribeIntegrationVersionNodesInfoResponse.new
|
1835
|
+
model.deserialize(response['Response'])
|
1836
|
+
model
|
1837
|
+
else
|
1838
|
+
code = response['Response']['Error']['Code']
|
1839
|
+
message = response['Response']['Error']['Message']
|
1840
|
+
reqid = response['Response']['RequestId']
|
1841
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1842
|
+
end
|
1843
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1844
|
+
raise e
|
1845
|
+
rescue StandardError => e
|
1846
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
# 获取kafka的topic信息
|
1850
|
+
|
1851
|
+
# @param request: Request instance for DescribeKafkaTopicInfo.
|
1852
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeKafkaTopicInfoRequest`
|
1853
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeKafkaTopicInfoResponse`
|
1854
|
+
def DescribeKafkaTopicInfo(request)
|
1855
|
+
body = send_request('DescribeKafkaTopicInfo', request.serialize)
|
1856
|
+
response = JSON.parse(body)
|
1857
|
+
if response['Response'].key?('Error') == false
|
1858
|
+
model = DescribeKafkaTopicInfoResponse.new
|
1859
|
+
model.deserialize(response['Response'])
|
1860
|
+
model
|
1861
|
+
else
|
1862
|
+
code = response['Response']['Error']['Code']
|
1863
|
+
message = response['Response']['Error']['Message']
|
1864
|
+
reqid = response['Response']['RequestId']
|
1865
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1866
|
+
end
|
1867
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1868
|
+
raise e
|
1869
|
+
rescue StandardError => e
|
1870
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
# 获取离线任务长连接Token
|
1874
|
+
|
1875
|
+
# @param request: Request instance for DescribeOfflineTaskToken.
|
1876
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeOfflineTaskTokenRequest`
|
1877
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeOfflineTaskTokenResponse`
|
1878
|
+
def DescribeOfflineTaskToken(request)
|
1879
|
+
body = send_request('DescribeOfflineTaskToken', request.serialize)
|
1880
|
+
response = JSON.parse(body)
|
1881
|
+
if response['Response'].key?('Error') == false
|
1882
|
+
model = DescribeOfflineTaskTokenResponse.new
|
1883
|
+
model.deserialize(response['Response'])
|
1884
|
+
model
|
1885
|
+
else
|
1886
|
+
code = response['Response']['Error']['Code']
|
1887
|
+
message = response['Response']['Error']['Message']
|
1888
|
+
reqid = response['Response']['RequestId']
|
1889
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1890
|
+
end
|
1891
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1892
|
+
raise e
|
1893
|
+
rescue StandardError => e
|
1894
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
# 查询全量函数
|
1898
|
+
|
1899
|
+
# @param request: Request instance for DescribeOrganizationalFunctions.
|
1900
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeOrganizationalFunctionsRequest`
|
1901
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeOrganizationalFunctionsResponse`
|
1902
|
+
def DescribeOrganizationalFunctions(request)
|
1903
|
+
body = send_request('DescribeOrganizationalFunctions', request.serialize)
|
1904
|
+
response = JSON.parse(body)
|
1905
|
+
if response['Response'].key?('Error') == false
|
1906
|
+
model = DescribeOrganizationalFunctionsResponse.new
|
1907
|
+
model.deserialize(response['Response'])
|
1908
|
+
model
|
1909
|
+
else
|
1910
|
+
code = response['Response']['Error']['Code']
|
1911
|
+
message = response['Response']['Error']['Message']
|
1912
|
+
reqid = response['Response']['RequestId']
|
1913
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1914
|
+
end
|
1915
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1916
|
+
raise e
|
1917
|
+
rescue StandardError => e
|
1918
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
# 获取项目信息
|
1922
|
+
|
1923
|
+
# @param request: Request instance for DescribeProject.
|
1924
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeProjectRequest`
|
1925
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeProjectResponse`
|
1926
|
+
def DescribeProject(request)
|
1927
|
+
body = send_request('DescribeProject', request.serialize)
|
1928
|
+
response = JSON.parse(body)
|
1929
|
+
if response['Response'].key?('Error') == false
|
1930
|
+
model = DescribeProjectResponse.new
|
1931
|
+
model.deserialize(response['Response'])
|
1932
|
+
model
|
1933
|
+
else
|
1934
|
+
code = response['Response']['Error']['Code']
|
1935
|
+
message = response['Response']['Error']['Message']
|
1936
|
+
reqid = response['Response']['RequestId']
|
1937
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1938
|
+
end
|
1939
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1940
|
+
raise e
|
1941
|
+
rescue StandardError => e
|
1942
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1943
|
+
end
|
1944
|
+
|
1945
|
+
# 查询实时任务实例节点信息
|
1946
|
+
|
1947
|
+
# @param request: Request instance for DescribeRealTimeTaskInstanceNodeInfo.
|
1948
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeRealTimeTaskInstanceNodeInfoRequest`
|
1949
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeRealTimeTaskInstanceNodeInfoResponse`
|
1950
|
+
def DescribeRealTimeTaskInstanceNodeInfo(request)
|
1951
|
+
body = send_request('DescribeRealTimeTaskInstanceNodeInfo', request.serialize)
|
1952
|
+
response = JSON.parse(body)
|
1953
|
+
if response['Response'].key?('Error') == false
|
1954
|
+
model = DescribeRealTimeTaskInstanceNodeInfoResponse.new
|
1955
|
+
model.deserialize(response['Response'])
|
1956
|
+
model
|
1957
|
+
else
|
1958
|
+
code = response['Response']['Error']['Code']
|
1959
|
+
message = response['Response']['Error']['Message']
|
1960
|
+
reqid = response['Response']['RequestId']
|
1961
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1962
|
+
end
|
1963
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1964
|
+
raise e
|
1965
|
+
rescue StandardError => e
|
1966
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
# 实时任务运行指标概览
|
1970
|
+
|
1971
|
+
# @param request: Request instance for DescribeRealTimeTaskMetricOverview.
|
1972
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeRealTimeTaskMetricOverviewRequest`
|
1973
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeRealTimeTaskMetricOverviewResponse`
|
1974
|
+
def DescribeRealTimeTaskMetricOverview(request)
|
1975
|
+
body = send_request('DescribeRealTimeTaskMetricOverview', request.serialize)
|
1976
|
+
response = JSON.parse(body)
|
1977
|
+
if response['Response'].key?('Error') == false
|
1978
|
+
model = DescribeRealTimeTaskMetricOverviewResponse.new
|
1979
|
+
model.deserialize(response['Response'])
|
1980
|
+
model
|
1981
|
+
else
|
1982
|
+
code = response['Response']['Error']['Code']
|
1983
|
+
message = response['Response']['Error']['Message']
|
1984
|
+
reqid = response['Response']['RequestId']
|
1985
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1986
|
+
end
|
1987
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1988
|
+
raise e
|
1989
|
+
rescue StandardError => e
|
1990
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1991
|
+
end
|
1992
|
+
|
1993
|
+
# 实时任务同步速度趋势
|
1994
|
+
|
1995
|
+
# @param request: Request instance for DescribeRealTimeTaskSpeed.
|
1996
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeRealTimeTaskSpeedRequest`
|
1997
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeRealTimeTaskSpeedResponse`
|
1998
|
+
def DescribeRealTimeTaskSpeed(request)
|
1999
|
+
body = send_request('DescribeRealTimeTaskSpeed', request.serialize)
|
2000
|
+
response = JSON.parse(body)
|
2001
|
+
if response['Response'].key?('Error') == false
|
2002
|
+
model = DescribeRealTimeTaskSpeedResponse.new
|
2003
|
+
model.deserialize(response['Response'])
|
2004
|
+
model
|
2005
|
+
else
|
2006
|
+
code = response['Response']['Error']['Code']
|
2007
|
+
message = response['Response']['Error']['Message']
|
2008
|
+
reqid = response['Response']['RequestId']
|
2009
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2010
|
+
end
|
2011
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2012
|
+
raise e
|
2013
|
+
rescue StandardError => e
|
2014
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
# 查询任务实例的关联实例列表
|
2018
|
+
|
2019
|
+
# @param request: Request instance for DescribeRelatedInstances.
|
2020
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeRelatedInstancesRequest`
|
2021
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeRelatedInstancesResponse`
|
2022
|
+
def DescribeRelatedInstances(request)
|
2023
|
+
body = send_request('DescribeRelatedInstances', request.serialize)
|
2024
|
+
response = JSON.parse(body)
|
2025
|
+
if response['Response'].key?('Error') == false
|
2026
|
+
model = DescribeRelatedInstancesResponse.new
|
2027
|
+
model.deserialize(response['Response'])
|
2028
|
+
model
|
2029
|
+
else
|
2030
|
+
code = response['Response']['Error']['Code']
|
2031
|
+
message = response['Response']['Error']['Message']
|
2032
|
+
reqid = response['Response']['RequestId']
|
2033
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2034
|
+
end
|
2035
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2036
|
+
raise e
|
2037
|
+
rescue StandardError => e
|
2038
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
# 获取资源管理目录树
|
2042
|
+
|
2043
|
+
# @param request: Request instance for DescribeResourceManagePathTrees.
|
2044
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeResourceManagePathTreesRequest`
|
2045
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeResourceManagePathTreesResponse`
|
2046
|
+
def DescribeResourceManagePathTrees(request)
|
2047
|
+
body = send_request('DescribeResourceManagePathTrees', request.serialize)
|
2048
|
+
response = JSON.parse(body)
|
2049
|
+
if response['Response'].key?('Error') == false
|
2050
|
+
model = DescribeResourceManagePathTreesResponse.new
|
2051
|
+
model.deserialize(response['Response'])
|
2052
|
+
model
|
2053
|
+
else
|
2054
|
+
code = response['Response']['Error']['Code']
|
2055
|
+
message = response['Response']['Error']['Message']
|
2056
|
+
reqid = response['Response']['RequestId']
|
2057
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2058
|
+
end
|
2059
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2060
|
+
raise e
|
2061
|
+
rescue StandardError => e
|
2062
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
# 获取数据标准规则详情
|
2066
|
+
|
2067
|
+
# @param request: Request instance for DescribeStandardRuleDetailInfoList.
|
2068
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeStandardRuleDetailInfoListRequest`
|
2069
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeStandardRuleDetailInfoListResponse`
|
2070
|
+
def DescribeStandardRuleDetailInfoList(request)
|
2071
|
+
body = send_request('DescribeStandardRuleDetailInfoList', request.serialize)
|
2072
|
+
response = JSON.parse(body)
|
2073
|
+
if response['Response'].key?('Error') == false
|
2074
|
+
model = DescribeStandardRuleDetailInfoListResponse.new
|
2075
|
+
model.deserialize(response['Response'])
|
2076
|
+
model
|
2077
|
+
else
|
2078
|
+
code = response['Response']['Error']['Code']
|
2079
|
+
message = response['Response']['Error']['Message']
|
2080
|
+
reqid = response['Response']['RequestId']
|
2081
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2082
|
+
end
|
2083
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2084
|
+
raise e
|
2085
|
+
rescue StandardError => e
|
2086
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2087
|
+
end
|
2088
|
+
|
2089
|
+
# 查询实时任务日志列表
|
2090
|
+
|
2091
|
+
# @param request: Request instance for DescribeStreamTaskLogList.
|
2092
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeStreamTaskLogListRequest`
|
2093
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeStreamTaskLogListResponse`
|
2094
|
+
def DescribeStreamTaskLogList(request)
|
2095
|
+
body = send_request('DescribeStreamTaskLogList', request.serialize)
|
2096
|
+
response = JSON.parse(body)
|
2097
|
+
if response['Response'].key?('Error') == false
|
2098
|
+
model = DescribeStreamTaskLogListResponse.new
|
2099
|
+
model.deserialize(response['Response'])
|
2100
|
+
model
|
2101
|
+
else
|
2102
|
+
code = response['Response']['Error']['Code']
|
2103
|
+
message = response['Response']['Error']['Message']
|
2104
|
+
reqid = response['Response']['RequestId']
|
2105
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2106
|
+
end
|
2107
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2108
|
+
raise e
|
2109
|
+
rescue StandardError => e
|
2110
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2111
|
+
end
|
2112
|
+
|
2113
|
+
# 获取数据表信息
|
2114
|
+
|
2115
|
+
# @param request: Request instance for DescribeTableInfoList.
|
2116
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTableInfoListRequest`
|
2117
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTableInfoListResponse`
|
2118
|
+
def DescribeTableInfoList(request)
|
2119
|
+
body = send_request('DescribeTableInfoList', request.serialize)
|
2120
|
+
response = JSON.parse(body)
|
2121
|
+
if response['Response'].key?('Error') == false
|
2122
|
+
model = DescribeTableInfoListResponse.new
|
2123
|
+
model.deserialize(response['Response'])
|
2124
|
+
model
|
2125
|
+
else
|
2126
|
+
code = response['Response']['Error']['Code']
|
2127
|
+
message = response['Response']['Error']['Message']
|
2128
|
+
reqid = response['Response']['RequestId']
|
2129
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2130
|
+
end
|
2131
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2132
|
+
raise e
|
2133
|
+
rescue StandardError => e
|
2134
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2135
|
+
end
|
2136
|
+
|
2137
|
+
# 获取表schema信息
|
2138
|
+
|
2139
|
+
# @param request: Request instance for DescribeTableSchemaInfo.
|
2140
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTableSchemaInfoRequest`
|
2141
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTableSchemaInfoResponse`
|
2142
|
+
def DescribeTableSchemaInfo(request)
|
2143
|
+
body = send_request('DescribeTableSchemaInfo', request.serialize)
|
2144
|
+
response = JSON.parse(body)
|
2145
|
+
if response['Response'].key?('Error') == false
|
2146
|
+
model = DescribeTableSchemaInfoResponse.new
|
2147
|
+
model.deserialize(response['Response'])
|
2148
|
+
model
|
2149
|
+
else
|
2150
|
+
code = response['Response']['Error']['Code']
|
2151
|
+
message = response['Response']['Error']['Message']
|
2152
|
+
reqid = response['Response']['RequestId']
|
2153
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2154
|
+
end
|
2155
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2156
|
+
raise e
|
2157
|
+
rescue StandardError => e
|
2158
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2159
|
+
end
|
2160
|
+
|
2161
|
+
# 查询任务告警规则列表
|
2162
|
+
|
2163
|
+
# @param request: Request instance for DescribeTaskAlarmRegulations.
|
2164
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTaskAlarmRegulationsRequest`
|
2165
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTaskAlarmRegulationsResponse`
|
2166
|
+
def DescribeTaskAlarmRegulations(request)
|
2167
|
+
body = send_request('DescribeTaskAlarmRegulations', request.serialize)
|
2168
|
+
response = JSON.parse(body)
|
2169
|
+
if response['Response'].key?('Error') == false
|
2170
|
+
model = DescribeTaskAlarmRegulationsResponse.new
|
2171
|
+
model.deserialize(response['Response'])
|
2172
|
+
model
|
2173
|
+
else
|
2174
|
+
code = response['Response']['Error']['Code']
|
2175
|
+
message = response['Response']['Error']['Message']
|
2176
|
+
reqid = response['Response']['RequestId']
|
2177
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2178
|
+
end
|
2179
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2180
|
+
raise e
|
2181
|
+
rescue StandardError => e
|
2182
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2183
|
+
end
|
2184
|
+
|
2185
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
2186
|
+
# 查询任务具体详情
|
2187
|
+
|
2188
|
+
# @param request: Request instance for DescribeTaskDetail.
|
2189
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTaskDetailRequest`
|
2190
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTaskDetailResponse`
|
2191
|
+
def DescribeTaskDetail(request)
|
2192
|
+
body = send_request('DescribeTaskDetail', request.serialize)
|
705
2193
|
response = JSON.parse(body)
|
706
2194
|
if response['Response'].key?('Error') == false
|
707
2195
|
model = DescribeTaskDetailResponse.new
|
@@ -719,6 +2207,54 @@ module TencentCloud
|
|
719
2207
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
720
2208
|
end
|
721
2209
|
|
2210
|
+
# 离线任务实例详情
|
2211
|
+
|
2212
|
+
# @param request: Request instance for DescribeTaskInstance.
|
2213
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTaskInstanceRequest`
|
2214
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTaskInstanceResponse`
|
2215
|
+
def DescribeTaskInstance(request)
|
2216
|
+
body = send_request('DescribeTaskInstance', request.serialize)
|
2217
|
+
response = JSON.parse(body)
|
2218
|
+
if response['Response'].key?('Error') == false
|
2219
|
+
model = DescribeTaskInstanceResponse.new
|
2220
|
+
model.deserialize(response['Response'])
|
2221
|
+
model
|
2222
|
+
else
|
2223
|
+
code = response['Response']['Error']['Code']
|
2224
|
+
message = response['Response']['Error']['Message']
|
2225
|
+
reqid = response['Response']['RequestId']
|
2226
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2227
|
+
end
|
2228
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2229
|
+
raise e
|
2230
|
+
rescue StandardError => e
|
2231
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2232
|
+
end
|
2233
|
+
|
2234
|
+
# 离线任务实例统计明细
|
2235
|
+
|
2236
|
+
# @param request: Request instance for DescribeTaskInstanceReportDetail.
|
2237
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTaskInstanceReportDetailRequest`
|
2238
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTaskInstanceReportDetailResponse`
|
2239
|
+
def DescribeTaskInstanceReportDetail(request)
|
2240
|
+
body = send_request('DescribeTaskInstanceReportDetail', request.serialize)
|
2241
|
+
response = JSON.parse(body)
|
2242
|
+
if response['Response'].key?('Error') == false
|
2243
|
+
model = DescribeTaskInstanceReportDetailResponse.new
|
2244
|
+
model.deserialize(response['Response'])
|
2245
|
+
model
|
2246
|
+
else
|
2247
|
+
code = response['Response']['Error']['Code']
|
2248
|
+
message = response['Response']['Error']['Message']
|
2249
|
+
reqid = response['Response']['RequestId']
|
2250
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2251
|
+
end
|
2252
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2253
|
+
raise e
|
2254
|
+
rescue StandardError => e
|
2255
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2256
|
+
end
|
2257
|
+
|
722
2258
|
# 查询任务实例列表
|
723
2259
|
|
724
2260
|
# @param request: Request instance for DescribeTaskInstances.
|
@@ -743,6 +2279,78 @@ module TencentCloud
|
|
743
2279
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
744
2280
|
end
|
745
2281
|
|
2282
|
+
# 查看任务锁状态信息
|
2283
|
+
|
2284
|
+
# @param request: Request instance for DescribeTaskLockStatus.
|
2285
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTaskLockStatusRequest`
|
2286
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTaskLockStatusResponse`
|
2287
|
+
def DescribeTaskLockStatus(request)
|
2288
|
+
body = send_request('DescribeTaskLockStatus', request.serialize)
|
2289
|
+
response = JSON.parse(body)
|
2290
|
+
if response['Response'].key?('Error') == false
|
2291
|
+
model = DescribeTaskLockStatusResponse.new
|
2292
|
+
model.deserialize(response['Response'])
|
2293
|
+
model
|
2294
|
+
else
|
2295
|
+
code = response['Response']['Error']['Code']
|
2296
|
+
message = response['Response']['Error']['Message']
|
2297
|
+
reqid = response['Response']['RequestId']
|
2298
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2299
|
+
end
|
2300
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2301
|
+
raise e
|
2302
|
+
rescue StandardError => e
|
2303
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2304
|
+
end
|
2305
|
+
|
2306
|
+
# 按起止日期统计离线任务的所有实例的运行指标总和
|
2307
|
+
|
2308
|
+
# @param request: Request instance for DescribeTaskReport.
|
2309
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTaskReportRequest`
|
2310
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTaskReportResponse`
|
2311
|
+
def DescribeTaskReport(request)
|
2312
|
+
body = send_request('DescribeTaskReport', request.serialize)
|
2313
|
+
response = JSON.parse(body)
|
2314
|
+
if response['Response'].key?('Error') == false
|
2315
|
+
model = DescribeTaskReportResponse.new
|
2316
|
+
model.deserialize(response['Response'])
|
2317
|
+
model
|
2318
|
+
else
|
2319
|
+
code = response['Response']['Error']['Code']
|
2320
|
+
message = response['Response']['Error']['Message']
|
2321
|
+
reqid = response['Response']['RequestId']
|
2322
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2323
|
+
end
|
2324
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2325
|
+
raise e
|
2326
|
+
rescue StandardError => e
|
2327
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
# 离线任务周期统计明细
|
2331
|
+
|
2332
|
+
# @param request: Request instance for DescribeTaskReportDetailList.
|
2333
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTaskReportDetailListRequest`
|
2334
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTaskReportDetailListResponse`
|
2335
|
+
def DescribeTaskReportDetailList(request)
|
2336
|
+
body = send_request('DescribeTaskReportDetailList', request.serialize)
|
2337
|
+
response = JSON.parse(body)
|
2338
|
+
if response['Response'].key?('Error') == false
|
2339
|
+
model = DescribeTaskReportDetailListResponse.new
|
2340
|
+
model.deserialize(response['Response'])
|
2341
|
+
model
|
2342
|
+
else
|
2343
|
+
code = response['Response']['Error']['Code']
|
2344
|
+
message = response['Response']['Error']['Message']
|
2345
|
+
reqid = response['Response']['RequestId']
|
2346
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2347
|
+
end
|
2348
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2349
|
+
raise e
|
2350
|
+
rescue StandardError => e
|
2351
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2352
|
+
end
|
2353
|
+
|
746
2354
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
747
2355
|
# 查询任务脚本
|
748
2356
|
|
@@ -793,6 +2401,30 @@ module TencentCloud
|
|
793
2401
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
794
2402
|
end
|
795
2403
|
|
2404
|
+
# 调试运行集成任务
|
2405
|
+
|
2406
|
+
# @param request: Request instance for DryRunDIOfflineTask.
|
2407
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DryRunDIOfflineTaskRequest`
|
2408
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DryRunDIOfflineTaskResponse`
|
2409
|
+
def DryRunDIOfflineTask(request)
|
2410
|
+
body = send_request('DryRunDIOfflineTask', request.serialize)
|
2411
|
+
response = JSON.parse(body)
|
2412
|
+
if response['Response'].key?('Error') == false
|
2413
|
+
model = DryRunDIOfflineTaskResponse.new
|
2414
|
+
model.deserialize(response['Response'])
|
2415
|
+
model
|
2416
|
+
else
|
2417
|
+
code = response['Response']['Error']['Code']
|
2418
|
+
message = response['Response']['Error']['Message']
|
2419
|
+
reqid = response['Response']['RequestId']
|
2420
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2421
|
+
end
|
2422
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2423
|
+
raise e
|
2424
|
+
rescue StandardError => e
|
2425
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2426
|
+
end
|
2427
|
+
|
796
2428
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
797
2429
|
# 实例批量置成功
|
798
2430
|
|
@@ -803,7 +2435,105 @@ module TencentCloud
|
|
803
2435
|
body = send_request('ForceSucInstances', request.serialize)
|
804
2436
|
response = JSON.parse(body)
|
805
2437
|
if response['Response'].key?('Error') == false
|
806
|
-
model = ForceSucInstancesResponse.new
|
2438
|
+
model = ForceSucInstancesResponse.new
|
2439
|
+
model.deserialize(response['Response'])
|
2440
|
+
model
|
2441
|
+
else
|
2442
|
+
code = response['Response']['Error']['Code']
|
2443
|
+
message = response['Response']['Error']['Message']
|
2444
|
+
reqid = response['Response']['RequestId']
|
2445
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2446
|
+
end
|
2447
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2448
|
+
raise e
|
2449
|
+
rescue StandardError => e
|
2450
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2451
|
+
end
|
2452
|
+
|
2453
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
2454
|
+
# 批量冻结任务
|
2455
|
+
|
2456
|
+
# @param request: Request instance for FreezeTasks.
|
2457
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::FreezeTasksRequest`
|
2458
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::FreezeTasksResponse`
|
2459
|
+
def FreezeTasks(request)
|
2460
|
+
body = send_request('FreezeTasks', request.serialize)
|
2461
|
+
response = JSON.parse(body)
|
2462
|
+
if response['Response'].key?('Error') == false
|
2463
|
+
model = FreezeTasksResponse.new
|
2464
|
+
model.deserialize(response['Response'])
|
2465
|
+
model
|
2466
|
+
else
|
2467
|
+
code = response['Response']['Error']['Code']
|
2468
|
+
message = response['Response']['Error']['Message']
|
2469
|
+
reqid = response['Response']['RequestId']
|
2470
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2471
|
+
end
|
2472
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2473
|
+
raise e
|
2474
|
+
rescue StandardError => e
|
2475
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2476
|
+
end
|
2477
|
+
|
2478
|
+
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
2479
|
+
# 基于多个工作流进行批量冻结任务操作
|
2480
|
+
|
2481
|
+
# @param request: Request instance for FreezeTasksByMultiWorkflow.
|
2482
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::FreezeTasksByMultiWorkflowRequest`
|
2483
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::FreezeTasksByMultiWorkflowResponse`
|
2484
|
+
def FreezeTasksByMultiWorkflow(request)
|
2485
|
+
body = send_request('FreezeTasksByMultiWorkflow', request.serialize)
|
2486
|
+
response = JSON.parse(body)
|
2487
|
+
if response['Response'].key?('Error') == false
|
2488
|
+
model = FreezeTasksByMultiWorkflowResponse.new
|
2489
|
+
model.deserialize(response['Response'])
|
2490
|
+
model
|
2491
|
+
else
|
2492
|
+
code = response['Response']['Error']['Code']
|
2493
|
+
message = response['Response']['Error']['Message']
|
2494
|
+
reqid = response['Response']['RequestId']
|
2495
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2496
|
+
end
|
2497
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2498
|
+
raise e
|
2499
|
+
rescue StandardError => e
|
2500
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2501
|
+
end
|
2502
|
+
|
2503
|
+
# 生成建hive表的sql
|
2504
|
+
|
2505
|
+
# @param request: Request instance for GenHiveTableDDLSql.
|
2506
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::GenHiveTableDDLSqlRequest`
|
2507
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::GenHiveTableDDLSqlResponse`
|
2508
|
+
def GenHiveTableDDLSql(request)
|
2509
|
+
body = send_request('GenHiveTableDDLSql', request.serialize)
|
2510
|
+
response = JSON.parse(body)
|
2511
|
+
if response['Response'].key?('Error') == false
|
2512
|
+
model = GenHiveTableDDLSqlResponse.new
|
2513
|
+
model.deserialize(response['Response'])
|
2514
|
+
model
|
2515
|
+
else
|
2516
|
+
code = response['Response']['Error']['Code']
|
2517
|
+
message = response['Response']['Error']['Message']
|
2518
|
+
reqid = response['Response']['RequestId']
|
2519
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2520
|
+
end
|
2521
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2522
|
+
raise e
|
2523
|
+
rescue StandardError => e
|
2524
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2525
|
+
end
|
2526
|
+
|
2527
|
+
# 提取数据集成节点字段Schema
|
2528
|
+
|
2529
|
+
# @param request: Request instance for GetIntegrationNodeColumnSchema.
|
2530
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::GetIntegrationNodeColumnSchemaRequest`
|
2531
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::GetIntegrationNodeColumnSchemaResponse`
|
2532
|
+
def GetIntegrationNodeColumnSchema(request)
|
2533
|
+
body = send_request('GetIntegrationNodeColumnSchema', request.serialize)
|
2534
|
+
response = JSON.parse(body)
|
2535
|
+
if response['Response'].key?('Error') == false
|
2536
|
+
model = GetIntegrationNodeColumnSchemaResponse.new
|
807
2537
|
model.deserialize(response['Response'])
|
808
2538
|
model
|
809
2539
|
else
|
@@ -818,17 +2548,16 @@ module TencentCloud
|
|
818
2548
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
819
2549
|
end
|
820
2550
|
|
821
|
-
#
|
822
|
-
# 批量冻结任务
|
2551
|
+
# 获取离线任务实例列表(新)
|
823
2552
|
|
824
|
-
# @param request: Request instance for
|
825
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
826
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
827
|
-
def
|
828
|
-
body = send_request('
|
2553
|
+
# @param request: Request instance for GetOfflineDIInstanceList.
|
2554
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::GetOfflineDIInstanceListRequest`
|
2555
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::GetOfflineDIInstanceListResponse`
|
2556
|
+
def GetOfflineDIInstanceList(request)
|
2557
|
+
body = send_request('GetOfflineDIInstanceList', request.serialize)
|
829
2558
|
response = JSON.parse(body)
|
830
2559
|
if response['Response'].key?('Error') == false
|
831
|
-
model =
|
2560
|
+
model = GetOfflineDIInstanceListResponse.new
|
832
2561
|
model.deserialize(response['Response'])
|
833
2562
|
model
|
834
2563
|
else
|
@@ -843,17 +2572,16 @@ module TencentCloud
|
|
843
2572
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
844
2573
|
end
|
845
2574
|
|
846
|
-
#
|
847
|
-
# 基于多个工作流进行批量冻结任务操作
|
2575
|
+
# 获取离线任务实例
|
848
2576
|
|
849
|
-
# @param request: Request instance for
|
850
|
-
# @type request: :class:`Tencentcloud::wedata::V20210820::
|
851
|
-
# @rtype: :class:`Tencentcloud::wedata::V20210820::
|
852
|
-
def
|
853
|
-
body = send_request('
|
2577
|
+
# @param request: Request instance for GetOfflineInstanceList.
|
2578
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::GetOfflineInstanceListRequest`
|
2579
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::GetOfflineInstanceListResponse`
|
2580
|
+
def GetOfflineInstanceList(request)
|
2581
|
+
body = send_request('GetOfflineInstanceList', request.serialize)
|
854
2582
|
response = JSON.parse(body)
|
855
2583
|
if response['Response'].key?('Error') == false
|
856
|
-
model =
|
2584
|
+
model = GetOfflineInstanceListResponse.new
|
857
2585
|
model.deserialize(response['Response'])
|
858
2586
|
model
|
859
2587
|
else
|
@@ -893,6 +2621,30 @@ module TencentCloud
|
|
893
2621
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
2622
|
end
|
895
2623
|
|
2624
|
+
# 锁定集成任务
|
2625
|
+
|
2626
|
+
# @param request: Request instance for LockIntegrationTask.
|
2627
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::LockIntegrationTaskRequest`
|
2628
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::LockIntegrationTaskResponse`
|
2629
|
+
def LockIntegrationTask(request)
|
2630
|
+
body = send_request('LockIntegrationTask', request.serialize)
|
2631
|
+
response = JSON.parse(body)
|
2632
|
+
if response['Response'].key?('Error') == false
|
2633
|
+
model = LockIntegrationTaskResponse.new
|
2634
|
+
model.deserialize(response['Response'])
|
2635
|
+
model
|
2636
|
+
else
|
2637
|
+
code = response['Response']['Error']['Code']
|
2638
|
+
message = response['Response']['Error']['Message']
|
2639
|
+
reqid = response['Response']['RequestId']
|
2640
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2641
|
+
end
|
2642
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2643
|
+
raise e
|
2644
|
+
rescue StandardError => e
|
2645
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2646
|
+
end
|
2647
|
+
|
896
2648
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
897
2649
|
# 任务批量补录,调度状态任务才可以补录;
|
898
2650
|
|
@@ -995,6 +2747,78 @@ module TencentCloud
|
|
995
2747
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
996
2748
|
end
|
997
2749
|
|
2750
|
+
# 更新集成节点
|
2751
|
+
|
2752
|
+
# @param request: Request instance for ModifyIntegrationNode.
|
2753
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::ModifyIntegrationNodeRequest`
|
2754
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::ModifyIntegrationNodeResponse`
|
2755
|
+
def ModifyIntegrationNode(request)
|
2756
|
+
body = send_request('ModifyIntegrationNode', request.serialize)
|
2757
|
+
response = JSON.parse(body)
|
2758
|
+
if response['Response'].key?('Error') == false
|
2759
|
+
model = ModifyIntegrationNodeResponse.new
|
2760
|
+
model.deserialize(response['Response'])
|
2761
|
+
model
|
2762
|
+
else
|
2763
|
+
code = response['Response']['Error']['Code']
|
2764
|
+
message = response['Response']['Error']['Message']
|
2765
|
+
reqid = response['Response']['RequestId']
|
2766
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2767
|
+
end
|
2768
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2769
|
+
raise e
|
2770
|
+
rescue StandardError => e
|
2771
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2772
|
+
end
|
2773
|
+
|
2774
|
+
# 更新集成任务
|
2775
|
+
|
2776
|
+
# @param request: Request instance for ModifyIntegrationTask.
|
2777
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::ModifyIntegrationTaskRequest`
|
2778
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::ModifyIntegrationTaskResponse`
|
2779
|
+
def ModifyIntegrationTask(request)
|
2780
|
+
body = send_request('ModifyIntegrationTask', request.serialize)
|
2781
|
+
response = JSON.parse(body)
|
2782
|
+
if response['Response'].key?('Error') == false
|
2783
|
+
model = ModifyIntegrationTaskResponse.new
|
2784
|
+
model.deserialize(response['Response'])
|
2785
|
+
model
|
2786
|
+
else
|
2787
|
+
code = response['Response']['Error']['Code']
|
2788
|
+
message = response['Response']['Error']['Message']
|
2789
|
+
reqid = response['Response']['RequestId']
|
2790
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2791
|
+
end
|
2792
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2793
|
+
raise e
|
2794
|
+
rescue StandardError => e
|
2795
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2796
|
+
end
|
2797
|
+
|
2798
|
+
# 修改任务告警规则
|
2799
|
+
|
2800
|
+
# @param request: Request instance for ModifyTaskAlarmRegular.
|
2801
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::ModifyTaskAlarmRegularRequest`
|
2802
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::ModifyTaskAlarmRegularResponse`
|
2803
|
+
def ModifyTaskAlarmRegular(request)
|
2804
|
+
body = send_request('ModifyTaskAlarmRegular', request.serialize)
|
2805
|
+
response = JSON.parse(body)
|
2806
|
+
if response['Response'].key?('Error') == false
|
2807
|
+
model = ModifyTaskAlarmRegularResponse.new
|
2808
|
+
model.deserialize(response['Response'])
|
2809
|
+
model
|
2810
|
+
else
|
2811
|
+
code = response['Response']['Error']['Code']
|
2812
|
+
message = response['Response']['Error']['Message']
|
2813
|
+
reqid = response['Response']['RequestId']
|
2814
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2815
|
+
end
|
2816
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2817
|
+
raise e
|
2818
|
+
rescue StandardError => e
|
2819
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2820
|
+
end
|
2821
|
+
|
998
2822
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
999
2823
|
# 更新任务
|
1000
2824
|
|
@@ -1045,6 +2869,30 @@ module TencentCloud
|
|
1045
2869
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1046
2870
|
end
|
1047
2871
|
|
2872
|
+
# 重命名任务(任务编辑)
|
2873
|
+
|
2874
|
+
# @param request: Request instance for ModifyTaskName.
|
2875
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::ModifyTaskNameRequest`
|
2876
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::ModifyTaskNameResponse`
|
2877
|
+
def ModifyTaskName(request)
|
2878
|
+
body = send_request('ModifyTaskName', request.serialize)
|
2879
|
+
response = JSON.parse(body)
|
2880
|
+
if response['Response'].key?('Error') == false
|
2881
|
+
model = ModifyTaskNameResponse.new
|
2882
|
+
model.deserialize(response['Response'])
|
2883
|
+
model
|
2884
|
+
else
|
2885
|
+
code = response['Response']['Error']['Code']
|
2886
|
+
message = response['Response']['Error']['Message']
|
2887
|
+
reqid = response['Response']['RequestId']
|
2888
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2889
|
+
end
|
2890
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2891
|
+
raise e
|
2892
|
+
rescue StandardError => e
|
2893
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2894
|
+
end
|
2895
|
+
|
1048
2896
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1049
2897
|
# 修改任务脚本
|
1050
2898
|
|
@@ -1195,6 +3043,78 @@ module TencentCloud
|
|
1195
3043
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1196
3044
|
end
|
1197
3045
|
|
3046
|
+
# 重启采集器
|
3047
|
+
|
3048
|
+
# @param request: Request instance for RestartInLongAgent.
|
3049
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::RestartInLongAgentRequest`
|
3050
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::RestartInLongAgentResponse`
|
3051
|
+
def RestartInLongAgent(request)
|
3052
|
+
body = send_request('RestartInLongAgent', request.serialize)
|
3053
|
+
response = JSON.parse(body)
|
3054
|
+
if response['Response'].key?('Error') == false
|
3055
|
+
model = RestartInLongAgentResponse.new
|
3056
|
+
model.deserialize(response['Response'])
|
3057
|
+
model
|
3058
|
+
else
|
3059
|
+
code = response['Response']['Error']['Code']
|
3060
|
+
message = response['Response']['Error']['Message']
|
3061
|
+
reqid = response['Response']['RequestId']
|
3062
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3063
|
+
end
|
3064
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3065
|
+
raise e
|
3066
|
+
rescue StandardError => e
|
3067
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3068
|
+
end
|
3069
|
+
|
3070
|
+
# 继续集成任务
|
3071
|
+
|
3072
|
+
# @param request: Request instance for ResumeIntegrationTask.
|
3073
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::ResumeIntegrationTaskRequest`
|
3074
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::ResumeIntegrationTaskResponse`
|
3075
|
+
def ResumeIntegrationTask(request)
|
3076
|
+
body = send_request('ResumeIntegrationTask', request.serialize)
|
3077
|
+
response = JSON.parse(body)
|
3078
|
+
if response['Response'].key?('Error') == false
|
3079
|
+
model = ResumeIntegrationTaskResponse.new
|
3080
|
+
model.deserialize(response['Response'])
|
3081
|
+
model
|
3082
|
+
else
|
3083
|
+
code = response['Response']['Error']['Code']
|
3084
|
+
message = response['Response']['Error']['Message']
|
3085
|
+
reqid = response['Response']['RequestId']
|
3086
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3087
|
+
end
|
3088
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3089
|
+
raise e
|
3090
|
+
rescue StandardError => e
|
3091
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3092
|
+
end
|
3093
|
+
|
3094
|
+
# 抢占锁定集成任务
|
3095
|
+
|
3096
|
+
# @param request: Request instance for RobAndLockIntegrationTask.
|
3097
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::RobAndLockIntegrationTaskRequest`
|
3098
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::RobAndLockIntegrationTaskResponse`
|
3099
|
+
def RobAndLockIntegrationTask(request)
|
3100
|
+
body = send_request('RobAndLockIntegrationTask', request.serialize)
|
3101
|
+
response = JSON.parse(body)
|
3102
|
+
if response['Response'].key?('Error') == false
|
3103
|
+
model = RobAndLockIntegrationTaskResponse.new
|
3104
|
+
model.deserialize(response['Response'])
|
3105
|
+
model
|
3106
|
+
else
|
3107
|
+
code = response['Response']['Error']['Code']
|
3108
|
+
message = response['Response']['Error']['Message']
|
3109
|
+
reqid = response['Response']['RequestId']
|
3110
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3111
|
+
end
|
3112
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3113
|
+
raise e
|
3114
|
+
rescue StandardError => e
|
3115
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3116
|
+
end
|
3117
|
+
|
1198
3118
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1199
3119
|
# 运行任务
|
1200
3120
|
|
@@ -1269,6 +3189,54 @@ module TencentCloud
|
|
1269
3189
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1270
3190
|
end
|
1271
3191
|
|
3192
|
+
# 启动集成任务
|
3193
|
+
|
3194
|
+
# @param request: Request instance for StartIntegrationTask.
|
3195
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::StartIntegrationTaskRequest`
|
3196
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::StartIntegrationTaskResponse`
|
3197
|
+
def StartIntegrationTask(request)
|
3198
|
+
body = send_request('StartIntegrationTask', request.serialize)
|
3199
|
+
response = JSON.parse(body)
|
3200
|
+
if response['Response'].key?('Error') == false
|
3201
|
+
model = StartIntegrationTaskResponse.new
|
3202
|
+
model.deserialize(response['Response'])
|
3203
|
+
model
|
3204
|
+
else
|
3205
|
+
code = response['Response']['Error']['Code']
|
3206
|
+
message = response['Response']['Error']['Message']
|
3207
|
+
reqid = response['Response']['RequestId']
|
3208
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3209
|
+
end
|
3210
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3211
|
+
raise e
|
3212
|
+
rescue StandardError => e
|
3213
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3214
|
+
end
|
3215
|
+
|
3216
|
+
# 停止集成任务
|
3217
|
+
|
3218
|
+
# @param request: Request instance for StopIntegrationTask.
|
3219
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::StopIntegrationTaskRequest`
|
3220
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::StopIntegrationTaskResponse`
|
3221
|
+
def StopIntegrationTask(request)
|
3222
|
+
body = send_request('StopIntegrationTask', request.serialize)
|
3223
|
+
response = JSON.parse(body)
|
3224
|
+
if response['Response'].key?('Error') == false
|
3225
|
+
model = StopIntegrationTaskResponse.new
|
3226
|
+
model.deserialize(response['Response'])
|
3227
|
+
model
|
3228
|
+
else
|
3229
|
+
code = response['Response']['Error']['Code']
|
3230
|
+
message = response['Response']['Error']['Message']
|
3231
|
+
reqid = response['Response']['RequestId']
|
3232
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3233
|
+
end
|
3234
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3235
|
+
raise e
|
3236
|
+
rescue StandardError => e
|
3237
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3238
|
+
end
|
3239
|
+
|
1272
3240
|
# 提交自定义函数
|
1273
3241
|
|
1274
3242
|
# @param request: Request instance for SubmitCustomFunction.
|
@@ -1343,6 +3311,54 @@ module TencentCloud
|
|
1343
3311
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1344
3312
|
end
|
1345
3313
|
|
3314
|
+
# 暂停集成任务
|
3315
|
+
|
3316
|
+
# @param request: Request instance for SuspendIntegrationTask.
|
3317
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::SuspendIntegrationTaskRequest`
|
3318
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::SuspendIntegrationTaskResponse`
|
3319
|
+
def SuspendIntegrationTask(request)
|
3320
|
+
body = send_request('SuspendIntegrationTask', request.serialize)
|
3321
|
+
response = JSON.parse(body)
|
3322
|
+
if response['Response'].key?('Error') == false
|
3323
|
+
model = SuspendIntegrationTaskResponse.new
|
3324
|
+
model.deserialize(response['Response'])
|
3325
|
+
model
|
3326
|
+
else
|
3327
|
+
code = response['Response']['Error']['Code']
|
3328
|
+
message = response['Response']['Error']['Message']
|
3329
|
+
reqid = response['Response']['RequestId']
|
3330
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3331
|
+
end
|
3332
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3333
|
+
raise e
|
3334
|
+
rescue StandardError => e
|
3335
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3336
|
+
end
|
3337
|
+
|
3338
|
+
# 查询Inlong manager日志
|
3339
|
+
|
3340
|
+
# @param request: Request instance for TaskLog.
|
3341
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::TaskLogRequest`
|
3342
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::TaskLogResponse`
|
3343
|
+
def TaskLog(request)
|
3344
|
+
body = send_request('TaskLog', request.serialize)
|
3345
|
+
response = JSON.parse(body)
|
3346
|
+
if response['Response'].key?('Error') == false
|
3347
|
+
model = TaskLogResponse.new
|
3348
|
+
model.deserialize(response['Response'])
|
3349
|
+
model
|
3350
|
+
else
|
3351
|
+
code = response['Response']['Error']['Code']
|
3352
|
+
message = response['Response']['Error']['Message']
|
3353
|
+
reqid = response['Response']['RequestId']
|
3354
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3355
|
+
end
|
3356
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3357
|
+
raise e
|
3358
|
+
rescue StandardError => e
|
3359
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3360
|
+
end
|
3361
|
+
|
1346
3362
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1347
3363
|
# 触发事件
|
1348
3364
|
|
@@ -1368,6 +3384,54 @@ module TencentCloud
|
|
1368
3384
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1369
3385
|
end
|
1370
3386
|
|
3387
|
+
# 解锁集成任务
|
3388
|
+
|
3389
|
+
# @param request: Request instance for UnlockIntegrationTask.
|
3390
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::UnlockIntegrationTaskRequest`
|
3391
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::UnlockIntegrationTaskResponse`
|
3392
|
+
def UnlockIntegrationTask(request)
|
3393
|
+
body = send_request('UnlockIntegrationTask', request.serialize)
|
3394
|
+
response = JSON.parse(body)
|
3395
|
+
if response['Response'].key?('Error') == false
|
3396
|
+
model = UnlockIntegrationTaskResponse.new
|
3397
|
+
model.deserialize(response['Response'])
|
3398
|
+
model
|
3399
|
+
else
|
3400
|
+
code = response['Response']['Error']['Code']
|
3401
|
+
message = response['Response']['Error']['Message']
|
3402
|
+
reqid = response['Response']['RequestId']
|
3403
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3404
|
+
end
|
3405
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3406
|
+
raise e
|
3407
|
+
rescue StandardError => e
|
3408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3409
|
+
end
|
3410
|
+
|
3411
|
+
# 更新采集器
|
3412
|
+
|
3413
|
+
# @param request: Request instance for UpdateInLongAgent.
|
3414
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::UpdateInLongAgentRequest`
|
3415
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::UpdateInLongAgentResponse`
|
3416
|
+
def UpdateInLongAgent(request)
|
3417
|
+
body = send_request('UpdateInLongAgent', request.serialize)
|
3418
|
+
response = JSON.parse(body)
|
3419
|
+
if response['Response'].key?('Error') == false
|
3420
|
+
model = UpdateInLongAgentResponse.new
|
3421
|
+
model.deserialize(response['Response'])
|
3422
|
+
model
|
3423
|
+
else
|
3424
|
+
code = response['Response']['Error']['Code']
|
3425
|
+
message = response['Response']['Error']['Message']
|
3426
|
+
reqid = response['Response']['RequestId']
|
3427
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3428
|
+
end
|
3429
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3430
|
+
raise e
|
3431
|
+
rescue StandardError => e
|
3432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3433
|
+
end
|
3434
|
+
|
1371
3435
|
|
1372
3436
|
end
|
1373
3437
|
end
|