tencentcloud-sdk-python 3.0.1207__py2.py3-none-any.whl → 3.0.1208__py2.py3-none-any.whl

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.
@@ -2512,8 +2512,11 @@ class AddComplianceAssetPolicySetToWhitelistRequest(AbstractModel):
2512
2512
  r"""
2513
2513
  :param _AssetPolicySetList: 资产ID+检查项IDs. 列表
2514
2514
  :type AssetPolicySetList: list of ComplianceAssetPolicySetItem
2515
+ :param _AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
2516
+ :type AssetType: str
2515
2517
  """
2516
2518
  self._AssetPolicySetList = None
2519
+ self._AssetType = None
2517
2520
 
2518
2521
  @property
2519
2522
  def AssetPolicySetList(self):
@@ -2523,6 +2526,14 @@ class AddComplianceAssetPolicySetToWhitelistRequest(AbstractModel):
2523
2526
  def AssetPolicySetList(self, AssetPolicySetList):
2524
2527
  self._AssetPolicySetList = AssetPolicySetList
2525
2528
 
2529
+ @property
2530
+ def AssetType(self):
2531
+ return self._AssetType
2532
+
2533
+ @AssetType.setter
2534
+ def AssetType(self, AssetType):
2535
+ self._AssetType = AssetType
2536
+
2526
2537
 
2527
2538
  def _deserialize(self, params):
2528
2539
  if params.get("AssetPolicySetList") is not None:
@@ -2531,6 +2542,7 @@ class AddComplianceAssetPolicySetToWhitelistRequest(AbstractModel):
2531
2542
  obj = ComplianceAssetPolicySetItem()
2532
2543
  obj._deserialize(item)
2533
2544
  self._AssetPolicySetList.append(obj)
2545
+ self._AssetType = params.get("AssetType")
2534
2546
  memeber_set = set(params.keys())
2535
2547
  for name, value in vars(self).items():
2536
2548
  property_name = name[1:]
@@ -7181,6 +7193,15 @@ CHECK_FAILED, 检测失败
7181
7193
  :param _IgnoredPolicyItemCount: 已忽略的检查项总数
7182
7194
  注意:此字段可能返回 null,表示取不到有效值。
7183
7195
  :type IgnoredPolicyItemCount: int
7196
+ :param _TotalPolicyItemCount: 总检测项数
7197
+ 注意:此字段可能返回 null,表示取不到有效值。
7198
+ :type TotalPolicyItemCount: int
7199
+ :param _DetectHostCount: 检测主机数
7200
+ 注意:此字段可能返回 null,表示取不到有效值。
7201
+ :type DetectHostCount: int
7202
+ :param _LeftTime: 当前任务剩余时间,单位秒
7203
+ 注意:此字段可能返回 null,表示取不到有效值。
7204
+ :type LeftTime: int
7184
7205
  """
7185
7206
  self._AssetType = None
7186
7207
  self._IsCustomerFirstCheck = None
@@ -7202,6 +7223,9 @@ CHECK_FAILED, 检测失败
7202
7223
  self._PeriodRule = None
7203
7224
  self._OpenPolicyItemCount = None
7204
7225
  self._IgnoredPolicyItemCount = None
7226
+ self._TotalPolicyItemCount = None
7227
+ self._DetectHostCount = None
7228
+ self._LeftTime = None
7205
7229
 
7206
7230
  @property
7207
7231
  def AssetType(self):
@@ -7363,6 +7387,30 @@ CHECK_FAILED, 检测失败
7363
7387
  def IgnoredPolicyItemCount(self, IgnoredPolicyItemCount):
7364
7388
  self._IgnoredPolicyItemCount = IgnoredPolicyItemCount
7365
7389
 
7390
+ @property
7391
+ def TotalPolicyItemCount(self):
7392
+ return self._TotalPolicyItemCount
7393
+
7394
+ @TotalPolicyItemCount.setter
7395
+ def TotalPolicyItemCount(self, TotalPolicyItemCount):
7396
+ self._TotalPolicyItemCount = TotalPolicyItemCount
7397
+
7398
+ @property
7399
+ def DetectHostCount(self):
7400
+ return self._DetectHostCount
7401
+
7402
+ @DetectHostCount.setter
7403
+ def DetectHostCount(self, DetectHostCount):
7404
+ self._DetectHostCount = DetectHostCount
7405
+
7406
+ @property
7407
+ def LeftTime(self):
7408
+ return self._LeftTime
7409
+
7410
+ @LeftTime.setter
7411
+ def LeftTime(self, LeftTime):
7412
+ self._LeftTime = LeftTime
7413
+
7366
7414
 
7367
7415
  def _deserialize(self, params):
7368
7416
  self._AssetType = params.get("AssetType")
@@ -7387,6 +7435,9 @@ CHECK_FAILED, 检测失败
7387
7435
  self._PeriodRule._deserialize(params.get("PeriodRule"))
7388
7436
  self._OpenPolicyItemCount = params.get("OpenPolicyItemCount")
7389
7437
  self._IgnoredPolicyItemCount = params.get("IgnoredPolicyItemCount")
7438
+ self._TotalPolicyItemCount = params.get("TotalPolicyItemCount")
7439
+ self._DetectHostCount = params.get("DetectHostCount")
7440
+ self._LeftTime = params.get("LeftTime")
7390
7441
  memeber_set = set(params.keys())
7391
7442
  for name, value in vars(self).items():
7392
7443
  property_name = name[1:]
@@ -8072,6 +8123,11 @@ RESULT_FAILED: 未通过
8072
8123
  :param _AuditProcedure: 检查项审计方法
8073
8124
  注意:此字段可能返回 null,表示取不到有效值。
8074
8125
  :type AuditProcedure: str
8126
+ :param _IsEnable: 是否开启
8127
+ <li>0 关闭</li>
8128
+ <li>1 开启</li>
8129
+ 注意:此字段可能返回 null,表示取不到有效值。
8130
+ :type IsEnable: int
8075
8131
  """
