tencentcloud-sdk-python-csip 3.1.62__tar.gz → 3.1.65__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.62 → tencentcloud_sdk_python_csip-3.1.65}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/setup.py +1 -1
  3. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud/csip/v20221121/csip_client.py +23 -0
  5. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud/csip/v20221121/csip_client_async.py +18 -0
  6. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud/csip/v20221121/models.py +268 -0
  7. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_csip-3.1.65/tencentcloud_sdk_python_csip.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_csip-3.1.62/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/README.rst +0 -0
  11. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud/csip/__init__.py +0 -0
  13. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud/csip/v20221121/__init__.py +0 -0
  14. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/tencentcloud_sdk_python_csip.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_csip-3.1.62 → tencentcloud_sdk_python_csip-3.1.65}/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.62
3
+ Version: 3.1.65
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.62
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.65
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.62,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.65,<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.62'
17
+ __version__ = '3.1.65'
@@ -210,6 +210,29 @@ class CsipClient(AbstractClient):
210
210
  raise TencentCloudSDKException(type(e).__name__, str(e))
211
211
 
212
212
 
213
+ def DescribeAKAnalysisDetail(self, request):
214
+ r"""访问密钥告警记录AI分析结果详情
215
+
216
+ :param request: Request instance for DescribeAKAnalysisDetail.
217
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeAKAnalysisDetailRequest`
218
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeAKAnalysisDetailResponse`
219
+
220
+ """
221
+ try:
222
+ params = request._serialize()
223
+ headers = request.headers
224
+ body = self.call("DescribeAKAnalysisDetail", params, headers=headers)
225
+ response = json.loads(body)
226
+ model = models.DescribeAKAnalysisDetailResponse()
227
+ model._deserialize(response["Response"])
228
+ return model
229
+ except Exception as e:
230
+ if isinstance(e, TencentCloudSDKException):
231
+ raise
232
+ else:
233
+ raise TencentCloudSDKException(type(e).__name__, str(e))
234
+
235
+
213
236
  def DescribeAbnormalCallRecord(self, request):
214
237
  r"""获取调用记录列表
215
238
 
@@ -169,6 +169,24 @@ class CsipClient(AbstractClient):
169
169
 
170
170
  return await self.call_and_deserialize(**kwargs)
171
171
 
172
+ async def DescribeAKAnalysisDetail(
173
+ self,
174
+ request: models.DescribeAKAnalysisDetailRequest,
175
+ opts: Dict = None,
176
+ ) -> models.DescribeAKAnalysisDetailResponse:
177
+ """
178
+ 访问密钥告警记录AI分析结果详情
179
+ """
180
+
181
+ kwargs = {}
182
+ kwargs["action"] = "DescribeAKAnalysisDetail"
183
+ kwargs["params"] = request._serialize()
184
+ kwargs["resp_cls"] = models.DescribeAKAnalysisDetailResponse
185
+ kwargs["headers"] = request.headers
186
+ kwargs["opts"] = opts or {}
187
+
188
+ return await self.call_and_deserialize(**kwargs)
189
+
172
190
  async def DescribeAbnormalCallRecord(
173
191
  self,
174
192
  request: models.DescribeAbnormalCallRecordRequest,
@@ -46,6 +46,8 @@ class AIAgentAsset(AbstractModel):
46
46
  :type ExposureStatus: str
47
47
  :param _MetadataRiskURL: metadata 有风险时对应路径
48
48
  :type MetadataRiskURL: str
49
+ :param _SkillState: 无
50
+ :type SkillState: :class:`tencentcloud.csip.v20221121.models.SkillState`
49
51
  """
50
52
  self._ID = None
51
53
  self._AgentName = None
@@ -57,6 +59,7 @@ class AIAgentAsset(AbstractModel):
57
59
  self._IdentityMethod = None
58
60
  self._ExposureStatus = None
59
61
  self._MetadataRiskURL = None
62
+ self._SkillState = None
60
63
 
61
64
  @property
62
65
  def ID(self):
@@ -169,6 +172,17 @@ class AIAgentAsset(AbstractModel):
169
172
  def MetadataRiskURL(self, MetadataRiskURL):
170
173
  self._MetadataRiskURL = MetadataRiskURL
171
174
 
175
+ @property
176
+ def SkillState(self):
177
+ r"""无
178
+ :rtype: :class:`tencentcloud.csip.v20221121.models.SkillState`
179
+ """
180
+ return self._SkillState
181
+
182
+ @SkillState.setter
183
+ def SkillState(self, SkillState):
184
+ self._SkillState = SkillState
185
+
172
186
 
173
187
  def _deserialize(self, params):
174
188
  self._ID = params.get("ID")
@@ -181,6 +195,9 @@ class AIAgentAsset(AbstractModel):
181
195
  self._IdentityMethod = params.get("IdentityMethod")
182
196
  self._ExposureStatus = params.get("ExposureStatus")
183
197
  self._MetadataRiskURL = params.get("MetadataRiskURL")
