tencentcloud-sdk-python 3.0.1316__py2.py3-none-any.whl → 3.0.1318__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 (43) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/antiddos/v20200309/models.py +2 -2
  3. tencentcloud/ccc/v20200210/models.py +4 -4
  4. tencentcloud/cdn/v20180606/errorcodes.py +3 -0
  5. tencentcloud/cdn/v20180606/models.py +10 -10
  6. tencentcloud/cls/v20201016/models.py +2 -2
  7. tencentcloud/common/abstract_client.py +37 -18
  8. tencentcloud/common/profile/client_profile.py +4 -3
  9. tencentcloud/common/retry.py +62 -0
  10. tencentcloud/cvm/v20170312/models.py +15 -0
  11. tencentcloud/emr/v20190103/models.py +16 -1
  12. tencentcloud/ess/v20201111/errorcodes.py +3 -0
  13. tencentcloud/ess/v20201111/ess_client.py +73 -0
  14. tencentcloud/ess/v20201111/models.py +695 -97
  15. tencentcloud/gme/v20180711/models.py +64 -26
  16. tencentcloud/hunyuan/v20230901/models.py +8 -16
  17. tencentcloud/lcic/v20220817/lcic_client.py +21 -1
  18. tencentcloud/lcic/v20220817/models.py +0 -24
  19. tencentcloud/lighthouse/v20200324/models.py +0 -10
  20. tencentcloud/lkeap/v20240522/lkeap_client.py +2 -1
  21. tencentcloud/lkeap/v20240522/models.py +826 -39
  22. tencentcloud/mongodb/v20190725/models.py +155 -0
  23. tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
  24. tencentcloud/mps/v20190612/models.py +60 -0
  25. tencentcloud/ocr/v20181119/models.py +42 -4
  26. tencentcloud/redis/v20180412/models.py +0 -40
  27. tencentcloud/rum/v20210622/models.py +16 -0
  28. tencentcloud/smop/v20201203/models.py +0 -34
  29. tencentcloud/ssl/v20191205/models.py +33 -21
  30. tencentcloud/teo/v20220901/models.py +2 -4
  31. tencentcloud/tke/v20180525/models.py +30 -0
  32. tencentcloud/vms/v20200902/models.py +0 -2
  33. tencentcloud/vpc/v20170312/errorcodes.py +42 -0
  34. tencentcloud/vpc/v20170312/models.py +1853 -53
  35. tencentcloud/vpc/v20170312/vpc_client.py +279 -1
  36. tencentcloud/waf/v20180125/models.py +30 -0
  37. tencentcloud/wedata/v20210820/models.py +331 -0
  38. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  39. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/METADATA +1 -1
  40. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/RECORD +43 -42
  41. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/LICENSE +0 -0
  42. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/WHEEL +0 -0
  43. {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1318.dist-info}/top_level.txt +0 -0
@@ -9776,6 +9776,61 @@ class CountOpsInstanceStateResponse(AbstractModel):
9776
9776
  self._RequestId = params.get("RequestId")
9777
9777
 
9778
9778
 
9779
+ class CreateAndDDLSupport(AbstractModel):
9780
+ """是否支持creat 或ddl
9781
+
9782
+ """
9783
+
9784
+ def __init__(self):
9785
+ r"""
9786
+ :param _SupportSelect: 是否支持select
9787
+ 注意:此字段可能返回 null,表示取不到有效值。
9788
+ :type SupportSelect: bool
9789
+ :param _SupportDdl: 是否支持ddl
9790
+ 注意:此字段可能返回 null,表示取不到有效值。
9791
+ :type SupportDdl: bool
9792
+ """
9793
+ self._SupportSelect = None
9794
+ self._SupportDdl = None
9795
+
9796
+ @property
9797
+ def SupportSelect(self):
9798
+ """是否支持select
9799
+ 注意:此字段可能返回 null,表示取不到有效值。
9800
+ :rtype: bool
9801
+ """
9802
+ return self._SupportSelect
9803
+
9804
+ @SupportSelect.setter
9805
+ def SupportSelect(self, SupportSelect):
9806
+ self._SupportSelect = SupportSelect
9807
+
9808
+ @property
9809
+ def SupportDdl(self):
9810
+ """是否支持ddl
9811
+ 注意:此字段可能返回 null,表示取不到有效值。
9812
+ :rtype: bool
9813
+ """
9814
+ return self._SupportDdl
9815
+
9816
+ @SupportDdl.setter
9817
+ def SupportDdl(self, SupportDdl):
9818
+ self._SupportDdl = SupportDdl
9819
+
9820
+
9821
+ def _deserialize(self, params):
9822
+ self._SupportSelect = params.get("SupportSelect")
9823
+ self._SupportDdl = params.get("SupportDdl")
9824
+ memeber_set = set(params.keys())
9825
+ for name, value in vars(self).items():
9826
+ property_name = name[1:]
9827
+ if property_name in memeber_set:
9828
+ memeber_set.remove(property_name)
9829
+ if len(memeber_set) > 0:
9830
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9831
+
9832
+
9833
+
9779
9834
  class CreateCustomFunctionRequest(AbstractModel):
