tencentcloud-sdk-python 3.0.1428__py2.py3-none-any.whl → 3.0.1430__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 (28) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cdwpg/v20201230/models.py +4 -0
  3. tencentcloud/clb/v20180317/models.py +2 -2
  4. tencentcloud/cloudaudit/v20190319/models.py +15 -0
  5. tencentcloud/ctem/v20231128/ctem_client.py +23 -0
  6. tencentcloud/ctem/v20231128/models.py +124 -0
  7. tencentcloud/cwp/v20180228/models.py +17 -0
  8. tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
  9. tencentcloud/dnspod/v20210323/errorcodes.py +24 -0
  10. tencentcloud/dnspod/v20210323/models.py +401 -0
  11. tencentcloud/emr/v20190103/models.py +15 -0
  12. tencentcloud/ess/v20201111/ess_client.py +42 -0
  13. tencentcloud/ess/v20201111/models.py +755 -54
  14. tencentcloud/igtm/v20231024/models.py +2 -2
  15. tencentcloud/mrs/v20200910/models.py +19 -0
  16. tencentcloud/ocr/v20181119/models.py +42 -92
  17. tencentcloud/tat/v20201028/models.py +15 -0
  18. tencentcloud/tione/v20211111/models.py +30 -0
  19. tencentcloud/tke/v20180525/models.py +65 -35
  20. tencentcloud/trtc/v20190722/models.py +19 -0
  21. tencentcloud/vclm/v20240523/models.py +15 -0
  22. tencentcloud/vod/v20180717/models.py +78 -6
  23. tencentcloud/waf/v20180125/waf_client.py +1 -1
  24. {tencentcloud_sdk_python-3.0.1428.dist-info → tencentcloud_sdk_python-3.0.1430.dist-info}/METADATA +1 -1
  25. {tencentcloud_sdk_python-3.0.1428.dist-info → tencentcloud_sdk_python-3.0.1430.dist-info}/RECORD +28 -28
  26. {tencentcloud_sdk_python-3.0.1428.dist-info → tencentcloud_sdk_python-3.0.1430.dist-info}/LICENSE +0 -0
  27. {tencentcloud_sdk_python-3.0.1428.dist-info → tencentcloud_sdk_python-3.0.1430.dist-info}/WHEEL +0 -0
  28. {tencentcloud_sdk_python-3.0.1428.dist-info → tencentcloud_sdk_python-3.0.1430.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.1428'
17
+ __version__ = '3.0.1430'
@@ -786,6 +786,8 @@ class CreateInstanceByApiRequest(AbstractModel):
786
786
 
787
787
  @property
788
788
  def Tags(self):
789
+ warnings.warn("parameter `Tags` is deprecated", DeprecationWarning)
790
+
789
791
  """废弃,用TagItems
790
792
  :rtype: :class:`tencentcloud.cdwpg.v20201230.models.Tag`
791
793
  """
@@ -793,6 +795,8 @@ class CreateInstanceByApiRequest(AbstractModel):
793
795
 
794
796
  @Tags.setter
795
797
  def Tags(self, Tags):
798
+ warnings.warn("parameter `Tags` is deprecated", DeprecationWarning)
799
+
796
800
  self._Tags = Tags
797
801
 
798
802
  @property
@@ -3986,7 +3986,7 @@ class CreateListenerRequest(AbstractModel):
3986
3986
  :type KeepaliveEnable: int
3987
3987
  :param _EndPort: 创建端口段监听器时必须传入此参数,用以标识结束端口。同时,入参Ports只允许传入一个成员,用以标识开始端口。【如果您需要体验端口段功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)】。
3988
3988
  :type EndPort: int
3989
- :param _DeregisterTargetRst: 解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。
3989
+ :param _DeregisterTargetRst: 解绑后端目标时,是否发RST给两端(客户端和服务器),此参数仅适用于TCP监听器。
3990
3990
  :type DeregisterTargetRst: bool
3991
3991
  :param _MultiCertInfo: 证书信息,支持同时传入不同算法类型的多本服务端证书,参数限制如下:
3992
3992
  <li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li>
@@ -4189,7 +4189,7 @@ class CreateListenerRequest(AbstractModel):
4189
4189
 
4190
4190
  @property
4191
4191
  def DeregisterTargetRst(self):
