tencentcloud-sdk-emr 3.0.840 → 3.0.842

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03629783a9aa4ce960b8c39ddbb135b6d023b96a
4
- data.tar.gz: 7e859dd701d31b700577fdcfbf7717c2712ad0f9
3
+ metadata.gz: bf6b335cb91286fae5c0b015d8a86740bf08f962
4
+ data.tar.gz: 30ec0200a017ae5f11a6063ca2c850f09d10f602
5
5
  SHA512:
6
- metadata.gz: c2562e04f3b8a435713b0130efbe6b3949aed8018311063a65a2a9289544972520315422967dafeed88dce88d8fb8d3527062a23fedf031f4f0f41dc3857af20
7
- data.tar.gz: 41034415ab1a3b8e328ad19cdbc1390f3fd70fdaf9846236b7263ae6c22682d999988cebf55e90435c714649cda934344bf06235ffa0d90b939c864ec2fb6d13
6
+ metadata.gz: 8e1c5a75d03a4b64aa68ada45e2c419f22191111cee3218ac0dfc714520e739e32c25aaf38ca6c095bff7f1e101e9ff6bf5df9d61bdbfe41800532beacd8e72e
7
+ data.tar.gz: ebe8d56b79f686c9238d3d5d6ce0df9c230ca88e3410f29b1003703739207563ccc7e6276e6c815d956e2af6ec91a61b34b4b3139ec1342256ecb63d3f17a0a9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.840
1
+ 3.0.842
@@ -246,6 +246,30 @@ module TencentCloud
246
246
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
247
247
  end
248
248
 
249
+ # 查询EMR任务运行详情状态
250
+
251
+ # @param request: Request instance for DescribeClusterFlowStatusDetail.
252
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeClusterFlowStatusDetailRequest`
253
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeClusterFlowStatusDetailResponse`
254
+ def DescribeClusterFlowStatusDetail(request)
255
+ body = send_request('DescribeClusterFlowStatusDetail', request.serialize)
256
+ response = JSON.parse(body)
257
+ if response['Response'].key?('Error') == false
258
+ model = DescribeClusterFlowStatusDetailResponse.new
259
+ model.deserialize(response['Response'])
260
+ model
261
+ else
262
+ code = response['Response']['Error']['Code']
263
+ message = response['Response']['Error']['Message']
264
+ reqid = response['Response']['RequestId']
265
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
266
+ end
267
+ rescue TencentCloud::Common::TencentCloudSDKException => e
268
+ raise e
269
+ rescue StandardError => e
270
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
271
+ end
272
+
249
273
  # 查询集群节点信息
250
274
 
251
275
  # @param request: Request instance for DescribeClusterNodes.
@@ -1768,6 +1768,109 @@ module TencentCloud
1768
1768
  end
1769
1769
  end
1770
1770
 