9780
9835
  """CreateCustomFunction请求参数结构体
9781
9836
 
@@ -15570,6 +15625,12 @@ class DatabaseMeta(AbstractModel):
15570
15625
  :param _ClusterName: 引擎名称
15571
15626
  注意:此字段可能返回 null,表示取不到有效值。
15572
15627
  :type ClusterName: str
15628
+ :param _ModifiedTimeByTables: 库下表的最新更新时间
15629
+ 注意:此字段可能返回 null,表示取不到有效值。
15630
+ :type ModifiedTimeByTables: int
15631
+ :param _LastAccessTimeByTables: 库下表的最新访问时间
15632
+ 注意:此字段可能返回 null,表示取不到有效值。
15633
+ :type LastAccessTimeByTables: int
15573
15634
  """
15574
15635
  self._ProjectId = None
15575
15636
  self._MetastoreType = None
@@ -15596,6 +15657,8 @@ class DatabaseMeta(AbstractModel):
15596
15657
  self._CollectJobName = None
15597
15658
  self._ClusterId = None
15598
15659
  self._ClusterName = None
15660
+ self._ModifiedTimeByTables = None
15661
+ self._LastAccessTimeByTables = None
15599
15662
 
15600
15663
  @property
15601
15664
  def ProjectId(self):
@@ -15897,6 +15960,30 @@ class DatabaseMeta(AbstractModel):
15897
15960
  def ClusterName(self, ClusterName):
15898
15961
  self._ClusterName = ClusterName
15899
15962
 
15963
+ @property
15964
+ def ModifiedTimeByTables(self):
15965
+ """库下表的最新更新时间
15966
+ 注意:此字段可能返回 null,表示取不到有效值。
15967
+ :rtype: int
15968
+ """
15969
+ return self._ModifiedTimeByTables
15970
+
15971
+ @ModifiedTimeByTables.setter
15972
+ def ModifiedTimeByTables(self, ModifiedTimeByTables):
15973
+ self._ModifiedTimeByTables = ModifiedTimeByTables
15974
+
15975
+ @property
15976
+ def LastAccessTimeByTables(self):
15977
+ """库下表的最新访问时间
15978
+ 注意:此字段可能返回 null,表示取不到有效值。
15979
+ :rtype: int
15980
+ """
15981
+ return self._LastAccessTimeByTables
15982
+
15983
+ @LastAccessTimeByTables.setter
15984
+ def LastAccessTimeByTables(self, LastAccessTimeByTables):
15985
+ self._LastAccessTimeByTables = LastAccessTimeByTables
15986
+
15900
15987
 
15901
15988
  def _deserialize(self, params):
15902
15989
  self._ProjectId = params.get("ProjectId")
@@ -15929,6 +16016,8 @@ class DatabaseMeta(AbstractModel):
15929
16016
  self._CollectJobName = params.get("CollectJobName")
15930
16017
  self._ClusterId = params.get("ClusterId")
15931
16018
  self._ClusterName = params.get("ClusterName")
16019
+ self._ModifiedTimeByTables = params.get("ModifiedTimeByTables")
16020
+ self._LastAccessTimeByTables = params.get("LastAccessTimeByTables")
15932
16021
  memeber_set = set(params.keys())
15933
16022
  for name, value in vars(self).items():
15934
16023
  property_name = name[1:]
@@ -25035,6 +25124,195 @@ class DescribeInstanceByCycleResponse(AbstractModel):
25035
25124
  self._RequestId = params.get("RequestId")
25036
25125
 
25037
25126
 
