tencentcloud-sdk-python-cfw 3.1.112__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_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  5. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud/cfw/v20190904/cfw_client_async.py +18 -0
  6. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud/cfw/v20190904/errorcodes.py +45 -0
  7. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud/cfw/v20190904/models.py +149 -0
  8. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_cfw-3.1.124/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_cfw-3.1.112/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/README.rst +0 -0
  12. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud/cfw/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud/cfw/v20190904/__init__.py +0 -0
  15. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cfw-3.1.112 → tencentcloud_sdk_python_cfw-3.1.124}/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.112
3
+ Version: 3.1.124
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.112
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-cfw',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.112,<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 Cfw SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.112'
17
+ __version__ = '3.1.124'
@@ -1362,6 +1362,29 @@ class CfwClient(AbstractClient):
1362
1362
  raise TencentCloudSDKException(type(e).__name__, str(e))
1363
1363
 
1364
1364
 
1365
+ def DescribeNDRAssetIdentificationCursorList(self, request):
1366
+ r"""DescribeNDRAssetIdentificationCursorList - 游标获取NDR资产识别结果列表
1367
+
1368
+ :param request: Request instance for DescribeNDRAssetIdentificationCursorList.
1369
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRAssetIdentificationCursorListRequest`
1370
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRAssetIdentificationCursorListResponse`
1371
+
1372
+ """
1373
+ try:
1374
+ params = request._serialize()
1375
+ headers = request.headers
1376
+ body = self.call("DescribeNDRAssetIdentificationCursorList", params, headers=headers)
1377
+ response = json.loads(body)
1378
+ model = models.DescribeNDRAssetIdentificationCursorListResponse()
1379
+ model._deserialize(response["Response"])
1380
+ return model
1381
+ except Exception as e:
1382
+ if isinstance(e, TencentCloudSDKException):
1383
+ raise
1384
+ else:
1385
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1386
+
1387
+
1365
1388
  def DescribeNDRAssetIdentificationList(self, request):
