tencentcloud-sdk-dlc 3.0.504 → 3.0.505
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/v20210125/client.rb +289 -1
- data/lib/v20210125/models.rb +1197 -42
- 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,7 +437,7 @@ module TencentCloud
|
|
389
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
438
|
end
|
391
439
|
|
392
|
-
#
|
440
|
+
# 创建托管存储内表(该接口已废弃)
|
393
441
|
|
394
442
|
# @param request: Request instance for CreateInternalTable.
|
395
443
|
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateInternalTableRequest`
|
@@ -437,6 +485,54 @@ module TencentCloud
|
|
437
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
486
|
end
|
439
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
|
+
|
440
536
|
# 创建查询结果下载任务
|
441
537
|
|
442
538
|
# @param request: Request instance for CreateResultDownload.
|
@@ -701,6 +797,30 @@ module TencentCloud
|
|
701
797
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
798
|
end
|
703
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
|
+
|
704
824
|
# 该接口(DeleteScript)用于删除sql脚本。
|
705
825
|
|
706
826
|
# @param request: Request instance for DeleteScript.
|
@@ -917,6 +1037,30 @@ module TencentCloud
|
|
917
1037
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
1038
|
end
|
919
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
|
+
|
920
1064
|
# 本接口(DescribeDatabases)用于查询数据库列表。
|
921
1065
|
|
922
1066
|
# @param request: Request instance for DescribeDatabases.
|
@@ -965,6 +1109,126 @@ module TencentCloud
|
|
965
1109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
1110
|
end
|
967
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
|
+
|
968
1232
|
# 查询结果下载任务
|
969
1233
|
|
970
1234
|
# @param request: Request instance for DescribeResultDownload.
|
@@ -1397,6 +1661,30 @@ module TencentCloud
|
|
1397
1661
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1398
1662
|
end
|
1399
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
|
+
|
1400
1688
|
# 本接口(ListTaskJobLogDetail)用于获取spark-jar日志列表
|
1401
1689
|
|
1402
1690
|
# @param request: Request instance for ListTaskJobLogDetail.
|