tencentcloud-sdk-python 3.0.1210__py2.py3-none-any.whl → 3.0.1212__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/billing/v20180709/models.py +155 -0
- tencentcloud/dlc/v20210125/models.py +139 -0
- tencentcloud/es/v20180416/es_client.py +1 -0
- tencentcloud/es/v20180416/models.py +126 -1
- tencentcloud/ess/v20201111/ess_client.py +58 -0
- tencentcloud/ess/v20201111/models.py +361 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +29 -0
- tencentcloud/essbasic/v20210526/models.py +149 -0
- tencentcloud/faceid/v20180301/models.py +2 -0
- tencentcloud/goosefs/v20220519/models.py +61 -0
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/iss/v20230517/errorcodes.py +15 -0
- tencentcloud/iss/v20230517/models.py +75 -0
- tencentcloud/lke/v20231130/errorcodes.py +1 -1
- tencentcloud/mna/v20210119/errorcodes.py +6 -0
- tencentcloud/mna/v20210119/mna_client.py +23 -0
- tencentcloud/mna/v20210119/models.py +120 -0
- tencentcloud/mongodb/v20180408/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +59 -40
- tencentcloud/ms/v20180408/ms_client.py +69 -23
- tencentcloud/ocr/v20181119/models.py +1 -1
- tencentcloud/organization/v20210331/errorcodes.py +231 -0
- tencentcloud/organization/v20210331/models.py +12119 -4358
- tencentcloud/organization/v20210331/organization_client.py +1104 -0
- tencentcloud/tat/v20201028/errorcodes.py +9 -0
- tencentcloud/tat/v20201028/models.py +221 -1
- tencentcloud/tat/v20201028/tat_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +2 -3
- tencentcloud/trocket/v20230308/models.py +71 -7
- tencentcloud/trtc/v20190722/models.py +26 -0
- tencentcloud/vclm/v20240523/errorcodes.py +18 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1210.dist-info → tencentcloud_sdk_python-3.0.1212.dist-info}/top_level.txt +0 -0
@@ -26,6 +26,9 @@ FAILEDOPERATION_LIGHTHOUSEERROR = 'FailedOperation.LighthouseError'
|
|
26
26
|
# 内部错误。
|
27
27
|
INTERNALERROR = 'InternalError'
|
28
28
|
|
29
|
+
# 无效的过滤器
|
30
|
+
INVALIDFILTER = 'InvalidFilter'
|
31
|
+
|
29
32
|
# 参数错误。
|
30
33
|
INVALIDPARAMETER = 'InvalidParameter'
|
31
34
|
|
@@ -95,6 +98,12 @@ INVALIDPARAMETERVALUE_INVALIDREGISTERCODEID = 'InvalidParameterValue.InvalidRegi
|
|
95
98
|
# 无效的托管实例ID。
|
96
99
|
INVALIDPARAMETERVALUE_INVALIDREGISTERINSTANCEID = 'InvalidParameterValue.InvalidRegisterInstanceId'
|
97
100
|
|
101
|
+
# 无效的场景 ID。
|
102
|
+
INVALIDPARAMETERVALUE_INVALIDSCENEID = 'InvalidParameterValue.InvalidSceneId'
|
103
|
+
|
104
|
+
# 无效的场景名称。
|
105
|
+
INVALIDPARAMETERVALUE_INVALIDSCENENAME = 'InvalidParameterValue.InvalidSceneName'
|
106
|
+
|
98
107
|
# 无效的时间格式。
|
99
108
|
INVALIDPARAMETERVALUE_INVALIDTIMEFORMAT = 'InvalidParameterValue.InvalidTimeFormat'
|
100
109
|
|
@@ -1539,6 +1539,7 @@ class DescribeCommandsRequest(AbstractModel):
|
|
1539
1539
|
<li> command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。</li>
|
1540
1540
|
<li> command-name - String - 是否必填:否 -(过滤条件)按照命令名称过滤。</li>
|
1541
1541
|
<li> command-type - String - 是否必填:否 -(过滤条件)按照命令类型过滤,取值为 SHELL 或 POWERSHELL。</li>
|
1542
|
+
<li> scene-id - String - 是否必填:否 -(过滤条件)按照场景ID过滤。</li>
|
1542
1543
|
<li> created-by - String - 是否必填:否 -(过滤条件)按照命令创建者过滤,取值为 TAT 或 USER,TAT 代表公共命令,USER 代表由用户创建的命令。</li>
|
1543
1544
|
<li> tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。</li>
|
1544
1545
|
<li> tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。</li>
|
@@ -2585,6 +2586,139 @@ class DescribeRegisterInstancesResponse(AbstractModel):
|
|
2585
2586
|
self._RequestId = params.get("RequestId")
|
2586
2587
|
|
2587
2588
|
|
2589
|
+
class DescribeScenesRequest(AbstractModel):
|
2590
|
+
"""DescribeScenes请求参数结构体
|
2591
|
+
|
2592
|
+
"""
|
2593
|
+
|
2594
|
+
def __init__(self):
|
2595
|
+
r"""
|
2596
|
+
:param _SceneIds: 场景 ID 数组
|
2597
|
+
:type SceneIds: list of str
|
2598
|
+
:param _Filters: 过滤条件。
|
2599
|
+
<li> scene-id - String - 是否必填:否 -(过滤条件)按照场景 ID 过滤。</li>
|
2600
|
+
<li> scene-name - String - 是否必填:否 -(过滤条件)按照场景名称过滤。</li>
|
2601
|
+
<li> created-by - String - 是否必填:否 -(过滤条件)按照场景创建者过滤,取值为 TAT 或 USER。TAT 代表公共命令,USER 代表由用户创建的命令。</li>
|
2602
|
+
|
2603
|
+
每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `SceneIds` 和 `Filters` 。
|
2604
|
+
:type Filters: list of Filter
|
2605
|
+
:param _Limit: 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
2606
|
+
:type Limit: int
|
2607
|
+
:param _Offset: 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
2608
|
+
:type Offset: int
|
2609
|
+
"""
|
2610
|
+
self._SceneIds = None
|
2611
|
+
self._Filters = None
|
2612
|
+
self._Limit = None
|
2613
|
+
self._Offset = None
|
2614
|
+
|
2615
|
+
@property
|
2616
|
+
def SceneIds(self):
|
2617
|
+
return self._SceneIds
|
2618
|
+
|
2619
|
+
@SceneIds.setter
|
2620
|
+
def SceneIds(self, SceneIds):
|
2621
|
+
self._SceneIds = SceneIds
|
2622
|
+
|
2623
|
+
@property
|
2624
|
+
def Filters(self):
|
2625
|
+
return self._Filters
|
2626
|
+
|
2627
|
+
@Filters.setter
|
2628
|
+
def Filters(self, Filters):
|
2629
|
+
self._Filters = Filters
|
2630
|
+
|
2631
|
+
@property
|
2632
|
+
def Limit(self):
|
2633
|
+
return self._Limit
|
2634
|
+
|
2635
|
+
@Limit.setter
|
2636
|
+
def Limit(self, Limit):
|
2637
|
+
self._Limit = Limit
|
2638
|
+
|
2639
|
+
@property
|
2640
|
+
def Offset(self):
|
2641
|
+
return self._Offset
|
2642
|
+
|
2643
|
+
@Offset.setter
|
2644
|
+
def Offset(self, Offset):
|
2645
|
+
self._Offset = Offset
|
2646
|
+
|
2647
|
+
|
2648
|
+
def _deserialize(self, params):
|
2649
|
+
self._SceneIds = params.get("SceneIds")
|
2650
|
+
if params.get("Filters") is not None:
|
2651
|
+
self._Filters = []
|
2652
|
+
for item in params.get("Filters"):
|
2653
|
+
obj = Filter()
|
2654
|
+
obj._deserialize(item)
|
2655
|
+
self._Filters.append(obj)
|
2656
|
+
self._Limit = params.get("Limit")
|
2657
|
+
self._Offset = params.get("Offset")
|
2658
|
+
memeber_set = set(params.keys())
|
2659
|
+
for name, value in vars(self).items():
|
2660
|
+
property_name = name[1:]
|
2661
|
+
if property_name in memeber_set:
|
2662
|
+
memeber_set.remove(property_name)
|
2663
|
+
if len(memeber_set) > 0:
|
2664
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2665
|
+
|
2666
|
+
|
2667
|
+
|
2668
|
+
class DescribeScenesResponse(AbstractModel):
|
2669
|
+
"""DescribeScenes返回参数结构体
|
2670
|
+
|
2671
|
+
"""
|
2672
|
+
|
2673
|
+
def __init__(self):
|
2674
|
+
r"""
|
2675
|
+
:param _TotalCount: 符合条件的场景总数。
|
2676
|
+
:type TotalCount: int
|
2677
|
+
:param _SceneSet: 场景详情列表。
|
2678
|
+
:type SceneSet: list of Scene
|
2679
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2680
|
+
:type RequestId: str
|
2681
|
+
"""
|
2682
|
+
self._TotalCount = None
|
2683
|
+
self._SceneSet = None
|
2684
|
+
self._RequestId = None
|
2685
|
+
|
2686
|
+
@property
|
2687
|
+
def TotalCount(self):
|
2688
|
+
return self._TotalCount
|
2689
|
+
|
2690
|
+
@TotalCount.setter
|
2691
|
+
def TotalCount(self, TotalCount):
|
2692
|
+
self._TotalCount = TotalCount
|
2693
|
+
|
2694
|
+
@property
|
2695
|
+
def SceneSet(self):
|
2696
|
+
return self._SceneSet
|
2697
|
+
|
2698
|
+
@SceneSet.setter
|
2699
|
+
def SceneSet(self, SceneSet):
|
2700
|
+
self._SceneSet = SceneSet
|
2701
|
+
|
2702
|
+
@property
|
2703
|
+
def RequestId(self):
|
2704
|
+
return self._RequestId
|
2705
|
+
|
2706
|
+
@RequestId.setter
|
2707
|
+
def RequestId(self, RequestId):
|
2708
|
+
self._RequestId = RequestId
|
2709
|
+
|
2710
|
+
|
2711
|
+
def _deserialize(self, params):
|
2712
|
+
self._TotalCount = params.get("TotalCount")
|
2713
|
+
if params.get("SceneSet") is not None:
|
2714
|
+
self._SceneSet = []
|
2715
|
+
for item in params.get("SceneSet"):
|
2716
|
+
obj = Scene()
|
2717
|
+
obj._deserialize(item)
|
2718
|
+
self._SceneSet.append(obj)
|
2719
|
+
self._RequestId = params.get("RequestId")
|
2720
|
+
|
2721
|
+
|
2588
2722
|
class DisableInvokerRequest(AbstractModel):
|
2589
2723
|
"""DisableInvoker请求参数结构体
|
2590
2724
|
|
@@ -4158,7 +4292,7 @@ class ModifyRegisterInstanceRequest(AbstractModel):
|
|
4158
4292
|
r"""
|
4159
4293
|
:param _InstanceId: 实例ID。
|
4160
4294
|
:type InstanceId: str
|
4161
|
-
:param _InstanceName:
|
4295
|
+
:param _InstanceName: 实例名称。有效长度为 1~60 字符。
|
4162
4296
|
:type InstanceName: str
|
4163
4297
|
"""
|
4164
4298
|
self._InstanceId = None
|
@@ -4991,6 +5125,92 @@ class RunCommandResponse(AbstractModel):
|
|
4991
5125
|
self._RequestId = params.get("RequestId")
|
4992
5126
|
|
4993
5127
|
|
5128
|
+
class Scene(AbstractModel):
|
5129
|
+
"""场景详情。
|
5130
|
+
|
5131
|
+
"""
|
5132
|
+
|
5133
|
+
def __init__(self):
|
5134
|
+
r"""
|
5135
|
+
:param _SceneId: 场景 ID 。
|
5136
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5137
|
+
:type SceneId: str
|
5138
|
+
:param _SceneName: 场景名称。
|
5139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5140
|
+
:type SceneName: str
|
5141
|
+
:param _CreatedBy: 场景创建者。
|
5142
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5143
|
+
:type CreatedBy: str
|
5144
|
+
:param _CreatedTime: 创建时间。
|
5145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5146
|
+
:type CreatedTime: str
|
5147
|
+
:param _UpdatedTime: 更新时间。
|
5148
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5149
|
+
:type UpdatedTime: str
|
5150
|
+
"""
|
5151
|
+
self._SceneId = None
|
5152
|
+
self._SceneName = None
|
5153
|
+
self._CreatedBy = None
|
5154
|
+
self._CreatedTime = None
|
5155
|
+
self._UpdatedTime = None
|
5156
|
+
|
5157
|
+
@property
|
5158
|
+
def SceneId(self):
|
5159
|
+
return self._SceneId
|
5160
|
+
|
5161
|
+
@SceneId.setter
|
5162
|
+
def SceneId(self, SceneId):
|
5163
|
+
self._SceneId = SceneId
|
5164
|
+
|
5165
|
+
@property
|
5166
|
+
def SceneName(self):
|
5167
|
+
return self._SceneName
|
5168
|
+
|
5169
|
+
@SceneName.setter
|
5170
|
+
def SceneName(self, SceneName):
|
5171
|
+
self._SceneName = SceneName
|
5172
|
+
|
5173
|
+
@property
|
5174
|
+
def CreatedBy(self):
|
5175
|
+
return self._CreatedBy
|
5176
|
+
|
5177
|
+
@CreatedBy.setter
|
5178
|
+
def CreatedBy(self, CreatedBy):
|
5179
|
+
self._CreatedBy = CreatedBy
|
5180
|
+
|
5181
|
+
@property
|
5182
|
+
def CreatedTime(self):
|
5183
|
+
return self._CreatedTime
|
5184
|
+
|
5185
|
+
@CreatedTime.setter
|
5186
|
+
def CreatedTime(self, CreatedTime):
|
5187
|
+
self._CreatedTime = CreatedTime
|
5188
|
+
|
5189
|
+
@property
|
5190
|
+
def UpdatedTime(self):
|
5191
|
+
return self._UpdatedTime
|
5192
|
+
|
5193
|
+
@UpdatedTime.setter
|
5194
|
+
def UpdatedTime(self, UpdatedTime):
|
5195
|
+
self._UpdatedTime = UpdatedTime
|
5196
|
+
|
5197
|
+
|
5198
|
+
def _deserialize(self, params):
|
5199
|
+
self._SceneId = params.get("SceneId")
|
5200
|
+
self._SceneName = params.get("SceneName")
|
5201
|
+
self._CreatedBy = params.get("CreatedBy")
|
5202
|
+
self._CreatedTime = params.get("CreatedTime")
|
5203
|
+
self._UpdatedTime = params.get("UpdatedTime")
|
5204
|
+
memeber_set = set(params.keys())
|
5205
|
+
for name, value in vars(self).items():
|
5206
|
+
property_name = name[1:]
|
5207
|
+
if property_name in memeber_set:
|
5208
|
+
memeber_set.remove(property_name)
|
5209
|
+
if len(memeber_set) > 0:
|
5210
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5211
|
+
|
5212
|
+
|
5213
|
+
|
4994
5214
|
class ScheduleSettings(AbstractModel):
|
4995
5215
|
"""周期执行器设置。
|
4996
5216
|
|
@@ -468,6 +468,29 @@ class TatClient(AbstractClient):
|
|
468
468
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
469
469
|
|
470
470
|
|
471
|
+
def DescribeScenes(self, request):
|
472
|
+
"""此接口用于查询场景详情。
|
473
|
+
|
474
|
+
:param request: Request instance for DescribeScenes.
|
475
|
+
:type request: :class:`tencentcloud.tat.v20201028.models.DescribeScenesRequest`
|
476
|
+
:rtype: :class:`tencentcloud.tat.v20201028.models.DescribeScenesResponse`
|
477
|
+
|
478
|
+
"""
|
479
|
+
try:
|
480
|
+
params = request._serialize()
|
481
|
+
headers = request.headers
|
482
|
+
body = self.call("DescribeScenes", params, headers=headers)
|
483
|
+
response = json.loads(body)
|
484
|
+
model = models.DescribeScenesResponse()
|
485
|
+
model._deserialize(response["Response"])
|
486
|
+
return model
|
487
|
+
except Exception as e:
|
488
|
+
if isinstance(e, TencentCloudSDKException):
|
489
|
+
raise
|
490
|
+
else:
|
491
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
492
|
+
|
493
|
+
|
471
494
|
def DisableInvoker(self, request):
|
472
495
|
"""此接口用于停止执行器。
|
473
496
|
|
@@ -11577,8 +11577,7 @@ class DescribePrefetchTasksRequest(AbstractModel):
|
|
11577
11577
|
|
11578
11578
|
def __init__(self):
|
11579
11579
|
r"""
|
11580
|
-
:param _ZoneId: 站点ID
|
11581
|
-
必填参数。
|
11580
|
+
:param _ZoneId: 站点ID。该参数必填。
|
11582
11581
|
:type ZoneId: str
|
11583
11582
|
:param _StartTime: 查询起始时间,时间与 job-id 必填一个。
|
11584
11583
|
:type StartTime: str
|
@@ -11588,7 +11587,7 @@ class DescribePrefetchTasksRequest(AbstractModel):
|
|
11588
11587
|
:type Offset: int
|
11589
11588
|
:param _Limit: 分页查询限制数目,默认值:20,上限:1000。
|
11590
11589
|
:type Limit: int
|
11591
|
-
:param _Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>job-id
|
11590
|
+
:param _Filters: 过滤条件,Filters.Values 的上限为 20。详细的过滤条件如下:<li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li><li>target:按照目标资源信息进行过滤。target 形如:http://www.qq.com/1.txt,暂不支持多值,不支持模糊查询;</li><li>domains:按照域名行过滤。domains 形如:www.qq.com,不支持模糊查询;</li><li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时<br> invalid:无效。即源站响应非 2xx 状态码,请检查源站服务。</li>
|
11592
11591
|
:type Filters: list of AdvancedFilter
|
11593
11592
|
"""
|
11594
11593
|
self._ZoneId = None
|
@@ -268,7 +268,7 @@ BASIC 基础版
|
|
268
268
|
PRO 专业版
|
269
269
|
PLATINUM 铂金版
|
270
270
|
:type InstanceType: str
|
271
|
-
:param _Name:
|
271
|
+
:param _Name: 集群名称
|
272
272
|
:type Name: str
|
273
273
|
:param _SkuCode: 商品规格,可用规格如下:experiment_500, basic_1k, basic_2k, basic_3k, basic_4k, basic_5k, basic_6k, basic_7k, basic_8k, basic_9k, basic_10k, pro_4k, pro_6k, pro_8k, pro_1w, pro_15k, pro_2w, pro_25k, pro_3w, pro_35k, pro_4w, pro_45k, pro_5w, pro_55k, pro_60k, pro_65k, pro_70k, pro_75k, pro_80k, pro_85k, pro_90k, pro_95k, pro_100k, platinum_1w, platinum_2w, platinum_3w, platinum_4w, platinum_5w, platinum_6w, platinum_7w, platinum_8w, platinum_9w, platinum_10w, platinum_12w, platinum_14w, platinum_16w, platinum_18w, platinum_20w, platinum_25w, platinum_30w, platinum_35w, platinum_40w, platinum_45w, platinum_50w, platinum_60w, platinum_70w, platinum_80w, platinum_90w, platinum_100w
|
274
274
|
:type SkuCode: str
|
@@ -276,21 +276,23 @@ PLATINUM 铂金版
|
|
276
276
|
:type Remark: str
|
277
277
|
:param _TagList: 标签列表
|
278
278
|
:type TagList: list of Tag
|
279
|
-
:param _VpcList:
|
279
|
+
:param _VpcList: 集群绑定的VPC信息,必填
|
280
280
|
:type VpcList: list of VpcInfo
|
281
|
-
:param _EnablePublic:
|
281
|
+
:param _EnablePublic: 是否开启公网,默认值为false表示不开启
|
282
282
|
:type EnablePublic: bool
|
283
|
-
:param
|
283
|
+
:param _BillingFlow: 公网是否按流量计费,默认值为false表示不按流量计费
|
284
|
+
:type BillingFlow: bool
|
285
|
+
:param _Bandwidth: 公网带宽(单位:兆),默认值为0。如果开启公网,该字段必须为大于0的正整数
|
284
286
|
:type Bandwidth: int
|
285
287
|
:param _IpRules: 公网访问白名单
|
286
288
|
:type IpRules: list of IpRule
|
287
289
|
:param _MessageRetention: 消息保留时长(单位:小时)
|
288
290
|
:type MessageRetention: int
|
289
|
-
:param _PayMode: 付费模式(0: 后付费;1:
|
291
|
+
:param _PayMode: 付费模式(0: 后付费;1: 预付费),默认值为0
|
290
292
|
:type PayMode: int
|
291
|
-
:param _RenewFlag: 是否自动续费(0: 不自动续费;1:
|
293
|
+
:param _RenewFlag: 是否自动续费(0: 不自动续费;1: 自动续费),默认值为0
|
292
294
|
:type RenewFlag: int
|
293
|
-
:param _TimeSpan:
|
295
|
+
:param _TimeSpan: 购买时长(单位:月),默认值为1
|
294
296
|
:type TimeSpan: int
|
295
297
|
:param _MaxTopicNum: 最大可创建主题数
|
296
298
|
:type MaxTopicNum: int
|
@@ -302,6 +304,7 @@ PLATINUM 铂金版
|
|
302
304
|
self._TagList = None
|
303
305
|
self._VpcList = None
|
304
306
|
self._EnablePublic = None
|
307
|
+
self._BillingFlow = None
|
305
308
|
self._Bandwidth = None
|
306
309
|
self._IpRules = None
|
307
310
|
self._MessageRetention = None
|
@@ -366,6 +369,14 @@ PLATINUM 铂金版
|
|
366
369
|
def EnablePublic(self, EnablePublic):
|
367
370
|
self._EnablePublic = EnablePublic
|
368
371
|
|
372
|
+
@property
|
373
|
+
def BillingFlow(self):
|
374
|
+
return self._BillingFlow
|
375
|
+
|
376
|
+
@BillingFlow.setter
|
377
|
+
def BillingFlow(self, BillingFlow):
|
378
|
+
self._BillingFlow = BillingFlow
|
379
|
+
|
369
380
|
@property
|
370
381
|
def Bandwidth(self):
|
371
382
|
return self._Bandwidth
|
@@ -441,6 +452,7 @@ PLATINUM 铂金版
|
|
441
452
|
obj._deserialize(item)
|
442
453
|
self._VpcList.append(obj)
|
443
454
|
self._EnablePublic = params.get("EnablePublic")
|
455
|
+
self._BillingFlow = params.get("BillingFlow")
|
444
456
|
self._Bandwidth = params.get("Bandwidth")
|
445
457
|
if params.get("IpRules") is not None:
|
446
458
|
self._IpRules = []
|
@@ -8499,12 +8511,28 @@ Failure 失败
|
|
8499
8511
|
AlreadyExists 已存在
|
8500
8512
|
注意:此字段可能返回 null,表示取不到有效值。
|
8501
8513
|
:type ImportStatus: str
|
8514
|
+
:param _NamespaceV4: 4.x的命名空间,出参使用
|
8515
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8516
|
+
:type NamespaceV4: str
|
8517
|
+
:param _GroupNameV4: 4.x的消费组名,出参使用
|
8518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8519
|
+
:type GroupNameV4: str
|
8520
|
+
:param _FullNamespaceV4: 4.x的完整命名空间,出参使用
|
8521
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8522
|
+
:type FullNamespaceV4: str
|
8523
|
+
:param _ConsumeMessageOrderly: 是否为顺序投递,5.0有效
|
8524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8525
|
+
:type ConsumeMessageOrderly: bool
|
8502
8526
|
"""
|
8503
8527
|
self._GroupName = None
|
8504
8528
|
self._Remark = None
|
8505
8529
|
self._Imported = None
|
8506
8530
|
self._Namespace = None
|
8507
8531
|
self._ImportStatus = None
|
8532
|
+
self._NamespaceV4 = None
|
8533
|
+
self._GroupNameV4 = None
|
8534
|
+
self._FullNamespaceV4 = None
|
8535
|
+
self._ConsumeMessageOrderly = None
|
8508
8536
|
|
8509
8537
|
@property
|
8510
8538
|
def GroupName(self):
|
@@ -8546,6 +8574,38 @@ AlreadyExists 已存在
|
|
8546
8574
|
def ImportStatus(self, ImportStatus):
|
8547
8575
|
self._ImportStatus = ImportStatus
|
8548
8576
|
|
8577
|
+
@property
|
8578
|
+
def NamespaceV4(self):
|
8579
|
+
return self._NamespaceV4
|
8580
|
+
|
8581
|
+
@NamespaceV4.setter
|
8582
|
+
def NamespaceV4(self, NamespaceV4):
|
8583
|
+
self._NamespaceV4 = NamespaceV4
|
8584
|
+
|
8585
|
+
@property
|
8586
|
+
def GroupNameV4(self):
|
8587
|
+
return self._GroupNameV4
|
8588
|
+
|
8589
|
+
@GroupNameV4.setter
|
8590
|
+
def GroupNameV4(self, GroupNameV4):
|
8591
|
+
self._GroupNameV4 = GroupNameV4
|
8592
|
+
|
8593
|
+
@property
|
8594
|
+
def FullNamespaceV4(self):
|
8595
|
+
return self._FullNamespaceV4
|
8596
|
+
|
8597
|
+
@FullNamespaceV4.setter
|
8598
|
+
def FullNamespaceV4(self, FullNamespaceV4):
|
8599
|
+
self._FullNamespaceV4 = FullNamespaceV4
|
8600
|
+
|
8601
|
+
@property
|
8602
|
+
def ConsumeMessageOrderly(self):
|
8603
|
+
return self._ConsumeMessageOrderly
|
8604
|
+
|
8605
|
+
@ConsumeMessageOrderly.setter
|
8606
|
+
def ConsumeMessageOrderly(self, ConsumeMessageOrderly):
|
8607
|
+
self._ConsumeMessageOrderly = ConsumeMessageOrderly
|
8608
|
+
|
8549
8609
|
|
8550
8610
|
def _deserialize(self, params):
|
8551
8611
|
self._GroupName = params.get("GroupName")
|
@@ -8553,6 +8613,10 @@ AlreadyExists 已存在
|
|
8553
8613
|
self._Imported = params.get("Imported")
|
8554
8614
|
self._Namespace = params.get("Namespace")
|
8555
8615
|
self._ImportStatus = params.get("ImportStatus")
|
8616
|
+
self._NamespaceV4 = params.get("NamespaceV4")
|
8617
|
+
self._GroupNameV4 = params.get("GroupNameV4")
|
8618
|
+
self._FullNamespaceV4 = params.get("FullNamespaceV4")
|
8619
|
+
self._ConsumeMessageOrderly = params.get("ConsumeMessageOrderly")
|
8556
8620
|
memeber_set = set(params.keys())
|
8557
8621
|
for name, value in vars(self).items():
|
8558
8622
|
property_name = name[1:]
|
@@ -172,12 +172,20 @@ class AgentConfig(AbstractModel):
|
|
172
172
|
:param _WelcomeMessage: 机器人的欢迎语
|
173
173
|
注意:此字段可能返回 null,表示取不到有效值。
|
174
174
|
:type WelcomeMessage: str
|
175
|
+
:param _InterruptMode: 智能打断模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断
|
176
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
177
|
+
:type InterruptMode: int
|
178
|
+
:param _InterruptSpeechDuration: InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。
|
179
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
180
|
+
:type InterruptSpeechDuration: int
|
175
181
|
"""
|
176
182
|
self._UserId = None
|
177
183
|
self._UserSig = None
|
178
184
|
self._TargetUserId = None
|
179
185
|
self._MaxIdleTime = None
|
180
186
|
self._WelcomeMessage = None
|
187
|
+
self._InterruptMode = None
|
188
|
+
self._InterruptSpeechDuration = None
|
181
189
|
|
182
190
|
@property
|
183
191
|
def UserId(self):
|
@@ -219,6 +227,22 @@ class AgentConfig(AbstractModel):
|
|
219
227
|
def WelcomeMessage(self, WelcomeMessage):
|
220
228
|
self._WelcomeMessage = WelcomeMessage
|
221
229
|
|
230
|
+
@property
|
231
|
+
def InterruptMode(self):
|
232
|
+
return self._InterruptMode
|
233
|
+
|
234
|
+
@InterruptMode.setter
|
235
|
+
def InterruptMode(self, InterruptMode):
|
236
|
+
self._InterruptMode = InterruptMode
|
237
|
+
|
238
|
+
@property
|
239
|
+
def InterruptSpeechDuration(self):
|
240
|
+
return self._InterruptSpeechDuration
|
241
|
+
|
242
|
+
@InterruptSpeechDuration.setter
|
243
|
+
def InterruptSpeechDuration(self, InterruptSpeechDuration):
|
244
|
+
self._InterruptSpeechDuration = InterruptSpeechDuration
|
245
|
+
|
222
246
|
|
223
247
|
def _deserialize(self, params):
|
224
248
|
self._UserId = params.get("UserId")
|
@@ -226,6 +250,8 @@ class AgentConfig(AbstractModel):
|
|
226
250
|
self._TargetUserId = params.get("TargetUserId")
|
227
251
|
self._MaxIdleTime = params.get("MaxIdleTime")
|
228
252
|
self._WelcomeMessage = params.get("WelcomeMessage")
|
253
|
+
self._InterruptMode = params.get("InterruptMode")
|
254
|
+
self._InterruptSpeechDuration = params.get("InterruptSpeechDuration")
|
229
255
|
memeber_set = set(params.keys())
|
230
256
|
for name, value in vars(self).items():
|
231
257
|
property_name = name[1:]
|
@@ -50,6 +50,9 @@ FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
|
|
50
50
|
# 输入图人脸检测失败
|
51
51
|
FAILEDOPERATION_IMAGEDETECTFACEFAILED = 'FailedOperation.ImageDetectFaceFailed'
|
52
52
|
|
53
|
+
# 人脸检测失败。
|
54
|
+
FAILEDOPERATION_IMAGEFACEDETECTFAILED = 'FailedOperation.ImageFacedetectFailed'
|
55
|
+
|
53
56
|
# 输入图中存在多人
|
54
57
|
FAILEDOPERATION_IMAGEMANYPEOPLE = 'FailedOperation.ImageManyPeople'
|
55
58
|
|
@@ -188,6 +191,21 @@ INVALIDPARAMETERVALUE_STYLENOTEXIST = 'InvalidParameterValue.StyleNotExist'
|
|
188
191
|
# 风格化强度参数不存在。
|
189
192
|
INVALIDPARAMETERVALUE_STYLESTRENGTHNOTEXIST = 'InvalidParameterValue.StyleStrengthNotExist'
|
190
193
|
|
194
|
+
# 人脸角度过大。
|
195
|
+
INVALIDPARAMETERVALUE_TOOLARGEFACEANGLE = 'InvalidParameterValue.TooLargeFaceAngle'
|
196
|
+
|
197
|
+
# 人脸质量过低。
|
198
|
+
INVALIDPARAMETERVALUE_TOOLOWFACEQUALITY = 'InvalidParameterValue.TooLowFaceQuality'
|
199
|
+
|
200
|
+
# 人脸数量超过1。
|
201
|
+
INVALIDPARAMETERVALUE_TOOMANYFACES = 'InvalidParameterValue.TooManyFaces'
|
202
|
+
|
203
|
+
# 人脸遮挡过多。
|
204
|
+
INVALIDPARAMETERVALUE_TOOMUCHFACEOCCLUSION = 'InvalidParameterValue.TooMuchFaceOcclusion'
|
205
|
+
|
206
|
+
# 人脸过小。
|
207
|
+
INVALIDPARAMETERVALUE_TOOSMALLFACESIZE = 'InvalidParameterValue.TooSmallFaceSize'
|
208
|
+
|
191
209
|
# URL格式不合法。
|
192
210
|
INVALIDPARAMETERVALUE_URLILLEGAL = 'InvalidParameterValue.UrlIllegal'
|
193
211
|
|