tencentcloud-sdk-python 3.0.1443__py2.py3-none-any.whl → 3.0.1444__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (38) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +2 -2
  3. tencentcloud/clb/v20180317/models.py +422 -26
  4. tencentcloud/cls/v20201016/cls_client.py +1 -1
  5. tencentcloud/cls/v20201016/models.py +148 -112
  6. tencentcloud/keewidb/v20220308/errorcodes.py +3 -0
  7. tencentcloud/keewidb/v20220308/models.py +2 -2
  8. tencentcloud/lcic/v20220817/errorcodes.py +15 -0
  9. tencentcloud/lcic/v20220817/models.py +67 -16
  10. tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
  11. tencentcloud/mongodb/v20190725/models.py +4 -4
  12. tencentcloud/mps/v20190612/models.py +64 -0
  13. tencentcloud/ocr/v20181119/models.py +31 -16
  14. tencentcloud/postgres/v20170312/errorcodes.py +0 -12
  15. tencentcloud/postgres/v20170312/models.py +191 -1527
  16. tencentcloud/postgres/v20170312/postgres_client.py +0 -75
  17. tencentcloud/sts/v20180813/sts_client.py +21 -7
  18. tencentcloud/tcbr/v20220217/models.py +151 -0
  19. tencentcloud/tcss/v20201101/models.py +45 -0
  20. tencentcloud/tke/v20180525/models.py +17 -2
  21. tencentcloud/trabbit/v20230418/models.py +60 -0
  22. tencentcloud/trocket/v20230308/models.py +319 -0
  23. tencentcloud/trocket/v20230308/trocket_client.py +25 -0
  24. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  25. tencentcloud/trtc/v20190722/models.py +6 -4
  26. tencentcloud/tsf/v20180326/errorcodes.py +9 -0
  27. tencentcloud/tsf/v20180326/models.py +761 -517
  28. tencentcloud/vod/v20180717/models.py +63 -10
  29. tencentcloud/vod/v20180717/vod_client.py +1 -0
  30. tencentcloud/waf/v20180125/errorcodes.py +6 -0
  31. tencentcloud/waf/v20180125/models.py +1926 -744
  32. tencentcloud/waf/v20180125/waf_client.py +161 -0
  33. tencentcloud/wedata/v20210820/models.py +204 -0
  34. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/METADATA +1 -1
  35. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/RECORD +38 -38
  36. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/LICENSE +0 -0
  37. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/WHEEL +0 -0
  38. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/top_level.txt +0 -0
@@ -716,6 +716,29 @@ class WafClient(AbstractClient):
716
716
  raise TencentCloudSDKException(type(e).__name__, str(e))
717
717
 
718
718
 
719
+ def DeleteOwaspRuleStatus(self, request):
720
+ """解除门神规则的状态锁
721
+
722
+ :param request: Request instance for DeleteOwaspRuleStatus.
723
+ :type request: :class:`tencentcloud.waf.v20180125.models.DeleteOwaspRuleStatusRequest`
724
+ :rtype: :class:`tencentcloud.waf.v20180125.models.DeleteOwaspRuleStatusResponse`
725
+
726
+ """
727
+ try:
728
+ params = request._serialize()
729
+ headers = request.headers
730
+ body = self.call("DeleteOwaspRuleStatus", params, headers=headers)
731
+ response = json.loads(body)
732
+ model = models.DeleteOwaspRuleStatusResponse()
733
+ model._deserialize(response["Response"])
734
+ return model
735
+ except Exception as e:
736
+ if isinstance(e, TencentCloudSDKException):
737
+ raise
738
+ else:
739
+ raise TencentCloudSDKException(type(e).__name__, str(e))
740
+
741
+
719
742
  def DeleteOwaspWhiteRule(self, request):
