tencentcloud-sdk-python-dts 3.0.1274__tar.gz → 3.0.1290__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-dts might be problematic. Click here for more details.

Files changed (20) hide show
  1. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/setup.py +1 -1
  3. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/dts/v20180330/models.py +20 -20
  5. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/dts/v20211206/models.py +62 -15
  6. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud_sdk_python_dts.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-dts-3.0.1290/tencentcloud_sdk_python_dts.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-dts-3.0.1274/tencentcloud_sdk_python_dts.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/README.rst +0 -0
  10. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/dts/__init__.py +0 -0
  12. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/dts/v20180330/__init__.py +0 -0
  13. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/dts/v20180330/dts_client.py +0 -0
  14. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/dts/v20180330/errorcodes.py +0 -0
  15. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/dts/v20211206/__init__.py +0 -0
  16. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/dts/v20211206/dts_client.py +0 -0
  17. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud/dts/v20211206/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud_sdk_python_dts.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud_sdk_python_dts.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-dts-3.0.1274 → tencentcloud-sdk-python-dts-3.0.1290}/tencentcloud_sdk_python_dts.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-dts
3
- Version: 3.0.1274
3
+ Version: 3.0.1290
4
4
  Summary: Tencent Cloud Dts 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-dts',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1274"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1290"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Dts 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.1274'
17
+ __version__ = '3.0.1290'
@@ -4320,36 +4320,36 @@ class SubscribeInfo(AbstractModel):
4320
4320
  :type SubscribeId: str
4321
4321
  :param _SubscribeName: 数据订阅实例的名称
4322
4322
  :type SubscribeName: str
4323
- :param _ChannelId: 数据订阅实例绑定的通道ID
4323
+ :param _ChannelId: 数据订阅实例绑定的通道ID。kafka版订阅就是kafka topic
4324
4324
  :type ChannelId: str
4325
- :param _Product: 数据订阅绑定实例对应的产品名称
4325
+ :param _Product: 订阅实例的类型,目前支持 cynosdbmysql,mariadb,mongodb,mysql,percona,tdpg,tdsqlpercona(tdsqlmysql)
4326
4326
  :type Product: str
4327
4327
  :param _InstanceId: 数据订阅实例绑定的数据库实例ID
4328
4328
  :type InstanceId: str
4329
- :param _InstanceStatus: 数据订阅实例绑定的数据库实例状态
4329
+ :param _InstanceStatus: 云数据库状态:running 运行中,isolated 已隔离,offline 已下线。如果不是云上,此值为空
4330
4330
  :type InstanceStatus: str
4331
- :param _SubsStatus: 数据订阅实例的配置状态,unconfigure - 未配置, configuring - 配置中,configured - 已配置
4331
+ :param _SubsStatus: 数据订阅状态,可能的值为:未启动 notStarted, 校验中 checking, 校验不通过 checkNotPass, 校验通过 checkPass, 启动中 starting, 运行中 running, 异常出错 error
4332
4332
  :type SubsStatus: str
4333
- :param _ModifyTime: 上次修改时间
4333
+ :param _ModifyTime: 上次修改时间,时间格式如:Y-m-d h:m:s
4334
4334
  :type ModifyTime: str
4335
4335
  :param _CreateTime: 创建时间
4336
4336
  :type CreateTime: str
4337
- :param _IsolateTime: 隔离时间
4337
+ :param _IsolateTime: 隔离时间,时间格式如:Y-m-d h:m:s
4338
4338
  :type IsolateTime: str
4339
- :param _ExpireTime: 到期时间
4339
+ :param _ExpireTime: 包年包月任务的到期时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
4340
4340
  :type ExpireTime: str
4341
4341
  :param _OfflineTime: 下线时间
4342
4342
  :type OfflineTime: str
4343
4343
  :param _ConsumeStartTime: 最近一次修改的消费时间起点,如果从未修改则为零值
4344
4344
  :type ConsumeStartTime: str
4345
- :param _AutoRenewFlag: 自动续费标识。0-不自动续费,1-自动续费
4345
+ :param _AutoRenewFlag: 自动续费标识。只有当 PayType=0,该值才有意义。枚举值:0-不自动续费,1-自动续费
4346
4346
  注意:此字段可能返回 null,表示取不到有效值。
4347
4347
  :type AutoRenewFlag: int
4348
4348
  :param _Region: 数据订阅实例所属地域
4349
4349
  :type Region: str
4350
4350
  :param _PayType: 计费方式,0 - 包年包月,1 - 按量计费
4351
4351
  :type PayType: int
