tencentcloud-sdk-python-dlc 3.1.96__tar.gz → 3.1.102__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_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/setup.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud/dlc/v20210125/dlc_client_async.py +18 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud/dlc/v20210125/models.py +159 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dlc-3.1.102/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dlc-3.1.96/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/README.rst +0 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.96 → tencentcloud_sdk_python_dlc-3.1.102}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dlc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.102
|
|
4
4
|
Summary: Tencent Cloud Dlc 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.102
|
|
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-dlc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.102,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dlc SDK for Python',
|
|
@@ -1132,6 +1132,29 @@ class DlcClient(AbstractClient):
|
|
|
1132
1132
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1133
1133
|
|
|
1134
1134
|
|
|
1135
|
+
def CreateUserRole(self, request):
|
|
1136
|
+
r"""创建用户角色
|
|
1137
|
+
|
|
1138
|
+
:param request: Request instance for CreateUserRole.
|
|
1139
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.CreateUserRoleRequest`
|
|
1140
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.CreateUserRoleResponse`
|
|
1141
|
+
|
|
1142
|
+
"""
|
|
1143
|
+
try:
|
|
1144
|
+
params = request._serialize()
|
|
1145
|
+
headers = request.headers
|
|
1146
|
+
body = self.call("CreateUserRole", params, headers=headers)
|
|
1147
|
+
response = json.loads(body)
|
|
1148
|
+
model = models.CreateUserRoleResponse()
|
|
1149
|
+
model._deserialize(response["Response"])
|
|
1150
|
+
return model
|
|
1151
|
+
except Exception as e:
|
|
1152
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1153
|
+
raise
|
|
1154
|
+
else:
|
|
1155
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1156
|
+
|
|
1157
|
+
|
|
1135
1158
|
def CreateUserVpcConnection(self, request):
|
|
1136
1159
|
r"""创建用户vpc连接到指定引擎网络
|
|
1137
1160
|
|
|
@@ -891,6 +891,24 @@ class DlcClient(AbstractClient):
|
|
|
891
891
|
|
|
892
892
|
return await self.call_and_deserialize(**kwargs)
|
|
893
893
|
|
|
894
|
+
async def CreateUserRole(
|
|
895
|
+
self,
|
|
896
|
+
request: models.CreateUserRoleRequest,
|
|
897
|
+
opts: Dict = None,
|
|
898
|
+
) -> models.CreateUserRoleResponse:
|
|
899
|
+
"""
|
|
900
|
+
创建用户角色
|
|
901
|
+
"""
|
|
902
|
+
|
|
903
|
+
kwargs = {}
|
|
904
|
+
kwargs["action"] = "CreateUserRole"
|
|
905
|
+
kwargs["params"] = request._serialize()
|
|
906
|
+
kwargs["resp_cls"] = models.CreateUserRoleResponse
|
|
907
|
+
kwargs["headers"] = request.headers
|
|
908
|
+
kwargs["opts"] = opts or {}
|
|
909
|
+
|
|
910
|
+
return await self.call_and_deserialize(**kwargs)
|
|
911
|
+
|
|
894
912
|
async def CreateUserVpcConnection(
|
|
895
913
|
self,
|
|
896
914
|
request: models.CreateUserVpcConnectionRequest,
|
|
@@ -9457,6 +9457,150 @@ class CreateUserResponse(AbstractModel):
|
|
|
9457
9457
|
self._RequestId = params.get("RequestId")
|
|
9458
9458
|
|
|
9459
9459
|
|
|
9460
|
+
class CreateUserRoleRequest(AbstractModel):
|
|
9461
|
+
r"""CreateUserRole请求参数结构体
|
|
9462
|
+
|
|
9463
|
+
"""
|
|
9464
|
+
|
|
9465
|
+
def __init__(self):
|
|
9466
|
+
r"""
|
|
9467
|
+
:param _Arn: 角色Arn信息
|
|
9468
|
+
:type Arn: str
|
|
9469
|
+
:param _Desc: 角色描述信息
|
|
9470
|
+
:type Desc: str
|
|
9471
|
+
:param _Name: 角色名称
|
|
9472
|
+
:type Name: str
|
|
9473
|
+
:param _CosPermissionList: cos授权路径列表
|
|
9474
|
+
:type CosPermissionList: list of CosPermission
|
|
9475
|
+
:param _PermissionJson: cam策略json
|
|
9476
|
+
:type PermissionJson: str
|
|
9477
|
+
:param _IsDefault: 是否设置为常驻:1非常驻(默认)、2常驻(仅能设置一个常驻)
|
|
9478
|
+
:type IsDefault: int
|
|
9479
|
+
"""
|
|
9480
|
+
self._Arn = None
|
|
9481
|
+
self._Desc = None
|
|
9482
|
+
self._Name = None
|
|
9483
|
+
self._CosPermissionList = None
|
|
9484
|
+
self._PermissionJson = None
|
|
9485
|
+
self._IsDefault = None
|
|
9486
|
+
|
|
9487
|
+
@property
|
|
9488
|
+
def Arn(self):
|
|
9489
|
+
r"""角色Arn信息
|
|
9490
|
+
:rtype: str
|
|
9491
|
+
"""
|
|
9492
|
+
return self._Arn
|
|
9493
|
+
|
|
9494
|
+
@Arn.setter
|
|
9495
|
+
def Arn(self, Arn):
|
|
9496
|
+
self._Arn = Arn
|
|
9497
|
+
|
|
9498
|
+
@property
|
|
9499
|
+
def Desc(self):
|
|
9500
|
+
r"""角色描述信息
|
|
9501
|
+
:rtype: str
|
|
9502
|
+
"""
|
|
9503
|
+
return self._Desc
|
|
9504
|
+
|
|
9505
|
+
@Desc.setter
|
|
9506
|
+
def Desc(self, Desc):
|
|
9507
|
+
self._Desc = Desc
|
|
9508
|
+
|
|
9509
|
+
@property
|
|
9510
|
+
def Name(self):
|
|
9511
|
+
r"""角色名称
|
|
9512
|
+
:rtype: str
|
|
9513
|
+
"""
|
|
9514
|
+
return self._Name
|
|
9515
|
+
|
|
9516
|
+
@Name.setter
|
|
9517
|
+
def Name(self, Name):
|
|
9518
|
+
self._Name = Name
|
|
9519
|
+
|
|
9520
|
+
@property
|
|
9521
|
+
def CosPermissionList(self):
|
|
9522
|
+
r"""cos授权路径列表
|
|
9523
|
+
:rtype: list of CosPermission
|
|
9524
|
+
"""
|
|
9525
|
+
return self._CosPermissionList
|
|
9526
|
+
|
|
9527
|
+
@CosPermissionList.setter
|
|
9528
|
+
def CosPermissionList(self, CosPermissionList):
|
|
9529
|
+
self._CosPermissionList = CosPermissionList
|
|
9530
|
+
|
|
9531
|
+
@property
|
|
9532
|
+
def PermissionJson(self):
|
|
9533
|
+
r"""cam策略json
|
|
9534
|
+
:rtype: str
|
|
9535
|
+
"""
|
|
9536
|
+
return self._PermissionJson
|
|
9537
|
+
|
|
9538
|
+
@PermissionJson.setter
|
|
9539
|
+
def PermissionJson(self, PermissionJson):
|
|
9540
|
+
self._PermissionJson = PermissionJson
|
|
9541
|
+
|
|
9542
|
+
@property
|
|
9543
|
+
def IsDefault(self):
|
|
9544
|
+
r"""是否设置为常驻:1非常驻(默认)、2常驻(仅能设置一个常驻)
|
|
9545
|
+
:rtype: int
|
|
9546
|
+
"""
|
|
9547
|
+
return self._IsDefault
|
|
9548
|
+
|
|
9549
|
+
@IsDefault.setter
|
|
9550
|
+
def IsDefault(self, IsDefault):
|
|
9551
|
+
self._IsDefault = IsDefault
|
|
9552
|
+
|
|
9553
|
+
|
|
9554
|
+
def _deserialize(self, params):
|
|
9555
|
+
self._Arn = params.get("Arn")
|
|
9556
|
+
self._Desc = params.get("Desc")
|
|
9557
|
+
self._Name = params.get("Name")
|
|
9558
|
+
if params.get("CosPermissionList") is not None:
|
|
9559
|
+
self._CosPermissionList = []
|
|
9560
|
+
for item in params.get("CosPermissionList"):
|
|
9561
|
+
obj = CosPermission()
|
|
9562
|
+
obj._deserialize(item)
|
|
9563
|
+
self._CosPermissionList.append(obj)
|
|
9564
|
+
self._PermissionJson = params.get("PermissionJson")
|
|
9565
|
+
self._IsDefault = params.get("IsDefault")
|
|
9566
|
+
memeber_set = set(params.keys())
|
|
9567
|
+
for name, value in vars(self).items():
|
|
9568
|
+
property_name = name[1:]
|
|
9569
|
+
if property_name in memeber_set:
|
|
9570
|
+
memeber_set.remove(property_name)
|
|
9571
|
+
if len(memeber_set) > 0:
|
|
9572
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9573
|
+
|
|
9574
|
+
|
|
9575
|
+
|
|
9576
|
+
class CreateUserRoleResponse(AbstractModel):
|
|
9577
|
+
r"""CreateUserRole返回参数结构体
|
|
9578
|
+
|
|
9579
|
+
"""
|
|
9580
|
+
|
|
9581
|
+
def __init__(self):
|
|
9582
|
+
r"""
|
|
9583
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9584
|
+
:type RequestId: str
|
|
9585
|
+
"""
|
|
9586
|
+
self._RequestId = None
|
|
9587
|
+
|
|
9588
|
+
@property
|
|
9589
|
+
def RequestId(self):
|
|
9590
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9591
|
+
:rtype: str
|
|
9592
|
+
"""
|
|
9593
|
+
return self._RequestId
|
|
9594
|
+
|
|
9595
|
+
@RequestId.setter
|
|
9596
|
+
def RequestId(self, RequestId):
|
|
9597
|
+
self._RequestId = RequestId
|
|
9598
|
+
|
|
9599
|
+
|
|
9600
|
+
def _deserialize(self, params):
|
|
9601
|
+
self._RequestId = params.get("RequestId")
|
|
9602
|
+
|
|
9603
|
+
|
|
9460
9604
|
class CreateUserVpcConnectionRequest(AbstractModel):
|
|
9461
9605
|
r"""CreateUserVpcConnection请求参数结构体
|
|
9462
9606
|
|
|
@@ -41712,6 +41856,8 @@ class TaskFullRespInfo(AbstractModel):
|
|
|
41712
41856
|
:type ShuffleWriteBytesSum: int
|
|
41713
41857
|
:param _ActiveCore: <p>活跃core</p>
|
|
41714
41858
|
:type ActiveCore: int
|
|
41859
|
+
:param _QueueTime: <p>排队时间</p><p>单位:毫秒</p>
|
|
41860
|
+
:type QueueTime: int
|
|
41715
41861
|
"""
|
|
41716
41862
|
self._DatabaseName = None
|
|
41717
41863
|
self._DataAmount = None
|
|
@@ -41783,6 +41929,7 @@ class TaskFullRespInfo(AbstractModel):
|
|
|
41783
41929
|
self._GpuExecutorSize = None
|
|
41784
41930
|
self._ShuffleWriteBytesSum = None
|
|
41785
41931
|
self._ActiveCore = None
|
|
41932
|
+
self._QueueTime = None
|
|
41786
41933
|
|
|
41787
41934
|
@property
|
|
41788
41935
|
def DatabaseName(self):
|
|
@@ -42582,6 +42729,17 @@ class TaskFullRespInfo(AbstractModel):
|
|
|
42582
42729
|
def ActiveCore(self, ActiveCore):
|
|
42583
42730
|
self._ActiveCore = ActiveCore
|
|
42584
42731
|
|
|
42732
|
+
@property
|
|
42733
|
+
def QueueTime(self):
|
|
42734
|
+
r"""<p>排队时间</p><p>单位:毫秒</p>
|
|
42735
|
+
:rtype: int
|
|
42736
|
+
"""
|
|
42737
|
+
return self._QueueTime
|
|
42738
|
+
|
|
42739
|
+
@QueueTime.setter
|
|
42740
|
+
def QueueTime(self, QueueTime):
|
|
42741
|
+
self._QueueTime = QueueTime
|
|
42742
|
+
|
|
42585
42743
|
|
|
42586
42744
|
def _deserialize(self, params):
|
|
42587
42745
|
self._DatabaseName = params.get("DatabaseName")
|
|
@@ -42660,6 +42818,7 @@ class TaskFullRespInfo(AbstractModel):
|
|
|
42660
42818
|
self._GpuExecutorSize = params.get("GpuExecutorSize")
|
|
42661
42819
|
self._ShuffleWriteBytesSum = params.get("ShuffleWriteBytesSum")
|
|
42662
42820
|
self._ActiveCore = params.get("ActiveCore")
|
|
42821
|
+
self._QueueTime = params.get("QueueTime")
|
|
42663
42822
|
memeber_set = set(params.keys())
|
|
42664
42823
|
for name, value in vars(self).items():
|
|
42665
42824
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dlc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.102
|
|
4
4
|
Summary: Tencent Cloud Dlc 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.102
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.102
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.96
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|