tencentcloud-sdk-python-cwp 3.0.1245__tar.gz → 3.0.1266__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-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud/cwp/v20180228/cwp_client.py +12 -54
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud/cwp/v20180228/models.py +17852 -1337
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1266/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1245/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1245 → tencentcloud-sdk-python-cwp-3.0.1266}/tencentcloud_sdk_python_cwp.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cwp',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1266"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -325,31 +325,6 @@ class CwpClient(AbstractClient):
|
|
|
325
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
326
|
|
|
327
327
|
|
|
328
|
-
def CreateCloudProtectServiceOrderRecord(self, request):
|
|
329
|
-
"""云护航计费产品已下线
|
|
330
|
-
|
|
331
|
-
云护航服务使用完成后,该接口可以确认收货
|
|
332
|
-
|
|
333
|
-
:param request: Request instance for CreateCloudProtectServiceOrderRecord.
|
|
334
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.CreateCloudProtectServiceOrderRecordRequest`
|
|
335
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.CreateCloudProtectServiceOrderRecordResponse`
|
|
336
|
-
|
|
337
|
-
"""
|
|
338
|
-
try:
|
|
339
|
-
params = request._serialize()
|
|
340
|
-
headers = request.headers
|
|
341
|
-
body = self.call("CreateCloudProtectServiceOrderRecord", params, headers=headers)
|
|
342
|
-
response = json.loads(body)
|
|
343
|
-
model = models.CreateCloudProtectServiceOrderRecordResponse()
|
|
344
|
-
model._deserialize(response["Response"])
|
|
345
|
-
return model
|
|
346
|
-
except Exception as e:
|
|
347
|
-
if isinstance(e, TencentCloudSDKException):
|
|
348
|
-
raise
|
|
349
|
-
else:
|
|
350
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
351
|
-
|
|
352
|
-
|
|
353
328
|
def CreateEmergencyVulScan(self, request):
|
|
354
329
|
"""创建应急漏洞扫描任务
|
|
355
330
|
|
|
@@ -2815,7 +2790,9 @@ class CwpClient(AbstractClient):
|
|
|
2815
2790
|
|
|
2816
2791
|
|
|
2817
2792
|
def DescribeAttackLogs(self, request):
|
|
2818
|
-
"""
|
|
2793
|
+
"""DescribeAttackEvents 代替
|
|
2794
|
+
|
|
2795
|
+
按分页形式展示网络攻击日志列表
|
|
2819
2796
|
|
|
2820
2797
|
:param request: Request instance for DescribeAttackLogs.
|
|
2821
2798
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeAttackLogsRequest`
|
|
@@ -2838,7 +2815,9 @@ class CwpClient(AbstractClient):
|
|
|
2838
2815
|
|
|
2839
2816
|
|
|
2840
2817
|
def DescribeAttackSource(self, request):
|
|
2841
|
-
"""
|
|
2818
|
+
"""已废弃
|
|
2819
|
+
|
|
2820
|
+
查询攻击溯源
|
|
2842
2821
|
|
|
2843
2822
|
:param request: Request instance for DescribeAttackSource.
|
|
2844
2823
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeAttackSourceRequest`
|
|
@@ -2861,7 +2840,9 @@ class CwpClient(AbstractClient):
|
|
|
2861
2840
|
|
|
2862
2841
|
|
|
2863
2842
|
def DescribeAttackSourceEvents(self, request):
|
|
2864
|
-
"""
|
|
2843
|
+
"""已废弃
|
|
2844
|
+
|
|
2845
|
+
查询攻击溯源事件
|
|
2865
2846
|
|
|
2866
2847
|
:param request: Request instance for DescribeAttackSourceEvents.
|
|
2867
2848
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeAttackSourceEventsRequest`
|
|
@@ -4033,33 +4014,10 @@ class CwpClient(AbstractClient):
|
|
|
4033
4014
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4034
4015
|
|
|
4035
4016
|
|
|
4036
|
-
def DescribeCloudProtectServiceOrderList(self, request):
|
|
4037
|
-
"""云护航计费产品已下线
|
|
4038
|
-
|
|
4039
|
-
查询云护航服务订单列表
|
|
4040
|
-
|
|
4041
|
-
:param request: Request instance for DescribeCloudProtectServiceOrderList.
|
|
4042
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeCloudProtectServiceOrderListRequest`
|
|
4043
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeCloudProtectServiceOrderListResponse`
|
|
4044
|
-
|
|
4045
|
-
"""
|
|
4046
|
-
try:
|
|
4047
|
-
params = request._serialize()
|
|
4048
|
-
headers = request.headers
|
|
4049
|
-
body = self.call("DescribeCloudProtectServiceOrderList", params, headers=headers)
|
|
4050
|
-
response = json.loads(body)
|
|
4051
|
-
model = models.DescribeCloudProtectServiceOrderListResponse()
|
|
4052
|
-
model._deserialize(response["Response"])
|
|
4053
|
-
return model
|
|
4054
|
-
except Exception as e:
|
|
4055
|
-
if isinstance(e, TencentCloudSDKException):
|
|
4056
|
-
raise
|
|
4057
|
-
else:
|
|
4058
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
4017
|
def DescribeComponentStatistics(self, request):
|
|
4062
|
-
"""
|
|
4018
|
+
"""接口已无效
|
|
4019
|
+
|
|
4020
|
+
本接口 (DescribeComponentStatistics) 用于获取组件统计列表数据。
|
|
4063
4021
|
|
|
4064
4022
|
:param request: Request instance for DescribeComponentStatistics.
|
|
4065
4023
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeComponentStatisticsRequest`
|