8076
8132
  self._CustomerPolicyItemId = None
8077
8133
  self._BasePolicyItemId = None
@@ -8091,6 +8147,7 @@ RESULT_FAILED: 未通过
8091
8147
  self._ApplicableVersion = None
8092
8148
  self._Description = None
8093
8149
  self._AuditProcedure = None
8150
+ self._IsEnable = None
8094
8151
 
8095
8152
  @property
8096
8153
  def CustomerPolicyItemId(self):
@@ -8236,6 +8293,14 @@ RESULT_FAILED: 未通过
8236
8293
  def AuditProcedure(self, AuditProcedure):
8237
8294
  self._AuditProcedure = AuditProcedure
8238
8295
 
8296
+ @property
8297
+ def IsEnable(self):
8298
+ return self._IsEnable
8299
+
8300
+ @IsEnable.setter
8301
+ def IsEnable(self, IsEnable):
8302
+ self._IsEnable = IsEnable
8303
+
8239
8304
 
8240
8305
  def _deserialize(self, params):
8241
8306
  self._CustomerPolicyItemId = params.get("CustomerPolicyItemId")
@@ -8256,6 +8321,7 @@ RESULT_FAILED: 未通过
8256
8321
  self._ApplicableVersion = params.get("ApplicableVersion")
8257
8322
  self._Description = params.get("Description")
8258
8323
  self._AuditProcedure = params.get("AuditProcedure")
8324
+ self._IsEnable = params.get("IsEnable")
8259
8325
  memeber_set = set(params.keys())
8260
8326
  for name, value in vars(self).items():
8261
8327
  property_name = name[1:]
@@ -14457,9 +14523,12 @@ class DeleteComplianceAssetPolicySetFromWhitelistRequest(AbstractModel):
14457
14523
  :type AssetItemId: int
14458
14524
  :param _CustomerPolicyItemIdSet: 需要忽略指定资产内的检查项ID列表
14459
14525
  :type CustomerPolicyItemIdSet: list of int non-negative
14526
+ :param _AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
14527
+ :type AssetType: str
14460
14528
  """
14461
14529
  self._AssetItemId = None
14462
14530
  self._CustomerPolicyItemIdSet = None
14531
+ self._AssetType = None
14463
14532
 
14464
14533
  @property
14465
14534
  def AssetItemId(self):
@@ -14477,10 +14546,19 @@ class DeleteComplianceAssetPolicySetFromWhitelistRequest(AbstractModel):
14477
14546
  def CustomerPolicyItemIdSet(self, CustomerPolicyItemIdSet):
14478
14547
  self._CustomerPolicyItemIdSet = CustomerPolicyItemIdSet
14479
14548
 
14549
+ @property
14550
+ def AssetType(self):
14551
+ return self._AssetType
14552
+
14553
+ @AssetType.setter
14554
+ def AssetType(self, AssetType):
14555
+ self._AssetType = AssetType
14556
+
14480
14557
 
14481
14558
  def _deserialize(self, params):
14482
14559
  self._AssetItemId = params.get("AssetItemId")
14483
14560
  self._CustomerPolicyItemIdSet = params.get("CustomerPolicyItemIdSet")
14561
+ self._AssetType = params.get("AssetType")
14484
14562
  memeber_set = set(params.keys())
14485
14563
  for name, value in vars(self).items():
14486
14564
  property_name = name[1:]
@@ -26030,8 +26108,11 @@ class DescribeComplianceAssetDetailInfoRequest(AbstractModel):
26030
26108
  r"""
26031
26109
  :param _CustomerAssetId: 客户资产ID。
26032
26110
  :type CustomerAssetId: int
