tencentcloud-sdk-python 3.0.1165__py2.py3-none-any.whl → 3.0.1167__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/asr/v20190614/asr_client.py +8 -7
- tencentcloud/asr/v20190614/models.py +9 -3
- tencentcloud/billing/v20180709/models.py +2 -2
- tencentcloud/cam/v20190116/cam_client.py +23 -0
- tencentcloud/cam/v20190116/errorcodes.py +12 -0
- tencentcloud/cam/v20190116/models.py +197 -0
- tencentcloud/cat/v20180409/models.py +13 -0
- tencentcloud/ccc/v20200210/models.py +1 -1
- tencentcloud/cds/v20180420/cds_client.py +3 -1
- tencentcloud/cls/v20201016/models.py +37 -0
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +6 -6
- tencentcloud/dsgc/v20190723/models.py +12 -0
- tencentcloud/dts/v20180330/dts_client.py +3 -1
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +556 -0
- tencentcloud/ess/v20201111/ess_client.py +3 -4
- tencentcloud/ess/v20201111/models.py +19 -4
- tencentcloud/essbasic/v20210526/essbasic_client.py +7 -8
- tencentcloud/essbasic/v20210526/models.py +22 -4
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +0 -48
- tencentcloud/hunyuan/v20230901/models.py +0 -444
- tencentcloud/iotexplorer/v20190423/models.py +12 -0
- tencentcloud/mongodb/v20190725/models.py +487 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +92 -0
- tencentcloud/monitor/v20180724/monitor_client.py +5 -3
- tencentcloud/tmt/v20180321/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/waf/v20180125/models.py +139 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1165.dist-info → tencentcloud_sdk_python-3.0.1167.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1165.dist-info → tencentcloud_sdk_python-3.0.1167.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1165.dist-info → tencentcloud_sdk_python-3.0.1167.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1165.dist-info → tencentcloud_sdk_python-3.0.1167.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1165.dist-info → tencentcloud_sdk_python-3.0.1167.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -140,7 +140,7 @@ class AsrClient(AbstractClient):
|
|
140
140
|
• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL并提交任务,此种方式将不产生外网和流量下行费用,可节约成本、提升任务速度(COS桶权限需要设置公有读私有写,或URL设置外部可访问)
|
141
141
|
• 音频限制:音频 URL 时长不能大于5小时,文件大小不超过1GB;本地音频文件不能大于5MB
|
142
142
|
• 如何获取识别结果:支持**回调或轮询**的方式获取结果,具体请参考 [录音文件识别结果查询](https://cloud.tencent.com/document/product/1093/37822)
|
143
|
-
•
|
143
|
+
• 识别结果有效时间:识别结果在服务端保存24小时
|
144
144
|
• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法 v3
|
145
145
|
|
146
146
|
:param request: Request instance for CreateRecTask.
|
@@ -234,12 +234,13 @@ class AsrClient(AbstractClient):
|
|
234
234
|
|
235
235
|
|
236
236
|
def DescribeTaskStatus(self, request):
|
237
|
-
"""
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
237
|
+
"""调用录音文件识别请求接口后,有回调和轮询两种方式获取识别结果。
|
238
|
+
• **注意任务有效期为24小时,超过24小时的任务请不要再查询,且不要依赖TaskId作为业务唯一ID,不同日期可能出现重复TaskId。**
|
239
|
+
• 当采用回调方式时,识别完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见[ 录音识别结果回调 ](https://cloud.tencent.com/document/product/1093/52632)。
|
240
|
+
• 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见下文说明。
|
241
|
+
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
242
|
+
• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
|
243
|
+
• 默认接口请求频率限制:50次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
|
243
244
|
|
244
245
|
:param request: Request instance for DescribeTaskStatus.
|
245
246
|
:type request: :class:`tencentcloud.asr.v20190614.models.DescribeTaskStatusRequest`
|
@@ -675,7 +675,9 @@ class CreateRecTaskRequest(AbstractModel):
|
|
675
675
|
回调格式和内容详见:[录音识别回调说明](https://cloud.tencent.com/document/product/1093/52632)
|
676
676
|
|
677
677
|
注意:
|
678
|
-
|
678
|
+
|
679
|
+
- 如果用户使用轮询方式获取识别结果,则无需提交该参数
|
680
|
+
- 建议在回调URL中带上您的业务ID等信息,以便处理业务逻辑
|
679
681
|
:type CallbackUrl: str
|
680
682
|
:param _SpeakerDiarization: 是否开启说话人分离
|
681
683
|
0:不开启;
|
@@ -991,7 +993,9 @@ class CreateRecTaskResponse(AbstractModel):
|
|
991
993
|
|
992
994
|
def __init__(self):
|
993
995
|
r"""
|
994
|
-
:param _Data: 录音文件识别的请求返回结果,包含结果查询需要的TaskId
|
996
|
+
:param _Data: 录音文件识别的请求返回结果,包含结果查询需要的TaskId。
|
997
|
+
**注意:TaskId有效期为24小时,不同日期可能出现重复TaskId,请不要依赖TaskId作为您业务系统里的唯一ID。**
|
998
|
+
|
995
999
|
:type Data: :class:`tencentcloud.asr.v20190614.models.Task`
|
996
1000
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
997
1001
|
:type RequestId: str
|
@@ -1193,6 +1197,7 @@ class DescribeTaskStatusRequest(AbstractModel):
|
|
1193
1197
|
def __init__(self):
|
1194
1198
|
r"""
|
1195
1199
|
:param _TaskId: 从CreateRecTask接口获取的TaskId,用于获取任务状态与结果。
|
1200
|
+
**注意:TaskId有效期为24小时,超过24小时的TaskId请不要再查询。**
|
1196
1201
|
:type TaskId: int
|
1197
1202
|
"""
|
1198
1203
|
self._TaskId = None
|
@@ -2970,7 +2975,8 @@ class Task(AbstractModel):
|
|
2970
2975
|
|
2971
2976
|
def __init__(self):
|
2972
2977
|
r"""
|
2973
|
-
:param _TaskId: 任务ID,可通过此ID
|
2978
|
+
:param _TaskId: 任务ID,可通过此ID在轮询接口获取识别状态与结果。TaskId数据类型为**uint64**。
|
2979
|
+
**注意:TaskId有效期为24小时,不同日期可能出现重复TaskId,请不要依赖TaskId作为您业务系统里的唯一ID。**
|
2974
2980
|
:type TaskId: int
|
2975
2981
|
"""
|
2976
2982
|
self._TaskId = None
|
@@ -12095,7 +12095,7 @@ class DescribeAllocationOverviewRequest(AbstractModel):
|
|
12095
12095
|
r"""
|
12096
12096
|
:param _Limit: 数量,最大值为1000
|
12097
12097
|
:type Limit: int
|
12098
|
-
:param _Offset: 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200
|
12098
|
+
:param _Offset: 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,以此类推
|
12099
12099
|
:type Offset: int
|
12100
12100
|
:param _Month: 账单月份,格式为2024-02,不传默认当前月
|
12101
12101
|
:type Month: str
|
@@ -12303,7 +12303,7 @@ class DescribeAllocationSummaryByBusinessRequest(AbstractModel):
|
|
12303
12303
|
r"""
|
12304
12304
|
:param _Limit: 数量,最大值为1000
|
12305
12305
|
:type Limit: int
|
12306
|
-
:param _Offset: 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200
|
12306
|
+
:param _Offset: 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,以此类推
|
12307
12307
|
:type Offset: int
|
12308
12308
|
:param _Month: 账单月份,格式为2024-02,不传默认当前月
|
12309
12309
|
|
@@ -141,6 +141,29 @@ class CamClient(AbstractClient):
|
|
141
141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
142
|
|
143
143
|
|
144
|
+
def BuildDataFlowAuthToken(self, request):
|
145
|
+
"""获取数据流认证Token
|
146
|
+
|
147
|
+
:param request: Request instance for BuildDataFlowAuthToken.
|
148
|
+
:type request: :class:`tencentcloud.cam.v20190116.models.BuildDataFlowAuthTokenRequest`
|
149
|
+
:rtype: :class:`tencentcloud.cam.v20190116.models.BuildDataFlowAuthTokenResponse`
|
150
|
+
|
151
|
+
"""
|
152
|
+
try:
|
153
|
+
params = request._serialize()
|
154
|
+
headers = request.headers
|
155
|
+
body = self.call("BuildDataFlowAuthToken", params, headers=headers)
|
156
|
+
response = json.loads(body)
|
157
|
+
model = models.BuildDataFlowAuthTokenResponse()
|
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
|
+
|
144
167
|
def ConsumeCustomMFAToken(self, request):
|
145
168
|
"""验证自定义多因子Token
|
146
169
|
|
@@ -23,6 +23,12 @@ FAILEDOPERATION = 'FailedOperation'
|
|
23
23
|
# 操作访问密钥错误。
|
24
24
|
FAILEDOPERATION_ACCESSKEY = 'FailedOperation.Accesskey'
|
25
25
|
|
26
|
+
# 生成AuthToken异常。
|
27
|
+
FAILEDOPERATION_BUILDAUTHTOKEN = 'FailedOperation.BuildAuthToken'
|
28
|
+
|
29
|
+
# 凭据操作失败。
|
30
|
+
FAILEDOPERATION_FLOWAUTHILLEGAL = 'FailedOperation.FlowAuthIllegal'
|
31
|
+
|
26
32
|
# 集团策略不允许操作。
|
27
33
|
FAILEDOPERATION_ORGANIZATIONPOLICYOPERATEERROR = 'FailedOperation.OrganizationPolicyOperateError'
|
28
34
|
|
@@ -302,6 +308,9 @@ REQUESTLIMITEXCEEDED_CREATEUSER = 'RequestLimitExceeded.CreateUser'
|
|
302
308
|
# 用户账号超出了限制。
|
303
309
|
REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED = 'RequestLimitExceeded.UinLimitExceeded'
|
304
310
|
|
311
|
+
# 未开启CAM数据流认证。
|
312
|
+
RESOURCENOTFOUND_DATAFLOWAUTHCLOSE = 'ResourceNotFound.DataFlowAuthClose'
|
313
|
+
|
305
314
|
# 用户组不存在。
|
306
315
|
RESOURCENOTFOUND_GROUPNOTEXIST = 'ResourceNotFound.GroupNotExist'
|
307
316
|
|
@@ -320,6 +329,9 @@ RESOURCENOTFOUND_SECRETNOTEXIST = 'ResourceNotFound.SecretNotExist'
|
|
320
329
|
# 用户不存在。
|
321
330
|
RESOURCENOTFOUND_USERNOTEXIST = 'ResourceNotFound.UserNotExist'
|
322
331
|
|
332
|
+
# 凭据信息异常。
|
333
|
+
RESOURCEUNAVAILABLE_FLOWAUTHSECET = 'ResourceUnavailable.FlowAuthSecet'
|
334
|
+
|
323
335
|
# 未授权操作。
|
324
336
|
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
325
337
|
|
@@ -1217,6 +1217,203 @@ class AttachedUserPolicyGroupInfo(AbstractModel):
|
|
1217
1217
|
|
1218
1218
|
|
1219
1219
|
|
1220
|
+
class AuthToken(AbstractModel):
|
1221
|
+
"""认证凭据Token
|
1222
|
+
|
1223
|
+
"""
|
1224
|
+
|
1225
|
+
def __init__(self):
|
1226
|
+
r"""
|
1227
|
+
:param _Token: 认证Token
|
1228
|
+
:type Token: str
|
1229
|
+
:param _CurrentTime: 服务器时间戳
|
1230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1231
|
+
:type CurrentTime: int
|
1232
|
+
:param _NextRotationTime: 毫秒时间戳,根据轮转周期准确计算得到
|
1233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1234
|
+
:type NextRotationTime: int
|
1235
|
+
:param _LastRotationTimeCost: 毫秒,如果轮转失败则为 -1
|
1236
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1237
|
+
:type LastRotationTimeCost: int
|
1238
|
+
:param _RotationStatus: 成功:success
|
1239
|
+
失败:failed
|
1240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1241
|
+
:type RotationStatus: str
|
1242
|
+
:param _RotationMessage: 成功:success
|
1243
|
+
失败:失败信息
|
1244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1245
|
+
:type RotationMessage: str
|
1246
|
+
"""
|
1247
|
+
self._Token = None
|
1248
|
+
self._CurrentTime = None
|
1249
|
+
self._NextRotationTime = None
|
1250
|
+
self._LastRotationTimeCost = None
|
1251
|
+
self._RotationStatus = None
|
1252
|
+
self._RotationMessage = None
|
1253
|
+
|
1254
|
+
@property
|
1255
|
+
def Token(self):
|
1256
|
+
return self._Token
|
1257
|
+
|
1258
|
+
@Token.setter
|
1259
|
+
def Token(self, Token):
|
1260
|
+
self._Token = Token
|
1261
|
+
|
1262
|
+
@property
|
1263
|
+
def CurrentTime(self):
|
1264
|
+
return self._CurrentTime
|
1265
|
+
|
1266
|
+
@CurrentTime.setter
|
1267
|
+
def CurrentTime(self, CurrentTime):
|
1268
|
+
self._CurrentTime = CurrentTime
|
1269
|
+
|
1270
|
+
@property
|
1271
|
+
def NextRotationTime(self):
|
1272
|
+
return self._NextRotationTime
|
1273
|
+
|
1274
|
+
@NextRotationTime.setter
|
1275
|
+
def NextRotationTime(self, NextRotationTime):
|
1276
|
+
self._NextRotationTime = NextRotationTime
|
1277
|
+
|
1278
|
+
@property
|
1279
|
+
def LastRotationTimeCost(self):
|
1280
|
+
return self._LastRotationTimeCost
|
1281
|
+
|
1282
|
+
@LastRotationTimeCost.setter
|
1283
|
+
def LastRotationTimeCost(self, LastRotationTimeCost):
|
1284
|
+
self._LastRotationTimeCost = LastRotationTimeCost
|
1285
|
+
|
1286
|
+
@property
|
1287
|
+
def RotationStatus(self):
|
1288
|
+
return self._RotationStatus
|
1289
|
+
|
1290
|
+
@RotationStatus.setter
|
1291
|
+
def RotationStatus(self, RotationStatus):
|
1292
|
+
self._RotationStatus = RotationStatus
|
1293
|
+
|
1294
|
+
@property
|
1295
|
+
def RotationMessage(self):
|
1296
|
+
return self._RotationMessage
|
1297
|
+
|
1298
|
+
@RotationMessage.setter
|
1299
|
+
def RotationMessage(self, RotationMessage):
|
1300
|
+
self._RotationMessage = RotationMessage
|
1301
|
+
|
1302
|
+
|
1303
|
+
def _deserialize(self, params):
|
1304
|
+
self._Token = params.get("Token")
|
1305
|
+
self._CurrentTime = params.get("CurrentTime")
|
1306
|
+
self._NextRotationTime = params.get("NextRotationTime")
|
1307
|
+
self._LastRotationTimeCost = params.get("LastRotationTimeCost")
|
1308
|
+
self._RotationStatus = params.get("RotationStatus")
|
1309
|
+
self._RotationMessage = params.get("RotationMessage")
|
1310
|
+
memeber_set = set(params.keys())
|
1311
|
+
for name, value in vars(self).items():
|
1312
|
+
property_name = name[1:]
|
1313
|
+
if property_name in memeber_set:
|
1314
|
+
memeber_set.remove(property_name)
|
1315
|
+
if len(memeber_set) > 0:
|
1316
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1317
|
+
|
1318
|
+
|
1319
|
+
|
1320
|
+
class BuildDataFlowAuthTokenRequest(AbstractModel):
|
1321
|
+
"""BuildDataFlowAuthToken请求参数结构体
|
1322
|
+
|
1323
|
+
"""
|
1324
|
+
|
1325
|
+
def __init__(self):
|
1326
|
+
r"""
|
1327
|
+
:param _ResourceId: 资源ID
|
1328
|
+
:type ResourceId: str
|
1329
|
+
:param _ResourceRegion: 资源地域
|
1330
|
+
:type ResourceRegion: str
|
1331
|
+
:param _ResourceAccount: 资源用户名
|
1332
|
+
:type ResourceAccount: str
|
1333
|
+
"""
|
1334
|
+
self._ResourceId = None
|
1335
|
+
self._ResourceRegion = None
|
1336
|
+
self._ResourceAccount = None
|
1337
|
+
|
1338
|
+
@property
|
1339
|
+
def ResourceId(self):
|
1340
|
+
return self._ResourceId
|
1341
|
+
|
1342
|
+
@ResourceId.setter
|
1343
|
+
def ResourceId(self, ResourceId):
|
1344
|
+
self._ResourceId = ResourceId
|
1345
|
+
|
1346
|
+
@property
|
1347
|
+
def ResourceRegion(self):
|
1348
|
+
return self._ResourceRegion
|
1349
|
+
|
1350
|
+
@ResourceRegion.setter
|
1351
|
+
def ResourceRegion(self, ResourceRegion):
|
1352
|
+
self._ResourceRegion = ResourceRegion
|
1353
|
+
|
1354
|
+
@property
|
1355
|
+
def ResourceAccount(self):
|
1356
|
+
return self._ResourceAccount
|
1357
|
+
|
1358
|
+
@ResourceAccount.setter
|
1359
|
+
def ResourceAccount(self, ResourceAccount):
|
1360
|
+
self._ResourceAccount = ResourceAccount
|
1361
|
+
|
1362
|
+
|
1363
|
+
def _deserialize(self, params):
|
1364
|
+
self._ResourceId = params.get("ResourceId")
|
1365
|
+
self._ResourceRegion = params.get("ResourceRegion")
|
1366
|
+
self._ResourceAccount = params.get("ResourceAccount")
|
1367
|
+
memeber_set = set(params.keys())
|
1368
|
+
for name, value in vars(self).items():
|
1369
|
+
property_name = name[1:]
|
1370
|
+
if property_name in memeber_set:
|
1371
|
+
memeber_set.remove(property_name)
|
1372
|
+
if len(memeber_set) > 0:
|
1373
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1374
|
+
|
1375
|
+
|
1376
|
+
|
1377
|
+
class BuildDataFlowAuthTokenResponse(AbstractModel):
|
1378
|
+
"""BuildDataFlowAuthToken返回参数结构体
|
1379
|
+
|
1380
|
+
"""
|
1381
|
+
|
1382
|
+
def __init__(self):
|
1383
|
+
r"""
|
1384
|
+
:param _Credentials: 认证凭据AuthToken信息
|
1385
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1386
|
+
:type Credentials: :class:`tencentcloud.cam.v20190116.models.AuthToken`
|
1387
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1388
|
+
:type RequestId: str
|
1389
|
+
"""
|
1390
|
+
self._Credentials = None
|
1391
|
+
self._RequestId = None
|
1392
|
+
|
1393
|
+
@property
|
1394
|
+
def Credentials(self):
|
1395
|
+
return self._Credentials
|
1396
|
+
|
1397
|
+
@Credentials.setter
|
1398
|
+
def Credentials(self, Credentials):
|
1399
|
+
self._Credentials = Credentials
|
1400
|
+
|
1401
|
+
@property
|
1402
|
+
def RequestId(self):
|
1403
|
+
return self._RequestId
|
1404
|
+
|
1405
|
+
@RequestId.setter
|
1406
|
+
def RequestId(self, RequestId):
|
1407
|
+
self._RequestId = RequestId
|
1408
|
+
|
1409
|
+
|
1410
|
+
def _deserialize(self, params):
|
1411
|
+
if params.get("Credentials") is not None:
|
1412
|
+
self._Credentials = AuthToken()
|
1413
|
+
self._Credentials._deserialize(params.get("Credentials"))
|
1414
|
+
self._RequestId = params.get("RequestId")
|
1415
|
+
|
1416
|
+
|
1220
1417
|
class ConsumeCustomMFATokenRequest(AbstractModel):
|
1221
1418
|
"""ConsumeCustomMFAToken请求参数结构体
|
1222
1419
|
|
@@ -2006,6 +2006,9 @@ class ProbeTask(AbstractModel):
|
|
2006
2006
|
:param _TagInfoList: 任务当前绑定的标签
|
2007
2007
|
注意:此字段可能返回 null,表示取不到有效值。
|
2008
2008
|
:type TagInfoList: list of KeyValuePair
|
2009
|
+
:param _SubSyncFlag: 是否为同步账号
|
2010
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2011
|
+
:type SubSyncFlag: int
|
2009
2012
|
"""
|
2010
2013
|
self._Name = None
|
2011
2014
|
self._TaskId = None
|
@@ -2023,6 +2026,7 @@ class ProbeTask(AbstractModel):
|
|
2023
2026
|
self._Cron = None
|
2024
2027
|
self._CronState = None
|
2025
2028
|
self._TagInfoList = None
|
2029
|
+
self._SubSyncFlag = None
|
2026
2030
|
|
2027
2031
|
@property
|
2028
2032
|
def Name(self):
|
@@ -2152,6 +2156,14 @@ class ProbeTask(AbstractModel):
|
|
2152
2156
|
def TagInfoList(self, TagInfoList):
|
2153
2157
|
self._TagInfoList = TagInfoList
|
2154
2158
|
|
2159
|
+
@property
|
2160
|
+
def SubSyncFlag(self):
|
2161
|
+
return self._SubSyncFlag
|
2162
|
+
|
2163
|
+
@SubSyncFlag.setter
|
2164
|
+
def SubSyncFlag(self, SubSyncFlag):
|
2165
|
+
self._SubSyncFlag = SubSyncFlag
|
2166
|
+
|
2155
2167
|
|
2156
2168
|
def _deserialize(self, params):
|
2157
2169
|
self._Name = params.get("Name")
|
@@ -2175,6 +2187,7 @@ class ProbeTask(AbstractModel):
|
|
2175
2187
|
obj = KeyValuePair()
|
2176
2188
|
obj._deserialize(item)
|
2177
2189
|
self._TagInfoList.append(obj)
|
2190
|
+
self._SubSyncFlag = params.get("SubSyncFlag")
|
2178
2191
|
memeber_set = set(params.keys())
|
2179
2192
|
for name, value in vars(self).items():
|
2180
2193
|
property_name = name[1:]
|
@@ -1595,7 +1595,7 @@ class CreateAutoCalloutTaskRequest(AbstractModel):
|
|
1595
1595
|
:type Description: str
|
1596
1596
|
:param _NotAfter: 任务停止时间戳,Unix 秒级时间戳
|
1597
1597
|
:type NotAfter: int
|
1598
|
-
:param _Tries:
|
1598
|
+
:param _Tries: 最大尝试次数,1-3 次
|
1599
1599
|
:type Tries: int
|
1600
1600
|
:param _Variables: 自定义变量(仅高级版支持)
|
1601
1601
|
:type Variables: list of Variable
|
@@ -27,7 +27,9 @@ class CdsClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def DescribeDasbImageIds(self, request):
|
30
|
-
"""
|
30
|
+
"""这些接口是传统版堡垒机接口.数审未用到,堡垒机的已全部迁移到dasb下,cds这边预下线
|
31
|
+
|
32
|
+
获取镜像列表
|
31
33
|
|
32
34
|
:param request: Request instance for DescribeDasbImageIds.
|
33
35
|
:type request: :class:`tencentcloud.cds.v20180420.models.DescribeDasbImageIdsRequest`
|
@@ -5147,6 +5147,8 @@ class CreateExportRequest(AbstractModel):
|
|
5147
5147
|
:param _SyntaxRule: 语法规则, 默认值为0。
|
5148
5148
|
0:Lucene语法,1:CQL语法。
|
5149
5149
|
:type SyntaxRule: int
|
5150
|
+
:param _DerivedFields: 导出字段
|
5151
|
+
:type DerivedFields: list of str
|
5150
5152
|
"""
|
5151
5153
|
self._TopicId = None
|
5152
5154
|
self._Count = None
|
@@ -5156,6 +5158,7 @@ class CreateExportRequest(AbstractModel):
|
|
5156
5158
|
self._Order = None
|
5157
5159
|
self._Format = None
|
5158
5160
|
self._SyntaxRule = None
|
5161
|
+
self._DerivedFields = None
|
5159
5162
|
|
5160
5163
|
@property
|
5161
5164
|
def TopicId(self):
|
@@ -5221,6 +5224,14 @@ class CreateExportRequest(AbstractModel):
|
|
5221
5224
|
def SyntaxRule(self, SyntaxRule):
|
5222
5225
|
self._SyntaxRule = SyntaxRule
|
5223
5226
|
|
5227
|
+
@property
|
5228
|
+
def DerivedFields(self):
|
5229
|
+
return self._DerivedFields
|
5230
|
+
|
5231
|
+
@DerivedFields.setter
|
5232
|
+
def DerivedFields(self, DerivedFields):
|
5233
|
+
self._DerivedFields = DerivedFields
|
5234
|
+
|
5224
5235
|
|
5225
5236
|
def _deserialize(self, params):
|
5226
5237
|
self._TopicId = params.get("TopicId")
|
@@ -5231,6 +5242,7 @@ class CreateExportRequest(AbstractModel):
|
|
5231
5242
|
self._Order = params.get("Order")
|
5232
5243
|
self._Format = params.get("Format")
|
5233
5244
|
self._SyntaxRule = params.get("SyntaxRule")
|
5245
|
+
self._DerivedFields = params.get("DerivedFields")
|
5234
5246
|
memeber_set = set(params.keys())
|
5235
5247
|
for name, value in vars(self).items():
|
5236
5248
|
property_name = name[1:]
|
@@ -11931,6 +11943,9 @@ class ExportInfo(AbstractModel):
|
|
11931
11943
|
:param _SyntaxRule: 语法规则。 默认值为0。
|
11932
11944
|
0:Lucene语法,1:CQL语法。
|
11933
11945
|
:type SyntaxRule: int
|
11946
|
+
:param _DerivedFields: 导出字段
|
11947
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11948
|
+
:type DerivedFields: list of str
|
11934
11949
|
"""
|
11935
11950
|
self._TopicId = None
|
11936
11951
|
self._ExportId = None
|
@@ -11946,6 +11961,7 @@ class ExportInfo(AbstractModel):
|
|
11946
11961
|
self._CosPath = None
|
11947
11962
|
self._CreateTime = None
|
11948
11963
|
self._SyntaxRule = None
|
11964
|
+
self._DerivedFields = None
|
11949
11965
|
|
11950
11966
|
@property
|
11951
11967
|
def TopicId(self):
|
@@ -12059,6 +12075,14 @@ class ExportInfo(AbstractModel):
|
|
12059
12075
|
def SyntaxRule(self, SyntaxRule):
|
12060
12076
|
self._SyntaxRule = SyntaxRule
|
12061
12077
|
|
12078
|
+
@property
|
12079
|
+
def DerivedFields(self):
|
12080
|
+
return self._DerivedFields
|
12081
|
+
|
12082
|
+
@DerivedFields.setter
|
12083
|
+
def DerivedFields(self, DerivedFields):
|
12084
|
+
self._DerivedFields = DerivedFields
|
12085
|
+
|
12062
12086
|
|
12063
12087
|
def _deserialize(self, params):
|
12064
12088
|
self._TopicId = params.get("TopicId")
|
@@ -12075,6 +12099,7 @@ class ExportInfo(AbstractModel):
|
|
12075
12099
|
self._CosPath = params.get("CosPath")
|
12076
12100
|
self._CreateTime = params.get("CreateTime")
|
12077
12101
|
self._SyntaxRule = params.get("SyntaxRule")
|
12102
|
+
self._DerivedFields = params.get("DerivedFields")
|
12078
12103
|
memeber_set = set(params.keys())
|
12079
12104
|
for name, value in vars(self).items():
|
12080
12105
|
property_name = name[1:]
|
@@ -17503,6 +17528,8 @@ class ModifyTopicRequest(AbstractModel):
|
|
17503
17528
|
:param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
|
17504
17529
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
17505
17530
|
:type IsWebTracking: bool
|
17531
|
+
:param _PartitionCount: 日志主题分区数量
|
17532
|
+
:type PartitionCount: int
|
17506
17533
|
"""
|
17507
17534
|
self._TopicId = None
|
17508
17535
|
self._TopicName = None
|
@@ -17514,6 +17541,7 @@ class ModifyTopicRequest(AbstractModel):
|
|
17514
17541
|
self._Describes = None
|
17515
17542
|
self._HotPeriod = None
|
17516
17543
|
self._IsWebTracking = None
|
17544
|
+
self._PartitionCount = None
|
17517
17545
|
|
17518
17546
|
@property
|
17519
17547
|
def TopicId(self):
|
@@ -17595,6 +17623,14 @@ class ModifyTopicRequest(AbstractModel):
|
|
17595
17623
|
def IsWebTracking(self, IsWebTracking):
|
17596
17624
|
self._IsWebTracking = IsWebTracking
|
17597
17625
|
|
17626
|
+
@property
|
17627
|
+
def PartitionCount(self):
|
17628
|
+
return self._PartitionCount
|
17629
|
+
|
17630
|
+
@PartitionCount.setter
|
17631
|
+
def PartitionCount(self, PartitionCount):
|
17632
|
+
self._PartitionCount = PartitionCount
|
17633
|
+
|
17598
17634
|
|
17599
17635
|
def _deserialize(self, params):
|
17600
17636
|
self._TopicId = params.get("TopicId")
|
@@ -17612,6 +17648,7 @@ class ModifyTopicRequest(AbstractModel):
|
|
17612
17648
|
self._Describes = params.get("Describes")
|
17613
17649
|
self._HotPeriod = params.get("HotPeriod")
|
17614
17650
|
self._IsWebTracking = params.get("IsWebTracking")
|
17651
|
+
self._PartitionCount = params.get("PartitionCount")
|
17615
17652
|
memeber_set = set(params.keys())
|
17616
17653
|
for name, value in vars(self).items():
|
17617
17654
|
property_name = name[1:]
|
@@ -293,6 +293,9 @@ RESOURCENOTFOUND_DOMAINNOTFOUND = 'ResourceNotFound.DomainNotFound'
|
|
293
293
|
# 模板信息有误,请输入正确的信息。
|
294
294
|
RESOURCENOTFOUND_TEMPLATENOTFOUND = 'ResourceNotFound.TemplateNotFound'
|
295
295
|
|
296
|
+
# 模板不支持
|
297
|
+
RESOURCENOTFOUND_TEMPLATETOBESUPPLEMENTED = 'ResourceNotFound.TemplateToBeSupplemented'
|
298
|
+
|
296
299
|
# 该域名已有同类型操作未完成,无法执行该操作。
|
297
300
|
RESOURCEUNAVAILABLE_DOMAINISMODIFYINGDNS = 'ResourceUnavailable.DomainIsModifyingDNS'
|
298
301
|
|
@@ -100,7 +100,7 @@ class BatchModifyDomainInfoRequest(AbstractModel):
|
|
100
100
|
r"""
|
101
101
|
:param _Domains: 批量修改的域名。
|
102
102
|
:type Domains: list of str
|
103
|
-
:param _TemplateId: 模板ID
|
103
|
+
:param _TemplateId: 模板ID(可从模板列表接口获取)
|
104
104
|
:type TemplateId: str
|
105
105
|
:param _LockTransfer: true: 开启60天内禁止转移注册商锁定
|
106
106
|
false:关闭60天内禁止转移注册商锁定
|
@@ -1885,7 +1885,7 @@ class CreatePhoneEmailRequest(AbstractModel):
|
|
1885
1885
|
:type Code: str
|
1886
1886
|
:param _Type: 1:手机 2:邮箱
|
1887
1887
|
:type Type: int
|
1888
|
-
:param _VerifyCode: 验证码
|
1888
|
+
:param _VerifyCode: 验证码(通过SendPhoneEmailCode发送到手机或邮箱的验证码)
|
1889
1889
|
:type VerifyCode: str
|
1890
1890
|
"""
|
1891
1891
|
self._Code = None
|
@@ -2364,7 +2364,7 @@ class DeleteTemplateRequest(AbstractModel):
|
|
2364
2364
|
|
2365
2365
|
def __init__(self):
|
2366
2366
|
r"""
|
2367
|
-
:param _TemplateId: 模板ID
|
2367
|
+
:param _TemplateId: 模板ID(可通过模板信息列表获取)
|
2368
2368
|
:type TemplateId: str
|
2369
2369
|
"""
|
2370
2370
|
self._TemplateId = None
|
@@ -3784,7 +3784,7 @@ class DescribeCustomDnsHostSetRequest(AbstractModel):
|
|
3784
3784
|
|
3785
3785
|
def __init__(self):
|
3786
3786
|
r"""
|
3787
|
-
:param _DomainId: 域名实例ID
|
3787
|
+
:param _DomainId: 域名实例ID(域名基本信息或我的域名列表接口可获取)
|
3788
3788
|
:type DomainId: str
|
3789
3789
|
:param _Limit: 返回数量,默认为20,取值范围[1,100]
|
3790
3790
|
:type Limit: int
|
@@ -4618,9 +4618,9 @@ class DescribePreDomainListRequest(AbstractModel):
|
|
4618
4618
|
|
4619
4619
|
def __init__(self):
|
4620
4620
|
r"""
|
4621
|
-
:param _Page:
|
4621
|
+
:param _Page: 页码,默认为1
|
4622
4622
|
:type Page: int
|
4623
|
-
:param _Size:
|
4623
|
+
:param _Size: 条数,默认为20
|
4624
4624
|
:type Size: int
|
4625
4625
|
:param _EndTime: 用于结束时间筛选
|
4626
4626
|
:type EndTime: str
|
@@ -21510,11 +21510,14 @@ ResourceRegion 资源所在地域
|
|
21510
21510
|
DataSourceType 数据源类型,不填默认过滤非自建的所有关系型数据源类型,填selfbuilt-db只过滤自建类型
|
21511
21511
|
注意:每个name默认支持最多5个values。
|
21512
21512
|
:type Filters: list of Filter
|
21513
|
+
:param _CasbId: casbId
|
21514
|
+
:type CasbId: str
|
21513
21515
|
"""
|
21514
21516
|
self._DspaId = None
|
21515
21517
|
self._ComplianceId = None
|
21516
21518
|
self._MetaDataType = None
|
21517
21519
|
self._Filters = None
|
21520
|
+
self._CasbId = None
|
21518
21521
|
|
21519
21522
|
@property
|
21520
21523
|
def DspaId(self):
|
@@ -21548,6 +21551,14 @@ DataSourceType 数据源类型,不填默认过滤非自建的所有关系型
|
|
21548
21551
|
def Filters(self, Filters):
|
21549
21552
|
self._Filters = Filters
|
21550
21553
|
|
21554
|
+
@property
|
21555
|
+
def CasbId(self):
|
21556
|
+
return self._CasbId
|
21557
|
+
|
21558
|
+
@CasbId.setter
|
21559
|
+
def CasbId(self, CasbId):
|
21560
|
+
self._CasbId = CasbId
|
21561
|
+
|
21551
21562
|
|
21552
21563
|
def _deserialize(self, params):
|
21553
21564
|
self._DspaId = params.get("DspaId")
|
@@ -21559,6 +21570,7 @@ DataSourceType 数据源类型,不填默认过滤非自建的所有关系型
|
|
21559
21570
|
obj = Filter()
|
21560
21571
|
obj._deserialize(item)
|
21561
21572
|
self._Filters.append(obj)
|
21573
|
+
self._CasbId = params.get("CasbId")
|
21562
21574
|
memeber_set = set(params.keys())
|
21563
21575
|
for name, value in vars(self).items():
|
21564
21576
|
property_name = name[1:]
|
@@ -245,7 +245,9 @@ class DtsClient(AbstractClient):
|
|
245
245
|
|
246
246
|
|
247
247
|
def DescribeRegionConf(self, request):
|
248
|
-
"""
|
248
|
+
"""接口不再使用
|
249
|
+
|
250
|
+
本接口(DescribeRegionConf)用于查询可售卖订阅实例的地域
|
249
251
|
|
250
252
|
:param request: Request instance for DescribeRegionConf.
|
251
253
|
:type request: :class:`tencentcloud.dts.v20180330.models.DescribeRegionConfRequest`
|