4192
- """解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。
4192
+ """解绑后端目标时,是否发RST给两端(客户端和服务器),此参数仅适用于TCP监听器。
4193
4193
  :rtype: bool
4194
4194
  """
4195
4195
  return self._DeregisterTargetRst
@@ -318,6 +318,8 @@ class CreateAuditTrackRequest(AbstractModel):
318
318
  :type EventNames: list of str
319
319
  :param _TrackForAllMembers: 是否开启将集团成员操作日志投递到集团管理账号或者可信服务管理账号(0:未开启,1:开启,只能集团管理账号或者可信服务管理账号开启此项功能)
320
320
  :type TrackForAllMembers: int
321
+ :param _ExportId: 任务ID
322
+ :type ExportId: str
321
323
  """
322
324
  self._Name = None
323
325
  self._Status = None
@@ -326,6 +328,7 @@ class CreateAuditTrackRequest(AbstractModel):
326
328
  self._ResourceType = None
327
329
  self._EventNames = None
328
330
  self._TrackForAllMembers = None
331
+ self._ExportId = None
329
332
 
330
333
  @property
331
334
  def Name(self):
@@ -404,6 +407,17 @@ class CreateAuditTrackRequest(AbstractModel):
404
407
  def TrackForAllMembers(self, TrackForAllMembers):
405
408
  self._TrackForAllMembers = TrackForAllMembers
406
409
 
410
+ @property
411
+ def ExportId(self):
412
+ """任务ID
413
+ :rtype: str
414
+ """
415
+ return self._ExportId
416
+
417
+ @ExportId.setter
418
+ def ExportId(self, ExportId):
419
+ self._ExportId = ExportId
420
+
407
421
 
408
422
  def _deserialize(self, params):
409
423
  self._Name = params.get("Name")
@@ -415,6 +429,7 @@ class CreateAuditTrackRequest(AbstractModel):
415
429
  self._ResourceType = params.get("ResourceType")
416
430
  self._EventNames = params.get("EventNames")
417
431
  self._TrackForAllMembers = params.get("TrackForAllMembers")
432
+ self._ExportId = params.get("ExportId")
418
433
  memeber_set = set(params.keys())
419
434
  for name, value in vars(self).items():
420
435
  property_name = name[1:]
@@ -739,6 +739,29 @@ class CtemClient(AbstractClient):
739
739
  raise TencentCloudSDKException(type(e).__name__, str(e))
740
740
 
741
741
 
742
+ def ModifyLabel(self, request):
743
+ """修改标签
744
+
745
+ :param request: Request instance for ModifyLabel.
746
+ :type request: :class:`tencentcloud.ctem.v20231128.models.ModifyLabelRequest`
747
+ :rtype: :class:`tencentcloud.ctem.v20231128.models.ModifyLabelResponse`
748
+
749
+ """
750
+ try:
751
+ params = request._serialize()
752
+ headers = request.headers
753
+ body = self.call("ModifyLabel", params, headers=headers)
754
+ response = json.loads(body)
755
+ model = models.ModifyLabelResponse()
756
+ model._deserialize(response["Response"])
757
+ return model
758
+ except Exception as e:
759
+ if isinstance(e, TencentCloudSDKException):
760
+ raise
761
+ else:
762
+ raise TencentCloudSDKException(type(e).__name__, str(e))
763
+
764
+
742
765
  def StopJobRecord(self, request):
