tencentcloud-sdk-emr 3.0.1004 → 3.0.1005

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b53d0791cbf6ec2a735b80a51ad1344a019cd8d9
4
- data.tar.gz: e758e02e68e0a10ff82a83de6b59a3e5632b153f
3
+ metadata.gz: 8a8118512e663b128607bf8cf3aec7a999f3ce1e
4
+ data.tar.gz: 3009dd8b32f5916ed8b238ea22d22b3e49357b85
5
5
  SHA512:
6
- metadata.gz: 9f64f1637d27a4304a91c7e09621c3d7381f6e22433397b84063769aed9a6fc2440af19dfd370bf3a6848b6a47ed75d89c1ed571652b3577c50449c8b4ad4808
7
- data.tar.gz: 59d955063559c0b0baf71a876c246a1ab275b2f9bef28f51d6ec9562966af9722c8a370b1c801d39b5c2ac7114874c73f40fc2c060a56fd616cae5c09f6df118
6
+ metadata.gz: 202dc71a80437da2ec26c6e04524277217b26b17fa0ac105c2d0f0ad1fe44ec831e22d466152317b63d11d8c399306b2f5e5350642465fdfee28d1f54b3d4a29
7
+ data.tar.gz: 8807ec19f79d1068eb2bbb1ea690ead2f3b0bd68f6b2293280de6f56005e4c52f28907b42e578485a4bf582d9b28370915c1ff4a236533644bd68252addaee24
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1004
1
+ 3.0.1005
@@ -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.
@@ -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.1004
4
+ version: 3.0.1005
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-23 00:00:00.000000000 Z
11
+ date: 2025-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common