tencentcloud-sdk-python-cfw 3.1.152__py2.py3-none-any.whl → 3.1.174__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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.152'
17
+ __version__ = '3.1.174'
@@ -1822,6 +1822,29 @@ class CfwClient(AbstractClient):
1822
1822
  raise TencentCloudSDKException(type(e).__name__, str(e))
1823
1823
 
1824
1824
 
1825
+ def DescribeNDRDataLeakOutAlertList(self, request):
1826
+ r"""DescribeNDRDataLeakOutAlertList -- 查询NDR数据泄露出站告警列表
1827
+
1828
+ :param request: Request instance for DescribeNDRDataLeakOutAlertList.
1829
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRDataLeakOutAlertListRequest`
1830
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRDataLeakOutAlertListResponse`
1831
+
1832
+ """
1833
+ try:
1834
+ params = request._serialize()
1835
+ headers = request.headers
1836
+ body = self.call("DescribeNDRDataLeakOutAlertList", params, headers=headers)
1837
+ response = json.loads(body)
1838
+ model = models.DescribeNDRDataLeakOutAlertListResponse()
1839
+ model._deserialize(response["Response"])
1840
+ return model
1841
+ except Exception as e:
1842
+ if isinstance(e, TencentCloudSDKException):
1843
+ raise
1844
+ else:
1845
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1846
+
1847
+
1825
1848
  def DescribeNatAcRule(self, request):
1826
1849
  r"""查询NAT访问控制列表
1827
1850
 
@@ -1431,6 +1431,24 @@ class CfwClient(AbstractClient):
1431
1431
 
1432
1432
  return await self.call_and_deserialize(**kwargs)
1433
1433
 
1434
+ async def DescribeNDRDataLeakOutAlertList(
1435
+ self,
1436
+ request: models.DescribeNDRDataLeakOutAlertListRequest,
1437
+ opts: Dict = None,
1438
+ ) -> models.DescribeNDRDataLeakOutAlertListResponse:
1439
+ """
1440
+ DescribeNDRDataLeakOutAlertList -- 查询NDR数据泄露出站告警列表
1441
+ """
1442
+
1443
+ kwargs = {}
1444
+ kwargs["action"] = "DescribeNDRDataLeakOutAlertList"
1445
+ kwargs["params"] = request._serialize()
1446
+ kwargs["resp_cls"] = models.DescribeNDRDataLeakOutAlertListResponse
1447
+ kwargs["headers"] = request.headers
1448
+ kwargs["opts"] = opts or {}
1449
+
1450
+ return await self.call_and_deserialize(**kwargs)
1451
+
1434
1452
  async def DescribeNatAcRule(
1435
1453
  self,
1436
1454
  request: models.DescribeNatAcRuleRequest,