tencentcloud-sdk-emr 3.0.925 → 3.0.926

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: f2989ea498d15b48ee594b36e5747e51ef6784c0
4
- data.tar.gz: 30be7d2d9818c60ef09be01a50d96f921e1e0664
3
+ metadata.gz: cc73a66e3c90c75c96d7e3b186920742cfdab417
4
+ data.tar.gz: af5d27a272e6070535a06ea41e706cb49e0b7db8
5
5
  SHA512:
6
- metadata.gz: 3cef73deeb0bdae8d638273e6a002dffd5ec747cee3b156508b85a07277629b16b8bfcfad95d65ac82f1000dd6aa7f912e24d41a28ed6ce72f6b12e4d8766165
7
- data.tar.gz: 488367fa916d42eb4aa0e575c93774597a3d923f8a27d1c36c7701b95006915a6ebee08450962ea48d36dd14d9d1bce95ed35baf342555dd91952bf52eb7e00b
6
+ metadata.gz: a908e8c19882a3fc35a76da9b8e5ee7ec20522a67795b764c319b83e42341213b665a415bfa282b9961f68643203e42684c850742f91ea50fe9df2f6b630b596
7
+ data.tar.gz: 3c58cd00391b0a277b80ba408d101171ffc07b9ec7c68660a2f873fd3a50902bff888eddf201174b9d7ad44279458aaed1e834097ec43cdfcecf85b9cc2a1025
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.925
1
+ 3.0.926
@@ -464,6 +464,30 @@ module TencentCloud
464
464
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
465
465
  end
466
466
 
467
+ # 查询HDFS存储文件信息
468
+
469
+ # @param request: Request instance for DescribeHDFSStorageInfo.
470
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeHDFSStorageInfoRequest`
471
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeHDFSStorageInfoResponse`
472
+ def DescribeHDFSStorageInfo(request)
473
+ body = send_request('DescribeHDFSStorageInfo', request.serialize)
474
+ response = JSON.parse(body)
475
+ if response['Response'].key?('Error') == false
476
+ model = DescribeHDFSStorageInfoResponse.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
  # 获取hive查询信息
468
492
 
469
493
  # @param request: Request instance for DescribeHiveQueries.
@@ -632,6 +656,30 @@ module TencentCloud
632
656
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
633
657
  end
634
658
 
659
+ # 查询Kyuubi查询信息
660
+
661
+ # @param request: Request instance for DescribeKyuubiQueryInfo.
662
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeKyuubiQueryInfoRequest`
663
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeKyuubiQueryInfoResponse`
664
+ def DescribeKyuubiQueryInfo(request)
665
+ body = send_request('DescribeKyuubiQueryInfo', request.serialize)
666
+ response = JSON.parse(body)
667
+ if response['Response'].key?('Error') == false
668
+ model = DescribeKyuubiQueryInfoResponse.new
669
+ model.deserialize(response['Response'])
670
+ model
671
+ else
672
+ code = response['Response']['Error']['Code']
673
+ message = response['Response']['Error']['Message']
674
+ reqid = response['Response']['RequestId']
675
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
676
+ end
677
+ rescue TencentCloud::Common::TencentCloudSDKException => e
678
+ raise e
679
+ rescue StandardError => e
680
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
681
+ end
682
+
635
683
  # 查询YARN资源调度数据信息。已废弃,请使用`DescribeYarnQueue`去查询队列信息。
636
684
 
637
685
  # @param request: Request instance for DescribeResourceSchedule.
@@ -752,6 +800,54 @@ module TencentCloud
752
800
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
753
801
  end
754
802
 
803
+ # 查询Spark查询信息列表
804
+
805
+ # @param request: Request instance for DescribeSparkQueries.
806
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeSparkQueriesRequest`
807
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeSparkQueriesResponse`
808
+ def DescribeSparkQueries(request)
809
+ body = send_request('DescribeSparkQueries', request.serialize)
810
+ response = JSON.parse(body)
811
+ if response['Response'].key?('Error') == false
812
+ model = DescribeSparkQueriesResponse.new
813
+ model.deserialize(response['Response'])
814
+ model
815
+ else
816
+ code = response['Response']['Error']['Code']
817
+ message = response['Response']['Error']['Message']
818
+ reqid = response['Response']['RequestId']
819
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
820
+ end
821
+ rescue TencentCloud::Common::TencentCloudSDKException => e
822
+ raise e
823
+ rescue StandardError => e
824
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
825
+ end
826
+
827
+ # 查询StarRocks查询信息
828
+
829
+ # @param request: Request instance for DescribeStarRocksQueryInfo.
830
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeStarRocksQueryInfoRequest`
831
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeStarRocksQueryInfoResponse`
832
+ def DescribeStarRocksQueryInfo(request)
833
+ body = send_request('DescribeStarRocksQueryInfo', request.serialize)
834
+ response = JSON.parse(body)
835
+ if response['Response'].key?('Error') == false
836
+ model = DescribeStarRocksQueryInfoResponse.new
837
+ model.deserialize(response['Response'])
838
+ model
839
+ else
840
+ code = response['Response']['Error']['Code']
841
+ message = response['Response']['Error']['Message']
842
+ reqid = response['Response']['RequestId']
843
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
844
+ end
845
+ rescue TencentCloud::Common::TencentCloudSDKException => e
846
+ raise e
847
+ rescue StandardError => e
848
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
849
+ end
850
+
755
851
  # 获取trino查询结果
