tencentcloud-sdk-python-csip 3.1.43__tar.gz → 3.1.63__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.43 → tencentcloud_sdk_python_csip-3.1.63}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/setup.py +1 -1
  3. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud/csip/v20221121/csip_client.py +23 -0
  5. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud/csip/v20221121/csip_client_async.py +18 -0
  6. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud/csip/v20221121/models.py +388 -0
  7. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_csip-3.1.63/tencentcloud_sdk_python_csip.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_csip-3.1.43/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/README.rst +0 -0
  11. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud/csip/__init__.py +0 -0
  13. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud/csip/v20221121/__init__.py +0 -0
  14. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/tencentcloud_sdk_python_csip.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_csip-3.1.43 → tencentcloud_sdk_python_csip-3.1.63}/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.43
3
+ Version: 3.1.63
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.43
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.63
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.43,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.63,<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.43'
17
+ __version__ = '3.1.63'
@@ -187,6 +187,29 @@ class CsipClient(AbstractClient):
187
187
  raise TencentCloudSDKException(type(e).__name__, str(e))
188
188
 
189
189
 
190
+ def DescribeAIAgentAssetList(self, request):
191
+ r"""获取 AI agent 资产列表
192
+
193
+ :param request: Request instance for DescribeAIAgentAssetList.
194
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeAIAgentAssetListRequest`
195
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeAIAgentAssetListResponse`
196
+
197
+ """
198
+ try:
199
+ params = request._serialize()
200
+ headers = request.headers
201
+ body = self.call("DescribeAIAgentAssetList", params, headers=headers)
202
+ response = json.loads(body)
203
+ model = models.DescribeAIAgentAssetListResponse()
204
+ model._deserialize(response["Response"])
205
+ return model
206
+ except Exception as e:
207
+ if isinstance(e, TencentCloudSDKException):
208
+ raise
209
+ else:
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
211
+
212
+
190
213
  def DescribeAbnormalCallRecord(self, request):
