tencentcloud-sdk-python 3.0.1297__py2.py3-none-any.whl → 3.0.1299__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/autoscaling/v20180419/models.py +21 -0
- tencentcloud/bh/v20230418/models.py +4 -4
- tencentcloud/billing/v20180709/models.py +90 -0
- tencentcloud/cam/v20190116/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +121 -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 +24 -2
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +113 -0
- tencentcloud/dbbrain/v20210527/models.py +17 -2
- tencentcloud/dc/v20180410/models.py +50 -121
- tencentcloud/drm/v20181115/models.py +17 -0
- tencentcloud/dts/v20211206/models.py +68 -2
- tencentcloud/emr/v20190103/models.py +136 -340
- tencentcloud/ess/v20201111/models.py +96 -156
- tencentcloud/essbasic/v20210526/models.py +44 -108
- 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 +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/hunyuan/v20230901/models.py +7 -7
- tencentcloud/keewidb/v20220308/models.py +1 -1
- tencentcloud/lcic/v20220817/models.py +12 -6
- tencentcloud/lkeap/v20240522/lkeap_client.py +24 -0
- tencentcloud/lkeap/v20240522/models.py +167 -0
- tencentcloud/mongodb/v20180408/errorcodes.py +3 -0
- tencentcloud/mongodb/v20180408/models.py +36 -20
- tencentcloud/mongodb/v20180408/mongodb_client.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +45 -112
- tencentcloud/ocr/v20181119/models.py +14 -14
- tencentcloud/ocr/v20181119/ocr_client.py +3 -3
- tencentcloud/postgres/v20170312/models.py +233 -0
- tencentcloud/postgres/v20170312/postgres_client.py +46 -0
- tencentcloud/redis/v20180412/models.py +6 -6
- tencentcloud/redis/v20180412/redis_client.py +8 -8
- tencentcloud/scf/v20180416/models.py +44 -4
- tencentcloud/ssl/v20191205/models.py +66 -10
- tencentcloud/ssl/v20191205/ssl_client.py +8 -1
- tencentcloud/tcb/v20180608/models.py +219 -345
- tencentcloud/tcb/v20180608/tcb_client.py +1 -1
- tencentcloud/tcbr/v20220217/models.py +51 -6
- tencentcloud/tdmq/v20200217/models.py +205 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/tione/v20211111/models.py +34 -0
- tencentcloud/trtc/v20190722/models.py +4 -16
- tencentcloud/vpc/v20170312/models.py +63 -29
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/RECORD +57 -57
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -4472,7 +4472,7 @@ class SmartDrugInfoResp(AbstractModel):
|
|
4472
4472
|
:type DrugRoute: str
|
4473
4473
|
:param _DrugBasicCode: 药品本位码
|
4474
4474
|
:type DrugBasicCode: str
|
4475
|
-
:param _OctTag:
|
4475
|
+
:param _OctTag: OTC标签
|
4476
4476
|
:type OctTag: str
|
4477
4477
|
"""
|
4478
4478
|
self._DrugId = None
|
@@ -5019,7 +5019,7 @@ class SmartDrugInfoResp(AbstractModel):
|
|
5019
5019
|
|
5020
5020
|
@property
|
5021
5021
|
def OctTag(self):
|
5022
|
-
"""
|
5022
|
+
"""OTC标签
|
5023
5023
|
:rtype: str
|
5024
5024
|
"""
|
5025
5025
|
return self._OctTag
|
@@ -12275,10 +12275,16 @@ class RollingUpdateSettings(AbstractModel):
|
|
12275
12275
|
:param _MaxSurge: 最大额外数量。设置该参数后,在滚动更新开始前根据启动配置创建一批按量计费的额外实例,滚动更新完成后销毁额外实例。
|
12276
12276
|
该参数用于保证滚动更新过程中可用实例的数量,最大额外数量不能超过滚动更新单个批次的刷新实例数。回滚流程暂不支持该参数。
|
12277
12277
|
:type MaxSurge: int
|
12278
|
+
:param _FailProcess: 失败处理策略。默认值为 AUTO_PAUSE,取值范围如下:
|
12279
|
+
<li>AUTO_PAUSE:刷新失败后暂停</li>
|
12280
|
+
<li>AUTO_ROLLBACK:刷新失败后回滚。回滚时每批次回滚一台实例,CheckInstanceTargetHealth 参数值与原刷新活动一致。MaxSurge参数引入的扩缩容流程失败无需回滚,会用取消动作代替回滚</li>
|
12281
|
+
<li>AUTO_CANCEL:刷新失败后取消</li>
|
12282
|
+
:type FailProcess: str
|
12278
12283
|
"""
|
12279
12284
|
self._BatchNumber = None
|
12280
12285
|
self._BatchPause = None
|
12281
12286
|
self._MaxSurge = None
|
12287
|
+
self._FailProcess = None
|
12282
12288
|
|
12283
12289
|
@property
|
12284
12290
|
def BatchNumber(self):
|
@@ -12317,11 +12323,26 @@ class RollingUpdateSettings(AbstractModel):
|
|
12317
12323
|
def MaxSurge(self, MaxSurge):
|
12318
12324
|
self._MaxSurge = MaxSurge
|
12319
12325
|
|
12326
|
+
@property
|
12327
|
+
def FailProcess(self):
|
12328
|
+
"""失败处理策略。默认值为 AUTO_PAUSE,取值范围如下:
|
12329
|
+
<li>AUTO_PAUSE:刷新失败后暂停</li>
|
12330
|
+
<li>AUTO_ROLLBACK:刷新失败后回滚。回滚时每批次回滚一台实例,CheckInstanceTargetHealth 参数值与原刷新活动一致。MaxSurge参数引入的扩缩容流程失败无需回滚,会用取消动作代替回滚</li>
|
12331
|
+
<li>AUTO_CANCEL:刷新失败后取消</li>
|
12332
|
+
:rtype: str
|
12333
|
+
"""
|
12334
|
+
return self._FailProcess
|
12335
|
+
|
12336
|
+
@FailProcess.setter
|
12337
|
+
def FailProcess(self, FailProcess):
|
12338
|
+
self._FailProcess = FailProcess
|
12339
|
+
|
12320
12340
|
|
12321
12341
|
def _deserialize(self, params):
|
12322
12342
|
self._BatchNumber = params.get("BatchNumber")
|
12323
12343
|
self._BatchPause = params.get("BatchPause")
|
12324
12344
|
self._MaxSurge = params.get("MaxSurge")
|
12345
|
+
self._FailProcess = params.get("FailProcess")
|
12325
12346
|
memeber_set = set(params.keys())
|
12326
12347
|
for name, value in vars(self).items():
|
12327
12348
|
property_name = name[1:]
|
@@ -3163,9 +3163,9 @@ class CreateUserRequest(AbstractModel):
|
|
3163
3163
|
:type UserName: str
|
3164
3164
|
:param _RealName: 用户姓名,最大长度20个字符,不能包含空白字符
|
3165
3165
|
:type RealName: str
|
3166
|
-
:param _Phone:
|
3166
|
+
:param _Phone: 按照"国家地区代码|手机号"的格式输入,如: "+86|xxxxxxxx"。手机号和邮箱参数至少传一项
|
3167
3167
|
:type Phone: str
|
3168
|
-
:param _Email:
|
3168
|
+
:param _Email: 电子邮件。手机号和邮箱参数至少传一项
|
3169
3169
|
:type Email: str
|
3170
3170
|
:param _ValidateFrom: 用户生效时间,如:"2021-09-22T00:00:00+00:00"
|
3171
3171
|
生效、失效时间不填则用户长期有效
|
@@ -3217,7 +3217,7 @@ class CreateUserRequest(AbstractModel):
|
|
3217
3217
|
|
3218
3218
|
@property
|
3219
3219
|
def Phone(self):
|
3220
|
-
"""
|
3220
|
+
"""按照"国家地区代码|手机号"的格式输入,如: "+86|xxxxxxxx"。手机号和邮箱参数至少传一项
|
3221
3221
|
:rtype: str
|
3222
3222
|
"""
|
3223
3223
|
return self._Phone
|
@@ -3228,7 +3228,7 @@ class CreateUserRequest(AbstractModel):
|
|
3228
3228
|
|
3229
3229
|
@property
|
3230
3230
|
def Email(self):
|
3231
|
-
"""
|
3231
|
+
"""电子邮件。手机号和邮箱参数至少传一项
|
3232
3232
|
:rtype: str
|
3233
3233
|
"""
|
3234
3234
|
return self._Email
|
@@ -23993,6 +23993,18 @@ class DescribeVoucherInfoRequest(AbstractModel):
|
|
23993
23993
|
:type VoucherMainType: str
|
23994
23994
|
:param _VoucherSubType: 代金券副类型 discount 为折扣券 deduct 为抵扣券
|
23995
23995
|
:type VoucherSubType: str
|
23996
|
+
:param _StartTimeFrom: 券有效时间开始时间
|
23997
|
+
:type StartTimeFrom: str
|
23998
|
+
:param _StartTimeTo: 券有效时间结束时间
|
23999
|
+
:type StartTimeTo: str
|
24000
|
+
:param _EndTimeFrom: 券失效时间开始时间
|
24001
|
+
:type EndTimeFrom: str
|
24002
|
+
:param _EndTimeTo: 券失效时间结束时间
|
24003
|
+
:type EndTimeTo: str
|
24004
|
+
:param _CreateTimeFrom: 发券时间开始时间
|
24005
|
+
:type CreateTimeFrom: str
|
24006
|
+
:param _CreateTimeTo: 发券时间结束时间
|
24007
|
+
:type CreateTimeTo: str
|
23996
24008
|
"""
|
23997
24009
|
self._Limit = None
|
23998
24010
|
self._Offset = None
|
@@ -24011,6 +24023,12 @@ class DescribeVoucherInfoRequest(AbstractModel):
|
|
24011
24023
|
self._Operator = None
|
24012
24024
|
self._VoucherMainType = None
|
24013
24025
|
self._VoucherSubType = None
|
24026
|
+
self._StartTimeFrom = None
|
24027
|
+
self._StartTimeTo = None
|
24028
|
+
self._EndTimeFrom = None
|
24029
|
+
self._EndTimeTo = None
|
24030
|
+
self._CreateTimeFrom = None
|
24031
|
+
self._CreateTimeTo = None
|
24014
24032
|
|
24015
24033
|
@property
|
24016
24034
|
def Limit(self):
|
@@ -24199,6 +24217,72 @@ class DescribeVoucherInfoRequest(AbstractModel):
|
|
24199
24217
|
def VoucherSubType(self, VoucherSubType):
|
24200
24218
|
self._VoucherSubType = VoucherSubType
|
24201
24219
|
|
24220
|
+
@property
|
24221
|
+
def StartTimeFrom(self):
|
24222
|
+
"""券有效时间开始时间
|
24223
|
+
:rtype: str
|
24224
|
+
"""
|
24225
|
+
return self._StartTimeFrom
|
24226
|
+
|
24227
|
+
@StartTimeFrom.setter
|
24228
|
+
def StartTimeFrom(self, StartTimeFrom):
|
24229
|
+
self._StartTimeFrom = StartTimeFrom
|
24230
|
+
|
24231
|
+
@property
|
24232
|
+
def StartTimeTo(self):
|
24233
|
+
"""券有效时间结束时间
|
24234
|
+
:rtype: str
|
24235
|
+
"""
|
24236
|
+
return self._StartTimeTo
|
24237
|
+
|
24238
|
+
@StartTimeTo.setter
|
24239
|
+
def StartTimeTo(self, StartTimeTo):
|
24240
|
+
self._StartTimeTo = StartTimeTo
|
24241
|
+
|
24242
|
+
@property
|
24243
|
+
def EndTimeFrom(self):
|
24244
|
+
"""券失效时间开始时间
|
24245
|
+
:rtype: str
|
24246
|
+
"""
|
24247
|
+
return self._EndTimeFrom
|
24248
|
+
|
24249
|
+
@EndTimeFrom.setter
|
24250
|
+
def EndTimeFrom(self, EndTimeFrom):
|
24251
|
+
self._EndTimeFrom = EndTimeFrom
|
24252
|
+
|
24253
|
+
@property
|
24254
|
+
def EndTimeTo(self):
|
24255
|
+
"""券失效时间结束时间
|
24256
|
+
:rtype: str
|
24257
|
+
"""
|
24258
|
+
return self._EndTimeTo
|
24259
|
+
|
24260
|
+
@EndTimeTo.setter
|
24261
|
+
def EndTimeTo(self, EndTimeTo):
|
24262
|
+
self._EndTimeTo = EndTimeTo
|
24263
|
+
|
24264
|
+
@property
|
24265
|
+
def CreateTimeFrom(self):
|
24266
|
+
"""发券时间开始时间
|
24267
|
+
:rtype: str
|
24268
|
+
"""
|
24269
|
+
return self._CreateTimeFrom
|
24270
|
+
|
24271
|
+
@CreateTimeFrom.setter
|
24272
|
+
def CreateTimeFrom(self, CreateTimeFrom):
|
24273
|
+
self._CreateTimeFrom = CreateTimeFrom
|
24274
|
+
|
24275
|
+
@property
|
24276
|
+
def CreateTimeTo(self):
|
24277
|
+
"""发券时间结束时间
|
24278
|
+
:rtype: str
|
24279
|
+
"""
|
24280
|
+
return self._CreateTimeTo
|
24281
|
+
|
24282
|
+
@CreateTimeTo.setter
|
24283
|
+
def CreateTimeTo(self, CreateTimeTo):
|
24284
|
+
self._CreateTimeTo = CreateTimeTo
|
24285
|
+
|
24202
24286
|
|
24203
24287
|
def _deserialize(self, params):
|
24204
24288
|
self._Limit = params.get("Limit")
|
@@ -24218,6 +24302,12 @@ class DescribeVoucherInfoRequest(AbstractModel):
|
|
24218
24302
|
self._Operator = params.get("Operator")
|
24219
24303
|
self._VoucherMainType = params.get("VoucherMainType")
|
24220
24304
|
self._VoucherSubType = params.get("VoucherSubType")
|
24305
|
+
self._StartTimeFrom = params.get("StartTimeFrom")
|
24306
|
+
self._StartTimeTo = params.get("StartTimeTo")
|
24307
|
+
self._EndTimeFrom = params.get("EndTimeFrom")
|
24308
|
+
self._EndTimeTo = params.get("EndTimeTo")
|
24309
|
+
self._CreateTimeFrom = params.get("CreateTimeFrom")
|
24310
|
+
self._CreateTimeTo = params.get("CreateTimeTo")
|
24221
24311
|
memeber_set = set(params.keys())
|
24222
24312
|
for name, value in vars(self).items():
|
24223
24313
|
property_name = name[1:]
|
@@ -4890,7 +4890,7 @@ class DescribeUserSAMLConfigResponse(AbstractModel):
|
|
4890
4890
|
r"""
|
4891
4891
|
:param _SAMLMetadata: SAML元数据文档
|
4892
4892
|
:type SAMLMetadata: str
|
4893
|
-
:param _Status: 状态:0:未设置,
|
4893
|
+
:param _Status: 状态:0:未设置,11:已开启,2:已禁用
|
4894
4894
|
:type Status: int
|
4895
4895
|
:param _AuxiliaryDomain: 辅助域名
|
4896
4896
|
:type AuxiliaryDomain: str
|
@@ -4915,7 +4915,7 @@ class DescribeUserSAMLConfigResponse(AbstractModel):
|
|
4915
4915
|
|
4916
4916
|
@property
|
4917
4917
|
def Status(self):
|
4918
|
-
"""状态:0:未设置,
|
4918
|
+
"""状态:0:未设置,11:已开启,2:已禁用
|
4919
4919
|
:rtype: int
|
4920
4920
|
"""
|
4921
4921
|
return self._Status
|
@@ -18,6 +18,72 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AITransferItem(AbstractModel):
|
22
|
+
"""AI转人工配置项
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _TransferFunctionName: 转人工的function calling 名称
|
29
|
+
:type TransferFunctionName: str
|
30
|
+
:param _TransferFunctionDesc: TransferFunctionEnable为true时生效;transfer_to_human function calling的desc,默认为 "Transfer to human when the user has to transfer to human (like says transfer to human) or you are instructed to do so."
|
31
|
+
:type TransferFunctionDesc: str
|
32
|
+
:param _TransferSkillGroupId: 转人工的技能组ID
|
33
|
+
:type TransferSkillGroupId: int
|
34
|
+
"""
|
35
|
+
self._TransferFunctionName = None
|
36
|
+
self._TransferFunctionDesc = None
|
37
|
+
self._TransferSkillGroupId = None
|
38
|
+
|
39
|
+
@property
|
40
|
+
def TransferFunctionName(self):
|
41
|
+
"""转人工的function calling 名称
|
42
|
+
:rtype: str
|
43
|
+
"""
|
44
|
+
return self._TransferFunctionName
|
45
|
+
|
46
|
+
@TransferFunctionName.setter
|
47
|
+
def TransferFunctionName(self, TransferFunctionName):
|
48
|
+
self._TransferFunctionName = TransferFunctionName
|
49
|
+
|
50
|
+
@property
|
51
|
+
def TransferFunctionDesc(self):
|
52
|
+
"""TransferFunctionEnable为true时生效;transfer_to_human function calling的desc,默认为 "Transfer to human when the user has to transfer to human (like says transfer to human) or you are instructed to do so."
|
53
|
+
:rtype: str
|
54
|
+
"""
|
55
|
+
return self._TransferFunctionDesc
|
56
|
+
|
57
|
+
@TransferFunctionDesc.setter
|
58
|
+
def TransferFunctionDesc(self, TransferFunctionDesc):
|
59
|
+
self._TransferFunctionDesc = TransferFunctionDesc
|
60
|
+
|
61
|
+
@property
|
62
|
+
def TransferSkillGroupId(self):
|
63
|
+
"""转人工的技能组ID
|
64
|
+
:rtype: int
|
65
|
+
"""
|
66
|
+
return self._TransferSkillGroupId
|
67
|
+
|
68
|
+
@TransferSkillGroupId.setter
|
69
|
+
def TransferSkillGroupId(self, TransferSkillGroupId):
|
70
|
+
self._TransferSkillGroupId = TransferSkillGroupId
|
71
|
+
|
72
|
+
|
73
|
+
def _deserialize(self, params):
|
74
|
+
self._TransferFunctionName = params.get("TransferFunctionName")
|
75
|
+
self._TransferFunctionDesc = params.get("TransferFunctionDesc")
|
76
|
+
self._TransferSkillGroupId = params.get("TransferSkillGroupId")
|
77
|
+
memeber_set = set(params.keys())
|
78
|
+
for name, value in vars(self).items():
|
79
|
+
property_name = name[1:]
|
80
|
+
if property_name in memeber_set:
|
81
|
+
memeber_set.remove(property_name)
|
82
|
+
if len(memeber_set) > 0:
|
83
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
84
|
+
|
85
|
+
|
86
|
+
|
21
87
|
class AbortPredictiveDialingCampaignRequest(AbstractModel):
|
22
88
|
"""AbortPredictiveDialingCampaign请求参数结构体
|
23
89
|
|
@@ -1980,6 +2046,10 @@ HoaiMy
|
|
1980
2046
|
:type EndFunctionEnable: bool
|
1981
2047
|
:param _EndFunctionDesc: EndFunctionEnable为true时生效;call_end function calling的desc,默认为 "End the call when user has to leave (like says bye) or you are instructed to do so."
|
1982
2048
|
:type EndFunctionDesc: str
|
2049
|
+
:param _TransferFunctionEnable: 模型是否支持(或者开启)transfer_to_human function calling
|
2050
|
+
:type TransferFunctionEnable: bool
|
2051
|
+
:param _TransferItems: TransferFunctionEnable为true的时候生效: 转人工配置
|
2052
|
+
:type TransferItems: list of AITransferItem
|
1983
2053
|
:param _NotifyDuration: 用户多久没说话提示时长,最小10秒,默认10秒
|
1984
2054
|
:type NotifyDuration: int
|
1985
2055
|
:param _NotifyMessage: 用户NotifyDuration没说话,AI提示的语句,默认是"抱歉,我没听清。您可以重复下吗?"
|
@@ -2066,6 +2136,8 @@ HoaiMy
|
|
2066
2136
|
|
2067
2137
|
</div></div>
|
2068
2138
|
:type CustomTTSConfig: str
|
2139
|
+
:param _PromptVariables: 提示词变量
|
2140
|
+
:type PromptVariables: list of Variable
|
2069
2141
|
"""
|
2070
2142
|
self._SdkAppId = None
|
2071
2143
|
self._Callee = None
|
@@ -2084,10 +2156,13 @@ HoaiMy
|
|
2084
2156
|
self._InterruptSpeechDuration = None
|
2085
2157
|
self._EndFunctionEnable = None
|
2086
2158
|
self._EndFunctionDesc = None
|
2159
|
+
self._TransferFunctionEnable = None
|
2160
|
+
self._TransferItems = None
|
2087
2161
|
self._NotifyDuration = None
|
2088
2162
|
self._NotifyMessage = None
|
2089
2163
|
self._NotifyMaxCount = None
|
2090
2164
|
self._CustomTTSConfig = None
|
2165
|
+
self._PromptVariables = None
|
2091
2166
|
|
2092
2167
|
@property
|
2093
2168
|
def SdkAppId(self):
|
@@ -2364,6 +2439,28 @@ HoaiMy
|
|
2364
2439
|
def EndFunctionDesc(self, EndFunctionDesc):
|
2365
2440
|
self._EndFunctionDesc = EndFunctionDesc
|
2366
2441
|
|
2442
|
+
@property
|
2443
|
+
def TransferFunctionEnable(self):
|
2444
|
+
"""模型是否支持(或者开启)transfer_to_human function calling
|
2445
|
+
:rtype: bool
|
2446
|
+
"""
|
2447
|
+
return self._TransferFunctionEnable
|
2448
|
+
|
2449
|
+
@TransferFunctionEnable.setter
|
2450
|
+
def TransferFunctionEnable(self, TransferFunctionEnable):
|
2451
|
+
self._TransferFunctionEnable = TransferFunctionEnable
|
2452
|
+
|
2453
|
+
@property
|
2454
|
+
def TransferItems(self):
|
2455
|
+
"""TransferFunctionEnable为true的时候生效: 转人工配置
|
2456
|
+
:rtype: list of AITransferItem
|
2457
|
+
"""
|
2458
|
+
return self._TransferItems
|
2459
|
+
|
2460
|
+
@TransferItems.setter
|
2461
|
+
def TransferItems(self, TransferItems):
|
2462
|
+
self._TransferItems = TransferItems
|
2463
|
+
|
2367
2464
|
@property
|
2368
2465
|
def NotifyDuration(self):
|
2369
2466
|
"""用户多久没说话提示时长,最小10秒,默认10秒
|
@@ -2486,6 +2583,17 @@ HoaiMy
|
|
2486
2583
|
def CustomTTSConfig(self, CustomTTSConfig):
|
2487
2584
|
self._CustomTTSConfig = CustomTTSConfig
|
2488
2585
|
|
2586
|
+
@property
|
2587
|
+
def PromptVariables(self):
|
2588
|
+
"""提示词变量
|
2589
|
+
:rtype: list of Variable
|
2590
|
+
"""
|
2591
|
+
return self._PromptVariables
|
2592
|
+
|
2593
|
+
@PromptVariables.setter
|
2594
|
+
def PromptVariables(self, PromptVariables):
|
2595
|
+
self._PromptVariables = PromptVariables
|
2596
|
+
|
2489
2597
|
|
2490
2598
|
def _deserialize(self, params):
|
2491
2599
|
self._SdkAppId = params.get("SdkAppId")
|
@@ -2505,10 +2613,23 @@ HoaiMy
|
|
2505
2613
|
self._InterruptSpeechDuration = params.get("InterruptSpeechDuration")
|
2506
2614
|
self._EndFunctionEnable = params.get("EndFunctionEnable")
|
2507
2615
|
self._EndFunctionDesc = params.get("EndFunctionDesc")
|
2616
|
+
self._TransferFunctionEnable = params.get("TransferFunctionEnable")
|
2617
|
+
if params.get("TransferItems") is not None:
|
2618
|
+
self._TransferItems = []
|
2619
|
+
for item in params.get("TransferItems"):
|
2620
|
+
obj = AITransferItem()
|
2621
|
+
obj._deserialize(item)
|
2622
|
+
self._TransferItems.append(obj)
|
2508
2623
|
self._NotifyDuration = params.get("NotifyDuration")
|
2509
2624
|
self._NotifyMessage = params.get("NotifyMessage")
|
2510
2625
|
self._NotifyMaxCount = params.get("NotifyMaxCount")
|
2511
2626
|
self._CustomTTSConfig = params.get("CustomTTSConfig")
|
2627
|
+
if params.get("PromptVariables") is not None:
|
2628
|
+
self._PromptVariables = []
|
2629
|
+
for item in params.get("PromptVariables"):
|
2630
|
+
obj = Variable()
|
2631
|
+
obj._deserialize(item)
|
2632
|
+
self._PromptVariables.append(obj)
|
2512
2633
|
memeber_set = set(params.keys())
|
2513
2634
|
for name, value in vars(self).items():
|
2514
2635
|
property_name = name[1:]
|
@@ -362,7 +362,7 @@ RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = 'ResourceInsufficient.RuleLimitExceeded
|
|
362
362
|
# 文件系统过大,不支持快照
|
363
363
|
RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = 'ResourceInsufficient.SnapshotSizeLimitExceeded'
|
364
364
|
|
365
|
-
#
|
365
|
+
# 该子网下IP数量不足
|
366
366
|
RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = 'ResourceInsufficient.SubnetIpAllOccupied'
|
367
367
|
|
368
368
|
# 该资源的标签个数达到最大限制。
|
@@ -4890,11 +4890,22 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
4890
4890
|
:type Port: int
|
4891
4891
|
:param _TargetGroupInstances: 目标组绑定的后端服务器
|
4892
4892
|
:type TargetGroupInstances: list of TargetGroupInstance
|
4893
|
+
:param _Tags: 标签。
|
4894
|
+
:type Tags: list of TagInfo
|
4895
|
+
:param _Weight: 后端服务默认权重。
|
4896
|
+
<ul>
|
4897
|
+
<li>取值范围[0, 100]</li>
|
4898
|
+
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
4899
|
+
</ul>
|
4900
|
+
|
4901
|
+
:type Weight: int
|
4893
4902
|
"""
|
4894
4903
|
self._TargetGroupName = None
|
4895
4904
|
self._VpcId = None
|
4896
4905
|
self._Port = None
|
4897
4906
|
self._TargetGroupInstances = None
|
4907
|
+
self._Tags = None
|
4908
|
+
self._Weight = None
|
4898
4909
|
|
4899
4910
|
@property
|
4900
4911
|
def TargetGroupName(self):
|
@@ -4941,6 +4952,33 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
4941
4952
|
def TargetGroupInstances(self, TargetGroupInstances):
|
4942
4953
|
self._TargetGroupInstances = TargetGroupInstances
|
4943
4954
|
|
4955
|
+
@property
|
4956
|
+
def Tags(self):
|
4957
|
+
"""标签。
|
4958
|
+
:rtype: list of TagInfo
|
4959
|
+
"""
|
4960
|
+
return self._Tags
|
4961
|
+
|
4962
|
+
@Tags.setter
|
4963
|
+
def Tags(self, Tags):
|
4964
|
+
self._Tags = Tags
|
4965
|
+
|
4966
|
+
@property
|
4967
|
+
def Weight(self):
|
4968
|
+
"""后端服务默认权重。
|
4969
|
+
<ul>
|
4970
|
+
<li>取值范围[0, 100]</li>
|
4971
|
+
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
4972
|
+
</ul>
|
4973
|
+
|
4974
|
+
:rtype: int
|
4975
|
+
"""
|
4976
|
+
return self._Weight
|
4977
|
+
|
4978
|
+
@Weight.setter
|
4979
|
+
def Weight(self, Weight):
|
4980
|
+
self._Weight = Weight
|
4981
|
+
|
4944
4982
|
|
4945
4983
|
def _deserialize(self, params):
|
4946
4984
|
self._TargetGroupName = params.get("TargetGroupName")
|
@@ -4952,6 +4990,13 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
4952
4990
|
obj = TargetGroupInstance()
|
4953
4991
|
obj._deserialize(item)
|
4954
4992
|
self._TargetGroupInstances.append(obj)
|
4993
|
+
if params.get("Tags") is not None:
|
4994
|
+
self._Tags = []
|
4995
|
+
for item in params.get("Tags"):
|
4996
|
+
obj = TagInfo()
|
4997
|
+
obj._deserialize(item)
|
4998
|
+
self._Tags.append(obj)
|
4999
|
+
self._Weight = params.get("Weight")
|
4955
5000
|
memeber_set = set(params.keys())
|
4956
5001
|
for name, value in vars(self).items():
|
4957
5002
|
property_name = name[1:]
|
@@ -16546,10 +16591,17 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
16546
16591
|
:type TargetGroupName: str
|
16547
16592
|
:param _Port: 目标组的新默认端口。
|
16548
16593
|
:type Port: int
|
16594
|
+
:param _Weight: 后端服务默认权重。
|
16595
|
+
<ul>
|
16596
|
+
<li>取值范围[0, 100]</li>
|
16597
|
+
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
16598
|
+
</ul>
|
16599
|
+
:type Weight: int
|
16549
16600
|
"""
|
16550
16601
|
self._TargetGroupId = None
|
16551
16602
|
self._TargetGroupName = None
|
16552
16603
|
self._Port = None
|
16604
|
+
self._Weight = None
|
16553
16605
|
|
16554
16606
|
@property
|
16555
16607
|
def TargetGroupId(self):
|
@@ -16584,11 +16636,27 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
16584
16636
|
def Port(self, Port):
|
16585
16637
|
self._Port = Port
|
16586
16638
|
|
16639
|
+
@property
|
16640
|
+
def Weight(self):
|
16641
|
+
"""后端服务默认权重。
|
16642
|
+
<ul>
|
16643
|
+
<li>取值范围[0, 100]</li>
|
16644
|
+
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
16645
|
+
</ul>
|
16646
|
+
:rtype: int
|
16647
|
+
"""
|
16648
|
+
return self._Weight
|
16649
|
+
|
16650
|
+
@Weight.setter
|
16651
|
+
def Weight(self, Weight):
|
16652
|
+
self._Weight = Weight
|
16653
|
+
|
16587
16654
|
|
16588
16655
|
def _deserialize(self, params):
|
16589
16656
|
self._TargetGroupId = params.get("TargetGroupId")
|
16590
16657
|
self._TargetGroupName = params.get("TargetGroupName")
|
16591
16658
|
self._Port = params.get("Port")
|
16659
|
+
self._Weight = params.get("Weight")
|
16592
16660
|
memeber_set = set(params.keys())
|
16593
16661
|
for name, value in vars(self).items():
|
16594
16662
|
property_name = name[1:]
|