tencentcloud-sdk-python-cynosdb 3.0.1374__tar.gz → 3.0.1375__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-cynosdb might be problematic. Click here for more details.

Files changed (16) hide show
  1. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
  5. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud/cynosdb/v20190107/models.py +113 -0
  6. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cynosdb-3.0.1375/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cynosdb-3.0.1374/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/README.rst +0 -0
  10. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud/cynosdb/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud/cynosdb/v20190107/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cynosdb-3.0.1374 → tencentcloud-sdk-python-cynosdb-3.0.1375}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.0.1374
3
+ Version: 3.0.1375
4
4
  Summary: Tencent Cloud Cynosdb 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-cynosdb',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1374"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1375"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cynosdb 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.1374'
17
+ __version__ = '3.0.1375'
@@ -233,6 +233,29 @@ class CynosdbClient(AbstractClient):
233
233
  raise TencentCloudSDKException(type(e).__name__, str(e))
234
234
 
235
235
 
236
+ def CloseSSL(self, request):
237
+ """关闭SSL加密
238
+
239
+ :param request: Request instance for CloseSSL.
240
+ :type request: :class:`tencentcloud.cynosdb.v20190107.models.CloseSSLRequest`
241
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.CloseSSLResponse`
242
+
243
+ """
244
+ try:
245
+ params = request._serialize()
246
+ headers = request.headers
247
+ body = self.call("CloseSSL", params, headers=headers)
248
+ response = json.loads(body)
249
+ model = models.CloseSSLResponse()
250
+ model._deserialize(response["Response"])
251
+ return model
252
+ except Exception as e:
253
+ if isinstance(e, TencentCloudSDKException):
254
+ raise
255
+ else:
256
+ raise TencentCloudSDKException(type(e).__name__, str(e))
257
+
258
+
236
259
  def CloseWan(self, request):
237
260
  """本接口(CloseWan)用于关闭外网。
238
261
 
@@ -3952,6 +3952,119 @@ class CloseProxyResponse(AbstractModel):
3952
3952
  self._RequestId = params.get("RequestId")
3953
3953
 
3954
3954
 
3955
+ class CloseSSLRequest(AbstractModel):
3956
+ """CloseSSL请求参数结构体
3957
+
3958
+ """
3959
+
3960
+ def __init__(self):
3961
+ r"""
3962
+ :param _ClusterId: 集群ID
3963
+ :type ClusterId: str
3964
+ :param _InstanceId: 实例ID
3965
+ :type InstanceId: str
3966
+ """
3967
+ self._ClusterId = None
3968
+ self._InstanceId = None
3969
+
3970
+ @property
3971
+ def ClusterId(self):
3972
+ """集群ID
3973
+ :rtype: str
3974
+ """
3975
+ return self._ClusterId
3976
+
3977
+ @ClusterId.setter
3978
+ def ClusterId(self, ClusterId):
3979
+ self._ClusterId = ClusterId
3980
+
3981
+ @property
3982
+ def InstanceId(self):
3983
+ """实例ID
3984
+ :rtype: str
3985
+ """
3986
+ return self._InstanceId
3987
+
3988
+ @InstanceId.setter
3989
+ def InstanceId(self, InstanceId):
3990
+ self._InstanceId = InstanceId
3991
+
3992
+
3993
+ def _deserialize(self, params):
3994
+ self._ClusterId = params.get("ClusterId")
3995
+ self._InstanceId = params.get("InstanceId")
3996
+ memeber_set = set(params.keys())
3997
+ for name, value in vars(self).items():
3998
+ property_name = name[1:]
3999
+ if property_name in memeber_set:
4000
+ memeber_set.remove(property_name)
4001
+ if len(memeber_set) > 0:
4002
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4003
+
4004
+
4005
+
4006
+ class CloseSSLResponse(AbstractModel):
4007
+ """CloseSSL返回参数结构体
4008
+
4009
+ """
4010
+
4011
+ def __init__(self):
4012
+ r"""
4013
+ :param _FlowId: 流程ID
4014
+ 注意:此字段可能返回 null,表示取不到有效值。
4015
+ :type FlowId: int
4016
+ :param _TaskId: 任务id
4017
+ 注意:此字段可能返回 null,表示取不到有效值。
4018
+ :type TaskId: int
4019
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4020
+ :type RequestId: str
4021
+ """
4022
+ self._FlowId = None
4023
+ self._TaskId = None
4024
+ self._RequestId = None
4025
+
4026
+ @property
4027
+ def FlowId(self):
4028
+ """流程ID
4029
+ 注意:此字段可能返回 null,表示取不到有效值。
4030
+ :rtype: int
4031
+ """
4032
+ return self._FlowId
4033
+
4034
+ @FlowId.setter
4035
+ def FlowId(self, FlowId):
4036
+ self._FlowId = FlowId
4037
+
4038
+ @property
4039
+ def TaskId(self):
4040
+ """任务id
4041
+ 注意:此字段可能返回 null,表示取不到有效值。
4042
+ :rtype: int
4043
+ """
4044
+ return self._TaskId
4045
+
4046
+ @TaskId.setter
4047
+ def TaskId(self, TaskId):
4048
+ self._TaskId = TaskId
4049
+
4050
+ @property
4051
+ def RequestId(self):
4052
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4053
+ :rtype: str
4054
+ """
4055
+ return self._RequestId
4056
+
4057
+ @RequestId.setter
4058
+ def RequestId(self, RequestId):
4059
+ self._RequestId = RequestId
4060
+
4061
+
4062
+ def _deserialize(self, params):
4063
+ self._FlowId = params.get("FlowId")
4064
+ self._TaskId = params.get("TaskId")
4065
+ self._RequestId = params.get("RequestId")
4066
+
4067
+
3955
4068
  class CloseWanRequest(AbstractModel):
3956
4069
  """CloseWan请求参数结构体
3957
4070
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.0.1374
3
+ Version: 3.0.1375
4
4
  Summary: Tencent Cloud Cynosdb 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.1375
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1374