743
766
  """停止扫描
744
767
 
@@ -13107,6 +13107,130 @@ class ModifyCustomerResponse(AbstractModel):
13107
13107
  self._RequestId = params.get("RequestId")
13108
13108
 
13109
13109
 
13110
+ class ModifyLabelRequest(AbstractModel):
13111
+ """ModifyLabel请求参数结构体
13112
+
13113
+ """
13114
+
13115
+ def __init__(self):
13116
+ r"""
13117
+ :param _Id: 资产或风险主键ID
13118
+ :type Id: int
13119
+ :param _CustomerId: 企业ID,在企业管理页面查看
13120
+ :type CustomerId: int
13121
+ :param _Module: 模块,包括:enterprise:企业架构,domain:主域名,sub_domain:子域名,asset:IP资产,port:端口服务,http:HTTP资产,vul:漏洞信息,app:APP,wechat_applet:微信小程序,wechat_official_account:微信公众号,github:Github信息泄露,manage:管理后台暴露,config:目录爆破,dark_web:暗网泄露,net_disk:文库网盘泄露,supply_chain:供应链,weak_password:弱口令,sensitive_info:敏感信息泄露
13122
+ :type Module: str
13123
+ :param _IsAggregation: 是否聚合数据
13124
+ :type IsAggregation: bool
13125
+ :param _Labels: 标签详情
13126
+ :type Labels: str
13127
+ """
13128
+ self._Id = None
13129
+ self._CustomerId = None
13130
+ self._Module = None
13131
+ self._IsAggregation = None
13132
+ self._Labels = None
13133
+
13134
+ @property
13135
+ def Id(self):
13136
+ """资产或风险主键ID
13137
+ :rtype: int
13138
+ """
13139
+ return self._Id
13140
+
13141
+ @Id.setter
13142
+ def Id(self, Id):
13143
+ self._Id = Id
13144
+
13145
+ @property
13146
+ def CustomerId(self):
13147
+ """企业ID,在企业管理页面查看
13148
+ :rtype: int
13149
+ """
13150
+ return self._CustomerId
13151
+
13152
+ @CustomerId.setter
13153
+ def CustomerId(self, CustomerId):
13154
+ self._CustomerId = CustomerId
13155
+
13156
+ @property
13157
+ def Module(self):
13158
+ """模块,包括:enterprise:企业架构,domain:主域名,sub_domain:子域名,asset:IP资产,port:端口服务,http:HTTP资产,vul:漏洞信息,app:APP,wechat_applet:微信小程序,wechat_official_account:微信公众号,github:Github信息泄露,manage:管理后台暴露,config:目录爆破,dark_web:暗网泄露,net_disk:文库网盘泄露,supply_chain:供应链,weak_password:弱口令,sensitive_info:敏感信息泄露
13159
+ :rtype: str
13160
+ """
13161
+ return self._Module
13162
+
13163
+ @Module.setter
13164
+ def Module(self, Module):
13165
+ self._Module = Module
13166
+
13167
+ @property
13168
+ def IsAggregation(self):
13169
+ """是否聚合数据
13170
+ :rtype: bool
13171
+ """
13172
+ return self._IsAggregation
13173
+
13174
+ @IsAggregation.setter
13175
+ def IsAggregation(self, IsAggregation):
13176
+ self._IsAggregation = IsAggregation
13177
+
13178
+ @property
13179
+ def Labels(self):
13180
+ """标签详情
13181
+ :rtype: str
13182
+ """
13183
+ return self._Labels
13184
+
13185
+ @Labels.setter
13186
+ def Labels(self, Labels):
13187
+ self._Labels = Labels
13188
+
13189
+
13190
+ def _deserialize(self, params):
13191
+ self._Id = params.get("Id")
13192
+ self._CustomerId = params.get("CustomerId")
13193
+ self._Module = params.get("Module")
13194
+ self._IsAggregation = params.get("IsAggregation")
13195
+ self._Labels = params.get("Labels")
13196
+ memeber_set = set(params.keys())
13197
+ for name, value in vars(self).items():
13198
+ property_name = name[1:]
13199
+ if property_name in memeber_set:
13200
+ memeber_set.remove(property_name)
13201
+ if len(memeber_set) > 0:
13202
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13203
+
13204
+
13205
+
13206
+ class ModifyLabelResponse(AbstractModel):
13207
+ """ModifyLabel返回参数结构体
13208
+
13209
+ """
13210
+
13211
+ def __init__(self):
13212
+ r"""
13213
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13214
+ :type RequestId: str
13215
+ """
13216
+ self._RequestId = None
13217
+
13218
+ @property
13219
+ def RequestId(self):
13220
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13221
+ :rtype: str
13222
+ """
13223
+ return self._RequestId
13224
+
13225
+ @RequestId.setter
13226
+ def RequestId(self, RequestId):
13227
+ self._RequestId = RequestId
13228
+
13229
+
13230
+ def _deserialize(self, params):
13231
+ self._RequestId = params.get("RequestId")
13232
+
13233
+
13110
13234
  class StopJobRecordRequest(AbstractModel):
