tencentcloud-sdk-emr 3.0.635 → 3.0.637

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: 95ac7098f71445d251c9ef5810f5be6c97c09c3e
4
- data.tar.gz: 1f6cb38bc7e6d153e0444bd9304b8ed90e642839
3
+ metadata.gz: f58c97084aff8d1263ec01fef54afb46b30b4787
4
+ data.tar.gz: 177820cb320b92f323cd940b07c73d0bbcf26caf
5
5
  SHA512:
6
- metadata.gz: 95369a8c7f67c2efc472299e73562b145ced116ceb7675907fd26da42275cb7b980c086136e92692c5f1fd569bc38375b0417acdd0edc8e7bedb2b69e94d1521
7
- data.tar.gz: 8355095367e6d9594b24fec53b71afe40dc06c178506ef57feb7002ba84d5be0a31524cab625bd19ca1fa43b6520e9737e04a97010e4414ea183448bdeecbe6a
6
+ metadata.gz: 910ab490e7748205b9e7f5b332cf0ac3ee2689daeb599560b851940edc184fec4b8a71a822fdc38bf80844a0e83406d95adf27603d850ec3fdcd276608835402
7
+ data.tar.gz: ec5fd42e590ce09453a828a89958f8b4b7db9bd0ba6a5e78bfbcfd6aca97f6042aa6651ab5ad8df176d3ce8dca2415621202bd160adb5c19f3596a77a088798c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.635
1
+ 3.0.637
@@ -607,6 +607,30 @@ module TencentCloud
607
607
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
608
608
  end
609
609
 
610
+ # 强制修改标签
611
+
612
+ # @param request: Request instance for ModifyResourcesTags.
613
+ # @type request: :class:`Tencentcloud::emr::V20190103::ModifyResourcesTagsRequest`
614
+ # @rtype: :class:`Tencentcloud::emr::V20190103::ModifyResourcesTagsResponse`
615
+ def ModifyResourcesTags(request)
616
+ body = send_request('ModifyResourcesTags', request.serialize)
617
+ response = JSON.parse(body)
618
+ if response['Response'].key?('Error') == false
619
+ model = ModifyResourcesTagsResponse.new
620
+ model.deserialize(response['Response'])
621
+ model
622
+ else
623
+ code = response['Response']['Error']['Code']
624
+ message = response['Response']['Error']['Message']
625
+ reqid = response['Response']['RequestId']
626
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
627
+ end
628
+ rescue TencentCloud::Common::TencentCloudSDKException => e
629
+ raise e
630
+ rescue StandardError => e
631
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
632
+ end
633
+
610
634
  # 创建流程作业
611
635
 
612
636
  # @param request: Request instance for RunJobFlow.
@@ -3788,6 +3788,129 @@ module TencentCloud
3788
3788
  end
3789
3789
  end
3790
3790
 
