tencentcloud-sdk-emr 3.0.672 → 3.0.674
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190103/client.rb +24 -0
- data/lib/v20190103/models.rb +40 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cd090334a482ee0a3d22c9d81205ee7577c6bab
|
4
|
+
data.tar.gz: 942c3b6daa958bf81184c3c8b707935e5f931df8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c1cee141b4e44b5f02563cbdfb61210534772db833d010309c85cf1ff0a649034197571ce05372bc5c4559042f43261a97edf70ddac038b1e19b889e1dd3d61
|
7
|
+
data.tar.gz: 66c26b4afb98a662e3ed53fa6dd0b56abf20df06b1a73d9bba5566011bb6249d471adb3fefb403878d3374e07fb6ed91f01ab3ffaeba53845678564621a1346d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.674
|
data/lib/v20190103/client.rb
CHANGED
@@ -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.
|
data/lib/v20190103/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.674
|
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-
|
11
|
+
date: 2023-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|