tencentcloud-sdk-python-waf 3.1.196__tar.gz → 3.1.197__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/setup.py +1 -1
  3. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/models.py +64 -0
  5. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/waf_client.py +23 -0
  6. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/waf_client_async.py +18 -0
  7. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_waf-3.1.197/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_waf-3.1.196/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/README.rst +0 -0
  11. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/__init__.py +0 -0
  13. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/__init__.py +0 -0
  14. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_waf-3.1.196 → tencentcloud_sdk_python_waf-3.1.197}/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.196
3
+ Version: 3.1.197
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.196
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.197
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.196,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.197,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Waf SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.196'
17
+ __version__ = '3.1.197'
@@ -19319,6 +19319,70 @@ class DeleteLLMKeywordLibraryResponse(AbstractModel):
19319
19319
  self._RequestId = params.get("RequestId")
19320
19320
 
19321
19321
 
19322
+ class DeleteLLMSdkAccessRequest(AbstractModel):
19323
+ r"""DeleteLLMSdkAccess请求参数结构体
19324
+
19325
+ """
19326
+
19327
+ def __init__(self):
19328
+ r"""
19329
+ :param _Domain: 要删除的应用id
19330
+ :type Domain: str
19331
+ """
19332
+ self._Domain = None
19333
+
19334
+ @property
19335
+ def Domain(self):
19336
+ r"""要删除的应用id
19337
+ :rtype: str
19338
+ """
19339
+ return self._Domain
19340
+
19341
+ @Domain.setter
19342
+ def Domain(self, Domain):
19343
+ self._Domain = Domain
19344
+
19345
+
19346
+ def _deserialize(self, params):
19347
+ self._Domain = params.get("Domain")
19348
+ memeber_set = set(params.keys())
19349
+ for name, value in vars(self).items():
19350
+ property_name = name[1:]
19351
+ if property_name in memeber_set:
19352
+ memeber_set.remove(property_name)
19353
+ if len(memeber_set) > 0:
19354
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19355
+
19356
+
19357
+
19358
+ class DeleteLLMSdkAccessResponse(AbstractModel):
19359
+ r"""DeleteLLMSdkAccess返回参数结构体
19360
+
19361
+ """
19362
+
19363
+ def __init__(self):
19364
+ r"""
19365
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
19366
+ :type RequestId: str
19367
+ """
19368
+ self._RequestId = None
19369
+
19370
+ @property
19371
+ def RequestId(self):
19372
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
19373
+ :rtype: str
19374
+ """
19375
+ return self._RequestId
19376
+
19377
+ @RequestId.setter
19378
+ def RequestId(self, RequestId):
19379
+ self._RequestId = RequestId
19380
+
19381
+
19382
+ def _deserialize(self, params):
19383
+ self._RequestId = params.get("RequestId")
19384
+
19385
+
19322
19386
  class DeleteOwaspRuleStatusRequest(AbstractModel):
19323
19387
  r"""DeleteOwaspRuleStatus请求参数结构体
19324
19388
 
@@ -1061,6 +1061,29 @@ class WafClient(AbstractClient):
1061
1061
  raise TencentCloudSDKException(type(e).__name__, str(e))
1062
1062
 
1063
1063
 
1064
+ def DeleteLLMSdkAccess(self, request):
1065
+ r"""llmwaf-sdk删除接入配置接口
1066
+
1067
+ :param request: Request instance for DeleteLLMSdkAccess.
1068
+ :type request: :class:`tencentcloud.waf.v20180125.models.DeleteLLMSdkAccessRequest`
1069
+ :rtype: :class:`tencentcloud.waf.v20180125.models.DeleteLLMSdkAccessResponse`
1070
+
1071
+ """
1072
+ try:
1073
+ params = request._serialize()
1074
+ headers = request.headers
1075
+ body = self.call("DeleteLLMSdkAccess", params, headers=headers)
1076
+ response = json.loads(body)
1077
+ model = models.DeleteLLMSdkAccessResponse()
1078
+ model._deserialize(response["Response"])
1079
+ return model
1080
+ except Exception as e:
1081
+ if isinstance(e, TencentCloudSDKException):
1082
+ raise
1083
+ else:
1084
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1085
+
1086
+
1064
1087
  def DeleteOwaspRuleStatus(self, request):
1065
1088
  r"""解除门神规则的状态锁
1066
1089
 
@@ -835,6 +835,24 @@ class WafClient(AbstractClient):
835
835
 
836
836
  return await self.call_and_deserialize(**kwargs)
837
837
 
838
+ async def DeleteLLMSdkAccess(
839
+ self,
840
+ request: models.DeleteLLMSdkAccessRequest,
841
+ opts: Dict = None,
842
+ ) -> models.DeleteLLMSdkAccessResponse:
843
+ """
844
+ llmwaf-sdk删除接入配置接口
845
+ """
846
+
847
+ kwargs = {}
848
+ kwargs["action"] = "DeleteLLMSdkAccess"
849
+ kwargs["params"] = request._serialize()
850
+ kwargs["resp_cls"] = models.DeleteLLMSdkAccessResponse
851
+ kwargs["headers"] = request.headers
852
+ kwargs["opts"] = opts or {}
853
+
854
+ return await self.call_and_deserialize(**kwargs)
855
+
838
856
  async def DeleteOwaspRuleStatus(
839
857
  self,
840
858
  request: models.DeleteOwaspRuleStatusRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-waf
3
- Version: 3.1.196
3
+ Version: 3.1.197
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.196
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.197
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.197
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.196