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
@@ -9551,6 +9551,187 @@ class DescribeRecordTypeResponse(AbstractModel):
9551
9551
  self._RequestId = params.get("RequestId")
9552
9552
 
9553
9553
 
9554
+ class DescribeResolveCountRequest(AbstractModel):
9555
+ """DescribeResolveCount请求参数结构体
9556
+
9557
+ """
9558
+
9559
+ def __init__(self):
9560
+ r"""
9561
+ :param _Domain: 要查询解析量的域名
9562
+ :type Domain: str
9563
+ :param _StartDate: 查询的开始时间,格式:YYYY-MM-DD,最多允许查询最近32天的数据。
9564
+ :type StartDate: str
9565
+ :param _EndDate: 查询的结束时间,格式:YYYY-MM-DD,最多允许查询最近32天的数据。
9566
+ :type EndDate: str
9567
+ :param _DnsFormat: 数据统计格式,取值为minute、hour、day,分别表示按十分钟、小时、天统计数据
9568
+ :type DnsFormat: str
9569
+ :param _DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId
9570
+ :type DomainId: int
9571
+ """
9572
+ self._Domain = None
9573
+ self._StartDate = None
9574
+ self._EndDate = None
9575
+ self._DnsFormat = None
9576
+ self._DomainId = None
9577
+
9578
+ @property
9579
+ def Domain(self):
9580
+ """要查询解析量的域名
9581
+ :rtype: str
9582
+ """
9583
+ return self._Domain
9584
+
9585
+ @Domain.setter
9586
+ def Domain(self, Domain):
9587
+ self._Domain = Domain
9588
+
9589
+ @property
9590
+ def StartDate(self):
9591
+ """查询的开始时间,格式:YYYY-MM-DD,最多允许查询最近32天的数据。
9592
+ :rtype: str
9593
+ """
9594
+ return self._StartDate
9595
+
9596
+ @StartDate.setter
9597
+ def StartDate(self, StartDate):
9598
+ self._StartDate = StartDate
9599
+
9600
+ @property
9601
+ def EndDate(self):
9602
+ """查询的结束时间,格式:YYYY-MM-DD,最多允许查询最近32天的数据。
9603
+ :rtype: str
9604
+ """
9605
+ return self._EndDate
9606
+
9607
+ @EndDate.setter
9608
+ def EndDate(self, EndDate):
9609
+ self._EndDate = EndDate
9610
+
9611
+ @property
9612
+ def DnsFormat(self):
9613
+ """数据统计格式,取值为minute、hour、day,分别表示按十分钟、小时、天统计数据
9614
+ :rtype: str
9615
+ """
9616
+ return self._DnsFormat
9617
+
9618
+ @DnsFormat.setter
9619
+ def DnsFormat(self, DnsFormat):
9620
+ self._DnsFormat = DnsFormat
9621
+
9622
+ @property
9623
+ def DomainId(self):
9624
+ """域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId
9625
+ :rtype: int
9626
+ """
9627
+ return self._DomainId
9628
+
9629
+ @DomainId.setter
9630
+ def DomainId(self, DomainId):
9631
+ self._DomainId = DomainId
9632
+
9633
+
9634
+ def _deserialize(self, params):
9635
+ self._Domain = params.get("Domain")
9636
+ self._StartDate = params.get("StartDate")
9637
+ self._EndDate = params.get("EndDate")
9638
+ self._DnsFormat = params.get("DnsFormat")
9639
+ self._DomainId = params.get("DomainId")
9640
+ memeber_set = set(params.keys())
9641
+ for name, value in vars(self).items():
9642
+ property_name = name[1:]
9643
+ if property_name in memeber_set:
9644
+ memeber_set.remove(property_name)
9645
+ if len(memeber_set) > 0:
9646
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9647
+
9648
+
9649
+
9650
+ class DescribeResolveCountResponse(AbstractModel):
9651
+ """DescribeResolveCount返回参数结构体
9652
+
9653
+ """
9654
+
9655
+ def __init__(self):
9656
+ r"""
9657
+ :param _Data: 解析量明细
9658
+ :type Data: list of ResolveCountDataItem
9659
+ :param _Info: 解析量统计信息
9660
+ :type Info: :class:`tencentcloud.dnspod.v20210323.models.ResolveCountInfo`
9661
+ :param _AliasData: 别名解析量明细
9662
+ :type AliasData: list of ResolveCountAliasItem
9663
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9664
+ :type RequestId: str
9665
+ """
9666
+ self._Data = None
9667
+ self._Info = None
9668
+ self._AliasData = None
9669
+ self._RequestId = None
9670
+
9671
+ @property
9672
+ def Data(self):
9673
+ """解析量明细
9674
+ :rtype: list of ResolveCountDataItem
9675
+ """
9676
+ return self._Data
9677
+
9678
+ @Data.setter
9679
+ def Data(self, Data):
9680
+ self._Data = Data
9681
+
9682
+ @property
9683
+ def Info(self):
9684
+ """解析量统计信息
9685
+ :rtype: :class:`tencentcloud.dnspod.v20210323.models.ResolveCountInfo`
9686
+ """
9687
+ return self._Info
9688
+
9689
+ @Info.setter
9690
+ def Info(self, Info):
9691
+ self._Info = Info
9692
+
9693
+ @property
9694
+ def AliasData(self):
9695
+ """别名解析量明细
9696
+ :rtype: list of ResolveCountAliasItem
9697
+ """
9698
+ return self._AliasData
9699
+
9700
+ @AliasData.setter
9701
+ def AliasData(self, AliasData):
9702
+ self._AliasData = AliasData
9703
+
9704
+ @property
9705
+ def RequestId(self):
9706
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9707
+ :rtype: str
9708
+ """
9709
+ return self._RequestId
9710
+
9711
+ @RequestId.setter
9712
+ def RequestId(self, RequestId):
9713
+ self._RequestId = RequestId
9714
+
9715
+
9716
+ def _deserialize(self, params):
9717
+ if params.get("Data") is not None:
9718
+ self._Data = []
9719
+ for item in params.get("Data"):
9720
+ obj = ResolveCountDataItem()
9721
+ obj._deserialize(item)
9722
+ self._Data.append(obj)
9723
+ if params.get("Info") is not None:
9724
+ self._Info = ResolveCountInfo()
9725
+ self._Info._deserialize(params.get("Info"))
9726
+ if params.get("AliasData") is not None:
9727
+ self._AliasData = []
9728
+ for item in params.get("AliasData"):
9729
+ obj = ResolveCountAliasItem()
9730
+ obj._deserialize(item)
9731
+ self._AliasData.append(obj)
9732
+ self._RequestId = params.get("RequestId")
9733
+
9734
+
9554
9735
  class DescribeSnapshotConfigRequest(AbstractModel):
9555
9736
  """DescribeSnapshotConfig请求参数结构体
