tencentcloud-sdk-python-postgres 3.0.1383__tar.gz → 3.0.1384__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.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/setup.py +1 -1
  3. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/tencentcloud/postgres/v20170312/errorcodes.py +0 -3
  5. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/tencentcloud/postgres/v20170312/models.py +0 -124
  6. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/tencentcloud/postgres/v20170312/postgres_client.py +0 -25
  7. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-postgres-3.0.1384/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-postgres-3.0.1383/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/README.rst +0 -0
  11. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/tencentcloud/postgres/__init__.py +0 -0
  13. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/tencentcloud/postgres/v20170312/__init__.py +0 -0
  14. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-postgres-3.0.1383 → tencentcloud-sdk-python-postgres-3.0.1384}/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.1383
3
+ Version: 3.0.1384
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.1383"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1384"],
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.1383'
17
+ __version__ = '3.0.1384'
@@ -416,9 +416,6 @@ INVALIDPARAMETERVALUE_PARAMETERCHARACTERERROR = 'InvalidParameterValue.Parameter
416
416
  # 参数不满足规则,请修改后重试。
417
417
  INVALIDPARAMETERVALUE_PARAMETERCHARACTERLIMITERROR = 'InvalidParameterValue.ParameterCharacterLimitError'
418
418
 
419
- # 参数前缀设置不符合规则要求,请修改后重试。
420
- INVALIDPARAMETERVALUE_PARAMETERCHARACTERPRELIMITERROR = 'InvalidParameterValue.ParameterCharacterPreLimitError'
421
-
422
419
  # 参数处理失败,请检参数值设置是否有效。
423
420
  INVALIDPARAMETERVALUE_PARAMETERHANDLEERROR = 'InvalidParameterValue.ParameterHandleError'
424
421
 
@@ -13360,130 +13360,6 @@ class Filter(AbstractModel):
13360
13360
 
13361
13361
 
13362
13362
 
