tencentcloud-sdk-python 3.0.1461__py2.py3-none-any.whl → 3.0.1463__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.
Files changed (34) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ai3d/v20250513/ai3d_client.py +2 -2
  3. tencentcloud/asr/v20190614/models.py +4 -6
  4. tencentcloud/cdn/v20180606/models.py +64 -12
  5. tencentcloud/clb/v20180317/models.py +20 -0
  6. tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
  7. tencentcloud/dbbrain/v20210527/models.py +438 -0
  8. tencentcloud/dsgc/v20190723/models.py +106 -0
  9. tencentcloud/eb/v20210416/models.py +45 -0
  10. tencentcloud/es/v20180416/errorcodes.py +6 -0
  11. tencentcloud/es/v20180416/es_client.py +23 -0
  12. tencentcloud/es/v20180416/models.py +315 -0
  13. tencentcloud/ess/v20201111/models.py +4 -4
  14. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
  15. tencentcloud/gwlb/v20240906/models.py +111 -0
  16. tencentcloud/lcic/v20220817/models.py +75 -0
  17. tencentcloud/lke/v20231130/lke_client.py +24 -1
  18. tencentcloud/lke/v20231130/models.py +796 -16
  19. tencentcloud/mps/v20190612/models.py +534 -8
  20. tencentcloud/oceanus/v20190422/errorcodes.py +6 -0
  21. tencentcloud/oceanus/v20190422/models.py +522 -0
  22. tencentcloud/oceanus/v20190422/oceanus_client.py +92 -0
  23. tencentcloud/redis/v20180412/models.py +167 -86
  24. tencentcloud/redis/v20180412/redis_client.py +1 -1
  25. tencentcloud/tat/v20201028/models.py +15 -0
  26. tencentcloud/tione/v20211111/models.py +2 -2
  27. tencentcloud/vod/v20180717/models.py +6 -6
  28. tencentcloud/vod/v20180717/vod_client.py +1 -3
  29. tencentcloud/vtc/v20240223/vtc_client.py +1 -1
  30. {tencentcloud_sdk_python-3.0.1461.dist-info → tencentcloud_sdk_python-3.0.1463.dist-info}/METADATA +1 -1
  31. {tencentcloud_sdk_python-3.0.1461.dist-info → tencentcloud_sdk_python-3.0.1463.dist-info}/RECORD +34 -34
  32. {tencentcloud_sdk_python-3.0.1461.dist-info → tencentcloud_sdk_python-3.0.1463.dist-info}/LICENSE +0 -0
  33. {tencentcloud_sdk_python-3.0.1461.dist-info → tencentcloud_sdk_python-3.0.1463.dist-info}/WHEEL +0 -0
  34. {tencentcloud_sdk_python-3.0.1461.dist-info → tencentcloud_sdk_python-3.0.1463.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1461'
17
+ __version__ = '3.0.1463'
@@ -76,7 +76,7 @@ class Ai3dClient(AbstractClient):
76
76
 
77
77
  def QueryHunyuanTo3DRapidJob(self, request):
78
78
  r"""混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
79
- 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
79
+ 默认提供3个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
80
80
 
81
81
  :param request: Request instance for QueryHunyuanTo3DRapidJob.
82
82
  :type request: :class:`tencentcloud.ai3d.v20250513.models.QueryHunyuanTo3DRapidJobRequest`
@@ -148,7 +148,7 @@ class Ai3dClient(AbstractClient):
148
148
 
149
149
  def SubmitHunyuanTo3DRapidJob(self, request):
150
150
  r"""混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
151
- 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
151
+ 默认提供3个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
152
152
 
153
153
  :param request: Request instance for SubmitHunyuanTo3DRapidJob.
154
154
  :type request: :class:`tencentcloud.ai3d.v20250513.models.SubmitHunyuanTo3DRapidJobRequest`
@@ -824,11 +824,10 @@ class CreateRecTaskRequest(AbstractModel):
824
824
 
825
825
  通用场景引擎:
826
826
  **注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**
827
- • **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;
827
+ • **16k_zh_en**:中英粤+7种方言大模型引擎【大模型版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北和安徽方言识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;
828
828
  • **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;
829
829
  • **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);