756
852
 
757
853
  # @param request: Request instance for DescribeTrinoQueryInfo.
@@ -2787,6 +2787,63 @@ module TencentCloud
2787
2787
  end
2788
2788
  end
2789
2789
 
2790
+ # DescribeHDFSStorageInfo请求参数结构体
2791
+ class DescribeHDFSStorageInfoRequest < TencentCloud::Common::AbstractModel
2792
+ # @param InstanceId: 集群id
2793
+ # @type InstanceId: String
2794
+ # @param StartTime: 获取查询信息开始时间 (s)
2795
+ # @type StartTime: Integer
2796
+ # @param EndTime: 获取查询信息结束时间 (s)
2797
+ # @type EndTime: Integer
2798
+
2799
+ attr_accessor :InstanceId, :StartTime, :EndTime
2800
+
2801
+ def initialize(instanceid=nil, starttime=nil, endtime=nil)
2802
+ @InstanceId = instanceid
2803
+ @StartTime = starttime
2804
+ @EndTime = endtime
2805
+ end
2806
+
2807
+ def deserialize(params)
2808
+ @InstanceId = params['InstanceId']
2809
+ @StartTime = params['StartTime']
2810
+ @EndTime = params['EndTime']
2811
+ end
2812
+ end
2813
+
2814
+ # DescribeHDFSStorageInfo返回参数结构体
2815
+ class DescribeHDFSStorageInfoResponse < TencentCloud::Common::AbstractModel
2816
+ # @param SampleTime: 采样时间
2817
+ # 注意:此字段可能返回 null,表示取不到有效值。
2818
+ # @type SampleTime: Integer
2819
+ # @param StorageSummaryDistribution: hdfs存储详情
2820
+ # 注意:此字段可能返回 null,表示取不到有效值。
2821
+ # @type StorageSummaryDistribution: Array
2822
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2823
+ # @type RequestId: String
2824
+
2825
+ attr_accessor :SampleTime, :StorageSummaryDistribution, :RequestId
2826
+
2827
+ def initialize(sampletime=nil, storagesummarydistribution=nil, requestid=nil)
2828
+ @SampleTime = sampletime
2829
+ @StorageSummaryDistribution = storagesummarydistribution
2830
+ @RequestId = requestid
2831
+ end
2832
+
2833
+ def deserialize(params)
2834
+ @SampleTime = params['SampleTime']
2835
+ unless params['StorageSummaryDistribution'].nil?
2836
+ @StorageSummaryDistribution = []
2837
+ params['StorageSummaryDistribution'].each do |i|
2838
+ storagesummarydistribution_tmp = StorageSummaryDistribution.new
2839
+ storagesummarydistribution_tmp.deserialize(i)
2840
+ @StorageSummaryDistribution << storagesummarydistribution_tmp
2841
+ end
2842
+ end
2843
+ @RequestId = params['RequestId']
2844
+ end
2845
+ end
2846
+
2790
2847
  # DescribeHiveQueries请求参数结构体
2791
2848
  class DescribeHiveQueriesRequest < TencentCloud::Common::AbstractModel
2792
2849
  # @param InstanceId: 集群ID
@@ -3274,6 +3331,70 @@ module TencentCloud
3274
3331
  end
3275
3332
  end
3276
3333
 
