tencentcloud-sdk-python-postgres 3.0.1381__tar.gz → 3.0.1383__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/setup.py +1 -1
  3. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud/postgres/v20170312/models.py +0 -158
  5. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud/postgres/v20170312/postgres_client.py +0 -50
  6. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-postgres-3.0.1383/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-postgres-3.0.1381/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/README.rst +0 -0
  10. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud/postgres/__init__.py +0 -0
  12. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud/postgres/v20170312/__init__.py +0 -0
  13. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-postgres-3.0.1381 → tencentcloud-sdk-python-postgres-3.0.1383}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.0.1381
3
+ Version: 3.0.1383
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
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-postgres',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1381"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1383"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Postgres SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1381'
17
+ __version__ = '3.0.1383'
@@ -1707,85 +1707,6 @@ class CloseDBExtranetAccessResponse(AbstractModel):
1707
1707
  self._RequestId = params.get("RequestId")
1708
1708
 
1709
1709
 
1710
- class CloseServerlessDBExtranetAccessRequest(AbstractModel):
1711
- """CloseServerlessDBExtranetAccess请求参数结构体
1712
-
1713
- """
1714
-
1715
- def __init__(self):
1716
- r"""
1717
- :param _DBInstanceId: 实例唯一标识符
1718
- :type DBInstanceId: str
1719
- :param _DBInstanceName: 实例名称
1720
- :type DBInstanceName: str
1721
- """
1722
- self._DBInstanceId = None
1723
- self._DBInstanceName = None
1724
-
1725
- @property
1726
- def DBInstanceId(self):
1727
- """实例唯一标识符
1728
- :rtype: str
1729
- """
1730
- return self._DBInstanceId
1731
-
1732
- @DBInstanceId.setter
1733
- def DBInstanceId(self, DBInstanceId):
1734
- self._DBInstanceId = DBInstanceId
1735
-
1736
- @property
1737
- def DBInstanceName(self):
1738
- """实例名称
1739
- :rtype: str
1740
- """
1741
- return self._DBInstanceName
1742
-
1743
- @DBInstanceName.setter
1744
- def DBInstanceName(self, DBInstanceName):
1745
- self._DBInstanceName = DBInstanceName
1746
-
1747
-
1748
- def _deserialize(self, params):
1749
- self._DBInstanceId = params.get("DBInstanceId")
1750
- self._DBInstanceName = params.get("DBInstanceName")
1751
- memeber_set = set(params.keys())
1752
- for name, value in vars(self).items():
1753
- property_name = name[1:]
1754
- if property_name in memeber_set:
1755
- memeber_set.remove(property_name)
1756
- if len(memeber_set) > 0:
1757
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1758
-
1759
-
1760
-
1761
- class CloseServerlessDBExtranetAccessResponse(AbstractModel):
1762
- """CloseServerlessDBExtranetAccess返回参数结构体
1763
-
1764
- """
1765
-
1766
- def __init__(self):
1767
- r"""
1768
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1769
- :type RequestId: str
1770
- """
1771
- self._RequestId = None
1772
-
1773
- @property
1774
- def RequestId(self):
1775
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1776
- :rtype: str
1777
- """
1778
- return self._RequestId
1779
-
1780
- @RequestId.setter
1781
- def RequestId(self, RequestId):
1782
- self._RequestId = RequestId
1783
-
1784
-
1785
- def _deserialize(self, params):
1786
- self._RequestId = params.get("RequestId")
1787
-
1788
-
1789
1710
  class CreateAccountRequest(AbstractModel):
1790
1711
  """CreateAccount请求参数结构体
1791
1712
 
@@ -6942,85 +6863,6 @@ class DeleteReadOnlyGroupResponse(AbstractModel):
6942
6863
  self._RequestId = params.get("RequestId")
6943
6864
 
6944
6865
 
