tencentcloud-sdk-python-cfw 3.1.166__py2.py3-none-any.whl → 3.1.175__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.166'
17
+ __version__ = '3.1.175'
@@ -1822,6 +1822,52 @@ class CfwClient(AbstractClient):
1822
1822
  raise TencentCloudSDKException(type(e).__name__, str(e))
1823
1823
 
1824
1824
 
1825
+ def DescribeNDRDataLeakOutAlertDetail(self, request):
1826
+ r"""DescribeNDRDataLeakOutAlertDetail -- 查询出站数据泄露风险详情
1827
+
1828
+ :param request: Request instance for DescribeNDRDataLeakOutAlertDetail.
1829
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRDataLeakOutAlertDetailRequest`
1830
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRDataLeakOutAlertDetailResponse`
1831
+
1832
+ """
1833
+ try:
1834
+ params = request._serialize()
1835
+ headers = request.headers
1836
+ body = self.call("DescribeNDRDataLeakOutAlertDetail", params, headers=headers)
1837
+ response = json.loads(body)
1838
+ model = models.DescribeNDRDataLeakOutAlertDetailResponse()
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
+
1848
+ def DescribeNDRDataLeakOutAlertList(self, request):
1849
+ r"""DescribeNDRDataLeakOutAlertList -- 查询NDR数据泄露出站告警列表
1850
+
1851
+ :param request: Request instance for DescribeNDRDataLeakOutAlertList.
1852
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRDataLeakOutAlertListRequest`
1853
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRDataLeakOutAlertListResponse`
1854
+
1855
+ """
1856
+ try:
1857
+ params = request._serialize()
1858
+ headers = request.headers
1859
+ body = self.call("DescribeNDRDataLeakOutAlertList", params, headers=headers)
1860
+ response = json.loads(body)
1861
+ model = models.DescribeNDRDataLeakOutAlertListResponse()
1862
+ model._deserialize(response["Response"])
1863
+ return model
1864
+ except Exception as e:
1865
+ if isinstance(e, TencentCloudSDKException):
1866
+ raise
1867
+ else:
1868
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1869
+
1870
+
1825
1871
  def DescribeNatAcRule(self, request):
1826
1872
  r"""查询NAT访问控制列表
1827
1873
 
@@ -1431,6 +1431,42 @@ class CfwClient(AbstractClient):
1431
1431
 
1432
1432
  return await self.call_and_deserialize(**kwargs)
1433
1433
 
1434
+ async def DescribeNDRDataLeakOutAlertDetail(
1435
+ self,
1436
+ request: models.DescribeNDRDataLeakOutAlertDetailRequest,
1437
+ opts: Dict = None,
1438
+ ) -> models.DescribeNDRDataLeakOutAlertDetailResponse:
1439
+ """
1440
+ DescribeNDRDataLeakOutAlertDetail -- 查询出站数据泄露风险详情
1441
+ """
1442
+
1443
+ kwargs = {}
1444
+ kwargs["action"] = "DescribeNDRDataLeakOutAlertDetail"
1445
+ kwargs["params"] = request._serialize()
1446
+ kwargs["resp_cls"] = models.DescribeNDRDataLeakOutAlertDetailResponse
1447
+ kwargs["headers"] = request.headers
1448
+ kwargs["opts"] = opts or {}
1449
+
1450
+ return await self.call_and_deserialize(**kwargs)
1451
+
1452
+ async def DescribeNDRDataLeakOutAlertList(
1453
+ self,
1454
+ request: models.DescribeNDRDataLeakOutAlertListRequest,
1455
+ opts: Dict = None,
1456
+ ) -> models.DescribeNDRDataLeakOutAlertListResponse:
1457
+ """
1458
+ DescribeNDRDataLeakOutAlertList -- 查询NDR数据泄露出站告警列表
1459
+ """
1460
+
1461
+ kwargs = {}
1462
+ kwargs["action"] = "DescribeNDRDataLeakOutAlertList"
1463
+ kwargs["params"] = request._serialize()
1464
+ kwargs["resp_cls"] = models.DescribeNDRDataLeakOutAlertListResponse
1465
+ kwargs["headers"] = request.headers
1466
+ kwargs["opts"] = opts or {}
1467
+
1468
+ return await self.call_and_deserialize(**kwargs)
1469
+
1434
1470
  async def DescribeNatAcRule(
1435
1471
  self,
1436
1472
  request: models.DescribeNatAcRuleRequest,