tencentcloud-sdk-python-lke 3.1.22__tar.gz → 3.1.23__tar.gz
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_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/setup.py +1 -1
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud/lke/v20231130/lke_client.py +23 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud/lke/v20231130/lke_client_async.py +18 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud/lke/v20231130/models.py +154 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud_sdk_python_lke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_lke-3.1.23/tencentcloud_sdk_python_lke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_lke-3.1.22/tencentcloud_sdk_python_lke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/README.rst +0 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/setup.cfg +0 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud/lke/__init__.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud/lke/v20231130/__init__.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud/lke/v20231130/errorcodes.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud_sdk_python_lke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud_sdk_python_lke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_lke-3.1.22 → tencentcloud_sdk_python_lke-3.1.23}/tencentcloud_sdk_python_lke.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-lke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.23
|
|
4
4
|
Summary: Tencent Cloud Lke SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.23
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-lke',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.23,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Lke SDK for Python',
|
|
@@ -26,6 +26,29 @@ class LkeClient(AbstractClient):
|
|
|
26
26
|
_service = 'lke'
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
def CallbackWorkflowToolNode(self, request):
|
|
30
|
+
r"""工作流工具节点异步回调
|
|
31
|
+
|
|
32
|
+
:param request: Request instance for CallbackWorkflowToolNode.
|
|
33
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.CallbackWorkflowToolNodeRequest`
|
|
34
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.CallbackWorkflowToolNodeResponse`
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
try:
|
|
38
|
+
params = request._serialize()
|
|
39
|
+
headers = request.headers
|
|
40
|
+
body = self.call("CallbackWorkflowToolNode", params, headers=headers)
|
|
41
|
+
response = json.loads(body)
|
|
42
|
+
model = models.CallbackWorkflowToolNodeResponse()
|
|
43
|
+
model._deserialize(response["Response"])
|
|
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
|
+
|
|
29
52
|
def CheckAttributeLabelExist(self, request):
|
|
30
53
|
r"""检查属性下的标签名是否存在
|
|
31
54
|
|
|
@@ -25,6 +25,24 @@ class LkeClient(AbstractClient):
|
|
|
25
25
|
_endpoint = 'lke.tencentcloudapi.com'
|
|
26
26
|
_service = 'lke'
|
|
27
27
|
|
|
28
|
+
async def CallbackWorkflowToolNode(
|
|
29
|
+
self,
|
|
30
|
+
request: models.CallbackWorkflowToolNodeRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.CallbackWorkflowToolNodeResponse:
|
|
33
|
+
"""
|
|
34
|
+
工作流工具节点异步回调
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "CallbackWorkflowToolNode"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.CallbackWorkflowToolNodeResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
28
46
|
async def CheckAttributeLabelExist(
|
|
29
47
|
self,
|
|
30
48
|
request: models.CheckAttributeLabelExistRequest,
|
|
@@ -5190,6 +5190,160 @@ class CallDetail(AbstractModel):
|
|
|
5190
5190
|
|
|
5191
5191
|
|
|
5192
5192
|
|
|
5193
|
+
class CallbackWorkflowToolNodeRequest(AbstractModel):
|
|
5194
|
+
r"""CallbackWorkflowToolNode请求参数结构体
|
|
5195
|
+
|
|
5196
|
+
"""
|
|
5197
|
+
|
|
5198
|
+
def __init__(self):
|
|
5199
|
+
r"""
|
|
5200
|
+
:param _CallbackToken: ADP调用外部API时,通过HTTP Header(X-ADP-Callback-Token)传递回调CallbackToken
|
|
5201
|
+
:type CallbackToken: str
|
|
5202
|
+
:param _Result: 回调结果,可选,为JSON字符串
|
|
5203
|
+
:type Result: str
|
|
5204
|
+
:param _LoginUin: 登录用户主账号(集成商模式必填)
|
|
5205
|
+
:type LoginUin: str
|
|
5206
|
+
:param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
|
5207
|
+
:type LoginSubAccountUin: str
|
|
5208
|
+
:param _AppBizId: 应用ID
|
|
5209
|
+
:type AppBizId: str
|
|
5210
|
+
"""
|
|
5211
|
+
self._CallbackToken = None
|
|
5212
|
+
self._Result = None
|
|
5213
|
+
self._LoginUin = None
|
|
5214
|
+
self._LoginSubAccountUin = None
|
|
5215
|
+
self._AppBizId = None
|
|
5216
|
+
|
|
5217
|
+
@property
|
|
5218
|
+
def CallbackToken(self):
|
|
5219
|
+
r"""ADP调用外部API时,通过HTTP Header(X-ADP-Callback-Token)传递回调CallbackToken
|
|
5220
|
+
:rtype: str
|
|
5221
|
+
"""
|
|
5222
|
+
return self._CallbackToken
|
|
5223
|
+
|
|
5224
|
+
@CallbackToken.setter
|
|
5225
|
+
def CallbackToken(self, CallbackToken):
|
|
5226
|
+
self._CallbackToken = CallbackToken
|
|
5227
|
+
|
|
5228
|
+
@property
|
|
5229
|
+
def Result(self):
|
|
5230
|
+
r"""回调结果,可选,为JSON字符串
|
|
5231
|
+
:rtype: str
|
|
5232
|
+
"""
|
|
5233
|
+
return self._Result
|
|
5234
|
+
|
|
5235
|
+
@Result.setter
|
|
5236
|
+
def Result(self, Result):
|
|
5237
|
+
self._Result = Result
|
|
5238
|
+
|
|
5239
|
+
@property
|
|
5240
|
+
def LoginUin(self):
|
|
5241
|
+
r"""登录用户主账号(集成商模式必填)
|
|
5242
|
+
:rtype: str
|
|
5243
|
+
"""
|
|
5244
|
+
return self._LoginUin
|
|
5245
|
+
|
|
5246
|
+
@LoginUin.setter
|
|
5247
|
+
def LoginUin(self, LoginUin):
|
|
5248
|
+
self._LoginUin = LoginUin
|
|
5249
|
+
|
|
5250
|
+
@property
|
|
5251
|
+
def LoginSubAccountUin(self):
|
|
5252
|
+
r"""登录用户子账号(集成商模式必填)
|
|
5253
|
+
:rtype: str
|
|
5254
|
+
"""
|
|
5255
|
+
return self._LoginSubAccountUin
|
|
5256
|
+
|
|
5257
|
+
@LoginSubAccountUin.setter
|
|
5258
|
+
def LoginSubAccountUin(self, LoginSubAccountUin):
|
|
5259
|
+
self._LoginSubAccountUin = LoginSubAccountUin
|
|
5260
|
+
|
|
5261
|
+
@property
|
|
5262
|
+
def AppBizId(self):
|
|
5263
|
+
r"""应用ID
|
|
5264
|
+
:rtype: str
|
|
5265
|
+
"""
|
|
5266
|
+
return self._AppBizId
|
|
5267
|
+
|
|
5268
|
+
@AppBizId.setter
|
|
5269
|
+
def AppBizId(self, AppBizId):
|
|
5270
|
+
self._AppBizId = AppBizId
|
|
5271
|
+
|
|
5272
|
+
|
|
5273
|
+
def _deserialize(self, params):
|
|
5274
|
+
self._CallbackToken = params.get("CallbackToken")
|
|
5275
|
+
self._Result = params.get("Result")
|
|
5276
|
+
self._LoginUin = params.get("LoginUin")
|
|
5277
|
+
self._LoginSubAccountUin = params.get("LoginSubAccountUin")
|
|
5278
|
+
self._AppBizId = params.get("AppBizId")
|
|
5279
|
+
memeber_set = set(params.keys())
|
|
5280
|
+
for name, value in vars(self).items():
|
|
5281
|
+
property_name = name[1:]
|
|
5282
|
+
if property_name in memeber_set:
|
|
5283
|
+
memeber_set.remove(property_name)
|
|
5284
|
+
if len(memeber_set) > 0:
|
|
5285
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5286
|
+
|
|
5287
|
+
|
|
5288
|
+
|
|
5289
|
+
class CallbackWorkflowToolNodeResponse(AbstractModel):
|
|
5290
|
+
r"""CallbackWorkflowToolNode返回参数结构体
|
|
5291
|
+
|
|
5292
|
+
"""
|
|
5293
|
+
|
|
5294
|
+
def __init__(self):
|
|
5295
|
+
r"""
|
|
5296
|
+
:param _Code: 状态码
|
|
5297
|
+
:type Code: int
|
|
5298
|
+
:param _Msg: 状态详情
|
|
5299
|
+
:type Msg: str
|
|
5300
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5301
|
+
:type RequestId: str
|
|
5302
|
+
"""
|
|
5303
|
+
self._Code = None
|
|
5304
|
+
self._Msg = None
|
|
5305
|
+
self._RequestId = None
|
|
5306
|
+
|
|
5307
|
+
@property
|
|
5308
|
+
def Code(self):
|
|
5309
|
+
r"""状态码
|
|
5310
|
+
:rtype: int
|
|
5311
|
+
"""
|
|
5312
|
+
return self._Code
|
|
5313
|
+
|
|
5314
|
+
@Code.setter
|
|
5315
|
+
def Code(self, Code):
|
|
5316
|
+
self._Code = Code
|
|
5317
|
+
|
|
5318
|
+
@property
|
|
5319
|
+
def Msg(self):
|
|
5320
|
+
r"""状态详情
|
|
5321
|
+
:rtype: str
|
|
5322
|
+
"""
|
|
5323
|
+
return self._Msg
|
|
5324
|
+
|
|
5325
|
+
@Msg.setter
|
|
5326
|
+
def Msg(self, Msg):
|
|
5327
|
+
self._Msg = Msg
|
|
5328
|
+
|
|
5329
|
+
@property
|
|
5330
|
+
def RequestId(self):
|
|
5331
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5332
|
+
:rtype: str
|
|
5333
|
+
"""
|
|
5334
|
+
return self._RequestId
|
|
5335
|
+
|
|
5336
|
+
@RequestId.setter
|
|
5337
|
+
def RequestId(self, RequestId):
|
|
5338
|
+
self._RequestId = RequestId
|
|
5339
|
+
|
|
5340
|
+
|
|
5341
|
+
def _deserialize(self, params):
|
|
5342
|
+
self._Code = params.get("Code")
|
|
5343
|
+
self._Msg = params.get("Msg")
|
|
5344
|
+
self._RequestId = params.get("RequestId")
|
|
5345
|
+
|
|
5346
|
+
|
|
5193
5347
|
class CateInfo(AbstractModel):
|
|
5194
5348
|
r"""分类信息
|
|
5195
5349
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-lke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.23
|
|
4
4
|
Summary: Tencent Cloud Lke SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.23
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.23
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.22
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|