3334
+ # DescribeKyuubiQueryInfo请求参数结构体
3335
+ class DescribeKyuubiQueryInfoRequest < TencentCloud::Common::AbstractModel
3336
+ # @param InstanceId: 集群ID
3337
+ # @type InstanceId: String
3338
+ # @param StartTime: 获取查询信息开始时间 (s)
3339
+ # @type StartTime: Integer
3340
+ # @param EndTime: 获取查询信息结束时间 (s)
3341
+ # @type EndTime: Integer
3342
+ # @param PageSize: 分页查询时的分页大小,最小1,最大100
3343
+ # @type PageSize: Integer
3344
+ # @param Page: 分页查询时的页号,从1开始
3345
+ # @type Page: Integer
3346
+
3347
+ attr_accessor :InstanceId, :StartTime, :EndTime, :PageSize, :Page
3348
+
3349
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, pagesize=nil, page=nil)
3350
+ @InstanceId = instanceid
3351
+ @StartTime = starttime
3352
+ @EndTime = endtime
3353
+ @PageSize = pagesize
3354
+ @Page = page
3355
+ end
3356
+
3357
+ def deserialize(params)
3358
+ @InstanceId = params['InstanceId']
3359
+ @StartTime = params['StartTime']
3360
+ @EndTime = params['EndTime']
3361
+ @PageSize = params['PageSize']
3362
+ @Page = params['Page']
3363
+ end
3364
+ end
3365
+
3366
+ # DescribeKyuubiQueryInfo返回参数结构体
3367
+ class DescribeKyuubiQueryInfoResponse < TencentCloud::Common::AbstractModel
3368
+ # @param TotalCount: 总数,分页查询时使用
3369
+ # @type TotalCount: Integer
3370
+ # @param KyuubiQueryInfoList: Kyuubi查询信息列表
3371
+ # 注意:此字段可能返回 null,表示取不到有效值。
3372
+ # @type KyuubiQueryInfoList: Array
3373
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3374
+ # @type RequestId: String
3375
+
3376
+ attr_accessor :TotalCount, :KyuubiQueryInfoList, :RequestId
3377
+
3378
+ def initialize(totalcount=nil, kyuubiqueryinfolist=nil, requestid=nil)
3379
+ @TotalCount = totalcount
3380
+ @KyuubiQueryInfoList = kyuubiqueryinfolist
3381
+ @RequestId = requestid
3382
+ end
3383
+
3384
+ def deserialize(params)
3385
+ @TotalCount = params['TotalCount']
3386
+ unless params['KyuubiQueryInfoList'].nil?
3387
+ @KyuubiQueryInfoList = []
3388
+ params['KyuubiQueryInfoList'].each do |i|
3389
+ kyuubiqueryinfo_tmp = KyuubiQueryInfo.new
3390
+ kyuubiqueryinfo_tmp.deserialize(i)
3391
+ @KyuubiQueryInfoList << kyuubiqueryinfo_tmp
3392
+ end
3393
+ end
3394
+ @RequestId = params['RequestId']
3395
+ end
3396
+ end
3397
+
3277
3398
  # DescribeResourceScheduleDiffDetail请求参数结构体
3278
3399
  class DescribeResourceScheduleDiffDetailRequest < TencentCloud::Common::AbstractModel
3279
3400
  # @param InstanceId: emr集群的英文id
@@ -3648,6 +3769,138 @@ module TencentCloud
3648
3769
  end
3649
3770
  end
3650
3771
 
