tencentcloud-sdk-python 3.0.971__py2.py3-none-any.whl → 3.0.973__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 (30) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cdwch/v20200915/cdwch_client.py +1 -1
  3. tencentcloud/cfs/v20190719/models.py +36 -0
  4. tencentcloud/csip/v20221121/csip_client.py +92 -0
  5. tencentcloud/csip/v20221121/models.py +2712 -904
  6. tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
  7. tencentcloud/dbbrain/v20210527/models.py +165 -1
  8. tencentcloud/dts/v20211206/models.py +145 -2
  9. tencentcloud/ecm/v20190719/models.py +13 -1
  10. tencentcloud/ess/v20201111/ess_client.py +10 -7
  11. tencentcloud/ess/v20201111/models.py +48 -30
  12. tencentcloud/live/v20180801/errorcodes.py +3 -0
  13. tencentcloud/mps/v20190612/models.py +125 -0
  14. tencentcloud/tiia/v20190529/models.py +2 -1
  15. tencentcloud/tiia/v20190529/tiia_client.py +9 -4
  16. tencentcloud/tione/v20211111/models.py +454 -34
  17. tencentcloud/tione/v20211111/tione_client.py +5 -3
  18. tencentcloud/tiw/v20190919/tiw_client.py +12 -4
  19. tencentcloud/tse/v20201207/models.py +223 -0
  20. tencentcloud/vpc/v20170312/errorcodes.py +6 -0
  21. tencentcloud/vpc/v20170312/models.py +215 -11
  22. tencentcloud/vpc/v20170312/vpc_client.py +51 -3
  23. tencentcloud/waf/v20180125/errorcodes.py +6 -0
  24. tencentcloud/waf/v20180125/models.py +8758 -5573
  25. tencentcloud/waf/v20180125/waf_client.py +462 -0
  26. {tencentcloud_sdk_python-3.0.971.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/METADATA +1 -1
  27. {tencentcloud_sdk_python-3.0.971.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/RECORD +30 -30
  28. {tencentcloud_sdk_python-3.0.971.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/LICENSE +0 -0
  29. {tencentcloud_sdk_python-3.0.971.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/WHEEL +0 -0
  30. {tencentcloud_sdk_python-3.0.971.dist-info → tencentcloud_sdk_python-3.0.973.dist-info}/top_level.txt +0 -0
@@ -3072,12 +3072,14 @@ class CreateFlowEvidenceReportRequest(AbstractModel):
3072
3072
 
3073
3073
  def __init__(self):
3074
3074
  r"""
3075
- :param _Operator: 调用方用户信息,userId 必填
3075
+ :param _Operator: 执行本接口操作的员工信息。
3076
+ 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
3076
3077
  :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
3077
- :param _FlowId: 签署流程编号
3078
+ :param _FlowId: 合同流程ID,为32位字符串。
3079
+ 可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
3078
3080
  :type FlowId: str
3079
- :param _Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
3080
-
3081
+ :param _Agent: 代理企业和员工的信息。
3082
+ 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
3081
3083
  :type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
3082
3084
  """
3083
3085
  self._Operator = None
@@ -3134,14 +3136,17 @@ class CreateFlowEvidenceReportResponse(AbstractModel):
3134
3136
 
3135
3137
  def __init__(self):
3136
3138
  r"""
3137
- :param _ReportId: 出证报告 ID,用于查询出证报告DescribeFlowEvidenceReport接口时用到
3139
+ :param _ReportId: 出证报告 ID,可用于DescribeFlowEvidenceReport接口查询出证PDF的下载地址
3138
3140
  注意:此字段可能返回 null,表示取不到有效值。
3139
3141
  :type ReportId: str
3140
- :param _Status: 执行中:EvidenceStatusExecuting
3141
- 成功:EvidenceStatusSuccess
3142
- 失败:EvidenceStatusFailed
3142
+ :param _Status: 出证任务执行的状态, 可能会有以下状态:
3143
+
3144
+ <ul><li>EvidenceStatusExecuting: 出证任务在执行中</li>
3145
+ <li>EvidenceStatusSuccess: 出证任务执行成功</li>
3146
+ <li>EvidenceStatusFailed : 出征任务执行失败</li></ul>
3143
3147
  :type Status: str
3144
- :param _ReportUrl: 废除,字段无效
3148
+ :param _ReportUrl: 此字段已经废除,不再使用.
3149
+ 出证的PDF下载地址请调用DescribeChannelFlowEvidenceReport接口获取
3145
3150
  注意:此字段可能返回 null,表示取不到有效值。
3146
3151
  :type ReportUrl: str
3147
3152
  :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -3170,10 +3175,14 @@ class CreateFlowEvidenceReportResponse(AbstractModel):
3170
3175
 
3171
3176
  @property
3172
3177
  def ReportUrl(self):
3178
+ warnings.warn("parameter `ReportUrl` is deprecated", DeprecationWarning)
3179
+
3173
3180
  return self._ReportUrl
3174
3181
 
3175
3182
  @ReportUrl.setter
3176
3183
  def ReportUrl(self, ReportUrl):
3184
+ warnings.warn("parameter `ReportUrl` is deprecated", DeprecationWarning)
3185
+
3177
3186
  self._ReportUrl = ReportUrl
3178
3187
 
3179
3188
  @property
@@ -3639,11 +3648,13 @@ class CreateFlowRemindsRequest(AbstractModel):
3639
3648
 
3640
3649
  def __init__(self):
3641
3650
  r"""
3642
- :param _Operator: 调用方用户信息,userId 必填
3651
+ :param _Operator: 执行本接口操作的员工信息。
3652
+ 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
3643
3653
  :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
3644
- :param _FlowIds: 需要执行催办的签署流程id数组,最多100
3654
+ :param _FlowIds: 需执行催办的签署流程ID数组,最多包含100个。
3645
3655
  :type FlowIds: list of str
3646
- :param _Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
3656
+ :param _Agent: 代理企业和员工的信息。
3657
+ 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
3647
3658
  :type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
3648
3659
  """
3649
3660
  self._Operator = None
@@ -3700,7 +3711,7 @@ class CreateFlowRemindsResponse(AbstractModel):
3700
3711
 
3701
3712
  def __init__(self):
3702
3713
  r"""
3703
- :param _RemindFlowRecords: 催办合同详情列表
3714
+ :param _RemindFlowRecords: 合同催办结果的详细信息列表。
3704
3715
  :type RemindFlowRecords: list of RemindFlowRecords
3705
3716
  :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3706
3717
  :type RequestId: str
@@ -3749,19 +3760,20 @@ class CreateFlowRequest(AbstractModel):
3749
3760
  :param _Approvers: 签署流程参与者信息,最大限制50方
3750
3761
  注意 approver中的顺序需要和模板中的顺序保持一致, 否则会导致模板中配置的信息无效。
3751
3762
  :type Approvers: list of FlowCreateApprover
3763
+ :param _FlowDescription: 签署流程描述,最大长度1000个字符
3764
+ :type FlowDescription: str
3752
3765
  :param _FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
3753
3766
  :type FlowType: str
3754
3767
  :param _ClientToken: 客户端Token,保持接口幂等性,最大长度64个字符
3755
3768
  :type ClientToken: str
3756
3769
  :param _DeadLine: 签署流程的签署截止时间。
3770
+
3757
3771
  值为unix时间戳,精确到秒,不传默认为当前时间一年后
3758
3772
  :type DeadLine: int
3759
3773
  :param _RemindedOn: 合同到期提醒时间戳,单位秒。设定该值后,可以提前进行到期通知,方便客户处理合同到期事务,如合同续签等。该值支持的范围是从发起时间起到往后的10年内。仅合同发起方企业的发起人可以编辑修改。
3760
3774
  :type RemindedOn: int
3761
3775
  :param _UserData: 用户自定义字段,回调的时候会进行透传,长度需要小于20480
3762
3776
  :type UserData: str
3763
- :param _FlowDescription: 签署流程描述,最大长度1000个字符
3764
- :type FlowDescription: str
3765
3777
  :param _Unordered: 发送类型:
3766
3778
  true:无序签
3767
3779
  false:有序签
@@ -3789,12 +3801,12 @@ false:有序签
3789
3801
  self._Operator = None
3790
3802
  self._FlowName = None
3791
3803
  self._Approvers = None
3804
+ self._FlowDescription = None
3792
3805
  self._FlowType = None
3793
3806
  self._ClientToken = None
3794
3807
  self._DeadLine = None
3795
3808
  self._RemindedOn = None
3796
3809
  self._UserData = None
3797
- self._FlowDescription = None
3798
3810
  self._Unordered = None
3799
3811
  self._CustomShowMap = None
3800
3812
  self._NeedSignReview = None
@@ -3828,6 +3840,14 @@ false:有序签
3828
3840
  def Approvers(self, Approvers):
3829
3841
  self._Approvers = Approvers
3830
3842
 
3843
+ @property
3844
+ def FlowDescription(self):
3845
+ return self._FlowDescription
3846
+
3847
+ @FlowDescription.setter
3848
+ def FlowDescription(self, FlowDescription):
3849
+ self._FlowDescription = FlowDescription
3850
+
3831
3851
  @property
3832
3852
  def FlowType(self):
3833
3853
  return self._FlowType
@@ -3868,14 +3888,6 @@ false:有序签
3868
3888
  def UserData(self, UserData):
3869
3889
  self._UserData = UserData
3870
3890
 
3871
- @property
3872
- def FlowDescription(self):
3873
- return self._FlowDescription
3874
-
3875
- @FlowDescription.setter
3876
- def FlowDescription(self, FlowDescription):
3877
- self._FlowDescription = FlowDescription
3878
-
3879
3891
  @property
3880
3892
  def Unordered(self):
3881
3893
  return self._Unordered
@@ -3960,12 +3972,12 @@ false:有序签
3960
3972
  obj = FlowCreateApprover()
3961
3973
  obj._deserialize(item)
3962
3974
  self._Approvers.append(obj)
3975
+ self._FlowDescription = params.get("FlowDescription")
3963
3976
  self._FlowType = params.get("FlowType")
3964
3977
  self._ClientToken = params.get("ClientToken")
3965
3978
  self._DeadLine = params.get("DeadLine")
3966
3979
  self._RemindedOn = params.get("RemindedOn")
3967
3980
  self._UserData = params.get("UserData")
3968
- self._FlowDescription = params.get("FlowDescription")
3969
3981
  self._Unordered = params.get("Unordered")
3970
3982
  self._CustomShowMap = params.get("CustomShowMap")
3971
3983
  self._NeedSignReview = params.get("NeedSignReview")
@@ -3998,7 +4010,11 @@ class CreateFlowResponse(AbstractModel):
3998
4010
 
3999
4011
  def __init__(self):
4000
4012
  r"""
4001
- :param _FlowId: 签署流程编号
4013
+ :param _FlowId: 签署流程编号,
4014
+
4015
+ 返回的流程编号,需要在CreateDocument,StartFlow中使用,
4016
+
4017
+ 注意:这三个接口(CreateFlow,CreateDocument,StartFlow)要一并调用,才算发起成功
4002
4018
  :type FlowId: str
4003
4019
  :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4004
4020
  :type RequestId: str
@@ -14458,17 +14474,19 @@ class RelieveInfo(AbstractModel):
14458
14474
 
14459
14475
 
14460
14476
  class RemindFlowRecords(AbstractModel):
14461
- """催办接口返回详细信息
14477
+ """催办接口返回的详细信息。
14462
14478
 
14463
14479
  """
14464
14480
 
14465
14481
  def __init__(self):
14466
14482
  r"""
14467
- :param _CanRemind: 是否能够催办,true-是,false-否
14483
+ :param _CanRemind: 合同流程是否可以催办:
14484
+ true - 可以,false - 不可以。
14485
+ 若无法催办,将返回RemindMessage以解释原因。
14468
14486
  :type CanRemind: bool
14469
- :param _FlowId: 合同id
14487
+ :param _FlowId: 合同流程ID,为32位字符串。
14470
14488
  :type FlowId: str
14471
- :param _RemindMessage: 催办详情信息
14489
+ :param _RemindMessage: 在合同流程无法催办的情况下,系统将返回RemindMessage以阐述原因。
14472
14490
  :type RemindMessage: str
14473
14491
  """
14474
14492
  self._CanRemind = None
@@ -413,6 +413,9 @@ INVALIDPARAMETER_INPUTNUMLIMITEXCEEDED = 'InvalidParameter.InputNumLimitExceeded
413
413
  # 非法的背景长宽。
414
414
  INVALIDPARAMETER_INVALIDBACKGROUDRESOLUTION = 'InvalidParameter.InvalidBackgroudResolution'
415
415
 
416
+ # 无效的备用推流地址。
417
+ INVALIDPARAMETER_INVALIDBACKUPTOURL = 'InvalidParameter.InvalidBackupToUrl'
418
+
416
419
  # 非法的输出码率。
417
420
  INVALIDPARAMETER_INVALIDBITRATE = 'InvalidParameter.InvalidBitrate'
418
421
 
@@ -910,6 +910,9 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
910
910
  :param _AddOnSubtitles: 要插入的字幕文件。
911
911
  注意:此字段可能返回 null,表示取不到有效值。
912
912
  :type AddOnSubtitles: list of AddOnSubtitle
913
+ :param _DrmInfo: Drm信息。
914
+ 注意:此字段可能返回 null,表示取不到有效值。
915
+ :type DrmInfo: :class:`tencentcloud.mps.v20190612.models.DrmInfo`
913
916
  """
914
917
  self._Definition = None
915
918
  self._WatermarkSet = None
@@ -918,6 +921,7 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
918
921
  self._SubStreamObjectName = None
919
922
  self._SegmentObjectName = None
920
923
  self._AddOnSubtitles = None
924
+ self._DrmInfo = None
921
925
 
922
926
  @property
923
927
  def Definition(self):
@@ -975,6 +979,14 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
975
979
  def AddOnSubtitles(self, AddOnSubtitles):
976
980
  self._AddOnSubtitles = AddOnSubtitles
977
981
 
982
+ @property
983
+ def DrmInfo(self):
984
+ return self._DrmInfo
985
+
986
+ @DrmInfo.setter
987
+ def DrmInfo(self, DrmInfo):
988
+ self._DrmInfo = DrmInfo
989
+
978
990
 
979
991
  def _deserialize(self, params):
980
992
  self._Definition = params.get("Definition")
@@ -996,6 +1008,9 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
996
1008
  obj = AddOnSubtitle()
997
1009
  obj._deserialize(item)
998
1010
  self._AddOnSubtitles.append(obj)
1011
+ if params.get("DrmInfo") is not None:
1012
+ self._DrmInfo = DrmInfo()
1013
+ self._DrmInfo._deserialize(params.get("DrmInfo"))
999
1014
  memeber_set = set(params.keys())
1000
1015
  for name, value in vars(self).items():
1001
1016
  property_name = name[1:]
@@ -18961,6 +18976,56 @@ class DisableWorkflowResponse(AbstractModel):
18961
18976
  self._RequestId = params.get("RequestId")
18962
18977
 
18963
18978
 
18979
+ class DrmInfo(AbstractModel):
18980
+ """Drm 加密信息。
18981
+
18982
+ """
18983
+
18984
+ def __init__(self):
18985
+ r"""
18986
+ :param _Type: 加密类型:
18987
+ <li> simpleaes: aes-128 加密</li>
18988
+ 注意:此字段可能返回 null,表示取不到有效值。
18989
+ :type Type: str
18990
+ :param _SimpleAesDrm: SimpleAes 加密信息。
18991
+ 注意:此字段可能返回 null,表示取不到有效值。
18992
+ :type SimpleAesDrm: :class:`tencentcloud.mps.v20190612.models.SimpleAesDrm`
18993
+ """
18994
+ self._Type = None
18995
+ self._SimpleAesDrm = None
18996
+
18997
+ @property
18998
+ def Type(self):
18999
+ return self._Type
19000
+
19001
+ @Type.setter
19002
+ def Type(self, Type):
19003
+ self._Type = Type
19004
+
19005
+ @property
19006
+ def SimpleAesDrm(self):
19007
+ return self._SimpleAesDrm
19008
+
19009
+ @SimpleAesDrm.setter
19010
+ def SimpleAesDrm(self, SimpleAesDrm):
19011
+ self._SimpleAesDrm = SimpleAesDrm
19012
+
19013
+
19014
+ def _deserialize(self, params):
19015
+ self._Type = params.get("Type")
19016
+ if params.get("SimpleAesDrm") is not None:
19017
+ self._SimpleAesDrm = SimpleAesDrm()
19018
+ self._SimpleAesDrm._deserialize(params.get("SimpleAesDrm"))
19019
+ memeber_set = set(params.keys())
19020
+ for name, value in vars(self).items():
19021
+ property_name = name[1:]
19022
+ if property_name in memeber_set:
19023
+ memeber_set.remove(property_name)
19024
+ if len(memeber_set) > 0:
19025
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19026
+
19027
+
19028
+
18964
19029
  class EditMediaFileInfo(AbstractModel):
18965
19030
  """编辑点播视频文件信息
18966
19031
 
@@ -34945,6 +35010,66 @@ class SharpEnhanceConfig(AbstractModel):
34945
35010
 
34946
35011
 
34947
35012
 
35013
+ class SimpleAesDrm(AbstractModel):
35014
+ """SimpleAes 加密信息。
35015
+
35016
+ """
35017
+
35018
+ def __init__(self):
35019
+ r"""
35020
+ :param _Uri: 请求解密秘钥uri地址。
35021
+ 注意:此字段可能返回 null,表示取不到有效值。
35022
+ :type Uri: str
35023
+ :param _Key: 加密key(32字节字符串)。
35024
+ 注意:此字段可能返回 null,表示取不到有效值。
35025
+ :type Key: str
35026
+ :param _Vector: 加密初始化向量(32字节字符串)。
35027
+ 注意:此字段可能返回 null,表示取不到有效值。
35028
+ :type Vector: str
35029
+ """
35030
+ self._Uri = None
35031
+ self._Key = None
35032
+ self._Vector = None
35033
+
35034
+ @property
35035
+ def Uri(self):
35036
+ return self._Uri
35037
+
35038
+ @Uri.setter
35039
+ def Uri(self, Uri):
35040
+ self._Uri = Uri
35041
+
35042
+ @property
35043
+ def Key(self):
35044
+ return self._Key
35045
+
35046
+ @Key.setter
35047
+ def Key(self, Key):
35048
+ self._Key = Key
35049
+
35050
+ @property
35051
+ def Vector(self):
35052
+ return self._Vector
35053
+
35054
+ @Vector.setter
35055
+ def Vector(self, Vector):
35056
+ self._Vector = Vector
35057
+
35058
+
35059
+ def _deserialize(self, params):
35060
+ self._Uri = params.get("Uri")
35061
+ self._Key = params.get("Key")
35062
+ self._Vector = params.get("Vector")
35063
+ memeber_set = set(params.keys())
35064
+ for name, value in vars(self).items():
35065
+ property_name = name[1:]
35066
+ if property_name in memeber_set:
35067
+ memeber_set.remove(property_name)
35068
+ if len(memeber_set) > 0:
35069
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
35070
+
35071
+
35072
+
34948
35073
  class SnapshotByTimeOffsetTaskInput(AbstractModel):
34949
35074
  """对视频按指定时间点截图任务输入参数类型
34950
35075
 
@@ -846,7 +846,8 @@ class CreateGroupRequest(AbstractModel):
846
846
  GroupType不支持修改,若不确定适用的服务类型,建议先对不同类型分别小规模测试后再开始正式使用。
847
847
  参数取值:
848
848
  4:通用图像搜索1.0版。
849
- 7:商品图像搜索2.0升级版。
849
+ 8:商品图像搜索3.0升级版。
850
+ 7:商品图像搜索2.0版。
850
851
  5:商品图像搜索1.0版。
851
852
  6:图案花纹搜索1.0版。
852
853
  1 - 3:通用图像搜索旧版,不推荐使用。
@@ -64,14 +64,20 @@ class TiiaClient(AbstractClient):
64
64
  <td>通用图像搜索1.0版。<br>在自建图片库中搜索相同原图或相似图片集,并给出相似度打分,可支持裁剪、翻转、调色、加水印等二次编辑后的图片搜索。适用于图片版权保护、原图查询等场景。</td>
65
65
  </tr>
66
66
  <tr>
67
- <td rowspan="2">商品图像搜索</td>
68
- <td>7</td><td>商品图像搜索2.0升级版。<br>
67
+ <td rowspan="3">商品图像搜索</td>
68
+ <td>8</td>
69
+ <td>商品图像搜索3.0升级版(推荐)。<br>
69
70
  在自建图库中搜索同款或相似商品,并给出相似度打分。对于服饰类商品可支持识别服饰类别、属性等信息。适用于商品分类、检索、推荐等电商场景。</td>
70
71
  </tr>
72
+ <tr>
73
+ <td>7</td>
74
+ <td>商品图像搜索2.0版。<br>
75
+ 功能和3.0升级版类似。</td>
76
+ </tr>
71
77
  <tr>
72
78
  <td>5</td>
73
79
  <td>商品图像搜索1.0版。<br>
74
- 功能和2.0升级版类似。</td>
80
+ 功能和3.0升级版类似。</td>
75
81
  </tr>
76
82
  <tr>
77
83
  <td>图案花纹搜索</td><td>6</td><td>图案花纹搜索1.0版。<br>
@@ -79,7 +85,6 @@ class TiiaClient(AbstractClient):
79
85
  </tr>
80
86
  </table>
81
87
 
82
- >
83
88
  - 可前往 [图像搜索](https://cloud.tencent.com/document/product/1589) 产品文档中查看更多产品信息。
84
89
 
85
90
  :param request: Request instance for CreateGroup.