tencentcloud-sdk-python-csip 3.1.122__tar.gz → 3.1.124__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_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/setup.py +1 -1
  3. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud/csip/v20221121/csip_client.py +184 -0
  5. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud/csip/v20221121/csip_client_async.py +144 -0
  6. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud/csip/v20221121/errorcodes.py +3 -0
  7. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud/csip/v20221121/models.py +2882 -287
  8. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_csip-3.1.124/tencentcloud_sdk_python_csip.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_csip-3.1.122/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/README.rst +0 -0
  12. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud/csip/__init__.py +0 -0
  14. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud/csip/v20221121/__init__.py +0 -0
  15. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud_sdk_python_csip.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_csip-3.1.122 → tencentcloud_sdk_python_csip-3.1.124}/tencentcloud_sdk_python_csip.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-csip
3
- Version: 3.1.122
3
+ Version: 3.1.124
4
4
  Summary: Tencent Cloud Csip 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.122
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.124
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-csip',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.122,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.124,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Csip SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.122'
17
+ __version__ = '3.1.124'
@@ -1268,6 +1268,52 @@ class CsipClient(AbstractClient):
1268
1268
  raise TencentCloudSDKException(type(e).__name__, str(e))
1269
1269
 
1270
1270
 
1271
+ def DescribeCLSLogIndexV3(self, request):
1272
+ r"""获取日志索引信息
1273
+
1274
+ :param request: Request instance for DescribeCLSLogIndexV3.
1275
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeCLSLogIndexV3Request`
1276
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeCLSLogIndexV3Response`
1277
+
1278
+ """
1279
+ try:
1280
+ params = request._serialize()
1281
+ headers = request.headers
1282
+ body = self.call("DescribeCLSLogIndexV3", params, headers=headers)
1283
+ response = json.loads(body)
1284
+ model = models.DescribeCLSLogIndexV3Response()
1285
+ model._deserialize(response["Response"])
1286
+ return model
1287
+ except Exception as e:
1288
+ if isinstance(e, TencentCloudSDKException):
1289
+ raise
1290
+ else:
1291
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1292
+
1293
+
1294
+ def DescribeCLSLogListV3(self, request):
1295
+ r"""日志分析检索接口v3
1296
+
1297
+ :param request: Request instance for DescribeCLSLogListV3.
1298
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeCLSLogListV3Request`
1299
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeCLSLogListV3Response`
1300
+
1301
+ """
1302
+ try:
1303
+ params = request._serialize()
1304
+ headers = request.headers
1305
+ body = self.call("DescribeCLSLogListV3", params, headers=headers)
1306
+ response = json.loads(body)
1307
+ model = models.DescribeCLSLogListV3Response()
1308
+ model._deserialize(response["Response"])
1309
+ return model
1310
+ except Exception as e:
1311
+ if isinstance(e, TencentCloudSDKException):
1312
+ raise
1313
+ else:
1314
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1315
+
1316
+
1271
1317
  def DescribeCSIPRiskStatistics(self, request):