3772
+ # DescribeSparkQueries请求参数结构体
3773
+ class DescribeSparkQueriesRequest < TencentCloud::Common::AbstractModel
3774
+ # @param InstanceId: 集群ID
3775
+ # @type InstanceId: String
3776
+ # @param StartTime: 开始时间
3777
+ # @type StartTime: Integer
3778
+ # @param EndTime: 结束时间
3779
+ # @type EndTime: Integer
3780
+ # @param Offset: 分页起始偏移,从0开始
3781
+ # @type Offset: Integer
3782
+ # @param Limit: 分页大小,合法范围[1,100]
3783
+ # @type Limit: Integer
3784
+ # @param Status: 执行状态:RUNNING,COMPLETED,FAILED
3785
+ # @type Status: Array
3786
+
3787
+ attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit, :Status
3788
+
3789
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, status=nil)
3790
+ @InstanceId = instanceid
3791
+ @StartTime = starttime
3792
+ @EndTime = endtime
3793
+ @Offset = offset
3794
+ @Limit = limit
3795
+ @Status = status
3796
+ end
3797
+
3798
+ def deserialize(params)
3799
+ @InstanceId = params['InstanceId']
3800
+ @StartTime = params['StartTime']
3801
+ @EndTime = params['EndTime']
3802
+ @Offset = params['Offset']
3803
+ @Limit = params['Limit']
3804
+ @Status = params['Status']
3805
+ end
3806
+ end
3807
+
3808
+ # DescribeSparkQueries返回参数结构体
3809
+ class DescribeSparkQueriesResponse < TencentCloud::Common::AbstractModel
3810
+ # @param Total: 总数
3811
+ # @type Total: Integer
3812
+ # @param Results: 结果列表
3813
+ # 注意:此字段可能返回 null,表示取不到有效值。
3814
+ # @type Results: Array
3815
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3816
+ # @type RequestId: String
3817
+
3818
+ attr_accessor :Total, :Results, :RequestId
3819
+
3820
+ def initialize(total=nil, results=nil, requestid=nil)
3821
+ @Total = total
3822
+ @Results = results
3823
+ @RequestId = requestid
3824
+ end
3825
+
3826
+ def deserialize(params)
3827
+ @Total = params['Total']
3828
+ unless params['Results'].nil?
3829
+ @Results = []
3830
+ params['Results'].each do |i|
3831
+ sparkquery_tmp = SparkQuery.new
3832
+ sparkquery_tmp.deserialize(i)
3833
+ @Results << sparkquery_tmp
3834
+ end
3835
+ end
3836
+ @RequestId = params['RequestId']
3837
+ end
3838
+ end
3839
+
3840
+ # DescribeStarRocksQueryInfo请求参数结构体
3841
+ class DescribeStarRocksQueryInfoRequest < TencentCloud::Common::AbstractModel
3842
+ # @param InstanceId: 集群ID
3843
+ # @type InstanceId: String
3844
+ # @param StartTime: 获取查询信息开始时间 (s)
3845
+ # @type StartTime: Integer
3846
+ # @param EndTime: 获取查询信息结束时间 (s)
3847
+ # @type EndTime: Integer
3848
+ # @param PageSize: 分页查询时的分页大小,最小1,最大100
3849
+ # @type PageSize: Integer
3850
+ # @param Page: 分页查询时的页号,从1开始
3851
+ # @type Page: Integer
3852
+
3853
+ attr_accessor :InstanceId, :StartTime, :EndTime, :PageSize, :Page
3854
+
3855
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, pagesize=nil, page=nil)
3856
+ @InstanceId = instanceid
3857
+ @StartTime = starttime
3858
+ @EndTime = endtime
3859
+ @PageSize = pagesize
3860
+ @Page = page
3861
+ end
3862
+
3863
+ def deserialize(params)
3864
+ @InstanceId = params['InstanceId']
3865
+ @StartTime = params['StartTime']
3866
+ @EndTime = params['EndTime']
3867
+ @PageSize = params['PageSize']
3868
+ @Page = params['Page']
3869
+ end
3870
+ end
3871
+
3872
+ # DescribeStarRocksQueryInfo返回参数结构体
3873
+ class DescribeStarRocksQueryInfoResponse < TencentCloud::Common::AbstractModel
3874
+ # @param TotalCount: 总数,分页查询时使用
3875
+ # @type TotalCount: Integer
3876
+ # @param StarRocksQueryInfoList: Starrocks 查询信息列表
3877
+ # 注意:此字段可能返回 null,表示取不到有效值。
3878
+ # @type StarRocksQueryInfoList: Array
3879
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3880
+ # @type RequestId: String
3881
+
3882
+ attr_accessor :TotalCount, :StarRocksQueryInfoList, :RequestId
3883
+
3884
+ def initialize(totalcount=nil, starrocksqueryinfolist=nil, requestid=nil)
3885
+ @TotalCount = totalcount
3886
+ @StarRocksQueryInfoList = starrocksqueryinfolist
3887
+ @RequestId = requestid
3888
+ end
3889
+
3890
+ def deserialize(params)
3891
+ @TotalCount = params['TotalCount']
3892
+ unless params['StarRocksQueryInfoList'].nil?
3893
+ @StarRocksQueryInfoList = []
3894
+ params['StarRocksQueryInfoList'].each do |i|
3895
+ starrocksqueryinfo_tmp = StarRocksQueryInfo.new
3896
+ starrocksqueryinfo_tmp.deserialize(i)
3897
+ @StarRocksQueryInfoList << starrocksqueryinfo_tmp
3898
+ end
3899
+ end
3900
+ @RequestId = params['RequestId']
3901
+ end
3902
+ end
3903
+
3651
3904
  # DescribeTrinoQueryInfo请求参数结构体
3652
3905
  class DescribeTrinoQueryInfoRequest < TencentCloud::Common::AbstractModel
3653
3906
  # @param InstanceId: 集群ID
@@ -4210,6 +4463,28 @@ module TencentCloud
4210
4463
  end
4211
4464
  end
4212
4465
 
