tencentcloud-sdk-python-postgres 3.0.1437__py2.py3-none-any.whl → 3.0.1446__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/postgres/v20170312/errorcodes.py +0 -12
- tencentcloud/postgres/v20170312/models.py +193 -1529
- tencentcloud/postgres/v20170312/postgres_client.py +0 -75
- {tencentcloud_sdk_python_postgres-3.0.1437.dist-info → tencentcloud_sdk_python_postgres-3.0.1446.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_postgres-3.0.1446.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_postgres-3.0.1437.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_postgres-3.0.1437.dist-info → tencentcloud_sdk_python_postgres-3.0.1446.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_postgres-3.0.1437.dist-info → tencentcloud_sdk_python_postgres-3.0.1446.dist-info}/top_level.txt +0 -0
|
@@ -327,31 +327,6 @@ class PostgresClient(AbstractClient):
|
|
|
327
327
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
328
328
|
|
|
329
329
|
|
|
330
|
-
def CreateServerlessDBInstance(self, request):
|
|
331
|
-
"""该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
|
|
332
|
-
|
|
333
|
-
【接口下线中,请勿使用】本接口 (CreateServerlessDBInstance) 用于创建一个ServerlessDB实例,创建成功返回实例ID。
|
|
334
|
-
|
|
335
|
-
:param request: Request instance for CreateServerlessDBInstance.
|
|
336
|
-
:type request: :class:`tencentcloud.postgres.v20170312.models.CreateServerlessDBInstanceRequest`
|
|
337
|
-
:rtype: :class:`tencentcloud.postgres.v20170312.models.CreateServerlessDBInstanceResponse`
|
|
338
|
-
|
|
339
|
-
"""
|
|
340
|
-
try:
|
|
341
|
-
params = request._serialize()
|
|
342
|
-
headers = request.headers
|
|
343
|
-
body = self.call("CreateServerlessDBInstance", params, headers=headers)
|
|
344
|
-
response = json.loads(body)
|
|
345
|
-
model = models.CreateServerlessDBInstanceResponse()
|
|
346
|
-
model._deserialize(response["Response"])
|
|
347
|
-
return model
|
|
348
|
-
except Exception as e:
|
|
349
|
-
if isinstance(e, TencentCloudSDKException):
|
|
350
|
-
raise
|
|
351
|
-
else:
|
|
352
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
353
|
-
|
|
354
|
-
|
|
355
330
|
def DeleteAccount(self, request):
|
|
356
331
|
"""此接口用于删除数据库账号,需要同时输入Oid与UserName,避免误删。注:该接口可重入,如果账号已经不存在,调用此接口进行删除时不会报错。
|
|
357
332
|
|
|
@@ -975,31 +950,6 @@ class PostgresClient(AbstractClient):
|
|
|
975
950
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
976
951
|
|
|
977
952
|
|
|
978
|
-
def DescribeDBSlowlogs(self, request):
|
|
979
|
-
"""早期接口不规范,已提供新接口 DescribeSlowQueryList 替换
|
|
980
|
-
|
|
981
|
-
本接口(DescribeDBSlowlogs)用于获取慢查询日志。本接口已于2021.09.01日废弃,后续此接口将不再返回任何数据,推荐使用接口[DescribeSlowQueryList](https://cloud.tencent.com/document/api/409/60540)替代。
|
|
982
|
-
|
|
983
|
-
:param request: Request instance for DescribeDBSlowlogs.
|
|
984
|
-
:type request: :class:`tencentcloud.postgres.v20170312.models.DescribeDBSlowlogsRequest`
|
|
985
|
-
:rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeDBSlowlogsResponse`
|
|
986
|
-
|
|
987
|
-
"""
|
|
988
|
-
try:
|
|
989
|
-
params = request._serialize()
|
|
990
|
-
headers = request.headers
|
|
991
|
-
body = self.call("DescribeDBSlowlogs", params, headers=headers)
|
|
992
|
-
response = json.loads(body)
|
|
993
|
-
model = models.DescribeDBSlowlogsResponse()
|
|
994
|
-
model._deserialize(response["Response"])
|
|
995
|
-
return model
|
|
996
|
-
except Exception as e:
|
|
997
|
-
if isinstance(e, TencentCloudSDKException):
|
|
998
|
-
raise
|
|
999
|
-
else:
|
|
1000
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
953
|
def DescribeDBVersions(self, request):
|
|
1004
954
|
"""本接口(DescribeDBVersions)用于查询支持的数据库版本。
|
|
1005
955
|
|
|
@@ -1368,31 +1318,6 @@ class PostgresClient(AbstractClient):
|
|
|
1368
1318
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1369
1319
|
|
|
1370
1320
|
|
|
1371
|
-
def DescribeServerlessDBInstances(self, request):
|
|
1372
|
-
"""该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
|
|
1373
|
-
|
|
1374
|
-
【接口下线中,请勿使用】用于查询一个或多个serverlessDB实例的详细信息
|
|
1375
|
-
|
|
1376
|
-
:param request: Request instance for DescribeServerlessDBInstances.
|
|
1377
|
-
:type request: :class:`tencentcloud.postgres.v20170312.models.DescribeServerlessDBInstancesRequest`
|
|
1378
|
-
:rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeServerlessDBInstancesResponse`
|
|
1379
|
-
|
|
1380
|
-
"""
|
|
1381
|
-
try:
|
|
1382
|
-
params = request._serialize()
|
|
1383
|
-
headers = request.headers
|
|
1384
|
-
body = self.call("DescribeServerlessDBInstances", params, headers=headers)
|
|
1385
|
-
response = json.loads(body)
|
|
1386
|
-
model = models.DescribeServerlessDBInstancesResponse()
|
|
1387
|
-
model._deserialize(response["Response"])
|
|
1388
|
-
return model
|
|
1389
|
-
except Exception as e:
|
|
1390
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1391
|
-
raise
|
|
1392
|
-
else:
|
|
1393
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
1321
|
def DescribeSlowQueryAnalysis(self, request):
|
|
1397
1322
|
"""此接口(DescribeSlowQueryAnalysis)用于统计指定时间范围内的所有慢查询,根据SQL语句抽象参数后,进行聚合分析,并返回同类SQL列表。
|
|
1398
1323
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1446
|
|
4
4
|
Summary: Tencent Cloud Postgres 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.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1446)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=CZKoBfNRQSJhtALf0LrdWzaDgtoo60nWwOKTGeu9C6U,631
|
|
2
|
+
tencentcloud/postgres/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/postgres/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/postgres/v20170312/errorcodes.py,sha256=qlrH-MWWUoucsethqszKO2H62Vpdhym5Af64f9pR5QM,22482
|
|
5
|
+
tencentcloud/postgres/v20170312/models.py,sha256=t2cj8wc6rwD80iV_3xodSYVlfPIu7hNXvF1UP6xBNQQ,659999
|
|
6
|
+
tencentcloud/postgres/v20170312/postgres_client.py,sha256=pPNjyIvoHZoKSxV_gW8WgjrePrXVwzl0aVvSVHm_1Es,100305
|
|
7
|
+
tencentcloud_sdk_python_postgres-3.0.1446.dist-info/METADATA,sha256=ELB9LhbkaPCK1kdzZqfStuwzNWYjucD2rN69ZKtxtJY,1528
|
|
8
|
+
tencentcloud_sdk_python_postgres-3.0.1446.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_postgres-3.0.1446.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_postgres-3.0.1446.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=o4LqfEtqMa55rJmpSfl-0VS8gASeJmJaXItepQso6vA,631
|
|
2
|
-
tencentcloud/postgres/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/postgres/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/postgres/v20170312/errorcodes.py,sha256=71pyhEIR25lsSubods-qUFLfD945icqDa1azxqwdpKU,22927
|
|
5
|
-
tencentcloud/postgres/v20170312/models.py,sha256=C642E5hoqt7ltc6X8oAuT1b0OnWrOh9DVFtxex1uDd8,697045
|
|
6
|
-
tencentcloud/postgres/v20170312/postgres_client.py,sha256=FaNvra95qaB7DCSFmVau4JKaFckeK26bgBs7RutCpAc,103779
|
|
7
|
-
tencentcloud_sdk_python_postgres-3.0.1437.dist-info/METADATA,sha256=GN_HwReFzT6xNqS7k3bTjA_f9I_JJdtK6hGJhP5V72A,1528
|
|
8
|
-
tencentcloud_sdk_python_postgres-3.0.1437.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_postgres-3.0.1437.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_postgres-3.0.1437.dist-info/RECORD,,
|
|
File without changes
|