tencentcloud-sdk-python 3.0.1142__py2.py3-none-any.whl → 3.0.1144__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/aiart/v20221229/aiart_client.py +2 -2
- tencentcloud/aiart/v20221229/models.py +1 -1
- tencentcloud/apm/v20210622/models.py +1 -1
- tencentcloud/batch/v20170312/models.py +5 -1
- tencentcloud/billing/v20180709/models.py +2 -2
- tencentcloud/captcha/v20190722/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +19 -2
- tencentcloud/cdb/v20170320/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +11 -58
- tencentcloud/csip/v20221121/models.py +124 -2
- tencentcloud/cvm/v20170312/models.py +5 -1
- tencentcloud/cwp/v20180228/models.py +16 -3
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +115 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +168 -0
- tencentcloud/dlc/v20210125/models.py +89 -1
- tencentcloud/ess/v20201111/ess_client.py +53 -2
- tencentcloud/ess/v20201111/models.py +303 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +6 -3
- tencentcloud/faceid/v20180301/models.py +5 -11
- tencentcloud/fmu/v20191213/models.py +1 -1
- tencentcloud/hai/v20230812/models.py +1 -1
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +52 -0
- tencentcloud/hunyuan/v20230901/models.py +277 -1
- tencentcloud/iotexplorer/v20190423/errorcodes.py +21 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +115 -0
- tencentcloud/iotexplorer/v20190423/models.py +554 -18
- tencentcloud/iss/v20230517/models.py +13 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +15 -15
- tencentcloud/lighthouse/v20200324/models.py +22 -11
- tencentcloud/live/v20180801/live_client.py +46 -0
- tencentcloud/live/v20180801/models.py +190 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -4
- tencentcloud/lke/v20231130/models.py +158 -1
- tencentcloud/mrs/v20200910/models.py +3134 -906
- tencentcloud/mrs/v20200910/mrs_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +1 -0
- tencentcloud/rce/v20201103/models.py +0 -331
- tencentcloud/rce/v20201103/rce_client.py +0 -23
- tencentcloud/ssl/v20191205/errorcodes.py +9 -0
- tencentcloud/ssl/v20191205/models.py +94 -0
- tencentcloud/ssl/v20191205/ssl_client.py +23 -0
- tencentcloud/tdmq/v20200217/models.py +39 -0
- tencentcloud/teo/v20220901/models.py +62 -0
- tencentcloud/tke/v20180525/models.py +1 -1
- tencentcloud/tke/v20220501/errorcodes.py +10 -1
- tencentcloud/tke/v20220501/models.py +2666 -635
- tencentcloud/tke/v20220501/tke_client.py +69 -0
- tencentcloud/trtc/v20190722/models.py +3 -3
- tencentcloud/tse/v20201207/models.py +4 -0
- tencentcloud/waf/v20180125/models.py +607 -9
- tencentcloud/waf/v20180125/waf_client.py +92 -0
- {tencentcloud_sdk_python-3.0.1142.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1142.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/RECORD +60 -60
- {tencentcloud_sdk_python-3.0.1142.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1142.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1142.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/top_level.txt +0 -0
@@ -25,7 +25,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
25
25
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
|
-
:param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-pro。
|
28
|
+
:param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro。
|
29
29
|
各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
|
30
30
|
|
31
31
|
注意:
|
@@ -1192,6 +1192,282 @@ class Message(AbstractModel):
|
|
1192
1192
|
|
1193
1193
|
|
1194
1194
|
|
1195
|
+
class QueryHunyuanImageJobRequest(AbstractModel):
|
1196
|
+
"""QueryHunyuanImageJob请求参数结构体
|
1197
|
+
|
1198
|
+
"""
|
1199
|
+
|
1200
|
+
def __init__(self):
|
1201
|
+
r"""
|
1202
|
+
:param _JobId: 任务 ID。
|
1203
|
+
:type JobId: str
|
1204
|
+
"""
|
1205
|
+
self._JobId = None
|
1206
|
+
|
1207
|
+
@property
|
1208
|
+
def JobId(self):
|
1209
|
+
return self._JobId
|
1210
|
+
|
1211
|
+
@JobId.setter
|
1212
|
+
def JobId(self, JobId):
|
1213
|
+
self._JobId = JobId
|
1214
|
+
|
1215
|
+
|
1216
|
+
def _deserialize(self, params):
|
1217
|
+
self._JobId = params.get("JobId")
|
1218
|
+
memeber_set = set(params.keys())
|
1219
|
+
for name, value in vars(self).items():
|
1220
|
+
property_name = name[1:]
|
1221
|
+
if property_name in memeber_set:
|
1222
|
+
memeber_set.remove(property_name)
|
1223
|
+
if len(memeber_set) > 0:
|
1224
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1225
|
+
|
1226
|
+
|
1227
|
+
|
1228
|
+
class QueryHunyuanImageJobResponse(AbstractModel):
|
1229
|
+
"""QueryHunyuanImageJob返回参数结构体
|
1230
|
+
|
1231
|
+
"""
|
1232
|
+
|
1233
|
+
def __init__(self):
|
1234
|
+
r"""
|
1235
|
+
:param _JobStatusCode: 当前任务状态码:
|
1236
|
+
1:等待中、2:运行中、4:处理失败、5:处理完成。
|
1237
|
+
:type JobStatusCode: str
|
1238
|
+
:param _JobStatusMsg: 当前任务状态:排队中、处理中、处理失败或者处理完成。
|
1239
|
+
|
1240
|
+
:type JobStatusMsg: str
|
1241
|
+
:param _JobErrorCode: 任务处理失败错误码。
|
1242
|
+
|
1243
|
+
:type JobErrorCode: str
|
1244
|
+
:param _JobErrorMsg: 任务处理失败错误信息。
|
1245
|
+
|
1246
|
+
:type JobErrorMsg: str
|
1247
|
+
:param _ResultImage: 生成图 URL 列表,有效期1小时,请及时保存。
|
1248
|
+
|
1249
|
+
:type ResultImage: list of str
|
1250
|
+
:param _ResultDetails: 结果 detail 数组,Success 代表成功。
|
1251
|
+
|
1252
|
+
:type ResultDetails: list of str
|
1253
|
+
:param _RevisedPrompt: 对应 SubmitTextToImageProJob 接口中 Revise 参数。开启扩写时,返回扩写后的 prompt 文本。 如果关闭扩写,将直接返回原始输入的 prompt。
|
1254
|
+
:type RevisedPrompt: list of str
|
1255
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1256
|
+
:type RequestId: str
|
1257
|
+
"""
|
1258
|
+
self._JobStatusCode = None
|
1259
|
+
self._JobStatusMsg = None
|
1260
|
+
self._JobErrorCode = None
|
1261
|
+
self._JobErrorMsg = None
|
1262
|
+
self._ResultImage = None
|
1263
|
+
self._ResultDetails = None
|
1264
|
+
self._RevisedPrompt = None
|
1265
|
+
self._RequestId = None
|
1266
|
+
|
1267
|
+
@property
|
1268
|
+
def JobStatusCode(self):
|
1269
|
+
return self._JobStatusCode
|
1270
|
+
|
1271
|
+
@JobStatusCode.setter
|
1272
|
+
def JobStatusCode(self, JobStatusCode):
|
1273
|
+
self._JobStatusCode = JobStatusCode
|
1274
|
+
|
1275
|
+
@property
|
1276
|
+
def JobStatusMsg(self):
|
1277
|
+
return self._JobStatusMsg
|
1278
|
+
|
1279
|
+
@JobStatusMsg.setter
|
1280
|
+
def JobStatusMsg(self, JobStatusMsg):
|
1281
|
+
self._JobStatusMsg = JobStatusMsg
|
1282
|
+
|
1283
|
+
@property
|
1284
|
+
def JobErrorCode(self):
|
1285
|
+
return self._JobErrorCode
|
1286
|
+
|
1287
|
+
@JobErrorCode.setter
|
1288
|
+
def JobErrorCode(self, JobErrorCode):
|
1289
|
+
self._JobErrorCode = JobErrorCode
|
1290
|
+
|
1291
|
+
@property
|
1292
|
+
def JobErrorMsg(self):
|
1293
|
+
return self._JobErrorMsg
|
1294
|
+
|
1295
|
+
@JobErrorMsg.setter
|
1296
|
+
def JobErrorMsg(self, JobErrorMsg):
|
1297
|
+
self._JobErrorMsg = JobErrorMsg
|
1298
|
+
|
1299
|
+
@property
|
1300
|
+
def ResultImage(self):
|
1301
|
+
return self._ResultImage
|
1302
|
+
|
1303
|
+
@ResultImage.setter
|
1304
|
+
def ResultImage(self, ResultImage):
|
1305
|
+
self._ResultImage = ResultImage
|
1306
|
+
|
1307
|
+
@property
|
1308
|
+
def ResultDetails(self):
|
1309
|
+
return self._ResultDetails
|
1310
|
+
|
1311
|
+
@ResultDetails.setter
|
1312
|
+
def ResultDetails(self, ResultDetails):
|
1313
|
+
self._ResultDetails = ResultDetails
|
1314
|
+
|
1315
|
+
@property
|
1316
|
+
def RevisedPrompt(self):
|
1317
|
+
return self._RevisedPrompt
|
1318
|
+
|
1319
|
+
@RevisedPrompt.setter
|
1320
|
+
def RevisedPrompt(self, RevisedPrompt):
|
1321
|
+
self._RevisedPrompt = RevisedPrompt
|
1322
|
+
|
1323
|
+
@property
|
1324
|
+
def RequestId(self):
|
1325
|
+
return self._RequestId
|
1326
|
+
|
1327
|
+
@RequestId.setter
|
1328
|
+
def RequestId(self, RequestId):
|
1329
|
+
self._RequestId = RequestId
|
1330
|
+
|
1331
|
+
|
1332
|
+
def _deserialize(self, params):
|
1333
|
+
self._JobStatusCode = params.get("JobStatusCode")
|
1334
|
+
self._JobStatusMsg = params.get("JobStatusMsg")
|
1335
|
+
self._JobErrorCode = params.get("JobErrorCode")
|
1336
|
+
self._JobErrorMsg = params.get("JobErrorMsg")
|
1337
|
+
self._ResultImage = params.get("ResultImage")
|
1338
|
+
self._ResultDetails = params.get("ResultDetails")
|
1339
|
+
self._RevisedPrompt = params.get("RevisedPrompt")
|
1340
|
+
self._RequestId = params.get("RequestId")
|
1341
|
+
|
1342
|
+
|
1343
|
+
class SubmitHunyuanImageJobRequest(AbstractModel):
|
1344
|
+
"""SubmitHunyuanImageJob请求参数结构体
|
1345
|
+
|
1346
|
+
"""
|
1347
|
+
|
1348
|
+
def __init__(self):
|
1349
|
+
r"""
|
1350
|
+
:param _Prompt: 文本描述。 算法将根据输入的文本智能生成与之相关的图像。 不能为空,推荐使用中文。最多可传100个 utf-8 字符。
|
1351
|
+
:type Prompt: str
|
1352
|
+
:param _Style: 绘画风格。
|
1353
|
+
请在 [混元生图风格列表](https://cloud.tencent.com/document/product/1729/105846) 中选择期望的风格,传入风格编号。
|
1354
|
+
不传默认不指定风格。
|
1355
|
+
:type Style: str
|
1356
|
+
:param _Resolution: 生成图分辨率。
|
1357
|
+
支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3),不传默认使用1024:1024。
|
1358
|
+
:type Resolution: str
|
1359
|
+
:param _LogoAdd: 为生成结果图添加显式水印标识的开关,默认为1。
|
1360
|
+
1:添加。
|
1361
|
+
0:不添加。
|
1362
|
+
其他数值:默认按1处理。
|
1363
|
+
建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
|
1364
|
+
:type LogoAdd: int
|
1365
|
+
:param _Revise: prompt 扩写开关。1为开启,0为关闭,不传默认开启。
|
1366
|
+
开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。
|
1367
|
+
如果关闭扩写,将直接使用原始输入的 prompt 生成图片。
|
1368
|
+
建议开启,在多数场景下可提升生成图片效果、丰富生成图片细节。
|
1369
|
+
:type Revise: int
|
1370
|
+
"""
|
1371
|
+
self._Prompt = None
|
1372
|
+
self._Style = None
|
1373
|
+
self._Resolution = None
|
1374
|
+
self._LogoAdd = None
|
1375
|
+
self._Revise = None
|
1376
|
+
|
1377
|
+
@property
|
1378
|
+
def Prompt(self):
|
1379
|
+
return self._Prompt
|
1380
|
+
|
1381
|
+
@Prompt.setter
|
1382
|
+
def Prompt(self, Prompt):
|
1383
|
+
self._Prompt = Prompt
|
1384
|
+
|
1385
|
+
@property
|
1386
|
+
def Style(self):
|
1387
|
+
return self._Style
|
1388
|
+
|
1389
|
+
@Style.setter
|
1390
|
+
def Style(self, Style):
|
1391
|
+
self._Style = Style
|
1392
|
+
|
1393
|
+
@property
|
1394
|
+
def Resolution(self):
|
1395
|
+
return self._Resolution
|
1396
|
+
|
1397
|
+
@Resolution.setter
|
1398
|
+
def Resolution(self, Resolution):
|
1399
|
+
self._Resolution = Resolution
|
1400
|
+
|
1401
|
+
@property
|
1402
|
+
def LogoAdd(self):
|
1403
|
+
return self._LogoAdd
|
1404
|
+
|
1405
|
+
@LogoAdd.setter
|
1406
|
+
def LogoAdd(self, LogoAdd):
|
1407
|
+
self._LogoAdd = LogoAdd
|
1408
|
+
|
1409
|
+
@property
|
1410
|
+
def Revise(self):
|
1411
|
+
return self._Revise
|
1412
|
+
|
1413
|
+
@Revise.setter
|
1414
|
+
def Revise(self, Revise):
|
1415
|
+
self._Revise = Revise
|
1416
|
+
|
1417
|
+
|
1418
|
+
def _deserialize(self, params):
|
1419
|
+
self._Prompt = params.get("Prompt")
|
1420
|
+
self._Style = params.get("Style")
|
1421
|
+
self._Resolution = params.get("Resolution")
|
1422
|
+
self._LogoAdd = params.get("LogoAdd")
|
1423
|
+
self._Revise = params.get("Revise")
|
1424
|
+
memeber_set = set(params.keys())
|
1425
|
+
for name, value in vars(self).items():
|
1426
|
+
property_name = name[1:]
|
1427
|
+
if property_name in memeber_set:
|
1428
|
+
memeber_set.remove(property_name)
|
1429
|
+
if len(memeber_set) > 0:
|
1430
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1431
|
+
|
1432
|
+
|
1433
|
+
|
1434
|
+
class SubmitHunyuanImageJobResponse(AbstractModel):
|
1435
|
+
"""SubmitHunyuanImageJob返回参数结构体
|
1436
|
+
|
1437
|
+
"""
|
1438
|
+
|
1439
|
+
def __init__(self):
|
1440
|
+
r"""
|
1441
|
+
:param _JobId: 任务 ID。
|
1442
|
+
:type JobId: str
|
1443
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1444
|
+
:type RequestId: str
|
1445
|
+
"""
|
1446
|
+
self._JobId = None
|
1447
|
+
self._RequestId = None
|
1448
|
+
|
1449
|
+
@property
|
1450
|
+
def JobId(self):
|
1451
|
+
return self._JobId
|
1452
|
+
|
1453
|
+
@JobId.setter
|
1454
|
+
def JobId(self, JobId):
|
1455
|
+
self._JobId = JobId
|
1456
|
+
|
1457
|
+
@property
|
1458
|
+
def RequestId(self):
|
1459
|
+
return self._RequestId
|
1460
|
+
|
1461
|
+
@RequestId.setter
|
1462
|
+
def RequestId(self, RequestId):
|
1463
|
+
self._RequestId = RequestId
|
1464
|
+
|
1465
|
+
|
1466
|
+
def _deserialize(self, params):
|
1467
|
+
self._JobId = params.get("JobId")
|
1468
|
+
self._RequestId = params.get("RequestId")
|
1469
|
+
|
1470
|
+
|
1195
1471
|
class Usage(AbstractModel):
|
1196
1472
|
"""Token 数量
|
1197
1473
|
|
@@ -53,6 +53,9 @@ FAILEDOPERATION_PRODUCTNOTRELEASED = 'FailedOperation.ProductNotReleased'
|
|
53
53
|
# RRPC接口未收到设备端响应。
|
54
54
|
FAILEDOPERATION_RRPCTIMEOUT = 'FailedOperation.RRPCTimeout'
|
55
55
|
|
56
|
+
# 请求TRTC失败
|
57
|
+
FAILEDOPERATION_REQUESTTRTCFAIL = 'FailedOperation.RequestTRTCFail'
|
58
|
+
|
56
59
|
# 转发已经停止。
|
57
60
|
FAILEDOPERATION_RULEALREADYDISABLED = 'FailedOperation.RuleAlreadyDisabled'
|
58
61
|
|
@@ -101,6 +104,12 @@ INVALIDPARAMETER_FIRMWAREALREADYEXIST = 'InvalidParameter.FirmwareAlreadyExist'
|
|
101
104
|
# 产品不是网关类型,无法绑定子产品。
|
102
105
|
INVALIDPARAMETER_PRODUCTISNOTGATEWAY = 'InvalidParameter.ProductIsNotGateway'
|
103
106
|
|
107
|
+
# RoomId已存在
|
108
|
+
INVALIDPARAMETER_ROOMIDEXIST = 'InvalidParameter.RoomIdExist'
|
109
|
+
|
110
|
+
# UserId数量超出限制
|
111
|
+
INVALIDPARAMETER_USERIDOVERLIMIT = 'InvalidParameter.UserIdOverLimit'
|
112
|
+
|
104
113
|
# 参数取值错误。
|
105
114
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
106
115
|
|
@@ -341,6 +350,12 @@ RESOURCENOTFOUND_BATCHPRODUCTIONNOTEXIST = 'ResourceNotFound.BatchProductionNotE
|
|
341
350
|
# 上传URL无法获取。
|
342
351
|
RESOURCENOTFOUND_CANNOTGETFROMURL = 'ResourceNotFound.CannotGetFromUrl'
|
343
352
|
|
353
|
+
# 云存AI分析任务不存在
|
354
|
+
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASK = 'ResourceNotFound.CloudStorageAIServiceTask'
|
355
|
+
|
356
|
+
# 云存AI分析任务输出文件不存在
|
357
|
+
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASKFILE = 'ResourceNotFound.CloudStorageAIServiceTaskFile'
|
358
|
+
|
344
359
|
# 存在重复设备。
|
345
360
|
RESOURCENOTFOUND_DEVICEDUPKEYEXIST = 'ResourceNotFound.DeviceDupKeyExist'
|
346
361
|
|
@@ -446,6 +461,9 @@ UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = 'UnauthorizedOperation.NoPe
|
|
446
461
|
# 产品ACL错误。
|
447
462
|
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = 'UnauthorizedOperation.NoPermissionToStudioProduct'
|
448
463
|
|
464
|
+
# 无权操作该房间
|
465
|
+
UNAUTHORIZEDOPERATION_NOPERMISSIONTOTRTCROOM = 'UnauthorizedOperation.NoPermissionToTRTCRoom'
|
466
|
+
|
449
467
|
# 您的帐号未实名认证,请登录腾讯云进行实名认证
|
450
468
|
UNAUTHORIZEDOPERATION_NOVERIFIED = 'UnauthorizedOperation.NoVerified'
|
451
469
|
|
@@ -542,6 +560,9 @@ UNSUPPORTEDOPERATION_STAFFPOOLDUPNAMEEXIST = 'UnsupportedOperation.StaffPoolDupN
|
|
542
560
|
# LoRa频点还被节点或网关使用。
|
543
561
|
UNSUPPORTEDOPERATION_STUDIOLORAFREQINUSED = 'UnsupportedOperation.StudioLoRaFreqInUsed'
|
544
562
|
|
563
|
+
# TRTC增值服务未开通
|
564
|
+
UNSUPPORTEDOPERATION_TRTCSERVICENOTOPEN = 'UnsupportedOperation.TRTCServiceNotOpen'
|
565
|
+
|
545
566
|
# 账户有未支付订单。
|
546
567
|
UNSUPPORTEDOPERATION_UNPAIDORDER = 'UnsupportedOperation.UnpaidOrder'
|
547
568
|
|
@@ -394,6 +394,29 @@ class IotexplorerClient(AbstractClient):
|
|
394
394
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
395
395
|
|
396
396
|
|
397
|
+
def CreateTRTCSignaturesWithRoomId(self, request):
|
398
|
+
"""创建TRTC通话参数
|
399
|
+
|
400
|
+
:param request: Request instance for CreateTRTCSignaturesWithRoomId.
|
401
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTRTCSignaturesWithRoomIdRequest`
|
402
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTRTCSignaturesWithRoomIdResponse`
|
403
|
+
|
404
|
+
"""
|
405
|
+
try:
|
406
|
+
params = request._serialize()
|
407
|
+
headers = request.headers
|
408
|
+
body = self.call("CreateTRTCSignaturesWithRoomId", params, headers=headers)
|
409
|
+
response = json.loads(body)
|
410
|
+
model = models.CreateTRTCSignaturesWithRoomIdResponse()
|
411
|
+
model._deserialize(response["Response"])
|
412
|
+
return model
|
413
|
+
except Exception as e:
|
414
|
+
if isinstance(e, TencentCloudSDKException):
|
415
|
+
raise
|
416
|
+
else:
|
417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
418
|
+
|
419
|
+
|
397
420
|
def CreateTopicPolicy(self, request):
|
398
421
|
"""本接口(CreateTopicPolicy)用于创建一个Topic
|
399
422
|
|
@@ -831,6 +854,29 @@ class IotexplorerClient(AbstractClient):
|
|
831
854
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
832
855
|
|
833
856
|
|
857
|
+
def DescribeCloudStorageAIServiceTask(self, request):
|
858
|
+
"""查询指定的云存 AI 分析任务
|
859
|
+
|
860
|
+
:param request: Request instance for DescribeCloudStorageAIServiceTask.
|
861
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeCloudStorageAIServiceTaskRequest`
|
862
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeCloudStorageAIServiceTaskResponse`
|
863
|
+
|
864
|
+
"""
|
865
|
+
try:
|
866
|
+
params = request._serialize()
|
867
|
+
headers = request.headers
|
868
|
+
body = self.call("DescribeCloudStorageAIServiceTask", params, headers=headers)
|
869
|
+
response = json.loads(body)
|
870
|
+
model = models.DescribeCloudStorageAIServiceTaskResponse()
|
871
|
+
model._deserialize(response["Response"])
|
872
|
+
return model
|
873
|
+
except Exception as e:
|
874
|
+
if isinstance(e, TencentCloudSDKException):
|
875
|
+
raise
|
876
|
+
else:
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
878
|
+
|
879
|
+
|
834
880
|
def DescribeCloudStorageAIServiceTasks(self, request):
|
835
881
|
"""查询指定设备的云存 AI 分析任务列表
|
836
882
|
|
@@ -1774,6 +1820,29 @@ class IotexplorerClient(AbstractClient):
|
|
1774
1820
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1775
1821
|
|
1776
1822
|
|
1823
|
+
def DismissRoomByStrRoomIdFromTRTC(self, request):
|
1824
|
+
"""解散TRTC房间
|
1825
|
+
|
1826
|
+
:param request: Request instance for DismissRoomByStrRoomIdFromTRTC.
|
1827
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DismissRoomByStrRoomIdFromTRTCRequest`
|
1828
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DismissRoomByStrRoomIdFromTRTCResponse`
|
1829
|
+
|
1830
|
+
"""
|
1831
|
+
try:
|
1832
|
+
params = request._serialize()
|
1833
|
+
headers = request.headers
|
1834
|
+
body = self.call("DismissRoomByStrRoomIdFromTRTC", params, headers=headers)
|
1835
|
+
response = json.loads(body)
|
1836
|
+
model = models.DismissRoomByStrRoomIdFromTRTCResponse()
|
1837
|
+
model._deserialize(response["Response"])
|
1838
|
+
return model
|
1839
|
+
except Exception as e:
|
1840
|
+
if isinstance(e, TencentCloudSDKException):
|
1841
|
+
raise
|
1842
|
+
else:
|
1843
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1844
|
+
|
1845
|
+
|
1777
1846
|
def EnableTopicRule(self, request):
|
1778
1847
|
"""启用规则
|
1779
1848
|
|
@@ -1820,6 +1889,29 @@ class IotexplorerClient(AbstractClient):
|
|
1820
1889
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1821
1890
|
|
1822
1891
|
|
1892
|
+
def GenerateCloudStorageAIServiceTaskFileURL(self, request):
|
1893
|
+
"""获取云存 AI 分析任务输出文件的下载地址
|
1894
|
+
|
1895
|
+
:param request: Request instance for GenerateCloudStorageAIServiceTaskFileURL.
|
1896
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.GenerateCloudStorageAIServiceTaskFileURLRequest`
|
1897
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GenerateCloudStorageAIServiceTaskFileURLResponse`
|
1898
|
+
|
1899
|
+
"""
|
1900
|
+
try:
|
1901
|
+
params = request._serialize()
|
1902
|
+
headers = request.headers
|
1903
|
+
body = self.call("GenerateCloudStorageAIServiceTaskFileURL", params, headers=headers)
|
1904
|
+
response = json.loads(body)
|
1905
|
+
model = models.GenerateCloudStorageAIServiceTaskFileURLResponse()
|
1906
|
+
model._deserialize(response["Response"])
|
1907
|
+
return model
|
1908
|
+
except Exception as e:
|
1909
|
+
if isinstance(e, TencentCloudSDKException):
|
1910
|
+
raise
|
1911
|
+
else:
|
1912
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1913
|
+
|
1914
|
+
|
1823
1915
|
def GenerateSignedVideoURL(self, request):
|
1824
1916
|
"""获取视频防盗链播放URL
|
1825
1917
|
|
@@ -2625,6 +2717,29 @@ class IotexplorerClient(AbstractClient):
|
|
2625
2717
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2626
2718
|
|
2627
2719
|
|
2720
|
+
def RemoveUserByRoomIdFromTRTC(self, request):
|
2721
|
+
"""TRTC操作,将用户从房间移出
|
2722
|
+
|
2723
|
+
:param request: Request instance for RemoveUserByRoomIdFromTRTC.
|
2724
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.RemoveUserByRoomIdFromTRTCRequest`
|
2725
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.RemoveUserByRoomIdFromTRTCResponse`
|
2726
|
+
|
2727
|
+
"""
|
2728
|
+
try:
|
2729
|
+
params = request._serialize()
|
2730
|
+
headers = request.headers
|
2731
|
+
body = self.call("RemoveUserByRoomIdFromTRTC", params, headers=headers)
|
2732
|
+
response = json.loads(body)
|
2733
|
+
model = models.RemoveUserByRoomIdFromTRTCResponse()
|
2734
|
+
model._deserialize(response["Response"])
|
2735
|
+
return model
|
2736
|
+
except Exception as e:
|
2737
|
+
if isinstance(e, TencentCloudSDKException):
|
2738
|
+
raise
|
2739
|
+
else:
|
2740
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2741
|
+
|
2742
|
+
|
2628
2743
|
def ResetCloudStorage(self, request):
|
2629
2744
|
"""重置云存服务
|
2630
2745
|
|