198
+ if params.get("SkillState") is not None:
199
+ self._SkillState = SkillState()
200
+ self._SkillState._deserialize(params.get("SkillState"))
184
201
  memeber_set = set(params.keys())
185
202
  for name, value in vars(self).items():
186
203
  property_name = name[1:]
@@ -12769,6 +12786,175 @@ class DescribeAIAgentAssetListResponse(AbstractModel):
12769
12786
  self._RequestId = params.get("RequestId")
12770
12787
 
12771
12788
 
12789
+ class DescribeAKAnalysisDetailRequest(AbstractModel):
12790
+ r"""DescribeAKAnalysisDetail请求参数结构体
12791
+
12792
+ """
12793
+
12794
+ def __init__(self):
12795
+ r"""
12796
+ :param _ID: 告警记录ID
12797
+ :type ID: int
12798
+ :param _MemberId: 集团账号的成员id
12799
+ :type MemberId: list of str
12800
+ """
12801
+ self._ID = None
12802
+ self._MemberId = None
12803
+
12804
+ @property
12805
+ def ID(self):
12806
+ r"""告警记录ID
12807
+ :rtype: int
12808
+ """
12809
+ return self._ID
12810
+
12811
+ @ID.setter
12812
+ def ID(self, ID):
12813
+ self._ID = ID
12814
+
12815
+ @property
12816
+ def MemberId(self):
12817
+ r"""集团账号的成员id
12818
+ :rtype: list of str
12819
+ """
12820
+ return self._MemberId
12821
+
12822
+ @MemberId.setter
12823
+ def MemberId(self, MemberId):
12824
+ self._MemberId = MemberId
12825
+
12826
+
12827
+ def _deserialize(self, params):
12828
+ self._ID = params.get("ID")
12829
+ self._MemberId = params.get("MemberId")
12830
+ memeber_set = set(params.keys())
12831
+ for name, value in vars(self).items():
12832
+ property_name = name[1:]
12833
+ if property_name in memeber_set:
12834
+ memeber_set.remove(property_name)
12835
+ if len(memeber_set) > 0:
12836
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12837
+
12838
+
12839
+
12840
+ class DescribeAKAnalysisDetailResponse(AbstractModel):
12841
+ r"""DescribeAKAnalysisDetail返回参数结构体
12842
+
12843
+ """
12844
+
12845
+ def __init__(self):
12846
+ r"""
12847
+ :param _AIStatus: 告警AI分析状态 -1 分析失败 0 未分析 1 分析中 2 分析成功,真实告警 3 分析成功,可疑告警
12848
+ :type AIStatus: int
12849
+ :param _AITaskID: AI分析任务ID
12850
+ :type AITaskID: str
12851
+ :param _AIResult: 告警AI分析结果,base64格式,避免数据被拦截
12852
+ :type AIResult: str
12853
+ :param _Feedback: 反馈建议
12854
+ :type Feedback: str
12855
+ :param _FeedbackResult: 反馈状态 0表示没有反馈,1表示认可,2表示不认可
12856
+ :type FeedbackResult: int
12857
+ :param _FailedReason: 失败原因
12858
+ :type FailedReason: str
12859
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12860
+ :type RequestId: str
12861
+ """
12862
+ self._AIStatus = None
12863
+ self._AITaskID = None
12864
+ self._AIResult = None
12865
+ self._Feedback = None
12866
+ self._FeedbackResult = None
12867
+ self._FailedReason = None
12868
+ self._RequestId = None
12869
+
12870
+ @property
12871
+ def AIStatus(self):
12872
+ r"""告警AI分析状态 -1 分析失败 0 未分析 1 分析中 2 分析成功,真实告警 3 分析成功,可疑告警
12873
+ :rtype: int
12874
+ """
12875
+ return self._AIStatus
12876
+
12877
+ @AIStatus.setter
12878
+ def AIStatus(self, AIStatus):
12879
+ self._AIStatus = AIStatus
12880
+
12881
+ @property
12882
+ def AITaskID(self):
12883
+ r"""AI分析任务ID
12884
+ :rtype: str
12885
+ """
12886
+ return self._AITaskID
12887
+
12888
+ @AITaskID.setter
12889
+ def AITaskID(self, AITaskID):
12890
+ self._AITaskID = AITaskID
12891
+
12892
+ @property
12893
+ def AIResult(self):
12894
+ r"""告警AI分析结果,base64格式,避免数据被拦截
12895
+ :rtype: str
12896
+ """
12897
+ return self._AIResult
12898
+
12899
+ @AIResult.setter
12900
+ def AIResult(self, AIResult):
12901
+ self._AIResult = AIResult
12902
+
12903
+ @property
12904
+ def Feedback(self):
12905
+ r"""反馈建议
12906
+ :rtype: str
12907
+ """
12908
+ return self._Feedback
12909
+
12910
+ @Feedback.setter
12911
+ def Feedback(self, Feedback):
12912
+ self._Feedback = Feedback
12913
+
12914
+ @property
12915
+ def FeedbackResult(self):
12916
+ r"""反馈状态 0表示没有反馈,1表示认可,2表示不认可
12917
+ :rtype: int
12918
+ """
12919
+ return self._FeedbackResult
12920
+
12921
+ @FeedbackResult.setter
12922
+ def FeedbackResult(self, FeedbackResult):
12923
+ self._FeedbackResult = FeedbackResult
12924
+
12925
+ @property
12926
+ def FailedReason(self):
12927
+ r"""失败原因
12928
+ :rtype: str
12929
+ """
12930
+ return self._FailedReason
12931
+
12932
+ @FailedReason.setter
12933
+ def FailedReason(self, FailedReason):
12934
+ self._FailedReason = FailedReason
12935
+
12936
+ @property
12937
+ def RequestId(self):
12938
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12939
+ :rtype: str
12940
+ """
12941
+ return self._RequestId
12942
+
12943
+ @RequestId.setter
12944
+ def RequestId(self, RequestId):
12945
+ self._RequestId = RequestId
12946
+
12947
+
12948
+ def _deserialize(self, params):
12949
+ self._AIStatus = params.get("AIStatus")
12950
+ self._AITaskID = params.get("AITaskID")
12951
+ self._AIResult = params.get("AIResult")
12952
+ self._Feedback = params.get("Feedback")
12953
+ self._FeedbackResult = params.get("FeedbackResult")
12954
+ self._FailedReason = params.get("FailedReason")
12955
+ self._RequestId = params.get("RequestId")
12956
+
12957
+
12772
12958
  class DescribeAbnormalCallRecordRequest(AbstractModel):
12773
12959
  r"""DescribeAbnormalCallRecord请求参数结构体