26111
+ :param _AssetType: 资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
26112
+ :type AssetType: str
26033
26113
  """
26034
26114
  self._CustomerAssetId = None
26115
+ self._AssetType = None
26035
26116
 
26036
26117
  @property
26037
26118
  def CustomerAssetId(self):
@@ -26041,9 +26122,18 @@ class DescribeComplianceAssetDetailInfoRequest(AbstractModel):
26041
26122
  def CustomerAssetId(self, CustomerAssetId):
26042
26123
  self._CustomerAssetId = CustomerAssetId
26043
26124
 
26125
+ @property
26126
+ def AssetType(self):
26127
+ return self._AssetType
26128
+
26129
+ @AssetType.setter
26130
+ def AssetType(self, AssetType):
26131
+ self._AssetType = AssetType
26132
+
26044
26133
 
26045
26134
  def _deserialize(self, params):
26046
26135
  self._CustomerAssetId = params.get("CustomerAssetId")
26136
+ self._AssetType = params.get("AssetType")
26047
26137
  memeber_set = set(params.keys())
26048
26138
  for name, value in vars(self).items():
26049
26139
  property_name = name[1:]
@@ -26296,13 +26386,16 @@ class DescribeComplianceAssetPolicyItemListRequest(AbstractModel):
26296
26386
  :param _Limit: 要获取的数据量,默认为10,最大为100。
26297
26387
  :type Limit: int
26298
26388
  :param _Filters: 过滤器列表。Name字段支持
26299
- RiskLevel
26389
+ RiskLevel, AppId
26300
26390
  :type Filters: list of ComplianceFilters
26391
+ :param _AssetType: 资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
26392
+ :type AssetType: str
26301
26393
  """
26302
26394
  self._CustomerAssetId = None
26303
26395
  self._Offset = None
26304
26396
  self._Limit = None
26305
26397
  self._Filters = None
26398
+ self._AssetType = None
26306
26399
 
26307
26400
  @property
26308
26401
  def CustomerAssetId(self):
@@ -26336,6 +26429,14 @@ RiskLevel
26336
26429
  def Filters(self, Filters):
26337
26430
  self._Filters = Filters
26338
26431
 
26432
+ @property
26433
+ def AssetType(self):
26434
+ return self._AssetType
26435
+
26436
+ @AssetType.setter
26437
+ def AssetType(self, AssetType):
26438
+ self._AssetType = AssetType
26439
+
26339
26440
 
26340
26441
  def _deserialize(self, params):
26341
26442
  self._CustomerAssetId = params.get("CustomerAssetId")
@@ -26347,6 +26448,7 @@ RiskLevel
26347
26448
  obj = ComplianceFilters()
26348
26449
  obj._deserialize(item)
26349
26450
  self._Filters.append(obj)
26451
+ self._AssetType = params.get("AssetType")
26350
26452
  memeber_set = set(params.keys())
26351
26453
  for name, value in vars(self).items():
26352
26454
  property_name = name[1:]
@@ -26977,10 +27079,7 @@ ASSET_K8S, K8S资产
26977
27079
  :type Offset: int
26978
27080
  :param _Limit: 需要返回的数量,默认为10,最大值为100。
26979
27081
  :type Limit: int
26980
- :param _Filters: 过滤条件。
26981
- Name - String
26982
- Name 可取值:ItemType, StandardId, RiskLevel。
26983
- 当为K8S资产时,还可取ClusterName。
27082
+ :param _Filters: 过滤条件 <li>Name string 检测项名字</li> <li>ItemType string 检测项类型</li> <li>RiskLevel string 威胁等级</li> <li>IsOpen int 是否开启</li>
26984
27083
  :type Filters: list of ComplianceFilters
26985
27084
  """
26986
27085
  self._AssetType = None
@@ -57717,9 +57816,12 @@ class ScanComplianceAssetsByPolicyItemRequest(AbstractModel):
57717
57816
  :type CustomerPolicyItemId: int
57718
57817
  :param _CustomerAssetIdSet: 要重新扫描的客户资产项ID的列表。
57719
57818
  :type CustomerAssetIdSet: list of int non-negative
57819
+ :param _AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
57820
+ :type AssetType: str
57720
57821
  """
57721
57822
  self._CustomerPolicyItemId = None
57722
57823
  self._CustomerAssetIdSet = None
57824
+ self._AssetType = None
57723
57825
 
57724
57826
  @property
57725
57827
  def CustomerPolicyItemId(self):
@@ -57737,10 +57839,19 @@ class ScanComplianceAssetsByPolicyItemRequest(AbstractModel):
57737
57839
  def CustomerAssetIdSet(self, CustomerAssetIdSet):
57738
57840
  self._CustomerAssetIdSet = CustomerAssetIdSet
57739
57841
 
57842
+ @property
57843
+ def AssetType(self):
57844
+ return self._AssetType
57845
+
57846
+ @AssetType.setter
57847
+ def AssetType(self, AssetType):
57848
+ self._AssetType = AssetType
57849
+
57740
57850
 
57741
57851
  def _deserialize(self, params):
57742
57852
  self._CustomerPolicyItemId = params.get("CustomerPolicyItemId")
