tencentcloud-sdk-python 3.0.1298__py2.py3-none-any.whl → 3.0.1300__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/aca/v20210323/models.py +2 -2
- tencentcloud/aiart/v20221229/aiart_client.py +55 -0
- tencentcloud/aiart/v20221229/models.py +367 -0
- tencentcloud/autoscaling/v20180419/models.py +21 -0
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +4 -4
- tencentcloud/cdb/v20170320/models.py +27 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/clb/v20180317/models.py +68 -0
- tencentcloud/cloudapp/v20220530/errorcodes.py +3 -0
- tencentcloud/cloudapp/v20220530/models.py +66 -17
- tencentcloud/cls/v20201016/models.py +22 -0
- tencentcloud/cmq/v20190304/cmq_client.py +0 -365
- tencentcloud/cmq/v20190304/models.py +324 -2473
- tencentcloud/config/v20220802/config_client.py +46 -0
- tencentcloud/config/v20220802/errorcodes.py +3 -0
- tencentcloud/config/v20220802/models.py +716 -26
- tencentcloud/csxg/v20230303/errorcodes.py +48 -0
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +113 -0
- tencentcloud/dc/v20180410/models.py +50 -121
- tencentcloud/drm/v20181115/models.py +17 -0
- tencentcloud/dts/v20211206/models.py +68 -2
- tencentcloud/ecm/v20190719/models.py +0 -18
- tencentcloud/emr/v20190103/models.py +136 -340
- tencentcloud/ess/v20201111/ess_client.py +25 -4
- tencentcloud/ess/v20201111/models.py +44 -46
- tencentcloud/essbasic/v20210526/models.py +42 -18
- tencentcloud/gaap/v20180529/gaap_client.py +9 -3
- tencentcloud/gwlb/v20240906/models.py +2 -2
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +46 -0
- tencentcloud/hai/v20230812/models.py +435 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +1012 -36
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +23 -0
- tencentcloud/iotvideo/v20211125/models.py +135 -0
- tencentcloud/keewidb/v20220308/models.py +1 -1
- tencentcloud/lcic/v20220817/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +3 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +54 -16
- tencentcloud/mna/v20210119/models.py +0 -20
- tencentcloud/mongodb/v20180408/models.py +2 -44
- tencentcloud/mongodb/v20190725/models.py +2 -22
- tencentcloud/ocr/v20181119/models.py +14 -14
- tencentcloud/postgres/v20170312/models.py +233 -0
- tencentcloud/postgres/v20170312/postgres_client.py +46 -0
- tencentcloud/redis/v20180412/models.py +12 -8
- tencentcloud/redis/v20180412/redis_client.py +8 -8
- tencentcloud/scf/v20180416/models.py +44 -4
- tencentcloud/sms/v20190711/errorcodes.py +6 -0
- tencentcloud/sms/v20190711/models.py +81 -0
- tencentcloud/sms/v20210111/errorcodes.py +6 -0
- tencentcloud/sms/v20210111/models.py +81 -0
- tencentcloud/ssl/v20191205/models.py +64 -8
- tencentcloud/ssl/v20191205/ssl_client.py +8 -1
- tencentcloud/tcb/v20180608/models.py +207 -403
- tencentcloud/tcb/v20180608/tcb_client.py +1 -1
- tencentcloud/tione/v20211111/models.py +34 -0
- tencentcloud/trro/v20220325/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +0 -8
- tencentcloud/tse/v20201207/models.py +30 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +17 -18
- tencentcloud/wedata/v20210820/models.py +126 -0
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/RECORD +73 -73
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1300.dist-info}/top_level.txt +0 -0
@@ -4194,7 +4194,6 @@ class ChannelCreateFlowApproversResponse(AbstractModel):
|
|
4194
4194
|
r"""
|
4195
4195
|
:param _FillError: 批量补充签署人时,补充失败的报错说明
|
4196
4196
|
注:`目前仅补充动态签署人时会返回补充失败的原因`
|
4197
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4198
4197
|
:type FillError: list of FillError
|
4199
4198
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4200
4199
|
:type RequestId: str
|
@@ -4206,7 +4205,6 @@ class ChannelCreateFlowApproversResponse(AbstractModel):
|
|
4206
4205
|
def FillError(self):
|
4207
4206
|
"""批量补充签署人时,补充失败的报错说明
|
4208
4207
|
注:`目前仅补充动态签署人时会返回补充失败的原因`
|
4209
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4210
4208
|
:rtype: list of FillError
|
4211
4209
|
"""
|
4212
4210
|
return self._FillError
|
@@ -4354,6 +4352,8 @@ MobileCheck:手机号验证,用户手机号和参与方手机号(ApproverM
|
|
4354
4352
|
<li> **true** :开启动态合同(动态签署人2.0),发起后可继续追加合同签署人</li></ul>
|
4355
4353
|
|
4356
4354
|
:type OpenDynamicFlow: bool
|
4355
|
+
:param _OpenDynamicSignFlow: 是否开启动态合同(动态签署人2.0)<ul><li> **false** :(默认) 不开启动态合同(动态签署人2.0)</li><li> **true** :开启动态合同(动态签署人2.0),发起后可继续追加合同签署人</li></ul>
|
4356
|
+
:type OpenDynamicSignFlow: bool
|
4357
4357
|
"""
|
4358
4358
|
self._Agent = None
|
4359
4359
|
self._FlowName = None
|
@@ -4378,6 +4378,7 @@ MobileCheck:手机号验证,用户手机号和参与方手机号(ApproverM
|
|
4378
4378
|
self._NeedPreview = None
|
4379
4379
|
self._PreviewType = None
|
4380
4380
|
self._OpenDynamicFlow = None
|
4381
|
+
self._OpenDynamicSignFlow = None
|
4381
4382
|
|
4382
4383
|
@property
|
4383
4384
|
def Agent(self):
|
@@ -4692,6 +4693,8 @@ MobileCheck:手机号验证,用户手机号和参与方手机号(ApproverM
|
|
4692
4693
|
|
4693
4694
|
@property
|
4694
4695
|
def OpenDynamicFlow(self):
|
4696
|
+
warnings.warn("parameter `OpenDynamicFlow` is deprecated", DeprecationWarning)
|
4697
|
+
|
4695
4698
|
"""是否开启动态合同(动态签署人2.0)
|
4696
4699
|
<ul><li> **false** :(默认) 不开启动态合同(动态签署人2.0)</li>
|
4697
4700
|
<li> **true** :开启动态合同(动态签署人2.0),发起后可继续追加合同签署人</li></ul>
|
@@ -4702,8 +4705,21 @@ MobileCheck:手机号验证,用户手机号和参与方手机号(ApproverM
|
|
4702
4705
|
|
4703
4706
|
@OpenDynamicFlow.setter
|
4704
4707
|
def OpenDynamicFlow(self, OpenDynamicFlow):
|
4708
|
+
warnings.warn("parameter `OpenDynamicFlow` is deprecated", DeprecationWarning)
|
4709
|
+
|
4705
4710
|
self._OpenDynamicFlow = OpenDynamicFlow
|
4706
4711
|
|
4712
|
+
@property
|
4713
|
+
def OpenDynamicSignFlow(self):
|
4714
|
+
"""是否开启动态合同(动态签署人2.0)<ul><li> **false** :(默认) 不开启动态合同(动态签署人2.0)</li><li> **true** :开启动态合同(动态签署人2.0),发起后可继续追加合同签署人</li></ul>
|
4715
|
+
:rtype: bool
|
4716
|
+
"""
|
4717
|
+
return self._OpenDynamicSignFlow
|
4718
|
+
|
4719
|
+
@OpenDynamicSignFlow.setter
|
4720
|
+
def OpenDynamicSignFlow(self, OpenDynamicSignFlow):
|
4721
|
+
self._OpenDynamicSignFlow = OpenDynamicSignFlow
|
4722
|
+
|
4707
4723
|
|
4708
4724
|
def _deserialize(self, params):
|
4709
4725
|
if params.get("Agent") is not None:
|
@@ -4748,6 +4764,7 @@ MobileCheck:手机号验证,用户手机号和参与方手机号(ApproverM
|
|
4748
4764
|
self._NeedPreview = params.get("NeedPreview")
|
4749
4765
|
self._PreviewType = params.get("PreviewType")
|
4750
4766
|
self._OpenDynamicFlow = params.get("OpenDynamicFlow")
|
4767
|
+
self._OpenDynamicSignFlow = params.get("OpenDynamicSignFlow")
|
4751
4768
|
memeber_set = set(params.keys())
|
4752
4769
|
for name, value in vars(self).items():
|
4753
4770
|
property_name = name[1:]
|
@@ -4769,10 +4786,8 @@ class ChannelCreateFlowByFilesResponse(AbstractModel):
|
|
4769
4786
|
建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
|
4770
4787
|
|
4771
4788
|
[点击查看FlowId在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)
|
4772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4773
4789
|
:type FlowId: str
|
4774
4790
|
:param _Approvers: 签署方信息,如角色ID、角色名称等
|
4775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4776
4791
|
:type Approvers: list of ApproverItem
|
4777
4792
|
:param _PreviewUrl: 预览链接,有效期5分钟
|
4778
4793
|
注:如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL
|
@@ -4791,7 +4806,6 @@ class ChannelCreateFlowByFilesResponse(AbstractModel):
|
|
4791
4806
|
建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
|
4792
4807
|
|
4793
4808
|
[点击查看FlowId在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)
|
4794
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4795
4809
|
:rtype: str
|
4796
4810
|
"""
|
4797
4811
|
return self._FlowId
|
@@ -4803,7 +4817,6 @@ class ChannelCreateFlowByFilesResponse(AbstractModel):
|
|
4803
4817
|
@property
|
4804
4818
|
def Approvers(self):
|
4805
4819
|
"""签署方信息,如角色ID、角色名称等
|
4806
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4807
4820
|
:rtype: list of ApproverItem
|
4808
4821
|
"""
|
4809
4822
|
return self._Approvers
|
@@ -5009,13 +5022,11 @@ class ChannelCreateFlowGroupByFilesResponse(AbstractModel):
|
|
5009
5022
|
r"""
|
5010
5023
|
:param _FlowGroupId: 合同组ID,为32位字符串。
|
5011
5024
|
建议开发者妥善保存此合同组ID,以便于顺利进行后续操作。
|
5012
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5013
5025
|
:type FlowGroupId: str
|
5014
5026
|
:param _FlowIds: 合同组中每个合同流程ID,每个ID均为32位字符串。
|
5015
5027
|
|
5016
5028
|
注:
|
5017
5029
|
`此数组的顺序和入参中的FlowGroupInfos顺序一致`
|
5018
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5019
5030
|
:type FlowIds: list of str
|
5020
5031
|
:param _Approvers: 合同组签署方信息。
|
5021
5032
|
:type Approvers: list of FlowGroupApprovers
|
@@ -5031,7 +5042,6 @@ class ChannelCreateFlowGroupByFilesResponse(AbstractModel):
|
|
5031
5042
|
def FlowGroupId(self):
|
5032
5043
|
"""合同组ID,为32位字符串。
|
5033
5044
|
建议开发者妥善保存此合同组ID,以便于顺利进行后续操作。
|
5034
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5035
5045
|
:rtype: str
|
5036
5046
|
"""
|
5037
5047
|
return self._FlowGroupId
|
@@ -5046,7 +5056,6 @@ class ChannelCreateFlowGroupByFilesResponse(AbstractModel):
|
|
5046
5056
|
|
5047
5057
|
注:
|
5048
5058
|
`此数组的顺序和入参中的FlowGroupInfos顺序一致`
|
5049
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5050
5059
|
:rtype: list of str
|
5051
5060
|
"""
|
5052
5061
|
return self._FlowIds
|
@@ -7636,9 +7645,7 @@ class ChannelCreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
7636
7645
|
<ul><li> 不传(即为空值) 则会生成小程序端开通链接(默认)</li>
|
7637
7646
|
<li> **H5SIGN** : 生成H5端开通链接</li></ul>
|
7638
7647
|
:type UrlType: str
|
7639
|
-
:param _NotifyType:
|
7640
|
-
<ul><li>默认不设置为不通知开通方</li>
|
7641
|
-
<li>**SMS** : 短信通知 ,如果需要短信通知则NotifyAddress填写对方的手机号</li></ul>
|
7648
|
+
:param _NotifyType: 是否通知开通方,通知类型:<ul><li>默认为不通知开通方</li><li>**SMS** : 短信通知 ,如果需要短信通知则NotifyAddress填写对方的手机号</li></ul>
|
7642
7649
|
:type NotifyType: str
|
7643
7650
|
:param _NotifyAddress: 如果通知类型NotifyType选择为SMS,则此处为手机号, 其他通知类型不需要设置此项
|
7644
7651
|
:type NotifyAddress: str
|
@@ -7718,9 +7725,7 @@ class ChannelCreateUserAutoSignEnableUrlRequest(AbstractModel):
|
|
7718
7725
|
|
7719
7726
|
@property
|
7720
7727
|
def NotifyType(self):
|
7721
|
-
"""
|
7722
|
-
<ul><li>默认不设置为不通知开通方</li>
|
7723
|
-
<li>**SMS** : 短信通知 ,如果需要短信通知则NotifyAddress填写对方的手机号</li></ul>
|
7728
|
+
"""是否通知开通方,通知类型:<ul><li>默认为不通知开通方</li><li>**SMS** : 短信通知 ,如果需要短信通知则NotifyAddress填写对方的手机号</li></ul>
|
7724
7729
|
:rtype: str
|
7725
7730
|
"""
|
7726
7731
|
return self._NotifyType
|
@@ -10933,7 +10938,7 @@ class ChannelOrganizationInfo(AbstractModel):
|
|
10933
10938
|
<li>**1**: 已激活</li>
|
10934
10939
|
</ul>
|
10935
10940
|
:type ActiveStatus: int
|
10936
|
-
:param _LicenseExpireTime:
|
10941
|
+
:param _LicenseExpireTime: 账号到期时间,时间戳
|
10937
10942
|
:type LicenseExpireTime: int
|
10938
10943
|
"""
|
10939
10944
|
self._OrganizationId = None
|
@@ -11103,7 +11108,7 @@ class ChannelOrganizationInfo(AbstractModel):
|
|
11103
11108
|
|
11104
11109
|
@property
|
11105
11110
|
def LicenseExpireTime(self):
|
11106
|
-
"""
|
11111
|
+
"""账号到期时间,时间戳
|
11107
11112
|
:rtype: int
|
11108
11113
|
"""
|
11109
11114
|
return self._LicenseExpireTime
|
@@ -20514,6 +20519,8 @@ class FlowApproverDetail(AbstractModel):
|
|
20514
20519
|
:param _SignId: 签署参与人在本流程中的编号ID(每个流程不同),可用此ID来定位签署参与人在本流程的签署节点。
|
20515
20520
|
注意:此字段可能返回 null,表示取不到有效值。
|
20516
20521
|
:type SignId: str
|
20522
|
+
:param _RecipientId: 模板配置时候的签署人角色ID(用PDF文件发起也可以指定,如果不指定则自动生成此角色ID), 所有的填写控件和签署控件都归属不同的角色
|
20523
|
+
:type RecipientId: str
|
20517
20524
|
"""
|
20518
20525
|
self._ReceiptId = None
|
20519
20526
|
self._ProxyOrganizationOpenId = None
|
@@ -20528,9 +20535,12 @@ class FlowApproverDetail(AbstractModel):
|
|
20528
20535
|
self._ApproveType = None
|
20529
20536
|
self._ApproverRoleName = None
|
20530
20537
|
self._SignId = None
|
20538
|
+
self._RecipientId = None
|
20531
20539
|
|
20532
20540
|
@property
|
20533
20541
|
def ReceiptId(self):
|
20542
|
+
warnings.warn("parameter `ReceiptId` is deprecated", DeprecationWarning)
|
20543
|
+
|
20534
20544
|
"""模板配置时候的签署人角色ID(用PDF文件发起也可以指定,如果不指定则自动生成此角色ID), 所有的填写控件和签署控件都归属不同的角色
|
20535
20545
|
:rtype: str
|
20536
20546
|
"""
|
@@ -20538,6 +20548,8 @@ class FlowApproverDetail(AbstractModel):
|
|
20538
20548
|
|
20539
20549
|
@ReceiptId.setter
|
20540
20550
|
def ReceiptId(self, ReceiptId):
|
20551
|
+
warnings.warn("parameter `ReceiptId` is deprecated", DeprecationWarning)
|
20552
|
+
|
20541
20553
|
self._ReceiptId = ReceiptId
|
20542
20554
|
|
20543
20555
|
@property
|
@@ -20694,6 +20706,17 @@ class FlowApproverDetail(AbstractModel):
|
|
20694
20706
|
def SignId(self, SignId):
|
20695
20707
|
self._SignId = SignId
|
20696
20708
|
|
20709
|
+
@property
|
20710
|
+
def RecipientId(self):
|
20711
|
+
"""模板配置时候的签署人角色ID(用PDF文件发起也可以指定,如果不指定则自动生成此角色ID), 所有的填写控件和签署控件都归属不同的角色
|
20712
|
+
:rtype: str
|
20713
|
+
"""
|
20714
|
+
return self._RecipientId
|
20715
|
+
|
20716
|
+
@RecipientId.setter
|
20717
|
+
def RecipientId(self, RecipientId):
|
20718
|
+
self._RecipientId = RecipientId
|
20719
|
+
|
20697
20720
|
|
20698
20721
|
def _deserialize(self, params):
|
20699
20722
|
self._ReceiptId = params.get("ReceiptId")
|
@@ -20709,6 +20732,7 @@ class FlowApproverDetail(AbstractModel):
|
|
20709
20732
|
self._ApproveType = params.get("ApproveType")
|
20710
20733
|
self._ApproverRoleName = params.get("ApproverRoleName")
|
20711
20734
|
self._SignId = params.get("SignId")
|
20735
|
+
self._RecipientId = params.get("RecipientId")
|
20712
20736
|
memeber_set = set(params.keys())
|
20713
20737
|
for name, value in vars(self).items():
|
20714
20738
|
property_name = name[1:]
|
@@ -305,7 +305,9 @@ class GaapClient(AbstractClient):
|
|
305
305
|
|
306
306
|
|
307
307
|
def CreateFirstLinkSession(self, request):
|
308
|
-
"""
|
308
|
+
"""产品功能已下线,对应的api接口下线
|
309
|
+
|
310
|
+
本接口(CreateFirstLinkSession)用于创建接入段加速会话,创建有可能成功,也可能失败,需要通过返回码来进行判断。
|
309
311
|
|
310
312
|
:param request: Request instance for CreateFirstLinkSession.
|
311
313
|
:type request: :class:`tencentcloud.gaap.v20180529.models.CreateFirstLinkSessionRequest`
|
@@ -673,7 +675,9 @@ class GaapClient(AbstractClient):
|
|
673
675
|
|
674
676
|
|
675
677
|
def DeleteFirstLinkSession(self, request):
|
676
|
-
"""
|
678
|
+
"""产品功能已下线,下线对应的api接口
|
679
|
+
|
680
|
+
本接口(DeleteFirstLinkSession)用于删除接入段加速会话,删除加速会话后会停止加速。
|
677
681
|
|
678
682
|
:param request: Request instance for DeleteFirstLinkSession.
|
679
683
|
:type request: :class:`tencentcloud.gaap.v20180529.models.DeleteFirstLinkSessionRequest`
|
@@ -1133,7 +1137,9 @@ class GaapClient(AbstractClient):
|
|
1133
1137
|
|
1134
1138
|
|
1135
1139
|
def DescribeFirstLinkSession(self, request):
|
1136
|
-
"""
|
1140
|
+
"""产品功能已下线,下线对应的api接口
|
1141
|
+
|
1142
|
+
本接口(DescribeFirstLinkSession)用于查询接入段加速会话状态,包括会话状态,生效时长,加速套餐等信息。
|
1137
1143
|
|
1138
1144
|
:param request: Request instance for DescribeFirstLinkSession.
|
1139
1145
|
:type request: :class:`tencentcloud.gaap.v20180529.models.DescribeFirstLinkSessionRequest`
|
@@ -2653,7 +2653,7 @@ class TargetGroupBackend(AbstractModel):
|
|
2653
2653
|
r"""
|
2654
2654
|
:param _TargetGroupId: 目标组ID
|
2655
2655
|
:type TargetGroupId: str
|
2656
|
-
:param _Type: 后端服务的类型,可取:CVM、ENI
|
2656
|
+
:param _Type: 后端服务的类型,可取:CVM、ENI
|
2657
2657
|
:type Type: str
|
2658
2658
|
:param _InstanceId: 后端服务的唯一 ID
|
2659
2659
|
:type InstanceId: str
|
@@ -2705,7 +2705,7 @@ class TargetGroupBackend(AbstractModel):
|
|
2705
2705
|
|
2706
2706
|
@property
|
2707
2707
|
def Type(self):
|
2708
|
-
"""后端服务的类型,可取:CVM、ENI
|
2708
|
+
"""后端服务的类型,可取:CVM、ENI
|
2709
2709
|
:rtype: str
|
2710
2710
|
"""
|
2711
2711
|
return self._Type
|
@@ -14,6 +14,9 @@
|
|
14
14
|
# limitations under the License.
|
15
15
|
|
16
16
|
|
17
|
+
# 操作失败。
|
18
|
+
FAILEDOPERATION = 'FailedOperation'
|
19
|
+
|
17
20
|
# 欠费账户不能创建实例
|
18
21
|
FAILEDOPERATION_ARREARSACCOUNTCANNOTRUNINSTANCES = 'FailedOperation.ArrearsAccountCannotRunInstances'
|
19
22
|
|
@@ -26,6 +29,9 @@ FAILEDOPERATION_OPERATEINSTANCEREPEATEDLY = 'FailedOperation.OperateInstanceRepe
|
|
26
29
|
# 内部错误。
|
27
30
|
INTERNALERROR = 'InternalError'
|
28
31
|
|
32
|
+
# 参数错误。
|
33
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
34
|
+
|
29
35
|
# 两个指定的入参每次只能使用其中一个
|
30
36
|
INVALIDPARAMETER_ATMOSTONE = 'InvalidParameter.AtMostOne'
|
31
37
|
|
@@ -26,6 +26,29 @@ class HaiClient(AbstractClient):
|
|
26
26
|
_service = 'hai'
|
27
27
|
|
28
28
|
|
29
|
+
def CreateMuskPrompt(self, request):
|
30
|
+
"""创建musk prompt 任务
|
31
|
+
|
32
|
+
:param request: Request instance for CreateMuskPrompt.
|
33
|
+
:type request: :class:`tencentcloud.hai.v20230812.models.CreateMuskPromptRequest`
|
34
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.CreateMuskPromptResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("CreateMuskPrompt", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.CreateMuskPromptResponse()
|
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 DescribeApplications(self, request):
|
30
53
|
"""查询应用
|
31
54
|
|
@@ -95,6 +118,29 @@ class HaiClient(AbstractClient):
|
|
95
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
96
119
|
|
97
120
|
|
121
|
+
def DescribeMuskPrompts(self, request):
|
122
|
+
"""获取prompt任务列表
|
123
|
+
|
124
|
+
:param request: Request instance for DescribeMuskPrompts.
|
125
|
+
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeMuskPromptsRequest`
|
126
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.DescribeMuskPromptsResponse`
|
127
|
+
|
128
|
+
"""
|
129
|
+
try:
|
130
|
+
params = request._serialize()
|
131
|
+
headers = request.headers
|
132
|
+
body = self.call("DescribeMuskPrompts", params, headers=headers)
|
133
|
+
response = json.loads(body)
|
134
|
+
model = models.DescribeMuskPromptsResponse()
|
135
|
+
model._deserialize(response["Response"])
|
136
|
+
return model
|
137
|
+
except Exception as e:
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
139
|
+
raise
|
140
|
+
else:
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
|
+
|
143
|
+
|
98
144
|
def DescribeRegions(self, request):
|
99
145
|
"""查询地域列表
|
100
146
|
|