12774
12960
 
@@ -33103,6 +33289,88 @@ class ServiceSupport(AbstractModel):
33103
33289
 
33104
33290
 
33105
33291
 
33292
+ class SkillState(AbstractModel):
33293
+ r"""SKILL安装状态信息
33294
+
33295
+ """
33296
+
33297
+ def __init__(self):
33298
+ r"""
33299
+ :param _SkillInstallStatus: SKILL安装状态
33300
+ 枚举值:
33301
+ 0:未安装
33302
+ 1:安装中
33303
+ 2:已安装
33304
+ 3:安装失败
33305
+ 4:卸载中
33306
+ 5:卸载失败
33307
+ :type SkillInstallStatus: int
33308
+ :param _SkillInstallTime: SKILL安装/卸载操作时间
33309
+ 参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
33310
+ :type SkillInstallTime: str
33311
+ :param _SkillInstallResult: SKILL安装/卸载结果描述信息
33312
+ :type SkillInstallResult: str
33313
+ """
33314
+ self._SkillInstallStatus = None
33315
+ self._SkillInstallTime = None
33316
+ self._SkillInstallResult = None
33317
+
33318
+ @property
33319
+ def SkillInstallStatus(self):
33320
+ r"""SKILL安装状态
33321
+ 枚举值:
33322
+ 0:未安装
33323
+ 1:安装中
33324
+ 2:已安装
33325
+ 3:安装失败
33326
+ 4:卸载中
33327
+ 5:卸载失败
33328
+ :rtype: int
33329
+ """
33330
+ return self._SkillInstallStatus
33331
+
33332
+ @SkillInstallStatus.setter
33333
+ def SkillInstallStatus(self, SkillInstallStatus):
33334
+ self._SkillInstallStatus = SkillInstallStatus
33335
+
33336
+ @property
33337
+ def SkillInstallTime(self):
33338
+ r"""SKILL安装/卸载操作时间
33339
+ 参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
33340
+ :rtype: str
33341
+ """
33342
+ return self._SkillInstallTime
33343
+
33344
+ @SkillInstallTime.setter
33345
+ def SkillInstallTime(self, SkillInstallTime):
33346
+ self._SkillInstallTime = SkillInstallTime
33347
+
33348
+ @property
33349
+ def SkillInstallResult(self):
33350
+ r"""SKILL安装/卸载结果描述信息
33351
+ :rtype: str
33352
+ """
33353
+ return self._SkillInstallResult
33354
+
33355
+ @SkillInstallResult.setter
33356
+ def SkillInstallResult(self, SkillInstallResult):
33357
+ self._SkillInstallResult = SkillInstallResult
33358
+
33359
+
33360
+ def _deserialize(self, params):
33361
+ self._SkillInstallStatus = params.get("SkillInstallStatus")
33362
+ self._SkillInstallTime = params.get("SkillInstallTime")
33363
+ self._SkillInstallResult = params.get("SkillInstallResult")
33364
+ memeber_set = set(params.keys())
33365
+ for name, value in vars(self).items():
33366
+ property_name = name[1:]
33367
+ if property_name in memeber_set:
33368
+ memeber_set.remove(property_name)
33369
+ if len(memeber_set) > 0:
33370
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
33371
+
33372
+
33373
+
33106
33374
  class SourceIPAsset(AbstractModel):
33107
33375
  r"""访问密钥资产信息(源IP角度)
33108
33376
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-csip
3
- Version: 3.1.62
3
+ Version: 3.1.65
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.62
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.65
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.65
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.62