9556
9737
 
@@ -17679,6 +17860,226 @@ class RecordListItem(AbstractModel):
17679
17860
 
17680
17861
 
17681
17862
 
17863
+ class ResolveCountAliasItem(AbstractModel):
17864
+ """域名别名解析量统计信息
17865
+
17866
+ """
17867
+
17868
+ def __init__(self):
17869
+ r"""
17870
+ :param _Info: 域名解析量统计信息
17871
+ :type Info: :class:`tencentcloud.dnspod.v20210323.models.ResolveCountInfo`
17872
+ :param _Data: 解析量明细
17873
+ :type Data: list of ResolveCountDataItem
17874
+ """
17875
+ self._Info = None
17876
+ self._Data = None
17877
+
17878
+ @property
17879
+ def Info(self):
17880
+ """域名解析量统计信息
17881
+ :rtype: :class:`tencentcloud.dnspod.v20210323.models.ResolveCountInfo`
17882
+ """
17883
+ return self._Info
17884
+
17885
+ @Info.setter
17886
+ def Info(self, Info):
17887
+ self._Info = Info
17888
+
17889
+ @property
17890
+ def Data(self):
17891
+ """解析量明细
17892
+ :rtype: list of ResolveCountDataItem
17893
+ """
17894
+ return self._Data
17895
+
17896
+ @Data.setter
17897
+ def Data(self, Data):
17898
+ self._Data = Data
17899
+
17900
+
17901
+ def _deserialize(self, params):
17902
+ if params.get("Info") is not None:
17903
+ self._Info = ResolveCountInfo()
17904
+ self._Info._deserialize(params.get("Info"))
17905
+ if params.get("Data") is not None:
17906
+ self._Data = []
17907
+ for item in params.get("Data"):
17908
+ obj = ResolveCountDataItem()
17909
+ obj._deserialize(item)
17910
+ self._Data.append(obj)
17911
+ memeber_set = set(params.keys())
17912
+ for name, value in vars(self).items():
17913
+ property_name = name[1:]
17914
+ if property_name in memeber_set:
17915
+ memeber_set.remove(property_name)
17916
+ if len(memeber_set) > 0:
17917
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17918
+
17919
+
17920
+
17921
+ class ResolveCountDataItem(AbstractModel):
17922
+ """解析量小计
17923
+
17924
+ """
17925
+
17926
+ def __init__(self):
17927
+ r"""
17928
+ :param _Num: 解析量
17929
+ :type Num: int
17930
+ :param _DateKey: 统计的时间点
17931
+ :type DateKey: str
17932
+ """
17933
+ self._Num = None
17934
+ self._DateKey = None
17935
+
17936
+ @property
17937
+ def Num(self):
17938
+ """解析量
17939
+ :rtype: int
17940
+ """
17941
+ return self._Num
17942
+
17943
+ @Num.setter
17944
+ def Num(self, Num):
17945
+ self._Num = Num
17946
+
17947
+ @property
17948
+ def DateKey(self):
17949
+ """统计的时间点
17950
+ :rtype: str
17951
+ """
17952
+ return self._DateKey
17953
+
17954
+ @DateKey.setter
17955
+ def DateKey(self, DateKey):
17956
+ self._DateKey = DateKey
17957
+
17958
+
17959
+ def _deserialize(self, params):
17960
+ self._Num = params.get("Num")
17961
+ self._DateKey = params.get("DateKey")
17962
+ memeber_set = set(params.keys())
17963
+ for name, value in vars(self).items():
17964
+ property_name = name[1:]
17965
+ if property_name in memeber_set:
17966
+ memeber_set.remove(property_name)
17967
+ if len(memeber_set) > 0:
17968
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17969
+
17970
+
17971
+
17972
+ class ResolveCountInfo(AbstractModel):
17973
+ """域名解析量统计信息
17974
+
17975
+ """
17976
+
17977
+ def __init__(self):
17978
+ r"""
17979
+ :param _DnsTotal: 当前统计周期解析量总计
17980
+ :type DnsTotal: int
17981
+ :param _Domain: 当前查询的域名
17982
+ :type Domain: str
17983
+ :param _StartDate: 当前统计周期开始时间
17984
+ :type StartDate: str
17985
+ :param _EndDate: 当前统计周期结束时间
17986
+ :type EndDate: str
17987
+ :param _SubDomain: 当前统计的子域名
17988
+ :type SubDomain: str
17989
+ :param _DnsFormat: 数据统计格式,取值为minute、hour、day,分别表示按十分钟、小时、天统计数据
17990
+ :type DnsFormat: str
17991
+ """
17992
+ self._DnsTotal = None
17993
+ self._Domain = None
17994
+ self._StartDate = None
17995
+ self._EndDate = None
17996
+ self._SubDomain = None
17997
+ self._DnsFormat = None
17998
+
17999
+ @property
18000
+ def DnsTotal(self):
18001
+ """当前统计周期解析量总计
18002
+ :rtype: int
18003
+ """
18004
+ return self._DnsTotal
18005
+
18006
+ @DnsTotal.setter
18007
+ def DnsTotal(self, DnsTotal):
18008
+ self._DnsTotal = DnsTotal
18009
+
18010
+ @property
18011
+ def Domain(self):
18012
+ """当前查询的域名
18013
+ :rtype: str
18014
+ """
18015
+ return self._Domain
18016
+
18017
+ @Domain.setter
18018
+ def Domain(self, Domain):
18019
+ self._Domain = Domain
18020
+
18021
+ @property
18022
+ def StartDate(self):
18023
+ """当前统计周期开始时间
18024
+ :rtype: str
18025
+ """
18026
+ return self._StartDate
18027
+
18028
+ @StartDate.setter
18029
+ def StartDate(self, StartDate):
18030
+ self._StartDate = StartDate
18031
+
18032
+ @property
18033
+ def EndDate(self):
18034
+ """当前统计周期结束时间
18035
+ :rtype: str
18036
+ """
18037
+ return self._EndDate
18038
+
18039
+ @EndDate.setter
18040
+ def EndDate(self, EndDate):
18041
+ self._EndDate = EndDate
18042
+
18043
+ @property
18044
+ def SubDomain(self):
18045
+ """当前统计的子域名
18046
+ :rtype: str
18047
+ """
18048
+ return self._SubDomain
18049
+
18050
+ @SubDomain.setter
18051
+ def SubDomain(self, SubDomain):
18052
+ self._SubDomain = SubDomain
18053
+
18054
+ @property
18055
+ def DnsFormat(self):
18056
+ """数据统计格式,取值为minute、hour、day,分别表示按十分钟、小时、天统计数据
18057
+ :rtype: str
18058
+ """
18059
+ return self._DnsFormat
18060
+
18061
+ @DnsFormat.setter
18062
+ def DnsFormat(self, DnsFormat):
18063
+ self._DnsFormat = DnsFormat
18064
+
18065
+
18066
+ def _deserialize(self, params):
18067
+ self._DnsTotal = params.get("DnsTotal")
18068
+ self._Domain = params.get("Domain")
18069
+ self._StartDate = params.get("StartDate")
18070
+ self._EndDate = params.get("EndDate")
18071
+ self._SubDomain = params.get("SubDomain")
18072
+ self._DnsFormat = params.get("DnsFormat")
18073
+ memeber_set = set(params.keys())
18074
+ for name, value in vars(self).items():
18075
+ property_name = name[1:]
18076
+ if property_name in memeber_set:
18077
+ memeber_set.remove(property_name)
18078
+ if len(memeber_set) > 0:
18079
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18080
+
18081
+
18082
+
17682
18083
  class RollbackRecordSnapshotRequest(AbstractModel):