1771
+ # DescribeClusterFlowStatusDetail请求参数结构体
1772
+ class DescribeClusterFlowStatusDetailRequest < TencentCloud::Common::AbstractModel
1773
+ # @param InstanceId: EMR实例ID
1774
+ # @type InstanceId: String
1775
+ # @param FlowParam: 流程相关参数
1776
+ # @type FlowParam: :class:`Tencentcloud::Emr.v20190103.models.FlowParam`
1777
+ # @param NeedExtraDetail: 是否返回任务额外信息
1778
+ # 默认: false
1779
+ # @type NeedExtraDetail: Boolean
1780
+
1781
+ attr_accessor :InstanceId, :FlowParam, :NeedExtraDetail
1782
+
1783
+ def initialize(instanceid=nil, flowparam=nil, needextradetail=nil)
1784
+ @InstanceId = instanceid
1785
+ @FlowParam = flowparam
1786
+ @NeedExtraDetail = needextradetail
1787
+ end
1788
+
1789
+ def deserialize(params)
1790
+ @InstanceId = params['InstanceId']
1791
+ unless params['FlowParam'].nil?
1792
+ @FlowParam = FlowParam.new
1793
+ @FlowParam.deserialize(params['FlowParam'])
1794
+ end
1795
+ @NeedExtraDetail = params['NeedExtraDetail']
1796
+ end
1797
+ end
1798
+
1799
+ # DescribeClusterFlowStatusDetail返回参数结构体
1800
+ class DescribeClusterFlowStatusDetailResponse < TencentCloud::Common::AbstractModel
1801
+ # @param StageDetails: 任务步骤详情
1802
+ # 注意:此字段可能返回 null,表示取不到有效值。
1803
+ # @type StageDetails: Array
1804
+ # @param FlowDesc: 任务参数
1805
+ # 注意:此字段可能返回 null,表示取不到有效值。
1806
+ # @type FlowDesc: Array
1807
+ # @param FlowName: 任务名称
1808
+ # 注意:此字段可能返回 null,表示取不到有效值。
1809
+ # @type FlowName: String
1810
+ # @param FlowTotalProgress: 总任务流程进度:
1811
+ # 例如:0.8
1812
+ # 注意:此字段可能返回 null,表示取不到有效值。
1813
+ # @type FlowTotalProgress: Float
1814
+ # @param FlowTotalStatus: 定义流程总状态:
1815
+ # 0:初始化,
1816
+ # 1:运行中,
1817
+ # 2:完成,
1818
+ # 3:完成(存在跳过步骤),
1819
+ # -1:失败,
1820
+ # -3:阻塞,
1821
+ # 注意:此字段可能返回 null,表示取不到有效值。
1822
+ # @type FlowTotalStatus: Integer
1823
+ # @param FlowExtraDetail: 流程额外信息
1824
+ # NeedExtraDetail为true时返回
1825
+ # 注意:此字段可能返回 null,表示取不到有效值。
1826
+ # @type FlowExtraDetail: Array
1827
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1828
+ # @type RequestId: String
1829
+
1830
+ attr_accessor :StageDetails, :FlowDesc, :FlowName, :FlowTotalProgress, :FlowTotalStatus, :FlowExtraDetail, :RequestId
1831
+
1832
+ def initialize(stagedetails=nil, flowdesc=nil, flowname=nil, flowtotalprogress=nil, flowtotalstatus=nil, flowextradetail=nil, requestid=nil)
1833
+ @StageDetails = stagedetails
1834
+ @FlowDesc = flowdesc
1835
+ @FlowName = flowname
1836
+ @FlowTotalProgress = flowtotalprogress
1837
+ @FlowTotalStatus = flowtotalstatus
1838
+ @FlowExtraDetail = flowextradetail
1839
+ @RequestId = requestid
1840
+ end
1841
+
1842
+ def deserialize(params)
1843
+ unless params['StageDetails'].nil?
1844
+ @StageDetails = []
1845
+ params['StageDetails'].each do |i|
1846
+ stageinfodetail_tmp = StageInfoDetail.new
1847
+ stageinfodetail_tmp.deserialize(i)
1848
+ @StageDetails << stageinfodetail_tmp
1849
+ end
1850
+ end
1851
+ unless params['FlowDesc'].nil?
1852
+ @FlowDesc = []
1853
+ params['FlowDesc'].each do |i|
1854
+ flowparamsdesc_tmp = FlowParamsDesc.new
1855
+ flowparamsdesc_tmp.deserialize(i)
1856
+ @FlowDesc << flowparamsdesc_tmp
1857
+ end
1858
+ end
1859
+ @FlowName = params['FlowName']
1860
+ @FlowTotalProgress = params['FlowTotalProgress']
1861
+ @FlowTotalStatus = params['FlowTotalStatus']
1862
+ unless params['FlowExtraDetail'].nil?
1863
+ @FlowExtraDetail = []
1864
+ params['FlowExtraDetail'].each do |i|
1865
+ flowextradetail_tmp = FlowExtraDetail.new
1866
+ flowextradetail_tmp.deserialize(i)
1867
+ @FlowExtraDetail << flowextradetail_tmp
1868
+ end
1869
+ end
1870
+ @RequestId = params['RequestId']
1871
+ end
1872
+ end
1873
+
1771
1874
  # DescribeClusterNodes请求参数结构体
