tencentcloud-sdk-python 3.0.1386__py2.py3-none-any.whl → 3.0.1388__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +28 -16
- tencentcloud/cfw/v20190904/models.py +4 -4
- tencentcloud/chc/v20230418/models.py +69 -4
- tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- tencentcloud/ckafka/v20190819/models.py +29 -2
- tencentcloud/clb/v20180317/models.py +44 -44
- tencentcloud/cme/v20191029/errorcodes.py +6 -0
- tencentcloud/cme/v20191029/models.py +2 -2
- tencentcloud/csip/v20221121/models.py +18 -20
- tencentcloud/dnspod/v20210323/models.py +2 -47
- tencentcloud/dts/v20211206/models.py +20 -6
- tencentcloud/emr/v20190103/emr_client.py +92 -0
- tencentcloud/emr/v20190103/models.py +599 -0
- tencentcloud/es/v20180416/models.py +0 -2
- tencentcloud/ess/v20201111/models.py +22 -2
- tencentcloud/essbasic/v20210526/models.py +39 -4
- tencentcloud/faceid/v20180301/models.py +88 -24
- tencentcloud/gs/v20191118/models.py +30 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/ocr/v20181119/models.py +15 -0
- tencentcloud/redis/v20180412/models.py +4 -4
- tencentcloud/rum/v20210622/models.py +15 -0
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +12 -0
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/vod_client.py +3 -3
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/wedata/v20210820/models.py +336 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1386.dist-info → tencentcloud_sdk_python-3.0.1388.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1386.dist-info → tencentcloud_sdk_python-3.0.1388.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1386.dist-info → tencentcloud_sdk_python-3.0.1388.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1386.dist-info → tencentcloud_sdk_python-3.0.1388.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1386.dist-info → tencentcloud_sdk_python-3.0.1388.dist-info}/top_level.txt +0 -0
@@ -6952,7 +6952,7 @@ class HandleMediaCastProjectRequest(AbstractModel):
|
|
6952
6952
|
当 Operation 为 AddDestination、DeleteDestination、EnableDestination、DisableDestination、ModifyDestination 时必填。
|
6953
6953
|
:type DestinationInfos: list of MediaCastDestinationInfo
|
6954
6954
|
:param _OutputMediaSetting: 输出媒体配置。具体操作方式详见 [操作类型](#Operation) 及下文示例。
|
6955
|
-
当 Operation 为
|
6955
|
+
当 Operation 为 ModifyOutputSetting 时必填。
|
6956
6956
|
:type OutputMediaSetting: :class:`tencentcloud.cme.v20191029.models.MediaCastOutputMediaSetting`
|
6957
6957
|
:param _PlaySetting: 播放控制参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。
|
6958
6958
|
当 Operation 为 ModifyPlaySetting 时必填。
|
@@ -7033,7 +7033,7 @@ class HandleMediaCastProjectRequest(AbstractModel):
|
|
7033
7033
|
@property
|
7034
7034
|
def OutputMediaSetting(self):
|
7035
7035
|
"""输出媒体配置。具体操作方式详见 [操作类型](#Operation) 及下文示例。
|
7036
|
-
当 Operation 为
|
7036
|
+
当 Operation 为 ModifyOutputSetting 时必填。
|
7037
7037
|
:rtype: :class:`tencentcloud.cme.v20191029.models.MediaCastOutputMediaSetting`
|
7038
7038
|
"""
|
7039
7039
|
return self._OutputMediaSetting
|
@@ -5987,9 +5987,9 @@ class CVMAssetVO(AbstractModel):
|
|
5987
5987
|
:type CWPStatus: int
|
5988
5988
|
:param _AssetCreateTime: 资产创建时间
|
5989
5989
|
:type AssetCreateTime: str
|
5990
|
-
:param _PublicIp: 公网
|
5990
|
+
:param _PublicIp: 公网IP
|
5991
5991
|
:type PublicIp: str
|
5992
|
-
:param _PrivateIp: 私网
|
5992
|
+
:param _PrivateIp: 私网IP
|
5993
5993
|
:type PrivateIp: str
|
5994
5994
|
:param _VpcId: vpc id
|
5995
5995
|
:type VpcId: str
|
@@ -6009,9 +6009,9 @@ class CVMAssetVO(AbstractModel):
|
|
6009
6009
|
:type SubnetId: str
|
6010
6010
|
:param _SubnetName: 子网名
|
6011
6011
|
:type SubnetName: str
|
6012
|
-
:param _InstanceUuid:
|
6012
|
+
:param _InstanceUuid: 主机安全Agent UUID
|
6013
6013
|
:type InstanceUuid: str
|
6014
|
-
:param _InstanceQUuid:
|
6014
|
+
:param _InstanceQUuid: 云主机 CVM UUID
|
6015
6015
|
:type InstanceQUuid: str
|
6016
6016
|
:param _OsName: os名
|
6017
6017
|
:type OsName: str
|
@@ -6253,7 +6253,7 @@ class CVMAssetVO(AbstractModel):
|
|
6253
6253
|
|
6254
6254
|
@property
|
6255
6255
|
def PublicIp(self):
|
6256
|
-
"""公网
|
6256
|
+
"""公网IP
|
6257
6257
|
:rtype: str
|
6258
6258
|
"""
|
6259
6259
|
return self._PublicIp
|
@@ -6264,7 +6264,7 @@ class CVMAssetVO(AbstractModel):
|
|
6264
6264
|
|
6265
6265
|
@property
|
6266
6266
|
def PrivateIp(self):
|
6267
|
-
"""私网
|
6267
|
+
"""私网IP
|
6268
6268
|
:rtype: str
|
6269
6269
|
"""
|
6270
6270
|
return self._PrivateIp
|
@@ -6374,7 +6374,7 @@ class CVMAssetVO(AbstractModel):
|
|
6374
6374
|
|
6375
6375
|
@property
|
6376
6376
|
def InstanceUuid(self):
|
6377
|
-
"""
|
6377
|
+
"""主机安全Agent UUID
|
6378
6378
|
:rtype: str
|
6379
6379
|
"""
|
6380
6380
|
return self._InstanceUuid
|
@@ -6385,7 +6385,7 @@ class CVMAssetVO(AbstractModel):
|
|
6385
6385
|
|
6386
6386
|
@property
|
6387
6387
|
def InstanceQUuid(self):
|
6388
|
-
"""
|
6388
|
+
"""云主机 CVM UUID
|
6389
6389
|
:rtype: str
|
6390
6390
|
"""
|
6391
6391
|
return self._InstanceQUuid
|
@@ -15696,7 +15696,7 @@ class DomainAssetVO(AbstractModel):
|
|
15696
15696
|
:type Tag: list of Tag
|
15697
15697
|
:param _SourceType: 关联实例类型
|
15698
15698
|
:type SourceType: str
|
15699
|
-
:param _MemberId:
|
15699
|
+
:param _MemberId: memberId信息
|
15700
15700
|
:type MemberId: str
|
15701
15701
|
:param _CCAttack: cc攻击
|
15702
15702
|
:type CCAttack: int
|
@@ -16087,7 +16087,7 @@ class DomainAssetVO(AbstractModel):
|
|
16087
16087
|
|
16088
16088
|
@property
|
16089
16089
|
def MemberId(self):
|
16090
|
-
"""
|
16090
|
+
"""memberId信息
|
16091
16091
|
:rtype: str
|
16092
16092
|
"""
|
16093
16093
|
return self._MemberId
|
@@ -16953,7 +16953,7 @@ class IpAssetListVO(AbstractModel):
|
|
16953
16953
|
:type CFWStatus: int
|
16954
16954
|
:param _AssetCreateTime: 资产创建时间
|
16955
16955
|
:type AssetCreateTime: str
|
16956
|
-
:param _PublicIp: 公网
|
16956
|
+
:param _PublicIp: 公网IP
|
16957
16957
|
:type PublicIp: str
|
16958
16958
|
:param _PublicIpType: 公网ip类型
|
16959
16959
|
:type PublicIpType: int
|
@@ -17003,7 +17003,7 @@ class IpAssetListVO(AbstractModel):
|
|
17003
17003
|
:type Tag: list of Tag
|
17004
17004
|
:param _AddressId: eip主键
|
17005
17005
|
:type AddressId: str
|
17006
|
-
:param _MemberId:
|
17006
|
+
:param _MemberId: MemberId信息
|
17007
17007
|
:type MemberId: str
|
17008
17008
|
:param _RiskExposure: 风险服务暴露
|
17009
17009
|
:type RiskExposure: int
|
@@ -17116,7 +17116,7 @@ class IpAssetListVO(AbstractModel):
|
|
17116
17116
|
|
17117
17117
|
@property
|
17118
17118
|
def PublicIp(self):
|
17119
|
-
"""公网
|
17119
|
+
"""公网IP
|
17120
17120
|
:rtype: str
|
17121
17121
|
"""
|
17122
17122
|
return self._PublicIp
|
@@ -17391,7 +17391,7 @@ class IpAssetListVO(AbstractModel):
|
|
17391
17391
|
|
17392
17392
|
@property
|
17393
17393
|
def MemberId(self):
|
17394
|
-
"""
|
17394
|
+
"""MemberId信息
|
17395
17395
|
:rtype: str
|
17396
17396
|
"""
|
17397
17397
|
return self._MemberId
|
@@ -22161,8 +22161,7 @@ class SubUserInfo(AbstractModel):
|
|
22161
22161
|
|
22162
22162
|
def __init__(self):
|
22163
22163
|
r"""
|
22164
|
-
:param _ID: 主键ID
|
22165
|
-
仅作为唯一键
|
22164
|
+
:param _ID: 主键ID,无业务意义仅作为唯一键
|
22166
22165
|
:type ID: int
|
22167
22166
|
:param _AppID: 子账号Appid
|
22168
22167
|
:type AppID: str
|
@@ -22176,7 +22175,7 @@ class SubUserInfo(AbstractModel):
|
|
22176
22175
|
:type OwnerUin: str
|
22177
22176
|
:param _OwnerNickName: 主账号名称
|
22178
22177
|
:type OwnerNickName: str
|
22179
|
-
:param _OwnerMemberID: 所属主账号
|
22178
|
+
:param _OwnerMemberID: 所属主账号memberId信息
|
22180
22179
|
:type OwnerMemberID: str
|
22181
22180
|
:param _CloudType: 账户类型,0为腾讯云账户,1为AWS账户
|
22182
22181
|
:type CloudType: int
|
@@ -22220,8 +22219,7 @@ class SubUserInfo(AbstractModel):
|
|
22220
22219
|
|
22221
22220
|
@property
|
22222
22221
|
def ID(self):
|
22223
|
-
"""主键ID
|
22224
|
-
仅作为唯一键
|
22222
|
+
"""主键ID,无业务意义仅作为唯一键
|
22225
22223
|
:rtype: int
|
22226
22224
|
"""
|
22227
22225
|
return self._ID
|
@@ -22298,7 +22296,7 @@ class SubUserInfo(AbstractModel):
|
|
22298
22296
|
|
22299
22297
|
@property
|
22300
22298
|
def OwnerMemberID(self):
|
22301
|
-
"""所属主账号
|
22299
|
+
"""所属主账号memberId信息
|
22302
22300
|
:rtype: str
|
22303
22301
|
"""
|
22304
22302
|
return self._OwnerMemberID
|
@@ -35,27 +35,18 @@ class AddRecordBatch(AbstractModel):
|
|
35
35
|
:type RecordLine: str
|
36
36
|
:param _RecordLineId: 解析记录的线路 ID,RecordLine和RecordLineId都有时,系统优先取 RecordLineId。
|
37
37
|
:type RecordLineId: str
|
38
|
-
:param _Weight: 记录权重值(暂未支持)。
|
39
|
-
:type Weight: int
|
40
38
|
:param _MX: 记录的 MX 记录值,非 MX 记录类型,默认为 0,MX记录则必选。
|
41
39
|
:type MX: int
|
42
40
|
:param _TTL: 记录的 TTL 值,默认600。
|
43
41
|
:type TTL: int
|
44
|
-
:param _Enabled: 记录状态(暂未支持)。0表示禁用,1表示启用。默认启用。
|
45
|
-
:type Enabled: int
|
46
|
-
:param _Remark: 记录备注(暂未支持)。
|
47
|
-
:type Remark: str
|
48
42
|
"""
|
49
43
|
self._RecordType = None
|
50
44
|
self._Value = None
|
51
45
|
self._SubDomain = None
|
52
46
|
self._RecordLine = None
|
53
47
|
self._RecordLineId = None
|
54
|
-
self._Weight = None
|
55
48
|
self._MX = None
|
56
49
|
self._TTL = None
|
57
|
-
self._Enabled = None
|
58
|
-
self._Remark = None
|
59
50
|
|
60
51
|
@property
|
61
52
|
def RecordType(self):
|
@@ -112,17 +103,6 @@ class AddRecordBatch(AbstractModel):
|
|
112
103
|
def RecordLineId(self, RecordLineId):
|
113
104
|
self._RecordLineId = RecordLineId
|
114
105
|
|
115
|
-
@property
|
116
|
-
def Weight(self):
|
117
|
-
"""记录权重值(暂未支持)。
|
118
|
-
:rtype: int
|
119
|
-
"""
|
120
|
-
return self._Weight
|
121
|
-
|
122
|
-
@Weight.setter
|
123
|
-
def Weight(self, Weight):
|
124
|
-
self._Weight = Weight
|
125
|
-
|
126
106
|
@property
|
127
107
|
def MX(self):
|
128
108
|
"""记录的 MX 记录值,非 MX 记录类型,默认为 0,MX记录则必选。
|
@@ -145,28 +125,6 @@ class AddRecordBatch(AbstractModel):
|
|
145
125
|
def TTL(self, TTL):
|
146
126
|
self._TTL = TTL
|
147
127
|
|
148
|
-
@property
|
149
|
-
def Enabled(self):
|
150
|
-
"""记录状态(暂未支持)。0表示禁用,1表示启用。默认启用。
|
151
|
-
:rtype: int
|
152
|
-
"""
|
153
|
-
return self._Enabled
|
154
|
-
|
155
|
-
@Enabled.setter
|
156
|
-
def Enabled(self, Enabled):
|
157
|
-
self._Enabled = Enabled
|
158
|
-
|
159
|
-
@property
|
160
|
-
def Remark(self):
|
161
|
-
"""记录备注(暂未支持)。
|
162
|
-
:rtype: str
|
163
|
-
"""
|
164
|
-
return self._Remark
|
165
|
-
|
166
|
-
@Remark.setter
|
167
|
-
def Remark(self, Remark):
|
168
|
-
self._Remark = Remark
|
169
|
-
|
170
128
|
|
171
129
|
def _deserialize(self, params):
|
172
130
|
self._RecordType = params.get("RecordType")
|
@@ -174,11 +132,8 @@ class AddRecordBatch(AbstractModel):
|
|
174
132
|
self._SubDomain = params.get("SubDomain")
|
175
133
|
self._RecordLine = params.get("RecordLine")
|
176
134
|
self._RecordLineId = params.get("RecordLineId")
|
177
|
-
self._Weight = params.get("Weight")
|
178
135
|
self._MX = params.get("MX")
|
179
136
|
self._TTL = params.get("TTL")
|
180
|
-
self._Enabled = params.get("Enabled")
|
181
|
-
self._Remark = params.get("Remark")
|
182
137
|
memeber_set = set(params.keys())
|
183
138
|
for name, value in vars(self).items():
|
184
139
|
property_name = name[1:]
|
@@ -14435,7 +14390,7 @@ class ModifyRecordBatchRequest(AbstractModel):
|
|
14435
14390
|
|
14436
14391
|
def __init__(self):
|
14437
14392
|
r"""
|
14438
|
-
:param _RecordIdList: 记录ID数组。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId
|
14393
|
+
:param _RecordIdList: 记录ID数组。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId。单次最多修改5000条记录。
|
14439
14394
|
:type RecordIdList: list of int non-negative
|
14440
14395
|
:param _Change: 要修改的字段,可选值为 [“sub_domain”、”record_type”、”area”、”value”、”mx”、”ttl”、”status”] 中的某一个。
|
14441
14396
|
:type Change: str
|
@@ -14454,7 +14409,7 @@ class ModifyRecordBatchRequest(AbstractModel):
|
|
14454
14409
|
|
14455
14410
|
@property
|
14456
14411
|
def RecordIdList(self):
|
14457
|
-
"""记录ID数组。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId
|
14412
|
+
"""记录ID数组。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId。单次最多修改5000条记录。
|
14458
14413
|
:rtype: list of int non-negative
|
14459
14414
|
"""
|
14460
14415
|
return self._RecordIdList
|
@@ -3425,12 +3425,19 @@ class DBEndpointInfo(AbstractModel):
|
|
3425
3425
|
:type Info: list of DBInfo
|
3426
3426
|
:param _Supplier: 实例服务提供商,如:"aliyun","others"
|
3427
3427
|
:type Supplier: str
|
3428
|
-
:param _ExtraAttr:
|
3429
|
-
|
3428
|
+
:param _ExtraAttr: 此参数为数组类型,可以传多个键值对结构对象。
|
3429
|
+
MongoDB可定义如下的参数:
|
3430
|
+
'AuthDatabase':'admin',
|
3431
|
+
'AuthFlag': "1",
|
3432
|
+
'AuthMechanism':"SCRAM-SHA-1",
|
3433
|
+
"fetchMethod":"oplog",
|
3434
|
+
"connectMode":"srv",
|
3435
|
+
"EncryptedConnProtocol":"mongo_atlas_ssl";
|
3436
|
+
其中fetchMethod表示迁移方式,还可支持change_stream;EncryptedConnProtocol值为mongo_atlas_ssl表示使用atlas ssl连接方式。
|
3430
3437
|
:type ExtraAttr: list of KeyValuePairOption
|
3431
3438
|
:param _DatabaseNetEnv: 数据库所属网络环境,AccessType为云联网(ccn)时必填, UserIDC表示用户IDC、TencentVPC表示腾讯云VPC;
|
3432
3439
|
:type DatabaseNetEnv: str
|
3433
|
-
:param _ConnectType: tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql
|
3440
|
+
:param _ConnectType: tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。
|
3434
3441
|
:type ConnectType: str
|
3435
3442
|
"""
|
3436
3443
|
self._Region = None
|
@@ -3513,8 +3520,15 @@ class DBEndpointInfo(AbstractModel):
|
|
3513
3520
|
|
3514
3521
|
@property
|
3515
3522
|
def ExtraAttr(self):
|
3516
|
-
"""
|
3517
|
-
|
3523
|
+
"""此参数为数组类型,可以传多个键值对结构对象。
|
3524
|
+
MongoDB可定义如下的参数:
|
3525
|
+
'AuthDatabase':'admin',
|
3526
|
+
'AuthFlag': "1",
|
3527
|
+
'AuthMechanism':"SCRAM-SHA-1",
|
3528
|
+
"fetchMethod":"oplog",
|
3529
|
+
"connectMode":"srv",
|
3530
|
+
"EncryptedConnProtocol":"mongo_atlas_ssl";
|
3531
|
+
其中fetchMethod表示迁移方式,还可支持change_stream;EncryptedConnProtocol值为mongo_atlas_ssl表示使用atlas ssl连接方式。
|
3518
3532
|
:rtype: list of KeyValuePairOption
|
3519
3533
|
"""
|
3520
3534
|
return self._ExtraAttr
|
@@ -3536,7 +3550,7 @@ class DBEndpointInfo(AbstractModel):
|
|
3536
3550
|
|
3537
3551
|
@property
|
3538
3552
|
def ConnectType(self):
|
3539
|
-
"""tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql
|
3553
|
+
"""tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。
|
3540
3554
|
:rtype: str
|
3541
3555
|
"""
|
3542
3556
|
return self._ConnectType
|
@@ -165,6 +165,29 @@ class EmrClient(AbstractClient):
|
|
165
165
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
166
166
|
|
167
167
|
|
168
|
+
def CreateGroupsSTD(self, request):
|
169
|
+
"""用户管理-批量创建用户组
|
170
|
+
|
171
|
+
:param request: Request instance for CreateGroupsSTD.
|
172
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.CreateGroupsSTDRequest`
|
173
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.CreateGroupsSTDResponse`
|
174
|
+
|
175
|
+
"""
|
176
|
+
try:
|
177
|
+
params = request._serialize()
|
178
|
+
headers = request.headers
|
179
|
+
body = self.call("CreateGroupsSTD", params, headers=headers)
|
180
|
+
response = json.loads(body)
|
181
|
+
model = models.CreateGroupsSTDResponse()
|
182
|
+
model._deserialize(response["Response"])
|
183
|
+
return model
|
184
|
+
except Exception as e:
|
185
|
+
if isinstance(e, TencentCloudSDKException):
|
186
|
+
raise
|
187
|
+
else:
|
188
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
189
|
+
|
190
|
+
|
168
191
|
def CreateInstance(self, request):
|
169
192
|
"""创建EMR集群实例
|
170
193
|
|
@@ -236,6 +259,29 @@ class EmrClient(AbstractClient):
|
|
236
259
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
237
260
|
|
238
261
|
|
262
|
+
def DeleteGroupsSTD(self, request):
|
263
|
+
"""批量删除用户组
|
264
|
+
|
265
|
+
:param request: Request instance for DeleteGroupsSTD.
|
266
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DeleteGroupsSTDRequest`
|
267
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DeleteGroupsSTDResponse`
|
268
|
+
|
269
|
+
"""
|
270
|
+
try:
|
271
|
+
params = request._serialize()
|
272
|
+
headers = request.headers
|
273
|
+
body = self.call("DeleteGroupsSTD", params, headers=headers)
|
274
|
+
response = json.loads(body)
|
275
|
+
model = models.DeleteGroupsSTDResponse()
|
276
|
+
model._deserialize(response["Response"])
|
277
|
+
return model
|
278
|
+
except Exception as e:
|
279
|
+
if isinstance(e, TencentCloudSDKException):
|
280
|
+
raise
|
281
|
+
else:
|
282
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
283
|
+
|
284
|
+
|
239
285
|
def DeleteNodeResourceConfig(self, request):
|
240
286
|
"""删除当前集群的节点规格配置
|
241
287
|
|
@@ -1528,6 +1574,29 @@ class EmrClient(AbstractClient):
|
|
1528
1574
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1529
1575
|
|
1530
1576
|
|
1577
|
+
def ModifyUserGroup(self, request):
|
1578
|
+
"""用户管理-修改用户组
|
1579
|
+
|
1580
|
+
:param request: Request instance for ModifyUserGroup.
|
1581
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.ModifyUserGroupRequest`
|
1582
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.ModifyUserGroupResponse`
|
1583
|
+
|
1584
|
+
"""
|
1585
|
+
try:
|
1586
|
+
params = request._serialize()
|
1587
|
+
headers = request.headers
|
1588
|
+
body = self.call("ModifyUserGroup", params, headers=headers)
|
1589
|
+
response = json.loads(body)
|
1590
|
+
model = models.ModifyUserGroupResponse()
|
1591
|
+
model._deserialize(response["Response"])
|
1592
|
+
return model
|
1593
|
+
except Exception as e:
|
1594
|
+
if isinstance(e, TencentCloudSDKException):
|
1595
|
+
raise
|
1596
|
+
else:
|
1597
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1598
|
+
|
1599
|
+
|
1531
1600
|
def ModifyUserManagerPwd(self, request):
|
1532
1601
|
"""修改用户密码(用户管理)
|
1533
1602
|
|
@@ -1551,6 +1620,29 @@ class EmrClient(AbstractClient):
|
|
1551
1620
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1552
1621
|
|
1553
1622
|
|
1623
|
+
def ModifyUsersOfGroupSTD(self, request):
|
1624
|
+
"""变更用户组用户信息
|
1625
|
+
|
1626
|
+
:param request: Request instance for ModifyUsersOfGroupSTD.
|
1627
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.ModifyUsersOfGroupSTDRequest`
|
1628
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.ModifyUsersOfGroupSTDResponse`
|
1629
|
+
|
1630
|
+
"""
|
1631
|
+
try:
|
1632
|
+
params = request._serialize()
|
1633
|
+
headers = request.headers
|
1634
|
+
body = self.call("ModifyUsersOfGroupSTD", params, headers=headers)
|
1635
|
+
response = json.loads(body)
|
1636
|
+
model = models.ModifyUsersOfGroupSTDResponse()
|
1637
|
+
model._deserialize(response["Response"])
|
1638
|
+
return model
|
1639
|
+
except Exception as e:
|
1640
|
+
if isinstance(e, TencentCloudSDKException):
|
1641
|
+
raise
|
1642
|
+
else:
|
1643
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1644
|
+
|
1645
|
+
|
1554
1646
|
def ModifyYarnDeploy(self, request):
|
1555
1647
|
"""部署生效。已废弃,请使用`DeployYarnConf`接口进行部署生效
|
1556
1648
|
|