tencentcloud-sdk-python-dts 3.0.1416__tar.gz → 3.0.1447__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.
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/setup.py +1 -1
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/dts/v20211206/dts_client.py +23 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/dts/v20211206/models.py +96 -2
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud_sdk_python_dts.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dts-3.0.1447/tencentcloud_sdk_python_dts.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dts-3.0.1416/tencentcloud_sdk_python_dts.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/README.rst +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/dts/__init__.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/dts/v20180330/__init__.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/dts/v20180330/dts_client.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/dts/v20180330/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/dts/v20180330/models.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/dts/v20211206/__init__.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud/dts/v20211206/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud_sdk_python_dts.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud_sdk_python_dts.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dts-3.0.1416 → tencentcloud-sdk-python-dts-3.0.1447}/tencentcloud_sdk_python_dts.egg-info/top_level.txt +0 -0
|
@@ -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
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1447,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dts SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1349,6 +1349,29 @@ class DtsClient(AbstractClient):
|
|
|
1349
1349
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1350
1350
|
|
|
1351
1351
|
|
|
1352
|
+
def ResetSyncJob(self, request):
|
|
1353
|
+
"""重置已经结束的同步任务,重置后可以重新配置启动任务。
|
|
1354
|
+
|
|
1355
|
+
:param request: Request instance for ResetSyncJob.
|
|
1356
|
+
:type request: :class:`tencentcloud.dts.v20211206.models.ResetSyncJobRequest`
|
|
1357
|
+
:rtype: :class:`tencentcloud.dts.v20211206.models.ResetSyncJobResponse`
|
|
1358
|
+
|
|
1359
|
+
"""
|
|
1360
|
+
try:
|
|
1361
|
+
params = request._serialize()
|
|
1362
|
+
headers = request.headers
|
|
1363
|
+
body = self.call("ResetSyncJob", params, headers=headers)
|
|
1364
|
+
response = json.loads(body)
|
|
1365
|
+
model = models.ResetSyncJobResponse()
|
|
1366
|
+
model._deserialize(response["Response"])
|
|
1367
|
+
return model
|
|
1368
|
+
except Exception as e:
|
|
1369
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1370
|
+
raise
|
|
1371
|
+
else:
|
|
1372
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1373
|
+
|
|
1374
|
+
|
|
1352
1375
|
def ResizeSyncJob(self, request):
|
|
1353
1376
|
"""调整同步任务规格,此接口只支持按量计费任务的调整,调用此接口后不会立即生效,后台调整时间大概为3~5分钟。调用此接口后可通过查询同步任务信息接口DescribeSyncJobs,获取变配后的状态。
|
|
1354
1377
|
|
|
@@ -8926,6 +8926,8 @@ class DifferenceItem(AbstractModel):
|
|
|
8926
8926
|
r"""
|
|
8927
8927
|
:param _Db: 数据库名
|
|
8928
8928
|
:type Db: str
|
|
8929
|
+
:param _Schema: schema
|
|
8930
|
+
:type Schema: str
|
|
8929
8931
|
:param _Table: 表名
|
|
8930
8932
|
:type Table: str
|
|
8931
8933
|
:param _Chunk: 分块号
|
|
@@ -8946,6 +8948,7 @@ class DifferenceItem(AbstractModel):
|
|
|
8946
8948
|
:type FinishedAt: str
|
|
8947
8949
|
"""
|
|
8948
8950
|
self._Db = None
|
|
8951
|
+
self._Schema = None
|
|
8949
8952
|
self._Table = None
|
|
8950
8953
|
self._Chunk = None
|
|
8951
8954
|
self._SrcItem = None
|
|
@@ -8967,6 +8970,17 @@ class DifferenceItem(AbstractModel):
|
|
|
8967
8970
|
def Db(self, Db):
|
|
8968
8971
|
self._Db = Db
|
|
8969
8972
|
|
|
8973
|
+
@property
|
|
8974
|
+
def Schema(self):
|
|
8975
|
+
"""schema
|
|
8976
|
+
:rtype: str
|
|
8977
|
+
"""
|
|
8978
|
+
return self._Schema
|
|
8979
|
+
|
|
8980
|
+
@Schema.setter
|
|
8981
|
+
def Schema(self, Schema):
|
|
8982
|
+
self._Schema = Schema
|
|
8983
|
+
|
|
8970
8984
|
@property
|
|
8971
8985
|
def Table(self):
|
|
8972
8986
|
"""表名
|
|
@@ -9069,6 +9083,7 @@ class DifferenceItem(AbstractModel):
|
|
|
9069
9083
|
|
|
9070
9084
|
def _deserialize(self, params):
|
|
9071
9085
|
self._Db = params.get("Db")
|
|
9086
|
+
self._Schema = params.get("Schema")
|
|
9072
9087
|
self._Table = params.get("Table")
|
|
9073
9088
|
self._Chunk = params.get("Chunk")
|
|
9074
9089
|
self._SrcItem = params.get("SrcItem")
|
|
@@ -14655,6 +14670,70 @@ class ResetSubscribeResponse(AbstractModel):
|
|
|
14655
14670
|
self._RequestId = params.get("RequestId")
|
|
14656
14671
|
|
|
14657
14672
|
|
|
14673
|
+
class ResetSyncJobRequest(AbstractModel):
|
|
14674
|
+
"""ResetSyncJob请求参数结构体
|
|
14675
|
+
|
|
14676
|
+
"""
|
|
14677
|
+
|
|
14678
|
+
def __init__(self):
|
|
14679
|
+
r"""
|
|
14680
|
+
:param _JobId: 需要重置的同步任务ID。
|
|
14681
|
+
:type JobId: str
|
|
14682
|
+
"""
|
|
14683
|
+
self._JobId = None
|
|
14684
|
+
|
|
14685
|
+
@property
|
|
14686
|
+
def JobId(self):
|
|
14687
|
+
"""需要重置的同步任务ID。
|
|
14688
|
+
:rtype: str
|
|
14689
|
+
"""
|
|
14690
|
+
return self._JobId
|
|
14691
|
+
|
|
14692
|
+
@JobId.setter
|
|
14693
|
+
def JobId(self, JobId):
|
|
14694
|
+
self._JobId = JobId
|
|
14695
|
+
|
|
14696
|
+
|
|
14697
|
+
def _deserialize(self, params):
|
|
14698
|
+
self._JobId = params.get("JobId")
|
|
14699
|
+
memeber_set = set(params.keys())
|
|
14700
|
+
for name, value in vars(self).items():
|
|
14701
|
+
property_name = name[1:]
|
|
14702
|
+
if property_name in memeber_set:
|
|
14703
|
+
memeber_set.remove(property_name)
|
|
14704
|
+
if len(memeber_set) > 0:
|
|
14705
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14706
|
+
|
|
14707
|
+
|
|
14708
|
+
|
|
14709
|
+
class ResetSyncJobResponse(AbstractModel):
|
|
14710
|
+
"""ResetSyncJob返回参数结构体
|
|
14711
|
+
|
|
14712
|
+
"""
|
|
14713
|
+
|
|
14714
|
+
def __init__(self):
|
|
14715
|
+
r"""
|
|
14716
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14717
|
+
:type RequestId: str
|
|
14718
|
+
"""
|
|
14719
|
+
self._RequestId = None
|
|
14720
|
+
|
|
14721
|
+
@property
|
|
14722
|
+
def RequestId(self):
|
|
14723
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14724
|
+
:rtype: str
|
|
14725
|
+
"""
|
|
14726
|
+
return self._RequestId
|
|
14727
|
+
|
|
14728
|
+
@RequestId.setter
|
|
14729
|
+
def RequestId(self, RequestId):
|
|
14730
|
+
self._RequestId = RequestId
|
|
14731
|
+
|
|
14732
|
+
|
|
14733
|
+
def _deserialize(self, params):
|
|
14734
|
+
self._RequestId = params.get("RequestId")
|
|
14735
|
+
|
|
14736
|
+
|
|
14658
14737
|
class ResizeSyncJobRequest(AbstractModel):
|
|
14659
14738
|
"""ResizeSyncJob请求参数结构体
|
|
14660
14739
|
|
|
@@ -15326,12 +15405,15 @@ class SkippedItem(AbstractModel):
|
|
|
15326
15405
|
r"""
|
|
15327
15406
|
:param _Db: 数据库名
|
|
15328
15407
|
:type Db: str
|
|
15408
|
+
:param _Schema: schema名
|
|
15409
|
+
:type Schema: str
|
|
15329
15410
|
:param _Table: 表名
|
|
15330
15411
|
:type Table: str
|
|
15331
15412
|
:param _Reason: 未发起检查的原因
|
|
15332
15413
|
:type Reason: str
|
|
15333
15414
|
"""
|
|
15334
15415
|
self._Db = None
|
|
15416
|
+
self._Schema = None
|
|
15335
15417
|
self._Table = None
|
|
15336
15418
|
self._Reason = None
|
|
15337
15419
|
|
|
@@ -15346,6 +15428,17 @@ class SkippedItem(AbstractModel):
|
|
|
15346
15428
|
def Db(self, Db):
|
|
15347
15429
|
self._Db = Db
|
|
15348
15430
|
|
|
15431
|
+
@property
|
|
15432
|
+
def Schema(self):
|
|
15433
|
+
"""schema名
|
|
15434
|
+
:rtype: str
|
|
15435
|
+
"""
|
|
15436
|
+
return self._Schema
|
|
15437
|
+
|
|
15438
|
+
@Schema.setter
|
|
15439
|
+
def Schema(self, Schema):
|
|
15440
|
+
self._Schema = Schema
|
|
15441
|
+
|
|
15349
15442
|
@property
|
|
15350
15443
|
def Table(self):
|
|
15351
15444
|
"""表名
|
|
@@ -15371,6 +15464,7 @@ class SkippedItem(AbstractModel):
|
|
|
15371
15464
|
|
|
15372
15465
|
def _deserialize(self, params):
|
|
15373
15466
|
self._Db = params.get("Db")
|
|
15467
|
+
self._Schema = params.get("Schema")
|
|
15374
15468
|
self._Table = params.get("Table")
|
|
15375
15469
|
self._Reason = params.get("Reason")
|
|
15376
15470
|
memeber_set = set(params.keys())
|
|
@@ -17220,7 +17314,7 @@ class SyncDetailInfo(AbstractModel):
|
|
|
17220
17314
|
:param _StepInfos: 详细步骤信息
|
|
17221
17315
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17222
17316
|
:type StepInfos: list of StepInfo
|
|
17223
|
-
:param _CauseOfCompareDisable:
|
|
17317
|
+
:param _CauseOfCompareDisable: 不能发起内置校验的原因
|
|
17224
17318
|
:type CauseOfCompareDisable: str
|
|
17225
17319
|
:param _ErrInfo: 任务的错误和解决方案信息
|
|
17226
17320
|
:type ErrInfo: :class:`tencentcloud.dts.v20211206.models.ErrInfo`
|
|
@@ -17327,7 +17421,7 @@ class SyncDetailInfo(AbstractModel):
|
|
|
17327
17421
|
|
|
17328
17422
|
@property
|
|
17329
17423
|
def CauseOfCompareDisable(self):
|
|
17330
|
-
"""
|
|
17424
|
+
"""不能发起内置校验的原因
|
|
17331
17425
|
:rtype: str
|
|
17332
17426
|
"""
|
|
17333
17427
|
return self._CauseOfCompareDisable
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1447
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1416
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|