4466
+ # 采样序列
4467
+ class Dps < TencentCloud::Common::AbstractModel
4468
+ # @param Timestamp: 时间戳
4469
+ # 注意:此字段可能返回 null,表示取不到有效值。
4470
+ # @type Timestamp: String
4471
+ # @param Value: 采样值
4472
+ # 注意:此字段可能返回 null,表示取不到有效值。
4473
+ # @type Value: String
4474
+
4475
+ attr_accessor :Timestamp, :Value
4476
+
4477
+ def initialize(timestamp=nil, value=nil)
4478
+ @Timestamp = timestamp
4479
+ @Value = value
4480
+ end
4481
+
4482
+ def deserialize(params)
4483
+ @Timestamp = params['Timestamp']
4484
+ @Value = params['Value']
4485
+ end
4486
+ end
4487
+
4213
4488
  # POD浮动规格
4214
4489
  class DynamicPodSpec < TencentCloud::Common::AbstractModel
4215
4490
  # @param RequestCpu: 需求最小cpu核数
@@ -6029,6 +6304,78 @@ module TencentCloud
6029
6304
  end
6030
6305
  end
6031
6306
 
6307
+ # Kyuubi查询信息
6308
+ class KyuubiQueryInfo < TencentCloud::Common::AbstractModel
6309
+ # @param ClientIP: 提交IP
6310
+ # 注意:此字段可能返回 null,表示取不到有效值。
6311
+ # @type ClientIP: String
6312
+ # @param Duration: 执行时长
6313
+ # 注意:此字段可能返回 null,表示取不到有效值。
6314
+ # @type Duration: Integer
6315
+ # @param EndTime: 结束时间
6316
+ # 注意:此字段可能返回 null,表示取不到有效值。
6317
+ # @type EndTime: Integer
6318
+ # @param EngineID: Engine Id
6319
+ # 注意:此字段可能返回 null,表示取不到有效值。
6320
+ # @type EngineID: String
6321
+ # @param EngineType: 计算引擎
6322
+ # 注意:此字段可能返回 null,表示取不到有效值。
6323
+ # @type EngineType: String
6324
+ # @param Id: ID
6325
+ # 注意:此字段可能返回 null,表示取不到有效值。
6326
+ # @type Id: String
6327
+ # @param SessionID: Session Id
6328
+ # 注意:此字段可能返回 null,表示取不到有效值。
6329
+ # @type SessionID: String
6330
+ # @param BeginTime: 开始时间
6331
+ # 注意:此字段可能返回 null,表示取不到有效值。
6332
+ # @type BeginTime: Integer
6333
+ # @param ExecutionState: 执行状态
6334
+ # 注意:此字段可能返回 null,表示取不到有效值。
6335
+ # @type ExecutionState: String
6336
+ # @param ExecutionStatement: 执行语句
6337
+ # 注意:此字段可能返回 null,表示取不到有效值。
6338
+ # @type ExecutionStatement: String
6339
+ # @param StatementID: Statement Id
6340
+ # 注意:此字段可能返回 null,表示取不到有效值。
6341
+ # @type StatementID: String
6342
+ # @param User: 提交用户
6343
+ # 注意:此字段可能返回 null,表示取不到有效值。
6344
+ # @type User: String
6345
+
6346
+ attr_accessor :ClientIP, :Duration, :EndTime, :EngineID, :EngineType, :Id, :SessionID, :BeginTime, :ExecutionState, :ExecutionStatement, :StatementID, :User
6347
+
6348
+ def initialize(clientip=nil, duration=nil, endtime=nil, engineid=nil, enginetype=nil, id=nil, sessionid=nil, begintime=nil, executionstate=nil, executionstatement=nil, statementid=nil, user=nil)
6349
+ @ClientIP = clientip
6350
+ @Duration = duration
6351
+ @EndTime = endtime
6352
+ @EngineID = engineid
6353
+ @EngineType = enginetype
6354
+ @Id = id
6355
+ @SessionID = sessionid
6356
+ @BeginTime = begintime
6357
+ @ExecutionState = executionstate
6358
+ @ExecutionStatement = executionstatement
6359
+ @StatementID = statementid
6360
+ @User = user
6361
+ end
6362
+
6363
+ def deserialize(params)
6364
+ @ClientIP = params['ClientIP']
6365
+ @Duration = params['Duration']
6366
+ @EndTime = params['EndTime']
6367
+ @EngineID = params['EngineID']
6368
+ @EngineType = params['EngineType']
6369
+ @Id = params['Id']
6370
+ @SessionID = params['SessionID']
6371
+ @BeginTime = params['BeginTime']
6372
+ @ExecutionState = params['ExecutionState']
6373
+ @ExecutionStatement = params['ExecutionStatement']
6374
+ @StatementID = params['StatementID']
6375
+ @User = params['User']
6376
+ end
6377
+ end
6378
+
6032
6379
  # 自动扩缩容基于负载指标的规则
