tencentcloud-sdk-dlc 3.0.503 → 3.0.505
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +312 -0
- data/lib/v20210125/models.rb +1314 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4a0e8cad2e05edce64d0d8ee3e1c67f3c0a6885
|
4
|
+
data.tar.gz: d4ff04c48f2794c52aec0f483bf32eba3d77b271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ef46887c6b6ed09118ffbf19467f536ba5e33c2edcd40f369efaa7b734664571ae146192a4820fed606103b3b691f3fb9804ca69f5260013ca4049dc00700d2
|
7
|
+
data.tar.gz: b1ac70e43262fdef2947027a67667bec9381b809197ab43d2c09049762bd4d096e9ce90d47f11ef3bf1aec82a0d621ce41f3e350b2f33359fc64e678d2ccb758
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.505
|
data/lib/v20210125/client.rb
CHANGED
@@ -221,6 +221,54 @@ module TencentCloud
|
|
221
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
222
|
end
|
223
223
|
|
224
|
+
# 本接口(CancelNotebookSessionStatement)用于取消session statement
|
225
|
+
|
226
|
+
# @param request: Request instance for CancelNotebookSessionStatement.
|
227
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CancelNotebookSessionStatementRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CancelNotebookSessionStatementResponse`
|
229
|
+
def CancelNotebookSessionStatement(request)
|
230
|
+
body = send_request('CancelNotebookSessionStatement', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = CancelNotebookSessionStatementResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 本接口(CancelNotebookSessionStatementBatch)用于按批取消Session statement。
|
249
|
+
|
250
|
+
# @param request: Request instance for CancelNotebookSessionStatementBatch.
|
251
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CancelNotebookSessionStatementBatchRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CancelNotebookSessionStatementBatchResponse`
|
253
|
+
def CancelNotebookSessionStatementBatch(request)
|
254
|
+
body = send_request('CancelNotebookSessionStatementBatch', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = CancelNotebookSessionStatementBatchResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
224
272
|
# 本接口(CancelTask),用于取消任务执行
|
225
273
|
|
226
274
|
# @param request: Request instance for CancelTask.
|
@@ -389,6 +437,30 @@ module TencentCloud
|
|
389
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
438
|
end
|
391
439
|
|
440
|
+
# 创建托管存储内表(该接口已废弃)
|
441
|
+
|
442
|
+
# @param request: Request instance for CreateInternalTable.
|
443
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateInternalTableRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CreateInternalTableResponse`
|
445
|
+
def CreateInternalTable(request)
|
446
|
+
body = send_request('CreateInternalTable', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = CreateInternalTableResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
392
464
|
# 本接口(CreateNotebookSession)用于创建notebook livy session
|
393
465
|
|
394
466
|
# @param request: Request instance for CreateNotebookSession.
|
@@ -413,6 +485,54 @@ module TencentCloud
|
|
413
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
486
|
end
|
415
487
|
|
488
|
+
# 本接口(CreateNotebookSessionStatement)用于创建session statement
|
489
|
+
|
490
|
+
# @param request: Request instance for CreateNotebookSessionStatement.
|
491
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateNotebookSessionStatementRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CreateNotebookSessionStatementResponse`
|
493
|
+
def CreateNotebookSessionStatement(request)
|
494
|
+
body = send_request('CreateNotebookSessionStatement', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = CreateNotebookSessionStatementResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
512
|
+
# 本接口(CreateNotebookSessionStatementSupportBatchSQL)用于创建Statement批量运行SQL任务。
|
513
|
+
|
514
|
+
# @param request: Request instance for CreateNotebookSessionStatementSupportBatchSQL.
|
515
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateNotebookSessionStatementSupportBatchSQLRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CreateNotebookSessionStatementSupportBatchSQLResponse`
|
517
|
+
def CreateNotebookSessionStatementSupportBatchSQL(request)
|
518
|
+
body = send_request('CreateNotebookSessionStatementSupportBatchSQL', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = CreateNotebookSessionStatementSupportBatchSQLResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
416
536
|
# 创建查询结果下载任务
|
417
537
|
|
418
538
|
# @param request: Request instance for CreateResultDownload.
|
@@ -677,6 +797,30 @@ module TencentCloud
|
|
677
797
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
798
|
end
|
679
799
|
|
800
|
+
# 本接口(DeleteNotebookSession)用于删除notebook livy session
|
801
|
+
|
802
|
+
# @param request: Request instance for DeleteNotebookSession.
|
803
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DeleteNotebookSessionRequest`
|
804
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DeleteNotebookSessionResponse`
|
805
|
+
def DeleteNotebookSession(request)
|
806
|
+
body = send_request('DeleteNotebookSession', request.serialize)
|
807
|
+
response = JSON.parse(body)
|
808
|
+
if response['Response'].key?('Error') == false
|
809
|
+
model = DeleteNotebookSessionResponse.new
|
810
|
+
model.deserialize(response['Response'])
|
811
|
+
model
|
812
|
+
else
|
813
|
+
code = response['Response']['Error']['Code']
|
814
|
+
message = response['Response']['Error']['Message']
|
815
|
+
reqid = response['Response']['RequestId']
|
816
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
817
|
+
end
|
818
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
819
|
+
raise e
|
820
|
+
rescue StandardError => e
|
821
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
|
+
end
|
823
|
+
|
680
824
|
# 该接口(DeleteScript)用于删除sql脚本。
|
681
825
|
|
682
826
|
# @param request: Request instance for DeleteScript.
|
@@ -893,6 +1037,30 @@ module TencentCloud
|
|
893
1037
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
1038
|
end
|
895
1039
|
|
1040
|
+
# 本接口(DescribeDataEngines)用于获取DataEngines信息列表
|
1041
|
+
|
1042
|
+
# @param request: Request instance for DescribeDataEngines.
|
1043
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDataEnginesRequest`
|
1044
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDataEnginesResponse`
|
1045
|
+
def DescribeDataEngines(request)
|
1046
|
+
body = send_request('DescribeDataEngines', request.serialize)
|
1047
|
+
response = JSON.parse(body)
|
1048
|
+
if response['Response'].key?('Error') == false
|
1049
|
+
model = DescribeDataEnginesResponse.new
|
1050
|
+
model.deserialize(response['Response'])
|
1051
|
+
model
|
1052
|
+
else
|
1053
|
+
code = response['Response']['Error']['Code']
|
1054
|
+
message = response['Response']['Error']['Message']
|
1055
|
+
reqid = response['Response']['RequestId']
|
1056
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1057
|
+
end
|
1058
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1059
|
+
raise e
|
1060
|
+
rescue StandardError => e
|
1061
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1062
|
+
end
|
1063
|
+
|
896
1064
|
# 本接口(DescribeDatabases)用于查询数据库列表。
|
897
1065
|
|
898
1066
|
# @param request: Request instance for DescribeDatabases.
|
@@ -941,6 +1109,126 @@ module TencentCloud
|
|
941
1109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
1110
|
end
|
943
1111
|
|
1112
|
+
# 本接口(DescribeNotebookSessionLog)用于获取notebook livy session日志
|
1113
|
+
|
1114
|
+
# @param request: Request instance for DescribeNotebookSessionLog.
|
1115
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionLogRequest`
|
1116
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionLogResponse`
|
1117
|
+
def DescribeNotebookSessionLog(request)
|
1118
|
+
body = send_request('DescribeNotebookSessionLog', request.serialize)
|
1119
|
+
response = JSON.parse(body)
|
1120
|
+
if response['Response'].key?('Error') == false
|
1121
|
+
model = DescribeNotebookSessionLogResponse.new
|
1122
|
+
model.deserialize(response['Response'])
|
1123
|
+
model
|
1124
|
+
else
|
1125
|
+
code = response['Response']['Error']['Code']
|
1126
|
+
message = response['Response']['Error']['Message']
|
1127
|
+
reqid = response['Response']['RequestId']
|
1128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1129
|
+
end
|
1130
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1131
|
+
raise e
|
1132
|
+
rescue StandardError => e
|
1133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# 本接口(DescribeNotebookSessionStatement)用于获取session statement信息
|
1137
|
+
|
1138
|
+
# @param request: Request instance for DescribeNotebookSessionStatement.
|
1139
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionStatementRequest`
|
1140
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionStatementResponse`
|
1141
|
+
def DescribeNotebookSessionStatement(request)
|
1142
|
+
body = send_request('DescribeNotebookSessionStatement', request.serialize)
|
1143
|
+
response = JSON.parse(body)
|
1144
|
+
if response['Response'].key?('Error') == false
|
1145
|
+
model = DescribeNotebookSessionStatementResponse.new
|
1146
|
+
model.deserialize(response['Response'])
|
1147
|
+
model
|
1148
|
+
else
|
1149
|
+
code = response['Response']['Error']['Code']
|
1150
|
+
message = response['Response']['Error']['Message']
|
1151
|
+
reqid = response['Response']['RequestId']
|
1152
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1153
|
+
end
|
1154
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1155
|
+
raise e
|
1156
|
+
rescue StandardError => e
|
1157
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# 本接口(DescribeNotebookSessionStatementSqlResult)用于获取statement运行结果。
|
1161
|
+
|
1162
|
+
# @param request: Request instance for DescribeNotebookSessionStatementSqlResult.
|
1163
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionStatementSqlResultRequest`
|
1164
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionStatementSqlResultResponse`
|
1165
|
+
def DescribeNotebookSessionStatementSqlResult(request)
|
1166
|
+
body = send_request('DescribeNotebookSessionStatementSqlResult', request.serialize)
|
1167
|
+
response = JSON.parse(body)
|
1168
|
+
if response['Response'].key?('Error') == false
|
1169
|
+
model = DescribeNotebookSessionStatementSqlResultResponse.new
|
1170
|
+
model.deserialize(response['Response'])
|
1171
|
+
model
|
1172
|
+
else
|
1173
|
+
code = response['Response']['Error']['Code']
|
1174
|
+
message = response['Response']['Error']['Message']
|
1175
|
+
reqid = response['Response']['RequestId']
|
1176
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1177
|
+
end
|
1178
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1179
|
+
raise e
|
1180
|
+
rescue StandardError => e
|
1181
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
# 本接口(DescribeNotebookSessionStatements)用于获取Session Statement列表。
|
1185
|
+
|
1186
|
+
# @param request: Request instance for DescribeNotebookSessionStatements.
|
1187
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionStatementsRequest`
|
1188
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionStatementsResponse`
|
1189
|
+
def DescribeNotebookSessionStatements(request)
|
1190
|
+
body = send_request('DescribeNotebookSessionStatements', request.serialize)
|
1191
|
+
response = JSON.parse(body)
|
1192
|
+
if response['Response'].key?('Error') == false
|
1193
|
+
model = DescribeNotebookSessionStatementsResponse.new
|
1194
|
+
model.deserialize(response['Response'])
|
1195
|
+
model
|
1196
|
+
else
|
1197
|
+
code = response['Response']['Error']['Code']
|
1198
|
+
message = response['Response']['Error']['Message']
|
1199
|
+
reqid = response['Response']['RequestId']
|
1200
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1201
|
+
end
|
1202
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1203
|
+
raise e
|
1204
|
+
rescue StandardError => e
|
1205
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# 本接口(DescribeNotebookSessions)用于获取notebook livy session列表
|
1209
|
+
|
1210
|
+
# @param request: Request instance for DescribeNotebookSessions.
|
1211
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionsRequest`
|
1212
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeNotebookSessionsResponse`
|
1213
|
+
def DescribeNotebookSessions(request)
|
1214
|
+
body = send_request('DescribeNotebookSessions', request.serialize)
|
1215
|
+
response = JSON.parse(body)
|
1216
|
+
if response['Response'].key?('Error') == false
|
1217
|
+
model = DescribeNotebookSessionsResponse.new
|
1218
|
+
model.deserialize(response['Response'])
|
1219
|
+
model
|
1220
|
+
else
|
1221
|
+
code = response['Response']['Error']['Code']
|
1222
|
+
message = response['Response']['Error']['Message']
|
1223
|
+
reqid = response['Response']['RequestId']
|
1224
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1225
|
+
end
|
1226
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1227
|
+
raise e
|
1228
|
+
rescue StandardError => e
|
1229
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
|
+
end
|
1231
|
+
|
944
1232
|
# 查询结果下载任务
|
945
1233
|
|
946
1234
|
# @param request: Request instance for DescribeResultDownload.
|
@@ -1373,6 +1661,30 @@ module TencentCloud
|
|
1373
1661
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1374
1662
|
end
|
1375
1663
|
|
1664
|
+
# 生成创建托管表语句
|
1665
|
+
|
1666
|
+
# @param request: Request instance for GenerateCreateMangedTableSql.
|
1667
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::GenerateCreateMangedTableSqlRequest`
|
1668
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::GenerateCreateMangedTableSqlResponse`
|
1669
|
+
def GenerateCreateMangedTableSql(request)
|
1670
|
+
body = send_request('GenerateCreateMangedTableSql', request.serialize)
|
1671
|
+
response = JSON.parse(body)
|
1672
|
+
if response['Response'].key?('Error') == false
|
1673
|
+
model = GenerateCreateMangedTableSqlResponse.new
|
1674
|
+
model.deserialize(response['Response'])
|
1675
|
+
model
|
1676
|
+
else
|
1677
|
+
code = response['Response']['Error']['Code']
|
1678
|
+
message = response['Response']['Error']['Message']
|
1679
|
+
reqid = response['Response']['RequestId']
|
1680
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1681
|
+
end
|
1682
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1683
|
+
raise e
|
1684
|
+
rescue StandardError => e
|
1685
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1686
|
+
end
|
1687
|
+
|
1376
1688
|
# 本接口(ListTaskJobLogDetail)用于获取spark-jar日志列表
|
1377
1689
|
|
1378
1690
|
# @param request: Request instance for ListTaskJobLogDetail.
|