191
214
  r"""获取调用记录列表
192
215
 
@@ -151,6 +151,24 @@ class CsipClient(AbstractClient):
151
151
 
152
152
  return await self.call_and_deserialize(**kwargs)
153
153
 
154
+ async def DescribeAIAgentAssetList(
155
+ self,
156
+ request: models.DescribeAIAgentAssetListRequest,
157
+ opts: Dict = None,
158
+ ) -> models.DescribeAIAgentAssetListResponse:
159
+ """
160
+ 获取 AI agent 资产列表
161
+ """
162
+
163
+ kwargs = {}
164
+ kwargs["action"] = "DescribeAIAgentAssetList"
165
+ kwargs["params"] = request._serialize()
166
+ kwargs["resp_cls"] = models.DescribeAIAgentAssetListResponse
167
+ kwargs["headers"] = request.headers
168
+ kwargs["opts"] = opts or {}
169
+
170
+ return await self.call_and_deserialize(**kwargs)
171
+
154
172
  async def DescribeAbnormalCallRecord(
155
173
  self,
156
174
  request: models.DescribeAbnormalCallRecordRequest,
@@ -18,6 +18,196 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class AIAgentAsset(AbstractModel):
22
+ r"""Ai Agent 资产信息列表项
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _ID: ID 标识
29
+ :type ID: str
30
+ :param _AgentName: agent 名称
31
+ :type AgentName: str
32
+ :param _AgentModel: agent 使用模型名称
33
+ :type AgentModel: list of str
34
+ :param _InstanceID: 实例 ID
35
+ :type InstanceID: str
36
+ :param _MetadataRiskList: metadata 风险列表。有如下枚举值: 1. AK_TMP 2. USER_DATA
37
+ :type MetadataRiskList: list of str
38
+ :param _IdentityTimeFirst: 首次检出时间
39
+ :type IdentityTimeFirst: str
40
+ :param _IdentityTimeLast: 最近检出时间
41
+ :type IdentityTimeLast: str
42
+ :param _IdentityMethod: 检出方式。有如下枚举值 1. FINGER 资产指纹方式检出 2. NETWORK 网络访问方式检出
43
+ :type IdentityMethod: str
44
+ :param _ExposureStatus: 暴露状态。有如下枚举值。1. EXPOSED;2.UNEXPOSED;
45
+ 3. UNKNOWN;
46
+ :type ExposureStatus: str
47
+ :param _MetadataRiskURL: metadata 有风险时对应路径
48
+ :type MetadataRiskURL: str
49
+ :param _SkillState: 无
50
+ :type SkillState: :class:`tencentcloud.csip.v20221121.models.SkillState`
51
+ """
52
+ self._ID = None
53
+ self._AgentName = None
54
+ self._AgentModel = None
55
+ self._InstanceID = None
56
+ self._MetadataRiskList = None
57
+ self._IdentityTimeFirst = None
58
+ self._IdentityTimeLast = None
59
+ self._IdentityMethod = None
60
+ self._ExposureStatus = None
61
+ self._MetadataRiskURL = None
62
+ self._SkillState = None
63
+
64
+ @property
65
+ def ID(self):
66
+ r"""ID 标识
67
+ :rtype: str
68
+ """
69
+ return self._ID
70
+
71
+ @ID.setter
72
+ def ID(self, ID):
73
+ self._ID = ID
74
+
75
+ @property
76
+ def AgentName(self):
77
+ r"""agent 名称
78
+ :rtype: str
79
+ """
80
+ return self._AgentName
81
+
82
+ @AgentName.setter
83
+ def AgentName(self, AgentName):
84
+ self._AgentName = AgentName
85
+
86
+ @property
87
+ def AgentModel(self):
88
+ r"""agent 使用模型名称
89
+ :rtype: list of str
90
+ """
91
+ return self._AgentModel
92
+
93
+ @AgentModel.setter
94
+ def AgentModel(self, AgentModel):
95
+ self._AgentModel = AgentModel
96
+
97
+ @property
98
+ def InstanceID(self):
99
+ r"""实例 ID
100
+ :rtype: str
101
+ """
102
+ return self._InstanceID
103
+
104
+ @InstanceID.setter
105
+ def InstanceID(self, InstanceID):
106
+ self._InstanceID = InstanceID
107
+
108
+ @property
109
+ def MetadataRiskList(self):
110
+ r"""metadata 风险列表。有如下枚举值: 1. AK_TMP 2. USER_DATA
111
+ :rtype: list of str
112
+ """
113
+ return self._MetadataRiskList
114
+
115
+ @MetadataRiskList.setter
116
+ def MetadataRiskList(self, MetadataRiskList):
117
+ self._MetadataRiskList = MetadataRiskList
118
+
119
+ @property
120
+ def IdentityTimeFirst(self):
121
+ r"""首次检出时间
122
+ :rtype: str
123
+ """
124
+ return self._IdentityTimeFirst
125
+
126
+ @IdentityTimeFirst.setter
127
+ def IdentityTimeFirst(self, IdentityTimeFirst):
128
+ self._IdentityTimeFirst = IdentityTimeFirst
129
+
130
+ @property
131
+ def IdentityTimeLast(self):
132
+ r"""最近检出时间
133
+ :rtype: str
134
+ """
135
+ return self._IdentityTimeLast
136
+
137
+ @IdentityTimeLast.setter
138
+ def IdentityTimeLast(self, IdentityTimeLast):
139
+ self._IdentityTimeLast = IdentityTimeLast
140
+
141
+ @property
142
+ def IdentityMethod(self):
143
+ r"""检出方式。有如下枚举值 1. FINGER 资产指纹方式检出 2. NETWORK 网络访问方式检出
144
+ :rtype: str
145
+ """
146
+ return self._IdentityMethod
147
+
148
+ @IdentityMethod.setter
149
+ def IdentityMethod(self, IdentityMethod):
150
+ self._IdentityMethod = IdentityMethod
151
+
152
+ @property
153
+ def ExposureStatus(self):
154
+ r"""暴露状态。有如下枚举值。1. EXPOSED;2.UNEXPOSED;
155
+ 3. UNKNOWN;
156
+ :rtype: str
157
+ """
158
+ return self._ExposureStatus
159
+
160
+ @ExposureStatus.setter
161
+ def ExposureStatus(self, ExposureStatus):
162
+ self._ExposureStatus = ExposureStatus
163
+
164
+ @property
165
+ def MetadataRiskURL(self):
166
+ r"""metadata 有风险时对应路径
167
+ :rtype: str
168
+ """
169
+ return self._MetadataRiskURL
170
+
171
+ @MetadataRiskURL.setter
172
+ def MetadataRiskURL(self, MetadataRiskURL):
173
+ self._MetadataRiskURL = MetadataRiskURL
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
+
186
+
187
+ def _deserialize(self, params):
188
+ self._ID = params.get("ID")
189
+ self._AgentName = params.get("AgentName")
190
+ self._AgentModel = params.get("AgentModel")
191
+ self._InstanceID = params.get("InstanceID")
192
+ self._MetadataRiskList = params.get("MetadataRiskList")
193
+ self._IdentityTimeFirst = params.get("IdentityTimeFirst")
194
+ self._IdentityTimeLast = params.get("IdentityTimeLast")
195
+ self._IdentityMethod = params.get("IdentityMethod")
196
+ self._ExposureStatus = params.get("ExposureStatus")
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"))
201
+ memeber_set = set(params.keys())
202
+ for name, value in vars(self).items():
203
+ property_name = name[1:]
204
+ if property_name in memeber_set:
205
+ memeber_set.remove(property_name)
206
+ if len(memeber_set) > 0:
207
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
208
+
209
+
210
+
21
211
  class AKInfo(AbstractModel):
22
212
  r"""AK简要信息
