tencentcloud-sdk-python 3.0.1320__py2.py3-none-any.whl → 3.0.1321__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/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/facefusion/v20220927/models.py +16 -4
- tencentcloud/gme/v20180711/models.py +0 -28
- tencentcloud/hunyuan/v20230901/models.py +15 -0
- tencentcloud/lighthouse/v20200324/models.py +4 -40
- tencentcloud/lkeap/v20240522/lkeap_client.py +2 -2
- tencentcloud/lkeap/v20240522/models.py +6 -4
- tencentcloud/ocr/v20181119/models.py +352 -0
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- tencentcloud/postgres/v20170312/models.py +1255 -91
- tencentcloud/postgres/v20170312/postgres_client.py +139 -0
- tencentcloud/ssl/v20191205/models.py +6 -232
- tencentcloud/trabbit/__init__.py +0 -0
- tencentcloud/trabbit/v20230418/__init__.py +0 -0
- tencentcloud/trabbit/v20230418/errorcodes.py +75 -0
- tencentcloud/trabbit/v20230418/models.py +8390 -0
- tencentcloud/trabbit/v20230418/trabbit_client.py +693 -0
- {tencentcloud_sdk_python-3.0.1320.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1320.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/RECORD +24 -19
- {tencentcloud_sdk_python-3.0.1320.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1320.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1320.dist-info → tencentcloud_sdk_python-3.0.1321.dist-info}/top_level.txt +0 -0
@@ -141,6 +141,29 @@ class PostgresClient(AbstractClient):
|
|
141
141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
142
|
|
143
143
|
|
144
|
+
def CreateBackupPlan(self, request):
|
145
|
+
"""此接口用于创建备份策略。
|
146
|
+
|
147
|
+
:param request: Request instance for CreateBackupPlan.
|
148
|
+
:type request: :class:`tencentcloud.postgres.v20170312.models.CreateBackupPlanRequest`
|
149
|
+
:rtype: :class:`tencentcloud.postgres.v20170312.models.CreateBackupPlanResponse`
|
150
|
+
|
151
|
+
"""
|
152
|
+
try:
|
153
|
+
params = request._serialize()
|
154
|
+
headers = request.headers
|
155
|
+
body = self.call("CreateBackupPlan", params, headers=headers)
|
156
|
+
response = json.loads(body)
|
157
|
+
model = models.CreateBackupPlanResponse()
|
158
|
+
model._deserialize(response["Response"])
|
159
|
+
return model
|
160
|
+
except Exception as e:
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
162
|
+
raise
|
163
|
+
else:
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
165
|
+
|
166
|
+
|
144
167
|
def CreateBaseBackup(self, request):
|
145
168
|
"""本接口(CreateBaseBackup)用于创建实例的数据备份。
|
146
169
|
|
@@ -396,6 +419,29 @@ class PostgresClient(AbstractClient):
|
|
396
419
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
397
420
|
|
398
421
|
|
422
|
+
def DeleteBackupPlan(self, request):
|
423
|
+
"""删除备份策略
|
424
|
+
|
425
|
+
:param request: Request instance for DeleteBackupPlan.
|
426
|
+
:type request: :class:`tencentcloud.postgres.v20170312.models.DeleteBackupPlanRequest`
|
427
|
+
:rtype: :class:`tencentcloud.postgres.v20170312.models.DeleteBackupPlanResponse`
|
428
|
+
|
429
|
+
"""
|
430
|
+
try:
|
431
|
+
params = request._serialize()
|
432
|
+
headers = request.headers
|
433
|
+
body = self.call("DeleteBackupPlan", params, headers=headers)
|
434
|
+
response = json.loads(body)
|
435
|
+
model = models.DeleteBackupPlanResponse()
|
436
|
+
model._deserialize(response["Response"])
|
437
|
+
return model
|
438
|
+
except Exception as e:
|
439
|
+
if isinstance(e, TencentCloudSDKException):
|
440
|
+
raise
|
441
|
+
else:
|
442
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
443
|
+
|
444
|
+
|
399
445
|
def DeleteBaseBackup(self, request):
|
400
446
|
"""本接口(DeleteBaseBackup)用于删除实例指定数据备份。
|
401
447
|
|
@@ -927,6 +973,29 @@ class PostgresClient(AbstractClient):
|
|
927
973
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
928
974
|
|
929
975
|
|
976
|
+
def DescribeDBInstanceSSLConfig(self, request):
|
977
|
+
"""本接口用于查询实例SSL状态
|
978
|
+
|
979
|
+
:param request: Request instance for DescribeDBInstanceSSLConfig.
|
980
|
+
:type request: :class:`tencentcloud.postgres.v20170312.models.DescribeDBInstanceSSLConfigRequest`
|
981
|
+
:rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeDBInstanceSSLConfigResponse`
|
982
|
+
|
983
|
+
"""
|
984
|
+
try:
|
985
|
+
params = request._serialize()
|
986
|
+
headers = request.headers
|
987
|
+
body = self.call("DescribeDBInstanceSSLConfig", params, headers=headers)
|
988
|
+
response = json.loads(body)
|
989
|
+
model = models.DescribeDBInstanceSSLConfigResponse()
|
990
|
+
model._deserialize(response["Response"])
|
991
|
+
return model
|
992
|
+
except Exception as e:
|
993
|
+
if isinstance(e, TencentCloudSDKException):
|
994
|
+
raise
|
995
|
+
else:
|
996
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
997
|
+
|
998
|
+
|
930
999
|
def DescribeDBInstanceSecurityGroups(self, request):
|
931
1000
|
"""本接口(DescribeDBInstanceSecurityGroups)用于查询实例安全组。
|
932
1001
|
|
@@ -1433,6 +1502,30 @@ class PostgresClient(AbstractClient):
|
|
1433
1502
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1434
1503
|
|
1435
1504
|
|
1505
|
+
def DescribeTasks(self, request):
|
1506
|
+
"""本接口(DescribeTasks)用于查询任务列表,展示异步任务的执行进度。
|
1507
|
+
注:本接口中展示的步骤为总结性步骤,可能伴随着版本迭代进行调整,不建议作为关键逻辑使用
|
1508
|
+
|
1509
|
+
:param request: Request instance for DescribeTasks.
|
1510
|
+
:type request: :class:`tencentcloud.postgres.v20170312.models.DescribeTasksRequest`
|
1511
|
+
:rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeTasksResponse`
|
1512
|
+
|
1513
|
+
"""
|
1514
|
+
try:
|
1515
|
+
params = request._serialize()
|
1516
|
+
headers = request.headers
|
1517
|
+
body = self.call("DescribeTasks", params, headers=headers)
|
1518
|
+
response = json.loads(body)
|
1519
|
+
model = models.DescribeTasksResponse()
|
1520
|
+
model._deserialize(response["Response"])
|
1521
|
+
return model
|
1522
|
+
except Exception as e:
|
1523
|
+
if isinstance(e, TencentCloudSDKException):
|
1524
|
+
raise
|
1525
|
+
else:
|
1526
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1527
|
+
|
1528
|
+
|
1436
1529
|
def DescribeZones(self, request):
|
1437
1530
|
"""本接口 (DescribeZones) 用于查询支持的可用区信息。
|
1438
1531
|
|
@@ -1895,6 +1988,29 @@ class PostgresClient(AbstractClient):
|
|
1895
1988
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1896
1989
|
|
1897
1990
|
|
1991
|
+
def ModifyDBInstanceSSLConfig(self, request):
|
1992
|
+
"""本接口用于修改实例SSL配置,功能包含开启、关闭、修改SSL证书保护的连接地址。
|
1993
|
+
|
1994
|
+
:param request: Request instance for ModifyDBInstanceSSLConfig.
|
1995
|
+
:type request: :class:`tencentcloud.postgres.v20170312.models.ModifyDBInstanceSSLConfigRequest`
|
1996
|
+
:rtype: :class:`tencentcloud.postgres.v20170312.models.ModifyDBInstanceSSLConfigResponse`
|
1997
|
+
|
1998
|
+
"""
|
1999
|
+
try:
|
2000
|
+
params = request._serialize()
|
2001
|
+
headers = request.headers
|
2002
|
+
body = self.call("ModifyDBInstanceSSLConfig", params, headers=headers)
|
2003
|
+
response = json.loads(body)
|
2004
|
+
model = models.ModifyDBInstanceSSLConfigResponse()
|
2005
|
+
model._deserialize(response["Response"])
|
2006
|
+
return model
|
2007
|
+
except Exception as e:
|
2008
|
+
if isinstance(e, TencentCloudSDKException):
|
2009
|
+
raise
|
2010
|
+
else:
|
2011
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2012
|
+
|
2013
|
+
|
1898
2014
|
def ModifyDBInstanceSecurityGroups(self, request):
|
1899
2015
|
"""本接口(ModifyDBInstanceSecurityGroups)用于修改实例安全组。
|
1900
2016
|
|
@@ -2033,6 +2149,29 @@ class PostgresClient(AbstractClient):
|
|
2033
2149
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2034
2150
|
|
2035
2151
|
|
2152
|
+
def ModifyReadOnlyDBInstanceWeight(self, request):
|
2153
|
+
"""本接口(ModifyReadOnlyDBInstanceWeight)用于修改只读实例权重
|
2154
|
+
|
2155
|
+
:param request: Request instance for ModifyReadOnlyDBInstanceWeight.
|
2156
|
+
:type request: :class:`tencentcloud.postgres.v20170312.models.ModifyReadOnlyDBInstanceWeightRequest`
|
2157
|
+
:rtype: :class:`tencentcloud.postgres.v20170312.models.ModifyReadOnlyDBInstanceWeightResponse`
|
2158
|
+
|
2159
|
+
"""
|
2160
|
+
try:
|
2161
|
+
params = request._serialize()
|
2162
|
+
headers = request.headers
|
2163
|
+
body = self.call("ModifyReadOnlyDBInstanceWeight", params, headers=headers)
|
2164
|
+
response = json.loads(body)
|
2165
|
+
model = models.ModifyReadOnlyDBInstanceWeightResponse()
|
2166
|
+
model._deserialize(response["Response"])
|
2167
|
+
return model
|
2168
|
+
except Exception as e:
|
2169
|
+
if isinstance(e, TencentCloudSDKException):
|
2170
|
+
raise
|
2171
|
+
else:
|
2172
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2173
|
+
|
2174
|
+
|
2036
2175
|
def ModifyReadOnlyGroupConfig(self, request):
|
2037
2176
|
"""本接口(ModifyReadOnlyGroupConfig)用于更新只读组配置信息
|
2038
2177
|
|