tencentcloud-sdk-python-cwp 3.0.1169__tar.gz → 3.0.1176__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.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/tencentcloud/cwp/v20180228/models.py +0 -70
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1176/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1169/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1169 → tencentcloud-sdk-python-cwp-3.0.1176}/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.1176"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -696,31 +696,6 @@ class CwpClient(AbstractClient):
|
|
|
696
696
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
697
697
|
|
|
698
698
|
|
|
699
|
-
def DeleteAttackLogs(self, request):
|
|
700
|
-
"""ModifyEventAttackStatus 接口替代
|
|
701
|
-
|
|
702
|
-
删除网络攻击日志
|
|
703
|
-
|
|
704
|
-
:param request: Request instance for DeleteAttackLogs.
|
|
705
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DeleteAttackLogsRequest`
|
|
706
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DeleteAttackLogsResponse`
|
|
707
|
-
|
|
708
|
-
"""
|
|
709
|
-
try:
|
|
710
|
-
params = request._serialize()
|
|
711
|
-
headers = request.headers
|
|
712
|
-
body = self.call("DeleteAttackLogs", params, headers=headers)
|
|
713
|
-
response = json.loads(body)
|
|
714
|
-
model = models.DeleteAttackLogsResponse()
|
|
715
|
-
model._deserialize(response["Response"])
|
|
716
|
-
return model
|
|
717
|
-
except Exception as e:
|
|
718
|
-
if isinstance(e, TencentCloudSDKException):
|
|
719
|
-
raise
|
|
720
|
-
else:
|
|
721
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
722
|
-
|
|
723
|
-
|
|
724
699
|
def DeleteBanWhiteList(self, request):
|
|
725
700
|
"""删除阻断白名单列表
|
|
726
701
|
|
|
@@ -16740,76 +16740,6 @@ class DeleteAllJavaMemShellsResponse(AbstractModel):
|
|
|
16740
16740
|
self._RequestId = params.get("RequestId")
|
|
16741
16741
|
|
|
16742
16742
|
|
|
16743
|
-
class DeleteAttackLogsRequest(AbstractModel):
|
|
16744
|
-
"""DeleteAttackLogs请求参数结构体
|
|
16745
|
-
|
|
16746
|
-
"""
|
|
16747
|
-
|
|
16748
|
-
def __init__(self):
|
|
16749
|
-
r"""
|
|
16750
|
-
:param _Ids: 日志ID数组,最大100条。
|
|
16751
|
-
:type Ids: list of int non-negative
|
|
16752
|
-
:param _IsAll: 是否全部删除
|
|
16753
|
-
:type IsAll: bool
|
|
16754
|
-
"""
|
|
16755
|
-
self._Ids = None
|
|
16756
|
-
self._IsAll = None
|
|
16757
|
-
|
|
16758
|
-
@property
|
|
16759
|
-
def Ids(self):
|
|
16760
|
-
return self._Ids
|
|
16761
|
-
|
|
16762
|
-
@Ids.setter
|
|
16763
|
-
def Ids(self, Ids):
|
|
16764
|
-
self._Ids = Ids
|
|
16765
|
-
|
|
16766
|
-
@property
|
|
16767
|
-
def IsAll(self):
|
|
16768
|
-
return self._IsAll
|
|
16769
|
-
|
|
16770
|
-
@IsAll.setter
|
|
16771
|
-
def IsAll(self, IsAll):
|
|
16772
|
-
self._IsAll = IsAll
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
def _deserialize(self, params):
|
|
16776
|
-
self._Ids = params.get("Ids")
|
|
16777
|
-
self._IsAll = params.get("IsAll")
|
|
16778
|
-
memeber_set = set(params.keys())
|
|
16779
|
-
for name, value in vars(self).items():
|
|
16780
|
-
property_name = name[1:]
|
|
16781
|
-
if property_name in memeber_set:
|
|
16782
|
-
memeber_set.remove(property_name)
|
|
16783
|
-
if len(memeber_set) > 0:
|
|
16784
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
|
|
16788
|
-
class DeleteAttackLogsResponse(AbstractModel):
|
|
16789
|
-
"""DeleteAttackLogs返回参数结构体
|
|
16790
|
-
|
|
16791
|
-
"""
|
|
16792
|
-
|
|
16793
|
-
def __init__(self):
|
|
16794
|
-
r"""
|
|
16795
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16796
|
-
:type RequestId: str
|
|
16797
|
-
"""
|
|
16798
|
-
self._RequestId = None
|
|
16799
|
-
|
|
16800
|
-
@property
|
|
16801
|
-
def RequestId(self):
|
|
16802
|
-
return self._RequestId
|
|
16803
|
-
|
|
16804
|
-
@RequestId.setter
|
|
16805
|
-
def RequestId(self, RequestId):
|
|
16806
|
-
self._RequestId = RequestId
|
|
16807
|
-
|
|
16808
|
-
|
|
16809
|
-
def _deserialize(self, params):
|
|
16810
|
-
self._RequestId = params.get("RequestId")
|
|
16811
|
-
|
|
16812
|
-
|
|
16813
16743
|
class DeleteBanWhiteListRequest(AbstractModel):
|
|
16814
16744
|
"""DeleteBanWhiteList请求参数结构体
|
|
16815
16745
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1176
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1169
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|