tencentcloud-sdk-emr 3.0.751 → 3.0.752

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: 2a42492b9ec4895071df4f985dd57fa7656dd9ff
4
- data.tar.gz: 91e3351a2c2377607aed3af7aebecd332c64ac1e
3
+ metadata.gz: eca41042fecb2418f4fa03f24732d2aa6dc8d60e
4
+ data.tar.gz: 0334e63a09085f16a87c84703c70d0256cc0c789
5
5
  SHA512:
6
- metadata.gz: b44aadd611489643f5b462331aa1946ee80fba481d80c328e9fab1c7894c8cda19d8475c11c20264043504f0f689a1e465f550ce432f95dafe1c20db9c1c8b95
7
- data.tar.gz: e292020285ff875f2b528cf8b9da99b53f78c87d5594275936d5976322ca1573cfbb54504e8a262bb093e5a23f6fec39b9f19043448d3ce4e52d2a5b6d8e1ca4
6
+ metadata.gz: 193da3a1bbb7ca4d318afd22fcd0c0fb021f188b8a8fb7eb201b13d4dfdf6ef0e1d1d063584206852cf193b7b5ba7773f73c4b65e546fadf99fccc46b658ee29
7
+ data.tar.gz: 5498419f977d52323459b979bebfaec1ac509736895b61a3a270fe9bd41931254f1897679b8557a79a5c26bc7715ded669155681396aa5265ae4e4237106e06b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.751
1
+ 3.0.752
@@ -270,6 +270,30 @@ module TencentCloud
270
270
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
271
271
  end
272
272
 
273
+ # 获取洞察结果信息
274
+
275
+ # @param request: Request instance for DescribeInsightList.
276
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeInsightListRequest`
277
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeInsightListResponse`
278
+ def DescribeInsightList(request)
279
+ body = send_request('DescribeInsightList', request.serialize)
280
+ response = JSON.parse(body)
281
+ if response['Response'].key?('Error') == false
282
+ model = DescribeInsightListResponse.new
283
+ model.deserialize(response['Response'])
284
+ model
285
+ else
286
+ code = response['Response']['Error']['Code']
287
+ message = response['Response']['Error']['Message']
288
+ reqid = response['Response']['RequestId']
289
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
290
+ end
291
+ rescue TencentCloud::Common::TencentCloudSDKException => e
292
+ raise e
293
+ rescue StandardError => e
294
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
295
+ end
296
+
273
297
  # 查询待续费节点信息
274
298
 
275
299
  # @param request: Request instance for DescribeInstanceRenewNodes.
@@ -602,10 +602,10 @@ module TencentCloud
602
602
 
603
603
  attr_accessor :Id, :ClusterId, :Ftitle, :ClusterName, :RegionId, :ZoneId, :AppId, :Uin, :ProjectId, :VpcId, :SubnetId, :Status, :AddTime, :RunTime, :Config, :MasterIp, :EmrVersion, :ChargeType, :TradeVersion, :ResourceOrderId, :IsTradeCluster, :AlarmInfo, :IsWoodpeckerCluster, :MetaDb, :Tags, :HiveMetaDb, :ServiceClass, :AliasInfo, :ProductId, :Zone, :SceneName, :SceneServiceClass, :SceneEmrVersion, :DisplayName, :VpcName, :SubnetName, :ClusterExternalServiceInfo, :UniqVpcId, :UniqSubnetId, :TopologyInfoList, :IsMultiZoneCluster, :IsCvmReplace, :ClusterTitle, :ConfigDetail
604
604
  extend Gem::Deprecate
605
- deprecate :Ftitle, :none, 2023, 12
606
- deprecate :Ftitle=, :none, 2023, 12
607
- deprecate :Config, :none, 2023, 12
608
- deprecate :Config=, :none, 2023, 12
605
+ deprecate :Ftitle, :none, 2024, 1
606
+ deprecate :Ftitle=, :none, 2024, 1
607
+ deprecate :Config, :none, 2024, 1
608
+ deprecate :Config=, :none, 2024, 1
609
609
 
610
610
  def initialize(id=nil, clusterid=nil, ftitle=nil, clustername=nil, regionid=nil, zoneid=nil, appid=nil, uin=nil, projectid=nil, vpcid=nil, subnetid=nil, status=nil, addtime=nil, runtime=nil, config=nil, masterip=nil, emrversion=nil, chargetype=nil, tradeversion=nil, resourceorderid=nil, istradecluster=nil, alarminfo=nil, iswoodpeckercluster=nil, metadb=nil, tags=nil, hivemetadb=nil, serviceclass=nil, aliasinfo=nil, productid=nil, zone=nil, scenename=nil, sceneserviceclass=nil, sceneemrversion=nil, displayname=nil, vpcname=nil, subnetname=nil, clusterexternalserviceinfo=nil, uniqvpcid=nil, uniqsubnetid=nil, topologyinfolist=nil, ismultizonecluster=nil, iscvmreplace=nil, clustertitle=nil, configdetail=nil)
611
611
  @Id = id
