tencentcloud-sdk-dlc 3.0.664 → 3.0.665
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 +24 -0
- data/lib/v20210125/models.rb +79 -0
- 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: c585a00f0345f38e7415446868169f9ff5687d19
|
4
|
+
data.tar.gz: 1304175b2842f1498ec121c90e96654752455008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 107957258f05cf0b761e70a4fa4fad6b30fb4c892ca2d68476a1a7235f040037f1b9ed9f2bacc215bfcbc7e045b98f6fe2a1342815677ff9d6d77183a6010ca1
|
7
|
+
data.tar.gz: b607c74e84c43607fb96fc9ceb2dbf6e2ee047e6cd91eb0a03cf205f75841f17101fa86bc6b815812bc1cf0f183b5345cfe9cc160d9fdfb5c75f2571a67a0557
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.665
|
data/lib/v20210125/client.rb
CHANGED
@@ -1541,6 +1541,30 @@ module TencentCloud
|
|
1541
1541
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1542
1542
|
end
|
1543
1543
|
|
1544
|
+
# 本接口(DescribeSparkSessionBatchSQL)用于查询Spark SQL批任务运行状态
|
1545
|
+
|
1546
|
+
# @param request: Request instance for DescribeSparkSessionBatchSQL.
|
1547
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeSparkSessionBatchSQLRequest`
|
1548
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeSparkSessionBatchSQLResponse`
|
1549
|
+
def DescribeSparkSessionBatchSQL(request)
|
1550
|
+
body = send_request('DescribeSparkSessionBatchSQL', request.serialize)
|
1551
|
+
response = JSON.parse(body)
|
1552
|
+
if response['Response'].key?('Error') == false
|
1553
|
+
model = DescribeSparkSessionBatchSQLResponse.new
|
1554
|
+
model.deserialize(response['Response'])
|
1555
|
+
model
|
1556
|
+
else
|
1557
|
+
code = response['Response']['Error']['Code']
|
1558
|
+
message = response['Response']['Error']['Message']
|
1559
|
+
reqid = response['Response']['RequestId']
|
1560
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1561
|
+
end
|
1562
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1563
|
+
raise e
|
1564
|
+
rescue StandardError => e
|
1565
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1566
|
+
end
|
1567
|
+
|
1544
1568
|
# 本接口(DescribeSparkSessionBatchSqlLog)用于查询Spark SQL批任务日志
|
1545
1569
|
|
1546
1570
|
# @param request: Request instance for DescribeSparkSessionBatchSqlLog.
|
data/lib/v20210125/models.rb
CHANGED
@@ -506,6 +506,33 @@ module TencentCloud
|
|
506
506
|
end
|
507
507
|
end
|
508
508
|
|
509
|
+
# SparkSQL批任务信息
|
510
|
+
class BatchSqlTask < TencentCloud::Common::AbstractModel
|
511
|
+
# @param TaskId: SQL子任务唯一标识
|
512
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
513
|
+
# @type TaskId: String
|
514
|
+
# @param ExecuteSQL: 运行SQL
|
515
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
516
|
+
# @type ExecuteSQL: String
|
517
|
+
# @param Message: 任务信息,成功则返回:Task Success!,失败则返回异常信息
|
518
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
519
|
+
# @type Message: String
|
520
|
+
|
521
|
+
attr_accessor :TaskId, :ExecuteSQL, :Message
|
522
|
+
|
523
|
+
def initialize(taskid=nil, executesql=nil, message=nil)
|
524
|
+
@TaskId = taskid
|
525
|
+
@ExecuteSQL = executesql
|
526
|
+
@Message = message
|
527
|
+
end
|
528
|
+
|
529
|
+
def deserialize(params)
|
530
|
+
@TaskId = params['TaskId']
|
531
|
+
@ExecuteSQL = params['ExecuteSQL']
|
532
|
+
@Message = params['Message']
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
509
536
|
# BindWorkGroupsToUser请求参数结构体
|
510
537
|
class BindWorkGroupsToUserRequest < TencentCloud::Common::AbstractModel
|
511
538
|
# @param AddInfo: 绑定的用户和工作组信息
|
@@ -5277,6 +5304,58 @@ module TencentCloud
|
|
5277
5304
|
end
|
5278
5305
|
end
|
5279
5306
|
|
5307
|
+
# DescribeSparkSessionBatchSQL请求参数结构体
|
5308
|
+
class DescribeSparkSessionBatchSQLRequest < TencentCloud::Common::AbstractModel
|
5309
|
+
# @param BatchId: SparkSQL唯一标识
|
5310
|
+
# @type BatchId: String
|
5311
|
+
|
5312
|
+
attr_accessor :BatchId
|
5313
|
+
|
5314
|
+
def initialize(batchid=nil)
|
5315
|
+
@BatchId = batchid
|
5316
|
+
end
|
5317
|
+
|
5318
|
+
def deserialize(params)
|
5319
|
+
@BatchId = params['BatchId']
|
5320
|
+
end
|
5321
|
+
end
|
5322
|
+
|
5323
|
+
# DescribeSparkSessionBatchSQL返回参数结构体
|
5324
|
+
class DescribeSparkSessionBatchSQLResponse < TencentCloud::Common::AbstractModel
|
5325
|
+
# @param State: 状态:0:运行中、1:成功、2:失败、3:取消、4:超时;
|
5326
|
+
# @type State: Integer
|
5327
|
+
# @param Tasks: SQL子任务列表,仅展示运行完成的子任务,若某个任务运行失败,后续其它子任务不返回
|
5328
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5329
|
+
# @type Tasks: Array
|
5330
|
+
# @param Event: 非sql运行的异常事件信息,包含资源创建失败、调度异常,JOB超时等,正常运行下该Event值为空
|
5331
|
+
# @type Event: String
|
5332
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5333
|
+
# @type RequestId: String
|
5334
|
+
|
5335
|
+
attr_accessor :State, :Tasks, :Event, :RequestId
|
5336
|
+
|
5337
|
+
def initialize(state=nil, tasks=nil, event=nil, requestid=nil)
|
5338
|
+
@State = state
|
5339
|
+
@Tasks = tasks
|
5340
|
+
@Event = event
|
5341
|
+
@RequestId = requestid
|
5342
|
+
end
|
5343
|
+
|
5344
|
+
def deserialize(params)
|
5345
|
+
@State = params['State']
|
5346
|
+
unless params['Tasks'].nil?
|
5347
|
+
@Tasks = []
|
5348
|
+
params['Tasks'].each do |i|
|
5349
|
+
batchsqltask_tmp = BatchSqlTask.new
|
5350
|
+
batchsqltask_tmp.deserialize(i)
|
5351
|
+
@Tasks << batchsqltask_tmp
|
5352
|
+
end
|
5353
|
+
end
|
5354
|
+
@Event = params['Event']
|
5355
|
+
@RequestId = params['RequestId']
|
5356
|
+
end
|
5357
|
+
end
|
5358
|
+
|
5280
5359
|
# DescribeSparkSessionBatchSqlLog请求参数结构体
|
5281
5360
|
class DescribeSparkSessionBatchSqlLogRequest < TencentCloud::Common::AbstractModel
|
5282
5361
|
# @param BatchId: SparkSQL唯一标识
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dlc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.665
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|