tencentcloud-sdk-python 3.0.1446__py2.py3-none-any.whl → 3.0.1448__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (71) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
  3. tencentcloud/autoscaling/v20180419/models.py +2 -2
  4. tencentcloud/bi/v20220105/bi_client.py +23 -0
  5. tencentcloud/bi/v20220105/models.py +179 -0
  6. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  7. tencentcloud/cdb/v20170320/models.py +30 -6
  8. tencentcloud/cdwdoris/v20211228/models.py +45 -0
  9. tencentcloud/cfs/v20190719/models.py +21 -2
  10. tencentcloud/clb/v20180317/models.py +30 -0
  11. tencentcloud/cls/v20201016/models.py +110 -26
  12. tencentcloud/common/abstract_client.py +14 -12
  13. tencentcloud/common/credential.py +61 -26
  14. tencentcloud/csip/v20221121/models.py +4 -4
  15. tencentcloud/ctem/v20231128/models.py +30 -0
  16. tencentcloud/cwp/v20180228/models.py +53 -14
  17. tencentcloud/cynosdb/v20190107/models.py +6 -0
  18. tencentcloud/dc/v20180410/models.py +30 -0
  19. tencentcloud/dlc/v20210125/errorcodes.py +12 -0
  20. tencentcloud/dlc/v20210125/models.py +30 -0
  21. tencentcloud/dts/v20211206/dts_client.py +23 -0
  22. tencentcloud/dts/v20211206/models.py +64 -0
  23. tencentcloud/ess/v20201111/ess_client.py +56 -0
  24. tencentcloud/ess/v20201111/models.py +496 -22
  25. tencentcloud/essbasic/v20210526/models.py +10 -16
  26. tencentcloud/faceid/v20180301/models.py +2 -2
  27. tencentcloud/ioa/v20220601/errorcodes.py +6 -0
  28. tencentcloud/ioa/v20220601/ioa_client.py +46 -0
  29. tencentcloud/ioa/v20220601/models.py +934 -17
  30. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
  31. tencentcloud/iotexplorer/v20190423/models.py +465 -0
  32. tencentcloud/iss/v20230517/errorcodes.py +3 -0
  33. tencentcloud/iss/v20230517/iss_client.py +23 -0
  34. tencentcloud/iss/v20230517/models.py +122 -0
  35. tencentcloud/live/v20180801/models.py +2 -2
  36. tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
  37. tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
  38. tencentcloud/lkeap/v20240522/models.py +15 -0
  39. tencentcloud/mna/v20210119/models.py +2 -2
  40. tencentcloud/mongodb/v20190725/models.py +19 -0
  41. tencentcloud/mps/v20190612/models.py +174 -0
  42. tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
  43. tencentcloud/mqtt/v20240516/models.py +880 -22
  44. tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
  45. tencentcloud/ocr/v20181119/models.py +4 -4
  46. tencentcloud/ocr/v20181119/ocr_client.py +7 -23
  47. tencentcloud/organization/v20210331/models.py +393 -0
  48. tencentcloud/organization/v20210331/organization_client.py +23 -0
  49. tencentcloud/partners/v20180321/models.py +16 -12
  50. tencentcloud/partners/v20180321/partners_client.py +2 -2
  51. tencentcloud/rce/v20201103/rce_client.py +1 -1
  52. tencentcloud/smh/v20210712/models.py +19 -4
  53. tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
  54. tencentcloud/tdmq/v20200217/models.py +315 -0
  55. tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
  56. tencentcloud/tione/v20211111/models.py +333 -10
  57. tencentcloud/tke/v20180525/models.py +15 -0
  58. tencentcloud/tke/v20220501/models.py +32 -2
  59. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  60. tencentcloud/trtc/v20190722/models.py +17 -0
  61. tencentcloud/trtc/v20190722/trtc_client.py +9 -3
  62. tencentcloud/tsf/v20180326/errorcodes.py +3 -0
  63. tencentcloud/tsf/v20180326/models.py +10 -12
  64. tencentcloud/vclm/v20240523/models.py +15 -0
  65. tencentcloud/vpc/v20170312/errorcodes.py +18 -0
  66. tencentcloud/vpc/v20170312/models.py +15 -0
  67. {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/METADATA +1 -1
  68. {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/RECORD +71 -71
  69. {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/LICENSE +0 -0
  70. {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/WHEEL +0 -0
  71. {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/top_level.txt +0 -0
@@ -17258,6 +17258,191 @@ class DescribeRocketMQNamespacesResponse(AbstractModel):
17258
17258
  self._RequestId = params.get("RequestId")
17259
17259
 
17260
17260
 
17261
+ class DescribeRocketMQProducersRequest(AbstractModel):
17262
+ """DescribeRocketMQProducers请求参数结构体
17263
+
17264
+ """
17265
+
17266
+ def __init__(self):
17267
+ r"""
17268
+ :param _ClusterId: 集群ID
17269
+ :type ClusterId: str
17270
+ :param _NamespaceId: 命名空间
17271
+ :type NamespaceId: str
17272
+ :param _Topic: 主题名
17273
+ :type Topic: str
17274
+ :param _Offset: 分页offset
17275
+ :type Offset: int
17276
+ :param _Limit: 分页limit
17277
+ :type Limit: int
17278
+ :param _Filters: 过滤查询条件列表,支持以下过滤参数:
17279
+
17280
+ - ClientId:生产者客户端ID
17281
+ - ClientIp:生产者客户端IP
17282
+ :type Filters: list of Filter
17283
+ """
17284
+ self._ClusterId = None
17285
+ self._NamespaceId = None
17286
+ self._Topic = None
17287
+ self._Offset = None
17288
+ self._Limit = None
17289
+ self._Filters = None
17290
+
17291
+ @property
17292
+ def ClusterId(self):
17293
+ """集群ID
17294
+ :rtype: str
17295
+ """
17296
+ return self._ClusterId
17297
+
17298
+ @ClusterId.setter
17299
+ def ClusterId(self, ClusterId):
17300
+ self._ClusterId = ClusterId
17301
+
17302
+ @property
17303
+ def NamespaceId(self):
17304
+ """命名空间
17305
+ :rtype: str
17306
+ """
17307
+ return self._NamespaceId
17308
+
17309
+ @NamespaceId.setter
17310
+ def NamespaceId(self, NamespaceId):
17311
+ self._NamespaceId = NamespaceId
17312
+
17313
+ @property
17314
+ def Topic(self):
17315
+ """主题名
17316
+ :rtype: str
17317
+ """
17318
+ return self._Topic
17319
+
17320
+ @Topic.setter
17321
+ def Topic(self, Topic):
17322
+ self._Topic = Topic
17323
+
17324
+ @property
17325
+ def Offset(self):
17326
+ """分页offset
17327
+ :rtype: int
17328
+ """
17329
+ return self._Offset
17330
+
17331
+ @Offset.setter
17332
+ def Offset(self, Offset):
17333
+ self._Offset = Offset
17334
+
17335
+ @property
17336
+ def Limit(self):
17337
+ """分页limit
17338
+ :rtype: int
17339
+ """
17340
+ return self._Limit
17341
+
17342
+ @Limit.setter
17343
+ def Limit(self, Limit):
17344
+ self._Limit = Limit
17345
+
17346
+ @property
17347
+ def Filters(self):
17348
+ """过滤查询条件列表,支持以下过滤参数:
17349
+
17350
+ - ClientId:生产者客户端ID
17351
+ - ClientIp:生产者客户端IP
17352
+ :rtype: list of Filter
17353
+ """
17354
+ return self._Filters
17355
+
17356
+ @Filters.setter
17357
+ def Filters(self, Filters):
17358
+ self._Filters = Filters
17359
+
17360
+
17361
+ def _deserialize(self, params):
17362
+ self._ClusterId = params.get("ClusterId")
17363
+ self._NamespaceId = params.get("NamespaceId")
17364
+ self._Topic = params.get("Topic")
17365
+ self._Offset = params.get("Offset")
17366
+ self._Limit = params.get("Limit")
17367
+ if params.get("Filters") is not None:
17368
+ self._Filters = []
17369
+ for item in params.get("Filters"):
17370
+ obj = Filter()
17371
+ obj._deserialize(item)
17372
+ self._Filters.append(obj)
17373
+ memeber_set = set(params.keys())
17374
+ for name, value in vars(self).items():
17375
+ property_name = name[1:]
17376
+ if property_name in memeber_set:
17377
+ memeber_set.remove(property_name)
17378
+ if len(memeber_set) > 0:
17379
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17380
+
17381
+
17382
+
17383
+ class DescribeRocketMQProducersResponse(AbstractModel):
17384
+ """DescribeRocketMQProducers返回参数结构体
17385
+
17386
+ """
17387
+
17388
+ def __init__(self):
17389
+ r"""
17390
+ :param _Producers: 生产者客户端列表
17391
+ :type Producers: list of ProducerInfo
17392
+ :param _TotalCount: 总数
17393
+ :type TotalCount: int
17394
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17395
+ :type RequestId: str
17396
+ """
17397
+ self._Producers = None
17398
+ self._TotalCount = None
17399
+ self._RequestId = None
17400
+
17401
+ @property
17402
+ def Producers(self):
17403
+ """生产者客户端列表
17404
+ :rtype: list of ProducerInfo
17405
+ """
17406
+ return self._Producers
17407
+
17408
+ @Producers.setter
17409
+ def Producers(self, Producers):
17410
+ self._Producers = Producers
17411
+
17412
+ @property
17413
+ def TotalCount(self):
17414
+ """总数
17415
+ :rtype: int
17416
+ """
17417
+ return self._TotalCount
17418
+
17419
+ @TotalCount.setter
17420
+ def TotalCount(self, TotalCount):
17421
+ self._TotalCount = TotalCount
17422
+
17423
+ @property
17424
+ def RequestId(self):
17425
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17426
+ :rtype: str
17427
+ """
17428
+ return self._RequestId
17429
+
17430
+ @RequestId.setter
17431
+ def RequestId(self, RequestId):
17432
+ self._RequestId = RequestId
17433
+
17434
+
17435
+ def _deserialize(self, params):
17436
+ if params.get("Producers") is not None:
17437
+ self._Producers = []
17438
+ for item in params.get("Producers"):
17439
+ obj = ProducerInfo()
17440
+ obj._deserialize(item)
17441
+ self._Producers.append(obj)
17442
+ self._TotalCount = params.get("TotalCount")
17443
+ self._RequestId = params.get("RequestId")
17444
+
17445
+
17261
17446
  class DescribeRocketMQPublicAccessMonitorDataRequest(AbstractModel):
17262
17447
  """DescribeRocketMQPublicAccessMonitorData请求参数结构体
17263
17448
 
@@ -26121,6 +26306,136 @@ class PartitionsTopic(AbstractModel):
26121
26306
 
26122
26307
 
26123
26308
 
26309
+ class ProducerInfo(AbstractModel):
26310
+ """生产者客户端详情
26311
+
26312
+ """
26313
+
26314
+ def __init__(self):
26315
+ r"""
26316
+ :param _ClientId: 客户端ID
26317
+ 注意:此字段可能返回 null,表示取不到有效值。
26318
+ :type ClientId: str
26319
+ :param _ClientIp: 客户端IP
26320
+ 注意:此字段可能返回 null,表示取不到有效值。
26321
+ :type ClientIp: str
26322
+ :param _Language: 客户端语言
26323
+ JAVA((byte) 0),
26324
+ CPP((byte) 1),
26325
+ DOTNET((byte) 2),
26326
+ PYTHON((byte) 3),
26327
+ DELPHI((byte) 4),
26328
+ ERLANG((byte) 5),
26329
+ RUBY((byte) 6),
26330
+ OTHER((byte) 7),
26331
+ HTTP((byte) 8),
26332
+ GO((byte) 9),
26333
+ PHP((byte) 10),
26334
+ OMS((byte) 11);
26335
+ 注意:此字段可能返回 null,表示取不到有效值。
26336
+ :type Language: str
26337
+ :param _Version: 客户端版本
26338
+ 注意:此字段可能返回 null,表示取不到有效值。
26339
+ :type Version: str
26340
+ :param _LastUpdateTimestamp: 最后生产时间
26341
+ 注意:此字段可能返回 null,表示取不到有效值。
26342
+ :type LastUpdateTimestamp: int
26343
+ """
26344
+ self._ClientId = None
26345
+ self._ClientIp = None
26346
+ self._Language = None
26347
+ self._Version = None
26348
+ self._LastUpdateTimestamp = None
26349
+
26350
+ @property
26351
+ def ClientId(self):
26352
+ """客户端ID
26353
+ 注意:此字段可能返回 null,表示取不到有效值。
26354
+ :rtype: str
26355
+ """
26356
+ return self._ClientId
26357
+
26358
+ @ClientId.setter
26359
+ def ClientId(self, ClientId):
26360
+ self._ClientId = ClientId
26361
+
26362
+ @property
26363
+ def ClientIp(self):
26364
+ """客户端IP
26365
+ 注意:此字段可能返回 null,表示取不到有效值。
26366
+ :rtype: str
26367
+ """
26368
+ return self._ClientIp
26369
+
26370
+ @ClientIp.setter
26371
+ def ClientIp(self, ClientIp):
26372
+ self._ClientIp = ClientIp
26373
+
26374
+ @property
26375
+ def Language(self):
26376
+ """客户端语言
26377
+ JAVA((byte) 0),
26378
+ CPP((byte) 1),
26379
+ DOTNET((byte) 2),
26380
+ PYTHON((byte) 3),
26381
+ DELPHI((byte) 4),
26382
+ ERLANG((byte) 5),
26383
+ RUBY((byte) 6),
26384
+ OTHER((byte) 7),
26385
+ HTTP((byte) 8),
26386
+ GO((byte) 9),
26387
+ PHP((byte) 10),
26388
+ OMS((byte) 11);
26389
+ 注意:此字段可能返回 null,表示取不到有效值。
26390
+ :rtype: str
26391
+ """
26392
+ return self._Language
26393
+
26394
+ @Language.setter
26395
+ def Language(self, Language):
26396
+ self._Language = Language
26397
+
26398
+ @property
26399
+ def Version(self):
26400
+ """客户端版本
26401
+ 注意:此字段可能返回 null,表示取不到有效值。
26402
+ :rtype: str
26403
+ """
26404
+ return self._Version
26405
+
26406
+ @Version.setter
26407
+ def Version(self, Version):
26408
+ self._Version = Version
26409
+
26410
+ @property
26411
+ def LastUpdateTimestamp(self):
26412
+ """最后生产时间
26413
+ 注意:此字段可能返回 null,表示取不到有效值。
26414
+ :rtype: int
26415
+ """
26416
+ return self._LastUpdateTimestamp
26417
+
26418
+ @LastUpdateTimestamp.setter
26419
+ def LastUpdateTimestamp(self, LastUpdateTimestamp):
26420
+ self._LastUpdateTimestamp = LastUpdateTimestamp
26421
+
26422
+
26423
+ def _deserialize(self, params):
26424
+ self._ClientId = params.get("ClientId")
26425
+ self._ClientIp = params.get("ClientIp")
26426
+ self._Language = params.get("Language")
26427
+ self._Version = params.get("Version")
26428
+ self._LastUpdateTimestamp = params.get("LastUpdateTimestamp")
26429
+ memeber_set = set(params.keys())
26430
+ for name, value in vars(self).items():
26431
+ property_name = name[1:]
26432
+ if property_name in memeber_set:
26433
+ memeber_set.remove(property_name)
26434
+ if len(memeber_set) > 0:
26435
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26436
+
26437
+
26438
+
26124
26439
  class ProducerLog(AbstractModel):
26125
26440
  """消息生产信息
26126
26441
 
@@ -2098,6 +2098,29 @@ class TdmqClient(AbstractClient):
2098
2098
  raise TencentCloudSDKException(type(e).__name__, str(e))
2099
2099
 
2100
2100
 
2101
+ def DescribeRocketMQProducers(self, request):
2102
+ """查询 RocketMQ 指定主题下的生产者客户端列表。
2103
+
2104
+ :param request: Request instance for DescribeRocketMQProducers.
2105
+ :type request: :class:`tencentcloud.tdmq.v20200217.models.DescribeRocketMQProducersRequest`
2106
+ :rtype: :class:`tencentcloud.tdmq.v20200217.models.DescribeRocketMQProducersResponse`
2107
+
2108
+ """
2109
+ try:
2110
+ params = request._serialize()
2111
+ headers = request.headers
2112
+ body = self.call("DescribeRocketMQProducers", params, headers=headers)
2113
+ response = json.loads(body)
2114
+ model = models.DescribeRocketMQProducersResponse()
2115
+ model._deserialize(response["Response"])
2116
+ return model
2117
+ except Exception as e:
2118
+ if isinstance(e, TencentCloudSDKException):
2119
+ raise
2120
+ else:
2121
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2122
+
2123
+
2101
2124
  def DescribeRocketMQPublicAccessMonitorData(self, request):
2102
2125
  """从腾讯云可观测平台拉取公网指标监控数据,目前仅支持客户端到 LB 的入带宽和出宽带指标。
2103
2126
 
@@ -3392,7 +3415,7 @@ class TdmqClient(AbstractClient):
3392
3415
 
3393
3416
 
3394
3417
  def SendRocketMQMessage(self, request):
3395
- """发送RocketMQ消息
3418
+ """发送 RocketMQ 消息,该接口仅用于控制台发送少量测试消息,不保证SLA,且云 API 存在限流,在真实业务场景下,请使用 RocketMQ SDK 发送消息。
3396
3419
 
3397
3420
  :param request: Request instance for SendRocketMQMessage.
3398
3421
  :type request: :class:`tencentcloud.tdmq.v20200217.models.SendRocketMQMessageRequest`