tencentcloud-sdk-python-tcb 3.1.191__tar.gz → 3.1.192__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.
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/setup.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud/tcb/v20180608/errorcodes.py +6 -0
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud/tcb/v20180608/models.py +12 -12
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcb-3.1.192/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcb-3.1.191/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/README.rst +0 -0
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud/tcb/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud/tcb/v20180608/__init__.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud/tcb/v20180608/tcb_client.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud/tcb/v20180608/tcb_client_async.py +0 -0
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcb-3.1.191 → tencentcloud_sdk_python_tcb-3.1.192}/tencentcloud_sdk_python_tcb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.192
|
|
4
4
|
Summary: Tencent Cloud Tcb 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.192
|
|
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-tcb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.192,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcb SDK for Python',
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
# CAM签名/鉴权错误。
|
|
18
18
|
AUTHFAILURE = 'AuthFailure'
|
|
19
19
|
|
|
20
|
+
# 鉴权失败,请在权限模块设置合理权限。
|
|
21
|
+
AUTHFAILURE_DATASOURCEOPERATIONAUTHFAILURE = 'AuthFailure.DataSourceOperationAuthFailure'
|
|
22
|
+
|
|
20
23
|
# 您没有查看该资源的权限。
|
|
21
24
|
AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'
|
|
22
25
|
|
|
@@ -320,6 +323,9 @@ RESOURCENOTFOUND_TABLE = 'ResourceNotFound.Table'
|
|
|
320
323
|
# 表不存在。
|
|
321
324
|
RESOURCENOTFOUND_TABLENOTFOUND = 'ResourceNotFound.TableNotFound'
|
|
322
325
|
|
|
326
|
+
# 未找到指定任务。
|
|
327
|
+
RESOURCENOTFOUND_TASKNOTFOUND = 'ResourceNotFound.TaskNotFound'
|
|
328
|
+
|
|
323
329
|
# 主题不存在
|
|
324
330
|
RESOURCENOTFOUND_TOPICNOTEXIST = 'ResourceNotFound.TopicNotExist'
|
|
325
331
|
|
|
@@ -15876,7 +15876,7 @@ class DescribeTaskResultRequest(AbstractModel):
|
|
|
15876
15876
|
|
|
15877
15877
|
def __init__(self):
|
|
15878
15878
|
r"""
|
|
15879
|
-
:param _EnvId: <p>云开发环境ID
|
|
15879
|
+
:param _EnvId: <p>云开发环境 ID。查询 PGDump 任务时,所有状态均须提供且与任务环境一致,用于验证调用方环境归属。环境隔离或销毁后,仍可在归档保留期内查询历史任务及下载文件。</p>
|
|
15880
15880
|
:type EnvId: str
|
|
15881
15881
|
:param _TaskId: <p>任务ID</p>
|
|
15882
15882
|
:type TaskId: str
|
|
@@ -15886,7 +15886,7 @@ class DescribeTaskResultRequest(AbstractModel):
|
|
|
15886
15886
|
|
|
15887
15887
|
@property
|
|
15888
15888
|
def EnvId(self):
|
|
15889
|
-
r"""<p>云开发环境ID
|
|
15889
|
+
r"""<p>云开发环境 ID。查询 PGDump 任务时,所有状态均须提供且与任务环境一致,用于验证调用方环境归属。环境隔离或销毁后,仍可在归档保留期内查询历史任务及下载文件。</p>
|
|
15890
15890
|
:rtype: str
|
|
15891
15891
|
"""
|
|
15892
15892
|
return self._EnvId
|
|
@@ -15929,19 +15929,19 @@ class DescribeTaskResultResponse(AbstractModel):
|
|
|
15929
15929
|
r"""
|
|
15930
15930
|
:param _TaskId: <p>任务ID</p>
|
|
15931
15931
|
:type TaskId: str
|
|
15932
|
-
:param _TaskType: <p>任务类型</p><p>枚举值:</p><ul><li>PGUserMigration: PG Migrate 任务</li></ul>
|
|
15932
|
+
:param _TaskType: <p>任务类型</p><p>枚举值:</p><ul><li>PGUserMigration: PG Migrate 任务</li><li>PGDump: PG 数据库整库导出任务</li></ul>
|
|
15933
15933
|
:type TaskType: str
|
|
15934
|
-
:param _Status: <p>任务状态</p><p>枚举值:</p><ul><li>Failed: 失败</li><li>Succeed: 成功</li><li>Accepted: 已接收</li><li>Running: 运行中</li></ul>
|
|
15934
|
+
:param _Status: <p>任务状态</p><p>枚举值:</p><ul><li>Failed: 失败</li><li>Succeed: 成功</li><li>Accepted: 已接收</li><li>Running: 运行中</li><li>Pending: 已受理,等待工作流启动</li></ul>
|
|
15935
15935
|
:type Status: str
|
|
15936
|
-
:param _Phase: <p
|
|
15936
|
+
:param _Phase: <p>任务当前执行步骤。PGDump 任务可能为 Queued(排队)、Preparing(准备)、Dumping(导出)、Validating(校验)、Uploading(上传)、Finalizing(收尾)、Completed(完成);其他任务的步骤由任务类型决定。</p>
|
|
15937
15937
|
:type Phase: str
|
|
15938
|
-
:param _Reason: <p
|
|
15938
|
+
:param _Reason: <p>失败原因。PGDump 任务返回稳定业务码:PGDumpPermissionDenied、PGDumpToolVersionMismatch、PGDumpSizeExceeded、PGDumpTimeout、PGDumpProcessFailed、PGDumpUploadFailed、PGDumpSourceChanged;成功时为空。其他任务按原有失败原因返回。</p>
|
|
15939
15939
|
:type Reason: str
|
|
15940
15940
|
:param _CreatedAt: <p>创建时间</p><p>参数格式:2026-05-26T11:26:14+08:00</p>
|
|
15941
15941
|
:type CreatedAt: str
|
|
15942
15942
|
:param _UpdatedAt: <p>最后更新时间</p><p>参数格式:2026-05-26T11:26:14+08:00</p>
|
|
15943
15943
|
:type UpdatedAt: str
|
|
15944
|
-
:param _Params: <p
|
|
15944
|
+
:param _Params: <p>任务参数键值对列表,Value 均为字符串。PGDump 成功任务包含 file_name(文件名)、file_size_bytes(字节数)、checksum_sha256(SHA256)、source_db_version(源库版本)、dump_tool_version(工具版本)、file_expires_at(RFC3339 过期时间)。文件未过期且对象存在时返回 download_url;URL 过期后可重新查询,勿记录或持久化签名 URL。仅对象确认缺失时返回 file_missing=true;文件过期不返回下载 URL。归档查询或签名临时故障返回系统错误,任务终态不变。</p>
|
|
15945
15945
|
:type Params: list of ObjectKV
|
|
15946
15946
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15947
15947
|
:type RequestId: str
|
|
@@ -15969,7 +15969,7 @@ class DescribeTaskResultResponse(AbstractModel):
|
|
|
15969
15969
|
|
|
15970
15970
|
@property
|
|
15971
15971
|
def TaskType(self):
|
|
15972
|
-
r"""<p>任务类型</p><p>枚举值:</p><ul><li>PGUserMigration: PG Migrate 任务</li></ul>
|
|
15972
|
+
r"""<p>任务类型</p><p>枚举值:</p><ul><li>PGUserMigration: PG Migrate 任务</li><li>PGDump: PG 数据库整库导出任务</li></ul>
|
|
15973
15973
|
:rtype: str
|
|
15974
15974
|
"""
|
|
15975
15975
|
return self._TaskType
|
|
@@ -15980,7 +15980,7 @@ class DescribeTaskResultResponse(AbstractModel):
|
|
|
15980
15980
|
|
|
15981
15981
|
@property
|
|
15982
15982
|
def Status(self):
|
|
15983
|
-
r"""<p>任务状态</p><p>枚举值:</p><ul><li>Failed: 失败</li><li>Succeed: 成功</li><li>Accepted: 已接收</li><li>Running: 运行中</li></ul>
|
|
15983
|
+
r"""<p>任务状态</p><p>枚举值:</p><ul><li>Failed: 失败</li><li>Succeed: 成功</li><li>Accepted: 已接收</li><li>Running: 运行中</li><li>Pending: 已受理,等待工作流启动</li></ul>
|
|
15984
15984
|
:rtype: str
|
|
15985
15985
|
"""
|
|
15986
15986
|
return self._Status
|
|
@@ -15991,7 +15991,7 @@ class DescribeTaskResultResponse(AbstractModel):
|
|
|
15991
15991
|
|
|
15992
15992
|
@property
|
|
15993
15993
|
def Phase(self):
|
|
15994
|
-
r"""<p
|
|
15994
|
+
r"""<p>任务当前执行步骤。PGDump 任务可能为 Queued(排队)、Preparing(准备)、Dumping(导出)、Validating(校验)、Uploading(上传)、Finalizing(收尾)、Completed(完成);其他任务的步骤由任务类型决定。</p>
|
|
15995
15995
|
:rtype: str
|
|
15996
15996
|
"""
|
|
15997
15997
|
return self._Phase
|
|
@@ -16002,7 +16002,7 @@ class DescribeTaskResultResponse(AbstractModel):
|
|
|
16002
16002
|
|
|
16003
16003
|
@property
|
|
16004
16004
|
def Reason(self):
|
|
16005
|
-
r"""<p
|
|
16005
|
+
r"""<p>失败原因。PGDump 任务返回稳定业务码:PGDumpPermissionDenied、PGDumpToolVersionMismatch、PGDumpSizeExceeded、PGDumpTimeout、PGDumpProcessFailed、PGDumpUploadFailed、PGDumpSourceChanged;成功时为空。其他任务按原有失败原因返回。</p>
|
|
16006
16006
|
:rtype: str
|
|
16007
16007
|
"""
|
|
16008
16008
|
return self._Reason
|
|
@@ -16035,7 +16035,7 @@ class DescribeTaskResultResponse(AbstractModel):
|
|
|
16035
16035
|
|
|
16036
16036
|
@property
|
|
16037
16037
|
def Params(self):
|
|
16038
|
-
r"""<p
|
|
16038
|
+
r"""<p>任务参数键值对列表,Value 均为字符串。PGDump 成功任务包含 file_name(文件名)、file_size_bytes(字节数)、checksum_sha256(SHA256)、source_db_version(源库版本)、dump_tool_version(工具版本)、file_expires_at(RFC3339 过期时间)。文件未过期且对象存在时返回 download_url;URL 过期后可重新查询,勿记录或持久化签名 URL。仅对象确认缺失时返回 file_missing=true;文件过期不返回下载 URL。归档查询或签名临时故障返回系统错误,任务终态不变。</p>
|
|
16039
16039
|
:rtype: list of ObjectKV
|
|
16040
16040
|
"""
|
|
16041
16041
|
return self._Params
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.192
|
|
4
4
|
Summary: Tencent Cloud Tcb 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.192
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.192
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.191
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|