1772
1875
  class DescribeClusterNodesRequest < TencentCloud::Common::AbstractModel
1773
1876
  # @param InstanceId: 集群实例ID,实例ID形如: emr-xxxxxxxx
@@ -3500,6 +3603,78 @@ module TencentCloud
3500
3603
  end
3501
3604
  end
3502
3605
 
3606
+ # 流程额外信息
3607
+ class FlowExtraDetail < TencentCloud::Common::AbstractModel
3608
+ # @param Title: 额外信息Title
3609
+ # 注意:此字段可能返回 null,表示取不到有效值。
3610
+ # @type Title: String
3611
+ # @param Detail: 额外信息
3612
+ # 注意:此字段可能返回 null,表示取不到有效值。
3613
+ # @type Detail: Array
3614
+
3615
+ attr_accessor :Title, :Detail
3616
+
3617
+ def initialize(title=nil, detail=nil)
3618
+ @Title = title
3619
+ @Detail = detail
3620
+ end
3621
+
3622
+ def deserialize(params)
3623
+ @Title = params['Title']
3624
+ unless params['Detail'].nil?
3625
+ @Detail = []
3626
+ params['Detail'].each do |i|
3627
+ flowparamsdesc_tmp = FlowParamsDesc.new
3628
+ flowparamsdesc_tmp.deserialize(i)
3629
+ @Detail << flowparamsdesc_tmp
3630
+ end
3631
+ end
3632
+ end
3633
+ end
3634
+
3635
+ # FlowParam流程参数
3636
+ class FlowParam < TencentCloud::Common::AbstractModel
3637
+ # @param FKey: 流程参数key
3638
+ # TraceId:通过TraceId查询
3639
+ # FlowId: 通过FlowId查询
3640
+ # @type FKey: String
3641
+ # @param FValue: 参数value
3642
+ # @type FValue: String
3643
+
3644
+ attr_accessor :FKey, :FValue
3645
+
3646
+ def initialize(fkey=nil, fvalue=nil)
3647
+ @FKey = fkey
3648
+ @FValue = fvalue
3649
+ end
3650
+
3651
+ def deserialize(params)
3652
+ @FKey = params['FKey']
3653
+ @FValue = params['FValue']
3654
+ end
3655
+ end
3656
+
3657
+ # 任务参数描述
3658
+ class FlowParamsDesc < TencentCloud::Common::AbstractModel
3659
+ # @param PKey: 参数key
3660
+ # @type PKey: String
3661
+ # @param PValue: 参数value
3662
+ # 注意:此字段可能返回 null,表示取不到有效值。
3663
+ # @type PValue: String
3664
+
3665
+ attr_accessor :PKey, :PValue
3666
+
3667
+ def initialize(pkey=nil, pvalue=nil)
3668
+ @PKey = pkey
3669
+ @PValue = pvalue
3670
+ end
3671
+
3672
+ def deserialize(params)
3673
+ @PKey = params['PKey']
3674
+ @PValue = params['PValue']
3675
+ end
3676
+ end
3677
+
3503
3678
  # 集群所有伸缩组全局参数信息
3504
3679
  class GroupGlobalConfs < TencentCloud::Common::AbstractModel
3505
3680
  # @param GroupGlobalConf: 伸缩组信息
@@ -5394,10 +5569,13 @@ module TencentCloud
5394
5569
  # @param ServicesStatus: 各组件状态,Zookeeper:STARTED,ResourceManager:STARTED,STARTED已启动,STOPED已停止
5395
5570
  # 注意:此字段可能返回 null,表示取不到有效值。
5396
5571
  # @type ServicesStatus: String
5572
+ # @param Remark: 备注
5573
+ # 注意:此字段可能返回 null,表示取不到有效值。
5574
+ # @type Remark: String
5397
5575
 
