tencentcloud-sdk-python 3.0.1237__py2.py3-none-any.whl → 3.0.1239__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 (44) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apigateway/v20180808/apigateway_client.py +23 -0
  3. tencentcloud/apigateway/v20180808/models.py +31 -0
  4. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  5. tencentcloud/ccc/v20200210/models.py +319 -0
  6. tencentcloud/clb/v20180317/models.py +25 -1
  7. tencentcloud/cme/v20191029/models.py +12 -0
  8. tencentcloud/cynosdb/v20190107/cynosdb_client.py +0 -25
  9. tencentcloud/cynosdb/v20190107/models.py +0 -130
  10. tencentcloud/emr/v20190103/emr_client.py +46 -0
  11. tencentcloud/emr/v20190103/models.py +455 -3
  12. tencentcloud/ess/v20201111/ess_client.py +1 -1
  13. tencentcloud/ess/v20201111/models.py +26 -0
  14. tencentcloud/essbasic/v20210526/models.py +27 -0
  15. tencentcloud/faceid/v20180301/models.py +28 -0
  16. tencentcloud/iecp/v20210914/iecp_client.py +0 -500
  17. tencentcloud/iecp/v20210914/models.py +2130 -5305
  18. tencentcloud/ims/v20201229/ims_client.py +8 -3
  19. tencentcloud/ims/v20201229/models.py +2 -2
  20. tencentcloud/monitor/v20180724/models.py +0 -132
  21. tencentcloud/monitor/v20180724/monitor_client.py +0 -50
  22. tencentcloud/ocr/v20181119/models.py +2 -0
  23. tencentcloud/ocr/v20181119/ocr_client.py +1 -1
  24. tencentcloud/postgres/v20170312/models.py +626 -13
  25. tencentcloud/postgres/v20170312/postgres_client.py +69 -0
  26. tencentcloud/rce/v20201103/models.py +33 -22
  27. tencentcloud/redis/v20180412/errorcodes.py +3 -0
  28. tencentcloud/sms/v20190711/models.py +3 -3
  29. tencentcloud/sms/v20210111/models.py +9 -8
  30. tencentcloud/tcss/v20201101/models.py +257 -0
  31. tencentcloud/teo/v20220901/models.py +89 -7
  32. tencentcloud/tke/v20180525/models.py +1 -1
  33. tencentcloud/tke/v20220501/models.py +1 -1
  34. tencentcloud/tse/v20201207/models.py +26 -0
  35. tencentcloud/tsf/v20180326/models.py +0 -58
  36. tencentcloud/tsf/v20180326/tsf_client.py +0 -25
  37. tencentcloud/vod/v20180717/vod_client.py +9 -1
  38. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  39. tencentcloud/wedata/v20210820/models.py +18 -0
  40. {tencentcloud_sdk_python-3.0.1237.dist-info → tencentcloud_sdk_python-3.0.1239.dist-info}/METADATA +1 -1
  41. {tencentcloud_sdk_python-3.0.1237.dist-info → tencentcloud_sdk_python-3.0.1239.dist-info}/RECORD +44 -44
  42. {tencentcloud_sdk_python-3.0.1237.dist-info → tencentcloud_sdk_python-3.0.1239.dist-info}/LICENSE +0 -0
  43. {tencentcloud_sdk_python-3.0.1237.dist-info → tencentcloud_sdk_python-3.0.1239.dist-info}/WHEEL +0 -0
  44. {tencentcloud_sdk_python-3.0.1237.dist-info → tencentcloud_sdk_python-3.0.1239.dist-info}/top_level.txt +0 -0
@@ -210,6 +210,29 @@ class PostgresClient(AbstractClient):
210
210
  raise TencentCloudSDKException(type(e).__name__, str(e))
211
211
 
212
212
 
213
+ def CreateDatabase(self, request):
214
+ """此接口用于创建数据库,需指定数据库名及所有者。
215
+
216
+ :param request: Request instance for CreateDatabase.
217
+ :type request: :class:`tencentcloud.postgres.v20170312.models.CreateDatabaseRequest`
218
+ :rtype: :class:`tencentcloud.postgres.v20170312.models.CreateDatabaseResponse`
219
+
220
+ """
221
+ try:
222
+ params = request._serialize()
223
+ headers = request.headers
224
+ body = self.call("CreateDatabase", params, headers=headers)
225
+ response = json.loads(body)
226
+ model = models.CreateDatabaseResponse()
227
+ model._deserialize(response["Response"])
228
+ return model
229
+ except Exception as e:
230
+ if isinstance(e, TencentCloudSDKException):
231
+ raise
232
+ else:
233
+ raise TencentCloudSDKException(type(e).__name__, str(e))
234
+
235
+
213
236
  def CreateInstances(self, request):