@@ -1901,6 +1901,70 @@ module TencentCloud
1901
1901
  end
1902
1902
  end
1903
1903
 
1904
+ # DescribeInsightList请求参数结构体
1905
+ class DescribeInsightListRequest < TencentCloud::Common::AbstractModel
1906
+ # @param InstanceId: 集群ID
1907
+ # @type InstanceId: String
1908
+ # @param StartTime: 获取的洞察结果开始时间,此时间针对对App或者Hive查询的开始时间的过滤
1909
+ # @type StartTime: Integer
1910
+ # @param EndTime: 获取的洞察结果结束时间,此时间针对对App或者Hive查询的开始时间的过滤
1911
+ # @type EndTime: Integer
1912
+ # @param PageSize: 分页查询时的分页大小,最小1,最大100
1913
+ # @type PageSize: Integer
1914
+ # @param Page: 分页查询时的页号,从1开始
1915
+ # @type Page: Integer
1916
+
1917
+ attr_accessor :InstanceId, :StartTime, :EndTime, :PageSize, :Page
1918
+
1919
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, pagesize=nil, page=nil)
1920
+ @InstanceId = instanceid
1921
+ @StartTime = starttime
1922
+ @EndTime = endtime
1923
+ @PageSize = pagesize
1924
+ @Page = page
1925
+ end
1926
+
1927
+ def deserialize(params)
1928
+ @InstanceId = params['InstanceId']
1929
+ @StartTime = params['StartTime']
1930
+ @EndTime = params['EndTime']
1931
+ @PageSize = params['PageSize']
1932
+ @Page = params['Page']
1933
+ end
1934
+ end
1935
+
1936
+ # DescribeInsightList返回参数结构体
1937
+ class DescribeInsightListResponse < TencentCloud::Common::AbstractModel
1938
+ # @param TotalCount: 总数,分页查询时使用
1939
+ # @type TotalCount: Integer
1940
+ # @param ResultList: 洞察结果数组
1941
+ # 注意:此字段可能返回 null,表示取不到有效值。
1942
+ # @type ResultList: Array
1943
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1944
+ # @type RequestId: String
1945
+
1946
+ attr_accessor :TotalCount, :ResultList, :RequestId
1947
+
1948
+ def initialize(totalcount=nil, resultlist=nil, requestid=nil)
1949
+ @TotalCount = totalcount
1950
+ @ResultList = resultlist
1951
+ @RequestId = requestid
1952
+ end
1953
+
1954
+ def deserialize(params)
1955
+ @TotalCount = params['TotalCount']
1956
+ unless params['ResultList'].nil?
1957
+ @ResultList = []
1958
+ params['ResultList'].each do |i|
1959
+ insightresult_tmp = InsightResult.new
1960
+ insightresult_tmp.deserialize(i)
1961
+ @ResultList << insightresult_tmp
1962
+ end
1963
+ end
1964
+ @RequestId = params['RequestId']
1965
+ end
1966
+ end
1967
+
1904
1968
  # DescribeInstanceRenewNodes请求参数结构体
1905
1969
  class DescribeInstanceRenewNodesRequest < TencentCloud::Common::AbstractModel
1906
1970
  # @param InstanceId: 集群实例ID,实例ID形如: emr-xxxxxxxx
@@ -3739,6 +3803,106 @@ module TencentCloud
3739
3803
  end
3740
3804
  end
3741
3805
 