6033
6380
  class LoadAutoScaleStrategy < TencentCloud::Common::AbstractModel
6034
6381
  # @param StrategyId: 规则ID。
@@ -9853,6 +10200,89 @@ module TencentCloud
9853
10200
  end
9854
10201
  end
9855
10202
 
10203
+ # spark查询详情
10204
+ class SparkQuery < TencentCloud::Common::AbstractModel
10205
+ # @param Statement: 执行语句
10206
+ # @type Statement: String
10207
+ # @param Duration: 执行时长(单位毫秒)
10208
+ # @type Duration: Integer
10209
+ # @param Status: 执行状态
10210
+ # @type Status: String
10211
+ # @param Id: 查询ID
10212
+ # @type Id: String
10213
+ # @param ScanPartitionNum: 扫描分区数
10214
+ # 注意:此字段可能返回 null,表示取不到有效值。
10215
+ # @type ScanPartitionNum: Integer
10216
+ # @param ScanRowNum: 扫描总行数
10217
+ # 注意:此字段可能返回 null,表示取不到有效值。
10218
+ # @type ScanRowNum: Integer
10219
+ # @param ScanFileNum: 扫描总文件数
10220
+ # 注意:此字段可能返回 null,表示取不到有效值。
10221
+ # @type ScanFileNum: Integer
10222
+ # @param ScanTotalData: 查询扫描总数据量(单位B)
10223
+ # 注意:此字段可能返回 null,表示取不到有效值。
10224
+ # @type ScanTotalData: Integer
10225
+ # @param ApplicationId: 应用ID
10226
+ # 注意:此字段可能返回 null,表示取不到有效值。
10227
+ # @type ApplicationId: Array
10228
+ # @param OutputRowNum: 输出总行数
10229
+ # 注意:此字段可能返回 null,表示取不到有效值。
10230
+ # @type OutputRowNum: Integer
10231
+ # @param OutputFileNum: 输出总文件数
10232
+ # 注意:此字段可能返回 null,表示取不到有效值。
10233
+ # @type OutputFileNum: Integer
10234
+ # @param OutputPartitionNum: 输出分区数
10235
+ # 注意:此字段可能返回 null,表示取不到有效值。
10236
+ # @type OutputPartitionNum: Integer
10237
+ # @param OutputTotalData: 输出总数据量(单位B)
10238
+ # 注意:此字段可能返回 null,表示取不到有效值。
10239
+ # @type OutputTotalData: Integer
10240
+ # @param BeginTime: 开始时间
10241
+ # 注意:此字段可能返回 null,表示取不到有效值。
10242
+ # @type BeginTime: Integer
10243
+ # @param EndTime: 结束时间
10244
+ # 注意:此字段可能返回 null,表示取不到有效值。
10245
+ # @type EndTime: Integer
10246
+
10247
+ attr_accessor :Statement, :Duration, :Status, :Id, :ScanPartitionNum, :ScanRowNum, :ScanFileNum, :ScanTotalData, :ApplicationId, :OutputRowNum, :OutputFileNum, :OutputPartitionNum, :OutputTotalData, :BeginTime, :EndTime
10248
+
10249
+ def initialize(statement=nil, duration=nil, status=nil, id=nil, scanpartitionnum=nil, scanrownum=nil, scanfilenum=nil, scantotaldata=nil, applicationid=nil, outputrownum=nil, outputfilenum=nil, outputpartitionnum=nil, outputtotaldata=nil, begintime=nil, endtime=nil)
10250
+ @Statement = statement
10251
+ @Duration = duration
10252
+ @Status = status
10253
+ @Id = id
10254
+ @ScanPartitionNum = scanpartitionnum
10255
+ @ScanRowNum = scanrownum
10256
+ @ScanFileNum = scanfilenum
10257
+ @ScanTotalData = scantotaldata
10258
+ @ApplicationId = applicationid
10259
+ @OutputRowNum = outputrownum
10260
+ @OutputFileNum = outputfilenum
10261
+ @OutputPartitionNum = outputpartitionnum
10262
+ @OutputTotalData = outputtotaldata
10263
+ @BeginTime = begintime
10264
+ @EndTime = endtime
10265
+ end
10266
+
10267
+ def deserialize(params)
10268
+ @Statement = params['Statement']
10269
+ @Duration = params['Duration']
10270
+ @Status = params['Status']
10271
+ @Id = params['Id']
10272
+ @ScanPartitionNum = params['ScanPartitionNum']
10273
+ @ScanRowNum = params['ScanRowNum']
10274
+ @ScanFileNum = params['ScanFileNum']
10275
+ @ScanTotalData = params['ScanTotalData']
10276
+ @ApplicationId = params['ApplicationId']
10277
+ @OutputRowNum = params['OutputRowNum']
10278
+ @OutputFileNum = params['OutputFileNum']
10279
+ @OutputPartitionNum = params['OutputPartitionNum']
10280
+ @OutputTotalData = params['OutputTotalData']
10281
+ @BeginTime = params['BeginTime']
10282
+ @EndTime = params['EndTime']
10283
+ end
10284
+ end
10285
+
9856
10286
  # 任务步骤详情