214
237
  """本接口 (CreateInstances) 用于创建一个或者多个PostgreSQL实例,通过此接口创建的实例无需进行初始化,可直接使用。
215
238
  <li>实例创建成功后将自动开机启动,实例状态变为“运行中”。</li>
@@ -1065,6 +1088,29 @@ class PostgresClient(AbstractClient):
1065
1088
  raise TencentCloudSDKException(type(e).__name__, str(e))
1066
1089
 
1067
1090
 
1091
+ def DescribeDedicatedClusters(self, request):
1092
+ """查询专属集群
1093
+
1094
+ :param request: Request instance for DescribeDedicatedClusters.
1095
+ :type request: :class:`tencentcloud.postgres.v20170312.models.DescribeDedicatedClustersRequest`
1096
+ :rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeDedicatedClustersResponse`
1097
+
1098
+ """
1099
+ try:
1100
+ params = request._serialize()
1101
+ headers = request.headers
1102
+ body = self.call("DescribeDedicatedClusters", params, headers=headers)
1103
+ response = json.loads(body)
1104
+ model = models.DescribeDedicatedClustersResponse()
1105
+ model._deserialize(response["Response"])
1106
+ return model
1107
+ except Exception as e:
1108
+ if isinstance(e, TencentCloudSDKException):
1109
+ raise
1110
+ else:
1111
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1112
+
1113
+
1068
1114
  def DescribeDefaultParameters(self, request):
1069
1115
  """本接口(DescribeDefaultParameters)主要用于查询某个数据库版本和引擎支持的所有参数。
1070
1116
 
@@ -1895,6 +1941,29 @@ class PostgresClient(AbstractClient):
1895
1941
  raise TencentCloudSDKException(type(e).__name__, str(e))
1896
1942
 
1897
1943
 
1944
+ def ModifyDatabaseOwner(self, request):
1945
+ """修改数据库所有者
1946
+
1947
+ :param request: Request instance for ModifyDatabaseOwner.
1948
+ :type request: :class:`tencentcloud.postgres.v20170312.models.ModifyDatabaseOwnerRequest`
1949
+ :rtype: :class:`tencentcloud.postgres.v20170312.models.ModifyDatabaseOwnerResponse`
1950
+
1951
+ """
1952
+ try:
1953
+ params = request._serialize()
1954
+ headers = request.headers
1955
+ body = self.call("ModifyDatabaseOwner", params, headers=headers)
1956
+ response = json.loads(body)
1957
+ model = models.ModifyDatabaseOwnerResponse()
1958
+ model._deserialize(response["Response"])
1959
+ return model
1960
+ except Exception as e:
1961
+ if isinstance(e, TencentCloudSDKException):
1962
+ raise
1963
+ else:
1964
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1965
+
1966
+
1898
1967
  def ModifyParameterTemplate(self, request):
1899
1968
  """本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。
1900
1969
 
@@ -178,17 +178,17 @@ class DataAuthorizationInfo(AbstractModel):
178
178
 
179
179
  def __init__(self):
180
180
  r"""
181
- :param _DataProviderName: 客户主体名称。
181
+ :param _DataProviderName: 数据委托方、需求方:客户主体名称。
182
182
 
183
183
  示例值:某某有限公司。
184
184
  :type DataProviderName: str
185
- :param _DataRecipientName: 接收方主体名称。
185
+ :param _DataRecipientName: 数据受托方、提供方:腾讯云主体名称。
186
186
 
187
187
  固定填:腾讯云计算(北京)有限责任公司
188
188
 
189
189
  示例值:腾讯云计算(北京)有限责任公司
190
190
  :type DataRecipientName: str
191
- :param _UserDataType: 客户请求RCE所涉及的用户敏感数据类型,支持多选。实际以接口请求传参为准。
191
+ :param _UserDataType: 客户请求RCE所提供的用户数据类型,支持多选。实际以接口请求传参为准。
192
192
 
193
193
  1-手机号;
194
194
 
@@ -198,42 +198,44 @@ class DataAuthorizationInfo(AbstractModel):
198
198
 
199
199
  4-IP地址;
200
200
 
201
- 5-设备指纹;
202
-
203
201
  999-其它;
204
202
 
205
203
  示例值:[1, 4]
206
204
  :type UserDataType: list of int non-negative
207
- :param _IsAuthorize: 客户是否已经获取用户授权。
208
-
205
+ :param _IsAuthorize: 客户是否已按[合规指南](https://rule.tencent.com/rule/202409130001)要求获取用户授权,同意客户委托腾讯云处理入参信息
209
206
  1-已授权;其它值为未授权。
210
-
211
207
  示例值:1
212
208
  :type IsAuthorize: int
213
- :param _IsPersonalData: 是否是用户个人敏感数据。
214
-
215
- 固定填:1。
216
-
209
+ :param _IsOrderHandling: 客户是否已按[合规指南](https://rule.tencent.com/rule/202409130001)要求获取用户授权,同意腾讯云结合客户提供的信息,对已合法收集的用户数据进行必要处理得出服务结果,并返回给客户。
210
+ 1-已授权;其它值为未授权。
217
211
  示例值:1
218
- :type IsPersonalData: int
212
+ :type IsOrderHandling: int
219
213
  :param _AuthorizationTerm: 客户获得的用户授权期限时间戳(单位秒)。
220
214
 
221
215
  不填默认无固定期限。
222
216
 
223
217
  示例值:1719805604
224
218
  :type AuthorizationTerm: int
225
- :param _PrivacyPolicyLink: 客户获得用户授权所依赖的协议地址。
219
+ :param _PrivacyPolicyLink:
220
+ 客户获得用户授权所依赖的协议地址。
226
221
 
227
- 示例值:https://www.*****.com/*****
222
+ 示例值:https://www.*****.com/*
228
223
  :type PrivacyPolicyLink: str
224
+ :param _IsPersonalData: 是否是用户个人敏感数据。
225
+
226
+ 固定填:1。
227
+
228
+ 示例值:1
229
+ :type IsPersonalData: int
229
230
  """
230
231
  self._DataProviderName = None
231
232
  self._DataRecipientName = None
232
233
  self._UserDataType = None
233
234
  self._IsAuthorize = None
234
- self._IsPersonalData = None
235
+ self._IsOrderHandling = None
235
236
  self._AuthorizationTerm = None
236
237
  self._PrivacyPolicyLink = None
238
+ self._IsPersonalData = None
237
239
 
238
240
  @property
239
241
  def DataProviderName(self):
@@ -268,12 +270,12 @@ class DataAuthorizationInfo(AbstractModel):
268
270
  self._IsAuthorize = IsAuthorize
269
271
 
270
272
  @property
271
- def IsPersonalData(self):
272
- return self._IsPersonalData
273
+ def IsOrderHandling(self):
274
+ return self._IsOrderHandling
273
275
 
274
- @IsPersonalData.setter
275
- def IsPersonalData(self, IsPersonalData):
276
- self._IsPersonalData = IsPersonalData
276
+ @IsOrderHandling.setter
277
+ def IsOrderHandling(self, IsOrderHandling):
278
+ self._IsOrderHandling = IsOrderHandling
277
279
 
278
280
  @property
279
281
  def AuthorizationTerm(self):
@@ -291,15 +293,24 @@ class DataAuthorizationInfo(AbstractModel):
291
293
  def PrivacyPolicyLink(self, PrivacyPolicyLink):
292
294
  self._PrivacyPolicyLink = PrivacyPolicyLink
293
295
 
296
+ @property
297
+ def IsPersonalData(self):
298
+ return self._IsPersonalData
299
+
300
+ @IsPersonalData.setter
301
+ def IsPersonalData(self, IsPersonalData):
302
+ self._IsPersonalData = IsPersonalData
303
+
294
304
 
295
305
  def _deserialize(self, params):
296
306
  self._DataProviderName = params.get("DataProviderName")
297
307
  self._DataRecipientName = params.get("DataRecipientName")
298
308
  self._UserDataType = params.get("UserDataType")
299
309
  self._IsAuthorize = params.get("IsAuthorize")
300
- self._IsPersonalData = params.get("IsPersonalData")
310
+ self._IsOrderHandling = params.get("IsOrderHandling")
301
311
  self._AuthorizationTerm = params.get("AuthorizationTerm")
302
312
  self._PrivacyPolicyLink = params.get("PrivacyPolicyLink")
313
+ self._IsPersonalData = params.get("IsPersonalData")
303
314
  memeber_set = set(params.keys())
304
315
  for name, value in vars(self).items():
305
316
  property_name = name[1:]
@@ -329,5 +329,8 @@ UNSUPPORTEDOPERATION_ISAUTORENEWERROR = 'UnsupportedOperation.IsAutoRenewError'
329
329
  # 实例版本过低。
330
330
  UNSUPPORTEDOPERATION_LIMITPROXYVERSION = 'UnsupportedOperation.LimitProxyVersion'
331
331
 
332
+ # 实例版本过低
333
+ UNSUPPORTEDOPERATION_LOWVERSION = 'UnsupportedOperation.LowVersion'
334
+
332
335
  # 只有集群版实例支持导出备份。
333
336
  UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = 'UnsupportedOperation.OnlyClusterInstanceCanExportBackup'
@@ -538,7 +538,7 @@ class CallbackStatusStatisticsRequest(AbstractModel):
538
538
  :param _StartDateTime: 开始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
539
539
  :type StartDateTime: int
540
540
  :param _EndDataTime: 结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时。
541
- 注:EndDataTime 必须大于 StartDateTime。
541
+ 注:EndDataTime 必须大于等于 StartDateTime。
542
542
  :type EndDataTime: int
543
543
  :param _SmsSdkAppid: 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
544
544
  :type SmsSdkAppid: str
@@ -2662,7 +2662,7 @@ class SendStatusStatisticsRequest(AbstractModel):
2662
2662
  :param _StartDateTime: 拉取起始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
2663
2663
  :type StartDateTime: int
2664
2664
  :param _EndDataTime: 结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时
2665
- 注:EndDataTime 必须大于 StartDateTime。
2665
+ 注:EndDataTime 必须大于等于 StartDateTime。
2666
2666
  :type EndDataTime: int
2667
2667
  :param _SmsSdkAppid: 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
2668
2668
  :type SmsSdkAppid: str
@@ -2926,9 +2926,9 @@ class SmsPackagesStatisticsRequest(AbstractModel):
2926
2926
  :param _SmsSdkAppid: 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
2927
2927
  :type SmsSdkAppid: str
2928
2928
  :param _Limit: 最大上限(需要拉取的套餐包个数)。
2929
+ 注:Limit默认最大值为500,可结合Offset实现分页查询。
2929
2930
  :type Limit: int
2930
2931
  :param _Offset: 偏移量。
2931
- 注:目前固定设置为0。
2932
2932
  :type Offset: int
2933
2933
  """
2934
2934
  self._SmsSdkAppid = None
@@ -523,10 +523,10 @@ class CallbackStatusStatisticsRequest(AbstractModel):
523
523
 
524
524
  def __init__(self):
525
525
  r"""
526
- :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
526
+ :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2024050113,表示2024年5月1号13时。
527
527
  :type BeginTime: str
528
- :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
529
- 注:EndTime 必须大于 BeginTime,且相差不超过32天。
528
+ :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2024050118,表示2024年5月1号18时。
529
+ 注:EndTime 必须大于等于 BeginTime,且相差不超过32天。
530
530
  :type EndTime: str
531
531
  :param _SmsSdkAppId: 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
532
532
  :type SmsSdkAppId: str
@@ -3000,10 +3000,10 @@ class SendStatusStatisticsRequest(AbstractModel):
3000
3000
 
3001
3001
  def __init__(self):
3002
3002
  r"""
3003
- :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
3003
+ :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2024050113,表示2024年5月1号13时。
3004
3004
  :type BeginTime: str
3005
- :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
3006
- 注:EndTime 必须大于 BeginTime。
3005
+ :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2024050118,表示2024年5月1号18时。
3006
+ 注:EndTime 必须大于等于 BeginTime。
3007
3007
  :type EndTime: str
3008
3008
  :param _SmsSdkAppId: 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
3009
3009
  :type SmsSdkAppId: str
@@ -3231,13 +3231,14 @@ class SmsPackagesStatisticsRequest(AbstractModel):
3231
3231
  :param _SmsSdkAppId: 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
3232
3232
  :type SmsSdkAppId: str
3233
3233
  :param _Limit: 最大上限(需要拉取的套餐包个数)。
3234
+ 注:Limit默认最大值为500,可结合Offset实现分页查询。
3234
3235
  :type Limit: int
3235
3236
  :param _Offset: 偏移量。
3236
3237
  :type Offset: int
3237
- :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
3238
+ :param _BeginTime: 起始时间,格式为yyyymmddhh,精确到小时,例如2024050113,表示2024年5月1号13时。
3238
3239
  注:接口会返回 BeginTime 到 EndTime 之间创建的套餐包的统计信息。
3239
3240
  :type BeginTime: str
3240
- :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
3241
+ :param _EndTime: 结束时间,格式为yyyymmddhh,精确到小时,例如2024050118,表示2024年5月1号18时。
3241
3242
  注:EndTime 必须大于 BeginTime 且小于当前时间。
3242
3243
  :type EndTime: str
3243
3244
  """