13111
13235
  """StopJobRecord请求参数结构体
13112
13236
 
@@ -41689,12 +41689,15 @@ class DescribeLicenseWhiteConfigResponse(AbstractModel):
41689
41689
  :type Professional: :class:`tencentcloud.cwp.v20180228.models.VersionWhiteConfig`
41690
41690
  :param _PrattWhitney: 轻量版 配置信息
41691
41691
  :type PrattWhitney: :class:`tencentcloud.cwp.v20180228.models.VersionWhiteConfig`
41692
+ :param _RASP: 重保授权包 配置信息
41693
+ :type RASP: :class:`tencentcloud.cwp.v20180228.models.VersionWhiteConfig`
41692
41694
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
41693
41695
  :type RequestId: str
41694
41696
  """
41695
41697
  self._FlagShip = None
41696
41698
  self._Professional = None
41697
41699
  self._PrattWhitney = None
41700
+ self._RASP = None
41698
41701
  self._RequestId = None
41699
41702
 
41700
41703
  @property
@@ -41730,6 +41733,17 @@ class DescribeLicenseWhiteConfigResponse(AbstractModel):
41730
41733
  def PrattWhitney(self, PrattWhitney):
41731
41734
  self._PrattWhitney = PrattWhitney
41732
41735
 
41736
+ @property
41737
+ def RASP(self):
41738
+ """重保授权包 配置信息
41739
+ :rtype: :class:`tencentcloud.cwp.v20180228.models.VersionWhiteConfig`
41740
+ """
41741
+ return self._RASP
41742
+
41743
+ @RASP.setter
41744
+ def RASP(self, RASP):
41745
+ self._RASP = RASP
41746
+
41733
41747
  @property
41734
41748
  def RequestId(self):
41735
41749
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -41752,6 +41766,9 @@ class DescribeLicenseWhiteConfigResponse(AbstractModel):
41752
41766
  if params.get("PrattWhitney") is not None:
41753
41767
  self._PrattWhitney = VersionWhiteConfig()
41754
41768
  self._PrattWhitney._deserialize(params.get("PrattWhitney"))
41769
+ if params.get("RASP") is not None:
41770
+ self._RASP = VersionWhiteConfig()
41771
+ self._RASP._deserialize(params.get("RASP"))
41755
41772
  self._RequestId = params.get("RequestId")
41756
41773
 
41757
41774
 
@@ -1326,6 +1326,29 @@ class DnspodClient(AbstractClient):
1326
1326
  raise TencentCloudSDKException(type(e).__name__, str(e))
1327
1327
 
1328
1328
 
1329
+ def DescribeResolveCount(self, request):
1330
+ """查看域名的解析量
1331
+
1332
+ :param request: Request instance for DescribeResolveCount.
1333
+ :type request: :class:`tencentcloud.dnspod.v20210323.models.DescribeResolveCountRequest`
1334
+ :rtype: :class:`tencentcloud.dnspod.v20210323.models.DescribeResolveCountResponse`
1335
+
1336
+ """
1337
+ try:
1338
+ params = request._serialize()
1339
+ headers = request.headers
1340
+ body = self.call("DescribeResolveCount", params, headers=headers)
1341
+ response = json.loads(body)
1342
+ model = models.DescribeResolveCountResponse()
1343
+ model._deserialize(response["Response"])
1344
+ return model
1345
+ except Exception as e:
1346
+ if isinstance(e, TencentCloudSDKException):
1347
+ raise
1348
+ else:
1349
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1350
+
1351
+
1329
1352
  def DescribeSnapshotConfig(self, request):
