Skip to content

Commit

Permalink
release 3.0.516
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Nov 1, 2021
1 parent b343098 commit 0784c79
Show file tree
Hide file tree
Showing 15 changed files with 271 additions and 286 deletions.
327 changes: 157 additions & 170 deletions CHANGELOG.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions products.md
Expand Up @@ -12,7 +12,7 @@
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2021-09-16 08:01:43 |
| api | [云 API](https://cloud.tencent.com/document/product/546) | 2021-04-25 10:09:57 |
| apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2021-09-29 08:00:45 |
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2021-10-27 08:02:46 |
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2021-11-01 08:05:02 |
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2021-09-16 08:01:57 |
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2021-09-16 08:01:40 |
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2021-09-16 08:01:39 |
Expand All @@ -30,8 +30,8 @@
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2021-09-16 08:05:04 |
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-09-16 08:03:51 |
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-10-27 08:03:51 |
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-09-16 08:02:05 |
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2021-10-29 08:01:53 |
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-11-01 08:06:08 |
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2021-11-01 08:06:13 |
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-10-28 15:10:03 |
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-09-16 08:05:40 |
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-09-16 08:05:42 |
Expand All @@ -44,8 +44,8 @@
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-10-26 08:06:08 |
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-09-16 08:14:35 |
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-09-16 08:12:58 |
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-10-27 08:04:57 |
| cme | [腾讯云剪](https://cloud.tencent.com/document/product/1156) | 2021-09-17 08:06:15 |
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-11-01 08:07:18 |
| cme | [腾讯云剪](https://cloud.tencent.com/document/product/1156) | 2021-11-01 08:07:26 |
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2021-09-16 08:03:08 |
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-10-13 08:05:27 |
Expand Down Expand Up @@ -137,7 +137,7 @@
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2021-09-16 08:01:50 |
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2021-09-16 08:03:57 |
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2021-09-16 08:13:47 |
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2021-10-29 08:09:22 |
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2021-11-01 08:13:31 |
| tag | [标签](https://cloud.tencent.com/document/product/651) | 2021-09-16 08:10:15 |
| tat | [腾讯云自动化助手](https://cloud.tencent.com/document/product/1340) | 2021-10-11 08:09:12 |
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
Expand Down
2 changes: 1 addition & 1 deletion tencentcloud/__init__.py
Expand Up @@ -14,4 +14,4 @@
# limitations under the License.


__version__ = '3.0.515'
__version__ = '3.0.516'
4 changes: 0 additions & 4 deletions tencentcloud/autoscaling/v20180419/models.py
Expand Up @@ -2031,10 +2031,6 @@ def __init__(self):
<li> lifecycle-hook-id - String - 是否必填:否 -(过滤条件)按照生命周期挂钩ID过滤。</li>
<li> lifecycle-hook-name - String - 是否必填:否 -(过滤条件)按照生命周期挂钩名称过滤。</li>
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
过滤条件。
<li> lifecycle-hook-id - String - 是否必填:否 -(过滤条件)按照生命周期挂钩ID过滤。</li>
<li> lifecycle-hook-name - String - 是否必填:否 -(过滤条件)按照生命周期挂钩名称过滤。</li>
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`LifecycleHookIds `和`Filters`。
:type Filters: list of Filter
:param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
Expand Down
3 changes: 3 additions & 0 deletions tencentcloud/ccc/v20200210/errorcodes.py
Expand Up @@ -38,6 +38,9 @@
# 实例不存在。
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = 'InvalidParameterValue.InstanceNotExist'

# 查询记录不存在。
INVALIDPARAMETERVALUE_RECORDNOTEXIST = 'InvalidParameterValue.RecordNotExist'

# 超过配额限制。
LIMITEXCEEDED = 'LimitExceeded'

Expand Down
42 changes: 38 additions & 4 deletions tencentcloud/ccc/v20200210/models.py
Expand Up @@ -514,34 +514,38 @@ class DescribeChatMessagesRequest(AbstractModel):

def __init__(self):
r"""
:param CdrId: 服务记录ID
:type CdrId: str
:param InstanceId: 实例ID
:type InstanceId: int
:param SdkAppId: 应用ID
:type SdkAppId: int
:param CdrId: 服务记录ID
:type CdrId: str
:param Limit: 返回记录条数 最大为100默认20
:type Limit: int
:param Offset: 返回记录偏移 默认为0
:type Offset: int
:param Order: 1为从早到晚,2为从晚到早,默认为2
:type Order: int
:param SessionId: 服务记录SessionID
:type SessionId: str
"""
self.CdrId = None
self.InstanceId = None
self.SdkAppId = None
self.CdrId = None
self.Limit = None
self.Offset = None
self.Order = None
self.SessionId = None


def _deserialize(self, params):
self.CdrId = params.get("CdrId")
self.InstanceId = params.get("InstanceId")
self.SdkAppId = params.get("SdkAppId")
self.CdrId = params.get("CdrId")
self.Limit = params.get("Limit")
self.Offset = params.get("Offset")
self.Order = params.get("Order")
self.SessionId = params.get("SessionId")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
Expand Down Expand Up @@ -1063,6 +1067,8 @@ def __init__(self):
:type PageNumber: int
:param Phones: 按手机号筛选
:type Phones: list of str
:param SessionIds: 按SessionId筛选
:type SessionIds: list of str
"""
self.StartTimeStamp = None
self.EndTimeStamp = None
Expand All @@ -1073,6 +1079,7 @@ def __init__(self):
self.PageSize = None
self.PageNumber = None
self.Phones = None
self.SessionIds = None


def _deserialize(self, params):
Expand All @@ -1085,6 +1092,7 @@ def _deserialize(self, params):
self.PageSize = params.get("PageSize")
self.PageNumber = params.get("PageNumber")
self.Phones = params.get("Phones")
self.SessionIds = params.get("SessionIds")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
Expand Down Expand Up @@ -1387,6 +1395,10 @@ def __init__(self):
:type OutBoundCaller: str
:param OutBoundCallee: 转外线被叫
:type OutBoundCallee: str
:param ProtectedCaller: 主叫号码保护ID,开启号码保护映射功能时有效,且Caller字段置空
:type ProtectedCaller: str
:param ProtectedCallee: 被叫号码保护ID,开启号码保护映射功能时有效,且Callee字段置空
:type ProtectedCallee: str
"""
self.SessionID = None
self.RoomID = None
Expand All @@ -1401,6 +1413,8 @@ def __init__(self):
self.Direction = None
self.OutBoundCaller = None
self.OutBoundCallee = None
self.ProtectedCaller = None
self.ProtectedCallee = None


def _deserialize(self, params):
Expand All @@ -1417,6 +1431,8 @@ def _deserialize(self, params):
self.Direction = params.get("Direction")
self.OutBoundCaller = params.get("OutBoundCaller")
self.OutBoundCallee = params.get("OutBoundCallee")
self.ProtectedCaller = params.get("ProtectedCaller")
self.ProtectedCallee = params.get("ProtectedCallee")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
Expand Down Expand Up @@ -1455,6 +1471,10 @@ def __init__(self):
:type Direction: int
:param RingTimestamp: 振铃时间,Unix 时间戳
:type RingTimestamp: int
:param ProtectedCaller: 主叫号码保护ID,开启号码保护映射功能时有效,且Caller字段置空
:type ProtectedCaller: str
:param ProtectedCallee: 被叫号码保护ID,开启号码保护映射功能时有效,且Callee字段置空
:type ProtectedCallee: str
"""
self.SessionID = None
self.RoomID = None
Expand All @@ -1467,6 +1487,8 @@ def __init__(self):
self.SessionStatus = None
self.Direction = None
self.RingTimestamp = None
self.ProtectedCaller = None
self.ProtectedCallee = None


def _deserialize(self, params):
Expand All @@ -1481,6 +1503,8 @@ def _deserialize(self, params):
self.SessionStatus = params.get("SessionStatus")
self.Direction = params.get("Direction")
self.RingTimestamp = params.get("RingTimestamp")
self.ProtectedCaller = params.get("ProtectedCaller")
self.ProtectedCallee = params.get("ProtectedCallee")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
Expand Down Expand Up @@ -1997,6 +2021,12 @@ def __init__(self):
:param SessionId: 会话 ID
注意:此字段可能返回 null,表示取不到有效值。
:type SessionId: str
:param ProtectedCaller: 主叫号码保护ID,开启号码保护映射功能时有效,且Caller字段置空
注意:此字段可能返回 null,表示取不到有效值。
:type ProtectedCaller: str
:param ProtectedCallee: 被叫号码保护ID,开启号码保护映射功能时有效,且Callee字段置空
注意:此字段可能返回 null,表示取不到有效值。
:type ProtectedCallee: str
"""
self.Caller = None
self.Callee = None
Expand All @@ -2022,6 +2052,8 @@ def __init__(self):
self.PostIVRKeyPressed = None
self.QueuedSkillGroupId = None
self.SessionId = None
self.ProtectedCaller = None
self.ProtectedCallee = None


def _deserialize(self, params):
Expand Down Expand Up @@ -2061,6 +2093,8 @@ def _deserialize(self, params):
self.PostIVRKeyPressed.append(obj)
self.QueuedSkillGroupId = params.get("QueuedSkillGroupId")
self.SessionId = params.get("SessionId")
self.ProtectedCaller = params.get("ProtectedCaller")
self.ProtectedCallee = params.get("ProtectedCallee")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
Expand Down
28 changes: 0 additions & 28 deletions tencentcloud/cdb/v20170320/cdb_client.py
Expand Up @@ -2770,34 +2770,6 @@ def ModifyRoReplicationDelay(self, request):
raise TencentCloudSDKException(e.message, e.message)


def ModifyRoType(self, request):
"""修改只读实例类型,可以将普通只读实例变为延迟只读实例,或者将延迟只读实例变为普通只读实例。
:param request: Request instance for ModifyRoType.
:type request: :class:`tencentcloud.cdb.v20170320.models.ModifyRoTypeRequest`
:rtype: :class:`tencentcloud.cdb.v20170320.models.ModifyRoTypeResponse`
"""
try:
params = request._serialize()
body = self.call("ModifyRoType", params)
response = json.loads(body)
if "Error" not in response["Response"]:
model = models.ModifyRoTypeResponse()
model._deserialize(response["Response"])
return model
else:
code = response["Response"]["Error"]["Code"]
message = response["Response"]["Error"]["Message"]
reqid = response["Response"]["RequestId"]
raise TencentCloudSDKException(code, message, reqid)
except Exception as e:
if isinstance(e, TencentCloudSDKException):
raise
else:
raise TencentCloudSDKException(e.message, e.message)


def ModifyTimeWindow(self, request):
"""本接口(ModifyTimeWindow)用于更新云数据库实例的维护时间窗口。
Expand Down
3 changes: 0 additions & 3 deletions tencentcloud/cdb/v20170320/errorcodes.py
Expand Up @@ -461,8 +461,5 @@
# 操作不支持。
UNSUPPORTEDOPERATION = 'UnsupportedOperation'

# 旧的延迟RO特性已经下线,新的延迟RO特性正在上线中。如果有特殊需要,请您提单,由后端为您开通。
UNSUPPORTEDOPERATION_NOTSUPPORTTHISFEATURE = 'UnsupportedOperation.NotSupportThisFeature'

# 权限不支持。
UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = 'UnsupportedOperation.PrivilegesUnsupportedError'
53 changes: 0 additions & 53 deletions tencentcloud/cdb/v20170320/models.py
Expand Up @@ -7912,59 +7912,6 @@ def _deserialize(self, params):
self.RequestId = params.get("RequestId")


class ModifyRoTypeRequest(AbstractModel):
"""ModifyRoType请求参数结构体
"""

def __init__(self):
r"""
:param InstanceId: 实例 ID。
:type InstanceId: str
:param SrcRoInstType: 只读实例源类型,取值 NORMAL(普通只读实例)、DELAY_REPLICATION(延迟只读实例)。
:type SrcRoInstType: str
:param DstRoInstType: 只读实例目标类型,取值 NORMAL(普通只读实例)、DELAY_REPLICATION(延迟只读实例)。
:type DstRoInstType: str
:param ReplicationDelay: 延迟时间(s),将实例修改为延迟只读实例时必传。最小值1,最大值259200。
:type ReplicationDelay: int
"""
self.InstanceId = None
self.SrcRoInstType = None
self.DstRoInstType = None
self.ReplicationDelay = None


def _deserialize(self, params):
self.InstanceId = params.get("InstanceId")
self.SrcRoInstType = params.get("SrcRoInstType")
self.DstRoInstType = params.get("DstRoInstType")
self.ReplicationDelay = params.get("ReplicationDelay")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeber_set.remove(name)
if len(memeber_set) > 0:
warnings.warn("%s fileds are useless." % ",".join(memeber_set))



class ModifyRoTypeResponse(AbstractModel):
"""ModifyRoType返回参数结构体
"""

def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None


def _deserialize(self, params):
self.RequestId = params.get("RequestId")


class ModifyTimeWindowRequest(AbstractModel):
"""ModifyTimeWindow请求参数结构体
Expand Down
17 changes: 1 addition & 16 deletions tencentcloud/cls/v20201016/cls_client.py
Expand Up @@ -1612,22 +1612,7 @@ def UploadLog(self, request, body):
此外日志服务还为用户提供以下两种不同的日志上传模式:
## 请求
#### 请求头业务参数
X-CLS-HashKey 请求头表示日志根据 hashkey 路由写入到 CLS 对应范围的主题分区,以保证写入到的每个主题分区是严格有序的,便于消费时有序消费。
| 字段名 | 类型 | 位置 | 是否必须 | 含义 |
| ------------------ | ------ | ------ | -------- | ------------------------------------------------------------ |
| X-CLS-HashKey | string | header | 否 | 根据 hashkey 写入相应范围的主题分区 |
| X-CLS-TopicId | String | header | 是 | 主题id | |
| Content-Type | String | header | 是 | 请求参数的协议类型, 目前只支持pb协议,填写 "application/octet-stream" |
| X-TC-Action | String | header | 是 | 公共参数,本接口取值:UploadLog。
| X-TC-Region | String | header | 是 | 公共参数,本接口不需要传递此参数。
| X-TC-Version | String | header | 是 | 公共参数,本接口取值:2020-10-16。
#### 输入参数(pb协议)
#### 输入参数(pb二进制流,位于body中)
| 字段名 | 类型 | 位置 | 必须 | 含义 |
| ------------ | ------- | ---- | ---- | ------------------------------------------------------------ |
Expand Down
26 changes: 26 additions & 0 deletions tencentcloud/cls/v20201016/models.py
Expand Up @@ -5674,6 +5674,32 @@ class UploadLogRequest(AbstractModel):
"""

def __init__(self):
r"""
:param TopicId: 主题id
:type TopicId: str
:param HashKey: 根据 hashkey 写入相应范围的主题分区
:type HashKey: str
:param CompressType: 压缩方法
:type CompressType: str
"""
self.TopicId = None
self.HashKey = None
self.CompressType = None


def _deserialize(self, params):
self.TopicId = params.get("TopicId")
self.HashKey = params.get("HashKey")
self.CompressType = params.get("CompressType")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeber_set.remove(name)
if len(memeber_set) > 0:
warnings.warn("%s fileds are useless." % ",".join(memeber_set))



class UploadLogResponse(AbstractModel):
"""UploadLog返回参数结构体
Expand Down

0 comments on commit 0784c79

Please sign in to comment.