tencentcloud-sdk-python 3.0.1392__py2.py3-none-any.whl → 3.0.1393__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/cfs/v20190719/cfs_client.py +2 -6
- tencentcloud/cfs/v20190719/models.py +4 -6
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/models.py +16 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +85 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/emr/v20190103/errorcodes.py +9 -0
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20250101/es_client.py +0 -23
- tencentcloud/es/v20250101/models.py +1 -352
- tencentcloud/ess/v20201111/models.py +18 -8
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/models.py +269 -0
- tencentcloud/hai/v20230812/models.py +8 -14
- tencentcloud/lke/v20231130/errorcodes.py +0 -6
- tencentcloud/lke/v20231130/lke_client.py +0 -26
- tencentcloud/lke/v20231130/models.py +0 -229
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -5
- tencentcloud/monitor/v20180724/models.py +96 -2
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mrs/v20200910/models.py +8 -0
- tencentcloud/mrs/v20200910/mrs_client.py +2 -0
- tencentcloud/postgres/v20170312/models.py +0 -405
- tencentcloud/postgres/v20170312/postgres_client.py +0 -25
- tencentcloud/pts/v20210728/models.py +30 -0
- tencentcloud/redis/v20180412/models.py +8 -8
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/RECORD +34 -34
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -189,7 +189,6 @@ class CfsClient(AbstractClient):
|
|
189
189
|
|
190
190
|
def CreateMigrationTask(self, request):
|
191
191
|
"""用于创建迁移任务。
|
192
|
-
此接口需提交工单,开启白名单之后才能使用。
|
193
192
|
|
194
193
|
:param request: Request instance for CreateMigrationTask.
|
195
194
|
:type request: :class:`tencentcloud.cfs.v20190719.models.CreateMigrationTaskRequest`
|
@@ -327,8 +326,7 @@ class CfsClient(AbstractClient):
|
|
327
326
|
|
328
327
|
|
329
328
|
def DeleteMigrationTask(self, request):
|
330
|
-
"""
|
331
|
-
此接口需提交工单,开启白名单之后才能使用。
|
329
|
+
"""用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
|
332
330
|
|
333
331
|
:param request: Request instance for DeleteMigrationTask.
|
334
332
|
:type request: :class:`tencentcloud.cfs.v20190719.models.DeleteMigrationTaskRequest`
|
@@ -445,7 +443,6 @@ class CfsClient(AbstractClient):
|
|
445
443
|
|
446
444
|
def DescribeBucketList(self, request):
|
447
445
|
"""用于获取数据源桶列表。
|
448
|
-
此接口需提交工单,开启白名单之后才能使用。
|
449
446
|
|
450
447
|
:param request: Request instance for DescribeBucketList.
|
451
448
|
:type request: :class:`tencentcloud.cfs.v20190719.models.DescribeBucketListRequest`
|
@@ -814,8 +811,7 @@ class CfsClient(AbstractClient):
|
|
814
811
|
|
815
812
|
|
816
813
|
def StopMigrationTask(self, request):
|
817
|
-
"""
|
818
|
-
此接口需提交工单,开启白名单之后才能使用。
|
814
|
+
"""用于终止迁移任务,可以终止等待中、运行中状态的任务。
|
819
815
|
|
820
816
|
:param request: Request instance for StopMigrationTask.
|
821
817
|
:type request: :class:`tencentcloud.cfs.v20190719.models.StopMigrationTaskRequest`
|
@@ -3251,7 +3251,6 @@ class DescribeBucketListRequest(AbstractModel):
|
|
3251
3251
|
:param _SrcService: 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
|
3252
3252
|
:type SrcService: str
|
3253
3253
|
:param _SrcSecretId: 数据源账号的SecretId
|
3254
|
-
|
3255
3254
|
:type SrcSecretId: str
|
3256
3255
|
:param _SrcSecretKey: 数据源账号的SecretKey
|
3257
3256
|
:type SrcSecretKey: str
|
@@ -3274,7 +3273,6 @@ class DescribeBucketListRequest(AbstractModel):
|
|
3274
3273
|
@property
|
3275
3274
|
def SrcSecretId(self):
|
3276
3275
|
"""数据源账号的SecretId
|
3277
|
-
|
3278
3276
|
:rtype: str
|
3279
3277
|
"""
|
3280
3278
|
return self._SrcSecretId
|
@@ -5419,7 +5417,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
5419
5417
|
:type CreateTime: int
|
5420
5418
|
:param _EndTime: 完成/终止时间
|
5421
5419
|
:type EndTime: int
|
5422
|
-
:param _Status: 迁移状态。0: 已完成;1:
|
5420
|
+
:param _Status: 迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
5423
5421
|
:type Status: int
|
5424
5422
|
:param _FileTotalCount: 文件数量
|
5425
5423
|
:type FileTotalCount: int
|
@@ -5627,7 +5625,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
5627
5625
|
|
5628
5626
|
@property
|
5629
5627
|
def Status(self):
|
5630
|
-
"""迁移状态。0: 已完成;1:
|
5628
|
+
"""迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
5631
5629
|
:rtype: int
|
5632
5630
|
"""
|
5633
5631
|
return self._Status
|
@@ -7210,7 +7208,7 @@ class StopMigrationTaskResponse(AbstractModel):
|
|
7210
7208
|
r"""
|
7211
7209
|
:param _TaskId: 迁移任务Id
|
7212
7210
|
:type TaskId: str
|
7213
|
-
:param _Status: 迁移状态。0: 已完成;1:
|
7211
|
+
:param _Status: 迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
7214
7212
|
:type Status: int
|
7215
7213
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7216
7214
|
:type RequestId: str
|
@@ -7232,7 +7230,7 @@ class StopMigrationTaskResponse(AbstractModel):
|
|
7232
7230
|
|
7233
7231
|
@property
|
7234
7232
|
def Status(self):
|
7235
|
-
"""迁移状态。0: 已完成;1:
|
7233
|
+
"""迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
7236
7234
|
:rtype: int
|
7237
7235
|
"""
|
7238
7236
|
return self._Status
|
@@ -125,7 +125,6 @@ class CmeClient(AbstractClient):
|
|
125
125
|
<li>导播台项目:用于云导播台;</li>
|
126
126
|
<li>视频拆条:用于视频拆条;</li>
|
127
127
|
<li>录制回放项目:用于直播录制回放;</li>
|
128
|
-
<li>云转推项目:用于直播云转推<font color=red>(废弃,可使用媒体转推项目替代)</font>;</li>
|
129
128
|
<li>媒体转推项目:用于媒体文件转直播输出。</li>
|
130
129
|
|
131
130
|
:param request: Request instance for CreateProject.
|
@@ -1721,6 +1721,8 @@ class CreateProjectRequest(AbstractModel):
|
|
1721
1721
|
|
1722
1722
|
@property
|
1723
1723
|
def AspectRatio(self):
|
1724
|
+
warnings.warn("parameter `AspectRatio` is deprecated", DeprecationWarning)
|
1725
|
+
|
1724
1726
|
"""画布宽高比。
|
1725
1727
|
该字段已经废弃,请使用具体项目输入中的 AspectRatio 字段。
|
1726
1728
|
:rtype: str
|
@@ -1729,6 +1731,8 @@ class CreateProjectRequest(AbstractModel):
|
|
1729
1731
|
|
1730
1732
|
@AspectRatio.setter
|
1731
1733
|
def AspectRatio(self, AspectRatio):
|
1734
|
+
warnings.warn("parameter `AspectRatio` is deprecated", DeprecationWarning)
|
1735
|
+
|
1732
1736
|
self._AspectRatio = AspectRatio
|
1733
1737
|
|
1734
1738
|
@property
|
@@ -6453,6 +6457,8 @@ class ExternalMediaInfo(AbstractModel):
|
|
6453
6457
|
|
6454
6458
|
@property
|
6455
6459
|
def Definition(self):
|
6460
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
6461
|
+
|
6456
6462
|
"""该字段废弃,请勿使用。
|
6457
6463
|
:rtype: int
|
6458
6464
|
"""
|
@@ -6460,6 +6466,8 @@ class ExternalMediaInfo(AbstractModel):
|
|
6460
6466
|
|
6461
6467
|
@Definition.setter
|
6462
6468
|
def Definition(self, Definition):
|
6469
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
6470
|
+
|
6463
6471
|
self._Definition = Definition
|
6464
6472
|
|
6465
6473
|
@property
|
@@ -8957,6 +8965,8 @@ class MaterialBasicInfo(AbstractModel):
|
|
8957
8965
|
|
8958
8966
|
@property
|
8959
8967
|
def TagInfoSet(self):
|
8968
|
+
warnings.warn("parameter `TagInfoSet` is deprecated", DeprecationWarning)
|
8969
|
+
|
8960
8970
|
"""媒体绑定的标签信息列表 。
|
8961
8971
|
该字段已废弃。
|
8962
8972
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -8966,6 +8976,8 @@ class MaterialBasicInfo(AbstractModel):
|
|
8966
8976
|
|
8967
8977
|
@TagInfoSet.setter
|
8968
8978
|
def TagInfoSet(self, TagInfoSet):
|
8979
|
+
warnings.warn("parameter `TagInfoSet` is deprecated", DeprecationWarning)
|
8980
|
+
|
8969
8981
|
self._TagInfoSet = TagInfoSet
|
8970
8982
|
|
8971
8983
|
|
@@ -14062,6 +14074,8 @@ class StorageNewFileCreatedEvent(AbstractModel):
|
|
14062
14074
|
|
14063
14075
|
@property
|
14064
14076
|
def Operator(self):
|
14077
|
+
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
14078
|
+
|
14065
14079
|
"""操作者 Id。(废弃,请勿使用)
|
14066
14080
|
:rtype: str
|
14067
14081
|
"""
|
@@ -14069,6 +14083,8 @@ class StorageNewFileCreatedEvent(AbstractModel):
|
|
14069
14083
|
|
14070
14084
|
@Operator.setter
|
14071
14085
|
def Operator(self, Operator):
|
14086
|
+
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
14087
|
+
|
14072
14088
|
self._Operator = Operator
|
14073
14089
|
|
14074
14090
|
@property
|
@@ -2096,6 +2096,29 @@ class DlcClient(AbstractClient):
|
|
2096
2096
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2097
2097
|
|
2098
2098
|
|
2099
|
+
def DescribeTablePartitions(self, request):
|
2100
|
+
"""本接口(DescribeTablePartitions)用于查询数据表分区信息
|
2101
|
+
|
2102
|
+
:param request: Request instance for DescribeTablePartitions.
|
2103
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeTablePartitionsRequest`
|
2104
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeTablePartitionsResponse`
|
2105
|
+
|
2106
|
+
"""
|
2107
|
+
try:
|
2108
|
+
params = request._serialize()
|
2109
|
+
headers = request.headers
|
2110
|
+
body = self.call("DescribeTablePartitions", params, headers=headers)
|
2111
|
+
response = json.loads(body)
|
2112
|
+
model = models.DescribeTablePartitionsResponse()
|
2113
|
+
model._deserialize(response["Response"])
|
2114
|
+
return model
|
2115
|
+
except Exception as e:
|
2116
|
+
if isinstance(e, TencentCloudSDKException):
|
2117
|
+
raise
|
2118
|
+
else:
|
2119
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2120
|
+
|
2121
|
+
|
2099
2122
|
def DescribeTables(self, request):
|
2100
2123
|
"""本接口(DescribeTables)用于查询数据表列表。
|
2101
2124
|
|
@@ -15653,6 +15653,9 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15653
15653
|
:type Sort: str
|
15654
15654
|
:param _Asc: 排序类型:false:降序(默认)、true:升序
|
15655
15655
|
:type Asc: bool
|
15656
|
+
:param _DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
|
15657
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
15658
|
+
:type DescribeType: str
|
15656
15659
|
"""
|
15657
15660
|
self._Limit = None
|
15658
15661
|
self._Offset = None
|
@@ -15660,6 +15663,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15660
15663
|
self._DatasourceConnectionName = None
|
15661
15664
|
self._Sort = None
|
15662
15665
|
self._Asc = None
|
15666
|
+
self._DescribeType = None
|
15663
15667
|
|
15664
15668
|
@property
|
15665
15669
|
def Limit(self):
|
@@ -15727,6 +15731,18 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15727
15731
|
def Asc(self, Asc):
|
15728
15732
|
self._Asc = Asc
|
15729
15733
|
|
15734
|
+
@property
|
15735
|
+
def DescribeType(self):
|
15736
|
+
"""查询类型:all:全部数据(默认)、permission:有权限的数据
|
15737
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
15738
|
+
:rtype: str
|
15739
|
+
"""
|
15740
|
+
return self._DescribeType
|
15741
|
+
|
15742
|
+
@DescribeType.setter
|
15743
|
+
def DescribeType(self, DescribeType):
|
15744
|
+
self._DescribeType = DescribeType
|
15745
|
+
|
15730
15746
|
|
15731
15747
|
def _deserialize(self, params):
|
15732
15748
|
self._Limit = params.get("Limit")
|
@@ -15735,6 +15751,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15735
15751
|
self._DatasourceConnectionName = params.get("DatasourceConnectionName")
|
15736
15752
|
self._Sort = params.get("Sort")
|
15737
15753
|
self._Asc = params.get("Asc")
|
15754
|
+
self._DescribeType = params.get("DescribeType")
|
15738
15755
|
memeber_set = set(params.keys())
|
15739
15756
|
for name, value in vars(self).items():
|
15740
15757
|
property_name = name[1:]
|
@@ -18684,6 +18701,40 @@ class DescribeSubUserAccessPolicyResponse(AbstractModel):
|
|
18684
18701
|
self._RequestId = params.get("RequestId")
|
18685
18702
|
|
18686
18703
|
|
18704
|
+
class DescribeTablePartitionsRequest(AbstractModel):
|
18705
|
+
"""DescribeTablePartitions请求参数结构体
|
18706
|
+
|
18707
|
+
"""
|
18708
|
+
|
18709
|
+
|
18710
|
+
class DescribeTablePartitionsResponse(AbstractModel):
|
18711
|
+
"""DescribeTablePartitions返回参数结构体
|
18712
|
+
|
18713
|
+
"""
|
18714
|
+
|
18715
|
+
def __init__(self):
|
18716
|
+
r"""
|
18717
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18718
|
+
:type RequestId: str
|
18719
|
+
"""
|
18720
|
+
self._RequestId = None
|
18721
|
+
|
18722
|
+
@property
|
18723
|
+
def RequestId(self):
|
18724
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18725
|
+
:rtype: str
|
18726
|
+
"""
|
18727
|
+
return self._RequestId
|
18728
|
+
|
18729
|
+
@RequestId.setter
|
18730
|
+
def RequestId(self, RequestId):
|
18731
|
+
self._RequestId = RequestId
|
18732
|
+
|
18733
|
+
|
18734
|
+
def _deserialize(self, params):
|
18735
|
+
self._RequestId = params.get("RequestId")
|
18736
|
+
|
18737
|
+
|
18687
18738
|
class DescribeTableRequest(AbstractModel):
|
18688
18739
|
"""DescribeTable请求参数结构体
|
18689
18740
|
|
@@ -19079,6 +19130,9 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19079
19130
|
:type TableType: str
|
19080
19131
|
:param _TableFormat: 筛选字段-表格式:不传(默认)为查全部;LAKEFS:托管表;ICEBERG:非托管iceberg表;HIVE:非托管hive表;OTHER:非托管其它;
|
19081
19132
|
:type TableFormat: str
|
19133
|
+
:param _DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
|
19134
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
19135
|
+
:type DescribeType: str
|
19082
19136
|
"""
|
19083
19137
|
self._DatabaseName = None
|
19084
19138
|
self._Limit = None
|
@@ -19091,6 +19145,7 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19091
19145
|
self._Asc = None
|
19092
19146
|
self._TableType = None
|
19093
19147
|
self._TableFormat = None
|
19148
|
+
self._DescribeType = None
|
19094
19149
|
|
19095
19150
|
@property
|
19096
19151
|
def DatabaseName(self):
|
@@ -19215,6 +19270,18 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19215
19270
|
def TableFormat(self, TableFormat):
|
19216
19271
|
self._TableFormat = TableFormat
|
19217
19272
|
|
19273
|
+
@property
|
19274
|
+
def DescribeType(self):
|
19275
|
+
"""查询类型:all:全部数据(默认)、permission:有权限的数据
|
19276
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
19277
|
+
:rtype: str
|
19278
|
+
"""
|
19279
|
+
return self._DescribeType
|
19280
|
+
|
19281
|
+
@DescribeType.setter
|
19282
|
+
def DescribeType(self, DescribeType):
|
19283
|
+
self._DescribeType = DescribeType
|
19284
|
+
|
19218
19285
|
|
19219
19286
|
def _deserialize(self, params):
|
19220
19287
|
self._DatabaseName = params.get("DatabaseName")
|
@@ -19233,6 +19300,7 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19233
19300
|
self._Asc = params.get("Asc")
|
19234
19301
|
self._TableType = params.get("TableType")
|
19235
19302
|
self._TableFormat = params.get("TableFormat")
|
19303
|
+
self._DescribeType = params.get("DescribeType")
|
19236
19304
|
memeber_set = set(params.keys())
|
19237
19305
|
for name, value in vars(self).items():
|
19238
19306
|
property_name = name[1:]
|
@@ -21685,6 +21753,9 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21685
21753
|
:type StartTime: str
|
21686
21754
|
:param _EndTime: 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00
|
21687
21755
|
:type EndTime: str
|
21756
|
+
:param _DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
|
21757
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
21758
|
+
:type DescribeType: str
|
21688
21759
|
"""
|
21689
21760
|
self._DatabaseName = None
|
21690
21761
|
self._Limit = None
|
@@ -21695,6 +21766,7 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21695
21766
|
self._Asc = None
|
21696
21767
|
self._StartTime = None
|
21697
21768
|
self._EndTime = None
|
21769
|
+
self._DescribeType = None
|
21698
21770
|
|
21699
21771
|
@property
|
21700
21772
|
def DatabaseName(self):
|
@@ -21797,6 +21869,18 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21797
21869
|
def EndTime(self, EndTime):
|
21798
21870
|
self._EndTime = EndTime
|
21799
21871
|
|
21872
|
+
@property
|
21873
|
+
def DescribeType(self):
|
21874
|
+
"""查询类型:all:全部数据(默认)、permission:有权限的数据
|
21875
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
21876
|
+
:rtype: str
|
21877
|
+
"""
|
21878
|
+
return self._DescribeType
|
21879
|
+
|
21880
|
+
@DescribeType.setter
|
21881
|
+
def DescribeType(self, DescribeType):
|
21882
|
+
self._DescribeType = DescribeType
|
21883
|
+
|
21800
21884
|
|
21801
21885
|
def _deserialize(self, params):
|
21802
21886
|
self._DatabaseName = params.get("DatabaseName")
|
@@ -21813,6 +21897,7 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21813
21897
|
self._Asc = params.get("Asc")
|
21814
21898
|
self._StartTime = params.get("StartTime")
|
21815
21899
|
self._EndTime = params.get("EndTime")
|
21900
|
+
self._DescribeType = params.get("DescribeType")
|
21816
21901
|
memeber_set = set(params.keys())
|
21817
21902
|
for name, value in vars(self).items():
|
21818
21903
|
property_name = name[1:]
|
@@ -2231,7 +2231,7 @@ class CreateDomainRedemptionRequest(AbstractModel):
|
|
2231
2231
|
def __init__(self):
|
2232
2232
|
r"""
|
2233
2233
|
:param _DomainId: 域名ID
|
2234
|
-
可通过
|
2234
|
+
可通过[DescribeDomainNameList](https://cloud.tencent.com/document/api/242/48941)接口获取
|
2235
2235
|
:type DomainId: str
|
2236
2236
|
"""
|
2237
2237
|
self._DomainId = None
|
@@ -2239,7 +2239,7 @@ class CreateDomainRedemptionRequest(AbstractModel):
|
|
2239
2239
|
@property
|
2240
2240
|
def DomainId(self):
|
2241
2241
|
"""域名ID
|
2242
|
-
可通过
|
2242
|
+
可通过[DescribeDomainNameList](https://cloud.tencent.com/document/api/242/48941)接口获取
|
2243
2243
|
:rtype: str
|
2244
2244
|
"""
|
2245
2245
|
return self._DomainId
|
@@ -20,6 +20,9 @@ FAILEDOPERATION = 'FailedOperation'
|
|
20
20
|
# 操作失败。
|
21
21
|
FAILEDOPERATION_CHECKIFSUPPORTPODSTRETCH = 'FailedOperation.CheckIfSupportPodStretch'
|
22
22
|
|
23
|
+
# DB异常
|
24
|
+
FAILEDOPERATION_DBEXCEPTION = 'FailedOperation.DBException'
|
25
|
+
|
23
26
|
# 拉取资源标签失败
|
24
27
|
FAILEDOPERATION_DESCRIBERESOURCETAGSFAILED = 'FailedOperation.DescribeResourceTagsFailed'
|
25
28
|
|
@@ -461,9 +464,15 @@ LIMITEXCEEDED_PODCPULIMITEXCEEDEDNODEAVAILABLECPU = 'LimitExceeded.PodCpuLimitEx
|
|
461
464
|
# Pod 内存请求数量超过集群限制。
|
462
465
|
LIMITEXCEEDED_PODMEMORYLIMITEXCEEDEDAVAILABLEMEMORY = 'LimitExceeded.PodMemoryLimitExceededAvailableMemory'
|
463
466
|
|
467
|
+
# 请求已经积压并超过了限制
|
468
|
+
LIMITEXCEEDED_REQUESTBACKLOGEXCEEDSLIMIT = 'LimitExceeded.RequestBacklogExceedsLimit'
|
469
|
+
|
464
470
|
# 安全组数量超过限制。
|
465
471
|
LIMITEXCEEDED_SECURITYGROUPNUMLIMITEXCEEDED = 'LimitExceeded.SecurityGroupNumLimitExceeded'
|
466
472
|
|
473
|
+
# 用户数量超过了限制
|
474
|
+
LIMITEXCEEDED_USERCOUNTEXCEEDSLIMIT = 'LimitExceeded.UserCountExceedsLimit'
|
475
|
+
|
467
476
|
# 缺少参数错误。
|
468
477
|
MISSINGPARAMETER = 'MissingParameter'
|
469
478
|
|
@@ -406,11 +406,14 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
406
406
|
:param _FailedUserList: 添加失败的用户列表
|
407
407
|
注意:此字段可能返回 null,表示取不到有效值。
|
408
408
|
:type FailedUserList: list of str
|
409
|
+
:param _FlowId: 流程id。大于0表示启动了流程;等于0表示没有启动流程
|
410
|
+
:type FlowId: int
|
409
411
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
410
412
|
:type RequestId: str
|
411
413
|
"""
|
412
414
|
self._SuccessUserList = None
|
413
415
|
self._FailedUserList = None
|
416
|
+
self._FlowId = None
|
414
417
|
self._RequestId = None
|
415
418
|
|
416
419
|
@property
|
@@ -437,6 +440,17 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
437
440
|
def FailedUserList(self, FailedUserList):
|
438
441
|
self._FailedUserList = FailedUserList
|
439
442
|
|
443
|
+
@property
|
444
|
+
def FlowId(self):
|
445
|
+
"""流程id。大于0表示启动了流程;等于0表示没有启动流程
|
446
|
+
:rtype: int
|
447
|
+
"""
|
448
|
+
return self._FlowId
|
449
|
+
|
450
|
+
@FlowId.setter
|
451
|
+
def FlowId(self, FlowId):
|
452
|
+
self._FlowId = FlowId
|
453
|
+
|
440
454
|
@property
|
441
455
|
def RequestId(self):
|
442
456
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -452,6 +466,7 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
452
466
|
def _deserialize(self, params):
|
453
467
|
self._SuccessUserList = params.get("SuccessUserList")
|
454
468
|
self._FailedUserList = params.get("FailedUserList")
|
469
|
+
self._FlowId = params.get("FlowId")
|
455
470
|
self._RequestId = params.get("RequestId")
|
456
471
|
|
457
472
|
|
@@ -223,29 +223,6 @@ class EsClient(AbstractClient):
|
|
223
223
|
model = models.RunRerankResponse()
|
224
224
|
model._deserialize(response["Response"])
|
225
225
|
return model
|
226
|
-
except Exception as e:
|
227
|
-
if isinstance(e, TencentCloudSDKException):
|
228
|
-
raise
|
229
|
-
else:
|
230
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
231
|
-
|
232
|
-
|
233
|
-
def WebSearch(self, request):
|
234
|
-
"""WebSearch API 是一个网页搜索服务,支持多种搜索引擎,可以获取网页的标题、URL、摘要和正文内容。
|
235
|
-
|
236
|
-
:param request: Request instance for WebSearch.
|
237
|
-
:type request: :class:`tencentcloud.es.v20250101.models.WebSearchRequest`
|
238
|
-
:rtype: :class:`tencentcloud.es.v20250101.models.WebSearchResponse`
|
239
|
-
|
240
|
-
"""
|
241
|
-
try:
|
242
|
-
params = request._serialize()
|
243
|
-
headers = request.headers
|
244
|
-
body = self.call("WebSearch", params, headers=headers)
|
245
|
-
response = json.loads(body)
|
246
|
-
model = models.WebSearchResponse()
|
247
|
-
model._deserialize(response["Response"])
|
248
|
-
return model
|
249
226
|
except Exception as e:
|
250
227
|
if isinstance(e, TencentCloudSDKException):
|
251
228
|
raise
|