5398
- attr_accessor :AppId, :SerialNo, :OrderNo, :WanIp, :Flag, :Spec, :CpuNum, :MemSize, :MemDesc, :RegionId, :ZoneId, :ApplyTime, :FreeTime, :DiskSize, :NameTag, :Services, :StorageType, :RootSize, :ChargeType, :CdbIp, :CdbPort, :HwDiskSize, :HwDiskSizeDesc, :HwMemSize, :HwMemSizeDesc, :ExpireTime, :EmrResourceId, :IsAutoRenew, :DeviceClass, :Mutable, :MCMultiDisk, :CdbNodeInfo, :Ip, :Destroyable, :Tags, :AutoFlag, :HardwareResourceType, :IsDynamicSpec, :DynamicPodSpec, :SupportModifyPayMode, :RootStorageType, :Zone, :SubnetInfo, :Clients, :CurrentTime, :IsFederation, :DeviceName, :ServiceClient, :DisableApiTermination, :TradeVersion, :ServicesStatus
5576
+ attr_accessor :AppId, :SerialNo, :OrderNo, :WanIp, :Flag, :Spec, :CpuNum, :MemSize, :MemDesc, :RegionId, :ZoneId, :ApplyTime, :FreeTime, :DiskSize, :NameTag, :Services, :StorageType, :RootSize, :ChargeType, :CdbIp, :CdbPort, :HwDiskSize, :HwDiskSizeDesc, :HwMemSize, :HwMemSizeDesc, :ExpireTime, :EmrResourceId, :IsAutoRenew, :DeviceClass, :Mutable, :MCMultiDisk, :CdbNodeInfo, :Ip, :Destroyable, :Tags, :AutoFlag, :HardwareResourceType, :IsDynamicSpec, :DynamicPodSpec, :SupportModifyPayMode, :RootStorageType, :Zone, :SubnetInfo, :Clients, :CurrentTime, :IsFederation, :DeviceName, :ServiceClient, :DisableApiTermination, :TradeVersion, :ServicesStatus, :Remark
5399
5577
 
5400
- def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil, rootstoragetype=nil, zone=nil, subnetinfo=nil, clients=nil, currenttime=nil, isfederation=nil, devicename=nil, serviceclient=nil, disableapitermination=nil, tradeversion=nil, servicesstatus=nil)
5578
+ def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil, rootstoragetype=nil, zone=nil, subnetinfo=nil, clients=nil, currenttime=nil, isfederation=nil, devicename=nil, serviceclient=nil, disableapitermination=nil, tradeversion=nil, servicesstatus=nil, remark=nil)
5401
5579
  @AppId = appid
5402
5580
  @SerialNo = serialno
5403
5581
  @OrderNo = orderno
@@ -5449,6 +5627,7 @@ module TencentCloud
5449
5627
  @DisableApiTermination = disableapitermination
5450
5628
  @TradeVersion = tradeversion
5451
5629
  @ServicesStatus = servicesstatus
5630
+ @Remark = remark
5452
5631
  end
5453
5632
 
5454
5633
  def deserialize(params)
@@ -5523,6 +5702,7 @@ module TencentCloud
5523
5702
  @DisableApiTermination = params['DisableApiTermination']
5524
5703
  @TradeVersion = params['TradeVersion']
5525
5704
  @ServicesStatus = params['ServicesStatus']
5705
+ @Remark = params['Remark']
5526
5706
  end
5527
5707
  end
5528
5708
 
@@ -7551,6 +7731,89 @@ module TencentCloud
7551
7731
  end
7552
7732
  end
7553
7733
 
