tencentcloud-sdk-python-dlc 3.0.942__tar.gz → 3.0.952__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.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/setup.py +1 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud/dlc/v20210125/models.py +332 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +1 -0
- tencentcloud-sdk-python-dlc-3.0.952/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/README.rst +0 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dlc-3.0.942 → tencentcloud-sdk-python-dlc-3.0.952}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
|
@@ -8,6 +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.0.952"],
|
|
11
12
|
version=tencentcloud.__version__,
|
|
12
13
|
description='Tencent Cloud Dlc SDK for Python',
|
|
13
14
|
long_description=open('README.rst').read(),
|
|
@@ -1590,6 +1590,29 @@ class DlcClient(AbstractClient):
|
|
|
1590
1590
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1591
1591
|
|
|
1592
1592
|
|
|
1593
|
+
def DescribeUserRoles(self, request):
|
|
1594
|
+
"""列举用户角色信息
|
|
1595
|
+
|
|
1596
|
+
:param request: Request instance for DescribeUserRoles.
|
|
1597
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeUserRolesRequest`
|
|
1598
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeUserRolesResponse`
|
|
1599
|
+
|
|
1600
|
+
"""
|
|
1601
|
+
try:
|
|
1602
|
+
params = request._serialize()
|
|
1603
|
+
headers = request.headers
|
|
1604
|
+
body = self.call("DescribeUserRoles", params, headers=headers)
|
|
1605
|
+
response = json.loads(body)
|
|
1606
|
+
model = models.DescribeUserRolesResponse()
|
|
1607
|
+
model._deserialize(response["Response"])
|
|
1608
|
+
return model
|
|
1609
|
+
except Exception as e:
|
|
1610
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1611
|
+
raise
|
|
1612
|
+
else:
|
|
1613
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1614
|
+
|
|
1615
|
+
|
|
1593
1616
|
def DescribeUsers(self, request):
|
|
1594
1617
|
"""获取用户列表信息
|
|
1595
1618
|
|
|
@@ -1877,6 +1877,53 @@ class CommonMetrics(AbstractModel):
|
|
|
1877
1877
|
|
|
1878
1878
|
|
|
1879
1879
|
|
|
1880
|
+
class CosPermission(AbstractModel):
|
|
1881
|
+
"""cos权限描述
|
|
1882
|
+
|
|
1883
|
+
"""
|
|
1884
|
+
|
|
1885
|
+
def __init__(self):
|
|
1886
|
+
r"""
|
|
1887
|
+
:param _CosPath: cos路径
|
|
1888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1889
|
+
:type CosPath: str
|
|
1890
|
+
:param _Permissions: 权限【"read","write"】
|
|
1891
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1892
|
+
:type Permissions: list of str
|
|
1893
|
+
"""
|
|
1894
|
+
self._CosPath = None
|
|
1895
|
+
self._Permissions = None
|
|
1896
|
+
|
|
1897
|
+
@property
|
|
1898
|
+
def CosPath(self):
|
|
1899
|
+
return self._CosPath
|
|
1900
|
+
|
|
1901
|
+
@CosPath.setter
|
|
1902
|
+
def CosPath(self, CosPath):
|
|
1903
|
+
self._CosPath = CosPath
|
|
1904
|
+
|
|
1905
|
+
@property
|
|
1906
|
+
def Permissions(self):
|
|
1907
|
+
return self._Permissions
|
|
1908
|
+
|
|
1909
|
+
@Permissions.setter
|
|
1910
|
+
def Permissions(self, Permissions):
|
|
1911
|
+
self._Permissions = Permissions
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
def _deserialize(self, params):
|
|
1915
|
+
self._CosPath = params.get("CosPath")
|
|
1916
|
+
self._Permissions = params.get("Permissions")
|
|
1917
|
+
memeber_set = set(params.keys())
|
|
1918
|
+
for name, value in vars(self).items():
|
|
1919
|
+
property_name = name[1:]
|
|
1920
|
+
if property_name in memeber_set:
|
|
1921
|
+
memeber_set.remove(property_name)
|
|
1922
|
+
if len(memeber_set) > 0:
|
|
1923
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
|
|
1880
1927
|
class CreateDMSDatabaseRequest(AbstractModel):
|
|
1881
1928
|
"""CreateDMSDatabase请求参数结构体
|
|
1882
1929
|
|
|
@@ -11149,6 +11196,141 @@ class DescribeTasksResponse(AbstractModel):
|
|
|
11149
11196
|
self._RequestId = params.get("RequestId")
|
|
11150
11197
|
|
|
11151
11198
|
|
|
11199
|
+
class DescribeUserRolesRequest(AbstractModel):
|
|
11200
|
+
"""DescribeUserRoles请求参数结构体
|
|
11201
|
+
|
|
11202
|
+
"""
|
|
11203
|
+
|
|
11204
|
+
def __init__(self):
|
|
11205
|
+
r"""
|
|
11206
|
+
:param _Limit: 列举的数量限制
|
|
11207
|
+
:type Limit: int
|
|
11208
|
+
:param _Offset: 列举的偏移位置
|
|
11209
|
+
:type Offset: int
|
|
11210
|
+
:param _Fuzzy: 按照arn模糊列举
|
|
11211
|
+
:type Fuzzy: str
|
|
11212
|
+
:param _SortBy: 返回结果按照该字段排序
|
|
11213
|
+
:type SortBy: str
|
|
11214
|
+
:param _Sorting: 正序或者倒序,例如:desc
|
|
11215
|
+
:type Sorting: str
|
|
11216
|
+
"""
|
|
11217
|
+
self._Limit = None
|
|
11218
|
+
self._Offset = None
|
|
11219
|
+
self._Fuzzy = None
|
|
11220
|
+
self._SortBy = None
|
|
11221
|
+
self._Sorting = None
|
|
11222
|
+
|
|
11223
|
+
@property
|
|
11224
|
+
def Limit(self):
|
|
11225
|
+
return self._Limit
|
|
11226
|
+
|
|
11227
|
+
@Limit.setter
|
|
11228
|
+
def Limit(self, Limit):
|
|
11229
|
+
self._Limit = Limit
|
|
11230
|
+
|
|
11231
|
+
@property
|
|
11232
|
+
def Offset(self):
|
|
11233
|
+
return self._Offset
|
|
11234
|
+
|
|
11235
|
+
@Offset.setter
|
|
11236
|
+
def Offset(self, Offset):
|
|
11237
|
+
self._Offset = Offset
|
|
11238
|
+
|
|
11239
|
+
@property
|
|
11240
|
+
def Fuzzy(self):
|
|
11241
|
+
return self._Fuzzy
|
|
11242
|
+
|
|
11243
|
+
@Fuzzy.setter
|
|
11244
|
+
def Fuzzy(self, Fuzzy):
|
|
11245
|
+
self._Fuzzy = Fuzzy
|
|
11246
|
+
|
|
11247
|
+
@property
|
|
11248
|
+
def SortBy(self):
|
|
11249
|
+
return self._SortBy
|
|
11250
|
+
|
|
11251
|
+
@SortBy.setter
|
|
11252
|
+
def SortBy(self, SortBy):
|
|
11253
|
+
self._SortBy = SortBy
|
|
11254
|
+
|
|
11255
|
+
@property
|
|
11256
|
+
def Sorting(self):
|
|
11257
|
+
return self._Sorting
|
|
11258
|
+
|
|
11259
|
+
@Sorting.setter
|
|
11260
|
+
def Sorting(self, Sorting):
|
|
11261
|
+
self._Sorting = Sorting
|
|
11262
|
+
|
|
11263
|
+
|
|
11264
|
+
def _deserialize(self, params):
|
|
11265
|
+
self._Limit = params.get("Limit")
|
|
11266
|
+
self._Offset = params.get("Offset")
|
|
11267
|
+
self._Fuzzy = params.get("Fuzzy")
|
|
11268
|
+
self._SortBy = params.get("SortBy")
|
|
11269
|
+
self._Sorting = params.get("Sorting")
|
|
11270
|
+
memeber_set = set(params.keys())
|
|
11271
|
+
for name, value in vars(self).items():
|
|
11272
|
+
property_name = name[1:]
|
|
11273
|
+
if property_name in memeber_set:
|
|
11274
|
+
memeber_set.remove(property_name)
|
|
11275
|
+
if len(memeber_set) > 0:
|
|
11276
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11277
|
+
|
|
11278
|
+
|
|
11279
|
+
|
|
11280
|
+
class DescribeUserRolesResponse(AbstractModel):
|
|
11281
|
+
"""DescribeUserRoles返回参数结构体
|
|
11282
|
+
|
|
11283
|
+
"""
|
|
11284
|
+
|
|
11285
|
+
def __init__(self):
|
|
11286
|
+
r"""
|
|
11287
|
+
:param _Total: 符合列举条件的总数量
|
|
11288
|
+
:type Total: int
|
|
11289
|
+
:param _UserRoles: 用户角色信息
|
|
11290
|
+
:type UserRoles: list of UserRole
|
|
11291
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11292
|
+
:type RequestId: str
|
|
11293
|
+
"""
|
|
11294
|
+
self._Total = None
|
|
11295
|
+
self._UserRoles = None
|
|
11296
|
+
self._RequestId = None
|
|
11297
|
+
|
|
11298
|
+
@property
|
|
11299
|
+
def Total(self):
|
|
11300
|
+
return self._Total
|
|
11301
|
+
|
|
11302
|
+
@Total.setter
|
|
11303
|
+
def Total(self, Total):
|
|
11304
|
+
self._Total = Total
|
|
11305
|
+
|
|
11306
|
+
@property
|
|
11307
|
+
def UserRoles(self):
|
|
11308
|
+
return self._UserRoles
|
|
11309
|
+
|
|
11310
|
+
@UserRoles.setter
|
|
11311
|
+
def UserRoles(self, UserRoles):
|
|
11312
|
+
self._UserRoles = UserRoles
|
|
11313
|
+
|
|
11314
|
+
@property
|
|
11315
|
+
def RequestId(self):
|
|
11316
|
+
return self._RequestId
|
|
11317
|
+
|
|
11318
|
+
@RequestId.setter
|
|
11319
|
+
def RequestId(self, RequestId):
|
|
11320
|
+
self._RequestId = RequestId
|
|
11321
|
+
|
|
11322
|
+
|
|
11323
|
+
def _deserialize(self, params):
|
|
11324
|
+
self._Total = params.get("Total")
|
|
11325
|
+
if params.get("UserRoles") is not None:
|
|
11326
|
+
self._UserRoles = []
|
|
11327
|
+
for item in params.get("UserRoles"):
|
|
11328
|
+
obj = UserRole()
|
|
11329
|
+
obj._deserialize(item)
|
|
11330
|
+
self._UserRoles.append(obj)
|
|
11331
|
+
self._RequestId = params.get("RequestId")
|
|
11332
|
+
|
|
11333
|
+
|
|
11152
11334
|
class DescribeUsersRequest(AbstractModel):
|
|
11153
11335
|
"""DescribeUsers请求参数结构体
|
|
11154
11336
|
|
|
@@ -18621,6 +18803,156 @@ class UserMessage(AbstractModel):
|
|
|
18621
18803
|
|
|
18622
18804
|
|
|
18623
18805
|
|
|
18806
|
+
class UserRole(AbstractModel):
|
|
18807
|
+
"""用户角色
|
|
18808
|
+
|
|
18809
|
+
"""
|
|
18810
|
+
|
|
18811
|
+
def __init__(self):
|
|
18812
|
+
r"""
|
|
18813
|
+
:param _RoleId: 角色ID
|
|
18814
|
+
:type RoleId: int
|
|
18815
|
+
:param _AppId: 用户app ID
|
|
18816
|
+
:type AppId: str
|
|
18817
|
+
:param _Uin: 用户ID
|
|
18818
|
+
:type Uin: str
|
|
18819
|
+
:param _Arn: 角色权限
|
|
18820
|
+
:type Arn: str
|
|
18821
|
+
:param _ModifyTime: 最近修改时间戳
|
|
18822
|
+
:type ModifyTime: int
|
|
18823
|
+
:param _Desc: 角色描述信息
|
|
18824
|
+
:type Desc: str
|
|
18825
|
+
:param _RoleName: 角色名称
|
|
18826
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18827
|
+
:type RoleName: str
|
|
18828
|
+
:param _Creator: 创建者UIN
|
|
18829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18830
|
+
:type Creator: str
|
|
18831
|
+
:param _CosPermissionList: cos授权路径列表
|
|
18832
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18833
|
+
:type CosPermissionList: list of CosPermission
|
|
18834
|
+
:param _PermissionJson: cam策略json
|
|
18835
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18836
|
+
:type PermissionJson: str
|
|
18837
|
+
"""
|
|
18838
|
+
self._RoleId = None
|
|
18839
|
+
self._AppId = None
|
|
18840
|
+
self._Uin = None
|
|
18841
|
+
self._Arn = None
|
|
18842
|
+
self._ModifyTime = None
|
|
18843
|
+
self._Desc = None
|
|
18844
|
+
self._RoleName = None
|
|
18845
|
+
self._Creator = None
|
|
18846
|
+
self._CosPermissionList = None
|
|
18847
|
+
self._PermissionJson = None
|
|
18848
|
+
|
|
18849
|
+
@property
|
|
18850
|
+
def RoleId(self):
|
|
18851
|
+
return self._RoleId
|
|
18852
|
+
|
|
18853
|
+
@RoleId.setter
|
|
18854
|
+
def RoleId(self, RoleId):
|
|
18855
|
+
self._RoleId = RoleId
|
|
18856
|
+
|
|
18857
|
+
@property
|
|
18858
|
+
def AppId(self):
|
|
18859
|
+
return self._AppId
|
|
18860
|
+
|
|
18861
|
+
@AppId.setter
|
|
18862
|
+
def AppId(self, AppId):
|
|
18863
|
+
self._AppId = AppId
|
|
18864
|
+
|
|
18865
|
+
@property
|
|
18866
|
+
def Uin(self):
|
|
18867
|
+
return self._Uin
|
|
18868
|
+
|
|
18869
|
+
@Uin.setter
|
|
18870
|
+
def Uin(self, Uin):
|
|
18871
|
+
self._Uin = Uin
|
|
18872
|
+
|
|
18873
|
+
@property
|
|
18874
|
+
def Arn(self):
|
|
18875
|
+
return self._Arn
|
|
18876
|
+
|
|
18877
|
+
@Arn.setter
|
|
18878
|
+
def Arn(self, Arn):
|
|
18879
|
+
self._Arn = Arn
|
|
18880
|
+
|
|
18881
|
+
@property
|
|
18882
|
+
def ModifyTime(self):
|
|
18883
|
+
return self._ModifyTime
|
|
18884
|
+
|
|
18885
|
+
@ModifyTime.setter
|
|
18886
|
+
def ModifyTime(self, ModifyTime):
|
|
18887
|
+
self._ModifyTime = ModifyTime
|
|
18888
|
+
|
|
18889
|
+
@property
|
|
18890
|
+
def Desc(self):
|
|
18891
|
+
return self._Desc
|
|
18892
|
+
|
|
18893
|
+
@Desc.setter
|
|
18894
|
+
def Desc(self, Desc):
|
|
18895
|
+
self._Desc = Desc
|
|
18896
|
+
|
|
18897
|
+
@property
|
|
18898
|
+
def RoleName(self):
|
|
18899
|
+
return self._RoleName
|
|
18900
|
+
|
|
18901
|
+
@RoleName.setter
|
|
18902
|
+
def RoleName(self, RoleName):
|
|
18903
|
+
self._RoleName = RoleName
|
|
18904
|
+
|
|
18905
|
+
@property
|
|
18906
|
+
def Creator(self):
|
|
18907
|
+
return self._Creator
|
|
18908
|
+
|
|
18909
|
+
@Creator.setter
|
|
18910
|
+
def Creator(self, Creator):
|
|
18911
|
+
self._Creator = Creator
|
|
18912
|
+
|
|
18913
|
+
@property
|
|
18914
|
+
def CosPermissionList(self):
|
|
18915
|
+
return self._CosPermissionList
|
|
18916
|
+
|
|
18917
|
+
@CosPermissionList.setter
|
|
18918
|
+
def CosPermissionList(self, CosPermissionList):
|
|
18919
|
+
self._CosPermissionList = CosPermissionList
|
|
18920
|
+
|
|
18921
|
+
@property
|
|
18922
|
+
def PermissionJson(self):
|
|
18923
|
+
return self._PermissionJson
|
|
18924
|
+
|
|
18925
|
+
@PermissionJson.setter
|
|
18926
|
+
def PermissionJson(self, PermissionJson):
|
|
18927
|
+
self._PermissionJson = PermissionJson
|
|
18928
|
+
|
|
18929
|
+
|
|
18930
|
+
def _deserialize(self, params):
|
|
18931
|
+
self._RoleId = params.get("RoleId")
|
|
18932
|
+
self._AppId = params.get("AppId")
|
|
18933
|
+
self._Uin = params.get("Uin")
|
|
18934
|
+
self._Arn = params.get("Arn")
|
|
18935
|
+
self._ModifyTime = params.get("ModifyTime")
|
|
18936
|
+
self._Desc = params.get("Desc")
|
|
18937
|
+
self._RoleName = params.get("RoleName")
|
|
18938
|
+
self._Creator = params.get("Creator")
|
|
18939
|
+
if params.get("CosPermissionList") is not None:
|
|
18940
|
+
self._CosPermissionList = []
|
|
18941
|
+
for item in params.get("CosPermissionList"):
|
|
18942
|
+
obj = CosPermission()
|
|
18943
|
+
obj._deserialize(item)
|
|
18944
|
+
self._CosPermissionList.append(obj)
|
|
18945
|
+
self._PermissionJson = params.get("PermissionJson")
|
|
18946
|
+
memeber_set = set(params.keys())
|
|
18947
|
+
for name, value in vars(self).items():
|
|
18948
|
+
property_name = name[1:]
|
|
18949
|
+
if property_name in memeber_set:
|
|
18950
|
+
memeber_set.remove(property_name)
|
|
18951
|
+
if len(memeber_set) > 0:
|
|
18952
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18953
|
+
|
|
18954
|
+
|
|
18955
|
+
|
|
18624
18956
|
class ViewBaseInfo(AbstractModel):
|
|
18625
18957
|
"""视图基本配置信息
|
|
18626
18958
|
|
|
@@ -10,4 +10,5 @@ tencentcloud/dlc/v20210125/models.py
|
|
|
10
10
|
tencentcloud_sdk_python_dlc.egg-info/PKG-INFO
|
|
11
11
|
tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt
|
|
12
12
|
tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt
|
|
13
|
+
tencentcloud_sdk_python_dlc.egg-info/requires.txt
|
|
13
14
|
tencentcloud_sdk_python_dlc.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.952
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|