tencentcloud-sdk-python-es 3.0.1482__tar.gz → 3.0.1484__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.
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/setup.py +1 -1
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/es/v20180416/errorcodes.py +6 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/es/v20180416/es_client.py +69 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/es/v20180416/models.py +1185 -342
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud_sdk_python_es.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_es-3.0.1484/tencentcloud_sdk_python_es.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_es-3.0.1482/tencentcloud_sdk_python_es.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/README.rst +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/setup.cfg +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/es/__init__.py +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/es/v20180416/__init__.py +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/es/v20250101/__init__.py +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/es/v20250101/errorcodes.py +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/es/v20250101/es_client.py +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud/es/v20250101/models.py +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud_sdk_python_es.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud_sdk_python_es.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_es-3.0.1482 → tencentcloud_sdk_python_es-3.0.1484}/tencentcloud_sdk_python_es.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-es
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1484
|
|
4
4
|
Summary: Tencent Cloud Es SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-es',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1484,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Es SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -95,6 +95,9 @@ FAILEDOPERATION_REFUNDERROR = 'FailedOperation.RefundError'
|
|
|
95
95
|
# 请求超时。
|
|
96
96
|
FAILEDOPERATION_REQUESTTIMEOUT = 'FailedOperation.RequestTimeOut'
|
|
97
97
|
|
|
98
|
+
# 集群设置IP溯源失败
|
|
99
|
+
FAILEDOPERATION_SETTINGIPTRACEERROR = 'FailedOperation.SettingIpTraceError'
|
|
100
|
+
|
|
98
101
|
# 变更space的kibana语言信息失败
|
|
99
102
|
FAILEDOPERATION_SPACELANGUAGE = 'FailedOperation.SpaceLanguage'
|
|
100
103
|
|
|
@@ -620,6 +623,9 @@ UNSUPPORTEDOPERATION_INDEXSETTINGSREQUIRESET = 'UnsupportedOperation.IndexSettin
|
|
|
620
623
|
# 不支持该操作,服务类型有误。
|
|
621
624
|
UNSUPPORTEDOPERATION_INSTANCETYPEERROR = 'UnsupportedOperation.InstanceTypeError'
|
|
622
625
|
|
|
626
|
+
# 内核版本不支持
|
|
627
|
+
UNSUPPORTEDOPERATION_KERNELNOTSUPPORT = 'UnsupportedOperation.KernelNotSupport'
|
|
628
|
+
|
|
623
629
|
# 当前ES集群版本过低,不支持Gpu机器
|
|
624
630
|
UNSUPPORTEDOPERATION_KERNELNOTSUPPORTGPU = 'UnsupportedOperation.KernelNotSupportGpu'
|
|
625
631
|
|
|
@@ -878,6 +878,29 @@ class EsClient(AbstractClient):
|
|
|
878
878
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
879
879
|
|
|
880
880
|
|
|
881
|
+
def GetIpTraceStatus(self, request):
|
|
882
|
+
r"""查询IP溯源状态
|
|
883
|
+
|
|
884
|
+
:param request: Request instance for GetIpTraceStatus.
|
|
885
|
+
:type request: :class:`tencentcloud.es.v20180416.models.GetIpTraceStatusRequest`
|
|
886
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.GetIpTraceStatusResponse`
|
|
887
|
+
|
|
888
|
+
"""
|
|
889
|
+
try:
|
|
890
|
+
params = request._serialize()
|
|
891
|
+
headers = request.headers
|
|
892
|
+
body = self.call("GetIpTraceStatus", params, headers=headers)
|
|
893
|
+
response = json.loads(body)
|
|
894
|
+
model = models.GetIpTraceStatusResponse()
|
|
895
|
+
model._deserialize(response["Response"])
|
|
896
|
+
return model
|
|
897
|
+
except Exception as e:
|
|
898
|
+
if isinstance(e, TencentCloudSDKException):
|
|
899
|
+
raise
|
|
900
|
+
else:
|
|
901
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
902
|
+
|
|
903
|
+
|
|
881
904
|
def GetRequestTargetNodeTypes(self, request):
|
|
882
905
|
r"""获取接收客户端请求的节点类型
|
|
883
906
|
|
|
@@ -970,6 +993,29 @@ class EsClient(AbstractClient):
|
|
|
970
993
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
971
994
|
|
|
972
995
|
|
|
996
|
+
def QueryIpTraceLog(self, request):
|
|
997
|
+
r"""查询IP溯源日志
|
|
998
|
+
|
|
999
|
+
:param request: Request instance for QueryIpTraceLog.
|
|
1000
|
+
:type request: :class:`tencentcloud.es.v20180416.models.QueryIpTraceLogRequest`
|
|
1001
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.QueryIpTraceLogResponse`
|
|
1002
|
+
|
|
1003
|
+
"""
|
|
1004
|
+
try:
|
|
1005
|
+
params = request._serialize()
|
|
1006
|
+
headers = request.headers
|
|
1007
|
+
body = self.call("QueryIpTraceLog", params, headers=headers)
|
|
1008
|
+
response = json.loads(body)
|
|
1009
|
+
model = models.QueryIpTraceLogResponse()
|
|
1010
|
+
model._deserialize(response["Response"])
|
|
1011
|
+
return model
|
|
1012
|
+
except Exception as e:
|
|
1013
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1014
|
+
raise
|
|
1015
|
+
else:
|
|
1016
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1017
|
+
|
|
1018
|
+
|
|
973
1019
|
def RestartInstance(self, request):
|
|
974
1020
|
r"""重启ES集群实例(用于系统版本更新等操作)
|
|
975
1021
|
|
|
@@ -1253,6 +1299,29 @@ class EsClient(AbstractClient):
|
|
|
1253
1299
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1254
1300
|
|
|
1255
1301
|
|
|
1302
|
+
def UpdateIpTraceStatus(self, request):
|
|
1303
|
+
r"""更新ES集群IP溯源状态
|
|
1304
|
+
|
|
1305
|
+
:param request: Request instance for UpdateIpTraceStatus.
|
|
1306
|
+
:type request: :class:`tencentcloud.es.v20180416.models.UpdateIpTraceStatusRequest`
|
|
1307
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.UpdateIpTraceStatusResponse`
|
|
1308
|
+
|
|
1309
|
+
"""
|
|
1310
|
+
try:
|
|
1311
|
+
params = request._serialize()
|
|
1312
|
+
headers = request.headers
|
|
1313
|
+
body = self.call("UpdateIpTraceStatus", params, headers=headers)
|
|
1314
|
+
response = json.loads(body)
|
|
1315
|
+
model = models.UpdateIpTraceStatusResponse()
|
|
1316
|
+
model._deserialize(response["Response"])
|
|
1317
|
+
return model
|
|
1318
|
+
except Exception as e:
|
|
1319
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1320
|
+
raise
|
|
1321
|
+
else:
|
|
1322
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1323
|
+
|
|
1324
|
+
|
|
1256
1325
|
def UpdateJdk(self, request):
|
|
1257
1326
|
r"""更新实例Jdk配置
|
|
1258
1327
|
|