25127
+ class DescribeInstanceDetailInfoRequest(AbstractModel):
25128
+ """DescribeInstanceDetailInfo请求参数结构体
25129
+
25130
+ """
25131
+
25132
+ def __init__(self):
25133
+ r"""
25134
+ :param _TaskId: 任务ID
25135
+ :type TaskId: str
25136
+ :param _CurRunDate: 实例数据时间
25137
+ :type CurRunDate: str
25138
+ :param _ProjectId: 项目id
25139
+ :type ProjectId: str
25140
+ :param _LifeRound: 实例的第几次执行
25141
+ :type LifeRound: int
25142
+ :param _LifeRoundStartIndex: 生命周期查询起始index
25143
+ :type LifeRoundStartIndex: int
25144
+ :param _LifeRoundSize: 生命周期查询批次数量
25145
+ :type LifeRoundSize: int
25146
+ :param _TotalLifeRound: 生命周期总数,可省略
25147
+ :type TotalLifeRound: str
25148
+ :param _Dynamic: 动态加载日志标识
25149
+ :type Dynamic: bool
25150
+ """
25151
+ self._TaskId = None
25152
+ self._CurRunDate = None
25153
+ self._ProjectId = None
25154
+ self._LifeRound = None
25155
+ self._LifeRoundStartIndex = None
25156
+ self._LifeRoundSize = None
25157
+ self._TotalLifeRound = None
25158
+ self._Dynamic = None
25159
+
25160
+ @property
25161
+ def TaskId(self):
25162
+ """任务ID
25163
+ :rtype: str
25164
+ """
25165
+ return self._TaskId
25166
+
25167
+ @TaskId.setter
25168
+ def TaskId(self, TaskId):
25169
+ self._TaskId = TaskId
25170
+
25171
+ @property
25172
+ def CurRunDate(self):
25173
+ """实例数据时间
25174
+ :rtype: str
25175
+ """
25176
+ return self._CurRunDate
25177
+
25178
+ @CurRunDate.setter
25179
+ def CurRunDate(self, CurRunDate):
25180
+ self._CurRunDate = CurRunDate
25181
+
25182
+ @property
25183
+ def ProjectId(self):
25184
+ """项目id
25185
+ :rtype: str
25186
+ """
25187
+ return self._ProjectId
25188
+
25189
+ @ProjectId.setter
25190
+ def ProjectId(self, ProjectId):
25191
+ self._ProjectId = ProjectId
25192
+
25193
+ @property
25194
+ def LifeRound(self):
25195
+ """实例的第几次执行
25196
+ :rtype: int
25197
+ """
25198
+ return self._LifeRound
25199
+
25200
+ @LifeRound.setter
25201
+ def LifeRound(self, LifeRound):
25202
+ self._LifeRound = LifeRound
25203
+
25204
+ @property
25205
+ def LifeRoundStartIndex(self):
25206
+ """生命周期查询起始index
25207
+ :rtype: int
25208
+ """
25209
+ return self._LifeRoundStartIndex
25210
+
25211
+ @LifeRoundStartIndex.setter
25212
+ def LifeRoundStartIndex(self, LifeRoundStartIndex):
25213
+ self._LifeRoundStartIndex = LifeRoundStartIndex
25214
+
25215
+ @property
25216
+ def LifeRoundSize(self):
25217
+ """生命周期查询批次数量
25218
+ :rtype: int
25219
+ """
25220
+ return self._LifeRoundSize
25221
+
25222
+ @LifeRoundSize.setter
25223
+ def LifeRoundSize(self, LifeRoundSize):
25224
+ self._LifeRoundSize = LifeRoundSize
25225
+
25226
+ @property
25227
+ def TotalLifeRound(self):
25228
+ """生命周期总数,可省略
25229
+ :rtype: str
25230
+ """
25231
+ return self._TotalLifeRound
25232
+
25233
+ @TotalLifeRound.setter
25234
+ def TotalLifeRound(self, TotalLifeRound):
25235
+ self._TotalLifeRound = TotalLifeRound
25236
+
25237
+ @property
25238
+ def Dynamic(self):
25239
+ """动态加载日志标识
25240
+ :rtype: bool
25241
+ """
25242
+ return self._Dynamic
25243
+
25244
+ @Dynamic.setter
25245
+ def Dynamic(self, Dynamic):
25246
+ self._Dynamic = Dynamic
25247
+
25248
+
25249
+ def _deserialize(self, params):
25250
+ self._TaskId = params.get("TaskId")
25251
+ self._CurRunDate = params.get("CurRunDate")
25252
+ self._ProjectId = params.get("ProjectId")
25253
+ self._LifeRound = params.get("LifeRound")
25254
+ self._LifeRoundStartIndex = params.get("LifeRoundStartIndex")
25255
+ self._LifeRoundSize = params.get("LifeRoundSize")
25256
+ self._TotalLifeRound = params.get("TotalLifeRound")
25257
+ self._Dynamic = params.get("Dynamic")
25258
+ memeber_set = set(params.keys())
25259
+ for name, value in vars(self).items():
25260
+ property_name = name[1:]
25261
+ if property_name in memeber_set:
25262
+ memeber_set.remove(property_name)
25263
+ if len(memeber_set) > 0:
25264
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25265
+
25266
+
25267
+
25268
+ class DescribeInstanceDetailInfoResponse(AbstractModel):
25269
+ """DescribeInstanceDetailInfo返回参数结构体
25270
+
25271
+ """
25272
+
25273
+ def __init__(self):
25274
+ r"""
25275
+ :param _Data: 生命周期结果
25276
+ :type Data: list of InstanceLifeCycleOpsDto
25277
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
25278
+ :type RequestId: str
25279
+ """
25280
+ self._Data = None
25281
+ self._RequestId = None
25282
+
25283
+ @property
25284
+ def Data(self):
25285
+ """生命周期结果
25286
+ :rtype: list of InstanceLifeCycleOpsDto
25287
+ """
25288
+ return self._Data
25289
+
25290
+ @Data.setter
25291
+ def Data(self, Data):
25292
+ self._Data = Data
25293
+
25294
+ @property
25295
+ def RequestId(self):
25296
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
25297
+ :rtype: str
25298
+ """
25299
+ return self._RequestId
25300
+
25301
+ @RequestId.setter
25302
+ def RequestId(self, RequestId):
25303
+ self._RequestId = RequestId
25304
+
25305
+
25306
+ def _deserialize(self, params):
25307
+ if params.get("Data") is not None:
25308
+ self._Data = []
25309
+ for item in params.get("Data"):
25310
+ obj = InstanceLifeCycleOpsDto()
25311
+ obj._deserialize(item)
25312
+ self._Data.append(obj)
25313
+ self._RequestId = params.get("RequestId")
25314
+
25315
+
25038
25316
  class DescribeInstanceLastLogRequest(AbstractModel):
25039
25317
  """DescribeInstanceLastLog请求参数结构体