9857
10287
  class StageInfoDetail < TencentCloud::Common::AbstractModel
9858
10288
  # @param Stage: 步骤id
@@ -9936,6 +10366,113 @@ module TencentCloud
9936
10366
  end
9937
10367
  end
9938
10368
 
10369
+ # StarRocks 查询信息
10370
+ class StarRocksQueryInfo < TencentCloud::Common::AbstractModel
10371
+ # @param ClientIP: 提交IP
10372
+ # 注意:此字段可能返回 null,表示取不到有效值。
10373
+ # @type ClientIP: String
10374
+ # @param CPUCost: CPU总时间(ns)
10375
+ # 注意:此字段可能返回 null,表示取不到有效值。
10376
+ # @type CPUCost: Integer
10377
+ # @param DefaultDB: 默认DB
10378
+ # 注意:此字段可能返回 null,表示取不到有效值。
10379
+ # @type DefaultDB: String
10380
+ # @param EndTime: 结束时间
10381
+ # 注意:此字段可能返回 null,表示取不到有效值。
10382
+ # @type EndTime: Integer
10383
+ # @param ExecutionIP: 执行IP
10384
+ # 注意:此字段可能返回 null,表示取不到有效值。
10385
+ # @type ExecutionIP: String
10386
+ # @param QueryID: 查询ID
10387
+ # 注意:此字段可能返回 null,表示取不到有效值。
10388
+ # @type QueryID: String
10389
+ # @param QueryType: 查询类型
10390
+ # 注意:此字段可能返回 null,表示取不到有效值。
10391
+ # @type QueryType: String
10392
+ # @param MemCost: 消耗总内存(bytes)
10393
+ # 注意:此字段可能返回 null,表示取不到有效值。
10394
+ # @type MemCost: Integer
10395
+ # @param PlanCpuCosts: plan阶段CPU占用(ns)
10396
+ # 注意:此字段可能返回 null,表示取不到有效值。
10397
+ # @type PlanCpuCosts: Integer
10398
+ # @param PlanMemCosts: plan阶段内存占用(bytes)
10399
+ # 注意:此字段可能返回 null,表示取不到有效值。
10400
+ # @type PlanMemCosts: Integer
10401
+ # @param QueryTime: 执行时长
10402
+ # 注意:此字段可能返回 null,表示取不到有效值。
10403
+ # @type QueryTime: Integer
10404
+ # @param ResourceGroup: 资源组
10405
+ # 注意:此字段可能返回 null,表示取不到有效值。
10406
+ # @type ResourceGroup: String
10407
+ # @param ReturnRows: 获取行数
10408
+ # 注意:此字段可能返回 null,表示取不到有效值。
10409
+ # @type ReturnRows: Integer
10410
+ # @param ScanBytes: 扫描数据量(bytes)
10411
+ # 注意:此字段可能返回 null,表示取不到有效值。
10412
+ # @type ScanBytes: Integer
10413
+ # @param ScanRows: 扫描行数
10414
+ # 注意:此字段可能返回 null,表示取不到有效值。
10415
+ # @type ScanRows: Integer
10416
+ # @param BeginTime: 开始时间
10417
+ # 注意:此字段可能返回 null,表示取不到有效值。
10418
+ # @type BeginTime: Integer
10419
+ # @param ExecutionState: 执行状态
10420
+ # 注意:此字段可能返回 null,表示取不到有效值。
10421
+ # @type ExecutionState: String
10422
+ # @param ExecutionStatement: 执行语句
10423
+ # 注意:此字段可能返回 null,表示取不到有效值。
10424
+ # @type ExecutionStatement: String
10425
+ # @param User: 用户
10426
+ # 注意:此字段可能返回 null,表示取不到有效值。
10427
+ # @type User: String
10428
+
10429
+ attr_accessor :ClientIP, :CPUCost, :DefaultDB, :EndTime, :ExecutionIP, :QueryID, :QueryType, :MemCost, :PlanCpuCosts, :PlanMemCosts, :QueryTime, :ResourceGroup, :ReturnRows, :ScanBytes, :ScanRows, :BeginTime, :ExecutionState, :ExecutionStatement, :User
10430
+
10431
+ def initialize(clientip=nil, cpucost=nil, defaultdb=nil, endtime=nil, executionip=nil, queryid=nil, querytype=nil, memcost=nil, plancpucosts=nil, planmemcosts=nil, querytime=nil, resourcegroup=nil, returnrows=nil, scanbytes=nil, scanrows=nil, begintime=nil, executionstate=nil, executionstatement=nil, user=nil)
10432
+ @ClientIP = clientip
10433
+ @CPUCost = cpucost
10434
+ @DefaultDB = defaultdb
10435
+ @EndTime = endtime
10436
+ @ExecutionIP = executionip
10437
+ @QueryID = queryid
10438
+ @QueryType = querytype
10439
+ @MemCost = memcost
10440
+ @PlanCpuCosts = plancpucosts
10441
+ @PlanMemCosts = planmemcosts
10442
+ @QueryTime = querytime
10443
+ @ResourceGroup = resourcegroup
10444
+ @ReturnRows = returnrows
10445
+ @ScanBytes = scanbytes
10446
+ @ScanRows = scanrows
10447
+ @BeginTime = begintime
10448
+ @ExecutionState = executionstate
10449
+ @ExecutionStatement = executionstatement
10450
+ @User = user
10451
+ end
10452
+
10453
+ def deserialize(params)
10454
+ @ClientIP = params['ClientIP']
10455
+ @CPUCost = params['CPUCost']
10456
+ @DefaultDB = params['DefaultDB']
10457
+ @EndTime = params['EndTime']
10458
+ @ExecutionIP = params['ExecutionIP']
10459
+ @QueryID = params['QueryID']
10460
+ @QueryType = params['QueryType']
10461
+ @MemCost = params['MemCost']
10462
+ @PlanCpuCosts = params['PlanCpuCosts']
10463
+ @PlanMemCosts = params['PlanMemCosts']
10464
+ @QueryTime = params['QueryTime']
10465
+ @ResourceGroup = params['ResourceGroup']
10466
+ @ReturnRows = params['ReturnRows']
10467
+ @ScanBytes = params['ScanBytes']
10468
+ @ScanRows = params['ScanRows']
10469
+ @BeginTime = params['BeginTime']
10470
+ @ExecutionState = params['ExecutionState']
10471
+ @ExecutionStatement = params['ExecutionStatement']
10472
+ @User = params['User']
10473
+ end
10474
+ end
10475
+
9939
10476
  # StartStopServiceOrMonitor请求参数结构体
