tencentcloud-sdk-python-tdmysql 3.1.45__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_tdmysql-3.1.45/PKG-INFO +46 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/README.rst +27 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/setup.cfg +7 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/setup.py +33 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud/__init__.py +17 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud/tdmysql/__init__.py +0 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud/tdmysql/v20211122/__init__.py +0 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud/tdmysql/v20211122/errorcodes.py +192 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud/tdmysql/v20211122/models.py +3500 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud/tdmysql/v20211122/tdmysql_client.py +492 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud/tdmysql/v20211122/tdmysql_client_async.py +392 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud_sdk_python_tdmysql.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud_sdk_python_tdmysql.egg-info/SOURCES.txt +15 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud_sdk_python_tdmysql.egg-info/dependency_links.txt +1 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tdmysql-3.1.45/tencentcloud_sdk_python_tdmysql.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-tdmysql
|
|
3
|
+
Version: 3.1.45
|
|
4
|
+
Summary: Tencent Cloud Tdmysql SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.45
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Tdmysql SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-tdmysql
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common tdmysql
|
|
46
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
============================
|
|
2
|
+
Tencent Cloud SDK for Python
|
|
3
|
+
============================
|
|
4
|
+
|
|
5
|
+
Tencent Cloud Python Tdmysql SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
6
|
+
The SDK works on Python versions:
|
|
7
|
+
|
|
8
|
+
* 2.7 and greater, including 3.x
|
|
9
|
+
|
|
10
|
+
Quick Start
|
|
11
|
+
-----------
|
|
12
|
+
|
|
13
|
+
First, install the library:
|
|
14
|
+
|
|
15
|
+
.. code-block:: sh
|
|
16
|
+
|
|
17
|
+
$ pip install tencentcloud-sdk-python-common
|
|
18
|
+
$ pip install tencentcloud-sdk-python-tdmysql
|
|
19
|
+
|
|
20
|
+
or download source code from github and install:
|
|
21
|
+
|
|
22
|
+
.. code-block:: sh
|
|
23
|
+
|
|
24
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
25
|
+
$ cd tencentcloud-sdk-python
|
|
26
|
+
$ python package.py --components common tdmysql
|
|
27
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
import os
|
|
3
|
+
from setuptools import setup, find_packages
|
|
4
|
+
|
|
5
|
+
import tencentcloud
|
|
6
|
+
|
|
7
|
+
ROOT = os.path.dirname(__file__)
|
|
8
|
+
|
|
9
|
+
setup(
|
|
10
|
+
name='tencentcloud-sdk-python-tdmysql',
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.45,<4.0.0"],
|
|
12
|
+
|
|
13
|
+
version=tencentcloud.__version__,
|
|
14
|
+
description='Tencent Cloud Tdmysql SDK for Python',
|
|
15
|
+
long_description=open('README.rst').read(),
|
|
16
|
+
author='Tencent Cloud',
|
|
17
|
+
url='https://github.com/TencentCloud/tencentcloud-sdk-python',
|
|
18
|
+
maintainer_email="tencentcloudapi@tencent.com",
|
|
19
|
+
scripts=[],
|
|
20
|
+
packages=find_packages(exclude=["tests*"]),
|
|
21
|
+
license="Apache License 2.0",
|
|
22
|
+
platforms='any',
|
|
23
|
+
classifiers=[
|
|
24
|
+
'Development Status :: 5 - Production/Stable',
|
|
25
|
+
'Intended Audience :: Developers',
|
|
26
|
+
'License :: OSI Approved :: Apache Software License',
|
|
27
|
+
'Programming Language :: Python',
|
|
28
|
+
'Programming Language :: Python :: 2.7',
|
|
29
|
+
'Programming Language :: Python :: 3',
|
|
30
|
+
'Programming Language :: Python :: 3.6',
|
|
31
|
+
'Programming Language :: Python :: 3.7',
|
|
32
|
+
],
|
|
33
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 1999-2018 Tencent Ltd.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = '3.1.45'
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# CAM签名/鉴权错误。
|
|
18
|
+
AUTHFAILURE = 'AuthFailure'
|
|
19
|
+
|
|
20
|
+
# CAM鉴权错误。
|
|
21
|
+
AUTHFAILURE_CAMAUTHERROR = 'AuthFailure.CamAuthError'
|
|
22
|
+
|
|
23
|
+
# CAM鉴权请求参数检查失败。
|
|
24
|
+
AUTHFAILURE_CHECKCAMAUTHERROR = 'AuthFailure.CheckCamAuthError'
|
|
25
|
+
|
|
26
|
+
# CAM鉴权失败。
|
|
27
|
+
AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'
|
|
28
|
+
|
|
29
|
+
# FailedOperation.AddInstanceInfoFailed
|
|
30
|
+
FAILEDOPERATION_ADDINSTANCEINFOFAILED = 'FailedOperation.AddInstanceInfoFailed'
|
|
31
|
+
|
|
32
|
+
# FailedOperation.AuthNoStrategy
|
|
33
|
+
FAILEDOPERATION_AUTHNOSTRATEGY = 'FailedOperation.AuthNoStrategy'
|
|
34
|
+
|
|
35
|
+
# FailedOperation.ClearInstanceInfoFailed
|
|
36
|
+
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = 'FailedOperation.ClearInstanceInfoFailed'
|
|
37
|
+
|
|
38
|
+
# 创建任务失败。
|
|
39
|
+
FAILEDOPERATION_CREATEFLOWERROR = 'FailedOperation.CreateFlowError'
|
|
40
|
+
|
|
41
|
+
# 查询实例数据失败。
|
|
42
|
+
FAILEDOPERATION_DBQUERYINSTANCEERROR = 'FailedOperation.DBQueryInstanceError'
|
|
43
|
+
|
|
44
|
+
# 更新实例名称数据失败。
|
|
45
|
+
FAILEDOPERATION_DBUPDATEINSTANCEERROR = 'FailedOperation.DBUpdateInstanceError'
|
|
46
|
+
|
|
47
|
+
# FailedOperation.DisassociateSecurityGroupsFailed
|
|
48
|
+
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = 'FailedOperation.DisassociateSecurityGroupsFailed'
|
|
49
|
+
|
|
50
|
+
# FailedOperation.GetSecurityGroupDetailFailed
|
|
51
|
+
FAILEDOPERATION_GETSECURITYGROUPDETAILFAILED = 'FailedOperation.GetSecurityGroupDetailFailed'
|
|
52
|
+
|
|
53
|
+
# 实例隔离失败。
|
|
54
|
+
FAILEDOPERATION_ISOLATEINSTANCEERROR = 'FailedOperation.IsolateInstanceError'
|
|
55
|
+
|
|
56
|
+
# 锁定实例失败。
|
|
57
|
+
FAILEDOPERATION_LOCKINSTANCEERROR = 'FailedOperation.LockInstanceError'
|
|
58
|
+
|
|
59
|
+
# 修改备份策略失败
|
|
60
|
+
FAILEDOPERATION_MODIFYBACKUPPOLICYERR = 'FailedOperation.ModifyBackupPolicyErr'
|
|
61
|
+
|
|
62
|
+
# 修改备份策略失败
|
|
63
|
+
FAILEDOPERATION_MODIFYPOLICYERR = 'FailedOperation.ModifyPolicyErr'
|
|
64
|
+
|
|
65
|
+
# oss查询参数错误。
|
|
66
|
+
FAILEDOPERATION_OSSGETVARIABLESERROR = 'FailedOperation.OssGetVariablesError'
|
|
67
|
+
|
|
68
|
+
# oss修改参数错误。
|
|
69
|
+
FAILEDOPERATION_OSSMODIFYVARIABLESERROR = 'FailedOperation.OssModifyVariablesError'
|
|
70
|
+
|
|
71
|
+
# 查询数据库错误。
|
|
72
|
+
FAILEDOPERATION_QUERYDBERROR = 'FailedOperation.QueryDBError'
|
|
73
|
+
|
|
74
|
+
# FailedOperation.SetRuleLocationFailed
|
|
75
|
+
FAILEDOPERATION_SETRULELOCATIONFAILED = 'FailedOperation.SetRuleLocationFailed'
|
|
76
|
+
|
|
77
|
+
# FailedOperation.UpdateInstanceInfoFailed
|
|
78
|
+
FAILEDOPERATION_UPDATEINSTANCEINFOFAILED = 'FailedOperation.UpdateInstanceInfoFailed'
|
|
79
|
+
|
|
80
|
+
# 数据库访问错误。
|
|
81
|
+
INTERNALERROR_DATABASEACCESSERROR = 'InternalError.DatabaseAccessError'
|
|
82
|
+
|
|
83
|
+
# 查询数据库对象失败
|
|
84
|
+
INTERNALERROR_DESCRIBEDBOBJECTSERROR = 'InternalError.DescribeDBObjectsError'
|
|
85
|
+
|
|
86
|
+
# InternalError.GetSecurityGroupDetailFailed
|
|
87
|
+
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = 'InternalError.GetSecurityGroupDetailFailed'
|
|
88
|
+
|
|
89
|
+
# InternalError.InstanceOperatePermissionError
|
|
90
|
+
INTERNALERROR_INSTANCEOPERATEPERMISSIONERROR = 'InternalError.InstanceOperatePermissionError'
|
|
91
|
+
|
|
92
|
+
# InternalError.InstanceSGOverLimitError
|
|
93
|
+
INTERNALERROR_INSTANCESGOVERLIMITERROR = 'InternalError.InstanceSGOverLimitError'
|
|
94
|
+
|
|
95
|
+
# InternalError.ListInstanceRespResourceCountNotMatchError
|
|
96
|
+
INTERNALERROR_LISTINSTANCERESPRESOURCECOUNTNOTMATCHERROR = 'InternalError.ListInstanceRespResourceCountNotMatchError'
|
|
97
|
+
|
|
98
|
+
# InternalError.ListInstancesError
|
|
99
|
+
INTERNALERROR_LISTINSTANCESERROR = 'InternalError.ListInstancesError'
|
|
100
|
+
|
|
101
|
+
# InternalError.QueryDatabaseFailed
|
|
102
|
+
INTERNALERROR_QUERYDATABASEFAILED = 'InternalError.QueryDatabaseFailed'
|
|
103
|
+
|
|
104
|
+
# InternalError.ReadDatabaseFailed
|
|
105
|
+
INTERNALERROR_READDATABASEFAILED = 'InternalError.ReadDatabaseFailed'
|
|
106
|
+
|
|
107
|
+
# InternalError.RouteNotFound
|
|
108
|
+
INTERNALERROR_ROUTENOTFOUND = 'InternalError.RouteNotFound'
|
|
109
|
+
|
|
110
|
+
# 找不到路由,是否参数传递不对
|
|
111
|
+
INTERNALERROR_ROUTERNOTFOUND = 'InternalError.RouterNotFound'
|
|
112
|
+
|
|
113
|
+
# InternalError.SetSvcLocationFailed
|
|
114
|
+
INTERNALERROR_SETSVCLOCATIONFAILED = 'InternalError.SetSvcLocationFailed'
|
|
115
|
+
|
|
116
|
+
# 参数错误。
|
|
117
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
|
118
|
+
|
|
119
|
+
# 备份策略参数不合法
|
|
120
|
+
INVALIDPARAMETER_ILLEGALBACKUPPOLICYPARAMSERR = 'InvalidParameter.IllegalBackupPolicyParamsErr'
|
|
121
|
+
|
|
122
|
+
# InvalidParameter.IllegalParameterError
|
|
123
|
+
INVALIDPARAMETER_ILLEGALPARAMETERERROR = 'InvalidParameter.IllegalParameterError'
|
|
124
|
+
|
|
125
|
+
# 参数校验错误
|
|
126
|
+
INVALIDPARAMETER_INPUTILLEGAL = 'InvalidParameter.InputIllegal'
|
|
127
|
+
|
|
128
|
+
# InvalidParameter.InstanceNotFound
|
|
129
|
+
INVALIDPARAMETER_INSTANCENOTFOUND = 'InvalidParameter.InstanceNotFound'
|
|
130
|
+
|
|
131
|
+
# 参数校验失败
|
|
132
|
+
INVALIDPARAMETER_INVALIDPARAMETERERROR = 'InvalidParameter.InvalidParameterError'
|
|
133
|
+
|
|
134
|
+
# InvalidParameter.PermissionDenied
|
|
135
|
+
INVALIDPARAMETER_PERMISSIONDENIED = 'InvalidParameter.PermissionDenied'
|
|
136
|
+
|
|
137
|
+
# 参数取值错误。
|
|
138
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
139
|
+
|
|
140
|
+
# 参数值无效或超出范围。
|
|
141
|
+
INVALIDPARAMETERVALUE_BIZINVALIDPARAMETERVALUEERROR = 'InvalidParameterValue.BizInvalidParameterValueError'
|
|
142
|
+
|
|
143
|
+
# 实例版本校验错误。
|
|
144
|
+
INVALIDPARAMETERVALUE_CHECKINSTANCEVERSIONERROR = 'InvalidParameterValue.CheckInstanceVersionError'
|
|
145
|
+
|
|
146
|
+
# 名称校验失败。
|
|
147
|
+
INVALIDPARAMETERVALUE_CHECKNAMEERROR = 'InvalidParameterValue.CheckNameError'
|
|
148
|
+
|
|
149
|
+
# 实例规格校验错误。
|
|
150
|
+
INVALIDPARAMETERVALUE_CHECKSPECERROR = 'InvalidParameterValue.CheckSpecError'
|
|
151
|
+
|
|
152
|
+
# 参数错误。
|
|
153
|
+
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = 'InvalidParameterValue.InvalidParameterValueError'
|
|
154
|
+
|
|
155
|
+
# 缺少参数错误
|
|
156
|
+
MISSINGPARAMETER_MISSINGPARAMETERERROR = 'MissingParameter.MissingParameterError'
|
|
157
|
+
|
|
158
|
+
# 操作被拒绝。
|
|
159
|
+
OPERATIONDENIED = 'OperationDenied'
|
|
160
|
+
|
|
161
|
+
# 创建备份任务个数超过阈值
|
|
162
|
+
OPERATIONDENIED_CREATEBACKUPTASKTHRESHOLDERR = 'OperationDenied.CreateBackupTaskThresholdErr'
|
|
163
|
+
|
|
164
|
+
# 不允许删除正在运行的备份任务
|
|
165
|
+
OPERATIONDENIED_DELETERUNNINGBACKUPTASKERR = 'OperationDenied.DeleteRunningBackupTaskErr'
|
|
166
|
+
|
|
167
|
+
# 实例状态错误。
|
|
168
|
+
OPERATIONDENIED_INSTANCESTATUSERROR = 'OperationDenied.InstanceStatusError'
|
|
169
|
+
|
|
170
|
+
# 单个实例每天最多进行手动备份的配额
|
|
171
|
+
OPERATIONDENIED_MANUALBACKUPQUOTAPERDAYEXCEEDEDERR = 'OperationDenied.ManualBackupQuotaPerDayExceededErr'
|
|
172
|
+
|
|
173
|
+
# 备份数量已经超过配额,不能再创建备份。
|
|
174
|
+
OPERATIONDENIED_MANUALBACKUPSETQUOTAEXCEEDEDERR = 'OperationDenied.ManualBackupSetQuotaExceededErr'
|
|
175
|
+
|
|
176
|
+
# 实例资源找不到
|
|
177
|
+
RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = 'ResourceNotFound.BizResourceNotFoundError'
|
|
178
|
+
|
|
179
|
+
# ResourceNotFound.InstanceNotFound
|
|
180
|
+
RESOURCENOTFOUND_INSTANCENOTFOUND = 'ResourceNotFound.InstanceNotFound'
|
|
181
|
+
|
|
182
|
+
# ResourceNotFound.ProductConfigNotExistedError
|
|
183
|
+
RESOURCENOTFOUND_PRODUCTCONFIGNOTEXISTEDERROR = 'ResourceNotFound.ProductConfigNotExistedError'
|
|
184
|
+
|
|
185
|
+
# ResourceUnavailable.InstanceStatusAbnormal
|
|
186
|
+
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = 'ResourceUnavailable.InstanceStatusAbnormal'
|
|
187
|
+
|
|
188
|
+
# ResourceUnavailable.SGCheckFail
|
|
189
|
+
RESOURCEUNAVAILABLE_SGCHECKFAIL = 'ResourceUnavailable.SGCheckFail'
|
|
190
|
+
|
|
191
|
+
# UnauthorizedOperation.PermissionDenied
|
|
192
|
+
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = 'UnauthorizedOperation.PermissionDenied'
|