57743
57853
  self._CustomerAssetIdSet = params.get("CustomerAssetIdSet")
57854
+ self._AssetType = params.get("AssetType")
57744
57855
  memeber_set = set(params.keys())
57745
57856
  for name, value in vars(self).items():
57746
57857
  property_name = name[1:]
@@ -57797,8 +57908,11 @@ class ScanComplianceAssetsRequest(AbstractModel):
57797
57908
  r"""
57798
57909
  :param _CustomerAssetIdSet: 要重新扫描的客户资产项ID的列表。
57799
57910
  :type CustomerAssetIdSet: list of int non-negative
57911
+ :param _AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
57912
+ :type AssetType: str
57800
57913
  """
57801
57914
  self._CustomerAssetIdSet = None
57915
+ self._AssetType = None
57802
57916
 
57803
57917
  @property
57804
57918
  def CustomerAssetIdSet(self):
@@ -57808,9 +57922,18 @@ class ScanComplianceAssetsRequest(AbstractModel):
57808
57922
  def CustomerAssetIdSet(self, CustomerAssetIdSet):
57809
57923
  self._CustomerAssetIdSet = CustomerAssetIdSet
57810
57924
 
57925
+ @property
57926
+ def AssetType(self):
57927
+ return self._AssetType
57928
+
57929
+ @AssetType.setter
57930
+ def AssetType(self, AssetType):
57931
+ self._AssetType = AssetType
57932
+
57811
57933
 
57812
57934
  def _deserialize(self, params):
57813
57935
  self._CustomerAssetIdSet = params.get("CustomerAssetIdSet")
57936
+ self._AssetType = params.get("AssetType")
57814
57937
  memeber_set = set(params.keys())
57815
57938
  for name, value in vars(self).items():
57816
57939
  property_name = name[1:]
@@ -57937,8 +58060,11 @@ class ScanComplianceScanFailedAssetsRequest(AbstractModel):
57937
58060
  r"""
57938
58061
  :param _CustomerAssetIdSet: 要重新扫描的客户资产项ID的列表。
57939
58062
  :type CustomerAssetIdSet: list of int non-negative
58063
+ :param _AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
58064
+ :type AssetType: str
57940
58065
  """
57941
58066
  self._CustomerAssetIdSet = None
58067
+ self._AssetType = None
57942
58068
 
57943
58069
  @property
57944
58070
  def CustomerAssetIdSet(self):
@@ -57948,9 +58074,18 @@ class ScanComplianceScanFailedAssetsRequest(AbstractModel):
57948
58074
  def CustomerAssetIdSet(self, CustomerAssetIdSet):
57949
58075
  self._CustomerAssetIdSet = CustomerAssetIdSet
57950
58076
 
58077
+ @property
58078
+ def AssetType(self):
58079
+ return self._AssetType
58080
+
58081
+ @AssetType.setter
58082
+ def AssetType(self, AssetType):
58083
+ self._AssetType = AssetType
58084
+
57951
58085
 
57952
58086
  def _deserialize(self, params):
57953
58087
  self._CustomerAssetIdSet = params.get("CustomerAssetIdSet")
58088
+ self._AssetType = params.get("AssetType")
57954
58089
  memeber_set = set(params.keys())
57955
58090
  for name, value in vars(self).items():
57956
58091
  property_name = name[1:]
@@ -2198,6 +2198,112 @@ class DescribeConsumerGroupResponse(AbstractModel):
2198
2198
  self._RequestId = params.get("RequestId")
2199
2199
 
2200
2200
 
