tencentcloud-sdk-python 3.0.1379__py2.py3-none-any.whl → 3.0.1380__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +5 -6
- tencentcloud/autoscaling/v20180419/models.py +398 -294
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +235 -2
- tencentcloud/bi/v20220105/models.py +32 -0
- tencentcloud/cdb/v20170320/errorcodes.py +6 -0
- tencentcloud/cdb/v20170320/models.py +32 -2
- tencentcloud/cfw/v20190904/models.py +24 -24
- tencentcloud/clb/v20180317/models.py +8 -8
- tencentcloud/cynosdb/v20190107/errorcodes.py +9 -0
- tencentcloud/cynosdb/v20190107/models.py +21 -2
- tencentcloud/emr/v20190103/models.py +30 -0
- tencentcloud/ess/v20201111/models.py +15 -0
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +2 -2
- tencentcloud/postgres/v20170312/models.py +0 -79
- tencentcloud/postgres/v20170312/postgres_client.py +12 -29
- tencentcloud/tbaas/v20180416/models.py +0 -234
- tencentcloud/tbaas/v20180416/tbaas_client.py +0 -23
- tencentcloud/tdmq/v20200217/errorcodes.py +6 -0
- tencentcloud/teo/v20220901/models.py +589 -92
- tencentcloud/teo/v20220901/teo_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +242 -184
- tencentcloud/tmt/v20180321/models.py +147 -0
- tencentcloud/trtc/v20190722/trtc_client.py +2 -3
- tencentcloud/vpc/v20170312/models.py +138 -100
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/wedata/v20210820/models.py +602 -2
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/top_level.txt +0 -0
@@ -2337,240 +2337,6 @@ class GetInvokeTxResponse(AbstractModel):
|
|
2337
2337
|
self._RequestId = params.get("RequestId")
|
2338
2338
|
|
2339
2339
|
|
2340
|
-
class GetLatesdTransactionListRequest(AbstractModel):
|
2341
|
-
"""GetLatesdTransactionList请求参数结构体
|
2342
|
-
|
2343
|
-
"""
|
2344
|
-
|
2345
|
-
def __init__(self):
|
2346
|
-
r"""
|
2347
|
-
:param _Module: 模块名称,固定字段:transaction
|
2348
|
-
:type Module: str
|
2349
|
-
:param _Operation: 操作名称,固定字段:latest_transaction_list
|
2350
|
-
:type Operation: str
|
2351
|
-
:param _GroupId: 组织ID,固定字段:0
|
2352
|
-
:type GroupId: int
|
2353
|
-
:param _ChannelId: 通道ID,固定字段:0
|
2354
|
-
:type ChannelId: int
|
2355
|
-
:param _LatestBlockNumber: 获取的最新交易的区块数量,取值范围1~5
|
2356
|
-
:type LatestBlockNumber: int
|
2357
|
-
:param _GroupName: 调用接口的组织名称,可以在组织管理列表中获取当前组织的名称
|
2358
|
-
:type GroupName: str
|
2359
|
-
:param _ChannelName: 需要查询的通道名称,可在通道详情或列表中获取
|
2360
|
-
:type ChannelName: str
|
2361
|
-
:param _ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
|
2362
|
-
:type ClusterId: str
|
2363
|
-
:param _Offset: 需要获取的起始交易偏移
|
2364
|
-
:type Offset: int
|
2365
|
-
:param _Limit: 需要获取的交易数量
|
2366
|
-
:type Limit: int
|
2367
|
-
"""
|
2368
|
-
self._Module = None
|
2369
|
-
self._Operation = None
|
2370
|
-
self._GroupId = None
|
2371
|
-
self._ChannelId = None
|
2372
|
-
self._LatestBlockNumber = None
|
2373
|
-
self._GroupName = None
|
2374
|
-
self._ChannelName = None
|
2375
|
-
self._ClusterId = None
|
2376
|
-
self._Offset = None
|
2377
|
-
self._Limit = None
|
2378
|
-
|
2379
|
-
@property
|
2380
|
-
def Module(self):
|
2381
|
-
"""模块名称,固定字段:transaction
|
2382
|
-
:rtype: str
|
2383
|
-
"""
|
2384
|
-
return self._Module
|
2385
|
-
|
2386
|
-
@Module.setter
|
2387
|
-
def Module(self, Module):
|
2388
|
-
self._Module = Module
|
2389
|
-
|
2390
|
-
@property
|
2391
|
-
def Operation(self):
|
2392
|
-
"""操作名称,固定字段:latest_transaction_list
|
2393
|
-
:rtype: str
|
2394
|
-
"""
|
2395
|
-
return self._Operation
|
2396
|
-
|
2397
|
-
@Operation.setter
|
2398
|
-
def Operation(self, Operation):
|
2399
|
-
self._Operation = Operation
|
2400
|
-
|
2401
|
-
@property
|
2402
|
-
def GroupId(self):
|
2403
|
-
"""组织ID,固定字段:0
|
2404
|
-
:rtype: int
|
2405
|
-
"""
|
2406
|
-
return self._GroupId
|
2407
|
-
|
2408
|
-
@GroupId.setter
|
2409
|
-
def GroupId(self, GroupId):
|
2410
|
-
self._GroupId = GroupId
|
2411
|
-
|
2412
|
-
@property
|
2413
|
-
def ChannelId(self):
|
2414
|
-
"""通道ID,固定字段:0
|
2415
|
-
:rtype: int
|
2416
|
-
"""
|
2417
|
-
return self._ChannelId
|
2418
|
-
|
2419
|
-
@ChannelId.setter
|
2420
|
-
def ChannelId(self, ChannelId):
|
2421
|
-
self._ChannelId = ChannelId
|
2422
|
-
|
2423
|
-
@property
|
2424
|
-
def LatestBlockNumber(self):
|
2425
|
-
"""获取的最新交易的区块数量,取值范围1~5
|
2426
|
-
:rtype: int
|
2427
|
-
"""
|
2428
|
-
return self._LatestBlockNumber
|
2429
|
-
|
2430
|
-
@LatestBlockNumber.setter
|
2431
|
-
def LatestBlockNumber(self, LatestBlockNumber):
|
2432
|
-
self._LatestBlockNumber = LatestBlockNumber
|
2433
|
-
|
2434
|
-
@property
|
2435
|
-
def GroupName(self):
|
2436
|
-
"""调用接口的组织名称,可以在组织管理列表中获取当前组织的名称
|
2437
|
-
:rtype: str
|
2438
|
-
"""
|
2439
|
-
return self._GroupName
|
2440
|
-
|
2441
|
-
@GroupName.setter
|
2442
|
-
def GroupName(self, GroupName):
|
2443
|
-
self._GroupName = GroupName
|
2444
|
-
|
2445
|
-
@property
|
2446
|
-
def ChannelName(self):
|
2447
|
-
"""需要查询的通道名称,可在通道详情或列表中获取
|
2448
|
-
:rtype: str
|
2449
|
-
"""
|
2450
|
-
return self._ChannelName
|
2451
|
-
|
2452
|
-
@ChannelName.setter
|
2453
|
-
def ChannelName(self, ChannelName):
|
2454
|
-
self._ChannelName = ChannelName
|
2455
|
-
|
2456
|
-
@property
|
2457
|
-
def ClusterId(self):
|
2458
|
-
"""区块链网络ID,可在区块链网络详情或列表中获取
|
2459
|
-
:rtype: str
|
2460
|
-
"""
|
2461
|
-
return self._ClusterId
|
2462
|
-
|
2463
|
-
@ClusterId.setter
|
2464
|
-
def ClusterId(self, ClusterId):
|
2465
|
-
self._ClusterId = ClusterId
|
2466
|
-
|
2467
|
-
@property
|
2468
|
-
def Offset(self):
|
2469
|
-
"""需要获取的起始交易偏移
|
2470
|
-
:rtype: int
|
2471
|
-
"""
|
2472
|
-
return self._Offset
|
2473
|
-
|
2474
|
-
@Offset.setter
|
2475
|
-
def Offset(self, Offset):
|
2476
|
-
self._Offset = Offset
|
2477
|
-
|
2478
|
-
@property
|
2479
|
-
def Limit(self):
|
2480
|
-
"""需要获取的交易数量
|
2481
|
-
:rtype: int
|
2482
|
-
"""
|
2483
|
-
return self._Limit
|
2484
|
-
|
2485
|
-
@Limit.setter
|
2486
|
-
def Limit(self, Limit):
|
2487
|
-
self._Limit = Limit
|
2488
|
-
|
2489
|
-
|
2490
|
-
def _deserialize(self, params):
|
2491
|
-
self._Module = params.get("Module")
|
2492
|
-
self._Operation = params.get("Operation")
|
2493
|
-
self._GroupId = params.get("GroupId")
|
2494
|
-
self._ChannelId = params.get("ChannelId")
|
2495
|
-
self._LatestBlockNumber = params.get("LatestBlockNumber")
|
2496
|
-
self._GroupName = params.get("GroupName")
|
2497
|
-
self._ChannelName = params.get("ChannelName")
|
2498
|
-
self._ClusterId = params.get("ClusterId")
|
2499
|
-
self._Offset = params.get("Offset")
|
2500
|
-
self._Limit = params.get("Limit")
|
2501
|
-
memeber_set = set(params.keys())
|
2502
|
-
for name, value in vars(self).items():
|
2503
|
-
property_name = name[1:]
|
2504
|
-
if property_name in memeber_set:
|
2505
|
-
memeber_set.remove(property_name)
|
2506
|
-
if len(memeber_set) > 0:
|
2507
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2508
|
-
|
2509
|
-
|
2510
|
-
|
2511
|
-
class GetLatesdTransactionListResponse(AbstractModel):
|
2512
|
-
"""GetLatesdTransactionList返回参数结构体
|
2513
|
-
|
2514
|
-
"""
|
2515
|
-
|
2516
|
-
def __init__(self):
|
2517
|
-
r"""
|
2518
|
-
:param _TotalCount: 交易总数量
|
2519
|
-
:type TotalCount: int
|
2520
|
-
:param _TransactionList: 交易列表
|
2521
|
-
:type TransactionList: list of TransactionItem
|
2522
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2523
|
-
:type RequestId: str
|
2524
|
-
"""
|
2525
|
-
self._TotalCount = None
|
2526
|
-
self._TransactionList = None
|
2527
|
-
self._RequestId = None
|
2528
|
-
|
2529
|
-
@property
|
2530
|
-
def TotalCount(self):
|
2531
|
-
"""交易总数量
|
2532
|
-
:rtype: int
|
2533
|
-
"""
|
2534
|
-
return self._TotalCount
|
2535
|
-
|
2536
|
-
@TotalCount.setter
|
2537
|
-
def TotalCount(self, TotalCount):
|
2538
|
-
self._TotalCount = TotalCount
|
2539
|
-
|
2540
|
-
@property
|
2541
|
-
def TransactionList(self):
|
2542
|
-
"""交易列表
|
2543
|
-
:rtype: list of TransactionItem
|
2544
|
-
"""
|
2545
|
-
return self._TransactionList
|
2546
|
-
|
2547
|
-
@TransactionList.setter
|
2548
|
-
def TransactionList(self, TransactionList):
|
2549
|
-
self._TransactionList = TransactionList
|
2550
|
-
|
2551
|
-
@property
|
2552
|
-
def RequestId(self):
|
2553
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2554
|
-
:rtype: str
|
2555
|
-
"""
|
2556
|
-
return self._RequestId
|
2557
|
-
|
2558
|
-
@RequestId.setter
|
2559
|
-
def RequestId(self, RequestId):
|
2560
|
-
self._RequestId = RequestId
|
2561
|
-
|
2562
|
-
|
2563
|
-
def _deserialize(self, params):
|
2564
|
-
self._TotalCount = params.get("TotalCount")
|
2565
|
-
if params.get("TransactionList") is not None:
|
2566
|
-
self._TransactionList = []
|
2567
|
-
for item in params.get("TransactionList"):
|
2568
|
-
obj = TransactionItem()
|
2569
|
-
obj._deserialize(item)
|
2570
|
-
self._TransactionList.append(obj)
|
2571
|
-
self._RequestId = params.get("RequestId")
|
2572
|
-
|
2573
|
-
|
2574
2340
|
class GetLatestTransactionListRequest(AbstractModel):
|
2575
2341
|
"""GetLatestTransactionList请求参数结构体
|
2576
2342
|
|
@@ -233,29 +233,6 @@ class TbaasClient(AbstractClient):
|
|
233
233
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
234
234
|
|
235
235
|
|
236
|
-
def GetLatesdTransactionList(self, request):
|
237
|
-
"""获取最新交易列表(已废弃)
|
238
|
-
|
239
|
-
:param request: Request instance for GetLatesdTransactionList.
|
240
|
-
:type request: :class:`tencentcloud.tbaas.v20180416.models.GetLatesdTransactionListRequest`
|
241
|
-
:rtype: :class:`tencentcloud.tbaas.v20180416.models.GetLatesdTransactionListResponse`
|
242
|
-
|
243
|
-
"""
|
244
|
-
try:
|
245
|
-
params = request._serialize()
|
246
|
-
headers = request.headers
|
247
|
-
body = self.call("GetLatesdTransactionList", params, headers=headers)
|
248
|
-
response = json.loads(body)
|
249
|
-
model = models.GetLatesdTransactionListResponse()
|
250
|
-
model._deserialize(response["Response"])
|
251
|
-
return model
|
252
|
-
except Exception as e:
|
253
|
-
if isinstance(e, TencentCloudSDKException):
|
254
|
-
raise
|
255
|
-
else:
|
256
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
257
|
-
|
258
|
-
|
259
236
|
def GetLatestTransactionList(self, request):
|
260
237
|
"""获取fabric最新交易列表
|
261
238
|
|
@@ -89,6 +89,12 @@ FAILEDOPERATION_GETTOPICPARTITIONSFAILED = 'FailedOperation.GetTopicPartitionsFa
|
|
89
89
|
# 实例尚未就绪,请稍后再试。
|
90
90
|
FAILEDOPERATION_INSTANCENOTREADY = 'FailedOperation.InstanceNotReady'
|
91
91
|
|
92
|
+
# 存量公网禁止修改
|
93
|
+
FAILEDOPERATION_INVALIDEXISTPUBLICACCESSPOINTERROR = 'FailedOperation.InvalidExistPublicAccessPointError'
|
94
|
+
|
95
|
+
# 参数不合法
|
96
|
+
FAILEDOPERATION_INVALIDWHITELISTERROR = 'FailedOperation.InvalidWhiteListError'
|
97
|
+
|
92
98
|
# 最大消息超过1MB。
|
93
99
|
FAILEDOPERATION_MAXMESSAGESIZEERROR = 'FailedOperation.MaxMessageSizeError'
|
94
100
|
|