tencentcloud-sdk-emr 3.0.671 → 3.0.673

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: 6b5ea6da2c1167f48e578cd5a667b8f4c5e7ec19
4
- data.tar.gz: e63f2cc5384d67b49d45a1383669ee389a069793
3
+ metadata.gz: 277e3b5c57b6f574b9288bd176b0ec2a366efe3d
4
+ data.tar.gz: 1a0b7ccd6e89397516b0eb8764352c10f61de608
5
5
  SHA512:
6
- metadata.gz: 8af44697601b243719f719ff1b90a292de220e4dab8db3ef01ee145a7d10f706918b32e32228fa0139a9e4e332563c9d54a469968c90229b627f6bed8836cea0
7
- data.tar.gz: dc012fdaa483ccd8be15c63b28a34714288e7a4e06c310e6bafd6daa724b2bdc33b2dc8fcaa301fffa860ce90fccc81ec7daa77a07d700e66a3429f897d4ef2b
6
+ metadata.gz: 5c9470a763871c362bdf13af4169c021f01bf9c5d2d7f511d25b0d8ada2a59a66eb76be18192305b53011d8958b19826ae1c107377f52f46fef25ddbb0906f9a
7
+ data.tar.gz: 0a823dad4ff5695b6c15bbff5a8991604b24ed7c7f718b5a3c9e1e87ffddc6c023c7d2cbe4760506368ea1d64aa26ee47b3d40d6fe3d32eeca6602cc5571ca08
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.671
1
+ 3.0.673
@@ -631,6 +631,30 @@ module TencentCloud
631
631
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
632
632
  end
633
633
 
634
+ # 修改用户密码(用户管理)
635
+
636
+ # @param request: Request instance for ModifyUserManagerPwd.
637
+ # @type request: :class:`Tencentcloud::emr::V20190103::ModifyUserManagerPwdRequest`
638
+ # @rtype: :class:`Tencentcloud::emr::V20190103::ModifyUserManagerPwdResponse`
639
+ def ModifyUserManagerPwd(request)
640
+ body = send_request('ModifyUserManagerPwd', request.serialize)
641
+ response = JSON.parse(body)
642
+ if response['Response'].key?('Error') == false
643
+ model = ModifyUserManagerPwdResponse.new
644
+ model.deserialize(response['Response'])
645
+ model
646
+ else
647
+ code = response['Response']['Error']['Code']
648
+ message = response['Response']['Error']['Message']
649
+ reqid = response['Response']['RequestId']
650
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
651
+ end
652
+ rescue TencentCloud::Common::TencentCloudSDKException => e
653
+ raise e
654
+ rescue StandardError => e
655
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
656
+ end
657
+
634
658
  # 创建流程作业
635
659
 
636
660
  # @param request: Request instance for RunJobFlow.
@@ -3945,6 +3945,46 @@ module TencentCloud
3945
3945
  end
3946
3946
  end
3947
3947
 
3948
+ # ModifyUserManagerPwd请求参数结构体
3949
+ class ModifyUserManagerPwdRequest < TencentCloud::Common::AbstractModel
3950
+ # @param InstanceId: 集群实例ID
3951
+ # @type InstanceId: String
3952
+ # @param UserName: 用户名
3953
+ # @type UserName: String
3954
+ # @param PassWord: 密码
3955
+ # @type PassWord: String
3956
+
3957
+ attr_accessor :InstanceId, :UserName, :PassWord
3958
+
3959
+ def initialize(instanceid=nil, username=nil, password=nil)
3960
+ @InstanceId = instanceid
3961
+ @UserName = username
3962
+ @PassWord = password
3963
+ end
3964
+
3965
+ def deserialize(params)
3966
+ @InstanceId = params['InstanceId']
3967
+ @UserName = params['UserName']
3968
+ @PassWord = params['PassWord']
3969
+ end
3970
+ end
3971
+
3972
+ # ModifyUserManagerPwd返回参数结构体
3973
+ class ModifyUserManagerPwdResponse < TencentCloud::Common::AbstractModel
3974
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3975
+ # @type RequestId: String
3976
+
3977
+ attr_accessor :RequestId
3978
+
3979
+ def initialize(requestid=nil)
3980
+ @RequestId = requestid
3981
+ end
3982
+
3983
+ def deserialize(params)
3984
+ @RequestId = params['RequestId']
3985
+ end
3986
+ end
3987
+
3948
3988
  # 多云盘参数
3949
3989
  class MultiDisk < TencentCloud::Common::AbstractModel
3950
3990
  # @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.671
4
+ version: 3.0.673
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-10-07 00:00:00.000000000 Z
11
+ date: 2023-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common