830
- • **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
831
- • **16k_zh_en**:中英大模型引擎【大模型版】。当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;
830
+ • **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;
832
831
  • **16k_en:**英语;
833
832
  • **16k_yue:**粤语;
834
833
  • **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;
@@ -1046,11 +1045,10 @@ class CreateRecTaskRequest(AbstractModel):
1046
1045
 
1047
1046
  通用场景引擎:
1048
1047
  **注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**
1049
- • **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;
1048
+ • **16k_zh_en**:中英粤+7种方言大模型引擎【大模型版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北和安徽方言识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;
1050
1049
  • **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;
1051
1050
  • **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);
1052
- • **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
1053
- • **16k_zh_en**:中英大模型引擎【大模型版】。当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;
1051
+ • **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;
1054
1052
  • **16k_en:**英语;
1055
1053
  • **16k_yue:**粤语;
1056
1054
  • **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;
@@ -205,11 +205,14 @@ class AddCLSTopicDomainsRequest(AbstractModel):
205
205
  :type DomainAreaConfigs: list of DomainAreaConfig
206
206
  :param _Channel: 接入渠道,cdn或者ecdn,默认值为cdn
207
207
  :type Channel: str
208
+ :param _InheritDomainTags: 是否继承域名标签, 默认保留上一次更改的值
209
+ :type InheritDomainTags: bool
208
210
  """
209
211
  self._LogsetId = None
210
212
  self._TopicId = None
211
213
  self._DomainAreaConfigs = None
212
214
  self._Channel = None
215
+ self._InheritDomainTags = None
213
216
 
214
217
  @property
215
218
  def LogsetId(self):
@@ -255,6 +258,17 @@ class AddCLSTopicDomainsRequest(AbstractModel):
255
258
  def Channel(self, Channel):
256
259
  self._Channel = Channel
257
260
 
261
+ @property
262
+ def InheritDomainTags(self):
263
+ r"""是否继承域名标签, 默认保留上一次更改的值
264
+ :rtype: bool
265
+ """
266
+ return self._InheritDomainTags
267
+
268
+ @InheritDomainTags.setter
269
+ def InheritDomainTags(self, InheritDomainTags):
270
+ self._InheritDomainTags = InheritDomainTags
271
+
258
272
 
259
273
  def _deserialize(self, params):
260
274
  self._LogsetId = params.get("LogsetId")
@@ -266,6 +280,7 @@ class AddCLSTopicDomainsRequest(AbstractModel):
266
280
  obj._deserialize(item)
267
281
  self._DomainAreaConfigs.append(obj)
268
282
  self._Channel = params.get("Channel")
283
+ self._InheritDomainTags = params.get("InheritDomainTags")
269
284
  memeber_set = set(params.keys())
270
285
  for name, value in vars(self).items():
271
286
  property_name = name[1:]
@@ -5571,11 +5586,14 @@ class CreateClsLogTopicRequest(AbstractModel):
5571
5586
  :type Channel: str
5572
5587
  :param _DomainAreaConfigs: 域名区域信息
5573
5588
  :type DomainAreaConfigs: list of DomainAreaConfig
5589
+ :param _InheritDomainTags: 是否继承域名标签,默认为false
5590
+ :type InheritDomainTags: bool
5574
5591
  """
5575
5592
  self._TopicName = None
5576
5593
  self._LogsetId = None
5577
5594
  self._Channel = None
5578
5595
  self._DomainAreaConfigs = None
5596
+ self._InheritDomainTags = None
5579
5597
 
5580
5598
  @property
5581
5599
  def TopicName(self):
@@ -5621,6 +5639,17 @@ class CreateClsLogTopicRequest(AbstractModel):
5621
5639
  def DomainAreaConfigs(self, DomainAreaConfigs):
5622
5640
  self._DomainAreaConfigs = DomainAreaConfigs
5623
5641
 
5642
+ @property
5643
+ def InheritDomainTags(self):
5644
+ r"""是否继承域名标签,默认为false
5645
+ :rtype: bool
5646
+ """
5647
+ return self._InheritDomainTags
5648
+
5649
+ @InheritDomainTags.setter
5650
+ def InheritDomainTags(self, InheritDomainTags):
5651
+ self._InheritDomainTags = InheritDomainTags
5652
+
5624
5653
 
5625
5654
  def _deserialize(self, params):