23
213
 
@@ -12480,6 +12670,122 @@ class DeleteRiskScanTaskResponse(AbstractModel):
12480
12670
  self._RequestId = params.get("RequestId")
12481
12671
 
12482
12672
 
12673
+ class DescribeAIAgentAssetListRequest(AbstractModel):
12674
+ r"""DescribeAIAgentAssetList请求参数结构体
12675
+
12676
+ """
12677
+
12678
+ def __init__(self):
12679
+ r"""
12680
+ :param _MemberId: 集团账号的成员id
12681
+ :type MemberId: list of str
12682
+ :param _Filter: 筛选
12683
+ :type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
12684
+ """
12685
+ self._MemberId = None
12686
+ self._Filter = None
12687
+
12688
+ @property
12689
+ def MemberId(self):
12690
+ r"""集团账号的成员id
12691
+ :rtype: list of str
12692
+ """
12693
+ return self._MemberId
12694
+
12695
+ @MemberId.setter
12696
+ def MemberId(self, MemberId):
12697
+ self._MemberId = MemberId
12698
+
12699
+ @property
12700
+ def Filter(self):
12701
+ r"""筛选
12702
+ :rtype: :class:`tencentcloud.csip.v20221121.models.Filter`
12703
+ """
12704
+ return self._Filter
12705
+
12706
+ @Filter.setter
12707
+ def Filter(self, Filter):
12708
+ self._Filter = Filter
12709
+
12710
+
12711
+ def _deserialize(self, params):
12712
+ self._MemberId = params.get("MemberId")
12713
+ if params.get("Filter") is not None:
12714
+ self._Filter = Filter()
12715
+ self._Filter._deserialize(params.get("Filter"))
12716
+ memeber_set = set(params.keys())
12717
+ for name, value in vars(self).items():
12718
+ property_name = name[1:]
12719
+ if property_name in memeber_set:
12720
+ memeber_set.remove(property_name)
12721
+ if len(memeber_set) > 0:
12722
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12723
+
12724
+
12725
+
12726
+ class DescribeAIAgentAssetListResponse(AbstractModel):
12727
+ r"""DescribeAIAgentAssetList返回参数结构体
12728
+
12729
+ """
12730
+
12731
+ def __init__(self):
12732
+ r"""
12733
+ :param _AssetList: 资产列表
12734
+ :type AssetList: list of AIAgentAsset
12735
+ :param _TotalCount: 资产总数
12736
+ :type TotalCount: int
12737
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12738
+ :type RequestId: str
12739
+ """
12740
+ self._AssetList = None
12741
+ self._TotalCount = None
12742
+ self._RequestId = None
12743
+
12744
+ @property
12745
+ def AssetList(self):
12746
+ r"""资产列表
12747
+ :rtype: list of AIAgentAsset
12748
+ """
12749
+ return self._AssetList
12750
+
12751
+ @AssetList.setter
12752
+ def AssetList(self, AssetList):
12753
+ self._AssetList = AssetList
12754
+
12755
+ @property
12756
+ def TotalCount(self):
12757
+ r"""资产总数
12758
+ :rtype: int
12759
+ """
12760
+ return self._TotalCount
12761
+
12762
+ @TotalCount.setter
12763
+ def TotalCount(self, TotalCount):
12764
+ self._TotalCount = TotalCount
12765
+
12766
+ @property
12767
+ def RequestId(self):
12768
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12769
+ :rtype: str
12770
+ """
12771
+ return self._RequestId
12772
+
12773
+ @RequestId.setter
12774
+ def RequestId(self, RequestId):
12775
+ self._RequestId = RequestId
12776
+
12777
+
12778
+ def _deserialize(self, params):
12779
+ if params.get("AssetList") is not None:
12780
+ self._AssetList = []
12781
+ for item in params.get("AssetList"):
12782
+ obj = AIAgentAsset()
12783
+ obj._deserialize(item)
12784
+ self._AssetList.append(obj)
12785
+ self._TotalCount = params.get("TotalCount")
12786
+ self._RequestId = params.get("RequestId")
12787
+
12788
+
12483
12789
  class DescribeAbnormalCallRecordRequest(AbstractModel):
12484
12790
  r"""DescribeAbnormalCallRecord请求参数结构体
