tencentcloud-sdk-python 3.0.1422__py2.py3-none-any.whl → 3.0.1423__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdn/v20180606/models.py +2 -2
- tencentcloud/cdwch/v20200915/models.py +2 -2
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/ctem/v20231128/ctem_client.py +69 -0
- tencentcloud/ctem/v20231128/models.py +1011 -0
- tencentcloud/gme/v20180711/models.py +75 -0
- tencentcloud/kms/v20190118/models.py +296 -0
- tencentcloud/lke/v20231130/errorcodes.py +0 -33
- tencentcloud/lke/v20231130/lke_client.py +0 -191
- tencentcloud/lke/v20231130/models.py +216 -2159
- tencentcloud/monitor/v20230616/errorcodes.py +2 -11
- tencentcloud/monitor/v20230616/models.py +104 -369
- tencentcloud/monitor/v20230616/monitor_client.py +7 -13
- tencentcloud/redis/v20180412/models.py +42 -6
- tencentcloud/scf/v20180416/errorcodes.py +24 -0
- tencentcloud/ssl/v20191205/models.py +47 -2
- tencentcloud/tke/v20180525/models.py +4 -4
- tencentcloud/tse/v20201207/models.py +347 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1423.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1423.dist-info}/RECORD +25 -25
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1423.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1423.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1423.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -19579,7 +19579,7 @@ add:增加。增加指定的头部参数,默认允许重复添加,即重
|
|
19579
19579
|
:param _HeaderName: http 头部名称,最多可设置 100 个字符
|
19580
19580
|
注意:此字段可能返回 null,表示取不到有效值。
|
19581
19581
|
:type HeaderName: str
|
19582
|
-
:param _HeaderValue: http 头部值,最多可设置
|
19582
|
+
:param _HeaderValue: http 头部值,最多可设置 2000 个字符
|
19583
19583
|
Mode 为 del 时非必填
|
19584
19584
|
Mode 为 add/set 时必填
|
19585
19585
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -19634,7 +19634,7 @@ add:增加。增加指定的头部参数,默认允许重复添加,即重
|
|
19634
19634
|
|
19635
19635
|
@property
|
19636
19636
|
def HeaderValue(self):
|
19637
|
-
"""http 头部值,最多可设置
|
19637
|
+
"""http 头部值,最多可设置 2000 个字符
|
19638
19638
|
Mode 为 del 时非必填
|
19639
19639
|
Mode 为 add/set 时必填
|
19640
19640
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2747,7 +2747,7 @@ class DescribeCNInstancesResponse(AbstractModel):
|
|
2747
2747
|
:param _InstancesList: 实例数组
|
2748
2748
|
注意:此字段可能返回 null,表示取不到有效值。
|
2749
2749
|
:type InstancesList: list of CnInstanceInfo
|
2750
|
-
:param _ErrorMsg:
|
2750
|
+
:param _ErrorMsg: 错误信息
|
2751
2751
|
注意:此字段可能返回 null,表示取不到有效值。
|
2752
2752
|
:type ErrorMsg: str
|
2753
2753
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -2784,7 +2784,7 @@ class DescribeCNInstancesResponse(AbstractModel):
|
|
2784
2784
|
|
2785
2785
|
@property
|
2786
2786
|
def ErrorMsg(self):
|
2787
|
-
"""
|
2787
|
+
"""错误信息
|
2788
2788
|
注意:此字段可能返回 null,表示取不到有效值。
|
2789
2789
|
:rtype: str
|
2790
2790
|
"""
|
@@ -158,6 +158,9 @@ INVALIDPARAMETERVALUE_PREPROCESSDEFINITION = 'InvalidParameterValue.PreProcessDe
|
|
158
158
|
# 项目不存在。
|
159
159
|
INVALIDPARAMETERVALUE_PROJECTID = 'InvalidParameterValue.ProjectId'
|
160
160
|
|
161
|
+
# 项目 ID 对应的项目信息异常。
|
162
|
+
INVALIDPARAMETERVALUE_PROJECTINFOERROR = 'InvalidParameterValue.ProjectInfoError'
|
163
|
+
|
161
164
|
# 轨道素材替换类型无效或不匹配。
|
162
165
|
INVALIDPARAMETERVALUE_REPLACEMENTTYPE = 'InvalidParameterValue.ReplacementType'
|
163
166
|
|
@@ -325,6 +325,75 @@ class CtemClient(AbstractClient):
|
|
325
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
326
326
|
|
327
327
|
|
328
|
+
def DescribeLeakageCodes(self, request):
|
329
|
+
"""获取代码泄露数据
|
330
|
+
|
331
|
+
:param request: Request instance for DescribeLeakageCodes.
|
332
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageCodesRequest`
|
333
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageCodesResponse`
|
334
|
+
|
335
|
+
"""
|
336
|
+
try:
|
337
|
+
params = request._serialize()
|
338
|
+
headers = request.headers
|
339
|
+
body = self.call("DescribeLeakageCodes", params, headers=headers)
|
340
|
+
response = json.loads(body)
|
341
|
+
model = models.DescribeLeakageCodesResponse()
|
342
|
+
model._deserialize(response["Response"])
|
343
|
+
return model
|
344
|
+
except Exception as e:
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
346
|
+
raise
|
347
|
+
else:
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
349
|
+
|
350
|
+
|
351
|
+
def DescribeLeakageDatas(self, request):
|
352
|
+
"""获取数据泄露事件
|
353
|
+
|
354
|
+
:param request: Request instance for DescribeLeakageDatas.
|
355
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageDatasRequest`
|
356
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageDatasResponse`
|
357
|
+
|
358
|
+
"""
|
359
|
+
try:
|
360
|
+
params = request._serialize()
|
361
|
+
headers = request.headers
|
362
|
+
body = self.call("DescribeLeakageDatas", params, headers=headers)
|
363
|
+
response = json.loads(body)
|
364
|
+
model = models.DescribeLeakageDatasResponse()
|
365
|
+
model._deserialize(response["Response"])
|
366
|
+
return model
|
367
|
+
except Exception as e:
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
369
|
+
raise
|
370
|
+
else:
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
372
|
+
|
373
|
+
|
374
|
+
def DescribeLeakageEmails(self, request):
|
375
|
+
"""获取邮箱泄露数据
|
376
|
+
|
377
|
+
:param request: Request instance for DescribeLeakageEmails.
|
378
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageEmailsRequest`
|
379
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageEmailsResponse`
|
380
|
+
|
381
|
+
"""
|
382
|
+
try:
|
383
|
+
params = request._serialize()
|
384
|
+
headers = request.headers
|
385
|
+
body = self.call("DescribeLeakageEmails", params, headers=headers)
|
386
|
+
response = json.loads(body)
|
387
|
+
model = models.DescribeLeakageEmailsResponse()
|
388
|
+
model._deserialize(response["Response"])
|
389
|
+
return model
|
390
|
+
except Exception as e:
|
391
|
+
if isinstance(e, TencentCloudSDKException):
|
392
|
+
raise
|
393
|
+
else:
|
394
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
395
|
+
|
396
|
+
|
328
397
|
def DescribeManages(self, request):
|
329
398
|
"""查看后台管理数据
|
330
399
|
|