5626
5655
  self._TopicName = params.get("TopicName")
@@ -5632,6 +5661,7 @@ class CreateClsLogTopicRequest(AbstractModel):
5632
5661
  obj = DomainAreaConfig()
5633
5662
  obj._deserialize(item)
5634
5663
  self._DomainAreaConfigs.append(obj)
5664
+ self._InheritDomainTags = params.get("InheritDomainTags")
5635
5665
  memeber_set = set(params.keys())
5636
5666
  for name, value in vars(self).items():
5637
5667
  property_name = name[1:]
@@ -8607,10 +8637,7 @@ edge:表示边缘节点
8607
8637
  last:表示回源层节点
8608
8638
  不填充情况下,默认返回边缘节点信息
8609
8639
  :type Layer: str
8610
- :param _Area: 查询区域:
8611
- mainland: 国内节点
8612
- overseas: 海外节点
8613
- global: 全球节点
8640
+ :param _Area: 查询区域:mainland: 中国境内节点overseas: 海外节点global: 全球节点
8614
8641
  :type Area: str
8615
8642
  :param _Segment: 是否以IP段的格式返回。
8616
8643
  :type Segment: bool
@@ -8653,10 +8680,7 @@ last:表示回源层节点
8653
8680
 
8654
8681
  @property
8655
8682
  def Area(self):
8656
- r"""查询区域:
8657
- mainland: 国内节点
8658
- overseas: 海外节点
8659
- global: 全球节点
8683
+ r"""查询区域:mainland: 中国境内节点overseas: 海外节点global: 全球节点
8660
8684
  :rtype: str
8661
8685
  """
8662
8686
  return self._Area
@@ -15671,7 +15695,7 @@ blacklist:黑名单
15671
15695
  最多可填充 200 个白名单或 200 个黑名单;
15672
15696
  注意:此字段可能返回 null,表示取不到有效值。
15673
15697
  :type Filters: list of str
15674
- :param _FilterRules: IP 黑白名单分路径配置,白名单功能。黑白名单 IP 总数不能超过 1000 个。
15698
+ :param _FilterRules: IP 黑白名单分路径配置。黑白名单 IP 总数不能超过 1000 个。
15675
15699
  注意:此字段可能返回 null,表示取不到有效值。
15676
15700
  :type FilterRules: list of IpFilterPathRule
15677
15701
  :param _ReturnCode: IP 黑白名单验证失败时返回的 code <br><font color=red>已下线,参数失效,不支持自定义状态码,固定返回514</font>
@@ -15727,7 +15751,7 @@ blacklist:黑名单
15727
15751
 
15728
15752
  @property
15729
15753
  def FilterRules(self):
15730
- r"""IP 黑白名单分路径配置,白名单功能。黑白名单 IP 总数不能超过 1000 个。
15754
+ r"""IP 黑白名单分路径配置。黑白名单 IP 总数不能超过 1000 个。
15731
15755
  注意:此字段可能返回 null,表示取不到有效值。
15732
15756
  :rtype: list of IpFilterPathRule
15733
15757
  """
@@ -16520,6 +16544,8 @@ class ListClsTopicDomainsResponse(AbstractModel):
16520
16544
  :type TopicName: str
16521
16545
  :param _UpdateTime: 日志主题最近更新时间
16522
16546
  :type UpdateTime: str
16547
+ :param _InheritDomainTags: 是否继承域名标签
16548
+ :type InheritDomainTags: bool
16523
16549
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16524
16550
  :type RequestId: str