720
743
  """删除用户规则引擎白名单
721
744
 
@@ -1797,6 +1820,52 @@ class WafClient(AbstractClient):
1797
1820
  raise TencentCloudSDKException(type(e).__name__, str(e))
1798
1821
 
1799
1822
 
1823
+ def DescribeOwaspRuleTypes(self, request):
1824
+ """查询规则引擎的规则类型列表
1825
+
1826
+ :param request: Request instance for DescribeOwaspRuleTypes.
1827
+ :type request: :class:`tencentcloud.waf.v20180125.models.DescribeOwaspRuleTypesRequest`
1828
+ :rtype: :class:`tencentcloud.waf.v20180125.models.DescribeOwaspRuleTypesResponse`
1829
+
1830
+ """
1831
+ try:
1832
+ params = request._serialize()
1833
+ headers = request.headers
1834
+ body = self.call("DescribeOwaspRuleTypes", params, headers=headers)
1835
+ response = json.loads(body)
1836
+ model = models.DescribeOwaspRuleTypesResponse()
1837
+ model._deserialize(response["Response"])
1838
+ return model
1839
+ except Exception as e:
1840
+ if isinstance(e, TencentCloudSDKException):
1841
+ raise
1842
+ else:
1843
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1844
+
1845
+
1846
+ def DescribeOwaspRules(self, request):
1847
+ """查询规则引擎的规则列表
1848
+
1849
+ :param request: Request instance for DescribeOwaspRules.
1850
+ :type request: :class:`tencentcloud.waf.v20180125.models.DescribeOwaspRulesRequest`
1851
+ :rtype: :class:`tencentcloud.waf.v20180125.models.DescribeOwaspRulesResponse`
1852
+
1853
+ """
1854
+ try:
1855
+ params = request._serialize()
1856
+ headers = request.headers
1857
+ body = self.call("DescribeOwaspRules", params, headers=headers)
1858
+ response = json.loads(body)
1859
+ model = models.DescribeOwaspRulesResponse()
1860
+ model._deserialize(response["Response"])
1861
+ return model
1862
+ except Exception as e:
1863
+ if isinstance(e, TencentCloudSDKException):
1864
+ raise
1865
+ else:
1866
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1867
+
1868
+
1800
1869
  def DescribeOwaspWhiteRules(self, request):
1801
1870
  """获取规则引擎白名单列表
1802
1871
 
@@ -3387,6 +3456,98 @@ class WafClient(AbstractClient):
3387
3456
  raise TencentCloudSDKException(type(e).__name__, str(e))
3388
3457
 
3389
3458
 
3459
+ def ModifyOwaspRuleStatus(self, request):
3460
+ """更新规则的开关
3461
+
3462
+ :param request: Request instance for ModifyOwaspRuleStatus.
3463
+ :type request: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspRuleStatusRequest`
3464
+ :rtype: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspRuleStatusResponse`
3465
+
3466
+ """
3467
+ try:
3468
+ params = request._serialize()
3469
+ headers = request.headers
3470
+ body = self.call("ModifyOwaspRuleStatus", params, headers=headers)
3471
+ response = json.loads(body)
3472
+ model = models.ModifyOwaspRuleStatusResponse()
3473
+ model._deserialize(response["Response"])
3474
+ return model
3475
+ except Exception as e:
3476
+ if isinstance(e, TencentCloudSDKException):
3477
+ raise
3478
+ else:
3479
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3480
+
3481
+
3482
+ def ModifyOwaspRuleTypeAction(self, request):
3483
+ """更新规则类型的防护模式
3484
+
3485
+ :param request: Request instance for ModifyOwaspRuleTypeAction.
3486
+ :type request: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspRuleTypeActionRequest`
3487
+ :rtype: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspRuleTypeActionResponse`
3488
+
3489
+ """
3490
+ try:
3491
+ params = request._serialize()
3492
+ headers = request.headers
3493
+ body = self.call("ModifyOwaspRuleTypeAction", params, headers=headers)
3494
+ response = json.loads(body)
3495
+ model = models.ModifyOwaspRuleTypeActionResponse()
3496
+ model._deserialize(response["Response"])
3497
+ return model
3498
+ except Exception as e:
3499
+ if isinstance(e, TencentCloudSDKException):
3500
+ raise
3501
+ else:
3502
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3503
+
3504
+
3505
+ def ModifyOwaspRuleTypeLevel(self, request):
3506
+ """更新规则类型的防护等级
3507
+
3508
+ :param request: Request instance for ModifyOwaspRuleTypeLevel.
3509
+ :type request: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspRuleTypeLevelRequest`
3510
+ :rtype: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspRuleTypeLevelResponse`
3511
+
3512
+ """
3513
+ try:
3514
+ params = request._serialize()
3515
+ headers = request.headers
3516
+ body = self.call("ModifyOwaspRuleTypeLevel", params, headers=headers)
3517
+ response = json.loads(body)
3518
+ model = models.ModifyOwaspRuleTypeLevelResponse()
3519
+ model._deserialize(response["Response"])
3520
+ return model
3521
+ except Exception as e:
3522
+ if isinstance(e, TencentCloudSDKException):
3523
+ raise
3524
+ else:
3525
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3526
+
3527
+
3528
+ def ModifyOwaspRuleTypeStatus(self, request):
3529
+ """更新规则类型的开关
3530
+
3531
+ :param request: Request instance for ModifyOwaspRuleTypeStatus.
3532
+ :type request: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspRuleTypeStatusRequest`
3533
+ :rtype: :class:`tencentcloud.waf.v20180125.models.ModifyOwaspRuleTypeStatusResponse`
3534
+
3535
+ """
3536
+ try:
3537
+ params = request._serialize()
3538
+ headers = request.headers
3539
+ body = self.call("ModifyOwaspRuleTypeStatus", params, headers=headers)
3540
+ response = json.loads(body)
3541
+ model = models.ModifyOwaspRuleTypeStatusResponse()
3542
+ model._deserialize(response["Response"])
3543
+ return model
3544
+ except Exception as e:
3545
+ if isinstance(e, TencentCloudSDKException):
3546
+ raise
3547
+ else:
3548
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3549
+
3550
+
3390
3551
  def ModifyOwaspWhiteRule(self, request):