1366
1389
  r"""DescribeNDRAssetIdentificationList - 获取NDR资产识别结果列表
1367
1390
 
@@ -1071,6 +1071,24 @@ class CfwClient(AbstractClient):
1071
1071
 
1072
1072
  return await self.call_and_deserialize(**kwargs)
1073
1073
 
1074
+ async def DescribeNDRAssetIdentificationCursorList(
1075
+ self,
1076
+ request: models.DescribeNDRAssetIdentificationCursorListRequest,
1077
+ opts: Dict = None,
1078
+ ) -> models.DescribeNDRAssetIdentificationCursorListResponse:
1079
+ """
1080
+ DescribeNDRAssetIdentificationCursorList - 游标获取NDR资产识别结果列表
1081
+ """
1082
+
1083
+ kwargs = {}
1084
+ kwargs["action"] = "DescribeNDRAssetIdentificationCursorList"
1085
+ kwargs["params"] = request._serialize()
1086
+ kwargs["resp_cls"] = models.DescribeNDRAssetIdentificationCursorListResponse
1087
+ kwargs["headers"] = request.headers
1088
+ kwargs["opts"] = opts or {}
1089
+
1090
+ return await self.call_and_deserialize(**kwargs)
1091
+
1074
1092
  async def DescribeNDRAssetIdentificationList(
1075
1093
  self,
1076
1094
  request: models.DescribeNDRAssetIdentificationListRequest,
@@ -35,6 +35,9 @@ FAILEDOPERATION_SEARCHTIMEOUT = 'FailedOperation.SearchTimeout'
35
35
  # FailedOperation.SyntaxError
36
36
  FAILEDOPERATION_SYNTAXERROR = 'FailedOperation.SyntaxError'
37
37
 
38
+ # FailedOperation.TagQpsLimit
39
+ FAILEDOPERATION_TAGQPSLIMIT = 'FailedOperation.TagQpsLimit'
40
+
38
41
  # FailedOperation.Timeout
39
42
  FAILEDOPERATION_TIMEOUT = 'FailedOperation.Timeout'
40
43
 
@@ -44,6 +47,9 @@ FAILEDOPERATION_TOPICISOLATED = 'FailedOperation.TopicIsolated'
44
47
  # 内部错误。
45
48
  INTERNALERROR = 'InternalError'
46
49
 
50
+ # InternalError.DatabaseException
51
+ INTERNALERROR_DATABASEEXCEPTION = 'InternalError.DatabaseException'
52
+
47
53
  # InternalError.SearchError
48
54
  INTERNALERROR_SEARCHERROR = 'InternalError.SearchError'
49
55
 
@@ -53,9 +59,21 @@ INTERNALERROR_SEARCHFAILED = 'InternalError.SearchFailed'
53
59
  # InternalError.ServerBusy
54
60
  INTERNALERROR_SERVERBUSY = 'InternalError.ServerBusy'
55
61
 
62
+ # InternalError.Unknown
63
+ INTERNALERROR_UNKNOWN = 'InternalError.Unknown'
64
+
65
+ # 无效的过滤器
66
+ INVALIDFILTER = 'InvalidFilter'
67
+
56
68
  # 参数错误。
57
69
  INVALIDPARAMETER = 'InvalidParameter'
58
70
 
71
+ # InvalidParameter.RequestParam
72
+ INVALIDPARAMETER_REQUESTPARAM = 'InvalidParameter.RequestParam'
73
+
74
+ # 无效参数组合
75
+ INVALIDPARAMETERCOMBINATION = 'InvalidParameterCombination'
76
+
59
77
  # 参数取值错误。
60
78
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
61
79
 
@@ -74,9 +92,15 @@ LIMITEXCEEDED_SEARCHRESULTTOOLARGE = 'LimitExceeded.SearchResultTooLarge'
74
92
  # 缺少参数错误。
75
93
  MISSINGPARAMETER = 'MissingParameter'
76
94
 
95
+ # MissingParameter.CommonParam
96
+ MISSINGPARAMETER_COMMONPARAM = 'MissingParameter.CommonParam'
97
+
77
98
  # 操作被拒绝。
78
99
  OPERATIONDENIED = 'OperationDenied'
79
100
 
101
+ # OperationDenied.ACLFailed
102
+ OPERATIONDENIED_ACLFAILED = 'OperationDenied.ACLFailed'
103
+
80
104
  # OperationDenied.AccountDestroy
81
105
  OPERATIONDENIED_ACCOUNTDESTROY = 'OperationDenied.AccountDestroy'
82
106
 
@@ -86,12 +110,18 @@ OPERATIONDENIED_ACCOUNTISOLATE = 'OperationDenied.AccountIsolate'
86
110
  # OperationDenied.AccountNotExists
87
111
  OPERATIONDENIED_ACCOUNTNOTEXISTS = 'OperationDenied.AccountNotExists'
88
112
 
113
+ # OperationDenied.AnalysisSwitchClose
114
+ OPERATIONDENIED_ANALYSISSWITCHCLOSE = 'OperationDenied.AnalysisSwitchClose'
115
+
89
116
  # OperationDenied.NewSyntaxNotSupported
90
117
  OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = 'OperationDenied.NewSyntaxNotSupported'
91
118
 
92
119
  # OperationDenied.OperationNotSupportInSearchLow
93
120
  OPERATIONDENIED_OPERATIONNOTSUPPORTINSEARCHLOW = 'OperationDenied.OperationNotSupportInSearchLow'
94
121
 
122
+ # 地域错误
123
+ REGIONERROR = 'RegionError'
124
+
95
125
  # 请求的次数超过了频率限制。
96
126
  REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
97
127
 
@@ -104,6 +134,18 @@ RESOURCEINSUFFICIENT = 'ResourceInsufficient'
104
134
  # 资源不存在。
105
135
  RESOURCENOTFOUND = 'ResourceNotFound'
106
136
 
137
+ # ResourceNotFound.AlarmNotExist
138
+ RESOURCENOTFOUND_ALARMNOTEXIST = 'ResourceNotFound.AlarmNotExist'
139
+
140
+ # ResourceNotFound.IndexNotExist
141
+ RESOURCENOTFOUND_INDEXNOTEXIST = 'ResourceNotFound.IndexNotExist'
142
+
143
+ # ResourceNotFound.LogsetNotExist
144
+ RESOURCENOTFOUND_LOGSETNOTEXIST = 'ResourceNotFound.LogsetNotExist'
145
+
146
+ # ResourceNotFound.NotFound
147
+ RESOURCENOTFOUND_NOTFOUND = 'ResourceNotFound.NotFound'
148
+
107
149
  # ResourceNotFound.TopicNotExist
108
150
  RESOURCENOTFOUND_TOPICNOTEXIST = 'ResourceNotFound.TopicNotExist'
109
151
 
@@ -116,6 +158,9 @@ RESOURCESSOLDOUT = 'ResourcesSoldOut'
116
158
  # 未授权操作。
117
159
  UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
118
160
 
161
+ # UnauthorizedOperation.PermissionDenied
162
+ UNAUTHORIZEDOPERATION_PERMISSIONDENIED = 'UnauthorizedOperation.PermissionDenied'
163
+
119
164
  # 未知参数错误。
120
165
  UNKNOWNPARAMETER = 'UnknownParameter'
121
166
 
@@ -12770,6 +12770,155 @@ class DescribeLogsResponse(AbstractModel):
12770
12770
  self._RequestId = params.get("RequestId")
12771
12771
 
12772
12772
 
12773
+ class DescribeNDRAssetIdentificationCursorListRequest(AbstractModel):
12774
+ r"""DescribeNDRAssetIdentificationCursorList请求参数结构体
12775
+
12776
+ """
12777
+
12778
+ def __init__(self):
12779
+ r"""
12780
+ :param _Limit: <p>每页条数</p>
12781
+ :type Limit: int
12782
+ :param _Cursor: <p>分页游标</p><p>前一页返回的NextCursor</p>
12783
+ :type Cursor: str
12784
+ :param _Filters: <p>查询过滤条件,多个条件之间为AND的关系</p>
12785
+ :type Filters: list of OperatorFilter
12786
+ """
12787
+ self._Limit = None
12788
+ self._Cursor = None
12789
+ self._Filters = None
12790
+
12791
+ @property
12792
+ def Limit(self):
12793
+ r"""<p>每页条数</p>
12794
+ :rtype: int
12795
+ """
12796
+ return self._Limit
12797
+
12798
+ @Limit.setter
12799
+ def Limit(self, Limit):
12800
+ self._Limit = Limit
12801
+
12802
+ @property
12803
+ def Cursor(self):
12804
+ r"""<p>分页游标</p><p>前一页返回的NextCursor</p>
12805
+ :rtype: str
12806
+ """
12807
+ return self._Cursor
12808
+
12809
+ @Cursor.setter
12810
+ def Cursor(self, Cursor):
12811
+ self._Cursor = Cursor
12812
+
12813
+ @property
12814
+ def Filters(self):
12815
+ r"""<p>查询过滤条件,多个条件之间为AND的关系</p>
12816
+ :rtype: list of OperatorFilter
12817
+ """
12818
+ return self._Filters
12819
+
12820
+ @Filters.setter
12821
+ def Filters(self, Filters):
12822
+ self._Filters = Filters
12823
+
12824
+
12825
+ def _deserialize(self, params):
12826
+ self._Limit = params.get("Limit")
12827
+ self._Cursor = params.get("Cursor")
12828
+ if params.get("Filters") is not None:
12829
+ self._Filters = []
12830
+ for item in params.get("Filters"):
12831
+ obj = OperatorFilter()
12832
+ obj._deserialize(item)
12833
+ self._Filters.append(obj)
12834
+ memeber_set = set(params.keys())
12835
+ for name, value in vars(self).items():
12836
+ property_name = name[1:]
12837
+ if property_name in memeber_set:
12838
+ memeber_set.remove(property_name)
12839
+ if len(memeber_set) > 0:
12840
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12841
+
12842
+
12843
+
12844
+ class DescribeNDRAssetIdentificationCursorListResponse(AbstractModel):
12845
+ r"""DescribeNDRAssetIdentificationCursorList返回参数结构体
12846
+
12847
+ """
12848
+
12849
+ def __init__(self):
12850
+ r"""
12851
+ :param _Data: <p>查询结果列表</p>
12852
+ :type Data: list of NDRAssetServiceInfo
12853
+ :param _NextCursor: <p>下一页游标</p>
12854
+ :type NextCursor: str
12855
+ :param _HasMore: <p>是否存在更多数据</p>
12856
+ :type HasMore: bool
12857
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12858
+ :type RequestId: str
12859
+ """
12860
+ self._Data = None
12861
+ self._NextCursor = None
12862
+ self._HasMore = None
12863
+ self._RequestId = None
12864
+
12865
+ @property
12866
+ def Data(self):
12867
+ r"""<p>查询结果列表</p>
12868
+ :rtype: list of NDRAssetServiceInfo
12869
+ """
12870
+ return self._Data
12871
+
12872
+ @Data.setter
12873
+ def Data(self, Data):
12874
+ self._Data = Data
12875
+
12876
+ @property
12877
+ def NextCursor(self):
12878
+ r"""<p>下一页游标</p>
12879
+ :rtype: str
12880
+ """
12881
+ return self._NextCursor
12882
+
12883
+ @NextCursor.setter
12884
+ def NextCursor(self, NextCursor):
12885
+ self._NextCursor = NextCursor
12886
+
12887
+ @property
12888
+ def HasMore(self):
12889
+ r"""<p>是否存在更多数据</p>
12890
+ :rtype: bool
12891
+ """
12892
+ return self._HasMore
12893
+
12894
+ @HasMore.setter
12895
+ def HasMore(self, HasMore):
12896
+ self._HasMore = HasMore
12897
+
12898
+ @property
12899
+ def RequestId(self):
12900
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12901
+ :rtype: str
12902
+ """
12903
+ return self._RequestId
12904
+
12905
+ @RequestId.setter
12906
+ def RequestId(self, RequestId):
12907
+ self._RequestId = RequestId
12908
+
12909
+
12910
+ def _deserialize(self, params):
12911
+ if params.get("Data") is not None:
12912
+ self._Data = []
12913
+ for item in params.get("Data"):
12914
+ obj = NDRAssetServiceInfo()
12915
+ obj._deserialize(item)
12916
+ self._Data.append(obj)
12917
+ self._NextCursor = params.get("NextCursor")
12918
+ self._HasMore = params.get("HasMore")
12919
+ self._RequestId = params.get("RequestId")
12920
+
12921
+
12773
12922
  class DescribeNDRAssetIdentificationListRequest(AbstractModel):
12774
12923
  r"""DescribeNDRAssetIdentificationList请求参数结构体
12775
12924
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfw
3
- Version: 3.1.112
3
+ Version: 3.1.124
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.112
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.124
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.124
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.112