16525
16551
  """
@@ -16530,6 +16556,7 @@ class ListClsTopicDomainsResponse(AbstractModel):
16530
16556
  self._DomainAreaConfigs = None
16531
16557
  self._TopicName = None
16532
16558
  self._UpdateTime = None
16559
+ self._InheritDomainTags = None
16533
16560
  self._RequestId = None
16534
16561
 
16535
16562
  @property
@@ -16609,6 +16636,17 @@ class ListClsTopicDomainsResponse(AbstractModel):
16609
16636
  def UpdateTime(self, UpdateTime):
16610
16637
  self._UpdateTime = UpdateTime
16611
16638
 
16639
+ @property
16640
+ def InheritDomainTags(self):
16641
+ r"""是否继承域名标签
16642
+ :rtype: bool
16643
+ """
16644
+ return self._InheritDomainTags
16645
+
16646
+ @InheritDomainTags.setter
16647
+ def InheritDomainTags(self, InheritDomainTags):
16648
+ self._InheritDomainTags = InheritDomainTags
16649
+
16612
16650
  @property
16613
16651
  def RequestId(self):
16614
16652
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -16634,6 +16672,7 @@ class ListClsTopicDomainsResponse(AbstractModel):
16634
16672
  self._DomainAreaConfigs.append(obj)
16635
16673
  self._TopicName = params.get("TopicName")
16636
16674
  self._UpdateTime = params.get("UpdateTime")
16675
+ self._InheritDomainTags = params.get("InheritDomainTags")
16637
16676
  self._RequestId = params.get("RequestId")
16638
16677
 
16639
16678
 
@@ -18047,11 +18086,14 @@ class ManageClsTopicDomainsRequest(AbstractModel):
18047
18086
  :type Channel: str
18048
18087
  :param _DomainAreaConfigs: 域名区域配置,注意:如果此字段为空,则表示解绑对应主题下的所有域名
18049
18088
  :type DomainAreaConfigs: list of DomainAreaConfig
18089
+ :param _InheritDomainTags: 是否继承域名标签
18090
+ :type InheritDomainTags: bool
18050
18091
  """
18051
18092
  self._LogsetId = None
18052
18093
  self._TopicId = None
18053
18094
  self._Channel = None
18054
18095
  self._DomainAreaConfigs = None
18096
+ self._InheritDomainTags = None
18055
18097
 
18056
18098
  @property
18057
18099
  def LogsetId(self):
@@ -18097,6 +18139,17 @@ class ManageClsTopicDomainsRequest(AbstractModel):
18097
18139
  def DomainAreaConfigs(self, DomainAreaConfigs):
18098
18140
  self._DomainAreaConfigs = DomainAreaConfigs
18099
18141
 
18142
+ @property
18143
+ def InheritDomainTags(self):
18144
+ r"""是否继承域名标签
18145
+ :rtype: bool
18146
+ """
18147
+ return self._InheritDomainTags
18148
+
18149
+ @InheritDomainTags.setter
18150
+ def InheritDomainTags(self, InheritDomainTags):
18151
+ self._InheritDomainTags = InheritDomainTags
18152
+
18100
18153
 
18101
18154
  def _deserialize(self, params):
18102
18155
  self._LogsetId = params.get("LogsetId")
@@ -18108,6 +18161,7 @@ class ManageClsTopicDomainsRequest(AbstractModel):
18108
18161
  obj = DomainAreaConfig()
18109
18162
  obj._deserialize(item)
18110
18163
  self._DomainAreaConfigs.append(obj)
18164
+ self._InheritDomainTags = params.get("InheritDomainTags")
18111
18165
  memeber_set = set(params.keys())
18112
18166
  for name, value in vars(self).items():
18113
18167
  property_name = name[1:]
@@ -18761,7 +18815,6 @@ ip:IP 列表作为源站
18761
18815
  以下备源源站类型尚未全量支持,需要申请试用:
18762
18816
  ipv6_domain: 源站列表为多个 IPv6 地址以及域名
18763
18817
  ip_ipv6:源站列表为多个 IPv4 地址和IPv6 地址
18764
- ipv6_domain: 源站列表为多个 IPv6 地址以及域名
18765
18818
  ip_ipv6_domain:源站列表为多个 IPv4 地址IPv6 地址以及域名
18766
18819
  注意:此字段可能返回 null,表示取不到有效值。
18767
18820
  :type BackupOriginType: str
@@ -18925,7 +18978,6 @@ ip:IP 列表作为源站
18925
18978
  以下备源源站类型尚未全量支持,需要申请试用:
18926
18979
  ipv6_domain: 源站列表为多个 IPv6 地址以及域名
18927
18980
  ip_ipv6:源站列表为多个 IPv4 地址和IPv6 地址
18928
- ipv6_domain: 源站列表为多个 IPv6 地址以及域名
18929
18981
  ip_ipv6_domain:源站列表为多个 IPv4 地址IPv6 地址以及域名
18930
18982
  注意:此字段可能返回 null,表示取不到有效值。