1272
1318
  r"""获取风险中心风险概况示例
1273
1319
 
@@ -3522,6 +3568,75 @@ class CsipClient(AbstractClient):
3522
3568
  raise TencentCloudSDKException(type(e).__name__, str(e))
3523
3569
 
3524
3570
 
3571
+ def DescribeNotifyAssetConfig(self, request):
3572
+ r"""获取通知资产范围配置
3573
+
3574
+ :param request: Request instance for DescribeNotifyAssetConfig.
3575
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeNotifyAssetConfigRequest`
3576
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeNotifyAssetConfigResponse`
3577
+
3578
+ """
3579
+ try:
3580
+ params = request._serialize()
3581
+ headers = request.headers
3582
+ body = self.call("DescribeNotifyAssetConfig", params, headers=headers)
3583
+ response = json.loads(body)
3584
+ model = models.DescribeNotifyAssetConfigResponse()
3585
+ model._deserialize(response["Response"])
3586
+ return model
3587
+ except Exception as e:
3588
+ if isinstance(e, TencentCloudSDKException):
3589
+ raise
3590
+ else:
3591
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3592
+
3593
+
3594
+ def DescribeNotifySetting(self, request):
3595
+ r"""获取通知设置
3596
+
3597
+ :param request: Request instance for DescribeNotifySetting.
3598
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeNotifySettingRequest`
3599
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeNotifySettingResponse`
3600
+
3601
+ """
3602
+ try:
3603
+ params = request._serialize()
3604
+ headers = request.headers
3605
+ body = self.call("DescribeNotifySetting", params, headers=headers)
3606
+ response = json.loads(body)
3607
+ model = models.DescribeNotifySettingResponse()
3608
+ model._deserialize(response["Response"])
3609
+ return model
3610
+ except Exception as e:
3611
+ if isinstance(e, TencentCloudSDKException):
3612
+ raise
3613
+ else:
3614
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3615
+
3616
+
3617
+ def DescribeNotifySettingAlert(self, request):
3618
+ r"""获取告警中心通知高级配置
3619
+
3620
+ :param request: Request instance for DescribeNotifySettingAlert.
3621
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeNotifySettingAlertRequest`
3622
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeNotifySettingAlertResponse`
3623
+
3624
+ """
3625
+ try:
3626
+ params = request._serialize()
3627
+ headers = request.headers
3628
+ body = self.call("DescribeNotifySettingAlert", params, headers=headers)
3629
+ response = json.loads(body)
3630
+ model = models.DescribeNotifySettingAlertResponse()
3631
+ model._deserialize(response["Response"])
3632
+ return model
3633
+ except Exception as e:
3634
+ if isinstance(e, TencentCloudSDKException):
3635
+ raise
3636
+ else:
3637
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3638
+
3639
+
3525
3640
  def DescribeOrganizationInfo(self, request):
3526
3641
  r"""查询集团账号详情
3527
3642
 
@@ -4994,6 +5109,75 @@ class CsipClient(AbstractClient):
4994
5109
  raise TencentCloudSDKException(type(e).__name__, str(e))
4995
5110
 
4996
5111
 
5112
+ def ModifyNotifyAssetConfig(self, request):
5113
+ r"""修改通知资产范围配置
5114
+
5115
+ :param request: Request instance for ModifyNotifyAssetConfig.
5116
+ :type request: :class:`tencentcloud.csip.v20221121.models.ModifyNotifyAssetConfigRequest`
5117
+ :rtype: :class:`tencentcloud.csip.v20221121.models.ModifyNotifyAssetConfigResponse`
5118
+
5119
+ """
5120
+ try:
5121
+ params = request._serialize()
5122
+ headers = request.headers
5123
+ body = self.call("ModifyNotifyAssetConfig", params, headers=headers)
5124
+ response = json.loads(body)
5125
+ model = models.ModifyNotifyAssetConfigResponse()
5126
+ model._deserialize(response["Response"])
5127
+ return model
5128
+ except Exception as e:
5129
+ if isinstance(e, TencentCloudSDKException):
5130
+ raise
5131
+ else:
5132
+ raise TencentCloudSDKException(type(e).__name__, str(e))
5133
+
5134
+
5135
+ def ModifyNotifySetting(self, request):
5136
+ r"""修改通知设置
5137
+
5138
+ :param request: Request instance for ModifyNotifySetting.
5139
+ :type request: :class:`tencentcloud.csip.v20221121.models.ModifyNotifySettingRequest`
5140
+ :rtype: :class:`tencentcloud.csip.v20221121.models.ModifyNotifySettingResponse`
5141
+
5142
+ """
5143
+ try:
5144
+ params = request._serialize()
5145
+ headers = request.headers
5146
+ body = self.call("ModifyNotifySetting", params, headers=headers)
5147
+ response = json.loads(body)
5148
+ model = models.ModifyNotifySettingResponse()
5149
+ model._deserialize(response["Response"])
5150
+ return model
5151
+ except Exception as e:
5152
+ if isinstance(e, TencentCloudSDKException):
5153
+ raise
5154
+ else:
5155
+ raise TencentCloudSDKException(type(e).__name__, str(e))
5156
+
5157
+
5158
+ def ModifyNotifySettingAlert(self, request):
5159
+ r"""修改告警中心通知高级配置
5160
+
5161
+ :param request: Request instance for ModifyNotifySettingAlert.
5162
+ :type request: :class:`tencentcloud.csip.v20221121.models.ModifyNotifySettingAlertRequest`
5163
+ :rtype: :class:`tencentcloud.csip.v20221121.models.ModifyNotifySettingAlertResponse`
5164
+
5165
+ """
5166
+ try:
5167
+ params = request._serialize()
5168
+ headers = request.headers
5169
+ body = self.call("ModifyNotifySettingAlert", params, headers=headers)
5170
+ response = json.loads(body)
5171
+ model = models.ModifyNotifySettingAlertResponse()
5172
+ model._deserialize(response["Response"])
5173
+ return model
5174
+ except Exception as e:
5175
+ if isinstance(e, TencentCloudSDKException):
5176
+ raise
5177
+ else:
5178
+ raise TencentCloudSDKException(type(e).__name__, str(e))
5179
+
5180
+
4997
5181
  def ModifyOrganizationAccountStatus(self, request):