3791
+ # 强制修改标签
3792
+ class ModifyResourceTags < TencentCloud::Common::AbstractModel
3793
+ # @param ResourceId: 集群id 或者 cvm id
3794
+ # @type ResourceId: String
3795
+ # @param Resource: 资源6段式表达式
3796
+ # @type Resource: String
3797
+ # @param ResourcePrefix: 资源前缀
3798
+ # @type ResourcePrefix: String
3799
+ # @param ResourceRegion: ap-beijing
3800
+ # @type ResourceRegion: String
3801
+ # @param ServiceType: emr
3802
+ # @type ServiceType: String
3803
+ # @param DeleteTags: 删除的标签列表
3804
+ # @type DeleteTags: Array
3805
+ # @param AddTags: 添加的标签列表
3806
+ # @type AddTags: Array
3807
+ # @param ModifyTags: 修改的标签列表
3808
+ # @type ModifyTags: Array
3809
+
3810
+ attr_accessor :ResourceId, :Resource, :ResourcePrefix, :ResourceRegion, :ServiceType, :DeleteTags, :AddTags, :ModifyTags
3811
+
3812
+ def initialize(resourceid=nil, resource=nil, resourceprefix=nil, resourceregion=nil, servicetype=nil, deletetags=nil, addtags=nil, modifytags=nil)
3813
+ @ResourceId = resourceid
3814
+ @Resource = resource
3815
+ @ResourcePrefix = resourceprefix
3816
+ @ResourceRegion = resourceregion
3817
+ @ServiceType = servicetype
3818
+ @DeleteTags = deletetags
3819
+ @AddTags = addtags
3820
+ @ModifyTags = modifytags
3821
+ end
3822
+
3823
+ def deserialize(params)
3824
+ @ResourceId = params['ResourceId']
3825
+ @Resource = params['Resource']
3826
+ @ResourcePrefix = params['ResourcePrefix']
3827
+ @ResourceRegion = params['ResourceRegion']
3828
+ @ServiceType = params['ServiceType']
3829
+ unless params['DeleteTags'].nil?
3830
+ @DeleteTags = []
3831
+ params['DeleteTags'].each do |i|
3832
+ tag_tmp = Tag.new
3833
+ tag_tmp.deserialize(i)
3834
+ @DeleteTags << tag_tmp
3835
+ end
3836
+ end
3837
+ unless params['AddTags'].nil?
3838
+ @AddTags = []
3839
+ params['AddTags'].each do |i|
3840
+ tag_tmp = Tag.new
3841
+ tag_tmp.deserialize(i)
3842
+ @AddTags << tag_tmp
3843
+ end
3844
+ end
3845
+ unless params['ModifyTags'].nil?
3846
+ @ModifyTags = []
3847
+ params['ModifyTags'].each do |i|
3848
+ tag_tmp = Tag.new
3849
+ tag_tmp.deserialize(i)
3850
+ @ModifyTags << tag_tmp
3851
+ end
3852
+ end
3853
+ end
3854
+ end
3855
+
3856
+ # ModifyResourcesTags请求参数结构体
3857
+ class ModifyResourcesTagsRequest < TencentCloud::Common::AbstractModel
3858
+ # @param ModifyType: 标签类型,取值Cluster或者Node
3859
+ # @type ModifyType: String
3860
+ # @param ModifyResourceTagsInfoList: 标签信息
3861
+ # @type ModifyResourceTagsInfoList: Array
3862
+
3863
+ attr_accessor :ModifyType, :ModifyResourceTagsInfoList
3864
+
3865
+ def initialize(modifytype=nil, modifyresourcetagsinfolist=nil)
3866
+ @ModifyType = modifytype
3867
+ @ModifyResourceTagsInfoList = modifyresourcetagsinfolist
3868
+ end
3869
+
3870
+ def deserialize(params)
3871
+ @ModifyType = params['ModifyType']
3872
+ unless params['ModifyResourceTagsInfoList'].nil?
3873
+ @ModifyResourceTagsInfoList = []
3874
+ params['ModifyResourceTagsInfoList'].each do |i|
3875
+ modifyresourcetags_tmp = ModifyResourceTags.new
3876
+ modifyresourcetags_tmp.deserialize(i)
3877
+ @ModifyResourceTagsInfoList << modifyresourcetags_tmp
3878
+ end
3879
+ end
3880
+ end
3881
+ end
3882
+
3883
+ # ModifyResourcesTags返回参数结构体
3884
+ class ModifyResourcesTagsResponse < TencentCloud::Common::AbstractModel
3885
+ # @param SuccessList: 成功的资源id列表
3886
+ # 注意:此字段可能返回 null,表示取不到有效值。
3887
+ # @type SuccessList: Array
3888
+ # @param FailList: 失败的资源id列表
3889
+ # 注意:此字段可能返回 null,表示取不到有效值。
3890
+ # @type FailList: Array
3891
+ # @param PartSuccessList: 部分成功的资源id列表
3892
+ # 注意:此字段可能返回 null,表示取不到有效值。
3893
+ # @type PartSuccessList: Array
3894
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3895
+ # @type RequestId: String
3896
+
3897
+ attr_accessor :SuccessList, :FailList, :PartSuccessList, :RequestId
3898
+
3899
+ def initialize(successlist=nil, faillist=nil, partsuccesslist=nil, requestid=nil)
3900
+ @SuccessList = successlist
3901
+ @FailList = faillist
3902
+ @PartSuccessList = partsuccesslist
3903
+ @RequestId = requestid
3904
+ end
3905
+
3906
+ def deserialize(params)
3907
+ @SuccessList = params['SuccessList']
3908
+ @FailList = params['FailList']
3909
+ @PartSuccessList = params['PartSuccessList']
3910
+ @RequestId = params['RequestId']
3911
+ end
3912
+ end
3913
+
3791
3914
  # 多云盘参数
3792
3915
  class MultiDisk < TencentCloud::Common::AbstractModel
3793
3916
  # @param DiskType: 云盘类型
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.635
4
+ version: 3.0.637
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-14 00:00:00.000000000 Z
11
+ date: 2023-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common