tencentcloud-sdk-python 3.0.1434__py2.py3-none-any.whl → 3.0.1436__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 (50) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +2 -2
  3. tencentcloud/bi/v20220105/models.py +156 -2
  4. tencentcloud/cam/v20190116/cam_client.py +23 -0
  5. tencentcloud/cam/v20190116/errorcodes.py +15 -0
  6. tencentcloud/cam/v20190116/models.py +180 -0
  7. tencentcloud/cdb/v20170320/cdb_client.py +2 -1
  8. tencentcloud/cdb/v20170320/models.py +62 -44
  9. tencentcloud/cdn/v20180606/cdn_client.py +0 -575
  10. tencentcloud/cdn/v20180606/errorcodes.py +0 -48
  11. tencentcloud/cdn/v20180606/models.py +12881 -21511
  12. tencentcloud/cfs/v20190719/cfs_client.py +299 -0
  13. tencentcloud/cfs/v20190719/errorcodes.py +54 -0
  14. tencentcloud/cfs/v20190719/models.py +4445 -1986
  15. tencentcloud/clb/v20180317/models.py +44 -14
  16. tencentcloud/cls/v20201016/models.py +370 -136
  17. tencentcloud/ctem/v20231128/models.py +405 -15
  18. tencentcloud/dlc/v20210125/dlc_client.py +529 -0
  19. tencentcloud/dlc/v20210125/errorcodes.py +30 -0
  20. tencentcloud/dlc/v20210125/models.py +7581 -2530
  21. tencentcloud/emr/v20190103/models.py +2 -2
  22. tencentcloud/es/v20250101/models.py +70 -0
  23. tencentcloud/ess/v20201111/ess_client.py +53 -1
  24. tencentcloud/ess/v20201111/models.py +680 -0
  25. tencentcloud/hunyuan/v20230901/errorcodes.py +0 -27
  26. tencentcloud/hunyuan/v20230901/hunyuan_client.py +0 -46
  27. tencentcloud/hunyuan/v20230901/models.py +0 -357
  28. tencentcloud/kms/v20190118/models.py +2 -2
  29. tencentcloud/live/v20180801/models.py +2 -2
  30. tencentcloud/lowcode/v20210108/lowcode_client.py +92 -0
  31. tencentcloud/lowcode/v20210108/models.py +423 -0
  32. tencentcloud/mps/v20190612/models.py +24 -8
  33. tencentcloud/mqtt/v20240516/models.py +150 -0
  34. tencentcloud/ocr/v20181119/models.py +4 -4
  35. tencentcloud/ssl/v20191205/errorcodes.py +1 -1
  36. tencentcloud/ssl/v20191205/models.py +45 -30
  37. tencentcloud/teo/v20220901/errorcodes.py +24 -0
  38. tencentcloud/teo/v20220901/models.py +3491 -433
  39. tencentcloud/teo/v20220901/teo_client.py +462 -0
  40. tencentcloud/tione/v20211111/models.py +15 -0
  41. tencentcloud/trtc/v20190722/models.py +70 -6
  42. tencentcloud/waf/v20180125/models.py +1029 -151
  43. tencentcloud/waf/v20180125/waf_client.py +92 -0
  44. tencentcloud/wedata/v20210820/models.py +321 -15
  45. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  46. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/METADATA +1 -1
  47. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/RECORD +50 -50
  48. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/LICENSE +0 -0
  49. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/WHEEL +0 -0
  50. {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/top_level.txt +0 -0
@@ -44,9 +44,6 @@ FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
44
44
  # LogoUrl 或 LogoImage 有误,水印图下载失败。
45
45
  FAILEDOPERATION_IMAGEDOWNLOADERROR = 'FailedOperation.ImageDownloadError'
46
46
 
47
- # 任务不存在。
48
- FAILEDOPERATION_JOBNOTFOUND = 'FailedOperation.JobNotFound'
49
-
50
47
  # 合作伙伴账号不允许开通,请更换账号。
51
48
  FAILEDOPERATION_PARTNERACCOUNTUNSUPPORT = 'FailedOperation.PartnerAccountUnSupport'
52
49
 
@@ -80,24 +77,12 @@ INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'
80
77
  # 参数取值错误。
81
78
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
82
79
 
83
- # 不支持的图片格式。
84
- INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = 'InvalidParameterValue.InvalidImageFormat'
85
-
86
- # 不支持的图片分辨率。
87
- INVALIDPARAMETERVALUE_INVALIDIMAGERESOLUTION = 'InvalidParameterValue.InvalidImageResolution'
88
-
89
- # 图片大小超出限制。
90
- INVALIDPARAMETERVALUE_INVALIDIMAGESIZE = 'InvalidParameterValue.InvalidImageSize'
91
-
92
80
  # 模型不存在。
93
81
  INVALIDPARAMETERVALUE_MODEL = 'InvalidParameterValue.Model'
94
82
 
95
83
  # 参数字段或者值有误
96
84
  INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = 'InvalidParameterValue.ParameterValueError'
97
85
 
98
- # URL格式不合法。
99
- INVALIDPARAMETERVALUE_URLILLEGAL = 'InvalidParameterValue.UrlIllegal'
100
-
101
86
  # 超过配额限制。
102
87
  LIMITEXCEEDED = 'LimitExceeded'
103
88
 
@@ -107,21 +92,9 @@ OPERATIONDENIED_IMAGEILLEGALDETECTED = 'OperationDenied.ImageIllegalDetected'
107
92
  # 文本包含违法违规信息,审核不通过。
108
93
  OPERATIONDENIED_TEXTILLEGALDETECTED = 'OperationDenied.TextIllegalDetected'
109
94
 
110
- # 同时处理的任务数过多,请稍后重试。
111
- REQUESTLIMITEXCEEDED_JOBNUMEXCEED = 'RequestLimitExceeded.JobNumExceed'
112
-
113
- # 资源不足。
114
- RESOURCEINSUFFICIENT = 'ResourceInsufficient'
115
-
116
95
  # 计费资源已耗尽。
117
96
  RESOURCEINSUFFICIENT_CHARGERESOURCEEXHAUST = 'ResourceInsufficient.ChargeResourceExhaust'
118
97
 
119
- # 资源不存在。
120
- RESOURCENOTFOUND = 'ResourceNotFound'
121
-
122
- # 资源不可用。
123
- RESOURCEUNAVAILABLE = 'ResourceUnavailable'
124
-
125
98
  # 账号已欠费。
126
99
  RESOURCEUNAVAILABLE_INARREARS = 'ResourceUnavailable.InArrears'
127
100
 
@@ -392,29 +392,6 @@ class HunyuanClient(AbstractClient):
392
392
  raise TencentCloudSDKException(type(e).__name__, str(e))
393
393
 
394
394
 
395
- def QueryHunyuanTo3DJob(self, request):
396
- """查询混元生3D任务
397
-
398
- :param request: Request instance for QueryHunyuanTo3DJob.
399
- :type request: :class:`tencentcloud.hunyuan.v20230901.models.QueryHunyuanTo3DJobRequest`
400
- :rtype: :class:`tencentcloud.hunyuan.v20230901.models.QueryHunyuanTo3DJobResponse`
401
-
402
- """
403
- try:
404
- params = request._serialize()
405
- headers = request.headers
406
- body = self.call("QueryHunyuanTo3DJob", params, headers=headers)
407
- response = json.loads(body)
408
- model = models.QueryHunyuanTo3DJobResponse()
409
- model._deserialize(response["Response"])
410
- return model
411
- except Exception as e:
412
- if isinstance(e, TencentCloudSDKException):
413
- raise
414
- else:
415
- raise TencentCloudSDKException(type(e).__name__, str(e))
416
-
417
-
418
395
  def RunThread(self, request):
419
396
  """腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
420
397
 
@@ -513,29 +490,6 @@ class HunyuanClient(AbstractClient):
513
490
  raise TencentCloudSDKException(type(e).__name__, str(e))
514
491
 
515
492
 
516
- def SubmitHunyuanTo3DJob(self, request):
517
- """提交混元生3D任务
518
-
519
- :param request: Request instance for SubmitHunyuanTo3DJob.
520
- :type request: :class:`tencentcloud.hunyuan.v20230901.models.SubmitHunyuanTo3DJobRequest`
521
- :rtype: :class:`tencentcloud.hunyuan.v20230901.models.SubmitHunyuanTo3DJobResponse`
522
-
523
- """
524
- try:
525
- params = request._serialize()
526
- headers = request.headers
527
- body = self.call("SubmitHunyuanTo3DJob", params, headers=headers)
528
- response = json.loads(body)
529
- model = models.SubmitHunyuanTo3DJobResponse()
530
- model._deserialize(response["Response"])
531
- return model
532
- except Exception as e:
533
- if isinstance(e, TencentCloudSDKException):
534
- raise
535
- else:
536
- raise TencentCloudSDKException(type(e).__name__, str(e))
537
-
538
-
539
493
  def TextToImageLite(self, request):
540
494
  """文生图轻量版接口根据输入的文本描述,智能生成与之相关的结果图。
541
495
  文生图轻量版默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
@@ -1812,98 +1812,6 @@ class ErrorMsg(AbstractModel):
1812
1812
 
1813
1813
 
1814
1814
 
1815
- class File3D(AbstractModel):
1816
- """3D文件
1817
-
1818
- """
1819
-
1820
- def __init__(self):
1821
- r"""
1822
- :param _Type: 3D文件的格式。取值范围:GIF, OBJ
1823
- :type Type: str
1824
- :param _Url: 文件的Url(有效期24小时)
1825
- :type Url: str
1826
- """
1827
- self._Type = None
1828
- self._Url = None
1829
-
1830
- @property
1831
- def Type(self):
1832
- """3D文件的格式。取值范围:GIF, OBJ
1833
- :rtype: str
1834
- """
1835
- return self._Type
1836
-
1837
- @Type.setter
1838
- def Type(self, Type):
1839
- self._Type = Type
1840
-
1841
- @property
1842
- def Url(self):
1843
- """文件的Url(有效期24小时)
1844
- :rtype: str
1845
- """
1846
- return self._Url
1847
-
1848
- @Url.setter
1849
- def Url(self, Url):
1850
- self._Url = Url
1851
-
1852
-
1853
- def _deserialize(self, params):
1854
- self._Type = params.get("Type")
1855
- self._Url = params.get("Url")
1856
- memeber_set = set(params.keys())
1857
- for name, value in vars(self).items():
1858
- property_name = name[1:]
1859
- if property_name in memeber_set:
1860
- memeber_set.remove(property_name)
1861
- if len(memeber_set) > 0:
1862
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1863
-
1864
-
1865
-
1866
- class File3Ds(AbstractModel):
1867
- """3D文件列表
1868
-
1869
- """
1870
-
1871
- def __init__(self):
1872
- r"""
1873
- :param _File3D: 3D文件列表
1874
- :type File3D: list of File3D
1875
- """
1876
- self._File3D = None
1877
-
1878
- @property
1879
- def File3D(self):
1880
- """3D文件列表
1881
- :rtype: list of File3D
1882
- """
1883
- return self._File3D
1884
-
1885
- @File3D.setter
1886
- def File3D(self, File3D):
1887
- self._File3D = File3D
1888
-
1889
-
1890
- def _deserialize(self, params):
1891
- if params.get("File3D") is not None:
1892
- self._File3D = []
1893
- for item in params.get("File3D"):
1894
- obj = File3D()
1895
- obj._deserialize(item)
1896
- self._File3D.append(obj)
1897
- memeber_set = set(params.keys())
1898
- for name, value in vars(self).items():
1899
- property_name = name[1:]
1900
- if property_name in memeber_set:
1901
- memeber_set.remove(property_name)
1902
- if len(memeber_set) > 0:
1903
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1904
-
1905
-
1906
-
1907
1815
  class FileObject(AbstractModel):
1908
1816
  """已上传的文件对象。
1909
1817
 
@@ -5362,135 +5270,6 @@ class QueryHunyuanImageJobResponse(AbstractModel):
5362
5270
  self._RequestId = params.get("RequestId")
5363
5271
 
5364
5272
 
5365
- class QueryHunyuanTo3DJobRequest(AbstractModel):
5366
- """QueryHunyuanTo3DJob请求参数结构体
5367
-
5368
- """
5369
-
5370
- def __init__(self):
5371
- r"""
5372
- :param _JobId: 任务ID
5373
- :type JobId: str
5374
- """
5375
- self._JobId = None
5376
-
5377
- @property
5378
- def JobId(self):
5379
- """任务ID
5380
- :rtype: str
5381
- """
5382
- return self._JobId
5383
-
5384
- @JobId.setter
5385
- def JobId(self, JobId):
5386
- self._JobId = JobId
5387
-
5388
-
5389
- def _deserialize(self, params):
5390
- self._JobId = params.get("JobId")
5391
- memeber_set = set(params.keys())
5392
- for name, value in vars(self).items():
5393
- property_name = name[1:]
5394
- if property_name in memeber_set:
5395
- memeber_set.remove(property_name)
5396
- if len(memeber_set) > 0:
5397
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5398
-
5399
-
5400
-
5401
- class QueryHunyuanTo3DJobResponse(AbstractModel):
5402
- """QueryHunyuanTo3DJob返回参数结构体
5403
-
5404
- """
5405
-
5406
- def __init__(self):
5407
- r"""
5408
- :param _Status: 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
5409
- :type Status: str
5410
- :param _ResultFile3Ds: 生成的3D文件数组
5411
- :type ResultFile3Ds: list of File3Ds
5412
- :param _ErrorCode: 错误码
5413
- :type ErrorCode: str
5414
- :param _ErrorMessage: 错误信息
5415
- :type ErrorMessage: str
5416
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5417
- :type RequestId: str
5418
- """
5419
- self._Status = None
5420
- self._ResultFile3Ds = None
5421
- self._ErrorCode = None
5422
- self._ErrorMessage = None
5423
- self._RequestId = None
5424
-
5425
- @property
5426
- def Status(self):
5427
- """任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
5428
- :rtype: str
5429
- """
5430
- return self._Status
5431
-
5432
- @Status.setter
5433
- def Status(self, Status):
5434
- self._Status = Status
5435
-
5436
- @property
5437
- def ResultFile3Ds(self):
5438
- """生成的3D文件数组
5439
- :rtype: list of File3Ds
5440
- """
5441
- return self._ResultFile3Ds
5442
-
5443
- @ResultFile3Ds.setter
5444
- def ResultFile3Ds(self, ResultFile3Ds):
5445
- self._ResultFile3Ds = ResultFile3Ds
5446
-
5447
- @property
5448
- def ErrorCode(self):
5449
- """错误码
5450
- :rtype: str
5451
- """
5452
- return self._ErrorCode
5453
-
5454
- @ErrorCode.setter
5455
- def ErrorCode(self, ErrorCode):
5456
- self._ErrorCode = ErrorCode
5457
-
5458
- @property
5459
- def ErrorMessage(self):
5460
- """错误信息
5461
- :rtype: str
5462
- """
5463
- return self._ErrorMessage
5464
-
5465
- @ErrorMessage.setter
5466
- def ErrorMessage(self, ErrorMessage):
5467
- self._ErrorMessage = ErrorMessage
5468
-
5469
- @property
5470
- def RequestId(self):
5471
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5472
- :rtype: str
5473
- """
5474
- return self._RequestId
5475
-
5476
- @RequestId.setter
5477
- def RequestId(self, RequestId):
5478
- self._RequestId = RequestId
5479
-
5480
-
5481
- def _deserialize(self, params):
5482
- self._Status = params.get("Status")
5483
- if params.get("ResultFile3Ds") is not None:
5484
- self._ResultFile3Ds = []
5485
- for item in params.get("ResultFile3Ds"):
5486
- obj = File3Ds()
5487
- obj._deserialize(item)
5488
- self._ResultFile3Ds.append(obj)
5489
- self._ErrorCode = params.get("ErrorCode")
5490
- self._ErrorMessage = params.get("ErrorMessage")
5491
- self._RequestId = params.get("RequestId")
5492
-
5493
-
5494
5273
  class Reference(AbstractModel):
5495
5274
  """翻译对话参考示例
5496
5275
 
@@ -6823,142 +6602,6 @@ class SubmitHunyuanImageJobResponse(AbstractModel):
6823
6602
  self._RequestId = params.get("RequestId")
6824
6603
 
6825
6604
 
6826
- class SubmitHunyuanTo3DJobRequest(AbstractModel):
6827
- """SubmitHunyuanTo3DJob请求参数结构体
6828
-
6829
- """
6830
-
6831
- def __init__(self):
6832
- r"""
6833
- :param _Prompt: 3D内容的描述,中文正向提示词。最多支持200个 utf-8 字符,ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
6834
- :type Prompt: str
6835
- :param _ImageBase64: 输入图 Base64 数据。
6836
- 大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
6837
- 格式:jpg,png,jpeg,webp。
6838
- ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
6839
- :type ImageBase64: str
6840
- :param _ImageUrl: 输入图Url。
6841
- 大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
6842
- 格式:jpg,png,jpeg,webp。
6843
- ImageBase64/ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
6844
- :type ImageUrl: str
6845
- :param _Num: 生成数量。默认1,当前限制只能为1。
6846
- :type Num: int
6847
- """
6848
- self._Prompt = None
6849
- self._ImageBase64 = None
6850
- self._ImageUrl = None
6851
- self._Num = None
6852
-
6853
- @property
6854
- def Prompt(self):
6855
- """3D内容的描述,中文正向提示词。最多支持200个 utf-8 字符,ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
6856
- :rtype: str
6857
- """
6858
- return self._Prompt
6859
-
6860
- @Prompt.setter
6861
- def Prompt(self, Prompt):
6862
- self._Prompt = Prompt
6863
-
6864
- @property
6865
- def ImageBase64(self):
6866
- """输入图 Base64 数据。
6867
- 大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
6868
- 格式:jpg,png,jpeg,webp。
6869
- ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
6870
- :rtype: str
6871
- """
6872
- return self._ImageBase64
6873
-
6874
- @ImageBase64.setter
6875
- def ImageBase64(self, ImageBase64):
6876
- self._ImageBase64 = ImageBase64
6877
-
6878
- @property
6879
- def ImageUrl(self):
6880
- """输入图Url。
6881
- 大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
6882
- 格式:jpg,png,jpeg,webp。
6883
- ImageBase64/ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
6884
- :rtype: str
6885
- """
6886
- return self._ImageUrl
6887
-
6888
- @ImageUrl.setter
6889
- def ImageUrl(self, ImageUrl):
6890
- self._ImageUrl = ImageUrl
6891
-
6892
- @property
6893
- def Num(self):
6894
- """生成数量。默认1,当前限制只能为1。
6895
- :rtype: int
6896
- """
6897
- return self._Num
6898
-
6899
- @Num.setter
6900
- def Num(self, Num):
6901
- self._Num = Num
6902
-
6903
-
6904
- def _deserialize(self, params):
6905
- self._Prompt = params.get("Prompt")
6906
- self._ImageBase64 = params.get("ImageBase64")
6907
- self._ImageUrl = params.get("ImageUrl")
6908
- self._Num = params.get("Num")
6909
- memeber_set = set(params.keys())
6910
- for name, value in vars(self).items():
6911
- property_name = name[1:]
6912
- if property_name in memeber_set:
6913
- memeber_set.remove(property_name)
6914
- if len(memeber_set) > 0:
6915
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6916
-
6917
-
6918
-
6919
- class SubmitHunyuanTo3DJobResponse(AbstractModel):
6920
- """SubmitHunyuanTo3DJob返回参数结构体
6921
-
6922
- """
6923
-
6924
- def __init__(self):
6925
- r"""
6926
- :param _JobId: 任务id(有效期24小时)
6927
- :type JobId: str
6928
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6929
- :type RequestId: str
6930
- """
6931
- self._JobId = None
6932
- self._RequestId = None
6933
-
6934
- @property
6935
- def JobId(self):
6936
- """任务id(有效期24小时)
6937
- :rtype: str
6938
- """
6939
- return self._JobId
6940
-
6941
- @JobId.setter
6942
- def JobId(self, JobId):
6943
- self._JobId = JobId
6944
-
6945
- @property
6946
- def RequestId(self):
6947
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6948
- :rtype: str
6949
- """
6950
- return self._RequestId
6951
-
6952
- @RequestId.setter
6953
- def RequestId(self, RequestId):
6954
- self._RequestId = RequestId
6955
-
6956
-
6957
- def _deserialize(self, params):
6958
- self._JobId = params.get("JobId")
6959
- self._RequestId = params.get("RequestId")
6960
-
6961
-
6962
6605
  class TextToImageLiteRequest(AbstractModel):
6963
6606
  """TextToImageLite请求参数结构体
6964
6607
 
@@ -693,7 +693,7 @@ class CreateKeyRequest(AbstractModel):
693
693
  :type Alias: str
694
694
  :param _Description: CMK 的描述,最大1024字节
695
695
  :type Description: str
696
- :param _KeyUsage: 指定key的用途,默认为 "ENCRYPT_DECRYPT" 表示创建对称加解密密钥,其它支持用途 “ASYMMETRIC_DECRYPT_RSA_2048” 表示创建用于加解密的RSA2048非对称密钥,“ASYMMETRIC_DECRYPT_SM2” 表示创建用于加解密的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_SM2” 表示创建用于签名验签的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECC” 表示创建用于签名验签的ECC非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_2048” 表示创建用于签名验签的RSA_2048非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECDSA384”表示创建用于签名验签的 ECDSA384 非对称秘钥。完整的秘钥用途与算法支持列表可通过 ListAlgorithms 接口获取。
696
+ :param _KeyUsage: 指定key的用途,默认为 "ENCRYPT_DECRYPT" 表示创建对称加解密密钥,其它支持用途 “ASYMMETRIC_DECRYPT_RSA_2048” 表示创建用于加解密的RSA2048非对称密钥,“ASYMMETRIC_DECRYPT_SM2” 表示创建用于加解密的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_SM2” 表示创建用于签名验签的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECC” 表示创建用于签名验签的ECC非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_2048” 表示创建用于签名验签的RSA_2048非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECDSA384”表示创建用于签名验签的 ECDSA384 非对称密钥。完整的密钥用途与算法支持列表可通过 ListAlgorithms 接口获取。
697
697
  :type KeyUsage: str
698
698
  :param _Type: 指定key类型,默认为1,1表示默认类型,由KMS创建CMK密钥,2 表示EXTERNAL 类型,该类型需要用户导入密钥材料,参考 GetParametersForImport 和 ImportKeyMaterial 接口
699
699
  :type Type: int
@@ -733,7 +733,7 @@ class CreateKeyRequest(AbstractModel):
733
733
 
734
734
  @property
735
735
  def KeyUsage(self):
736
- """指定key的用途,默认为 "ENCRYPT_DECRYPT" 表示创建对称加解密密钥,其它支持用途 “ASYMMETRIC_DECRYPT_RSA_2048” 表示创建用于加解密的RSA2048非对称密钥,“ASYMMETRIC_DECRYPT_SM2” 表示创建用于加解密的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_SM2” 表示创建用于签名验签的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECC” 表示创建用于签名验签的ECC非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_2048” 表示创建用于签名验签的RSA_2048非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECDSA384”表示创建用于签名验签的 ECDSA384 非对称秘钥。完整的秘钥用途与算法支持列表可通过 ListAlgorithms 接口获取。
736
+ """指定key的用途,默认为 "ENCRYPT_DECRYPT" 表示创建对称加解密密钥,其它支持用途 “ASYMMETRIC_DECRYPT_RSA_2048” 表示创建用于加解密的RSA2048非对称密钥,“ASYMMETRIC_DECRYPT_SM2” 表示创建用于加解密的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_SM2” 表示创建用于签名验签的SM2非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECC” 表示创建用于签名验签的ECC非对称密钥,“ASYMMETRIC_SIGN_VERIFY_RSA_2048” 表示创建用于签名验签的RSA_2048非对称密钥,“ASYMMETRIC_SIGN_VERIFY_ECDSA384”表示创建用于签名验签的 ECDSA384 非对称密钥。完整的密钥用途与算法支持列表可通过 ListAlgorithms 接口获取。
737
737
  :rtype: str
738
738
  """
739
739
  return self._KeyUsage
@@ -9832,7 +9832,7 @@ origin: 保持原始编码格式
9832
9832
  :type Fps: int
9833
9833
  :param _Gop: 关键帧间隔,单位:秒。
9834
9834
  默认原始的间隔
9835
- 范围2-6
9835
+ 范围1-6
9836
9836
  :type Gop: int
9837
9837
  :param _Rotate: 旋转角度,默认0。
9838
9838
  可取值:0,90,180,270
@@ -10039,7 +10039,7 @@ origin: 保持原始编码格式
10039
10039
  def Gop(self):
10040
10040
  """关键帧间隔,单位:秒。
10041
10041
  默认原始的间隔
10042
- 范围2-6
10042
+ 范围1-6
10043
10043
  :rtype: int
10044
10044
  """
10045
10045
  return self._Gop
@@ -26,6 +26,29 @@ class LowcodeClient(AbstractClient):
26
26
  _service = 'lowcode'
27
27
 
28
28
 
29
+ def CheckDeployApp(self, request):
30
+ """检查应用发布状态
31
+
32
+ :param request: Request instance for CheckDeployApp.
33
+ :type request: :class:`tencentcloud.lowcode.v20210108.models.CheckDeployAppRequest`
34
+ :rtype: :class:`tencentcloud.lowcode.v20210108.models.CheckDeployAppResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("CheckDeployApp", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.CheckDeployAppResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
29
52
  def CreateKnowledgeSet(self, request):
30
53
  """创建知识库
31
54
 
@@ -49,6 +72,29 @@ class LowcodeClient(AbstractClient):
49
72
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
73
 
51
74
 
75
+ def DeleteAppBindWxApp(self, request):
76
+ """删除应用绑定小程序
77
+
78
+ :param request: Request instance for DeleteAppBindWxApp.
79
+ :type request: :class:`tencentcloud.lowcode.v20210108.models.DeleteAppBindWxAppRequest`
80
+ :rtype: :class:`tencentcloud.lowcode.v20210108.models.DeleteAppBindWxAppResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("DeleteAppBindWxApp", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.DeleteAppBindWxAppResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
91
+ except Exception as e:
92
+ if isinstance(e, TencentCloudSDKException):
93
+ raise
94
+ else:
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
96
+
97
+
52
98
  def DeleteKnowledgeDocumentSet(self, request):
53
99
  """删除知识库下文档
54
100
 
@@ -95,6 +141,29 @@ class LowcodeClient(AbstractClient):
95
141
  raise TencentCloudSDKException(type(e).__name__, str(e))
96
142
 
97
143
 
144
+ def DeployApp(self, request):
145
+ """发布应用
146
+
147
+ :param request: Request instance for DeployApp.
148
+ :type request: :class:`tencentcloud.lowcode.v20210108.models.DeployAppRequest`
149
+ :rtype: :class:`tencentcloud.lowcode.v20210108.models.DeployAppResponse`
150
+
151
+ """
152
+ try:
153
+ params = request._serialize()
154
+ headers = request.headers
155
+ body = self.call("DeployApp", params, headers=headers)
156
+ response = json.loads(body)
157
+ model = models.DeployAppResponse()
158
+ model._deserialize(response["Response"])
159
+ return model
160
+ except Exception as e:
161
+ if isinstance(e, TencentCloudSDKException):
162
+ raise
163
+ else:
164
+ raise TencentCloudSDKException(type(e).__name__, str(e))
165
+
166
+
98
167
  def DescribeDataSourceList(self, request):
99
168
  """获取数据源详情列表
100
169
 
@@ -187,6 +256,29 @@ class LowcodeClient(AbstractClient):
187
256
  raise TencentCloudSDKException(type(e).__name__, str(e))
188
257
 
189
258
 
259
+ def PutWxAppIdToWeApp(self, request):
260
+ """接口提供应用绑定微信ID功能。
261
+
262
+ :param request: Request instance for PutWxAppIdToWeApp.
263
+ :type request: :class:`tencentcloud.lowcode.v20210108.models.PutWxAppIdToWeAppRequest`
264
+ :rtype: :class:`tencentcloud.lowcode.v20210108.models.PutWxAppIdToWeAppResponse`
265
+
266
+ """
267
+ try:
268
+ params = request._serialize()
269
+ headers = request.headers
270
+ body = self.call("PutWxAppIdToWeApp", params, headers=headers)
271
+ response = json.loads(body)
272
+ model = models.PutWxAppIdToWeAppResponse()
273
+ model._deserialize(response["Response"])
274
+ return model
275
+ except Exception as e:
276
+ if isinstance(e, TencentCloudSDKException):
277
+ raise
278
+ else:
279
+ raise TencentCloudSDKException(type(e).__name__, str(e))
280
+
281
+
190
282
  def SearchDocList(self, request):
191
283
  """知识库文档搜索接口
192
284