tencentcloud-sdk-python-waf 3.1.191__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.191 → tencentcloud_sdk_python_waf-3.1.197}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/setup.py +1 -1
  3. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/models.py +78 -14
  5. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/waf_client.py +23 -0
  6. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/waf_client_async.py +18 -0
  7. {tencentcloud_sdk_python_waf-3.1.191 → 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.191/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/README.rst +0 -0
  11. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/__init__.py +0 -0
  13. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/__init__.py +0 -0
  14. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_waf-3.1.191 → tencentcloud_sdk_python_waf-3.1.197}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_waf-3.1.191 → 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.191 → 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.191
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.191
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.191,<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.191'
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
 
@@ -39410,13 +39474,13 @@ class GetAttackHistogramRequest(AbstractModel):
39410
39474
 
39411
39475
  def __init__(self):
39412
39476
  r"""
39413
- :param _Domain: 查询的域名,所有域名使用all
39477
+ :param _Domain: <p>查询的域名,所有域名使用all</p>
39414
39478
  :type Domain: str
39415
- :param _StartTime: 查询起始时间
39479
+ :param _StartTime: <p>查询起始时间</p>
39416
39480
  :type StartTime: str
39417
- :param _EndTime: 查询结束时间
39481
+ :param _EndTime: <p>查询结束时间</p>
39418
39482
  :type EndTime: str
39419
- :param _QueryString: Lucene语法
39483
+ :param _QueryString: <p>Lucene语法</p>
39420
39484
  :type QueryString: str
39421
39485
  """
39422
39486
  self._Domain = None
@@ -39426,7 +39490,7 @@ class GetAttackHistogramRequest(AbstractModel):
39426
39490
 
39427
39491
  @property
39428
39492
  def Domain(self):
39429
- r"""查询的域名,所有域名使用all
39493
+ r"""<p>查询的域名,所有域名使用all</p>
39430
39494
  :rtype: str
39431
39495
  """
39432
39496
  return self._Domain
@@ -39437,7 +39501,7 @@ class GetAttackHistogramRequest(AbstractModel):
39437
39501
 
39438
39502
  @property
39439
39503
  def StartTime(self):
39440
- r"""查询起始时间
39504
+ r"""<p>查询起始时间</p>
39441
39505
  :rtype: str
39442
39506
  """
39443
39507
  return self._StartTime
@@ -39448,7 +39512,7 @@ class GetAttackHistogramRequest(AbstractModel):
39448
39512
 
39449
39513
  @property
39450
39514
  def EndTime(self):
39451
- r"""查询结束时间
39515
+ r"""<p>查询结束时间</p>
39452
39516
  :rtype: str
39453
39517
  """
39454
39518
  return self._EndTime
@@ -39459,7 +39523,7 @@ class GetAttackHistogramRequest(AbstractModel):
39459
39523
 
39460
39524
  @property
39461
39525
  def QueryString(self):
39462
- r"""Lucene语法
39526
+ r"""<p>Lucene语法</p>
39463
39527
  :rtype: str
39464
39528
  """
39465
39529
  return self._QueryString
@@ -39491,11 +39555,11 @@ class GetAttackHistogramResponse(AbstractModel):
39491
39555
 
39492
39556
  def __init__(self):
39493
39557
  r"""
39494
- :param _Data: 统计详情
39558
+ :param _Data: <p>统计详情</p>
39495
39559
  :type Data: list of LogHistogramInfo
39496
- :param _Period: 时间段大小
39560
+ :param _Period: <p>时间段大小</p><p>单位:秒</p>
39497
39561
  :type Period: int
39498
- :param _TotalCount: 统计的条目数
39562
+ :param _TotalCount: <p>统计的条目数</p>
39499
39563
  :type TotalCount: int
39500
39564
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
39501
39565
  :type RequestId: str
@@ -39507,7 +39571,7 @@ class GetAttackHistogramResponse(AbstractModel):
39507
39571
 
39508
39572
  @property
39509
39573
  def Data(self):
39510
- r"""统计详情
39574
+ r"""<p>统计详情</p>
39511
39575
  :rtype: list of LogHistogramInfo
39512
39576
  """
39513
39577
  return self._Data
@@ -39518,7 +39582,7 @@ class GetAttackHistogramResponse(AbstractModel):
39518
39582
 
39519
39583
  @property
39520
39584
  def Period(self):
39521
- r"""时间段大小
39585
+ r"""<p>时间段大小</p><p>单位:秒</p>
39522
39586
  :rtype: int
39523
39587
  """
39524
39588
  return self._Period
@@ -39529,7 +39593,7 @@ class GetAttackHistogramResponse(AbstractModel):
39529
39593
 
39530
39594
  @property
39531
39595
  def TotalCount(self):
39532
- r"""统计的条目数
39596
+ r"""<p>统计的条目数</p>
39533
39597
  :rtype: int
39534
39598
  """
39535
39599
  return self._TotalCount
@@ -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.191
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.191
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.191