tencentcloud-sdk-python 3.0.1131__py2.py3-none-any.whl → 3.0.1132__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (26) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +3 -4
  3. tencentcloud/antiddos/v20200309/models.py +25 -0
  4. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  5. tencentcloud/cdb/v20170320/models.py +2 -0
  6. tencentcloud/cfw/v20190904/models.py +248 -0
  7. tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
  8. tencentcloud/es/v20180416/es_client.py +23 -0
  9. tencentcloud/es/v20180416/models.py +647 -0
  10. tencentcloud/live/v20180801/models.py +37 -0
  11. tencentcloud/monitor/v20180724/models.py +25 -3
  12. tencentcloud/oceanus/v20190422/models.py +1 -1
  13. tencentcloud/organization/v20210331/models.py +2 -2
  14. tencentcloud/organization/v20210331/organization_client.py +1 -1
  15. tencentcloud/pts/v20210728/models.py +28 -1
  16. tencentcloud/redis/v20180412/models.py +15 -0
  17. tencentcloud/teo/v20220901/errorcodes.py +1 -1
  18. tencentcloud/vod/v20180717/models.py +1 -1
  19. tencentcloud/wedata/v20210820/errorcodes.py +0 -3
  20. tencentcloud/wedata/v20210820/models.py +0 -1179
  21. tencentcloud/wedata/v20210820/wedata_client.py +0 -71
  22. {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1132.dist-info}/METADATA +1 -1
  23. {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1132.dist-info}/RECORD +26 -26
  24. {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1132.dist-info}/LICENSE +0 -0
  25. {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1132.dist-info}/WHEEL +0 -0
  26. {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1132.dist-info}/top_level.txt +0 -0
@@ -4176,6 +4176,8 @@ class CreateLiveStreamMonitorRequest(AbstractModel):
4176
4176
  :type AllowMonitorReport: int
4177
4177
  :param _AiFormatDiagnose: 是否开启格式诊断。
4178
4178
  :type AiFormatDiagnose: int
4179
+ :param _AiQualityControl: 是否开启内容质检。
4180
+ :type AiQualityControl: int
4179
4181
  """
4180
4182
  self._OutputInfo = None
4181
4183
  self._InputList = None
@@ -4189,6 +4191,7 @@ class CreateLiveStreamMonitorRequest(AbstractModel):
4189
4191
  self._CheckStreamLowFrameRate = None
4190
4192
  self._AllowMonitorReport = None
4191
4193
  self._AiFormatDiagnose = None
4194
+ self._AiQualityControl = None
4192
4195
 
4193
4196
  @property
4194
4197
  def OutputInfo(self):
@@ -4286,6 +4289,14 @@ class CreateLiveStreamMonitorRequest(AbstractModel):
4286
4289
  def AiFormatDiagnose(self, AiFormatDiagnose):
4287
4290
  self._AiFormatDiagnose = AiFormatDiagnose
4288
4291
 
4292
+ @property
4293
+ def AiQualityControl(self):
4294
+ return self._AiQualityControl
4295
+
4296
+ @AiQualityControl.setter
4297
+ def AiQualityControl(self, AiQualityControl):
4298
+ self._AiQualityControl = AiQualityControl
4299
+
4289
4300
 
4290
4301
  def _deserialize(self, params):
4291
4302
  if params.get("OutputInfo") is not None:
@@ -4309,6 +4320,7 @@ class CreateLiveStreamMonitorRequest(AbstractModel):
4309
4320
  self._CheckStreamLowFrameRate = params.get("CheckStreamLowFrameRate")
4310
4321
  self._AllowMonitorReport = params.get("AllowMonitorReport")
4311
4322
  self._AiFormatDiagnose = params.get("AiFormatDiagnose")
4323
+ self._AiQualityControl = params.get("AiQualityControl")
4312
4324
  memeber_set = set(params.keys())
4313
4325
  for name, value in vars(self).items():
4314
4326
  property_name = name[1:]
@@ -18133,6 +18145,9 @@ class LiveStreamMonitorInfo(AbstractModel):
18133
18145
  :param _AiFormatDiagnose: 是否开启格式诊断
18134
18146
  注意:此字段可能返回 null,表示取不到有效值。
18135
18147
  :type AiFormatDiagnose: int
18148
+ :param _AiQualityControl: 是否开启内容质检。
18149
+ 注意:此字段可能返回 null,表示取不到有效值。
18150
+ :type AiQualityControl: int
18136
18151
  """
