tencentcloud-sdk-python 3.0.1287__py2.py3-none-any.whl → 3.0.1288__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.
Files changed (38) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aca/__init__.py +0 -0
  3. tencentcloud/aca/v20210323/__init__.py +0 -0
  4. tencentcloud/aca/v20210323/aca_client.py +210 -0
  5. tencentcloud/aca/v20210323/errorcodes.py +24 -0
  6. tencentcloud/aca/v20210323/models.py +6266 -0
  7. tencentcloud/batch/v20170312/models.py +2 -2
  8. tencentcloud/cdb/v20170320/cdb_client.py +3 -3
  9. tencentcloud/cdb/v20170320/models.py +35 -14
  10. tencentcloud/cdwch/v20200915/models.py +6 -6
  11. tencentcloud/cdwdoris/v20211228/models.py +15 -0
  12. tencentcloud/cfs/v20190719/models.py +0 -46
  13. tencentcloud/emr/v20190103/models.py +101 -15
  14. tencentcloud/ess/v20201111/ess_client.py +1 -0
  15. tencentcloud/ess/v20201111/models.py +108 -108
  16. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -0
  17. tencentcloud/essbasic/v20210526/models.py +102 -102
  18. tencentcloud/facefusion/v20220927/facefusion_client.py +0 -1
  19. tencentcloud/facefusion/v20220927/models.py +23 -0
  20. tencentcloud/faceid/v20180301/errorcodes.py +3 -0
  21. tencentcloud/live/v20180801/models.py +40 -0
  22. tencentcloud/mariadb/v20170312/models.py +4 -0
  23. tencentcloud/mps/v20190612/models.py +663 -0
  24. tencentcloud/mps/v20190612/mps_client.py +92 -0
  25. tencentcloud/privatedns/v20201028/models.py +0 -10
  26. tencentcloud/redis/v20180412/models.py +299 -0
  27. tencentcloud/redis/v20180412/redis_client.py +46 -0
  28. tencentcloud/tcb/v20180608/models.py +30 -0
  29. tencentcloud/trocket/v20230308/models.py +216 -0
  30. tencentcloud/trocket/v20230308/trocket_client.py +23 -0
  31. tencentcloud/tsf/v20180326/errorcodes.py +18 -0
  32. tencentcloud/tsf/v20180326/models.py +21 -4
  33. tencentcloud/tsf/v20180326/tsf_client.py +3 -1
  34. {tencentcloud_sdk_python-3.0.1287.dist-info → tencentcloud_sdk_python-3.0.1288.dist-info}/METADATA +1 -1
  35. {tencentcloud_sdk_python-3.0.1287.dist-info → tencentcloud_sdk_python-3.0.1288.dist-info}/RECORD +38 -33
  36. {tencentcloud_sdk_python-3.0.1287.dist-info → tencentcloud_sdk_python-3.0.1288.dist-info}/LICENSE +0 -0
  37. {tencentcloud_sdk_python-3.0.1287.dist-info → tencentcloud_sdk_python-3.0.1288.dist-info}/WHEEL +0 -0
  38. {tencentcloud_sdk_python-3.0.1287.dist-info → tencentcloud_sdk_python-3.0.1288.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1287'
17
+ __version__ = '3.0.1288'
File without changes
File without changes
@@ -0,0 +1,210 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.aca.v20210323 import models
21
+
22
+
23
+ class AcaClient(AbstractClient):
24
+ _apiVersion = '2021-03-23'
25
+ _endpoint = 'aca.tencentcloudapi.com'
26
+ _service = 'aca'
27
+
28
+
29
+ def GetDrugIndications(self, request):
30
+ """药品适应症接口
31
+
32
+ :param request: Request instance for GetDrugIndications.
33
+ :type request: :class:`tencentcloud.aca.v20210323.models.GetDrugIndicationsRequest`
34
+ :rtype: :class:`tencentcloud.aca.v20210323.models.GetDrugIndicationsResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("GetDrugIndications", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.GetDrugIndicationsResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
52
+ def LoginHisTool(self, request):
53
+ """登录获取token
54
+
55
+ :param request: Request instance for LoginHisTool.
56
+ :type request: :class:`tencentcloud.aca.v20210323.models.LoginHisToolRequest`
57
+ :rtype: :class:`tencentcloud.aca.v20210323.models.LoginHisToolResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("LoginHisTool", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.LoginHisToolResponse()
66
+ model._deserialize(response["Response"])
67
+ return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
75
+ def LoginOutHisTool(self, request):
76
+ """登出
77
+
78
+ :param request: Request instance for LoginOutHisTool.
79
+ :type request: :class:`tencentcloud.aca.v20210323.models.LoginOutHisToolRequest`
80
+ :rtype: :class:`tencentcloud.aca.v20210323.models.LoginOutHisToolResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("LoginOutHisTool", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.LoginOutHisToolResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
91
+ except Exception as e:
92
+ if isinstance(e, TencentCloudSDKException):
93
+ raise
94
+ else:
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
96
+
97
+
98
+ def SmartDrugInfo(self, request):
99
+ """智能用药接口
100
+
101
+ :param request: Request instance for SmartDrugInfo.
102
+ :type request: :class:`tencentcloud.aca.v20210323.models.SmartDrugInfoRequest`
103
+ :rtype: :class:`tencentcloud.aca.v20210323.models.SmartDrugInfoResponse`
104
+
105
+ """
106
+ try:
107
+ params = request._serialize()
108
+ headers = request.headers
109
+ body = self.call("SmartDrugInfo", params, headers=headers)
110
+ response = json.loads(body)
111
+ model = models.SmartDrugInfoResponse()
112
+ model._deserialize(response["Response"])
113
+ return model
114
+ except Exception as e:
115
+ if isinstance(e, TencentCloudSDKException):
116
+ raise
117
+ else:
118
+ raise TencentCloudSDKException(type(e).__name__, str(e))
119
+
120
+
121
+ def SmartPredict(self, request):
122
+ """辅诊智能预测接口
123
+
124
+ :param request: Request instance for SmartPredict.
125
+ :type request: :class:`tencentcloud.aca.v20210323.models.SmartPredictRequest`
126
+ :rtype: :class:`tencentcloud.aca.v20210323.models.SmartPredictResponse`
127
+
128
+ """
129
+ try:
130
+ params = request._serialize()
131
+ headers = request.headers
132
+ body = self.call("SmartPredict", params, headers=headers)
133
+ response = json.loads(body)
134
+ model = models.SmartPredictResponse()
135
+ model._deserialize(response["Response"])
136
+ return model
137
+ except Exception as e:
138
+ if isinstance(e, TencentCloudSDKException):
139
+ raise
140
+ else:
141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
142
+
143
+
144
+ def SyncDepartment(self, request):
145
+ """用于院方科室管理,获取科室列表和状态、新增或修改科室信息、删除科室。
146
+
147
+ :param request: Request instance for SyncDepartment.
148
+ :type request: :class:`tencentcloud.aca.v20210323.models.SyncDepartmentRequest`
149
+ :rtype: :class:`tencentcloud.aca.v20210323.models.SyncDepartmentResponse`
150
+
151
+ """
152
+ try:
153
+ params = request._serialize()
154
+ headers = request.headers
155
+ body = self.call("SyncDepartment", params, headers=headers)
156
+ response = json.loads(body)
157
+ model = models.SyncDepartmentResponse()
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
+
167
+ def SyncStandardDict(self, request):
168
+ """同步标准字典,如给药频次、给药途径、科室、诊断等
169
+
170
+ :param request: Request instance for SyncStandardDict.
171
+ :type request: :class:`tencentcloud.aca.v20210323.models.SyncStandardDictRequest`
172
+ :rtype: :class:`tencentcloud.aca.v20210323.models.SyncStandardDictResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("SyncStandardDict", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.SyncStandardDictResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
+
189
+
190
+ def UploadDrugs(self, request):
191
+ """药品同步,一次同步数据不要超过500个
192
+
193
+ :param request: Request instance for UploadDrugs.
194
+ :type request: :class:`tencentcloud.aca.v20210323.models.UploadDrugsRequest`
195
+ :rtype: :class:`tencentcloud.aca.v20210323.models.UploadDrugsResponse`
196
+
197
+ """
198
+ try:
199
+ params = request._serialize()
200
+ headers = request.headers
201
+ body = self.call("UploadDrugs", params, headers=headers)
202
+ response = json.loads(body)
203
+ model = models.UploadDrugsResponse()
204
+ model._deserialize(response["Response"])
205
+ return model
206
+ except Exception as e:
207
+ if isinstance(e, TencentCloudSDKException):
208
+ raise
209
+ else:
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -0,0 +1,24 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+ # CAM签名/鉴权错误。
18
+ AUTHFAILURE = 'AuthFailure'
19
+
20
+ # 内部错误。
21
+ INTERNALERROR = 'InternalError'
22
+
23
+ # 参数错误。
24
+ INVALIDPARAMETER = 'InvalidParameter'