4352
- :param _Vip: 数据订阅实例的Vip
4352
+ :param _Vip: 旧版订阅通道的vip
4353
4353
  :type Vip: str
4354
4354
  :param _Vport: 数据订阅实例的Vport
4355
4355
  :type Vport: int
@@ -4357,7 +4357,7 @@ class SubscribeInfo(AbstractModel):
4357
4357
  :type UniqVpcId: str
4358
4358
  :param _UniqSubnetId: 数据订阅实例Vip所在子网的唯一ID
4359
4359
  :type UniqSubnetId: str
4360
- :param _Status: 数据订阅实例的状态,creating - 创建中,normal - 正常运行,isolating - 隔离中,isolated - 已隔离,offlining - 下线中,offline - 已下线
4360
+ :param _Status: 数据订阅生命周期状态,可能的值为:正常 normal, 隔离中 isolating, 已隔离 isolated, 下线中 offlining, 按量转包年包月中 post2PrePayIng
4361
4361
  :type Status: str
4362
4362
  :param _SdkConsumedTime: SDK最后一条确认消息的时间戳,如果SDK一直消费,也可以作为SDK当前消费时间点
4363
4363
  :type SdkConsumedTime: str
@@ -4417,7 +4417,7 @@ class SubscribeInfo(AbstractModel):
4417
4417
 
4418
4418
  @property
4419
4419
  def ChannelId(self):
4420
- """数据订阅实例绑定的通道ID
4420
+ """数据订阅实例绑定的通道ID。kafka版订阅就是kafka topic
4421
4421
  :rtype: str
4422
4422
  """
4423
4423
  return self._ChannelId
@@ -4428,7 +4428,7 @@ class SubscribeInfo(AbstractModel):
4428
4428
 
4429
4429
  @property
4430
4430
  def Product(self):
4431
- """数据订阅绑定实例对应的产品名称
4431
+ """订阅实例的类型,目前支持 cynosdbmysql,mariadb,mongodb,mysql,percona,tdpg,tdsqlpercona(tdsqlmysql)
4432
4432
  :rtype: str
4433
4433
  """
4434
4434
  return self._Product
@@ -4450,7 +4450,7 @@ class SubscribeInfo(AbstractModel):
4450
4450
 
4451
4451
  @property
4452
4452
  def InstanceStatus(self):
4453
- """数据订阅实例绑定的数据库实例状态
4453
+ """云数据库状态:running 运行中,isolated 已隔离,offline 已下线。如果不是云上,此值为空
4454
4454
  :rtype: str
4455
4455
  """
4456
4456
  return self._InstanceStatus
@@ -4461,7 +4461,7 @@ class SubscribeInfo(AbstractModel):
4461
4461
 
4462
4462
  @property
4463
4463
  def SubsStatus(self):
4464
- """数据订阅实例的配置状态,unconfigure - 未配置, configuring - 配置中,configured - 已配置
4464
+ """数据订阅状态,可能的值为:未启动 notStarted, 校验中 checking, 校验不通过 checkNotPass, 校验通过 checkPass, 启动中 starting, 运行中 running, 异常出错 error
4465
4465
  :rtype: str
4466
4466
  """
4467
4467
  return self._SubsStatus
@@ -4472,7 +4472,7 @@ class SubscribeInfo(AbstractModel):
4472
4472
 
4473
4473
  @property
4474
4474
  def ModifyTime(self):
4475
- """上次修改时间
4475
+ """上次修改时间,时间格式如:Y-m-d h:m:s
4476
4476
  :rtype: str
4477
4477
  """
4478
4478
  return self._ModifyTime
@@ -4494,7 +4494,7 @@ class SubscribeInfo(AbstractModel):
4494
4494
 
4495
4495
  @property
4496
4496
  def IsolateTime(self):
4497
- """隔离时间
4497
+ """隔离时间,时间格式如:Y-m-d h:m:s
4498
4498
  :rtype: str
4499
4499
  """
4500
4500
  return self._IsolateTime
@@ -4505,7 +4505,7 @@ class SubscribeInfo(AbstractModel):
4505
4505
 
4506
4506
  @property
4507
4507
  def ExpireTime(self):
4508
- """到期时间
4508
+ """包年包月任务的到期时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
4509
4509
  :rtype: str