3391
3552
  """编辑规则引擎白名单
3392
3553
 
@@ -11007,11 +11007,15 @@ class CompareResult(AbstractModel):
11007
11007
  :param _TriggerRows: 检测不通过行数
11008
11008
  注意:此字段可能返回 null,表示取不到有效值。
11009
11009
  :type TriggerRows: int
11010
+ :param _ComputeExpression: 比较关系
11011
+ 注意:此字段可能返回 null,表示取不到有效值。
11012
+ :type ComputeExpression: str
11010
11013
  """
11011
11014
  self._Items = None
11012
11015
  self._TotalRows = None
11013
11016
  self._PassRows = None
11014
11017
  self._TriggerRows = None
11018
+ self._ComputeExpression = None
11015
11019
 
11016
11020
  @property
11017
11021
  def Items(self):
@@ -11061,6 +11065,18 @@ class CompareResult(AbstractModel):
11061
11065
  def TriggerRows(self, TriggerRows):
11062
11066
  self._TriggerRows = TriggerRows
11063
11067
 
11068
+ @property
11069
+ def ComputeExpression(self):
11070
+ """比较关系
11071
+ 注意:此字段可能返回 null,表示取不到有效值。
11072
+ :rtype: str
11073
+ """
11074
+ return self._ComputeExpression
11075
+
11076
+ @ComputeExpression.setter
11077
+ def ComputeExpression(self, ComputeExpression):
11078
+ self._ComputeExpression = ComputeExpression
11079
+
11064
11080
 
11065
11081
  def _deserialize(self, params):
11066
11082
  if params.get("Items") is not None:
@@ -11072,6 +11088,7 @@ class CompareResult(AbstractModel):
11072
11088
  self._TotalRows = params.get("TotalRows")
11073
11089
  self._PassRows = params.get("PassRows")
11074
11090
  self._TriggerRows = params.get("TriggerRows")
11091
+ self._ComputeExpression = params.get("ComputeExpression")
11075
11092
  memeber_set = set(params.keys())
11076
11093
  for name, value in vars(self).items():
11077
11094
  property_name = name[1:]
@@ -83822,6 +83839,39 @@ class RuleExecResult(AbstractModel):
83822
83839
  :param _TriggerCondition: 触发条件
83823
83840
  注意:此字段可能返回 null,表示取不到有效值。
83824
83841
  :type TriggerCondition: str