1330
1353
  """查询解析快照配置
1331
1354
 
@@ -26,6 +26,9 @@ FAILEDOPERATION = 'FailedOperation'
26
26
  # 抱歉,该账户已经被锁定。
27
27
  FAILEDOPERATION_ACCOUNTISLOCKED = 'FailedOperation.AccountIsLocked'
28
28
 
29
+ # 当前套餐版本不支持流量分析,请先升级为尊享版或企业版套餐
30
+ FAILEDOPERATION_AUTHLOGUNSUPPORT = 'FailedOperation.AuthLogUnsupport'
31
+
29
32
  # 您的账户下包含个人豪华域名,不能直接升级,请联系销售。
30
33
  FAILEDOPERATION_CONTAINSPERSONALVIP = 'FailedOperation.ContainsPersonalVip'
31
34
 
@@ -161,6 +164,12 @@ INVALIDPARAMETER_ACTIVITY = 'InvalidParameter.Activity'
161
164
  # 该域名已在您的域名列表中,请删除后再添加到别名列表
162
165
  INVALIDPARAMETER_ALIASISMYDOMAIN = 'InvalidParameter.AliasIsMyDomain'
163
166
 
167
+ # 解析状态不正确
168
+ INVALIDPARAMETER_AUTHLOGINVALIDRETCODE = 'InvalidParameter.AuthLogInvalidRetCode'
169
+
170
+ # 地域不正确
171
+ INVALIDPARAMETER_AUTHLOGINVALIDSCOPE = 'InvalidParameter.AuthLogInvalidScope'
172
+
164
173
  # 创建批量域名任务失败,原因:内部错误。
165
174
  INVALIDPARAMETER_BATCHDOMAINCREATEACTIONERROR = 'InvalidParameter.BatchDomainCreateActionError'
166
175
 
@@ -299,6 +308,9 @@ INVALIDPARAMETER_EMAILORQQINVALID = 'InvalidParameter.EmailOrQqInvalid'
299
308
  # 域名已经在该账号下。
300
309
  INVALIDPARAMETER_EMAILSAME = 'InvalidParameter.EmailSame'
301
310
 
311
+ # 结束时间超出范围
312
+ INVALIDPARAMETER_ENDDATEBEYONDRANGE = 'InvalidParameter.EndDateBeyondRange'
313
+
302
314
  # 商品子类型无效。
303
315
  INVALIDPARAMETER_GOODSCHILDTYPEINVALID = 'InvalidParameter.GoodsChildTypeInvalid'
304
316
 
@@ -341,6 +353,9 @@ INVALIDPARAMETER_INVALIDCOUPON = 'InvalidParameter.InvalidCoupon'
341
353
  # 请输入正确的订单号。
342
354
  INVALIDPARAMETER_INVALIDDEALNAME = 'InvalidParameter.InvalidDealName'
343
355
 
356
+ # 无效的结束时间
357
+ INVALIDPARAMETER_INVALIDENDDATE = 'InvalidParameter.InvalidEndDate'
358
+
344
359
  # 不是合法的IP段。
345
360
  INVALIDPARAMETER_INVALIDIP = 'InvalidParameter.InvalidIp'
346
361
 
@@ -353,6 +368,9 @@ INVALIDPARAMETER_INVALIDSIGNATURE = 'InvalidParameter.InvalidSignature'
353
368
  # 源域名ID格式不正确。
354
369
  INVALIDPARAMETER_INVALIDSRCDOMAINID = 'InvalidParameter.InvalidSrcDomainId'
355
370
 
371
+ # 无效的开始时间
372
+ INVALIDPARAMETER_INVALIDSTARTDATE = 'InvalidParameter.InvalidStartDate'
373
+
356
374
  # 无效的时间。
357
375
  INVALIDPARAMETER_INVALIDTIME = 'InvalidParameter.InvalidTime'
358
376
 
@@ -521,6 +539,9 @@ INVALIDPARAMETER_SHAREUSEREXISTS = 'InvalidParameter.ShareUserExists'
521
539
  # 共享用户中包含未实名认证用户。
522
540
  INVALIDPARAMETER_SHAREDUSERSUNREALNAME = 'InvalidParameter.SharedUsersUnrealName'
523
541
 
542
+ # 开始时间超出范围
543
+ INVALIDPARAMETER_STARTDATEBEYONDRANGE = 'InvalidParameter.StartDateBeyondRange'
544
+
524
545
  # 开始时间不能大于结束时间。
525
546
  INVALIDPARAMETER_STARTTIMEGREATERTHANENDTIME = 'InvalidParameter.StarttimeGreaterThanEndtime'
526
547
 
@@ -530,6 +551,9 @@ INVALIDPARAMETER_STATUSCODEINVALID = 'InvalidParameter.StatusCodeInvalid'
530
551
  # 子域名不正确。
531
552
  INVALIDPARAMETER_SUBDOMAININVALID = 'InvalidParameter.SubdomainInvalid'
532
553
 
554
+ # 子域名个数超过允许的范围
555
+ INVALIDPARAMETER_SUBSBEYONDRANGE = 'InvalidParameter.SubsBeyondRange'
556
+
533
557
  # 任务未完成。
534
558
  INVALIDPARAMETER_TASKNOTCOMPLETED = 'InvalidParameter.TaskNotCompleted'
535
559