17683
18084
  """RollbackRecordSnapshot请求参数结构体
17684
18085
 
@@ -35134,6 +35134,8 @@ class StageInfoDetail(AbstractModel):
35134
35134
  :type FailedReason: str
35135
35135
  :param _TimeConsuming: 步骤耗时
35136
35136
  :type TimeConsuming: str
35137
+ :param _Id: id,前端用
35138
+ :type Id: int
35137
35139
  """
35138
35140
  self._Stage = None
35139
35141
  self._Name = None
@@ -35150,6 +35152,7 @@ class StageInfoDetail(AbstractModel):
35150
35152
  self._LanguageKey = None
35151
35153
  self._FailedReason = None
35152
35154
  self._TimeConsuming = None
35155
+ self._Id = None
35153
35156
 
35154
35157
  @property
35155
35158
  def Stage(self):
@@ -35318,6 +35321,17 @@ class StageInfoDetail(AbstractModel):
35318
35321
  def TimeConsuming(self, TimeConsuming):
35319
35322
  self._TimeConsuming = TimeConsuming
35320
35323
 
35324
+ @property
35325
+ def Id(self):
35326
+ """id,前端用
35327
+ :rtype: int
35328
+ """
35329
+ return self._Id
35330
+
35331
+ @Id.setter
35332
+ def Id(self, Id):
35333
+ self._Id = Id
35334
+
35321
35335
 