9940
10477
  class StartStopServiceOrMonitorRequest < TencentCloud::Common::AbstractModel
9941
10478
  # @param InstanceId: 集群ID
@@ -10056,6 +10593,40 @@ module TencentCloud
10056
10593
  end
10057
10594
  end
10058
10595
 
10596
+ # HDFS文件存储详情
10597
+ class StorageSummaryDistribution < TencentCloud::Common::AbstractModel
10598
+ # @param MetricItem: 数据项
10599
+ # 注意:此字段可能返回 null,表示取不到有效值。
10600
+ # @type MetricItem: String
10601
+ # @param MetricName: 数据项描述
10602
+ # 注意:此字段可能返回 null,表示取不到有效值。
10603
+ # @type MetricName: String
10604
+ # @param Dps: 采样值
10605
+ # 注意:此字段可能返回 null,表示取不到有效值。
10606
+ # @type Dps: Array
10607
+
10608
+ attr_accessor :MetricItem, :MetricName, :Dps
10609
+
10610
+ def initialize(metricitem=nil, metricname=nil, dps=nil)
10611
+ @MetricItem = metricitem
10612
+ @MetricName = metricname
10613
+ @Dps = dps
10614
+ end
10615
+
10616
+ def deserialize(params)
10617
+ @MetricItem = params['MetricItem']
10618
+ @MetricName = params['MetricName']
10619
+ unless params['Dps'].nil?
10620
+ @Dps = []
10621
+ params['Dps'].each do |i|
10622
+ dps_tmp = Dps.new
10623
+ dps_tmp.deserialize(i)
10624
+ @Dps << dps_tmp
10625
+ end
10626
+ end
10627
+ end
10628
+ end
10629
+
10059
10630
  # 重启/停止/启动服务/监控的配置
10060
10631
  class StrategyConfig < TencentCloud::Common::AbstractModel
10061
10632
  # @param RollingRestartSwitch: 0:关闭滚动重启
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.925
4
+ version: 3.0.926
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-10-16 00:00:00.000000000 Z
11
+ date: 2024-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common