18137
18152
  self._MonitorId = None
18138
18153
  self._MonitorName = None
@@ -18153,6 +18168,7 @@ class LiveStreamMonitorInfo(AbstractModel):
18153
18168
  self._AiOcrInputIndexList = None
18154
18169
  self._AllowMonitorReport = None
18155
18170
  self._AiFormatDiagnose = None
18171
+ self._AiQualityControl = None
18156
18172
 
18157
18173
  @property
18158
18174
  def MonitorId(self):
@@ -18306,6 +18322,14 @@ class LiveStreamMonitorInfo(AbstractModel):
18306
18322
  def AiFormatDiagnose(self, AiFormatDiagnose):
18307
18323
  self._AiFormatDiagnose = AiFormatDiagnose
18308
18324
 
18325
+ @property
18326
+ def AiQualityControl(self):
18327
+ return self._AiQualityControl
18328
+
18329
+ @AiQualityControl.setter
18330
+ def AiQualityControl(self, AiQualityControl):
18331
+ self._AiQualityControl = AiQualityControl
18332
+
18309
18333
 
18310
18334
  def _deserialize(self, params):
18311
18335
  self._MonitorId = params.get("MonitorId")
@@ -18336,6 +18360,7 @@ class LiveStreamMonitorInfo(AbstractModel):
18336
18360
  self._AiOcrInputIndexList = params.get("AiOcrInputIndexList")
18337
18361
  self._AllowMonitorReport = params.get("AllowMonitorReport")
18338
18362
  self._AiFormatDiagnose = params.get("AiFormatDiagnose")
18363
+ self._AiQualityControl = params.get("AiQualityControl")
18339
18364
  memeber_set = set(params.keys())
18340
18365
  for name, value in vars(self).items():
18341
18366
  property_name = name[1:]
@@ -20366,6 +20391,8 @@ class ModifyLiveStreamMonitorRequest(AbstractModel):
20366
20391
  :type AllowMonitorReport: int
20367
20392
  :param _AiFormatDiagnose: 是否开启格式诊断。
20368
20393
  :type AiFormatDiagnose: int