3806
+ # 洞察结果项
3807
+ class InsightResult < TencentCloud::Common::AbstractModel
3808
+ # @param ID: 当Type为HIVE时,是Hive查询ID,当Type为MAPREDUCE,SPARK,TEZ时则是YarnAppID
3809
+ # 注意:此字段可能返回 null,表示取不到有效值。
3810
+ # @type ID: String
3811
+ # @param Type: 洞察应用的类型,HIVE,SPARK,MAPREDUCE,TEZ
3812
+ # 注意:此字段可能返回 null,表示取不到有效值。
3813
+ # @type Type: String
3814
+ # @param RuleID: 洞察规则ID
3815
+ # HIVE-ScanManyMeta:元数据扫描过多
3816
+ # HIVE-ScanManyPartition:大表扫描
3817
+ # HIVE-SlowCompile:编译耗时过长
3818
+ # HIVE-UnSuitableConfig:不合理参数
3819
+ # MAPREDUCE-MapperDataSkew:Map数据倾斜
3820
+ # MAPREDUCE-MapperMemWaste:MapMemory资源浪费
3821
+ # MAPREDUCE-MapperSlowTask:Map慢Task
3822
+ # MAPREDUCE-MapperTaskGC:MapperTaskGC
3823
+ # MAPREDUCE-MemExceeded:峰值内存超限
3824
+ # MAPREDUCE-ReducerDataSkew:Reduce数据倾斜
3825
+ # MAPREDUCE-ReducerMemWaste:ReduceMemory资源浪费
3826
+ # MAPREDUCE-ReducerSlowTask:Reduce慢Task
3827
+ # MAPREDUCE-ReducerTaskGC:ReducerTaskGC
3828
+ # MAPREDUCE-SchedulingDelay:调度延迟
3829
+ # SPARK-CpuWaste:CPU资源浪费
3830
+ # SPARK-DataSkew:数据倾斜
3831
+ # SPARK-ExecutorGC:ExecutorGC
3832
+ # SPARK-MemExceeded:峰值内存超限
3833
+ # SPARK-MemWaste:Memory资源浪费
3834
+ # SPARK-ScheduleOverhead:ScheduleOverhead
3835
+ # SPARK-ScheduleSkew:调度倾斜
3836
+ # SPARK-SlowTask:慢Task
3837
+ # TEZ-DataSkew:数据倾斜
3838
+ # TEZ-MapperDataSkew:Map数据倾斜
3839
+ # TEZ-ReducerDataSkew:Reduce数据倾斜
3840
+ # TEZ-TezMemWaste:Memory资源浪费
3841
+ # TEZ-TezSlowTask:慢Task
3842
+ # TEZ-TezTaskGC:TasksGC
3843
+ # 注意:此字段可能返回 null,表示取不到有效值。
3844
+ # @type RuleID: String
3845
+ # @param RuleName: 洞察规则名字,可参考RuleID的说明
3846
+ # 注意:此字段可能返回 null,表示取不到有效值。
3847
+ # @type RuleName: String
3848
+ # @param RuleExplain: 洞察规则解释
3849
+ # 注意:此字段可能返回 null,表示取不到有效值。
3850
+ # @type RuleExplain: String
3851
+ # @param Detail: 详情
3852
+ # 注意:此字段可能返回 null,表示取不到有效值。
3853
+ # @type Detail: String
3854
+ # @param Suggestion: 建议信息
3855
+ # 注意:此字段可能返回 null,表示取不到有效值。
3856
+ # @type Suggestion: String
3857
+ # @param Value: 洞察异常衡量值,同类型的洞察项越大越严重,不同类型的洞察项无对比意义
3858
+ # 注意:此字段可能返回 null,表示取不到有效值。
3859
+ # @type Value: Integer
3860
+ # @param ScheduleTaskExecID: 调度任务执行ID
3861
+ # 注意:此字段可能返回 null,表示取不到有效值。
3862
+ # @type ScheduleTaskExecID: String
3863
+ # @param ScheduleFlowName: 调度流,DAG
3864
+ # 注意:此字段可能返回 null,表示取不到有效值。
3865
+ # @type ScheduleFlowName: String
3866
+ # @param ScheduleTaskName: 调度flow中的某个task节点
3867
+ # 注意:此字段可能返回 null,表示取不到有效值。
3868
+ # @type ScheduleTaskName: String
3869
+ # @param JobConf: Yarn任务的部分核心配置
3870
+ # 注意:此字段可能返回 null,表示取不到有效值。
3871
+ # @type JobConf: String
3872
+
3873
+ attr_accessor :ID, :Type, :RuleID, :RuleName, :RuleExplain, :Detail, :Suggestion, :Value, :ScheduleTaskExecID, :ScheduleFlowName, :ScheduleTaskName, :JobConf
3874
+
3875
+ def initialize(id=nil, type=nil, ruleid=nil, rulename=nil, ruleexplain=nil, detail=nil, suggestion=nil, value=nil, scheduletaskexecid=nil, scheduleflowname=nil, scheduletaskname=nil, jobconf=nil)
3876
+ @ID = id
3877
+ @Type = type
3878
+ @RuleID = ruleid
3879
+ @RuleName = rulename
3880
+ @RuleExplain = ruleexplain
3881
+ @Detail = detail
3882
+ @Suggestion = suggestion
3883
+ @Value = value
3884
+ @ScheduleTaskExecID = scheduletaskexecid
3885
+ @ScheduleFlowName = scheduleflowname
3886
+ @ScheduleTaskName = scheduletaskname
3887
+ @JobConf = jobconf
3888
+ end
3889
+
3890
+ def deserialize(params)
3891
+ @ID = params['ID']
3892
+ @Type = params['Type']
3893
+ @RuleID = params['RuleID']
3894
+ @RuleName = params['RuleName']
3895
+ @RuleExplain = params['RuleExplain']
3896
+ @Detail = params['Detail']
3897
+ @Suggestion = params['Suggestion']
3898
+ @Value = params['Value']
3899
+ @ScheduleTaskExecID = params['ScheduleTaskExecID']
3900
+ @ScheduleFlowName = params['ScheduleFlowName']
3901
+ @ScheduleTaskName = params['ScheduleTaskName']
3902
+ @JobConf = params['JobConf']
3903
+ end
3904
+ end
3905
+
3742
3906
  # 实例预付费参数,只有在付费类型为PREPAID时生效。
3743
3907
  class InstanceChargePrepaid < TencentCloud::Common::AbstractModel
3744
3908
  # @param Period: 包年包月时间,默认为1,单位:月。
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.751
4
+ version: 3.0.752
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-16 00:00:00.000000000 Z
11
+ date: 2024-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common