4998
5182
  r"""修改集团账号状态
4999
5183
 
@@ -997,6 +997,42 @@ class CsipClient(AbstractClient):
997
997
 
998
998
  return await self.call_and_deserialize(**kwargs)
999
999
 
1000
+ async def DescribeCLSLogIndexV3(
1001
+ self,
1002
+ request: models.DescribeCLSLogIndexV3Request,
1003
+ opts: Dict = None,
1004
+ ) -> models.DescribeCLSLogIndexV3Response:
1005
+ """
1006
+ 获取日志索引信息
1007
+ """
1008
+
1009
+ kwargs = {}
1010
+ kwargs["action"] = "DescribeCLSLogIndexV3"
1011
+ kwargs["params"] = request._serialize()
1012
+ kwargs["resp_cls"] = models.DescribeCLSLogIndexV3Response
1013
+ kwargs["headers"] = request.headers
1014
+ kwargs["opts"] = opts or {}
1015
+
1016
+ return await self.call_and_deserialize(**kwargs)
1017
+
1018
+ async def DescribeCLSLogListV3(
1019
+ self,
1020
+ request: models.DescribeCLSLogListV3Request,
1021
+ opts: Dict = None,
1022
+ ) -> models.DescribeCLSLogListV3Response:
1023
+ """
1024
+ 日志分析检索接口v3
1025
+ """
1026
+
1027
+ kwargs = {}
1028
+ kwargs["action"] = "DescribeCLSLogListV3"
1029
+ kwargs["params"] = request._serialize()
1030
+ kwargs["resp_cls"] = models.DescribeCLSLogListV3Response
1031
+ kwargs["headers"] = request.headers
1032
+ kwargs["opts"] = opts or {}
1033
+
1034
+ return await self.call_and_deserialize(**kwargs)
1035
+
1000
1036
  async def DescribeCSIPRiskStatistics(
1001
1037
  self,
1002
1038
  request: models.DescribeCSIPRiskStatisticsRequest,
@@ -2761,6 +2797,60 @@ class CsipClient(AbstractClient):
2761
2797
 
2762
2798
  return await self.call_and_deserialize(**kwargs)
2763
2799
 
2800
+ async def DescribeNotifyAssetConfig(
2801
+ self,
2802
+ request: models.DescribeNotifyAssetConfigRequest,
2803
+ opts: Dict = None,
2804
+ ) -> models.DescribeNotifyAssetConfigResponse:
2805
+ """
2806
+ 获取通知资产范围配置
2807
+ """
2808
+
2809
+ kwargs = {}
2810
+ kwargs["action"] = "DescribeNotifyAssetConfig"
2811
+ kwargs["params"] = request._serialize()
2812
+ kwargs["resp_cls"] = models.DescribeNotifyAssetConfigResponse
2813
+ kwargs["headers"] = request.headers
2814
+ kwargs["opts"] = opts or {}
2815
+
2816
+ return await self.call_and_deserialize(**kwargs)
2817
+
2818
+ async def DescribeNotifySetting(
2819
+ self,
2820
+ request: models.DescribeNotifySettingRequest,
2821
+ opts: Dict = None,
2822
+ ) -> models.DescribeNotifySettingResponse:
2823
+ """
2824
+ 获取通知设置
2825
+ """
2826
+
2827
+ kwargs = {}
2828
+ kwargs["action"] = "DescribeNotifySetting"
2829
+ kwargs["params"] = request._serialize()
2830
+ kwargs["resp_cls"] = models.DescribeNotifySettingResponse
2831
+ kwargs["headers"] = request.headers
2832
+ kwargs["opts"] = opts or {}
2833
+
2834
+ return await self.call_and_deserialize(**kwargs)
2835
+
2836
+ async def DescribeNotifySettingAlert(
2837
+ self,
2838
+ request: models.DescribeNotifySettingAlertRequest,
2839
+ opts: Dict = None,
2840
+ ) -> models.DescribeNotifySettingAlertResponse:
2841
+ """
2842
+ 获取告警中心通知高级配置
2843
+ """
2844
+
2845
+ kwargs = {}
2846
+ kwargs["action"] = "DescribeNotifySettingAlert"
2847
+ kwargs["params"] = request._serialize()
2848
+ kwargs["resp_cls"] = models.DescribeNotifySettingAlertResponse
2849
+ kwargs["headers"] = request.headers
2850
+ kwargs["opts"] = opts or {}
2851
+
2852
+ return await self.call_and_deserialize(**kwargs)
2853
+
2764
2854
  async def DescribeOrganizationInfo(
2765
2855
  self,
2766
2856
  request: models.DescribeOrganizationInfoRequest,
@@ -3913,6 +4003,60 @@ class CsipClient(AbstractClient):
3913
4003
 
3914
4004
  return await self.call_and_deserialize(**kwargs)
3915
4005
 
4006
+ async def ModifyNotifyAssetConfig(
4007
+ self,
4008
+ request: models.ModifyNotifyAssetConfigRequest,
4009
+ opts: Dict = None,
4010
+ ) -> models.ModifyNotifyAssetConfigResponse:
4011
+ """
4012
+ 修改通知资产范围配置
4013
+ """
4014
+
4015
+ kwargs = {}
4016
+ kwargs["action"] = "ModifyNotifyAssetConfig"
4017
+ kwargs["params"] = request._serialize()
4018
+ kwargs["resp_cls"] = models.ModifyNotifyAssetConfigResponse
4019
+ kwargs["headers"] = request.headers
4020
+ kwargs["opts"] = opts or {}
4021
+
4022
+ return await self.call_and_deserialize(**kwargs)
4023
+
4024
+ async def ModifyNotifySetting(
4025
+ self,
4026
+ request: models.ModifyNotifySettingRequest,
4027
+ opts: Dict = None,
4028
+ ) -> models.ModifyNotifySettingResponse:
4029
+ """
4030
+ 修改通知设置
4031
+ """
4032
+
4033
+ kwargs = {}
4034
+ kwargs["action"] = "ModifyNotifySetting"
4035
+ kwargs["params"] = request._serialize()
4036
+ kwargs["resp_cls"] = models.ModifyNotifySettingResponse
4037
+ kwargs["headers"] = request.headers
4038
+ kwargs["opts"] = opts or {}
4039
+
4040
+ return await self.call_and_deserialize(**kwargs)
4041
+
4042
+ async def ModifyNotifySettingAlert(
4043
+ self,
4044
+ request: models.ModifyNotifySettingAlertRequest,
4045
+ opts: Dict = None,
4046
+ ) -> models.ModifyNotifySettingAlertResponse:
4047
+ """
4048
+ 修改告警中心通知高级配置
4049
+ """
4050
+
4051
+ kwargs = {}
4052
+ kwargs["action"] = "ModifyNotifySettingAlert"
4053
+ kwargs["params"] = request._serialize()
4054
+ kwargs["resp_cls"] = models.ModifyNotifySettingAlertResponse
4055
+ kwargs["headers"] = request.headers
4056
+ kwargs["opts"] = opts or {}
4057
+
4058
+ return await self.call_and_deserialize(**kwargs)
4059
+
3916
4060
  async def ModifyOrganizationAccountStatus(
3917
4061
  self,
3918
4062
  request: models.ModifyOrganizationAccountStatusRequest,
@@ -77,6 +77,9 @@ RESOURCEINUSE = 'ResourceInUse'
77
77
  # 资源不足。
78
78
  RESOURCEINSUFFICIENT = 'ResourceInsufficient'
79
79
 
80
+ # 日志分析量不足
81
+ RESOURCEINSUFFICIENT_LOGANALYSISQUANTITYINSUFFICIENT = 'ResourceInsufficient.LogAnalysisQuantityInsufficient'
82
+
80
83
  # 资源不存在。
81
84
  RESOURCENOTFOUND = 'ResourceNotFound'
82
85