tencentcloud-sdk-emr 3.0.1077 → 3.0.1088

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: 01080c360a8e7082e6259190db47e8ceab8f750d
4
- data.tar.gz: 07fe26605382d6b22f779cb6dd4d70734ca70509
3
+ metadata.gz: ca08b45be34244b83ab56d60025204b0aa3db660
4
+ data.tar.gz: eafbcb330dcca14d83d1cf987e9a9bf7f0e64376
5
5
  SHA512:
6
- metadata.gz: c2e30c4894daa92c4bde2ff0004337a5ee137f0bee4852e786c89eaf67544f0183e86ae326467e1d8d7c7a5e89e7443729fa8845e6de53596f00fe46358d3b2e
7
- data.tar.gz: d4446aceba913bcc5d8b25e20954ea9fa543f3960b22f3c0e3c593ecbfee711c507916d1c2a75a88657ed6511cdef361f62b6d6fc402715f7db7d11d2d99bc90
6
+ metadata.gz: 2389544650b7d23e5a7f3be86e839025cb45423582e4685efd4be83770fa5d64e4f4fb016fafaca907306275d9433b3311765bc61d35263d57f0dcb3080673ae
7
+ data.tar.gz: 5c3975813c50f1b8dd45cae8f4781176edaa4d751e048929a7a2605309bd9703c916331406961cc0ac9190d93d70038a8cbba6f323589682788549b021cc23b4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1077
1
+ 3.0.1088
@@ -1064,6 +1064,30 @@ module TencentCloud
1064
1064
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1065
1065
  end
1066
1066
 
1067
+ # 获取spark应用列表
1068
+
1069
+ # @param request: Request instance for DescribeSparkApplications.
1070
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeSparkApplicationsRequest`
1071
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeSparkApplicationsResponse`
1072
+ def DescribeSparkApplications(request)
1073
+ body = send_request('DescribeSparkApplications', request.serialize)
1074
+ response = JSON.parse(body)
1075
+ if response['Response'].key?('Error') == false
1076
+ model = DescribeSparkApplicationsResponse.new
1077
+ model.deserialize(response['Response'])
1078
+ model
1079
+ else
1080
+ code = response['Response']['Error']['Code']
1081
+ message = response['Response']['Error']['Message']
1082
+ reqid = response['Response']['RequestId']
1083
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1084
+ end
1085
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1086
+ raise e
1087
+ rescue StandardError => e
1088
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1089
+ end
1090
+
1067
1091
  # 查询Spark查询信息列表
1068
1092
 
1069
1093
  # @param request: Request instance for DescribeSparkQueries.
@@ -1522,6 +1546,8 @@ module TencentCloud
1522
1546
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1523
1547
  end
1524
1548
 
1549
+ # 已废弃,请使用DeployYarnConf\\n,近一年未被调用
1550
+
1525
1551
  # 刷新YARN的动态资源池。已废弃,请使用`DeployYarnConf`
1526
1552
 
1527
1553
  # @param request: Request instance for ModifyResourcePools.
@@ -4832,6 +4832,69 @@ module TencentCloud
4832
4832
  end
4833
4833
  end
4834
4834
 
