tencentcloud-sdk-python-cfw 3.1.124__tar.gz → 3.1.127__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_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud/cfw/v20190904/cfw_client.py +93 -1
  5. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud/cfw/v20190904/cfw_client_async.py +73 -1
  6. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud/cfw/v20190904/models.py +1652 -419
  7. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_cfw-3.1.127/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_cfw-3.1.124/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/README.rst +0 -0
  11. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud/cfw/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud/cfw/v20190904/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cfw-3.1.124 → tencentcloud_sdk_python_cfw-3.1.127}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfw
3
- Version: 3.1.124
3
+ Version: 3.1.127
4
4
  Summary: Tencent Cloud Cfw 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.124
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
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-cfw',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.124,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.127,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cfw SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.124'
17
+ __version__ = '3.1.127'
@@ -1340,7 +1340,7 @@ class CfwClient(AbstractClient):
1340
1340
 
1341
1341
 
1342
1342
  def DescribeLogs(self, request):
1343
- r"""日志审计日志查询
1343
+ r"""请使用 [日志分析SearchLog接口](https://cloud.tencent.com/document/product/1132/118363)
1344
1344
 
1345
1345
  :param request: Request instance for DescribeLogs.
1346
1346
  :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeLogsRequest`
@@ -1638,6 +1638,52 @@ class CfwClient(AbstractClient):
1638
1638
  raise TencentCloudSDKException(type(e).__name__, str(e))
1639
1639
 
1640
1640
 
1641
+ def DescribeOfflineExportTask(self, request):
1642
+ r"""获取日志离线导出任务列表
1643
+
1644
+ :param request: Request instance for DescribeOfflineExportTask.
1645
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeOfflineExportTaskRequest`
1646
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeOfflineExportTaskResponse`
1647
+
1648
+ """
1649
+ try:
1650
+ params = request._serialize()
1651
+ headers = request.headers
1652
+ body = self.call("DescribeOfflineExportTask", params, headers=headers)
1653
+ response = json.loads(body)
1654
+ model = models.DescribeOfflineExportTaskResponse()
1655
+ model._deserialize(response["Response"])
1656
+ return model
1657
+ except Exception as e:
1658
+ if isinstance(e, TencentCloudSDKException):
1659
+ raise
1660
+ else:
1661
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1662
+
1663
+
1664
+ def DescribeOfflineExportTemporaryCredentials(self, request):
1665
+ r"""获取日志离线导出任务文件下载临时凭证
1666
+
1667
+ :param request: Request instance for DescribeOfflineExportTemporaryCredentials.
1668
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeOfflineExportTemporaryCredentialsRequest`
1669
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeOfflineExportTemporaryCredentialsResponse`
1670
+
1671
+ """
1672
+ try:
1673
+ params = request._serialize()
1674
+ headers = request.headers
1675
+ body = self.call("DescribeOfflineExportTemporaryCredentials", params, headers=headers)
1676
+ response = json.loads(body)
1677
+ model = models.DescribeOfflineExportTemporaryCredentialsResponse()
1678
+ model._deserialize(response["Response"])
1679
+ return model
1680
+ except Exception as e:
1681
+ if isinstance(e, TencentCloudSDKException):
1682
+ raise
1683
+ else:
1684
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1685
+
1686
+
1641
1687
  def DescribeResourceGroup(self, request):
1642
1688
  r"""DescribeResourceGroup资产中心资产树信息
1643
1689
 
@@ -2006,6 +2052,29 @@ class CfwClient(AbstractClient):
2006
2052
  raise TencentCloudSDKException(type(e).__name__, str(e))
2007
2053
 
2008
2054
 
2055
+ def ExportLogsOffline(self, request):
2056
+ r"""日志审计日志离线导出
2057
+
2058
+ :param request: Request instance for ExportLogsOffline.
2059
+ :type request: :class:`tencentcloud.cfw.v20190904.models.ExportLogsOfflineRequest`
2060
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.ExportLogsOfflineResponse`
2061
+
2062
+ """
2063
+ try:
2064
+ params = request._serialize()
2065
+ headers = request.headers
2066
+ body = self.call("ExportLogsOffline", params, headers=headers)
2067
+ response = json.loads(body)
2068
+ model = models.ExportLogsOfflineResponse()
2069
+ model._deserialize(response["Response"])
2070
+ return model
2071
+ except Exception as e:
2072
+ if isinstance(e, TencentCloudSDKException):
2073
+ raise
2074
+ else:
2075
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2076
+
2077
+
2009
2078
  def ModifyAcRule(self, request):
2010
2079
  r"""修改规则
2011
2080
 
@@ -2999,6 +3068,29 @@ class CfwClient(AbstractClient):
2999
3068
  raise TencentCloudSDKException(type(e).__name__, str(e))
3000
3069
 
3001
3070
 
3071
+ def RemoveOfflineExportTask(self, request):
3072
+ r"""删除日志离线导出任务
3073
+
3074
+ :param request: Request instance for RemoveOfflineExportTask.
3075
+ :type request: :class:`tencentcloud.cfw.v20190904.models.RemoveOfflineExportTaskRequest`
3076
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.RemoveOfflineExportTaskResponse`
3077
+
3078
+ """
3079
+ try:
3080
+ params = request._serialize()
3081
+ headers = request.headers
3082
+ body = self.call("RemoveOfflineExportTask", params, headers=headers)
3083
+ response = json.loads(body)
3084
+ model = models.RemoveOfflineExportTaskResponse()
3085
+ model._deserialize(response["Response"])
3086
+ return model
3087
+ except Exception as e:
3088
+ if isinstance(e, TencentCloudSDKException):
3089
+ raise
3090
+ else:
3091
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3092
+
3093
+
3002
3094
  def RemoveVpcAcRule(self, request):
3003
3095
  r"""删除VPC间规则
3004
3096
 
@@ -1059,7 +1059,7 @@ class CfwClient(AbstractClient):
1059
1059
  opts: Dict = None,
1060
1060
  ) -> models.DescribeLogsResponse:
1061
1061
  """
1062
- 日志审计日志查询
1062
+ 请使用 [日志分析SearchLog接口](https://cloud.tencent.com/document/product/1132/118363)
1063
1063
  """
1064
1064
 
1065
1065
  kwargs = {}
@@ -1287,6 +1287,42 @@ class CfwClient(AbstractClient):
1287
1287
 
1288
1288
  return await self.call_and_deserialize(**kwargs)
1289
1289
 
1290
+ async def DescribeOfflineExportTask(
1291
+ self,
1292
+ request: models.DescribeOfflineExportTaskRequest,
1293
+ opts: Dict = None,
1294
+ ) -> models.DescribeOfflineExportTaskResponse:
1295
+ """
1296
+ 获取日志离线导出任务列表
1297
+ """
1298
+
1299
+ kwargs = {}
1300
+ kwargs["action"] = "DescribeOfflineExportTask"
1301
+ kwargs["params"] = request._serialize()
1302
+ kwargs["resp_cls"] = models.DescribeOfflineExportTaskResponse
1303
+ kwargs["headers"] = request.headers
1304
+ kwargs["opts"] = opts or {}
1305
+
1306
+ return await self.call_and_deserialize(**kwargs)
1307
+
1308
+ async def DescribeOfflineExportTemporaryCredentials(
1309
+ self,
1310
+ request: models.DescribeOfflineExportTemporaryCredentialsRequest,
1311
+ opts: Dict = None,
1312
+ ) -> models.DescribeOfflineExportTemporaryCredentialsResponse:
1313
+ """
1314
+ 获取日志离线导出任务文件下载临时凭证
1315
+ """
1316
+
1317
+ kwargs = {}
1318
+ kwargs["action"] = "DescribeOfflineExportTemporaryCredentials"
1319
+ kwargs["params"] = request._serialize()
1320
+ kwargs["resp_cls"] = models.DescribeOfflineExportTemporaryCredentialsResponse
1321
+ kwargs["headers"] = request.headers
1322
+ kwargs["opts"] = opts or {}
1323
+
1324
+ return await self.call_and_deserialize(**kwargs)
1325
+
1290
1326
  async def DescribeResourceGroup(
1291
1327
  self,
1292
1328
  request: models.DescribeResourceGroupRequest,
@@ -1575,6 +1611,24 @@ class CfwClient(AbstractClient):
1575
1611
 
1576
1612
  return await self.call_and_deserialize(**kwargs)
1577
1613
 
1614
+ async def ExportLogsOffline(
1615
+ self,
1616
+ request: models.ExportLogsOfflineRequest,
1617
+ opts: Dict = None,
1618
+ ) -> models.ExportLogsOfflineResponse:
1619
+ """
1620
+ 日志审计日志离线导出
1621
+ """
1622
+
1623
+ kwargs = {}
1624
+ kwargs["action"] = "ExportLogsOffline"
1625
+ kwargs["params"] = request._serialize()
1626
+ kwargs["resp_cls"] = models.ExportLogsOfflineResponse
1627
+ kwargs["headers"] = request.headers
1628
+ kwargs["opts"] = opts or {}
1629
+
1630
+ return await self.call_and_deserialize(**kwargs)
1631
+
1578
1632
  async def ModifyAcRule(
1579
1633
  self,
1580
1634
  request: models.ModifyAcRuleRequest,
@@ -2353,6 +2407,24 @@ class CfwClient(AbstractClient):
2353
2407
 
2354
2408
  return await self.call_and_deserialize(**kwargs)
2355
2409
 
2410
+ async def RemoveOfflineExportTask(
2411
+ self,
2412
+ request: models.RemoveOfflineExportTaskRequest,
2413
+ opts: Dict = None,
2414
+ ) -> models.RemoveOfflineExportTaskResponse:
2415
+ """
2416
+ 删除日志离线导出任务
2417
+ """
2418
+
2419
+ kwargs = {}
2420
+ kwargs["action"] = "RemoveOfflineExportTask"
2421
+ kwargs["params"] = request._serialize()
2422
+ kwargs["resp_cls"] = models.RemoveOfflineExportTaskResponse
2423
+ kwargs["headers"] = request.headers
2424
+ kwargs["opts"] = opts or {}
2425
+
2426
+ return await self.call_and_deserialize(**kwargs)
2427
+
2356
2428
  async def RemoveVpcAcRule(
2357
2429
  self,
2358
2430
  request: models.RemoveVpcAcRuleRequest,