35322
35336
  def _deserialize(self, params):
35323
35337
  self._Stage = params.get("Stage")
@@ -35335,6 +35349,7 @@ class StageInfoDetail(AbstractModel):
35335
35349
  self._LanguageKey = params.get("LanguageKey")
35336
35350
  self._FailedReason = params.get("FailedReason")
35337
35351
  self._TimeConsuming = params.get("TimeConsuming")
35352
+ self._Id = params.get("Id")
35338
35353
  memeber_set = set(params.keys())
35339
35354
  for name, value in vars(self).items():
35340
35355
  property_name = name[1:]
@@ -1446,6 +1446,48 @@ class EssClient(AbstractClient):
1446
1446
  raise TencentCloudSDKException(type(e).__name__, str(e))
1447
1447
 
1448
1448
 
1449
+ def CreateMiniAppPrepareFlow(self, request):
1450
+ """创建小程序发起流程链接,在小程序页面上完成签署人等信息的编辑与确认后,可快速发起流程。
1451
+ <br/>
1452
+ 适用场景:如果需要签署人在自己的APP、小程序、H5应用中发起合同,可在收集合同信息,签署人等信息后(非必选),通过此接口获取跳转腾讯电子签小程序的合同发起跳转链接,跳转到腾讯电子签小程序继续合同的发起。
1453
+
1454
+ 跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
1455
+
1456
+ 注:
1457
+ <ul>
1458
+ <li>1. 签署链接的有效期为<font color="red">90天</font>,超过有效期链接不可用</li>
1459
+ <li>2. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)</li>
1460
+ <li>3. 调用接口后,<font color="red">流程不会立即发起,需使用链接跳转到小程序上继续发起流程操作</font>。</li>
1461
+ <li>4. <font color="red">使用链接成功发起一份合同后,链接立即失效</font></li>
1462
+ </ul>
1463
+
1464
+ 其中小程序的原始Id如下,或者查看小程序信息自助获取。
1465
+
1466
+ | 小程序 | AppID | 原始ID |
1467
+ | ------------ | ------------ | ------------ |
1468
+ | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
1469
+ | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
1470
+
1471
+ :param request: Request instance for CreateMiniAppPrepareFlow.
1472
+ :type request: :class:`tencentcloud.ess.v20201111.models.CreateMiniAppPrepareFlowRequest`
1473
+ :rtype: :class:`tencentcloud.ess.v20201111.models.CreateMiniAppPrepareFlowResponse`
1474
+
1475
+ """
1476
+ try:
1477
+ params = request._serialize()
1478
+ headers = request.headers
1479
+ body = self.call("CreateMiniAppPrepareFlow", params, headers=headers)
1480
+ response = json.loads(body)
1481
+ model = models.CreateMiniAppPrepareFlowResponse()
1482
+ model._deserialize(response["Response"])
1483
+ return model
1484
+ except Exception as e:
1485
+ if isinstance(e, TencentCloudSDKException):
1486
+ raise
1487
+ else:
1488
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1489
+
1490
+
1449
1491
  def CreateModifyAdminAuthorizationUrl(self, request):
1450
1492
  """本接口(CreateModifyAdminAuthorizationUrl)用于重新上传超管授权书。
1451
1493