tencentcloud-sdk-python-waf 3.0.1179__tar.gz → 3.0.1180__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.1179 → tencentcloud-sdk-python-waf-3.0.1180}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/tencentcloud/waf/v20180125/models.py +0 -74
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/tencentcloud/waf/v20180125/waf_client.py +0 -23
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-waf-3.0.1180/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.1179/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1179 → tencentcloud-sdk-python-waf-3.0.1180}/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.1180"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -20308,80 +20308,6 @@ class MiniPkg(AbstractModel):
|
|
|
20308
20308
|
|
|
20309
20309
|
|
|
20310
20310
|
|
|
20311
|
-
class ModifyAccessPeriodRequest(AbstractModel):
|
|
20312
|
-
"""ModifyAccessPeriod请求参数结构体
|
|
20313
|
-
|
|
20314
|
-
"""
|
|
20315
|
-
|
|
20316
|
-
def __init__(self):
|
|
20317
|
-
r"""
|
|
20318
|
-
:param _Period: 访问日志保存期限,范围为[1, 180]
|
|
20319
|
-
:type Period: int
|
|
20320
|
-
:param _TopicId: 日志主题,新版本不需要再传
|
|
20321
|
-
:type TopicId: str
|
|
20322
|
-
"""
|
|
20323
|
-
self._Period = None
|
|
20324
|
-
self._TopicId = None
|
|
20325
|
-
|
|
20326
|
-
@property
|
|
20327
|
-
def Period(self):
|
|
20328
|
-
return self._Period
|
|
20329
|
-
|
|
20330
|
-
@Period.setter
|
|
20331
|
-
def Period(self, Period):
|
|
20332
|
-
self._Period = Period
|
|
20333
|
-
|
|
20334
|
-
@property
|
|
20335
|
-
def TopicId(self):
|
|
20336
|
-
warnings.warn("parameter `TopicId` is deprecated", DeprecationWarning)
|
|
20337
|
-
|
|
20338
|
-
return self._TopicId
|
|
20339
|
-
|
|
20340
|
-
@TopicId.setter
|
|
20341
|
-
def TopicId(self, TopicId):
|
|
20342
|
-
warnings.warn("parameter `TopicId` is deprecated", DeprecationWarning)
|
|
20343
|
-
|
|
20344
|
-
self._TopicId = TopicId
|
|
20345
|
-
|
|
20346
|
-
|
|
20347
|
-
def _deserialize(self, params):
|
|
20348
|
-
self._Period = params.get("Period")
|
|
20349
|
-
self._TopicId = params.get("TopicId")
|
|
20350
|
-
memeber_set = set(params.keys())
|
|
20351
|
-
for name, value in vars(self).items():
|
|
20352
|
-
property_name = name[1:]
|
|
20353
|
-
if property_name in memeber_set:
|
|
20354
|
-
memeber_set.remove(property_name)
|
|
20355
|
-
if len(memeber_set) > 0:
|
|
20356
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20357
|
-
|
|
20358
|
-
|
|
20359
|
-
|
|
20360
|
-
class ModifyAccessPeriodResponse(AbstractModel):
|
|
20361
|
-
"""ModifyAccessPeriod返回参数结构体
|
|
20362
|
-
|
|
20363
|
-
"""
|
|
20364
|
-
|
|
20365
|
-
def __init__(self):
|
|
20366
|
-
r"""
|
|
20367
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20368
|
-
:type RequestId: str
|
|
20369
|
-
"""
|
|
20370
|
-
self._RequestId = None
|
|
20371
|
-
|
|
20372
|
-
@property
|
|
20373
|
-
def RequestId(self):
|
|
20374
|
-
return self._RequestId
|
|
20375
|
-
|
|
20376
|
-
@RequestId.setter
|
|
20377
|
-
def RequestId(self, RequestId):
|
|
20378
|
-
self._RequestId = RequestId
|
|
20379
|
-
|
|
20380
|
-
|
|
20381
|
-
def _deserialize(self, params):
|
|
20382
|
-
self._RequestId = params.get("RequestId")
|
|
20383
|
-
|
|
20384
|
-
|
|
20385
20311
|
class ModifyAntiFakeUrlRequest(AbstractModel):
|
|
20386
20312
|
"""ModifyAntiFakeUrl请求参数结构体
|
|
20387
20313
|
|
|
@@ -2171,29 +2171,6 @@ class WafClient(AbstractClient):
|
|
|
2171
2171
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2172
2172
|
|
|
2173
2173
|
|
|
2174
|
-
def ModifyAccessPeriod(self, request):
|
|
2175
|
-
"""本接口用于修改访问日志保存期限等字段信息
|
|
2176
|
-
|
|
2177
|
-
:param request: Request instance for ModifyAccessPeriod.
|
|
2178
|
-
:type request: :class:`tencentcloud.waf.v20180125.models.ModifyAccessPeriodRequest`
|
|
2179
|
-
:rtype: :class:`tencentcloud.waf.v20180125.models.ModifyAccessPeriodResponse`
|
|
2180
|
-
|
|
2181
|
-
"""
|
|
2182
|
-
try:
|
|
2183
|
-
params = request._serialize()
|
|
2184
|
-
headers = request.headers
|
|
2185
|
-
body = self.call("ModifyAccessPeriod", params, headers=headers)
|
|
2186
|
-
response = json.loads(body)
|
|
2187
|
-
model = models.ModifyAccessPeriodResponse()
|
|
2188
|
-
model._deserialize(response["Response"])
|
|
2189
|
-
return model
|
|
2190
|
-
except Exception as e:
|
|
2191
|
-
if isinstance(e, TencentCloudSDKException):
|
|
2192
|
-
raise
|
|
2193
|
-
else:
|
|
2194
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
2174
|
def ModifyAntiFakeUrl(self, request):
|
|
2198
2175
|
"""编辑防篡改url
|
|
2199
2176
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1180
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1179
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|