tencentcloud-sdk-python 3.0.1247__py2.py3-none-any.whl → 3.0.1249__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/cbs/v20170312/models.py +3 -3
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwch/v20200915/models.py +26 -0
- tencentcloud/clb/v20180317/models.py +10 -5
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
- tencentcloud/cynosdb/v20190107/models.py +146 -0
- tencentcloud/dsgc/v20190723/models.py +190 -26
- tencentcloud/ess/v20201111/ess_client.py +8 -15
- tencentcloud/ess/v20201111/models.py +98 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -15
- tencentcloud/essbasic/v20210526/models.py +144 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +6 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +293 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/models.py +25 -0
- tencentcloud/lke/v20231130/models.py +1 -2
- tencentcloud/mongodb/v20190725/models.py +3 -4
- tencentcloud/mps/v20190612/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +981 -17
- tencentcloud/mps/v20190612/mps_client.py +93 -0
- tencentcloud/oceanus/v20190422/models.py +146 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +98 -1
- tencentcloud/redis/v20180412/redis_client.py +24 -1
- tencentcloud/tcss/v20201101/tcss_client.py +15 -5
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- tencentcloud/tms/v20201229/models.py +1 -1
- tencentcloud/trtc/v20190722/models.py +24 -5
- tencentcloud/waf/v20180125/models.py +1456 -515
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/RECORD +37 -37
- {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1247.dist-info → tencentcloud_sdk_python-3.0.1249.dist-info}/top_level.txt +0 -0
@@ -474,6 +474,53 @@ class MpsClient(AbstractClient):
|
|
474
474
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
475
475
|
|
476
476
|
|
477
|
+
def CreateVideoDatabaseEntryTask(self, request):
|
478
|
+
"""对URL链接或COS中的视频发起入库任务。
|
479
|
+
可选在任务完成后向回调方发送任务完成状态信息。
|
480
|
+
|
481
|
+
:param request: Request instance for CreateVideoDatabaseEntryTask.
|
482
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.CreateVideoDatabaseEntryTaskRequest`
|
483
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CreateVideoDatabaseEntryTaskResponse`
|
484
|
+
|
485
|
+
"""
|
486
|
+
try:
|
487
|
+
params = request._serialize()
|
488
|
+
headers = request.headers
|
489
|
+
body = self.call("CreateVideoDatabaseEntryTask", params, headers=headers)
|
490
|
+
response = json.loads(body)
|
491
|
+
model = models.CreateVideoDatabaseEntryTaskResponse()
|
492
|
+
model._deserialize(response["Response"])
|
493
|
+
return model
|
494
|
+
except Exception as e:
|
495
|
+
if isinstance(e, TencentCloudSDKException):
|
496
|
+
raise
|
497
|
+
else:
|
498
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
499
|
+
|
500
|
+
|
501
|
+
def CreateVideoSearchTask(self, request):
|
502
|
+
"""使用检索值检索库中最接近检索值的若干视频。
|
503
|
+
|
504
|
+
:param request: Request instance for CreateVideoSearchTask.
|
505
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.CreateVideoSearchTaskRequest`
|
506
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CreateVideoSearchTaskResponse`
|
507
|
+
|
508
|
+
"""
|
509
|
+
try:
|
510
|
+
params = request._serialize()
|
511
|
+
headers = request.headers
|
512
|
+
body = self.call("CreateVideoSearchTask", params, headers=headers)
|
513
|
+
response = json.loads(body)
|
514
|
+
model = models.CreateVideoSearchTaskResponse()
|
515
|
+
model._deserialize(response["Response"])
|
516
|
+
return model
|
517
|
+
except Exception as e:
|
518
|
+
if isinstance(e, TencentCloudSDKException):
|
519
|
+
raise
|
520
|
+
else:
|
521
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
522
|
+
|
523
|
+
|
477
524
|
def CreateWatermarkTemplate(self, request):
|
478
525
|
"""创建用户自定义水印模板,数量上限:1000。
|
479
526
|
|
@@ -1593,6 +1640,52 @@ class MpsClient(AbstractClient):
|
|
1593
1640
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1594
1641
|
|
1595
1642
|
|
1643
|
+
def DescribeVideoDatabaseEntryTaskDetail(self, request):
|
1644
|
+
"""根据任务ID查询视频入库任务的状态。
|
1645
|
+
|
1646
|
+
:param request: Request instance for DescribeVideoDatabaseEntryTaskDetail.
|
1647
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeVideoDatabaseEntryTaskDetailRequest`
|
1648
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeVideoDatabaseEntryTaskDetailResponse`
|
1649
|
+
|
1650
|
+
"""
|
1651
|
+
try:
|
1652
|
+
params = request._serialize()
|
1653
|
+
headers = request.headers
|
1654
|
+
body = self.call("DescribeVideoDatabaseEntryTaskDetail", params, headers=headers)
|
1655
|
+
response = json.loads(body)
|
1656
|
+
model = models.DescribeVideoDatabaseEntryTaskDetailResponse()
|
1657
|
+
model._deserialize(response["Response"])
|
1658
|
+
return model
|
1659
|
+
except Exception as e:
|
1660
|
+
if isinstance(e, TencentCloudSDKException):
|
1661
|
+
raise
|
1662
|
+
else:
|
1663
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1664
|
+
|
1665
|
+
|
1666
|
+
def DescribeVideoSearchTaskDetail(self, request):
|
1667
|
+
"""根据任务ID查询视频检索任务的状态。
|
1668
|
+
|
1669
|
+
:param request: Request instance for DescribeVideoSearchTaskDetail.
|
1670
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeVideoSearchTaskDetailRequest`
|
1671
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeVideoSearchTaskDetailResponse`
|
1672
|
+
|
1673
|
+
"""
|
1674
|
+
try:
|
1675
|
+
params = request._serialize()
|
1676
|
+
headers = request.headers
|
1677
|
+
body = self.call("DescribeVideoSearchTaskDetail", params, headers=headers)
|
1678
|
+
response = json.loads(body)
|
1679
|
+
model = models.DescribeVideoSearchTaskDetailResponse()
|
1680
|
+
model._deserialize(response["Response"])
|
1681
|
+
return model
|
1682
|
+
except Exception as e:
|
1683
|
+
if isinstance(e, TencentCloudSDKException):
|
1684
|
+
raise
|
1685
|
+
else:
|
1686
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1687
|
+
|
1688
|
+
|
1596
1689
|
def DescribeWatermarkTemplates(self, request):
|
1597
1690
|
"""查询用户自定义水印模板,支持根据条件,分页查询。
|
1598
1691
|
|
@@ -4096,6 +4096,105 @@ class DescribeJobEventsResponse(AbstractModel):
|
|
4096
4096
|
self._RequestId = params.get("RequestId")
|
4097
4097
|
|
4098
4098
|
|
4099
|
+
class DescribeJobRuntimeInfoRequest(AbstractModel):
|
4100
|
+
"""DescribeJobRuntimeInfo请求参数结构体
|
4101
|
+
|
4102
|
+
"""
|
4103
|
+
|
4104
|
+
def __init__(self):
|
4105
|
+
r"""
|
4106
|
+
:param _JobId: 作业ID
|
4107
|
+
:type JobId: str
|
4108
|
+
:param _WorkSpaceId: 工作空间ID
|
4109
|
+
:type WorkSpaceId: str
|
4110
|
+
:param _IncludeInfo: 作业运行信息 key
|
4111
|
+
:type IncludeInfo: list of str
|
4112
|
+
"""
|
4113
|
+
self._JobId = None
|
4114
|
+
self._WorkSpaceId = None
|
4115
|
+
self._IncludeInfo = None
|
4116
|
+
|
4117
|
+
@property
|
4118
|
+
def JobId(self):
|
4119
|
+
return self._JobId
|
4120
|
+
|
4121
|
+
@JobId.setter
|
4122
|
+
def JobId(self, JobId):
|
4123
|
+
self._JobId = JobId
|
4124
|
+
|
4125
|
+
@property
|
4126
|
+
def WorkSpaceId(self):
|
4127
|
+
return self._WorkSpaceId
|
4128
|
+
|
4129
|
+
@WorkSpaceId.setter
|
4130
|
+
def WorkSpaceId(self, WorkSpaceId):
|
4131
|
+
self._WorkSpaceId = WorkSpaceId
|
4132
|
+
|
4133
|
+
@property
|
4134
|
+
def IncludeInfo(self):
|
4135
|
+
return self._IncludeInfo
|
4136
|
+
|
4137
|
+
@IncludeInfo.setter
|
4138
|
+
def IncludeInfo(self, IncludeInfo):
|
4139
|
+
self._IncludeInfo = IncludeInfo
|
4140
|
+
|
4141
|
+
|
4142
|
+
def _deserialize(self, params):
|
4143
|
+
self._JobId = params.get("JobId")
|
4144
|
+
self._WorkSpaceId = params.get("WorkSpaceId")
|
4145
|
+
self._IncludeInfo = params.get("IncludeInfo")
|
4146
|
+
memeber_set = set(params.keys())
|
4147
|
+
for name, value in vars(self).items():
|
4148
|
+
property_name = name[1:]
|
4149
|
+
if property_name in memeber_set:
|
4150
|
+
memeber_set.remove(property_name)
|
4151
|
+
if len(memeber_set) > 0:
|
4152
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4153
|
+
|
4154
|
+
|
4155
|
+
|
4156
|
+
class DescribeJobRuntimeInfoResponse(AbstractModel):
|
4157
|
+
"""DescribeJobRuntimeInfo返回参数结构体
|
4158
|
+
|
4159
|
+
"""
|
4160
|
+
|
4161
|
+
def __init__(self):
|
4162
|
+
r"""
|
4163
|
+
:param _JobRuntimeInfo: 作业运行时信息
|
4164
|
+
:type JobRuntimeInfo: list of JobRuntimeInfo
|
4165
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4166
|
+
:type RequestId: str
|
4167
|
+
"""
|
4168
|
+
self._JobRuntimeInfo = None
|
4169
|
+
self._RequestId = None
|
4170
|
+
|
4171
|
+
@property
|
4172
|
+
def JobRuntimeInfo(self):
|
4173
|
+
return self._JobRuntimeInfo
|
4174
|
+
|
4175
|
+
@JobRuntimeInfo.setter
|
4176
|
+
def JobRuntimeInfo(self, JobRuntimeInfo):
|
4177
|
+
self._JobRuntimeInfo = JobRuntimeInfo
|
4178
|
+
|
4179
|
+
@property
|
4180
|
+
def RequestId(self):
|
4181
|
+
return self._RequestId
|
4182
|
+
|
4183
|
+
@RequestId.setter
|
4184
|
+
def RequestId(self, RequestId):
|
4185
|
+
self._RequestId = RequestId
|
4186
|
+
|
4187
|
+
|
4188
|
+
def _deserialize(self, params):
|
4189
|
+
if params.get("JobRuntimeInfo") is not None:
|
4190
|
+
self._JobRuntimeInfo = []
|
4191
|
+
for item in params.get("JobRuntimeInfo"):
|
4192
|
+
obj = JobRuntimeInfo()
|
4193
|
+
obj._deserialize(item)
|
4194
|
+
self._JobRuntimeInfo.append(obj)
|
4195
|
+
self._RequestId = params.get("RequestId")
|
4196
|
+
|
4197
|
+
|
4099
4198
|
class DescribeJobSavepointRequest(AbstractModel):
|
4100
4199
|
"""DescribeJobSavepoint请求参数结构体
|
4101
4200
|
|
@@ -7290,6 +7389,53 @@ class JobInstanceForSubmissionLog(AbstractModel):
|
|
7290
7389
|
|
7291
7390
|
|
7292
7391
|
|
7392
|
+
class JobRuntimeInfo(AbstractModel):
|
7393
|
+
"""作业运行时信息
|
7394
|
+
|
7395
|
+
"""
|
7396
|
+
|
7397
|
+
def __init__(self):
|
7398
|
+
r"""
|
7399
|
+
:param _Key: 运行信息的key,目前支持:TaskManagers:taskmanager pod 列表; StreamGraph:作业对应的 StreamGraph;SubTasks:作业的 subtask 列表
|
7400
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7401
|
+
:type Key: str
|
7402
|
+
:param _Value: 运行信息
|
7403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7404
|
+
:type Value: str
|
7405
|
+
"""
|
7406
|
+
self._Key = None
|
7407
|
+
self._Value = None
|
7408
|
+
|
7409
|
+
@property
|
7410
|
+
def Key(self):
|
7411
|
+
return self._Key
|
7412
|
+
|
7413
|
+
@Key.setter
|
7414
|
+
def Key(self, Key):
|
7415
|
+
self._Key = Key
|
7416
|
+
|
7417
|
+
@property
|
7418
|
+
def Value(self):
|
7419
|
+
return self._Value
|
7420
|
+
|
7421
|
+
@Value.setter
|
7422
|
+
def Value(self, Value):
|
7423
|
+
self._Value = Value
|
7424
|
+
|
7425
|
+
|
7426
|
+
def _deserialize(self, params):
|
7427
|
+
self._Key = params.get("Key")
|
7428
|
+
self._Value = params.get("Value")
|
7429
|
+
memeber_set = set(params.keys())
|
7430
|
+
for name, value in vars(self).items():
|
7431
|
+
property_name = name[1:]
|
7432
|
+
if property_name in memeber_set:
|
7433
|
+
memeber_set.remove(property_name)
|
7434
|
+
if len(memeber_set) > 0:
|
7435
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7436
|
+
|
7437
|
+
|
7438
|
+
|
7293
7439
|
class JobV1(AbstractModel):
|
7294
7440
|
"""Job详细信息
|
7295
7441
|
|
@@ -463,6 +463,29 @@ class OceanusClient(AbstractClient):
|
|
463
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
464
464
|
|
465
465
|
|
466
|
+
def DescribeJobRuntimeInfo(self, request):
|
467
|
+
"""获取作业运行时的信息
|
468
|
+
|
469
|
+
:param request: Request instance for DescribeJobRuntimeInfo.
|
470
|
+
:type request: :class:`tencentcloud.oceanus.v20190422.models.DescribeJobRuntimeInfoRequest`
|
471
|
+
:rtype: :class:`tencentcloud.oceanus.v20190422.models.DescribeJobRuntimeInfoResponse`
|
472
|
+
|
473
|
+
"""
|
474
|
+
try:
|
475
|
+
params = request._serialize()
|
476
|
+
headers = request.headers
|
477
|
+
body = self.call("DescribeJobRuntimeInfo", params, headers=headers)
|
478
|
+
response = json.loads(body)
|
479
|
+
model = models.DescribeJobRuntimeInfoResponse()
|
480
|
+
model._deserialize(response["Response"])
|
481
|
+
return model
|
482
|
+
except Exception as e:
|
483
|
+
if isinstance(e, TencentCloudSDKException):
|
484
|
+
raise
|
485
|
+
else:
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
487
|
+
|
488
|
+
|
466
489
|
def DescribeJobSavepoint(self, request):
|
467
490
|
"""查找Savepoint列表
|
468
491
|
|
@@ -13286,7 +13286,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
13286
13286
|
r"""
|
13287
13287
|
:param _Product: 数据库引擎名称,本接口取值:redis。
|
13288
13288
|
:type Product: str
|
13289
|
-
:param _SecurityGroupIds:
|
13289
|
+
:param _SecurityGroupIds: 更换为新的安全组 ID 列表,即一个或者多个安全组 ID 组成的数组。若实例第一次配置安全组,请使用接口[AssociateSecurityGroups](https://cloud.tencent.com/document/product/239/41260)先绑定安全组。
|
13290
13290
|
:type SecurityGroupIds: list of str
|
13291
13291
|
:param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv或者cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
13292
13292
|
:type InstanceId: str
|
@@ -14002,6 +14002,103 @@ class ModifyInstanceParamsResponse(AbstractModel):
|
|
14002
14002
|
self._RequestId = params.get("RequestId")
|
14003
14003
|
|
14004
14004
|
|
14005
|
+
class ModifyInstancePasswordRequest(AbstractModel):
|
14006
|
+
"""ModifyInstancePassword请求参数结构体
|
14007
|
+
|
14008
|
+
"""
|
14009
|
+
|
14010
|
+
def __init__(self):
|
14011
|
+
r"""
|
14012
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
14013
|
+
:type InstanceId: str
|
14014
|
+
:param _OldPassword: 实例旧密码。
|
14015
|
+
:type OldPassword: str
|
14016
|
+
:param _Password: 实例新密码。密码复杂度要求如下:
|
14017
|
+
- 长度8 - 30位, 推荐使用12位以上的密码。
|
14018
|
+
- 不能以"/"开头。
|
14019
|
+
- 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
14020
|
+
:type Password: str
|
14021
|
+
"""
|
14022
|
+
self._InstanceId = None
|
14023
|
+
self._OldPassword = None
|
14024
|
+
self._Password = None
|
14025
|
+
|
14026
|
+
@property
|
14027
|
+
def InstanceId(self):
|
14028
|
+
return self._InstanceId
|
14029
|
+
|
14030
|
+
@InstanceId.setter
|
14031
|
+
def InstanceId(self, InstanceId):
|
14032
|
+
self._InstanceId = InstanceId
|
14033
|
+
|
14034
|
+
@property
|
14035
|
+
def OldPassword(self):
|
14036
|
+
return self._OldPassword
|
14037
|
+
|
14038
|
+
@OldPassword.setter
|
14039
|
+
def OldPassword(self, OldPassword):
|
14040
|
+
self._OldPassword = OldPassword
|
14041
|
+
|
14042
|
+
@property
|
14043
|
+
def Password(self):
|
14044
|
+
return self._Password
|
14045
|
+
|
14046
|
+
@Password.setter
|
14047
|
+
def Password(self, Password):
|
14048
|
+
self._Password = Password
|
14049
|
+
|
14050
|
+
|
14051
|
+
def _deserialize(self, params):
|
14052
|
+
self._InstanceId = params.get("InstanceId")
|
14053
|
+
self._OldPassword = params.get("OldPassword")
|
14054
|
+
self._Password = params.get("Password")
|
14055
|
+
memeber_set = set(params.keys())
|
14056
|
+
for name, value in vars(self).items():
|
14057
|
+
property_name = name[1:]
|
14058
|
+
if property_name in memeber_set:
|
14059
|
+
memeber_set.remove(property_name)
|
14060
|
+
if len(memeber_set) > 0:
|
14061
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14062
|
+
|
14063
|
+
|
14064
|
+
|
14065
|
+
class ModifyInstancePasswordResponse(AbstractModel):
|
14066
|
+
"""ModifyInstancePassword返回参数结构体
|
14067
|
+
|
14068
|
+
"""
|
14069
|
+
|
14070
|
+
def __init__(self):
|
14071
|
+
r"""
|
14072
|
+
:param _TaskId: 任务 ID。
|
14073
|
+
:type TaskId: int
|
14074
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14075
|
+
:type RequestId: str
|
14076
|
+
"""
|
14077
|
+
self._TaskId = None
|
14078
|
+
self._RequestId = None
|
14079
|
+
|
14080
|
+
@property
|
14081
|
+
def TaskId(self):
|
14082
|
+
return self._TaskId
|
14083
|
+
|
14084
|
+
@TaskId.setter
|
14085
|
+
def TaskId(self, TaskId):
|
14086
|
+
self._TaskId = TaskId
|
14087
|
+
|
14088
|
+
@property
|
14089
|
+
def RequestId(self):
|
14090
|
+
return self._RequestId
|
14091
|
+
|
14092
|
+
@RequestId.setter
|
14093
|
+
def RequestId(self, RequestId):
|
14094
|
+
self._RequestId = RequestId
|
14095
|
+
|
14096
|
+
|
14097
|
+
def _deserialize(self, params):
|
14098
|
+
self._TaskId = params.get("TaskId")
|
14099
|
+
self._RequestId = params.get("RequestId")
|
14100
|
+
|
14101
|
+
|
14005
14102
|
class ModifyInstanceReadOnlyRequest(AbstractModel):
|
14006
14103
|
"""ModifyInstanceReadOnly请求参数结构体
|
14007
14104
|
|
@@ -1844,7 +1844,7 @@ class RedisClient(AbstractClient):
|
|
1844
1844
|
|
1845
1845
|
|
1846
1846
|
def ModifyDBInstanceSecurityGroups(self, request):
|
1847
|
-
"""
|
1847
|
+
"""本接口(ModifyDBInstanceSecurityGroups)用于对实例原有的安全组列表进行修改。
|
1848
1848
|
|
1849
1849
|
:param request: Request instance for ModifyDBInstanceSecurityGroups.
|
1850
1850
|
:type request: :class:`tencentcloud.redis.v20180412.models.ModifyDBInstanceSecurityGroupsRequest`
|
@@ -2004,6 +2004,29 @@ class RedisClient(AbstractClient):
|
|
2004
2004
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2005
2005
|
|
2006
2006
|
|
2007
|
+
def ModifyInstancePassword(self, request):
|
2008
|
+
"""本接口(ModifyInstancePassword)用于修改实例访问密码。
|
2009
|
+
|
2010
|
+
:param request: Request instance for ModifyInstancePassword.
|
2011
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstancePasswordRequest`
|
2012
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.ModifyInstancePasswordResponse`
|
2013
|
+
|
2014
|
+
"""
|
2015
|
+
try:
|
2016
|
+
params = request._serialize()
|
2017
|
+
headers = request.headers
|
2018
|
+
body = self.call("ModifyInstancePassword", params, headers=headers)
|
2019
|
+
response = json.loads(body)
|
2020
|
+
model = models.ModifyInstancePasswordResponse()
|
2021
|
+
model._deserialize(response["Response"])
|
2022
|
+
return model
|
2023
|
+
except Exception as e:
|
2024
|
+
if isinstance(e, TencentCloudSDKException):
|
2025
|
+
raise
|
2026
|
+
else:
|
2027
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2028
|
+
|
2029
|
+
|
2007
2030
|
def ModifyInstanceReadOnly(self, request):
|
2008
2031
|
"""设置实例输入模式
|
2009
2032
|
|
@@ -1826,7 +1826,9 @@ class TcssClient(AbstractClient):
|
|
1826
1826
|
|
1827
1827
|
|
1828
1828
|
def DescribeAbnormalProcessEventsExport(self, request):
|
1829
|
-
"""
|
1829
|
+
"""接口已废弃
|
1830
|
+
|
1831
|
+
查询运行时异常进程事件列表信息导出
|
1830
1832
|
|
1831
1833
|
:param request: Request instance for DescribeAbnormalProcessEventsExport.
|
1832
1834
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeAbnormalProcessEventsExportRequest`
|
@@ -1918,7 +1920,9 @@ class TcssClient(AbstractClient):
|
|
1918
1920
|
|
1919
1921
|
|
1920
1922
|
def DescribeAbnormalProcessRulesExport(self, request):
|
1921
|
-
"""
|
1923
|
+
"""接口已废弃
|
1924
|
+
|
1925
|
+
查询运行时异常进程策略列表信息导出
|
1922
1926
|
|
1923
1927
|
:param request: Request instance for DescribeAbnormalProcessRulesExport.
|
1924
1928
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeAbnormalProcessRulesExportRequest`
|
@@ -2056,7 +2060,9 @@ class TcssClient(AbstractClient):
|
|
2056
2060
|
|
2057
2061
|
|
2058
2062
|
def DescribeAccessControlRulesExport(self, request):
|
2059
|
-
"""
|
2063
|
+
"""接口已废弃
|
2064
|
+
|
2065
|
+
查询运行时访问控制策略列表导出
|
2060
2066
|
|
2061
2067
|
:param request: Request instance for DescribeAccessControlRulesExport.
|
2062
2068
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeAccessControlRulesExportRequest`
|
@@ -2470,7 +2476,9 @@ class TcssClient(AbstractClient):
|
|
2470
2476
|
|
2471
2477
|
|
2472
2478
|
def DescribeAssetImageListExport(self, request):
|
2473
|
-
"""
|
2479
|
+
"""接口已废弃
|
2480
|
+
|
2481
|
+
容器安全搜索查询镜像列表导出
|
2474
2482
|
|
2475
2483
|
:param request: Request instance for DescribeAssetImageListExport.
|
2476
2484
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeAssetImageListExportRequest`
|
@@ -3735,7 +3743,9 @@ class TcssClient(AbstractClient):
|
|
3735
3743
|
|
3736
3744
|
|
3737
3745
|
def DescribeEscapeEventsExport(self, request):
|
3738
|
-
"""
|
3746
|
+
"""接口已废弃
|
3747
|
+
|
3748
|
+
DescribeEscapeEventsExport 查询容器逃逸事件列表导出
|
3739
3749
|
|
3740
3750
|
:param request: Request instance for DescribeEscapeEventsExport.
|
3741
3751
|
:type request: :class:`tencentcloud.tcss.v20201101.models.DescribeEscapeEventsExportRequest`
|
@@ -38,5 +38,8 @@ INVALIDPARAMETERVALUE_ERRTEXTCONTENTLEN = 'InvalidParameterValue.ErrTextContentL
|
|
38
38
|
# 请求的文本格式错误(需要base64编码格式的文本)。
|
39
39
|
INVALIDPARAMETERVALUE_ERRTEXTCONTENTTYPE = 'InvalidParameterValue.ErrTextContentType'
|
40
40
|
|
41
|
+
# 请求的次数超过了频率限制。
|
42
|
+
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
43
|
+
|
41
44
|
# 未开通权限/无有效套餐包/账号已欠费。
|
42
45
|
UNAUTHORIZEDOPERATION_UNAUTHORIZED = 'UnauthorizedOperation.Unauthorized'
|
@@ -1301,7 +1301,7 @@ class TextModerationResponse(AbstractModel):
|
|
1301
1301
|
r"""
|
1302
1302
|
:param _BizType: 该字段用于返回请求参数中的BizType参数
|
1303
1303
|
:type BizType: str
|
1304
|
-
:param _Label: 该字段用于返回检测结果(DetailResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
1304
|
+
:param _Label: 该字段用于返回检测结果(DetailResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型
|
1305
1305
|
:type Label: str
|
1306
1306
|
:param _Suggestion: 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
1307
1307
|
:type Suggestion: str
|
@@ -530,26 +530,21 @@ class CloudStorage(AbstractModel):
|
|
530
530
|
0:腾讯云对象存储 COS
|
531
531
|
1:AWS
|
532
532
|
【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
|
533
|
-
示例值:0
|
534
533
|
:type Vendor: int
|
535
534
|
:param _Region: 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
|
536
535
|
示例值:cn-shanghai-1
|
537
536
|
|
538
537
|
AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
|
539
|
-
示例值:ap-southeast-3
|
540
538
|
:type Region: str
|
541
539
|
:param _Bucket: 云存储桶名称。
|
542
540
|
:type Bucket: str
|
543
541
|
:param _AccessKey: 云存储的access_key账号信息。
|
544
542
|
若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
|
545
|
-
示例值:test-accesskey
|
546
543
|
:type AccessKey: str
|
547
544
|
:param _SecretKey: 云存储的secret_key账号信息。
|
548
545
|
若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
|
549
|
-
示例值:test-secretkey
|
550
546
|
:type SecretKey: str
|
551
547
|
:param _FileNamePrefix: 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
|
552
|
-
示例值:["prefix1", "prefix2"]
|
553
548
|
:type FileNamePrefix: list of str
|
554
549
|
"""
|
555
550
|
self._Vendor = None
|
@@ -9823,6 +9818,8 @@ class StartWebRecordRequest(AbstractModel):
|
|
9823
9818
|
:type RecordId: str
|
9824
9819
|
:param _PublishCdnParams: 若您想要推流到CDN,可以使用PublishCdnParams.N参数设置,支持最多同时推流到10个CDN地址。若转推地址是腾讯云CDN时,请将IsTencentCdn明确设置为1
|
9825
9820
|
:type PublishCdnParams: list of McuPublishCdnParam
|
9821
|
+
:param _ReadyTimeout: 录制页面资源加载的超时时间,单位:秒。默认值为 0 秒,该值需大于等于 0秒,且小于等于 60秒。录制页面未启用页面加载超时检测时,请勿设置此参数。
|
9822
|
+
:type ReadyTimeout: int
|
9826
9823
|
"""
|
9827
9824
|
self._RecordUrl = None
|
9828
9825
|
self._MaxDurationLimit = None
|
@@ -9831,6 +9828,7 @@ class StartWebRecordRequest(AbstractModel):
|
|
9831
9828
|
self._SdkAppId = None
|
9832
9829
|
self._RecordId = None
|
9833
9830
|
self._PublishCdnParams = None
|
9831
|
+
self._ReadyTimeout = None
|
9834
9832
|
|
9835
9833
|
@property
|
9836
9834
|
def RecordUrl(self):
|
@@ -9888,6 +9886,14 @@ class StartWebRecordRequest(AbstractModel):
|
|
9888
9886
|
def PublishCdnParams(self, PublishCdnParams):
|
9889
9887
|
self._PublishCdnParams = PublishCdnParams
|
9890
9888
|
|
9889
|
+
@property
|
9890
|
+
def ReadyTimeout(self):
|
9891
|
+
return self._ReadyTimeout
|
9892
|
+
|
9893
|
+
@ReadyTimeout.setter
|
9894
|
+
def ReadyTimeout(self, ReadyTimeout):
|
9895
|
+
self._ReadyTimeout = ReadyTimeout
|
9896
|
+
|
9891
9897
|
|
9892
9898
|
def _deserialize(self, params):
|
9893
9899
|
self._RecordUrl = params.get("RecordUrl")
|
@@ -9906,6 +9912,7 @@ class StartWebRecordRequest(AbstractModel):
|
|
9906
9912
|
obj = McuPublishCdnParam()
|
9907
9913
|
obj._deserialize(item)
|
9908
9914
|
self._PublishCdnParams.append(obj)
|
9915
|
+
self._ReadyTimeout = params.get("ReadyTimeout")
|
9909
9916
|
memeber_set = set(params.keys())
|
9910
9917
|
for name, value in vars(self).items():
|
9911
9918
|
property_name = name[1:]
|
@@ -10970,6 +10977,8 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
10970
10977
|
:type TranscriptionMode: int
|
10971
10978
|
:param _TargetUserId: TranscriptionMode为1时必填,机器人只会拉该userid的流,忽略房间里其他用户。
|
10972
10979
|
:type TargetUserId: str
|
10980
|
+
:param _TargetUserIdList: 机器人订阅的用户列表
|
10981
|
+
:type TargetUserIdList: list of str
|
10973
10982
|
"""
|
10974
10983
|
self._UserId = None
|
10975
10984
|
self._UserSig = None
|
@@ -10978,6 +10987,7 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
10978
10987
|
self._MaxIdleTime = None
|
10979
10988
|
self._TranscriptionMode = None
|
10980
10989
|
self._TargetUserId = None
|
10990
|
+
self._TargetUserIdList = None
|
10981
10991
|
|
10982
10992
|
@property
|
10983
10993
|
def UserId(self):
|
@@ -11043,6 +11053,14 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
11043
11053
|
def TargetUserId(self, TargetUserId):
|
11044
11054
|
self._TargetUserId = TargetUserId
|
11045
11055
|
|
11056
|
+
@property
|
11057
|
+
def TargetUserIdList(self):
|
11058
|
+
return self._TargetUserIdList
|
11059
|
+
|
11060
|
+
@TargetUserIdList.setter
|
11061
|
+
def TargetUserIdList(self, TargetUserIdList):
|
11062
|
+
self._TargetUserIdList = TargetUserIdList
|
11063
|
+
|
11046
11064
|
|
11047
11065
|
def _deserialize(self, params):
|
11048
11066
|
self._UserId = params.get("UserId")
|
@@ -11052,6 +11070,7 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
11052
11070
|
self._MaxIdleTime = params.get("MaxIdleTime")
|
11053
11071
|
self._TranscriptionMode = params.get("TranscriptionMode")
|
11054
11072
|
self._TargetUserId = params.get("TargetUserId")
|
11073
|
+
self._TargetUserIdList = params.get("TargetUserIdList")
|
11055
11074
|
memeber_set = set(params.keys())
|
11056
11075
|
for name, value in vars(self).items():
|
11057
11076
|
property_name = name[1:]
|