20394
+ :param _AiQualityControl: 是否开启内容质检。
20395
+ :type AiQualityControl: int
20369
20396
  """
20370
20397
  self._MonitorId = None
20371
20398
  self._MonitorName = None
@@ -20380,6 +20407,7 @@ class ModifyLiveStreamMonitorRequest(AbstractModel):
20380
20407
  self._CheckStreamLowFrameRate = None
20381
20408
  self._AllowMonitorReport = None
20382
20409
  self._AiFormatDiagnose = None
20410
+ self._AiQualityControl = None
20383
20411
 
20384
20412
  @property
20385
20413
  def MonitorId(self):
@@ -20485,6 +20513,14 @@ class ModifyLiveStreamMonitorRequest(AbstractModel):
20485
20513
  def AiFormatDiagnose(self, AiFormatDiagnose):
20486
20514
  self._AiFormatDiagnose = AiFormatDiagnose
20487
20515
 
20516
+ @property
20517
+ def AiQualityControl(self):
20518
+ return self._AiQualityControl
20519
+
20520
+ @AiQualityControl.setter
20521
+ def AiQualityControl(self, AiQualityControl):
20522
+ self._AiQualityControl = AiQualityControl
20523
+
20488
20524
 
20489
20525
  def _deserialize(self, params):
20490
20526
  self._MonitorId = params.get("MonitorId")
@@ -20509,6 +20545,7 @@ class ModifyLiveStreamMonitorRequest(AbstractModel):
20509
20545
  self._CheckStreamLowFrameRate = params.get("CheckStreamLowFrameRate")
20510
20546
  self._AllowMonitorReport = params.get("AllowMonitorReport")
20511
20547
  self._AiFormatDiagnose = params.get("AiFormatDiagnose")
20548
+ self._AiQualityControl = params.get("AiQualityControl")
20512
20549
  memeber_set = set(params.keys())
20513
20550
  for name, value in vars(self).items():
20514
20551
  property_name = name[1:]
@@ -18203,15 +18203,19 @@ class DescribePrometheusTargetsTMPRequest(AbstractModel):
18203
18203
  :type ClusterId: str
18204
18204
  :param _ClusterType: 集群类型(可不填)
18205
18205
  :type ClusterType: str
18206
- :param _Filters: 过滤条件,当前支持
18207
- Name=state
18208
- Value=up, down, unknown
18206
+ :param _Filters: 过滤条件,支持Name=ServiceMonitor/PodMonitor/Probe/RawJob/Job, Value为采集配置名称;Name=Health, Value=up, down, unknown;Name=EndPoint, Value为EndPoint地址
18209
18207
  :type Filters: list of Filter
18208
+ :param _Offset: targets偏移量,默认为0
18209
+ :type Offset: int
18210
+ :param _Limit: targets返回数量,默认为20,最大值200
18211
+ :type Limit: int
18210
18212
  """
18211
18213
  self._InstanceId = None
18212
18214
  self._ClusterId = None
18213
18215
  self._ClusterType = None
18214
18216
  self._Filters = None
18217
+ self._Offset = None
18218
+ self._Limit = None
18215
18219
 
18216
18220
  @property
18217
18221
  def InstanceId(self):
@@ -18245,6 +18249,22 @@ Value=up, down, unknown
18245
18249
  def Filters(self, Filters):
18246
18250
  self._Filters = Filters
18247
18251
 
18252
+ @property
18253
+ def Offset(self):
18254
+ return self._Offset
18255
+
18256
+ @Offset.setter
18257
+ def Offset(self, Offset):
18258
+ self._Offset = Offset
18259
+
18260
+ @property
18261
+ def Limit(self):
18262
+ return self._Limit
18263
+
18264
+ @Limit.setter
18265
+ def Limit(self, Limit):
18266
+ self._Limit = Limit
18267
+
18248
18268
 
18249
18269
  def _deserialize(self, params):
18250
18270
  self._InstanceId = params.get("InstanceId")
@@ -18256,6 +18276,8 @@ Value=up, down, unknown
18256
18276
  obj = Filter()
18257
18277
  obj._deserialize(item)
18258
18278
  self._Filters.append(obj)
18279
+ self._Offset = params.get("Offset")
18280
+ self._Limit = params.get("Limit")
18259
18281
  memeber_set = set(params.keys())
18260
18282
  for name, value in vars(self).items():
18261
18283
  property_name = name[1:]
@@ -2229,7 +2229,7 @@ class CreateJobRequest(AbstractModel):
2229
2229
 
2230
2230
  def __init__(self):
2231
2231
  r"""
2232
- :param _Name: 作业名称,允许输入长度小于等于50个字符的中文、英文、数字、-(横线)、_(下划线)、.(点),且符号必须半角字符。注意作业名不能和现有作业同名
2232
+ :param _Name: 作业名称,允许输入长度小于50个字符的中文、英文、数字、-(横线)、_(下划线)、.(点),且符号必须半角字符。注意作业名不能和现有作业同名
2233
2233
  :type Name: str
2234
2234
  :param _JobType: 作业的类型,1 表示 SQL 作业,2 表示 JAR 作业
2235
2235
  :type JobType: int
@@ -2026,7 +2026,7 @@ class DeletePolicyRequest(AbstractModel):
2026
2026
 
2027
2027
  def __init__(self):
2028
2028
  r"""