2201
+ class DescribeConsumerLagRequest(AbstractModel):
2202
+ """DescribeConsumerLag请求参数结构体
2203
+
2204
+ """
2205
+
2206
+ def __init__(self):
2207
+ r"""
2208
+ :param _InstanceId: 实例ID
2209
+ :type InstanceId: str
2210
+ :param _ConsumerGroup: 消费组名称
2211
+ :type ConsumerGroup: str
2212
+ :param _Namespace: 命名空间,4.x集群必填
2213
+ :type Namespace: str
2214
+ :param _SubscribeTopic: 订阅主题,不为空则查询订阅了该主题的消费组的堆积
2215
+ :type SubscribeTopic: str
2216
+ """
2217
+ self._InstanceId = None
2218
+ self._ConsumerGroup = None
2219
+ self._Namespace = None
2220
+ self._SubscribeTopic = None
2221
+
2222
+ @property
2223
+ def InstanceId(self):
2224
+ return self._InstanceId
2225
+
2226
+ @InstanceId.setter
2227
+ def InstanceId(self, InstanceId):
2228
+ self._InstanceId = InstanceId
2229
+
2230
+ @property
2231
+ def ConsumerGroup(self):
2232
+ return self._ConsumerGroup
2233
+
2234
+ @ConsumerGroup.setter
2235
+ def ConsumerGroup(self, ConsumerGroup):
2236
+ self._ConsumerGroup = ConsumerGroup
2237
+
2238
+ @property
2239
+ def Namespace(self):
2240
+ return self._Namespace
2241
+
2242
+ @Namespace.setter
2243
+ def Namespace(self, Namespace):
2244
+ self._Namespace = Namespace
2245
+
2246
+ @property
2247
+ def SubscribeTopic(self):
2248
+ return self._SubscribeTopic
2249
+
2250
+ @SubscribeTopic.setter
2251
+ def SubscribeTopic(self, SubscribeTopic):
2252
+ self._SubscribeTopic = SubscribeTopic
2253
+
2254
+
2255
+ def _deserialize(self, params):
2256
+ self._InstanceId = params.get("InstanceId")
2257
+ self._ConsumerGroup = params.get("ConsumerGroup")
2258
+ self._Namespace = params.get("Namespace")
2259
+ self._SubscribeTopic = params.get("SubscribeTopic")
2260
+ memeber_set = set(params.keys())
2261
+ for name, value in vars(self).items():
2262
+ property_name = name[1:]
2263
+ if property_name in memeber_set:
2264
+ memeber_set.remove(property_name)
2265
+ if len(memeber_set) > 0:
2266
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2267
+
2268
+
2269
+
2270
+ class DescribeConsumerLagResponse(AbstractModel):
2271
+ """DescribeConsumerLag返回参数结构体
2272
+
2273
+ """
2274
+
2275
+ def __init__(self):
2276
+ r"""
2277
+ :param _ConsumerLag: 堆积数
2278
+ :type ConsumerLag: int
2279
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2280
+ :type RequestId: str
2281
+ """
2282
+ self._ConsumerLag = None
2283
+ self._RequestId = None
2284
+
2285
+ @property
2286
+ def ConsumerLag(self):
2287
+ return self._ConsumerLag
2288
+
2289
+ @ConsumerLag.setter
2290
+ def ConsumerLag(self, ConsumerLag):
2291
+ self._ConsumerLag = ConsumerLag
2292
+
2293
+ @property
2294
+ def RequestId(self):
2295
+ return self._RequestId
2296
+
2297
+ @RequestId.setter
2298
+ def RequestId(self, RequestId):
2299
+ self._RequestId = RequestId
2300
+
2301
+
2302
+ def _deserialize(self, params):
2303
+ self._ConsumerLag = params.get("ConsumerLag")
2304
+ self._RequestId = params.get("RequestId")
2305
+
2306
+
2201
2307
  class DescribeFusionInstanceListRequest(AbstractModel):
