tencentcloud-sdk-python-tdmysql 3.1.123__tar.gz → 3.1.128__tar.gz

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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud/tdmysql/v20211122/errorcodes.py +3 -9
  5. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud/tdmysql/v20211122/models.py +0 -124
  6. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud/tdmysql/v20211122/tdmysql_client.py +0 -23
  7. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud/tdmysql/v20211122/tdmysql_client_async.py +0 -18
  8. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud_sdk_python_tdmysql.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_tdmysql-3.1.128/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_tdmysql-3.1.123/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/README.rst +0 -0
  12. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud/tdmysql/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud/tdmysql/v20211122/__init__.py +0 -0
  15. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud_sdk_python_tdmysql.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud_sdk_python_tdmysql.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tdmysql-3.1.123 → tencentcloud_sdk_python_tdmysql-3.1.128}/tencentcloud_sdk_python_tdmysql.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tdmysql
3
- Version: 3.1.123
3
+ Version: 3.1.128
4
4
  Summary: Tencent Cloud Tdmysql SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.123
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.128
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-tdmysql',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.123,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.128,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tdmysql SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.123'
17
+ __version__ = '3.1.128'
@@ -71,9 +71,6 @@ FAILEDOPERATION_DBQUERYZONEERROR = 'FailedOperation.DBQueryZoneError'
71
71
  # 更新实例名称数据失败。
72
72
  FAILEDOPERATION_DBUPDATEINSTANCEERROR = 'FailedOperation.DBUpdateInstanceError'
73
73
 
74
- # 更新用户数据失败。
75
- FAILEDOPERATION_DBUPDATEUSERERROR = 'FailedOperation.DBUpdateUserError'
76
-
77
74
  # 更新维护窗口配置失败
78
75
  FAILEDOPERATION_DBUPSERTMAINTENANCEWINDOWERROR = 'FailedOperation.DBUpsertMaintenanceWindowError'
79
76
 
@@ -236,9 +233,6 @@ INVALIDPARAMETERVALUE_CHECKINSTANCEVERSIONERROR = 'InvalidParameterValue.CheckIn
236
233
  # 名称校验失败。
237
234
  INVALIDPARAMETERVALUE_CHECKNAMEERROR = 'InvalidParameterValue.CheckNameError'
238
235
 
239
- # 密码校验失败。
240
- INVALIDPARAMETERVALUE_CHECKPASSWDERROR = 'InvalidParameterValue.CheckPasswdError'
241
-
242
236
  # 实例规格校验错误。
243
237
  INVALIDPARAMETERVALUE_CHECKSPECERROR = 'InvalidParameterValue.CheckSpecError'
244
238
 
@@ -293,6 +287,9 @@ OPERATIONDENIED_CREATEBACKUPTASKTHRESHOLDERR = 'OperationDenied.CreateBackupTask
293
287
  # 不允许删除正在运行的备份任务
294
288
  OPERATIONDENIED_DELETERUNNINGBACKUPTASKERR = 'OperationDenied.DeleteRunningBackupTaskErr'
295
289
 
290
+ # 实例暂不支持此操作。
291
+ OPERATIONDENIED_INSTANCEOPERATIONNOTALLOWEDERROR = 'OperationDenied.InstanceOperationNotAllowedError'
292
+
296
293
  # 实例状态错误。
297
294
  OPERATIONDENIED_INSTANCESTATUSERROR = 'OperationDenied.InstanceStatusError'
298
295
 
@@ -302,9 +299,6 @@ OPERATIONDENIED_MANUALBACKUPQUOTAPERDAYEXCEEDEDERR = 'OperationDenied.ManualBack
302
299
  # 备份数量已经超过配额,不能再创建备份。
303
300
  OPERATIONDENIED_MANUALBACKUPSETQUOTAEXCEEDEDERR = 'OperationDenied.ManualBackupSetQuotaExceededErr'
304
301
 
305
- # 重置超级用户密码失败。
306
- OPERATIONDENIED_RESETUSERPASSWORDERROR = 'OperationDenied.ResetUserPasswordError'
307
-
308
302
  # 实例资源找不到
309
303
  RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = 'ResourceNotFound.BizResourceNotFoundError'
310
304
 
@@ -12485,130 +12485,6 @@ class ResetUserPasswordInfo(AbstractModel):
12485
12485
 
12486
12486
 
12487
12487
 