12485
12791
 
@@ -32814,6 +33120,88 @@ class ServiceSupport(AbstractModel):
32814
33120
 
32815
33121
 
32816
33122
 
33123
+ class SkillState(AbstractModel):
33124
+ r"""SKILL安装状态信息
33125
+
33126
+ """
33127
+
33128
+ def __init__(self):
33129
+ r"""
33130
+ :param _SkillInstallStatus: SKILL安装状态
33131
+ 枚举值:
33132
+ 0:未安装
33133
+ 1:安装中
33134
+ 2:已安装
33135
+ 3:安装失败
33136
+ 4:卸载中
33137
+ 5:卸载失败
33138
+ :type SkillInstallStatus: int
33139
+ :param _SkillInstallTime: SKILL安装/卸载操作时间
33140
+ 参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
33141
+ :type SkillInstallTime: str
33142
+ :param _SkillInstallResult: SKILL安装/卸载结果描述信息
33143
+ :type SkillInstallResult: str
33144
+ """
33145
+ self._SkillInstallStatus = None
33146
+ self._SkillInstallTime = None
33147
+ self._SkillInstallResult = None
33148
+
33149
+ @property
33150
+ def SkillInstallStatus(self):
33151
+ r"""SKILL安装状态
33152
+ 枚举值:
33153
+ 0:未安装
33154
+ 1:安装中
33155
+ 2:已安装
33156
+ 3:安装失败
33157
+ 4:卸载中
33158
+ 5:卸载失败
33159
+ :rtype: int
33160
+ """
33161
+ return self._SkillInstallStatus
33162
+
33163
+ @SkillInstallStatus.setter
33164
+ def SkillInstallStatus(self, SkillInstallStatus):
33165
+ self._SkillInstallStatus = SkillInstallStatus
33166
+
33167
+ @property
33168
+ def SkillInstallTime(self):
33169
+ r"""SKILL安装/卸载操作时间
33170
+ 参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
33171
+ :rtype: str
33172
+ """
33173
+ return self._SkillInstallTime
33174
+
33175
+ @SkillInstallTime.setter
33176
+ def SkillInstallTime(self, SkillInstallTime):
33177
+ self._SkillInstallTime = SkillInstallTime
33178
+
33179
+ @property
33180
+ def SkillInstallResult(self):
33181
+ r"""SKILL安装/卸载结果描述信息
33182
+ :rtype: str
33183
+ """
33184
+ return self._SkillInstallResult
33185
+
33186
+ @SkillInstallResult.setter
33187
+ def SkillInstallResult(self, SkillInstallResult):
33188
+ self._SkillInstallResult = SkillInstallResult
33189
+
33190
+
33191
+ def _deserialize(self, params):
33192
+ self._SkillInstallStatus = params.get("SkillInstallStatus")
33193
+ self._SkillInstallTime = params.get("SkillInstallTime")
33194
+ self._SkillInstallResult = params.get("SkillInstallResult")
33195
+ memeber_set = set(params.keys())
33196
+ for name, value in vars(self).items():
33197
+ property_name = name[1:]
33198
+ if property_name in memeber_set:
33199
+ memeber_set.remove(property_name)
33200
+ if len(memeber_set) > 0:
33201
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
33202
+
33203
+
33204
+
32817
33205
  class SourceIPAsset(AbstractModel):
32818
33206
  r"""访问密钥资产信息(源IP角度)
32819
33207
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-csip
3
- Version: 3.1.43
3
+ Version: 3.1.63
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.43
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.63
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.63
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.43