7734
+ # 任务步骤详情
7735
+ class StageInfoDetail < TencentCloud::Common::AbstractModel
7736
+ # @param Stage: 步骤id
7737
+ # @type Stage: String
7738
+ # @param Name: 步骤名
7739
+ # 注意:此字段可能返回 null,表示取不到有效值。
7740
+ # @type Name: String
7741
+ # @param IsShow: 是否展示
7742
+ # @type IsShow: Boolean
7743
+ # @param IsSubFlow: 是否子流程
7744
+ # @type IsSubFlow: Boolean
7745
+ # @param SubFlowFlag: 子流程标签
7746
+ # 注意:此字段可能返回 null,表示取不到有效值。
7747
+ # @type SubFlowFlag: String
7748
+ # @param Status: 步骤运行状态:0:未开始 1:进行中 2:已完成 3:部分完成 -1:失败
7749
+ # @type Status: Integer
7750
+ # @param Desc: 步骤运行状态描述
7751
+ # 注意:此字段可能返回 null,表示取不到有效值。
7752
+ # @type Desc: String
7753
+ # @param Progress: 运行进度
7754
+ # 注意:此字段可能返回 null,表示取不到有效值。
7755
+ # @type Progress: Float
7756
+ # @param Starttime: 开始时间
7757
+ # 注意:此字段可能返回 null,表示取不到有效值。
7758
+ # @type Starttime: String
7759
+ # @param Endtime: 结束时间
7760
+ # 注意:此字段可能返回 null,表示取不到有效值。
7761
+ # @type Endtime: String
7762
+ # @param HadWoodDetail: 是否有详情信息
7763
+ # 注意:此字段可能返回 null,表示取不到有效值。
7764
+ # @type HadWoodDetail: Boolean
7765
+ # @param WoodJobId: Wood子流程Id
7766
+ # 注意:此字段可能返回 null,表示取不到有效值。
7767
+ # @type WoodJobId: Integer
7768
+ # @param LanguageKey: 多语言版本Key
7769
+ # 注意:此字段可能返回 null,表示取不到有效值。
7770
+ # @type LanguageKey: String
7771
+ # @param FailedReason: 如果stage失败,失败原因
7772
+ # 注意:此字段可能返回 null,表示取不到有效值。
7773
+ # @type FailedReason: String
7774
+ # @param TimeConsuming: 步骤耗时
7775
+ # 注意:此字段可能返回 null,表示取不到有效值。
7776
+ # @type TimeConsuming: String
7777
+
7778
+ attr_accessor :Stage, :Name, :IsShow, :IsSubFlow, :SubFlowFlag, :Status, :Desc, :Progress, :Starttime, :Endtime, :HadWoodDetail, :WoodJobId, :LanguageKey, :FailedReason, :TimeConsuming
7779
+
7780
+ def initialize(stage=nil, name=nil, isshow=nil, issubflow=nil, subflowflag=nil, status=nil, desc=nil, progress=nil, starttime=nil, endtime=nil, hadwooddetail=nil, woodjobid=nil, languagekey=nil, failedreason=nil, timeconsuming=nil)
7781
+ @Stage = stage
7782
+ @Name = name
7783
+ @IsShow = isshow
7784
+ @IsSubFlow = issubflow
7785
+ @SubFlowFlag = subflowflag
7786
+ @Status = status
7787
+ @Desc = desc
7788
+ @Progress = progress
7789
+ @Starttime = starttime
7790
+ @Endtime = endtime
7791
+ @HadWoodDetail = hadwooddetail
7792
+ @WoodJobId = woodjobid
7793
+ @LanguageKey = languagekey
7794
+ @FailedReason = failedreason
7795
+ @TimeConsuming = timeconsuming
7796
+ end
7797
+
7798
+ def deserialize(params)
7799
+ @Stage = params['Stage']
7800
+ @Name = params['Name']
7801
+ @IsShow = params['IsShow']
7802
+ @IsSubFlow = params['IsSubFlow']
7803
+ @SubFlowFlag = params['SubFlowFlag']
7804
+ @Status = params['Status']
7805
+ @Desc = params['Desc']
7806
+ @Progress = params['Progress']
7807
+ @Starttime = params['Starttime']
7808
+ @Endtime = params['Endtime']
7809
+ @HadWoodDetail = params['HadWoodDetail']
7810
+ @WoodJobId = params['WoodJobId']
7811
+ @LanguageKey = params['LanguageKey']
7812
+ @FailedReason = params['FailedReason']
7813
+ @TimeConsuming = params['TimeConsuming']
7814
+ end
7815
+ end
7816
+
7554
7817
  # StartStopServiceOrMonitor请求参数结构体
7555
7818
  class StartStopServiceOrMonitorRequest < TencentCloud::Common::AbstractModel
7556
7819
  # @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.840
4
+ version: 3.0.842
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-06-09 00:00:00.000000000 Z
11
+ date: 2024-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common