tencentcloud-sdk-python-mariadb 3.0.1213__tar.gz → 3.0.1225__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 (16) hide show
  1. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/setup.py +1 -1
  3. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
  6. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud/mariadb/v20170312/models.py +82 -0
  7. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud_sdk_python_mariadb.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-mariadb-3.0.1225/tencentcloud_sdk_python_mariadb.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-mariadb-3.0.1213/tencentcloud_sdk_python_mariadb.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/README.rst +0 -0
  11. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud/mariadb/__init__.py +0 -0
  13. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud/mariadb/v20170312/__init__.py +0 -0
  14. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud_sdk_python_mariadb.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud_sdk_python_mariadb.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-mariadb-3.0.1213 → tencentcloud-sdk-python-mariadb-3.0.1225}/tencentcloud_sdk_python_mariadb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-mariadb
3
- Version: 3.0.1213
3
+ Version: 3.0.1225
4
4
  Summary: Tencent Cloud Mariadb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-mariadb',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1213"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1225"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Mariadb SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1213'
17
+ __version__ = '3.0.1225'
@@ -62,6 +62,9 @@ FAILEDOPERATION_INSTANCECANNOTRETURN = 'FailedOperation.InstanceCanNotReturn'
62
62
  # 实例退费失败。
63
63
  FAILEDOPERATION_INSTANCERETURNFAILED = 'FailedOperation.InstanceReturnFailed'
64
64
 
65
+ # 日志不存在。
66
+ FAILEDOPERATION_LOGNOTEXISTED = 'FailedOperation.LogNotExisted'
67
+
65
68
  # 修改账号权限失败。
66
69
  FAILEDOPERATION_MODIFYRIGHTFAILED = 'FailedOperation.ModifyRightFailed'
67
70
 
@@ -396,6 +396,29 @@ class MariadbClient(AbstractClient):
396
396
  raise TencentCloudSDKException(type(e).__name__, str(e))
397
397
 
398
398
 
399
+ def DescribeBinlogTime(self, request):
400
+ """本接口(DescribeBinlogTime)用于查询可回档时间范围。
401
+
402
+ :param request: Request instance for DescribeBinlogTime.
403
+ :type request: :class:`tencentcloud.mariadb.v20170312.models.DescribeBinlogTimeRequest`
404
+ :rtype: :class:`tencentcloud.mariadb.v20170312.models.DescribeBinlogTimeResponse`
405
+
406
+ """
407
+ try:
408
+ params = request._serialize()
409
+ headers = request.headers
410
+ body = self.call("DescribeBinlogTime", params, headers=headers)
411
+ response = json.loads(body)
412
+ model = models.DescribeBinlogTimeResponse()
413
+ model._deserialize(response["Response"])
414
+ return model
415
+ except Exception as e:
416
+ if isinstance(e, TencentCloudSDKException):
417
+ raise
418
+ else:
419
+ raise TencentCloudSDKException(type(e).__name__, str(e))
420
+
421
+
399
422
  def DescribeDBEncryptAttributes(self, request):
400
423
  """本接口(DescribeDBEncryptAttributes)用于查询实例数据加密状态。
401
424
 
@@ -4405,6 +4405,88 @@ class DescribeBackupTimeResponse(AbstractModel):
4405
4405
  self._RequestId = params.get("RequestId")
4406
4406
 
4407
4407
 
4408
+ class DescribeBinlogTimeRequest(AbstractModel):
4409
+ """DescribeBinlogTime请求参数结构体
4410
+
4411
+ """
4412
+
4413
+ def __init__(self):
4414
+ r"""
4415
+ :param _InstanceId: 实例 ID,形如:tdsql-ow728lmc。
4416
+ :type InstanceId: str
4417
+ """
4418
+ self._InstanceId = None
4419
+
4420
+ @property
4421
+ def InstanceId(self):
4422
+ return self._InstanceId
4423
+
4424
+ @InstanceId.setter
4425
+ def InstanceId(self, InstanceId):
4426
+ self._InstanceId = InstanceId
4427
+
4428
+
4429
+ def _deserialize(self, params):
4430
+ self._InstanceId = params.get("InstanceId")
4431
+ memeber_set = set(params.keys())
4432
+ for name, value in vars(self).items():
4433
+ property_name = name[1:]
4434
+ if property_name in memeber_set:
4435
+ memeber_set.remove(property_name)
4436
+ if len(memeber_set) > 0:
4437
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4438
+
4439
+
4440
+
4441
+ class DescribeBinlogTimeResponse(AbstractModel):
4442
+ """DescribeBinlogTime返回参数结构体
4443
+
4444
+ """
4445
+
4446
+ def __init__(self):
4447
+ r"""
4448
+ :param _StartTime: 开始时间
4449
+ :type StartTime: str
4450
+ :param _EndTime: 结束时间
4451
+ :type EndTime: str
4452
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4453
+ :type RequestId: str
4454
+ """
4455
+ self._StartTime = None
4456
+ self._EndTime = None
4457
+ self._RequestId = None
4458
+
4459
+ @property
4460
+ def StartTime(self):
4461
+ return self._StartTime
4462
+
4463
+ @StartTime.setter
4464
+ def StartTime(self, StartTime):
4465
+ self._StartTime = StartTime
4466
+
4467
+ @property
4468
+ def EndTime(self):
4469
+ return self._EndTime
4470
+
4471
+ @EndTime.setter
4472
+ def EndTime(self, EndTime):
4473
+ self._EndTime = EndTime
4474
+
4475
+ @property
4476
+ def RequestId(self):
4477
+ return self._RequestId
4478
+
4479
+ @RequestId.setter
4480
+ def RequestId(self, RequestId):
4481
+ self._RequestId = RequestId
4482
+
4483
+
4484
+ def _deserialize(self, params):
4485
+ self._StartTime = params.get("StartTime")
4486
+ self._EndTime = params.get("EndTime")
4487
+ self._RequestId = params.get("RequestId")
4488
+
4489
+
4408
4490
  class DescribeDBEncryptAttributesRequest(AbstractModel):
4409
4491
  """DescribeDBEncryptAttributes请求参数结构体
4410
4492
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-mariadb
3
- Version: 3.0.1213
3
+ Version: 3.0.1225
4
4
  Summary: Tencent Cloud Mariadb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1225
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1213