12488
- class ResetUserPasswordRequest(AbstractModel):
12489
- r"""ResetUserPassword请求参数结构体
12490
-
12491
- """
12492
-
12493
- def __init__(self):
12494
- r"""
12495
- :param _UserName: 用户名
12496
- :type UserName: str
12497
- :param _InstanceId: 实例ID
12498
- :type InstanceId: str
12499
- :param _Host: 主机IP,IP段以%结尾,表示允许该IP段的所有IP
12500
- :type Host: str
12501
- :param _Password: 新密码,要求长度8-32,至少包含英文、数字和符号中的两种
12502
- :type Password: str
12503
- :param _EncryptedPassword: 加密密码
12504
- :type EncryptedPassword: str
12505
- """
12506
- self._UserName = None
12507
- self._InstanceId = None
12508
- self._Host = None
12509
- self._Password = None
12510
- self._EncryptedPassword = None
12511
-
12512
- @property
12513
- def UserName(self):
12514
- r"""用户名
12515
- :rtype: str
12516
- """
12517
- return self._UserName
12518
-
12519
- @UserName.setter
12520
- def UserName(self, UserName):
12521
- self._UserName = UserName
12522
-
12523
- @property
12524
- def InstanceId(self):
12525
- r"""实例ID
12526
- :rtype: str
12527
- """
12528
- return self._InstanceId
12529
-
12530
- @InstanceId.setter
12531
- def InstanceId(self, InstanceId):
12532
- self._InstanceId = InstanceId
12533
-
12534
- @property
12535
- def Host(self):
12536
- r"""主机IP,IP段以%结尾,表示允许该IP段的所有IP
12537
- :rtype: str
12538
- """
12539
- return self._Host
12540
-
12541
- @Host.setter
12542
- def Host(self, Host):
12543
- self._Host = Host
12544
-
12545
- @property
12546
- def Password(self):
12547
- r"""新密码,要求长度8-32,至少包含英文、数字和符号中的两种
12548
- :rtype: str
12549
- """
12550
- return self._Password
12551
-
12552
- @Password.setter
12553
- def Password(self, Password):
12554
- self._Password = Password
12555
-
12556
- @property
12557
- def EncryptedPassword(self):
12558
- r"""加密密码
12559
- :rtype: str
12560
- """
12561
- return self._EncryptedPassword
12562
-
12563
- @EncryptedPassword.setter
12564
- def EncryptedPassword(self, EncryptedPassword):
12565
- self._EncryptedPassword = EncryptedPassword
12566
-
12567
-
12568
- def _deserialize(self, params):
12569
- self._UserName = params.get("UserName")
12570
- self._InstanceId = params.get("InstanceId")
12571
- self._Host = params.get("Host")
12572
- self._Password = params.get("Password")
12573
- self._EncryptedPassword = params.get("EncryptedPassword")
12574
- memeber_set = set(params.keys())
12575
- for name, value in vars(self).items():
12576
- property_name = name[1:]
12577
- if property_name in memeber_set:
12578
- memeber_set.remove(property_name)
12579
- if len(memeber_set) > 0:
12580
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12581
-
12582
-
12583
-
12584
- class ResetUserPasswordResponse(AbstractModel):
12585
- r"""ResetUserPassword返回参数结构体
12586
-
12587
- """
12588
-
12589
- def __init__(self):
12590
- r"""
12591
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12592
- :type RequestId: str
12593
- """
12594
- self._RequestId = None
12595
-
12596
- @property
12597
- def RequestId(self):
12598
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12599
- :rtype: str
12600
- """
12601
- return self._RequestId
12602
-
12603
- @RequestId.setter
12604
- def RequestId(self, RequestId):
12605
- self._RequestId = RequestId
12606
-
12607
-
12608
- def _deserialize(self, params):
12609
- self._RequestId = params.get("RequestId")
12610
-
12611
-
12612
12488
  class ResetUsersPasswordRequest(AbstractModel):
12613
12489
  r"""ResetUsersPassword请求参数结构体
12614
12490
 
@@ -992,29 +992,6 @@ class TdmysqlClient(AbstractClient):
992
992
  raise TencentCloudSDKException(type(e).__name__, str(e))
993
993
 
994
994
 
995
- def ResetUserPassword(self, request):
996
- r"""本接口(ResetUserPassword)提供重置用户密码功能
997
-
998
- :param request: Request instance for ResetUserPassword.
999
- :type request: :class:`tencentcloud.tdmysql.v20211122.models.ResetUserPasswordRequest`
1000
- :rtype: :class:`tencentcloud.tdmysql.v20211122.models.ResetUserPasswordResponse`
1001
-
1002
- """
1003
- try:
1004
- params = request._serialize()
1005
- headers = request.headers
1006
- body = self.call("ResetUserPassword", params, headers=headers)
1007
- response = json.loads(body)
1008
- model = models.ResetUserPasswordResponse()
1009
- model._deserialize(response["Response"])
1010
- return model
1011
- except Exception as e:
1012
- if isinstance(e, TencentCloudSDKException):
1013
- raise
1014
- else:
1015
- raise TencentCloudSDKException(type(e).__name__, str(e))
1016
-
1017
-
1018
995
  def ResetUsersPassword(self, request):
1019
996
  r"""本接口(ResetUsersPassword)用于批量重置用户密码
1020
997
 
@@ -781,24 +781,6 @@ class TdmysqlClient(AbstractClient):
781
781
 
782
782
  return await self.call_and_deserialize(**kwargs)
783
783
 
784
- async def ResetUserPassword(
785
- self,
786
- request: models.ResetUserPasswordRequest,
787
- opts: Dict = None,
788
- ) -> models.ResetUserPasswordResponse:
789
- """
790
- 本接口(ResetUserPassword)提供重置用户密码功能
791
- """
792
-
793
- kwargs = {}
794
- kwargs["action"] = "ResetUserPassword"
795
- kwargs["params"] = request._serialize()
796
- kwargs["resp_cls"] = models.ResetUserPasswordResponse
797
- kwargs["headers"] = request.headers
798
- kwargs["opts"] = opts or {}
799
-
800
- return await self.call_and_deserialize(**kwargs)
801
-
802
784
  async def ResetUsersPassword(
803
785
  self,
804
786
  request: models.ResetUsersPasswordRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tdmysql
3
- Version: 3.1.123
3
+ Version: 3.1.128
4
4
  Summary: Tencent Cloud Tdmysql SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.123
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.128
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.128
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.123