13363
- class InitDBInstancesRequest(AbstractModel):
13364
- """InitDBInstances请求参数结构体
13365
-
13366
- """
13367
-
13368
- def __init__(self):
13369
- r"""
13370
- :param _DBInstanceIdSet: 实例ID集合。
13371
- :type DBInstanceIdSet: list of str
13372
- :param _AdminName: 实例根账号用户名。
13373
- :type AdminName: str
13374
- :param _AdminPassword: 实例根账号用户名对应的密码。
13375
- :type AdminPassword: str
13376
- :param _Charset: 实例字符集,目前只支持:UTF8、LATIN1。
13377
- :type Charset: str
13378
- """
13379
- self._DBInstanceIdSet = None
13380
- self._AdminName = None
13381
- self._AdminPassword = None
13382
- self._Charset = None
13383
-
13384
- @property
13385
- def DBInstanceIdSet(self):
13386
- """实例ID集合。
13387
- :rtype: list of str
13388
- """
13389
- return self._DBInstanceIdSet
13390
-
13391
- @DBInstanceIdSet.setter
13392
- def DBInstanceIdSet(self, DBInstanceIdSet):
13393
- self._DBInstanceIdSet = DBInstanceIdSet
13394
-
13395
- @property
13396
- def AdminName(self):
13397
- """实例根账号用户名。
13398
- :rtype: str
13399
- """
13400
- return self._AdminName
13401
-
13402
- @AdminName.setter
13403
- def AdminName(self, AdminName):
13404
- self._AdminName = AdminName
13405
-
13406
- @property
13407
- def AdminPassword(self):
13408
- """实例根账号用户名对应的密码。
13409
- :rtype: str
13410
- """
13411
- return self._AdminPassword
13412
-
13413
- @AdminPassword.setter
13414
- def AdminPassword(self, AdminPassword):
13415
- self._AdminPassword = AdminPassword
13416
-
13417
- @property
13418
- def Charset(self):
13419
- """实例字符集,目前只支持:UTF8、LATIN1。
13420
- :rtype: str
13421
- """
13422
- return self._Charset
13423
-
13424
- @Charset.setter
13425
- def Charset(self, Charset):
13426
- self._Charset = Charset
13427
-
13428
-
13429
- def _deserialize(self, params):
13430
- self._DBInstanceIdSet = params.get("DBInstanceIdSet")
13431
- self._AdminName = params.get("AdminName")
13432
- self._AdminPassword = params.get("AdminPassword")
13433
- self._Charset = params.get("Charset")
13434
- memeber_set = set(params.keys())
13435
- for name, value in vars(self).items():
13436
- property_name = name[1:]
13437
- if property_name in memeber_set:
13438
- memeber_set.remove(property_name)
13439
- if len(memeber_set) > 0:
13440
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13441
-
13442
-
13443
-
13444
- class InitDBInstancesResponse(AbstractModel):
13445
- """InitDBInstances返回参数结构体
13446
-
13447
- """
13448
-
13449
- def __init__(self):
13450
- r"""
13451
- :param _DBInstanceIdSet: 实例ID集合。
13452
- :type DBInstanceIdSet: list of str
13453
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13454
- :type RequestId: str
13455
- """
13456
- self._DBInstanceIdSet = None
13457
- self._RequestId = None
13458
-
13459
- @property
13460
- def DBInstanceIdSet(self):
13461
- """实例ID集合。
13462
- :rtype: list of str
13463
- """
13464
- return self._DBInstanceIdSet
13465
-
13466
- @DBInstanceIdSet.setter
13467
- def DBInstanceIdSet(self, DBInstanceIdSet):
13468
- self._DBInstanceIdSet = DBInstanceIdSet
13469
-
13470
- @property
13471
- def RequestId(self):
13472
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13473
- :rtype: str
13474
- """
13475
- return self._RequestId
13476
-
13477
- @RequestId.setter
13478
- def RequestId(self, RequestId):
13479
- self._RequestId = RequestId
13480
-
13481
-
13482
- def _deserialize(self, params):
13483
- self._DBInstanceIdSet = params.get("DBInstanceIdSet")
13484
- self._RequestId = params.get("RequestId")
13485
-
13486
-
13487
13363
  class InquiryPriceCreateDBInstancesRequest(AbstractModel):
13488
13364
  """InquiryPriceCreateDBInstances请求参数结构体
13489
13365
 
@@ -1557,31 +1557,6 @@ class PostgresClient(AbstractClient):
1557
1557
  raise TencentCloudSDKException(type(e).__name__, str(e))
1558
1558
 
1559
1559
 
1560
- def InitDBInstances(self, request):
1561
- """早期接口,不规范,已提供新接口 CreateInstances 替换
1562
-
1563
- 本接口(InitDBInstances)用于初始化云数据库PostgreSQL实例。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。
1564
-
1565
- :param request: Request instance for InitDBInstances.
1566
- :type request: :class:`tencentcloud.postgres.v20170312.models.InitDBInstancesRequest`
1567
- :rtype: :class:`tencentcloud.postgres.v20170312.models.InitDBInstancesResponse`
1568
-
1569
- """
1570
- try:
1571
- params = request._serialize()
1572
- headers = request.headers
1573
- body = self.call("InitDBInstances", params, headers=headers)
1574
- response = json.loads(body)
1575
- model = models.InitDBInstancesResponse()
1576
- model._deserialize(response["Response"])
1577
- return model
1578
- except Exception as e:
1579
- if isinstance(e, TencentCloudSDKException):
1580
- raise
1581
- else:
1582
- raise TencentCloudSDKException(type(e).__name__, str(e))
1583
-
1584
-
1585
1560
  def InquiryPriceCreateDBInstances(self, request):
1586
1561
  """本接口 (InquiryPriceCreateDBInstances) 用于查询购买实例的价格信息。
1587
1562
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.0.1383
3
+ Version: 3.0.1384
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.1384
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1383