2029
- :param _PolicyId: 需要删除的策略ID。可以调用[ListPolicies](https://tcloud4api.woa.com/document/product/1128/79356?!preview&!document=1)获取
2029
+ :param _PolicyId: 需要删除的策略ID。可以调用[ListPolicies](https://cloud.tencent.com/document/product/850/105311)获取
2030
2030
 
2031
2031
  :type PolicyId: int
2032
2032
  :param _Type: 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
@@ -8262,7 +8262,7 @@ class UpdatePolicyRequest(AbstractModel):
8262
8262
 
8263
8263
  def __init__(self):
8264
8264
  r"""
8265
- :param _PolicyId: 需要编辑的策略ID。可以调用[ListPolicies](https://tcloud4api.woa.com/document/product/1128/79356?!preview&!document=1)获取
8265
+ :param _PolicyId: 需要编辑的策略ID。可以调用[ListPolicies](https://cloud.tencent.com/document/product/850/105311)获取
8266
8266
  :type PolicyId: int
8267
8267
  :param _Description: 策略描述。
8268
8268
  :type Description: str
@@ -372,7 +372,7 @@ class OrganizationClient(AbstractClient):
372
372
 
373
373
 
374
374
  def CreatePolicy(self, request):
375
- """创建一个特殊类型的策略,你可以关联到企业组织Root节点、企业单元或者企业的成员账号。
375
+ """创建一个特殊类型的策略,您可以关联到企业组织Root节点、企业部门节点或者企业的成员账号。
376
376
 
377
377
  :param request: Request instance for CreatePolicy.
378
378
  :type request: :class:`tencentcloud.organization.v20210331.models.CreatePolicyRequest`
@@ -4744,6 +4744,33 @@ class DescribeRegionsRequest(AbstractModel):
4744
4744
 
4745
4745
  """
4746
4746
 
4747
+ def __init__(self):
4748
+ r"""
4749
+ :param _LoadType: 通过该参数指定不同压测网络环境,在不同网络环境下,PTS可用的地域不一样
4750
+ :type LoadType: int
4751
+ """
4752
+ self._LoadType = None
4753
+
4754
+ @property
4755
+ def LoadType(self):
4756
+ return self._LoadType
4757
+
4758
+ @LoadType.setter
4759
+ def LoadType(self, LoadType):
4760
+ self._LoadType = LoadType
4761
+
4762
+
4763
+ def _deserialize(self, params):
4764
+ self._LoadType = params.get("LoadType")
4765
+ memeber_set = set(params.keys())
4766
+ for name, value in vars(self).items():
4767
+ property_name = name[1:]
4768
+ if property_name in memeber_set:
4769
+ memeber_set.remove(property_name)
4770
+ if len(memeber_set) > 0:
4771
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4772
+
4773
+
4747
4774
 
4748
4775
  class DescribeRegionsResponse(AbstractModel):
4749
4776
  """DescribeRegions返回参数结构体
@@ -7733,7 +7760,7 @@ class Load(AbstractModel):
7733
7760
  :param _VpcLoadDistribution: 压力来源
7734
7761
  注意:此字段可能返回 null,表示取不到有效值。
7735
7762
  :type VpcLoadDistribution: :class:`tencentcloud.pts.v20210728.models.VpcLoadDistribution`
7736
- :param _GeoRegionsLoadDistribution: 压力分布
7763
+ :param _GeoRegionsLoadDistribution: 多地域压力分布
7737
7764
  注意:此字段可能返回 null,表示取不到有效值。
7738
7765
  :type GeoRegionsLoadDistribution: list of GeoRegionsLoadItem
7739
7766
  """
@@ -1824,6 +1824,11 @@ class CreateInstancesRequest(AbstractModel):
1824
1824
  :type ProductVersion: str
1825
1825
  :param _RedisClusterId: 独享集群 ID。当**ProductVersion**设置为**cdc**时,该参数必须设置。
1826
1826
  :type RedisClusterId: str
1827
+ :param _AlarmPolicyList: 告警策略 ID 数组。
1828
+
1829
+ - 请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)获取告警策略 ID。
1830
+ - 若不配置该参数,则绑定默认告警策略。默认告警策略具体信息,请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)查看。
1831
+ :type AlarmPolicyList: list of str
1827
1832
  """
1828
1833
  self._TypeId = None
1829
1834
  self._MemSize = None
@@ -1850,6 +1855,7 @@ class CreateInstancesRequest(AbstractModel):
1850
1855
  self._DryRun = None
1851
1856
  self._ProductVersion = None
1852
1857
  self._RedisClusterId = None
1858
+ self._AlarmPolicyList = None
1853
1859
 
1854
1860
  @property
1855
1861
  def TypeId(self):
@@ -2051,6 +2057,14 @@ class CreateInstancesRequest(AbstractModel):
2051
2057
  def RedisClusterId(self, RedisClusterId):
2052
2058
  self._RedisClusterId = RedisClusterId
2053
2059
 
2060
+ @property
2061
+ def AlarmPolicyList(self):
2062
+ return self._AlarmPolicyList
2063
+
2064
+ @AlarmPolicyList.setter
2065
+ def AlarmPolicyList(self, AlarmPolicyList):
2066
+ self._AlarmPolicyList = AlarmPolicyList
2067
+
2054
2068
 
2055
2069
  def _deserialize(self, params):
2056
2070
  self._TypeId = params.get("TypeId")
@@ -2088,6 +2102,7 @@ class CreateInstancesRequest(AbstractModel):
2088
2102
  self._DryRun = params.get("DryRun")
2089
2103
  self._ProductVersion = params.get("ProductVersion")
2090
2104
  self._RedisClusterId = params.get("RedisClusterId")
2105
+ self._AlarmPolicyList = params.get("AlarmPolicyList")
2091
2106
  memeber_set = set(params.keys())
2092
2107
  for name, value in vars(self).items():
2093
2108
  property_name = name[1:]
@@ -62,7 +62,7 @@ FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = 'FailedOperation.CreateClsLogTopic
62
62
  # 创建自定义推送任务认证失败, 请检查推送地址是否正确。
63
63
  FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = 'FailedOperation.CreateLogTopicTaskAuthFailure'
64
64
 
65
- # 账户余额不足
65
+ # 账户余额不足。
66
66
  FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = 'FailedOperation.InsufficientAccountBalance'
67
67
 
68
68
  # 站点状态不正确。
@@ -53113,7 +53113,7 @@ class SetVodDomainCertificateRequest(AbstractModel):
53113
53113
  <li>Set:设置域名的 HTTPS 所需证书;</li>
53114
53114
  <li>Clear: 清空域名 HTTPS 配置,清空后该域名无法支持 HTTPS 访问。</li>
53115
53115
  :type Operation: str
53116
- :param _SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
53116
+ :param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
53117
53117
  :type SubAppId: int
53118
53118
  :param _CertID: [腾讯云SSL](/document/product/400/7572) 上传的证书 ID。清空域名 HTTPS 配置时无需填写该字段。
53119
53119
  :type CertID: str
@@ -44,9 +44,6 @@ INTERNALERROR_INTERNALCALLCLOUDAPIERROR = 'InternalError.InternalCallCloudApiErr
44
44
  # 参数错误。
45
45
  INVALIDPARAMETER = 'InvalidParameter'
46
46
 
47
- # ClientIp未被授权。
48
- INVALIDPARAMETER_CLIENTIPNOTAUTHORIZED = 'InvalidParameter.ClientIpNotAuthorized'
49
-
50
47
  # 数据引擎实例不存在。
51
48
  INVALIDPARAMETER_DATAENGINEINSTANCENOTEXISTS = 'InvalidParameter.DataEngineInstanceNotExists'
52
49