tencentcloud-sdk-python 3.0.1321__py2.py3-none-any.whl → 3.0.1323__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/aiart/v20221229/aiart_client.py +54 -0
- tencentcloud/aiart/v20221229/models.py +523 -0
- tencentcloud/billing/v20180709/billing_client.py +0 -75
- tencentcloud/billing/v20180709/models.py +2 -833
- tencentcloud/ckafka/v20190819/models.py +15 -0
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -274
- tencentcloud/dcdb/v20180411/dcdb_client.py +46 -0
- tencentcloud/dcdb/v20180411/models.py +379 -0
- tencentcloud/dlc/v20210125/models.py +205 -10
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/facefusion/v20220927/facefusion_client.py +0 -1
- tencentcloud/faceid/v20180301/models.py +8 -6
- tencentcloud/gme/v20180711/models.py +0 -12
- tencentcloud/keewidb/v20220308/keewidb_client.py +1 -0
- tencentcloud/lcic/v20220817/models.py +0 -160
- tencentcloud/lighthouse/v20200324/models.py +4 -16
- tencentcloud/lke/v20231130/models.py +15 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +5 -5
- tencentcloud/lkeap/v20240522/models.py +4 -6
- tencentcloud/mna/v20210119/mna_client.py +46 -0
- tencentcloud/mna/v20210119/models.py +424 -0
- tencentcloud/monitor/v20230616/__init__.py +0 -0
- tencentcloud/monitor/v20230616/errorcodes.py +30 -0
- tencentcloud/monitor/v20230616/models.py +494 -0
- tencentcloud/monitor/v20230616/monitor_client.py +55 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +12 -0
- tencentcloud/mqtt/v20240516/models.py +2179 -651
- tencentcloud/mqtt/v20240516/mqtt_client.py +208 -0
- tencentcloud/ocr/v20181119/models.py +107 -2
- tencentcloud/ssl/v20191205/models.py +2 -2
- tencentcloud/taf/v20200210/errorcodes.py +0 -156
- tencentcloud/taf/v20200210/models.py +80 -1291
- tencentcloud/taf/v20200210/taf_client.py +0 -69
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +6 -0
- tencentcloud/tione/v20211111/models.py +19 -0
- tencentcloud/trabbit/v20230418/models.py +15 -304
- tencentcloud/trtc/v20190722/models.py +0 -6
- tencentcloud/vclm/v20240523/errorcodes.py +0 -72
- tencentcloud/vclm/v20240523/models.py +1 -854
- tencentcloud/vclm/v20240523/vclm_client.py +0 -104
- tencentcloud/wedata/v20210820/models.py +298 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/RECORD +51 -47
- {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/top_level.txt +0 -0
@@ -42,75 +42,6 @@ class TafClient(AbstractClient):
|
|
42
42
|
model = models.ManagePortraitRiskResponse()
|
43
43
|
model._deserialize(response["Response"])
|
44
44
|
return model
|
45
|
-
except Exception as e:
|
46
|
-
if isinstance(e, TencentCloudSDKException):
|
47
|
-
raise
|
48
|
-
else:
|
49
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
-
|
51
|
-
|
52
|
-
def RecognizeCustomizedAudience(self, request):
|
53
|
-
"""流量反欺诈-流量验准定制版
|
54
|
-
|
55
|
-
:param request: Request instance for RecognizeCustomizedAudience.
|
56
|
-
:type request: :class:`tencentcloud.taf.v20200210.models.RecognizeCustomizedAudienceRequest`
|
57
|
-
:rtype: :class:`tencentcloud.taf.v20200210.models.RecognizeCustomizedAudienceResponse`
|
58
|
-
|
59
|
-
"""
|
60
|
-
try:
|
61
|
-
params = request._serialize()
|
62
|
-
headers = request.headers
|
63
|
-
body = self.call("RecognizeCustomizedAudience", params, headers=headers)
|
64
|
-
response = json.loads(body)
|
65
|
-
model = models.RecognizeCustomizedAudienceResponse()
|
66
|
-
model._deserialize(response["Response"])
|
67
|
-
return model
|
68
|
-
except Exception as e:
|
69
|
-
if isinstance(e, TencentCloudSDKException):
|
70
|
-
raise
|
71
|
-
else:
|
72
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
|
-
|
74
|
-
|
75
|
-
def RecognizePreciseTargetAudience(self, request):
|
76
|
-
"""流量反欺诈-流量验准高级版
|
77
|
-
|
78
|
-
:param request: Request instance for RecognizePreciseTargetAudience.
|
79
|
-
:type request: :class:`tencentcloud.taf.v20200210.models.RecognizePreciseTargetAudienceRequest`
|
80
|
-
:rtype: :class:`tencentcloud.taf.v20200210.models.RecognizePreciseTargetAudienceResponse`
|
81
|
-
|
82
|
-
"""
|
83
|
-
try:
|
84
|
-
params = request._serialize()
|
85
|
-
headers = request.headers
|
86
|
-
body = self.call("RecognizePreciseTargetAudience", params, headers=headers)
|
87
|
-
response = json.loads(body)
|
88
|
-
model = models.RecognizePreciseTargetAudienceResponse()
|
89
|
-
model._deserialize(response["Response"])
|
90
|
-
return model
|
91
|
-
except Exception as e:
|
92
|
-
if isinstance(e, TencentCloudSDKException):
|
93
|
-
raise
|
94
|
-
else:
|
95
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
96
|
-
|
97
|
-
|
98
|
-
def RecognizeTargetAudience(self, request):
|
99
|
-
"""流量反欺诈-流量验准
|
100
|
-
|
101
|
-
:param request: Request instance for RecognizeTargetAudience.
|
102
|
-
:type request: :class:`tencentcloud.taf.v20200210.models.RecognizeTargetAudienceRequest`
|
103
|
-
:rtype: :class:`tencentcloud.taf.v20200210.models.RecognizeTargetAudienceResponse`
|
104
|
-
|
105
|
-
"""
|
106
|
-
try:
|
107
|
-
params = request._serialize()
|
108
|
-
headers = request.headers
|
109
|
-
body = self.call("RecognizeTargetAudience", params, headers=headers)
|
110
|
-
response = json.loads(body)
|
111
|
-
model = models.RecognizeTargetAudienceResponse()
|
112
|
-
model._deserialize(response["Response"])
|
113
|
-
return model
|
114
45
|
except Exception as e:
|
115
46
|
if isinstance(e, TencentCloudSDKException):
|
116
47
|
raise
|
@@ -92,6 +92,9 @@ MISSINGPARAMETER_PARAM = 'MissingParameter.Param'
|
|
92
92
|
# 操作被拒绝。
|
93
93
|
OPERATIONDENIED = 'OperationDenied'
|
94
94
|
|
95
|
+
# 免费套餐拒绝此操作
|
96
|
+
OPERATIONDENIED_FREEPACKAGEDENIED = 'OperationDenied.FreePackageDenied'
|
97
|
+
|
95
98
|
# 操作失败:资源被冻结。
|
96
99
|
OPERATIONDENIED_RESOURCEFROZEN = 'OperationDenied.ResourceFrozen'
|
97
100
|
|
@@ -9100,6 +9100,7 @@ class CreatePrefetchTaskRequest(AbstractModel):
|
|
9100
9100
|
def __init__(self):
|
9101
9101
|
r"""
|
9102
9102
|
:param _ZoneId: 站点 ID。
|
9103
|
+
若您希望快速提交不同站点下的 Targets Url,可以将其填写为 *,但前提是调用该 API 的账号必须具备主账号下全部站点资源的权限。
|
9103
9104
|
:type ZoneId: str
|
9104
9105
|
:param _Targets: 要预热的资源列表,每个元素格式类似如下:
|
9105
9106
|
http://www.example.com/example.txt。参数值当前必填。
|
@@ -9118,6 +9119,7 @@ http://www.example.com/example.txt。参数值当前必填。
|
|
9118
9119
|
@property
|
9119
9120
|
def ZoneId(self):
|
9120
9121
|
"""站点 ID。
|
9122
|
+
若您希望快速提交不同站点下的 Targets Url,可以将其填写为 *,但前提是调用该 API 的账号必须具备主账号下全部站点资源的权限。
|
9121
9123
|
:rtype: str
|
9122
9124
|
"""
|
9123
9125
|
return self._ZoneId
|
@@ -9141,6 +9143,8 @@ http://www.example.com/example.txt。参数值当前必填。
|
|
9141
9143
|
|
9142
9144
|
@property
|
9143
9145
|
def EncodeUrl(self):
|
9146
|
+
warnings.warn("parameter `EncodeUrl` is deprecated", DeprecationWarning)
|
9147
|
+
|
9144
9148
|
"""是否对url进行encode,若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
|
9145
9149
|
:rtype: bool
|
9146
9150
|
"""
|
@@ -9148,6 +9152,8 @@ http://www.example.com/example.txt。参数值当前必填。
|
|
9148
9152
|
|
9149
9153
|
@EncodeUrl.setter
|
9150
9154
|
def EncodeUrl(self, EncodeUrl):
|
9155
|
+
warnings.warn("parameter `EncodeUrl` is deprecated", DeprecationWarning)
|
9156
|
+
|
9151
9157
|
self._EncodeUrl = EncodeUrl
|
9152
9158
|
|
9153
9159
|
@property
|
@@ -13361,6 +13361,8 @@ class Pod(AbstractModel):
|
|
13361
13361
|
:param _CrossTenantENIInfo: 容器调用信息
|
13362
13362
|
注意:此字段可能返回 null,表示取不到有效值。
|
13363
13363
|
:type CrossTenantENIInfo: :class:`tencentcloud.tione.v20211111.models.CrossTenantENIInfo`
|
13364
|
+
:param _Status: 实例的状态信息
|
13365
|
+
:type Status: str
|
13364
13366
|
"""
|
13365
13367
|
self._Name = None
|
13366
13368
|
self._Uid = None
|
@@ -13371,6 +13373,7 @@ class Pod(AbstractModel):
|
|
13371
13373
|
self._Containers = None
|
13372
13374
|
self._ContainerInfos = None
|
13373
13375
|
self._CrossTenantENIInfo = None
|
13376
|
+
self._Status = None
|
13374
13377
|
|
13375
13378
|
@property
|
13376
13379
|
def Name(self):
|
@@ -13446,6 +13449,8 @@ class Pod(AbstractModel):
|
|
13446
13449
|
|
13447
13450
|
@property
|
13448
13451
|
def Containers(self):
|
13452
|
+
warnings.warn("parameter `Containers` is deprecated", DeprecationWarning)
|
13453
|
+
|
13449
13454
|
"""容器列表
|
13450
13455
|
注意:此字段可能返回 null,表示取不到有效值。
|
13451
13456
|
:rtype: :class:`tencentcloud.tione.v20211111.models.Container`
|
@@ -13454,6 +13459,8 @@ class Pod(AbstractModel):
|
|
13454
13459
|
|
13455
13460
|
@Containers.setter
|
13456
13461
|
def Containers(self, Containers):
|
13462
|
+
warnings.warn("parameter `Containers` is deprecated", DeprecationWarning)
|
13463
|
+
|
13457
13464
|
self._Containers = Containers
|
13458
13465
|
|
13459
13466
|
@property
|
@@ -13480,6 +13487,17 @@ class Pod(AbstractModel):
|
|
13480
13487
|
def CrossTenantENIInfo(self, CrossTenantENIInfo):
|
13481
13488
|
self._CrossTenantENIInfo = CrossTenantENIInfo
|
13482
13489
|
|
13490
|
+
@property
|
13491
|
+
def Status(self):
|
13492
|
+
"""实例的状态信息
|
13493
|
+
:rtype: str
|
13494
|
+
"""
|
13495
|
+
return self._Status
|
13496
|
+
|
13497
|
+
@Status.setter
|
13498
|
+
def Status(self, Status):
|
13499
|
+
self._Status = Status
|
13500
|
+
|
13483
13501
|
|
13484
13502
|
def _deserialize(self, params):
|
13485
13503
|
self._Name = params.get("Name")
|
@@ -13500,6 +13518,7 @@ class Pod(AbstractModel):
|
|
13500
13518
|
if params.get("CrossTenantENIInfo") is not None:
|
13501
13519
|
self._CrossTenantENIInfo = CrossTenantENIInfo()
|
13502
13520
|
self._CrossTenantENIInfo._deserialize(params.get("CrossTenantENIInfo"))
|
13521
|
+
self._Status = params.get("Status")
|
13503
13522
|
memeber_set = set(params.keys())
|
13504
13523
|
for name, value in vars(self).items():
|
13505
13524
|
property_name = name[1:]
|