25040
25318
 
@@ -74892,6 +75170,15 @@ TABLE, VIEW, MANAGED_TABLE(Hive管理表), EXTERNAL_TABLE(Hive外部表), VIRTUA
74892
75170
  :param _HasBizPermission: 是否有修改业务权限
74893
75171
  注意:此字段可能返回 null,表示取不到有效值。
74894
75172
  :type HasBizPermission: bool
75173
+ :param _OwnerByEngine: 引擎侧创建人
75174
+ 注意:此字段可能返回 null,表示取不到有效值。
75175
+ :type OwnerByEngine: str
75176
+ :param _ErrorTips: 用户无映射账户,请先完成账户映射后再来申请。
75177
+ 注意:此字段可能返回 null,表示取不到有效值。
75178
+ :type ErrorTips: str
75179
+ :param _IfSupportCreateAndDDL: 是否支持select or ddl
75180
+ 注意:此字段可能返回 null,表示取不到有效值。
75181
+ :type IfSupportCreateAndDDL: :class:`tencentcloud.wedata.v20210820.models.CreateAndDDLSupport`
74895
75182
  """
74896
75183
  self._TableId = None
74897
75184
  self._TableName = None
@@ -74954,6 +75241,9 @@ TABLE, VIEW, MANAGED_TABLE(Hive管理表), EXTERNAL_TABLE(Hive外部表), VIRTUA
74954
75241
  self._CollectJobName = None
74955
75242
  self._Urn = None
74956
75243
  self._HasBizPermission = None
75244
+ self._OwnerByEngine = None
75245
+ self._ErrorTips = None
75246
+ self._IfSupportCreateAndDDL = None
74957
75247
 
74958
75248
  @property
74959
75249
  def TableId(self):
@@ -75688,6 +75978,42 @@ TABLE, VIEW, MANAGED_TABLE(Hive管理表), EXTERNAL_TABLE(Hive外部表), VIRTUA
75688
75978
  def HasBizPermission(self, HasBizPermission):
75689
75979
  self._HasBizPermission = HasBizPermission
75690
75980
 
75981
+ @property
75982
+ def OwnerByEngine(self):
75983
+ """引擎侧创建人
75984
+ 注意:此字段可能返回 null,表示取不到有效值。
75985
+ :rtype: str
75986
+ """
75987
+ return self._OwnerByEngine
75988
+
75989
+ @OwnerByEngine.setter
75990
+ def OwnerByEngine(self, OwnerByEngine):
75991
+ self._OwnerByEngine = OwnerByEngine
75992
+
75993
+ @property
75994
+ def ErrorTips(self):
75995
+ """用户无映射账户,请先完成账户映射后再来申请。
75996
+ 注意:此字段可能返回 null,表示取不到有效值。
75997
+ :rtype: str
75998
+ """
75999
+ return self._ErrorTips
76000
+
76001
+ @ErrorTips.setter
76002
+ def ErrorTips(self, ErrorTips):
76003
+ self._ErrorTips = ErrorTips
76004
+
76005
+ @property
76006
+ def IfSupportCreateAndDDL(self):
76007
+ """是否支持select or ddl
76008
+ 注意:此字段可能返回 null,表示取不到有效值。
76009
+ :rtype: :class:`tencentcloud.wedata.v20210820.models.CreateAndDDLSupport`
76010
+ """
76011
+ return self._IfSupportCreateAndDDL
76012
+
76013
+ @IfSupportCreateAndDDL.setter
76014
+ def IfSupportCreateAndDDL(self, IfSupportCreateAndDDL):
76015
+ self._IfSupportCreateAndDDL = IfSupportCreateAndDDL
76016
+
75691
76017
 
75692
76018
  def _deserialize(self, params):
75693
76019
  self._TableId = params.get("TableId")
@@ -75770,6 +76096,11 @@ TABLE, VIEW, MANAGED_TABLE(Hive管理表), EXTERNAL_TABLE(Hive外部表), VIRTUA
75770
76096
  self._CollectJobName = params.get("CollectJobName")
75771
76097
  self._Urn = params.get("Urn")
75772
76098
  self._HasBizPermission = params.get("HasBizPermission")
76099
+ self._OwnerByEngine = params.get("OwnerByEngine")
76100
+ self._ErrorTips = params.get("ErrorTips")
76101
+ if params.get("IfSupportCreateAndDDL") is not None:
76102
+ self._IfSupportCreateAndDDL = CreateAndDDLSupport()
76103
+ self._IfSupportCreateAndDDL._deserialize(params.get("IfSupportCreateAndDDL"))
75773
76104
  memeber_set = set(params.keys())
75774
76105
  for name, value in vars(self).items():
75775
76106
  property_name = name[1:]
@@ -2188,6 +2188,29 @@ class WedataClient(AbstractClient):
2188
2188
  raise TencentCloudSDKException(type(e).__name__, str(e))
2189
2189
 
2190
2190
 
2191
+ def DescribeInstanceDetailInfo(self, request):
2192
+ """实例详情页,返回某个实例所有生命周期信息
2193
+
2194
+ :param request: Request instance for DescribeInstanceDetailInfo.
2195
+ :type request: :class:`tencentcloud.wedata.v20210820.models.DescribeInstanceDetailInfoRequest`
2196
+ :rtype: :class:`tencentcloud.wedata.v20210820.models.DescribeInstanceDetailInfoResponse`
2197
+
2198
+ """
2199
+ try:
2200
+ params = request._serialize()
2201
+ headers = request.headers
2202
+ body = self.call("DescribeInstanceDetailInfo", params, headers=headers)
2203
+ response = json.loads(body)
2204
+ model = models.DescribeInstanceDetailInfoResponse()
2205
+ model._deserialize(response["Response"])
2206
+ return model
2207
+ except Exception as e:
2208
+ if isinstance(e, TencentCloudSDKException):
2209
+ raise
2210
+ else:
2211
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2212
+
2213
+
2191
2214
  def DescribeInstanceLastLog(self, request):
2192
2215
  """日志获取详情页面
2193
2216
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1316
3
+ Version: 3.0.1318
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud