tencentcloud-sdk-python-waf 3.0.1373__tar.gz → 3.0.1375__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-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud/waf/v20180125/models.py +34 -0
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-waf-3.0.1375/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.1373/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1373 → tencentcloud-sdk-python-waf-3.0.1375}/tencentcloud_sdk_python_waf.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-waf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1375"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -33729,6 +33729,40 @@ class ModifyHostStatusResponse(AbstractModel):
|
|
|
33729
33729
|
self._RequestId = params.get("RequestId")
|
|
33730
33730
|
|
|
33731
33731
|
|
|
33732
|
+
class ModifyInstanceAttackLogPostRequest(AbstractModel):
|
|
33733
|
+
"""ModifyInstanceAttackLogPost请求参数结构体
|
|
33734
|
+
|
|
33735
|
+
"""
|
|
33736
|
+
|
|
33737
|
+
|
|
33738
|
+
class ModifyInstanceAttackLogPostResponse(AbstractModel):
|
|
33739
|
+
"""ModifyInstanceAttackLogPost返回参数结构体
|
|
33740
|
+
|
|
33741
|
+
"""
|
|
33742
|
+
|
|
33743
|
+
def __init__(self):
|
|
33744
|
+
r"""
|
|
33745
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33746
|
+
:type RequestId: str
|
|
33747
|
+
"""
|
|
33748
|
+
self._RequestId = None
|
|
33749
|
+
|
|
33750
|
+
@property
|
|
33751
|
+
def RequestId(self):
|
|
33752
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33753
|
+
:rtype: str
|
|
33754
|
+
"""
|
|
33755
|
+
return self._RequestId
|
|
33756
|
+
|
|
33757
|
+
@RequestId.setter
|
|
33758
|
+
def RequestId(self, RequestId):
|
|
33759
|
+
self._RequestId = RequestId
|
|
33760
|
+
|
|
33761
|
+
|
|
33762
|
+
def _deserialize(self, params):
|
|
33763
|
+
self._RequestId = params.get("RequestId")
|
|
33764
|
+
|
|
33765
|
+
|
|
33732
33766
|
class ModifyInstanceElasticModeRequest(AbstractModel):
|
|
33733
33767
|
"""ModifyInstanceElasticMode请求参数结构体
|
|
33734
33768
|
|
|
@@ -3134,6 +3134,29 @@ class WafClient(AbstractClient):
|
|
|
3134
3134
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3135
3135
|
|
|
3136
3136
|
|
|
3137
|
+
def ModifyInstanceAttackLogPost(self, request):
|
|
3138
|
+
"""修改实例攻击日志投递开关,企业版及以上版本可以开通,否则返回错误
|
|
3139
|
+
|
|
3140
|
+
:param request: Request instance for ModifyInstanceAttackLogPost.
|
|
3141
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.ModifyInstanceAttackLogPostRequest`
|
|
3142
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.ModifyInstanceAttackLogPostResponse`
|
|
3143
|
+
|
|
3144
|
+
"""
|
|
3145
|
+
try:
|
|
3146
|
+
params = request._serialize()
|
|
3147
|
+
headers = request.headers
|
|
3148
|
+
body = self.call("ModifyInstanceAttackLogPost", params, headers=headers)
|
|
3149
|
+
response = json.loads(body)
|
|
3150
|
+
model = models.ModifyInstanceAttackLogPostResponse()
|
|
3151
|
+
model._deserialize(response["Response"])
|
|
3152
|
+
return model
|
|
3153
|
+
except Exception as e:
|
|
3154
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3155
|
+
raise
|
|
3156
|
+
else:
|
|
3157
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3158
|
+
|
|
3159
|
+
|
|
3137
3160
|
def ModifyInstanceElasticMode(self, request):
|
|
3138
3161
|
"""修改实例的QPS弹性计费开关
|
|
3139
3162
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1375
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1373
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|