tencentcloud-sdk-python-cwp 3.0.1459__tar.gz → 3.1.28__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.1.28/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/setup.py +2 -1
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud_sdk_python_cwp-3.1.28/tencentcloud/cwp/v20180228/cwp_client_async.py +9140 -0
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/tencentcloud/cwp/v20180228/models.py +935 -1682
- tencentcloud_sdk_python_cwp-3.1.28/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_cwp-3.1.28/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1459/PKG-INFO +0 -45
- tencentcloud-sdk-python-cwp-3.0.1459/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cwp-3.0.1459/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1459 → tencentcloud_sdk_python_cwp-3.1.28}/tencentcloud_sdk_python_cwp.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cwp
|
|
3
|
+
Version: 3.1.28
|
|
4
|
+
Summary: Tencent Cloud Cwp SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.28
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cwp SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cwp
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cwp
|
|
46
|
+
|
|
@@ -8,7 +8,8 @@ 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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.28,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -49,31 +49,6 @@ class CwpClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
def CancelIgnoreVul(self, request):
|
|
53
|
-
r"""产品变动切换到了\\n切换到 AddVulIgnoreRule / ModifyVulIgnoreRule CancelVulIgnoreRule\\n相关接口
|
|
54
|
-
|
|
55
|
-
取消漏洞忽略
|
|
56
|
-
|
|
57
|
-
:param request: Request instance for CancelIgnoreVul.
|
|
58
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.CancelIgnoreVulRequest`
|
|
59
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.CancelIgnoreVulResponse`
|
|
60
|
-
|
|
61
|
-
"""
|
|
62
|
-
try:
|
|
63
|
-
params = request._serialize()
|
|
64
|
-
headers = request.headers
|
|
65
|
-
body = self.call("CancelIgnoreVul", params, headers=headers)
|
|
66
|
-
response = json.loads(body)
|
|
67
|
-
model = models.CancelIgnoreVulResponse()
|
|
68
|
-
model._deserialize(response["Response"])
|
|
69
|
-
return model
|
|
70
|
-
except Exception as e:
|
|
71
|
-
if isinstance(e, TencentCloudSDKException):
|
|
72
|
-
raise
|
|
73
|
-
else:
|
|
74
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
75
|
-
|
|
76
|
-
|
|
77
52
|
def ChangeRuleEventsIgnoreStatus(self, request):
|
|
78
53
|
r"""根据检测项id或事件id批量忽略事件或取消忽略
|
|
79
54
|
|
|
@@ -2906,29 +2881,6 @@ class CwpClient(AbstractClient):
|
|
|
2906
2881
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2907
2882
|
|
|
2908
2883
|
|
|
2909
|
-
def DescribeAvailableExpertServiceDetail(self, request):
|
|
2910
|
-
r"""专家服务-可用订单详情
|
|
2911
|
-
|
|
2912
|
-
:param request: Request instance for DescribeAvailableExpertServiceDetail.
|
|
2913
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeAvailableExpertServiceDetailRequest`
|
|
2914
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeAvailableExpertServiceDetailResponse`
|
|
2915
|
-
|
|
2916
|
-
"""
|
|
2917
|
-
try:
|
|
2918
|
-
params = request._serialize()
|
|
2919
|
-
headers = request.headers
|
|
2920
|
-
body = self.call("DescribeAvailableExpertServiceDetail", params, headers=headers)
|
|
2921
|
-
response = json.loads(body)
|
|
2922
|
-
model = models.DescribeAvailableExpertServiceDetailResponse()
|
|
2923
|
-
model._deserialize(response["Response"])
|
|
2924
|
-
return model
|
|
2925
|
-
except Exception as e:
|
|
2926
|
-
if isinstance(e, TencentCloudSDKException):
|
|
2927
|
-
raise
|
|
2928
|
-
else:
|
|
2929
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
2884
|
def DescribeBanMode(self, request):
|
|
2933
2885
|
r"""获取爆破阻断模式
|
|
2934
2886
|
|
|
@@ -4033,29 +3985,6 @@ class CwpClient(AbstractClient):
|
|
|
4033
3985
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4034
3986
|
|
|
4035
3987
|
|
|
4036
|
-
def DescribeEmergencyResponseList(self, request):
|
|
4037
|
-
r"""专家服务-应急响应列表
|
|
4038
|
-
|
|
4039
|
-
:param request: Request instance for DescribeEmergencyResponseList.
|
|
4040
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeEmergencyResponseListRequest`
|
|
4041
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeEmergencyResponseListResponse`
|
|
4042
|
-
|
|
4043
|
-
"""
|
|
4044
|
-
try:
|
|
4045
|
-
params = request._serialize()
|
|
4046
|
-
headers = request.headers
|
|
4047
|
-
body = self.call("DescribeEmergencyResponseList", params, headers=headers)
|
|
4048
|
-
response = json.loads(body)
|
|
4049
|
-
model = models.DescribeEmergencyResponseListResponse()
|
|
4050
|
-
model._deserialize(response["Response"])
|
|
4051
|
-
return model
|
|
4052
|
-
except Exception as e:
|
|
4053
|
-
if isinstance(e, TencentCloudSDKException):
|
|
4054
|
-
raise
|
|
4055
|
-
else:
|
|
4056
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
3988
|
def DescribeEmergencyVulList(self, request):
|
|
4060
3989
|
r"""获取应急漏洞列表
|
|
4061
3990
|
|
|
@@ -4102,52 +4031,6 @@ class CwpClient(AbstractClient):
|
|
|
4102
4031
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4103
4032
|
|
|
4104
4033
|
|
|
4105
|
-
def DescribeExpertServiceList(self, request):
|
|
4106
|
-
r"""专家服务-安全管家列表
|
|
4107
|
-
|
|
4108
|
-
:param request: Request instance for DescribeExpertServiceList.
|
|
4109
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeExpertServiceListRequest`
|
|
4110
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeExpertServiceListResponse`
|
|
4111
|
-
|
|
4112
|
-
"""
|
|
4113
|
-
try:
|
|
4114
|
-
params = request._serialize()
|
|
4115
|
-
headers = request.headers
|
|
4116
|
-
body = self.call("DescribeExpertServiceList", params, headers=headers)
|
|
4117
|
-
response = json.loads(body)
|
|
4118
|
-
model = models.DescribeExpertServiceListResponse()
|
|
4119
|
-
model._deserialize(response["Response"])
|
|
4120
|
-
return model
|
|
4121
|
-
except Exception as e:
|
|
4122
|
-
if isinstance(e, TencentCloudSDKException):
|
|
4123
|
-
raise
|
|
4124
|
-
else:
|
|
4125
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
def DescribeExpertServiceOrderList(self, request):
|
|
4129
|
-
r"""专家服务-专家服务订单列表
|
|
4130
|
-
|
|
4131
|
-
:param request: Request instance for DescribeExpertServiceOrderList.
|
|
4132
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeExpertServiceOrderListRequest`
|
|
4133
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeExpertServiceOrderListResponse`
|
|
4134
|
-
|
|
4135
|
-
"""
|
|
4136
|
-
try:
|
|
4137
|
-
params = request._serialize()
|
|
4138
|
-
headers = request.headers
|
|
4139
|
-
body = self.call("DescribeExpertServiceOrderList", params, headers=headers)
|
|
4140
|
-
response = json.loads(body)
|
|
4141
|
-
model = models.DescribeExpertServiceOrderListResponse()
|
|
4142
|
-
model._deserialize(response["Response"])
|
|
4143
|
-
return model
|
|
4144
|
-
except Exception as e:
|
|
4145
|
-
if isinstance(e, TencentCloudSDKException):
|
|
4146
|
-
raise
|
|
4147
|
-
else:
|
|
4148
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
4034
|
def DescribeExportMachines(self, request):
|
|
4152
4035
|
r"""本接口 (DescribeExportMachines) 用于导出区域主机列表。
|
|
4153
4036
|
|
|
@@ -5574,29 +5457,6 @@ class CwpClient(AbstractClient):
|
|
|
5574
5457
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5575
5458
|
|
|
5576
5459
|
|
|
5577
|
-
def DescribeMonthInspectionReport(self, request):
|
|
5578
|
-
r"""专家服务-安全管家月巡检报告下载
|
|
5579
|
-
|
|
5580
|
-
:param request: Request instance for DescribeMonthInspectionReport.
|
|
5581
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeMonthInspectionReportRequest`
|
|
5582
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeMonthInspectionReportResponse`
|
|
5583
|
-
|
|
5584
|
-
"""
|
|
5585
|
-
try:
|
|
5586
|
-
params = request._serialize()
|
|
5587
|
-
headers = request.headers
|
|
5588
|
-
body = self.call("DescribeMonthInspectionReport", params, headers=headers)
|
|
5589
|
-
response = json.loads(body)
|
|
5590
|
-
model = models.DescribeMonthInspectionReportResponse()
|
|
5591
|
-
model._deserialize(response["Response"])
|
|
5592
|
-
return model
|
|
5593
|
-
except Exception as e:
|
|
5594
|
-
if isinstance(e, TencentCloudSDKException):
|
|
5595
|
-
raise
|
|
5596
|
-
else:
|
|
5597
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
5460
|
def DescribeNetAttackSetting(self, request):
|
|
5601
5461
|
r"""查询网络攻击设置
|
|
5602
5462
|
|
|
@@ -5896,29 +5756,6 @@ class CwpClient(AbstractClient):
|
|
|
5896
5756
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5897
5757
|
|
|
5898
5758
|
|
|
5899
|
-
def DescribeProtectNetList(self, request):
|
|
5900
|
-
r"""专家服务-旗舰重保列表
|
|
5901
|
-
|
|
5902
|
-
:param request: Request instance for DescribeProtectNetList.
|
|
5903
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeProtectNetListRequest`
|
|
5904
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeProtectNetListResponse`
|
|
5905
|
-
|
|
5906
|
-
"""
|
|
5907
|
-
try:
|
|
5908
|
-
params = request._serialize()
|
|
5909
|
-
headers = request.headers
|
|
5910
|
-
body = self.call("DescribeProtectNetList", params, headers=headers)
|
|
5911
|
-
response = json.loads(body)
|
|
5912
|
-
model = models.DescribeProtectNetListResponse()
|
|
5913
|
-
model._deserialize(response["Response"])
|
|
5914
|
-
return model
|
|
5915
|
-
except Exception as e:
|
|
5916
|
-
if isinstance(e, TencentCloudSDKException):
|
|
5917
|
-
raise
|
|
5918
|
-
else:
|
|
5919
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
5759
|
def DescribePublicProxyInstallCommand(self, request):
|
|
5923
5760
|
r"""获取公网接入代理安装命令
|
|
5924
5761
|
|
|
@@ -9829,31 +9666,6 @@ class CwpClient(AbstractClient):
|
|
|
9829
9666
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
9830
9667
|
|
|
9831
9668
|
|
|
9832
|
-
def IgnoreImpactedHosts(self, request):
|
|
9833
|
-
r"""产品变动切换到了\\n切换到 AddVulIgnoreRule / ModifyVulIgnoreRule CancelVulIgnoreRule\\n相关接口
|
|
9834
|
-
|
|
9835
|
-
本接口 (IgnoreImpactedHosts) 用于忽略漏洞。
|
|
9836
|
-
|
|
9837
|
-
:param request: Request instance for IgnoreImpactedHosts.
|
|
9838
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.IgnoreImpactedHostsRequest`
|
|
9839
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.IgnoreImpactedHostsResponse`
|
|
9840
|
-
|
|
9841
|
-
"""
|
|
9842
|
-
try:
|
|
9843
|
-
params = request._serialize()
|
|
9844
|
-
headers = request.headers
|
|
9845
|
-
body = self.call("IgnoreImpactedHosts", params, headers=headers)
|
|
9846
|
-
response = json.loads(body)
|
|
9847
|
-
model = models.IgnoreImpactedHostsResponse()
|
|
9848
|
-
model._deserialize(response["Response"])
|
|
9849
|
-
return model
|
|
9850
|
-
except Exception as e:
|
|
9851
|
-
if isinstance(e, TencentCloudSDKException):
|
|
9852
|
-
raise
|
|
9853
|
-
else:
|
|
9854
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
9669
|
def KeysLocalStorage(self, request):
|
|
9858
9670
|
r"""获取本地存储键值列表
|
|
9859
9671
|
|