4835
+ # DescribeSparkApplications请求参数结构体
4836
+ class DescribeSparkApplicationsRequest < TencentCloud::Common::AbstractModel
4837
+ # @param InstanceId: 集群id
4838
+ # @type InstanceId: String
4839
+ # @param StartTime: 查询开始时间
4840
+ # @type StartTime: Integer
4841
+ # @param EndTime: 查询结束时间
4842
+ # @type EndTime: Integer
4843
+ # @param PageSize: 每一页条数
4844
+ # @type PageSize: Integer
4845
+ # @param Page: 第几页
4846
+ # @type Page: Integer
4847
+
4848
+ attr_accessor :InstanceId, :StartTime, :EndTime, :PageSize, :Page
4849
+
4850
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, pagesize=nil, page=nil)
4851
+ @InstanceId = instanceid
4852
+ @StartTime = starttime
4853
+ @EndTime = endtime
4854
+ @PageSize = pagesize
4855
+ @Page = page
4856
+ end
4857
+
4858
+ def deserialize(params)
4859
+ @InstanceId = params['InstanceId']
4860
+ @StartTime = params['StartTime']
4861
+ @EndTime = params['EndTime']
4862
+ @PageSize = params['PageSize']
4863
+ @Page = params['Page']
4864
+ end
4865
+ end
4866
+
4867
+ # DescribeSparkApplications返回参数结构体
4868
+ class DescribeSparkApplicationsResponse < TencentCloud::Common::AbstractModel
4869
+ # @param TotalCount: 返回数量
4870
+ # @type TotalCount: Integer
4871
+ # @param ResultList: spark应用列表
4872
+ # @type ResultList: Array
4873
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4874
+ # @type RequestId: String
4875
+
4876
+ attr_accessor :TotalCount, :ResultList, :RequestId
4877
+
4878
+ def initialize(totalcount=nil, resultlist=nil, requestid=nil)
4879
+ @TotalCount = totalcount
4880
+ @ResultList = resultlist
4881
+ @RequestId = requestid
4882
+ end
4883
+
4884
+ def deserialize(params)
4885
+ @TotalCount = params['TotalCount']
4886
+ unless params['ResultList'].nil?
4887
+ @ResultList = []
4888
+ params['ResultList'].each do |i|
4889
+ sparkapplicationslist_tmp = SparkApplicationsList.new
4890
+ sparkapplicationslist_tmp.deserialize(i)
4891
+ @ResultList << sparkapplicationslist_tmp
4892
+ end
4893
+ end
4894
+ @RequestId = params['RequestId']
4895
+ end
4896
+ end
4897
+
4835
4898
  # DescribeSparkQueries请求参数结构体
4836
4899
  class DescribeSparkQueriesRequest < TencentCloud::Common::AbstractModel
4837
4900
  # @param InstanceId: 集群ID
@@ -12168,6 +12231,62 @@ module TencentCloud
12168
12231
  end
12169
12232
  end
12170
12233
 
12234
+ # spark任务列表
12235
+ class SparkApplicationsList < TencentCloud::Common::AbstractModel
12236
+ # @param ID: 应用id
12237
+ # @type ID: String
12238
+ # @param Name: 应用名称
12239
+ # @type Name: String
12240
+ # @param User: 用户
12241
+ # @type User: String
12242
+ # @param StartTime: 起始时间
12243
+ # @type StartTime: Integer
12244
+ # @param EndTime: 结束时间
12245
+ # @type EndTime: Integer
12246
+ # @param Duration: 持续时间
12247
+ # @type Duration: Integer
12248
+ # @param State: 状态
12249
+ # @type State: String
12250
+ # @param ApplicationType: 类型
12251
+ # @type ApplicationType: String
12252
+ # @param CoreSeconds: 核数*秒
12253
+ # @type CoreSeconds: Integer
12254
+ # @param MemorySeconds: 内存MB*秒
12255
+ # @type MemorySeconds: String
12256
+ # @param Insight: 洞察结果
12257
+ # @type Insight: String
12258
+
12259
+ attr_accessor :ID, :Name, :User, :StartTime, :EndTime, :Duration, :State, :ApplicationType, :CoreSeconds, :MemorySeconds, :Insight
12260
+
12261
+ def initialize(id=nil, name=nil, user=nil, starttime=nil, endtime=nil, duration=nil, state=nil, applicationtype=nil, coreseconds=nil, memoryseconds=nil, insight=nil)
12262
+ @ID = id
12263
+ @Name = name
12264
+ @User = user
12265
+ @StartTime = starttime
12266
+ @EndTime = endtime
12267
+ @Duration = duration
12268
+ @State = state
12269
+ @ApplicationType = applicationtype
12270
+ @CoreSeconds = coreseconds
12271
+ @MemorySeconds = memoryseconds
12272
+ @Insight = insight
12273
+ end
12274
+
12275
+ def deserialize(params)
12276
+ @ID = params['ID']
12277
+ @Name = params['Name']
12278
+ @User = params['User']
12279
+ @StartTime = params['StartTime']
12280
+ @EndTime = params['EndTime']
12281
+ @Duration = params['Duration']
12282
+ @State = params['State']
12283
+ @ApplicationType = params['ApplicationType']
12284
+ @CoreSeconds = params['CoreSeconds']
12285
+ @MemorySeconds = params['MemorySeconds']
12286
+ @Insight = params['Insight']
12287
+ end
12288
+ end
12289
+
12171
12290
  # spark查询详情
12172
12291
  class SparkQuery < TencentCloud::Common::AbstractModel
12173
12292
  # @param Statement: 执行语句
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.1077
4
+ version: 3.0.1088
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-06-09 00:00:00.000000000 Z
11
+ date: 2025-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common