2202
2308
  """DescribeFusionInstanceList请求参数结构体
2203
2309
 
@@ -443,6 +443,29 @@ class TrocketClient(AbstractClient):
443
443
  raise TencentCloudSDKException(type(e).__name__, str(e))
444
444
 
445
445
 
446
+ def DescribeConsumerLag(self, request):
447
+ """查询指定消费组堆积数。
448
+
449
+ :param request: Request instance for DescribeConsumerLag.
450
+ :type request: :class:`tencentcloud.trocket.v20230308.models.DescribeConsumerLagRequest`
451
+ :rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeConsumerLagResponse`
452
+
453
+ """
454
+ try:
455
+ params = request._serialize()
456
+ headers = request.headers
457
+ body = self.call("DescribeConsumerLag", params, headers=headers)
458
+ response = json.loads(body)
459
+ model = models.DescribeConsumerLagResponse()
460
+ model._deserialize(response["Response"])
461
+ return model
462
+ except Exception as e:
463
+ if isinstance(e, TencentCloudSDKException):
464
+ raise
465
+ else:
466
+ raise TencentCloudSDKException(type(e).__name__, str(e))
467
+
468
+
446
469
  def DescribeFusionInstanceList(self, request):
447
470
  """获取实例列表,Filters参数使用说明如下:
448
471
  1. InstanceName, 名称模糊查询
@@ -53,9 +53,6 @@ FAILEDOPERATION_IMAGEDETECTFACEFAILED = 'FailedOperation.ImageDetectFaceFailed'
53
53
  # 输入图中存在多人
54
54
  FAILEDOPERATION_IMAGEMANYPEOPLE = 'FailedOperation.ImageManyPeople'
55
55
 
56
- # 未上传输入图
57
- FAILEDOPERATION_IMAGENOTEXISTED = 'FailedOperation.ImageNotExisted'
58
-
59
56
  # 不支持的图片文件。
60
57
  FAILEDOPERATION_IMAGENOTSUPPORTED = 'FailedOperation.ImageNotSupported'
61
58
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1207
3
+ Version: 3.0.1208
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -50,7 +50,7 @@ QcloudApi/modules/vod.py,sha256=l05_qYx0l5bq6LJ8mAX2YO3pRXzxY3JMdDHV1N_SRKE,679
50
50
  QcloudApi/modules/vpc.py,sha256=JBiNpcnrAwf_UJ_UdpxQybKeCTfeveJ9R1B-vO1_w_U,679
51
51
  QcloudApi/modules/wenzhi.py,sha256=hr1rRLU8TxxSfejMqV2O4alO_yXF3C0tfZMSzziu54Q,685
52
52
  QcloudApi/modules/yunsou.py,sha256=JlgzMjnJaho6axFVhSTAv6DS0HLcjl0LJL02q6qI2yY,685
53
- tencentcloud/__init__.py,sha256=2l_PrsPKRs_oOejDAkLk-HJENwt3gIG4aXwPdcyeagg,631
53
+ tencentcloud/__init__.py,sha256=9nY04TgGVOobLKNI6l6NQV5zcrDiYpGlmJJC--2I8xk,631
54
54
  tencentcloud/aa/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  tencentcloud/aa/v20200224/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  tencentcloud/aa/v20200224/aa_client.py,sha256=L7P5zpJElo9WoLSkhvLxnfpEGCZ1q2e5Fzx3wLEioAA,2184
@@ -85,7 +85,7 @@ tencentcloud/aiart/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
85
85
  tencentcloud/aiart/v20221229/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
86
  tencentcloud/aiart/v20221229/aiart_client.py,sha256=Q-n-xfz0m_OWEEmv8Z_vD2pWwFpyiWP1IjvkJrtTRmE,18633
87
87
  tencentcloud/aiart/v20221229/errorcodes.py,sha256=Vaofe0Q5YAxZcvdoEvMGVwFVPD0MGk5kmT0TyhFxPII,4005
88
- tencentcloud/aiart/v20221229/models.py,sha256=2y0kGdy53DdhXGYzYFV6yvnvU7G2CLeVlA6nPiQFqog,63578
88
+ tencentcloud/aiart/v20221229/models.py,sha256=EkigUTz-RuE2DUMEQRjxI1rIt5Hom4M9FeofvG814BY,64191
89
89
  tencentcloud/ame/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
90
90
  tencentcloud/ame/v20190916/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
91
  tencentcloud/ame/v20190916/ame_client.py,sha256=Y1bNhduaCVJpFV6smgB_fsZl8u4YrAdPPPfEUXdXtQw,29579
@@ -383,9 +383,9 @@ tencentcloud/cloudstudio/v20230508/errorcodes.py,sha256=PGo2Rfu82U_OL4kWfErtQclB
383
383
  tencentcloud/cloudstudio/v20230508/models.py,sha256=HJvFETbu7Sag5bL_8M9CobfJqfH-ZK-kFjDogRi8vyg,36611
384
384
  tencentcloud/cls/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
385
385
  tencentcloud/cls/v20201016/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
386
- tencentcloud/cls/v20201016/cls_client.py,sha256=dBEAtF0VSKb6Cf9uSRpF6voV_oNxWUj0TWjmErYCtrM,96380
386
+ tencentcloud/cls/v20201016/cls_client.py,sha256=V4MGD02RWfGJi6JZlHmAmgH96qXimsJhaeS1VBmgAv4,100021
387
387
  tencentcloud/cls/v20201016/errorcodes.py,sha256=DA-WVSxt_AIKZrzHmd_UyXAyamqGSvILR_cfD16msH4,11155
388
- tencentcloud/cls/v20201016/models.py,sha256=Od_-t4Qfi8CQkIpbVYCbDfNEE7ZOZ70xZ50hUuxH8Zw,664103
388
+ tencentcloud/cls/v20201016/models.py,sha256=dDgQUU_ymtL90dXhd56hyjveHYRvsm0Z29tH5RrbEIc,678030
389
389
  tencentcloud/cme/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
390
390
  tencentcloud/cme/v20191029/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
391
391
  tencentcloud/cme/v20191029/cme_client.py,sha256=8p6sB5c5yqbFXsuoRE-tpGvaE0CwqzgwzEimXV_CUGw,55451
@@ -601,7 +601,7 @@ tencentcloud/essbasic/v20201222/models.py,sha256=Q2E6jmVT1emRziwRN-qj8XpdzpxvqqH
601
601
  tencentcloud/essbasic/v20210526/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
602
602
  tencentcloud/essbasic/v20210526/errorcodes.py,sha256=L1_0J4AOPtBTgtVqauXq0aVisXRe03bOUWFB0QCnXRs,18219
603
603
  tencentcloud/essbasic/v20210526/essbasic_client.py,sha256=XTwx42qQqf8Fz_ioGUm5lrVIfIj7It764t752iy18ak,142623
604
- tencentcloud/essbasic/v20210526/models.py,sha256=he1fAgmcPlpJkjnwAbCNrwzORHGOtKKD5UOEMoWJmbg,764340
604
+ tencentcloud/essbasic/v20210526/models.py,sha256=FJXFsXw2t7FYYCxMofzqBiqZbxDndQw9BbjLQdH6Ycg,764393
605
605
  tencentcloud/facefusion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
606
606
  tencentcloud/facefusion/v20181201/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
607
607
  tencentcloud/facefusion/v20181201/errorcodes.py,sha256=v269JghsRzIpaQbiHgyqn8wKNfvjYkVM7SjaPBRQYPs,5731
@@ -680,7 +680,7 @@ tencentcloud/hunyuan/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
680
680
  tencentcloud/hunyuan/v20230901/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
681
681
  tencentcloud/hunyuan/v20230901/errorcodes.py,sha256=td92alaXDKLDhi4TGOCCi2CUSy_akF1t-iHh0uqwxv0,3150
682
682
  tencentcloud/hunyuan/v20230901/hunyuan_client.py,sha256=9pVLvQD1ionDBZoA3WeNswOUKc1jLoU2NuIDXvneCuc,10367
683
- tencentcloud/hunyuan/v20230901/models.py,sha256=_tuPMdxd57qO9gvMsgAqcR4kHV1GkC69EWzz5lOloQ8,64138
683
+ tencentcloud/hunyuan/v20230901/models.py,sha256=lz3KjSCaU3l6fJUykfe0NVDz0u4MWPTjp9gkAR8nRkA,64138
684
684
  tencentcloud/iai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
685
685
  tencentcloud/iai/v20180301/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
686
686
  tencentcloud/iai/v20180301/errorcodes.py,sha256=xzb_jVEPBY2KTTJJcsktqdNxS6Bz5-wq8ufnGgMmMX8,11999
@@ -939,9 +939,9 @@ tencentcloud/organization/v20181225/errorcodes.py,sha256=JcrfFTsVOrtqOTFaKFdzNxM
939
939
  tencentcloud/organization/v20181225/models.py,sha256=iC5uq76z64PijO8rJc7QumjzYbuT63kv6rZgI4cNxhc,48728
940
940
  tencentcloud/organization/v20181225/organization_client.py,sha256=-SJphXgr5hcVBf98wUnMdtMBo-0YGJyDLjs6tiyuiAw,19700
941
941
  tencentcloud/organization/v20210331/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
942
- tencentcloud/organization/v20210331/errorcodes.py,sha256=6cRfCavFjngOScX5iE76XSImUnjfetBOvuXZ4zWgGGM,22500
943
- tencentcloud/organization/v20210331/models.py,sha256=ePexQ12kLRhjy_XjDdP8BhocSqvzGB0KiBY_QxaXw3o,270261
944
- tencentcloud/organization/v20210331/organization_client.py,sha256=3B_eKfnzNoFbycu0Wmh1TZ0SH1fazwAM-_a-J8Ssda4,61399
942
+ tencentcloud/organization/v20210331/errorcodes.py,sha256=1l9h7Sbt237zkHp3TvJbocUwQuLP_2nlbZaxwnLBexs,22916
943
+ tencentcloud/organization/v20210331/models.py,sha256=li_VML8eRsULrv7wMyHgSuo0pLhLTyJ7IUhiCAZ7hGA,285409
944
+ tencentcloud/organization/v20210331/organization_client.py,sha256=WQ9ZKVq1t4NY9D3oYRTlMtIKL1-sS-K-0vb5x_SmKmE,64225
945
945
  tencentcloud/partners/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
946
946
  tencentcloud/partners/v20180321/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
947
947
  tencentcloud/partners/v20180321/errorcodes.py,sha256=RyvWd0w7mRvVZABn_tVqhVu5JSTCI_akA9CTQF-mwr8,885
@@ -1163,7 +1163,7 @@ tencentcloud/tcr/v20190924/tcr_client.py,sha256=BSVCP77Bzc-gYERaC_01FAeqFWokzMI4
1163
1163
  tencentcloud/tcss/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1164
1164
  tencentcloud/tcss/v20201101/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1165
1165
  tencentcloud/tcss/v20201101/errorcodes.py,sha256=euCyJ7MoXWDjpZzcMXRqRCkAguFBt0VYJgOOLy37_M0,3916
1166
- tencentcloud/tcss/v20201101/models.py,sha256=Tw6dwSPv6Sjx338vUiAuXhOm5ekE9VLRonurpPgvjqs,1882705
1166
+ tencentcloud/tcss/v20201101/models.py,sha256=GiEJ6bWUYppwzLGU3l7tx9Fb070EiD_QCAqmZe05BvM,1888394
1167
1167
  tencentcloud/tcss/v20201101/tcss_client.py,sha256=M7oTh4wWiTLHNuCLYSIOmX4Hz2_hVI7Cud8QJSNhDVE,324854
1168
1168
  tencentcloud/tdcpg/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1169
1169
  tencentcloud/tdcpg/v20211118/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -1301,8 +1301,8 @@ tencentcloud/trdp/v20220726/trdp_client.py,sha256=QdtaO_weFvkI6SPYu0Z9lRQBoaJgiV
1301
1301
  tencentcloud/trocket/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1302
1302
  tencentcloud/trocket/v20230308/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1303
1303
  tencentcloud/trocket/v20230308/errorcodes.py,sha256=aft5_wzkKZyvER0SDorLfQRFQt4V5-0nf6qd8hytnD8,1878
1304
- tencentcloud/trocket/v20230308/models.py,sha256=OTUiFLIJuk2J-kS0djVENtIpajMdxiH6I6oIHebSYDU,254957
1305
- tencentcloud/trocket/v20230308/trocket_client.py,sha256=dpBz3jVRIpf9d5DhvtgpX2SFDlqwaTG45_vhLUW8CB8,45720
1304
+ tencentcloud/trocket/v20230308/models.py,sha256=kZo9Rzj7h7NLIcnv1N52b1JcMxgeXcYxxlmtfMHWEUI,258002
1305
+ tencentcloud/trocket/v20230308/trocket_client.py,sha256=WOzEAwtQHkmQbLEjMBWI8JpxzIB577s73-q1F5SvpV0,46624
1306
1306
  tencentcloud/trp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1307
1307
  tencentcloud/trp/v20210515/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1308
1308
  tencentcloud/trp/v20210515/errorcodes.py,sha256=NIPOiohkm7mQCyhNmFigamMoLSbU3xvfncoGugFc2WU,1083
@@ -1359,7 +1359,7 @@ tencentcloud/vcg/v20240404/models.py,sha256=-FNk_6dkCCwxeX7Zgh4M6PKDcr_MdZrztyl_
1359
1359
  tencentcloud/vcg/v20240404/vcg_client.py,sha256=HDj1lg4spV51IWy_QEF1EMTu19ILlXuEA4lyvaZXA4g,3266
1360
1360
  tencentcloud/vclm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1361
1361
  tencentcloud/vclm/v20240523/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1362
- tencentcloud/vclm/v20240523/errorcodes.py,sha256=jOrcwIJsi-qOx0YloAe9rMaxVy6NZItjuYbbQLBZowI,8648
1362
+ tencentcloud/vclm/v20240523/errorcodes.py,sha256=mmkOk8IhDMbiLIGBask8z6b1Mc-qA-AU0ciWwOKB-zA,8558
1363
1363
  tencentcloud/vclm/v20240523/models.py,sha256=Lc_PUI_RwfUvdkBYQkPCavq2Z1ssZ3f_grKr-PfyCXw,36026
1364
1364
  tencentcloud/vclm/v20240523/vclm_client.py,sha256=QQ1lIjoAO_eWxERXOYmJCBNgN4TuV4LBIGgPEK5DhiI,10163
1365
1365
  tencentcloud/vdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -1454,8 +1454,8 @@ tencentcloud/yunsou/v20191115/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
1454
1454
  tencentcloud/yunsou/v20191115/errorcodes.py,sha256=zB4-XPxmvEhgHoLsKlbayJVRLEagPDcs-UAheVZCoAc,1301
1455
1455
  tencentcloud/yunsou/v20191115/models.py,sha256=sNTR9ixO8CV9yKQahrhOsEJlxOK5d7aXBoIBIPxfJsQ,23137
1456
1456
  tencentcloud/yunsou/v20191115/yunsou_client.py,sha256=ly73Hr8rGamWa6AAvQjurKgd4L83PRY5WjcDv4ziQC8,2741
1457
- tencentcloud_sdk_python-3.0.1207.dist-info/LICENSE,sha256=AJyIQ6mPzTpsFn6i0cG6OPVdhJ85l_mfdoOR7J4DnRw,11351
1458
- tencentcloud_sdk_python-3.0.1207.dist-info/METADATA,sha256=GZr6xtytUfnKLhiNdRgEnjhuh5jgVXGW8T8YbBfg-JM,1511
1459
- tencentcloud_sdk_python-3.0.1207.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
1460
- tencentcloud_sdk_python-3.0.1207.dist-info/top_level.txt,sha256=7kItXWSGlPDkhHTt2qPSt8zrlsPHLfRofR1QJo6eV_A,23
1461
- tencentcloud_sdk_python-3.0.1207.dist-info/RECORD,,
1457
+ tencentcloud_sdk_python-3.0.1208.dist-info/LICENSE,sha256=AJyIQ6mPzTpsFn6i0cG6OPVdhJ85l_mfdoOR7J4DnRw,11351
1458
+ tencentcloud_sdk_python-3.0.1208.dist-info/METADATA,sha256=ocwQObByf68RQl0Gp-iwyB9P1rCTi0ukV2AtxdMexak,1511
1459
+ tencentcloud_sdk_python-3.0.1208.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
1460
+ tencentcloud_sdk_python-3.0.1208.dist-info/top_level.txt,sha256=7kItXWSGlPDkhHTt2qPSt8zrlsPHLfRofR1QJo6eV_A,23
1461
+ tencentcloud_sdk_python-3.0.1208.dist-info/RECORD,,