4510
4510
  """
4511
4511
  return self._ExpireTime
@@ -4538,7 +4538,7 @@ class SubscribeInfo(AbstractModel):
4538
4538
 
4539
4539
  @property
4540
4540
  def AutoRenewFlag(self):
4541
- """自动续费标识。0-不自动续费,1-自动续费
4541
+ """自动续费标识。只有当 PayType=0,该值才有意义。枚举值:0-不自动续费,1-自动续费
4542
4542
  注意:此字段可能返回 null,表示取不到有效值。
4543
4543
  :rtype: int
4544
4544
  """
@@ -4572,7 +4572,7 @@ class SubscribeInfo(AbstractModel):
4572
4572
 
4573
4573
  @property
4574
4574
  def Vip(self):
4575
- """数据订阅实例的Vip
4575
+ """旧版订阅通道的vip
4576
4576
  :rtype: str
4577
4577
  """
4578
4578
  return self._Vip
@@ -4616,7 +4616,7 @@ class SubscribeInfo(AbstractModel):
4616
4616
 
4617
4617
  @property
4618
4618
  def Status(self):
4619
- """数据订阅实例的状态,creating - 创建中,normal - 正常运行,isolating - 隔离中,isolated - 已隔离,offlining - 下线中,offline - 已下线
4619
+ """数据订阅生命周期状态,可能的值为:正常 normal, 隔离中 isolating, 已隔离 isolated, 下线中 offlining, 按量转包年包月中 post2PrePayIng
4620
4620
  :rtype: str
4621
4621
  """
4622
4622
  return self._Status
@@ -12482,16 +12482,16 @@ class ModifyConsumerGroupPasswordRequest(AbstractModel):
12482
12482
  :type AccountName: str
12483
12483
  :param _ConsumerGroupName: 消费组名称。实际的消费组全称形如:consumer-grp-#{SubscribeId}-#{ConsumerGroupName}
12484
12484
  :type ConsumerGroupName: str
12485
- :param _OldPassword: 旧密码
12486
- :type OldPassword: str
12487
12485
  :param _NewPassword: 新密码。字符长度不小于3,不大于32
12488
12486
  :type NewPassword: str
12487
+ :param _OldPassword: 旧密码,非必选
12488
+ :type OldPassword: str
12489
12489
  """
12490
12490
  self._SubscribeId = None
12491
12491
  self._AccountName = None
12492
12492
  self._ConsumerGroupName = None
12493
- self._OldPassword = None
12494
12493
  self._NewPassword = None
12494
+ self._OldPassword = None
12495
12495
 
12496
12496
  @property
12497
12497
  def SubscribeId(self):
@@ -12526,17 +12526,6 @@ class ModifyConsumerGroupPasswordRequest(AbstractModel):
12526
12526
  def ConsumerGroupName(self, ConsumerGroupName):
12527
12527
  self._ConsumerGroupName = ConsumerGroupName
12528
12528
 
12529
- @property
12530
- def OldPassword(self):
12531
- """旧密码
12532
- :rtype: str
12533
- """
12534
- return self._OldPassword
12535
-
12536
- @OldPassword.setter
12537
- def OldPassword(self, OldPassword):
12538
- self._OldPassword = OldPassword
12539
-
12540
12529
  @property
12541
12530
  def NewPassword(self):
12542
12531
  """新密码。字符长度不小于3,不大于32
@@ -12548,13 +12537,24 @@ class ModifyConsumerGroupPasswordRequest(AbstractModel):
12548
12537
  def NewPassword(self, NewPassword):
12549
12538
  self._NewPassword = NewPassword
12550
12539
 
12540
+ @property
12541
+ def OldPassword(self):
12542
+ """旧密码,非必选
12543
+ :rtype: str
12544
+ """
12545
+ return self._OldPassword
12546
+
12547
+ @OldPassword.setter
12548
+ def OldPassword(self, OldPassword):
12549
+ self._OldPassword = OldPassword
12550
+
12551
12551
 
12552
12552
  def _deserialize(self, params):
12553
12553
  self._SubscribeId = params.get("SubscribeId")
12554
12554
  self._AccountName = params.get("AccountName")
12555
12555
  self._ConsumerGroupName = params.get("ConsumerGroupName")
12556
- self._OldPassword = params.get("OldPassword")
12557
12556
  self._NewPassword = params.get("NewPassword")
12557
+ self._OldPassword = params.get("OldPassword")
12558
12558
  memeber_set = set(params.keys())
12559
12559
  for name, value in vars(self).items():
12560
12560
  property_name = name[1:]
@@ -14029,6 +14029,9 @@ class Options(AbstractModel):
14029
14029
  :param _AutoRetryTimeRangeMinutes: 自动重试的时间窗口设置
14030
14030
  注意:此字段可能返回 null,表示取不到有效值。
