tencentcloud-sdk-python-waf 3.1.94__tar.gz → 3.1.98__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.1.94 → tencentcloud_sdk_python_waf-3.1.98}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/setup.py +1 -1
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud/waf/v20180125/models.py +79 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud/waf/v20180125/waf_client_async.py +18 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_waf-3.1.98/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_waf-3.1.94/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/README.rst +0 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/setup.cfg +0 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_waf-3.1.94 → tencentcloud_sdk_python_waf-3.1.98}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-waf
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.98
|
|
4
4
|
Summary: Tencent Cloud Waf 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.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.98
|
|
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-waf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.98,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Waf SDK for Python',
|
|
@@ -48502,6 +48502,85 @@ class ModifyObjectsResponse(AbstractModel):
|
|
|
48502
48502
|
self._RequestId = params.get("RequestId")
|
|
48503
48503
|
|
|
48504
48504
|
|
|
48505
|
+
class ModifyOwaspDomainUpdateStatusRequest(AbstractModel):
|
|
48506
|
+
r"""ModifyOwaspDomainUpdateStatus请求参数结构体
|
|
48507
|
+
|
|
48508
|
+
"""
|
|
48509
|
+
|
|
48510
|
+
def __init__(self):
|
|
48511
|
+
r"""
|
|
48512
|
+
:param _Domain: 域名
|
|
48513
|
+
:type Domain: str
|
|
48514
|
+
:param _UpdateStatus: 新规则状态,0为关闭,1为开启,2为仅观察
|
|
48515
|
+
:type UpdateStatus: int
|
|
48516
|
+
"""
|
|
48517
|
+
self._Domain = None
|
|
48518
|
+
self._UpdateStatus = None
|
|
48519
|
+
|
|
48520
|
+
@property
|
|
48521
|
+
def Domain(self):
|
|
48522
|
+
r"""域名
|
|
48523
|
+
:rtype: str
|
|
48524
|
+
"""
|
|
48525
|
+
return self._Domain
|
|
48526
|
+
|
|
48527
|
+
@Domain.setter
|
|
48528
|
+
def Domain(self, Domain):
|
|
48529
|
+
self._Domain = Domain
|
|
48530
|
+
|
|
48531
|
+
@property
|
|
48532
|
+
def UpdateStatus(self):
|
|
48533
|
+
r"""新规则状态,0为关闭,1为开启,2为仅观察
|
|
48534
|
+
:rtype: int
|
|
48535
|
+
"""
|
|
48536
|
+
return self._UpdateStatus
|
|
48537
|
+
|
|
48538
|
+
@UpdateStatus.setter
|
|
48539
|
+
def UpdateStatus(self, UpdateStatus):
|
|
48540
|
+
self._UpdateStatus = UpdateStatus
|
|
48541
|
+
|
|
48542
|
+
|
|
48543
|
+
def _deserialize(self, params):
|
|
48544
|
+
self._Domain = params.get("Domain")
|
|
48545
|
+
self._UpdateStatus = params.get("UpdateStatus")
|
|
48546
|
+
memeber_set = set(params.keys())
|
|
48547
|
+
for name, value in vars(self).items():
|
|
48548
|
+
property_name = name[1:]
|
|
48549
|
+
if property_name in memeber_set:
|
|
48550
|
+
memeber_set.remove(property_name)
|
|
48551
|
+
if len(memeber_set) > 0:
|
|
48552
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
48553
|
+
|
|
48554
|
+
|
|
48555
|
+
|
|
48556
|
+
class ModifyOwaspDomainUpdateStatusResponse(AbstractModel):
|
|
48557
|
+
r"""ModifyOwaspDomainUpdateStatus返回参数结构体
|
|
48558
|
+
|
|
48559
|
+
"""
|
|
48560
|
+
|
|
48561
|
+
def __init__(self):
|
|
48562
|
+
r"""
|
|
48563
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
48564
|
+
:type RequestId: str
|
|
48565
|
+
"""
|
|
48566
|
+
self._RequestId = None
|
|
48567
|
+
|
|
48568
|
+
@property
|
|
48569
|
+
def RequestId(self):
|
|
48570
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
48571
|
+
:rtype: str
|
|
48572
|
+
"""
|
|
48573
|
+
return self._RequestId
|
|
48574
|
+
|
|
48575
|
+
@RequestId.setter
|
|
48576
|
+
def RequestId(self, RequestId):
|
|
48577
|
+
self._RequestId = RequestId
|
|
48578
|
+
|
|
48579
|
+
|
|
48580
|
+
def _deserialize(self, params):
|
|
48581
|
+
self._RequestId = params.get("RequestId")
|
|
48582
|
+
|
|
48583
|
+
|
|
48505
48584
|
class ModifyOwaspRuleStatusRequest(AbstractModel):
|
|
48506
48585
|
r"""ModifyOwaspRuleStatus请求参数结构体
|
|
48507
48586
|
|
|
@@ -4302,6 +4302,29 @@ class WafClient(AbstractClient):
|
|
|
4302
4302
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4303
4303
|
|
|
4304
4304
|
|
|
4305
|
+
def ModifyOwaspDomainUpdateStatus(self, request):
|
|
4306
|
+
r"""修改域名新规则状态
|
|
4307
|
+
|
|
4308
|
+
:param request: Request instance for ModifyOwaspDomainUpdateStatus.
|
|
4309
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspDomainUpdateStatusRequest`
|
|
4310
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspDomainUpdateStatusResponse`
|
|
4311
|
+
|
|
4312
|
+
"""
|
|
4313
|
+
try:
|
|
4314
|
+
params = request._serialize()
|
|
4315
|
+
headers = request.headers
|
|
4316
|
+
body = self.call("ModifyOwaspDomainUpdateStatus", params, headers=headers)
|
|
4317
|
+
response = json.loads(body)
|
|
4318
|
+
model = models.ModifyOwaspDomainUpdateStatusResponse()
|
|
4319
|
+
model._deserialize(response["Response"])
|
|
4320
|
+
return model
|
|
4321
|
+
except Exception as e:
|
|
4322
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4323
|
+
raise
|
|
4324
|
+
else:
|
|
4325
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4326
|
+
|
|
4327
|
+
|
|
4305
4328
|
def ModifyOwaspRuleStatus(self, request):
|
|
4306
4329
|
r"""更新规则的开关
|
|
4307
4330
|
|
|
@@ -3376,6 +3376,24 @@ class WafClient(AbstractClient):
|
|
|
3376
3376
|
|
|
3377
3377
|
return await self.call_and_deserialize(**kwargs)
|
|
3378
3378
|
|
|
3379
|
+
async def ModifyOwaspDomainUpdateStatus(
|
|
3380
|
+
self,
|
|
3381
|
+
request: models.ModifyOwaspDomainUpdateStatusRequest,
|
|
3382
|
+
opts: Dict = None,
|
|
3383
|
+
) -> models.ModifyOwaspDomainUpdateStatusResponse:
|
|
3384
|
+
"""
|
|
3385
|
+
修改域名新规则状态
|
|
3386
|
+
"""
|
|
3387
|
+
|
|
3388
|
+
kwargs = {}
|
|
3389
|
+
kwargs["action"] = "ModifyOwaspDomainUpdateStatus"
|
|
3390
|
+
kwargs["params"] = request._serialize()
|
|
3391
|
+
kwargs["resp_cls"] = models.ModifyOwaspDomainUpdateStatusResponse
|
|
3392
|
+
kwargs["headers"] = request.headers
|
|
3393
|
+
kwargs["opts"] = opts or {}
|
|
3394
|
+
|
|
3395
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3396
|
+
|
|
3379
3397
|
async def ModifyOwaspRuleStatus(
|
|
3380
3398
|
self,
|
|
3381
3399
|
request: models.ModifyOwaspRuleStatusRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-waf
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.98
|
|
4
4
|
Summary: Tencent Cloud Waf 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.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.98
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.98
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.94
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|