tencentcloud-sdk-emr 3.0.1004 → 3.0.1006
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/v20190103/client.rb +24 -0
- data/lib/v20190103/models.rb +80 -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: 6cabbdb65f186dfe3e367526abc9ec13505e87c6
|
4
|
+
data.tar.gz: fc5caa532b62c506c47bd1f2cf8e56a91292c086
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9af4a147e8a949aa69f3ebf0af2111ee76012717084f91e099f83b55cf571036346c4459abc834b50cebadf562b250c2a35fa5d736987daaa272d1b004c1fc72
|
7
|
+
data.tar.gz: 9f5ce5b29e31413e71055cabba89fe511c7d964359b1bd5786d4ae28c2cd687d938bd6bdc52f6a8cb7de73e2e99360b83eff380a3155e6d7e63060892d657166
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1006
|
data/lib/v20190103/client.rb
CHANGED
@@ -464,6 +464,30 @@ module TencentCloud
|
|
464
464
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
465
465
|
end
|
466
466
|
|
467
|
+
# 查询DAG信息
|
468
|
+
|
469
|
+
# @param request: Request instance for DescribeDAGInfo.
|
470
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeDAGInfoRequest`
|
471
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeDAGInfoResponse`
|
472
|
+
def DescribeDAGInfo(request)
|
473
|
+
body = send_request('DescribeDAGInfo', request.serialize)
|
474
|
+
response = JSON.parse(body)
|
475
|
+
if response['Response'].key?('Error') == false
|
476
|
+
model = DescribeDAGInfoResponse.new
|
477
|
+
model.deserialize(response['Response'])
|
478
|
+
model
|
479
|
+
else
|
480
|
+
code = response['Response']['Error']['Code']
|
481
|
+
message = response['Response']['Error']['Message']
|
482
|
+
reqid = response['Response']['RequestId']
|
483
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
484
|
+
end
|
485
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
486
|
+
raise e
|
487
|
+
rescue StandardError => e
|
488
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
489
|
+
end
|
490
|
+
|
467
491
|
# yarn application 统计接口查询
|
468
492
|
|
469
493
|
# @param request: Request instance for DescribeEmrApplicationStatics.
|
data/lib/v20190103/models.rb
CHANGED
@@ -2213,6 +2213,30 @@ module TencentCloud
|
|
2213
2213
|
end
|
2214
2214
|
end
|
2215
2215
|
|
2216
|
+
# DAG信息
|
2217
|
+
class DAGInfo < TencentCloud::Common::AbstractModel
|
2218
|
+
# @param ID: 查询ID
|
2219
|
+
# @type ID: String
|
2220
|
+
# @param Type: DAG类型,目前只支持starrocks
|
2221
|
+
# @type Type: String
|
2222
|
+
# @param Content: 返回的DAG的JSON字符串
|
2223
|
+
# @type Content: String
|
2224
|
+
|
2225
|
+
attr_accessor :ID, :Type, :Content
|
2226
|
+
|
2227
|
+
def initialize(id=nil, type=nil, content=nil)
|
2228
|
+
@ID = id
|
2229
|
+
@Type = type
|
2230
|
+
@Content = content
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
def deserialize(params)
|
2234
|
+
@ID = params['ID']
|
2235
|
+
@Type = params['Type']
|
2236
|
+
@Content = params['Content']
|
2237
|
+
end
|
2238
|
+
end
|
2239
|
+
|
2216
2240
|
# 弹性扩缩容按天重复任务描述
|
2217
2241
|
class DayRepeatStrategy < TencentCloud::Common::AbstractModel
|
2218
2242
|
# @param ExecuteAtTimeOfDay: 重复任务执行的具体时刻,例如"01:02:00"
|
@@ -2937,6 +2961,62 @@ module TencentCloud
|
|
2937
2961
|
end
|
2938
2962
|
end
|
2939
2963
|
|
2964
|
+
# DescribeDAGInfo请求参数结构体
|
2965
|
+
class DescribeDAGInfoRequest < TencentCloud::Common::AbstractModel
|
2966
|
+
# @param InstanceID: 集群ID
|
2967
|
+
# @type InstanceID: String
|
2968
|
+
# @param Type: DAG类型,目前只支持STARROCKS
|
2969
|
+
# @type Type: String
|
2970
|
+
# @param IDList: 查询ID列表,最大长度为1
|
2971
|
+
# @type IDList: Array
|
2972
|
+
|
2973
|
+
attr_accessor :InstanceID, :Type, :IDList
|
2974
|
+
|
2975
|
+
def initialize(instanceid=nil, type=nil, idlist=nil)
|
2976
|
+
@InstanceID = instanceid
|
2977
|
+
@Type = type
|
2978
|
+
@IDList = idlist
|
2979
|
+
end
|
2980
|
+
|
2981
|
+
def deserialize(params)
|
2982
|
+
@InstanceID = params['InstanceID']
|
2983
|
+
@Type = params['Type']
|
2984
|
+
@IDList = params['IDList']
|
2985
|
+
end
|
2986
|
+
end
|
2987
|
+
|
2988
|
+
# DescribeDAGInfo返回参数结构体
|
2989
|
+
class DescribeDAGInfoResponse < TencentCloud::Common::AbstractModel
|
2990
|
+
# @param TotalCount: 总数,分页查询时使用
|
2991
|
+
# @type TotalCount: Integer
|
2992
|
+
# @param DAGInfoList: Starrocks 查询信息列表
|
2993
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2994
|
+
# @type DAGInfoList: Array
|
2995
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2996
|
+
# @type RequestId: String
|
2997
|
+
|
2998
|
+
attr_accessor :TotalCount, :DAGInfoList, :RequestId
|
2999
|
+
|
3000
|
+
def initialize(totalcount=nil, daginfolist=nil, requestid=nil)
|
3001
|
+
@TotalCount = totalcount
|
3002
|
+
@DAGInfoList = daginfolist
|
3003
|
+
@RequestId = requestid
|
3004
|
+
end
|
3005
|
+
|
3006
|
+
def deserialize(params)
|
3007
|
+
@TotalCount = params['TotalCount']
|
3008
|
+
unless params['DAGInfoList'].nil?
|
3009
|
+
@DAGInfoList = []
|
3010
|
+
params['DAGInfoList'].each do |i|
|
3011
|
+
daginfo_tmp = DAGInfo.new
|
3012
|
+
daginfo_tmp.deserialize(i)
|
3013
|
+
@DAGInfoList << daginfo_tmp
|
3014
|
+
end
|
3015
|
+
end
|
3016
|
+
@RequestId = params['RequestId']
|
3017
|
+
end
|
3018
|
+
end
|
3019
|
+
|
2940
3020
|
# DescribeEmrApplicationStatics请求参数结构体
|
2941
3021
|
class DescribeEmrApplicationStaticsRequest < TencentCloud::Common::AbstractModel
|
2942
3022
|
# @param InstanceId: 集群id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-emr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1006
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|