14031
14031
  :type AutoRetryTimeRangeMinutes: int
14032
+ :param _StartPosition: 同步到kafka链路指定位点。目前只支持时间格式:2023-12-20T19:24:23+08:00。如果没有指定位点,为空。
14033
+ 注意:此字段可能返回 null,表示取不到有效值。
14034
+ :type StartPosition: str
14032
14035
  :param _FilterBeginCommit: 同步到kafka链路是否过滤掉begin和commit消息。目前仅mysql2kafka链路支持
14033
14036
  注意:此字段可能返回 null,表示取不到有效值。
14034
14037
  :type FilterBeginCommit: bool
@@ -14046,6 +14049,7 @@ class Options(AbstractModel):
14046
14049
  self._KafkaOption = None
14047
14050
  self._RateLimitOption = None
14048
14051
  self._AutoRetryTimeRangeMinutes = None
14052
+ self._StartPosition = None
14049
14053
  self._FilterBeginCommit = None
14050
14054
  self._FilterCheckpoint = None
14051
14055
 
@@ -14169,6 +14173,18 @@ class Options(AbstractModel):
14169
14173
  def AutoRetryTimeRangeMinutes(self, AutoRetryTimeRangeMinutes):
14170
14174
  self._AutoRetryTimeRangeMinutes = AutoRetryTimeRangeMinutes
14171
14175
 
14176
+ @property
14177
+ def StartPosition(self):
14178
+ """同步到kafka链路指定位点。目前只支持时间格式:2023-12-20T19:24:23+08:00。如果没有指定位点,为空。
14179
+ 注意:此字段可能返回 null,表示取不到有效值。
14180
+ :rtype: str
14181
+ """
14182
+ return self._StartPosition
14183
+
14184
+ @StartPosition.setter
14185
+ def StartPosition(self, StartPosition):
14186
+ self._StartPosition = StartPosition
14187
+
14172
14188
  @property
14173
14189
  def FilterBeginCommit(self):
14174
14190
  """同步到kafka链路是否过滤掉begin和commit消息。目前仅mysql2kafka链路支持
@@ -14216,6 +14232,7 @@ class Options(AbstractModel):
14216
14232
  self._RateLimitOption = RateLimitOption()
14217
14233
  self._RateLimitOption._deserialize(params.get("RateLimitOption"))
14218
14234
  self._AutoRetryTimeRangeMinutes = params.get("AutoRetryTimeRangeMinutes")
14235
+ self._StartPosition = params.get("StartPosition")
14219
14236
  self._FilterBeginCommit = params.get("FilterBeginCommit")
14220
14237
  self._FilterCheckpoint = params.get("FilterCheckpoint")
14221
14238
  memeber_set = set(params.keys())
@@ -16978,8 +16995,14 @@ class SubsErr(AbstractModel):
16978
16995
  r"""
16979
16996
  :param _Message: 报错信息
16980
16997
  :type Message: str
16998
+ :param _Reason: 报错原因
16999
+ :type Reason: str
17000
+ :param _Solution: 建议的修复方案
17001
+ :type Solution: str
16981
17002
  """
16982
17003
  self._Message = None
17004
+ self._Reason = None
17005
+ self._Solution = None
16983
17006
 
16984
17007
  @property
16985
17008
  def Message(self):
@@ -16992,9 +17015,33 @@ class SubsErr(AbstractModel):
16992
17015
  def Message(self, Message):
16993
17016
  self._Message = Message
16994
17017
 
17018
+ @property
17019
+ def Reason(self):
17020
+ """报错原因
17021
+ :rtype: str
17022
+ """
17023
+ return self._Reason
17024
+
17025
+ @Reason.setter
17026
+ def Reason(self, Reason):
17027
+ self._Reason = Reason
17028
+
17029
+ @property
17030
+ def Solution(self):
17031
+ """建议的修复方案
17032
+ :rtype: str
17033
+ """
17034
+ return self._Solution
17035
+
17036
+ @Solution.setter
17037
+ def Solution(self, Solution):
17038
+ self._Solution = Solution
17039
+
16995
17040
 
16996
17041
  def _deserialize(self, params):
16997
17042
  self._Message = params.get("Message")
17043
+ self._Reason = params.get("Reason")
17044
+ self._Solution = params.get("Solution")
16998
17045
  memeber_set = set(params.keys())
16999
17046
  for name, value in vars(self).items():
17000
17047
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-dts
3
- Version: 3.0.1274
3
+ Version: 3.0.1290
4
4
  Summary: Tencent Cloud Dts 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.1290
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1274