6945
- class DeleteServerlessDBInstanceRequest(AbstractModel):
6946
- """DeleteServerlessDBInstance请求参数结构体
6947
-
6948
- """
6949
-
6950
- def __init__(self):
6951
- r"""
6952
- :param _DBInstanceName: DB实例名称,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。
6953
- :type DBInstanceName: str
6954
- :param _DBInstanceId: DB实例ID,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。
6955
- :type DBInstanceId: str
6956
- """
6957
- self._DBInstanceName = None
6958
- self._DBInstanceId = None
6959
-
6960
- @property
6961
- def DBInstanceName(self):
6962
- """DB实例名称,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。
6963
- :rtype: str
6964
- """
6965
- return self._DBInstanceName
6966
-
6967
- @DBInstanceName.setter
6968
- def DBInstanceName(self, DBInstanceName):
6969
- self._DBInstanceName = DBInstanceName
6970
-
6971
- @property
6972
- def DBInstanceId(self):
6973
- """DB实例ID,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。
6974
- :rtype: str
6975
- """
6976
- return self._DBInstanceId
6977
-
6978
- @DBInstanceId.setter
6979
- def DBInstanceId(self, DBInstanceId):
6980
- self._DBInstanceId = DBInstanceId
6981
-
6982
-
6983
- def _deserialize(self, params):
6984
- self._DBInstanceName = params.get("DBInstanceName")
6985
- self._DBInstanceId = params.get("DBInstanceId")
6986
- memeber_set = set(params.keys())
6987
- for name, value in vars(self).items():
6988
- property_name = name[1:]
6989
- if property_name in memeber_set:
6990
- memeber_set.remove(property_name)
6991
- if len(memeber_set) > 0:
6992
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6993
-
6994
-
6995
-
6996
- class DeleteServerlessDBInstanceResponse(AbstractModel):
6997
- """DeleteServerlessDBInstance返回参数结构体
6998
-
6999
- """
7000
-
7001
- def __init__(self):
7002
- r"""
7003
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7004
- :type RequestId: str
7005
- """
7006
- self._RequestId = None
7007
-
7008
- @property
7009
- def RequestId(self):
7010
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7011
- :rtype: str
7012
- """
7013
- return self._RequestId
7014
-
7015
- @RequestId.setter
7016
- def RequestId(self, RequestId):
7017
- self._RequestId = RequestId
7018
-
7019
-
7020
- def _deserialize(self, params):
7021
- self._RequestId = params.get("RequestId")
7022
-
7023
-
7024
6866
  class DescribeAccountPrivilegesRequest(AbstractModel):
7025
6867
  """DescribeAccountPrivileges请求参数结构体
7026
6868
 
@@ -95,31 +95,6 @@ class PostgresClient(AbstractClient):
95
95
  raise TencentCloudSDKException(type(e).__name__, str(e))
96
96
 
97
97
 
98
- def CloseServerlessDBExtranetAccess(self, request):
99
- """该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
100
-
101
- 【接口下线中,请勿使用】本接口(CloseServerlessDBExtranetAccess)用于关闭serverlessDB实例公网地址
102
-
103
- :param request: Request instance for CloseServerlessDBExtranetAccess.
104
- :type request: :class:`tencentcloud.postgres.v20170312.models.CloseServerlessDBExtranetAccessRequest`
105
- :rtype: :class:`tencentcloud.postgres.v20170312.models.CloseServerlessDBExtranetAccessResponse`
106
-
107
- """
108
- try:
109
- params = request._serialize()
110
- headers = request.headers
111
- body = self.call("CloseServerlessDBExtranetAccess", params, headers=headers)
112
- response = json.loads(body)
113
- model = models.CloseServerlessDBExtranetAccessResponse()
114
- model._deserialize(response["Response"])
115
- return model
116
- except Exception as e:
117
- if isinstance(e, TencentCloudSDKException):
118
- raise
119
- else:
120
- raise TencentCloudSDKException(type(e).__name__, str(e))
121
-
122
-
123
98
  def CreateAccount(self, request):
124
99
  """此接口用于创建数据账号,返回的Oid为账号唯一标识。与数据库系统表pg_roles中记录的oid一致。
125
100
 
@@ -586,31 +561,6 @@ class PostgresClient(AbstractClient):
586
561
  raise TencentCloudSDKException(type(e).__name__, str(e))
587
562
 
588
563
 
589
- def DeleteServerlessDBInstance(self, request):
590
- """该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
591
-
592
- 【接口下线中,请勿使用】本接口 (DeleteServerlessDBInstance) 用于删除一个ServerlessDB实例。
593
-
594
- :param request: Request instance for DeleteServerlessDBInstance.
595
- :type request: :class:`tencentcloud.postgres.v20170312.models.DeleteServerlessDBInstanceRequest`
596
- :rtype: :class:`tencentcloud.postgres.v20170312.models.DeleteServerlessDBInstanceResponse`
597
-
598
- """
599
- try:
600
- params = request._serialize()
601
- headers = request.headers
602
- body = self.call("DeleteServerlessDBInstance", params, headers=headers)
603
- response = json.loads(body)
604
- model = models.DeleteServerlessDBInstanceResponse()
605
- model._deserialize(response["Response"])
606
- return model
607
- except Exception as e:
608
- if isinstance(e, TencentCloudSDKException):
609
- raise
610
- else:
611
- raise TencentCloudSDKException(type(e).__name__, str(e))
612
-
613
-
614
564
  def DescribeAccountPrivileges(self, request):
615
565
  """查询数据库账号对某数据库对象拥有的权限列表。
616
566
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.0.1381
3
+ Version: 3.0.1383
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1383
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1381