18931
18983
  :rtype: str
@@ -31,10 +31,13 @@ class AddCustomizedConfigRequest(AbstractModel):
31
31
  :type ConfigType: str
32
32
  :param _ConfigContent: 配置内容
33
33
  :type ConfigContent: str
34
+ :param _Tags: 标签
35
+ :type Tags: list of TagInfo
34
36
  """
35
37
  self._ConfigName = None
36
38
  self._ConfigType = None
37
39
  self._ConfigContent = None
40
+ self._Tags = None
38
41
 
39
42
  @property
40
43
  def ConfigName(self):
@@ -69,11 +72,28 @@ class AddCustomizedConfigRequest(AbstractModel):
69
72
  def ConfigContent(self, ConfigContent):
70
73
  self._ConfigContent = ConfigContent
71
74
 
75
+ @property
76
+ def Tags(self):
77
+ r"""标签
78
+ :rtype: list of TagInfo
79
+ """
80
+ return self._Tags
81
+
82
+ @Tags.setter
83
+ def Tags(self, Tags):
84
+ self._Tags = Tags
85
+
72
86
 
73
87
  def _deserialize(self, params):
74
88
  self._ConfigName = params.get("ConfigName")
75
89
  self._ConfigType = params.get("ConfigType")
76
90
  self._ConfigContent = params.get("ConfigContent")
91
+ if params.get("Tags") is not None:
92
+ self._Tags = []
93
+ for item in params.get("Tags"):
94
+ obj = TagInfo()
95
+ obj._deserialize(item)
96
+ self._Tags.append(obj)
77
97
  memeber_set = set(params.keys())
78
98
  for name, value in vars(self).items():
79
99
  property_name = name[1:]
@@ -923,6 +923,29 @@ class DbbrainClient(AbstractClient):
923
923
  raise TencentCloudSDKException(type(e).__name__, str(e))
924
924
 
925
925
 
926
+ def DescribeHealthScoreTimeSeries(self, request):
927
+ r"""获取指定时间段内的健康得分趋势
928
+
929
+ :param request: Request instance for DescribeHealthScoreTimeSeries.
930
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeHealthScoreTimeSeriesRequest`
931
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeHealthScoreTimeSeriesResponse`
932
+
933
+ """
934
+ try:
935
+ params = request._serialize()
936
+ headers = request.headers
937
+ body = self.call("DescribeHealthScoreTimeSeries", params, headers=headers)
938
+ response = json.loads(body)
939
+ model = models.DescribeHealthScoreTimeSeriesResponse()
940
+ model._deserialize(response["Response"])
941
+ return model
942
+ except Exception as e:
943
+ if isinstance(e, TencentCloudSDKException):
944
+ raise
945
+ else:
946
+ raise TencentCloudSDKException(type(e).__name__, str(e))
947
+
948
+
926
949
  def DescribeIndexRecommendAggregationSlowLogs(self, request):
927
950
  r"""查询某张表的慢查模板概览,这个接口是对用户点击对应的推荐索引后,展示慢日志用的
928
951
 
@@ -1245,6 +1268,29 @@ class DbbrainClient(AbstractClient):
1245
1268
  raise TencentCloudSDKException(type(e).__name__, str(e))
1246
1269
 
1247
1270
 
1271
+ def DescribeRedisTopCostCommands(self, request):
1272
+ r"""获取指定时间段内Redis 访问命令 cost top N
1273
+
1274
+ :param request: Request instance for DescribeRedisTopCostCommands.
1275
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeRedisTopCostCommandsRequest`
1276
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeRedisTopCostCommandsResponse`
1277
+
1278
+ """
1279
+ try:
1280
+ params = request._serialize()
1281
+ headers = request.headers
1282
+ body = self.call("DescribeRedisTopCostCommands", params, headers=headers)
1283
+ response = json.loads(body)
1284
+ model = models.DescribeRedisTopCostCommandsResponse()
1285
+ model._deserialize(response["Response"])
1286
+ return model
1287
+ except Exception as e:
1288
+ if isinstance(e, TencentCloudSDKException):
1289
+ raise
1290
+ else:
1291
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1292
+
1293
+
1248
1294
  def DescribeRedisTopHotKeys(self, request):
1249
1295
  r"""热Key分析
1250
1296