83842
+ :param _RuleGroupName: 任务名称
83843
+ 注意:此字段可能返回 null,表示取不到有效值。
83844
+ :type RuleGroupName: str
83845
+ :param _DatasourceId: 数据源ID
83846
+ 注意:此字段可能返回 null,表示取不到有效值。
83847
+ :type DatasourceId: str
83848
+ :param _DatasourceName: 数据源名称
83849
+ 注意:此字段可能返回 null,表示取不到有效值。
83850
+ :type DatasourceName: str
83851
+ :param _DatabaseName: 数据库名称
83852
+ 注意:此字段可能返回 null,表示取不到有效值。
83853
+ :type DatabaseName: str
83854
+ :param _SchemaName: 模式名称
83855
+ 注意:此字段可能返回 null,表示取不到有效值。
83856
+ :type SchemaName: str
83857
+ :param _TableName: 表名称
83858
+ 注意:此字段可能返回 null,表示取不到有效值。
83859
+ :type TableName: str
83860
+ :param _RuleGroupExist: 判断是否屏蔽监控 0.屏蔽 1.不屏蔽
83861
+ 注意:此字段可能返回 null,表示取不到有效值。
83862
+ :type RuleGroupExist: int
83863
+ :param _DatasourceType: 数据源类型
83864
+ 注意:此字段可能返回 null,表示取不到有效值。
83865
+ :type DatasourceType: int
83866
+ :param _RuleGroupTableId: 数据表id
83867
+ 注意:此字段可能返回 null,表示取不到有效值。
83868
+ :type RuleGroupTableId: int
83869
+ :param _MonitorType: 监控方式 1.未配置, 2.关联生产调度, 3.离线周期检测
83870
+ 注意:此字段可能返回 null,表示取不到有效值。
83871
+ :type MonitorType: int
83872
+ :param _FinishTime: 执行结束时间
83873
+ 注意:此字段可能返回 null,表示取不到有效值。
83874
+ :type FinishTime: str
83825
83875
  """
83826
83876
  self._RuleExecId = None
83827
83877
  self._RuleGroupExecId = None
@@ -83845,6 +83895,17 @@ class RuleExecResult(AbstractModel):
83845
83895
  self._StartTime = None
83846
83896
  self._AlarmLevel = None
83847
83897
  self._TriggerCondition = None
83898
+ self._RuleGroupName = None
83899
+ self._DatasourceId = None
83900
+ self._DatasourceName = None
83901
+ self._DatabaseName = None
83902
+ self._SchemaName = None
83903
+ self._TableName = None
83904
+ self._RuleGroupExist = None
83905
+ self._DatasourceType = None
83906
+ self._RuleGroupTableId = None
83907
+ self._MonitorType = None
83908
+ self._FinishTime = None
83848
83909
 
83849
83910
  @property
83850
83911
  def RuleExecId(self):
@@ -84110,6 +84171,138 @@ class RuleExecResult(AbstractModel):
84110
84171
  def TriggerCondition(self, TriggerCondition):
84111
84172
  self._TriggerCondition = TriggerCondition
84112
84173
 
84174
+ @property
84175
+ def RuleGroupName(self):
84176
+ """任务名称
84177
+ 注意:此字段可能返回 null,表示取不到有效值。
84178
+ :rtype: str
84179
+ """
84180
+ return self._RuleGroupName
84181
+
84182
+ @RuleGroupName.setter
84183
+ def RuleGroupName(self, RuleGroupName):
84184
+ self._RuleGroupName = RuleGroupName
84185
+
84186
+ @property
84187
+ def DatasourceId(self):
84188
+ """数据源ID
84189
+ 注意:此字段可能返回 null,表示取不到有效值。
84190
+ :rtype: str
84191
+ """
84192
+ return self._DatasourceId
84193
+
84194
+ @DatasourceId.setter
84195
+ def DatasourceId(self, DatasourceId):
84196
+ self._DatasourceId = DatasourceId
84197
+
84198
+ @property
84199
+ def DatasourceName(self):
84200
+ """数据源名称
84201
+ 注意:此字段可能返回 null,表示取不到有效值。
84202
+ :rtype: str
84203
+ """
84204
+ return self._DatasourceName
84205
+
84206
+ @DatasourceName.setter
84207
+ def DatasourceName(self, DatasourceName):
84208
+ self._DatasourceName = DatasourceName
84209
+
84210
+ @property
84211
+ def DatabaseName(self):
84212
+ """数据库名称
84213
+ 注意:此字段可能返回 null,表示取不到有效值。
84214
+ :rtype: str
84215
+ """
84216
+ return self._DatabaseName
84217
+
84218
+ @DatabaseName.setter
84219
+ def DatabaseName(self, DatabaseName):
84220
+ self._DatabaseName = DatabaseName
84221
+
84222
+ @property
84223
+ def SchemaName(self):
84224
+ """模式名称
84225
+ 注意:此字段可能返回 null,表示取不到有效值。
84226
+ :rtype: str
84227
+ """
84228
+ return self._SchemaName
84229
+
84230
+ @SchemaName.setter
84231
+ def SchemaName(self, SchemaName):
84232
+ self._SchemaName = SchemaName
84233
+
84234
+ @property
84235
+ def TableName(self):
84236
+ """表名称
84237
+ 注意:此字段可能返回 null,表示取不到有效值。
84238
+ :rtype: str
84239
+ """
84240
+ return self._TableName
84241
+
84242
+ @TableName.setter
84243
+ def TableName(self, TableName):
84244
+ self._TableName = TableName
84245
+
84246
+ @property
84247
+ def RuleGroupExist(self):
84248
+ """判断是否屏蔽监控 0.屏蔽 1.不屏蔽
84249
+ 注意:此字段可能返回 null,表示取不到有效值。
84250
+ :rtype: int
84251
+ """
84252
+ return self._RuleGroupExist
84253
+
84254
+ @RuleGroupExist.setter
84255
+ def RuleGroupExist(self, RuleGroupExist):
84256
+ self._RuleGroupExist = RuleGroupExist
84257
+
84258
+ @property
84259
+ def DatasourceType(self):
84260
+ """数据源类型
84261
+ 注意:此字段可能返回 null,表示取不到有效值。
84262
+ :rtype: int
84263
+ """
84264
+ return self._DatasourceType
84265
+
84266
+ @DatasourceType.setter
84267
+ def DatasourceType(self, DatasourceType):
84268
+ self._DatasourceType = DatasourceType
84269
+
84270
+ @property
84271
+ def RuleGroupTableId(self):
84272
+ """数据表id
84273
+ 注意:此字段可能返回 null,表示取不到有效值。
84274
+ :rtype: int
84275
+ """
84276
+ return self._RuleGroupTableId
84277
+
84278
+ @RuleGroupTableId.setter
84279
+ def RuleGroupTableId(self, RuleGroupTableId):
84280
+ self._RuleGroupTableId = RuleGroupTableId
84281
+
84282
+ @property
84283
+ def MonitorType(self):
84284
+ """监控方式 1.未配置, 2.关联生产调度, 3.离线周期检测
84285
+ 注意:此字段可能返回 null,表示取不到有效值。
84286
+ :rtype: int
84287
+ """
84288
+ return self._MonitorType
84289
+
84290
+ @MonitorType.setter
84291
+ def MonitorType(self, MonitorType):
84292
+ self._MonitorType = MonitorType
84293
+
84294
+ @property
84295
+ def FinishTime(self):
84296
+ """执行结束时间
84297
+ 注意:此字段可能返回 null,表示取不到有效值。
84298
+ :rtype: str
84299
+ """
84300
+ return self._FinishTime
84301
+
84302
+ @FinishTime.setter
84303
+ def FinishTime(self, FinishTime):
84304
+ self._FinishTime = FinishTime
84305
+
84113
84306
 
84114
84307
  def _deserialize(self, params):
84115
84308
  self._RuleExecId = params.get("RuleExecId")
@@ -84138,6 +84331,17 @@ class RuleExecResult(AbstractModel):
84138
84331
  self._StartTime = params.get("StartTime")
84139
84332
  self._AlarmLevel = params.get("AlarmLevel")
84140
84333
  self._TriggerCondition = params.get("TriggerCondition")
84334
+ self._RuleGroupName = params.get("RuleGroupName")
84335
+ self._DatasourceId = params.get("DatasourceId")
84336
+ self._DatasourceName = params.get("DatasourceName")
84337
+ self._DatabaseName = params.get("DatabaseName")
84338
+ self._SchemaName = params.get("SchemaName")
84339
+ self._TableName = params.get("TableName")
84340
+ self._RuleGroupExist = params.get("RuleGroupExist")
84341
+ self._DatasourceType = params.get("DatasourceType")
84342
+ self._RuleGroupTableId = params.get("RuleGroupTableId")
84343
+ self._MonitorType = params.get("MonitorType")
84344
+ self._FinishTime = params.get("FinishTime")
84141
84345
  memeber_set = set(params.keys())
84142
84346
  for name, value in vars(self).items():
84143
84347
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1443
3
+ Version: 3.0.1444
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud