tencentcloud-sdk-python-waf 3.0.1082__tar.gz → 3.0.1083__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.1082 → tencentcloud-sdk-python-waf-3.0.1083}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/tencentcloud/waf/v20180125/errorcodes.py +3 -0
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/tencentcloud/waf/v20180125/models.py +82 -0
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-waf-3.0.1083/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.1082/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1082 → tencentcloud-sdk-python-waf-3.0.1083}/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.1083"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -26,6 +26,9 @@ DRYRUNOPERATION = 'DryRunOperation'
|
|
|
26
26
|
# 操作失败。
|
|
27
27
|
FAILEDOPERATION = 'FailedOperation'
|
|
28
28
|
|
|
29
|
+
# CKafka内部错误。
|
|
30
|
+
FAILEDOPERATION_CKAFKAINTERNALERROR = 'FailedOperation.CKafkaInternalError'
|
|
31
|
+
|
|
29
32
|
# 调用CLS日志服务API失败
|
|
30
33
|
FAILEDOPERATION_CLSDBOPERATIONFAILED = 'FailedOperation.CLSDBOperationFailed'
|
|
31
34
|
|
|
@@ -20028,6 +20028,88 @@ class ModifyDomainIpv6StatusResponse(AbstractModel):
|
|
|
20028
20028
|
self._RequestId = params.get("RequestId")
|
|
20029
20029
|
|
|
20030
20030
|
|
|
20031
|
+
class ModifyDomainPostActionRequest(AbstractModel):
|
|
20032
|
+
"""ModifyDomainPostAction请求参数结构体
|
|
20033
|
+
|
|
20034
|
+
"""
|
|
20035
|
+
|
|
20036
|
+
def __init__(self):
|
|
20037
|
+
r"""
|
|
20038
|
+
:param _Domain: www.tx.com
|
|
20039
|
+
:type Domain: str
|
|
20040
|
+
:param _PostCLSAction: 0-关闭投递,1-开启投递
|
|
20041
|
+
:type PostCLSAction: int
|
|
20042
|
+
:param _PostCKafkaAction: 0-关闭投递,1-开启投递
|
|
20043
|
+
:type PostCKafkaAction: int
|
|
20044
|
+
"""
|
|
20045
|
+
self._Domain = None
|
|
20046
|
+
self._PostCLSAction = None
|
|
20047
|
+
self._PostCKafkaAction = None
|
|
20048
|
+
|
|
20049
|
+
@property
|
|
20050
|
+
def Domain(self):
|
|
20051
|
+
return self._Domain
|
|
20052
|
+
|
|
20053
|
+
@Domain.setter
|
|
20054
|
+
def Domain(self, Domain):
|
|
20055
|
+
self._Domain = Domain
|
|
20056
|
+
|
|
20057
|
+
@property
|
|
20058
|
+
def PostCLSAction(self):
|
|
20059
|
+
return self._PostCLSAction
|
|
20060
|
+
|
|
20061
|
+
@PostCLSAction.setter
|
|
20062
|
+
def PostCLSAction(self, PostCLSAction):
|
|
20063
|
+
self._PostCLSAction = PostCLSAction
|
|
20064
|
+
|
|
20065
|
+
@property
|
|
20066
|
+
def PostCKafkaAction(self):
|
|
20067
|
+
return self._PostCKafkaAction
|
|
20068
|
+
|
|
20069
|
+
@PostCKafkaAction.setter
|
|
20070
|
+
def PostCKafkaAction(self, PostCKafkaAction):
|
|
20071
|
+
self._PostCKafkaAction = PostCKafkaAction
|
|
20072
|
+
|
|
20073
|
+
|
|
20074
|
+
def _deserialize(self, params):
|
|
20075
|
+
self._Domain = params.get("Domain")
|
|
20076
|
+
self._PostCLSAction = params.get("PostCLSAction")
|
|
20077
|
+
self._PostCKafkaAction = params.get("PostCKafkaAction")
|
|
20078
|
+
memeber_set = set(params.keys())
|
|
20079
|
+
for name, value in vars(self).items():
|
|
20080
|
+
property_name = name[1:]
|
|
20081
|
+
if property_name in memeber_set:
|
|
20082
|
+
memeber_set.remove(property_name)
|
|
20083
|
+
if len(memeber_set) > 0:
|
|
20084
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20085
|
+
|
|
20086
|
+
|
|
20087
|
+
|
|
20088
|
+
class ModifyDomainPostActionResponse(AbstractModel):
|
|
20089
|
+
"""ModifyDomainPostAction返回参数结构体
|
|
20090
|
+
|
|
20091
|
+
"""
|
|
20092
|
+
|
|
20093
|
+
def __init__(self):
|
|
20094
|
+
r"""
|
|
20095
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
20096
|
+
:type RequestId: str
|
|
20097
|
+
"""
|
|
20098
|
+
self._RequestId = None
|
|
20099
|
+
|
|
20100
|
+
@property
|
|
20101
|
+
def RequestId(self):
|
|
20102
|
+
return self._RequestId
|
|
20103
|
+
|
|
20104
|
+
@RequestId.setter
|
|
20105
|
+
def RequestId(self, RequestId):
|
|
20106
|
+
self._RequestId = RequestId
|
|
20107
|
+
|
|
20108
|
+
|
|
20109
|
+
def _deserialize(self, params):
|
|
20110
|
+
self._RequestId = params.get("RequestId")
|
|
20111
|
+
|
|
20112
|
+
|
|
20031
20113
|
class ModifyDomainWhiteRuleRequest(AbstractModel):
|
|
20032
20114
|
"""ModifyDomainWhiteRule请求参数结构体
|
|
20033
20115
|
|
|
@@ -2357,6 +2357,29 @@ class WafClient(AbstractClient):
|
|
|
2357
2357
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2358
2358
|
|
|
2359
2359
|
|
|
2360
|
+
def ModifyDomainPostAction(self, request):
|
|
2361
|
+
"""修改域名投递状态
|
|
2362
|
+
|
|
2363
|
+
:param request: Request instance for ModifyDomainPostAction.
|
|
2364
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.ModifyDomainPostActionRequest`
|
|
2365
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.ModifyDomainPostActionResponse`
|
|
2366
|
+
|
|
2367
|
+
"""
|
|
2368
|
+
try:
|
|
2369
|
+
params = request._serialize()
|
|
2370
|
+
headers = request.headers
|
|
2371
|
+
body = self.call("ModifyDomainPostAction", params, headers=headers)
|
|
2372
|
+
response = json.loads(body)
|
|
2373
|
+
model = models.ModifyDomainPostActionResponse()
|
|
2374
|
+
model._deserialize(response["Response"])
|
|
2375
|
+
return model
|
|
2376
|
+
except Exception as e:
|
|
2377
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2378
|
+
raise
|
|
2379
|
+
else:
|
|
2380
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2381
|
+
|
|
2382
|
+
|
|
2360
2383
|
def ModifyDomainWhiteRule(self, request):
|
|
2361
2384
|
"""更改某一条规则
|
|
2362
2385
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1083
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1082
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|