tencentcloud-sdk-python-organization 3.1.177__tar.gz → 3.1.189__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_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/setup.py +1 -1
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/errorcodes.py +6 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/models.py +129 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/organization_client.py +23 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/organization_client_async.py +18 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_organization-3.1.189/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_organization-3.1.177/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/README.rst +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/setup.cfg +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/__init__.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/__init__.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/models.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/organization_client.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20181225/organization_client_async.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud/organization/v20210331/__init__.py +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_organization-3.1.177 → tencentcloud_sdk_python_organization-3.1.189}/tencentcloud_sdk_python_organization.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-organization
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.189
|
|
4
4
|
Summary: Tencent Cloud Organization 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.189
|
|
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-organization',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Organization SDK for Python',
|
|
@@ -290,6 +290,9 @@ FAILEDOPERATION_PARTNERMANAGEMENTERR = 'FailedOperation.PartnerManagementErr'
|
|
|
290
290
|
# 代付者不合法。
|
|
291
291
|
FAILEDOPERATION_PAYUINILLEGAL = 'FailedOperation.PayUinIllegal'
|
|
292
292
|
|
|
293
|
+
# 申请单非待审核,不可重复审批
|
|
294
|
+
FAILEDOPERATION_PERMISSIONAPPLYORDERSTATUSINVALID = 'FailedOperation.PermissionApplyOrderStatusInvalid'
|
|
295
|
+
|
|
293
296
|
# 操作权限被拒绝,OwnerUin不一致
|
|
294
297
|
FAILEDOPERATION_PERMISSIONDENIED = 'FailedOperation.PermissionDenied'
|
|
295
298
|
|
|
@@ -809,6 +812,9 @@ RESOURCENOTFOUND_ORGANIZATIONSERVICEASSIGNNOTEXIST = 'ResourceNotFound.Organizat
|
|
|
809
812
|
# 集团服务不存在。
|
|
810
813
|
RESOURCENOTFOUND_ORGANIZATIONSERVICENOTEXIST = 'ResourceNotFound.OrganizationServiceNotExist'
|
|
811
814
|
|
|
815
|
+
# 权限申请单不存在
|
|
816
|
+
RESOURCENOTFOUND_PERMISSIONAPPLYORDERNOTFOUND = 'ResourceNotFound.PermissionApplyOrderNotFound'
|
|
817
|
+
|
|
812
818
|
# 策略不存在。
|
|
813
819
|
RESOURCENOTFOUND_POLICYIDNOTFOUND = 'ResourceNotFound.PolicyIdNotFound'
|
|
814
820
|
|
|
@@ -1222,6 +1222,135 @@ class AttachPolicyResponse(AbstractModel):
|
|
|
1222
1222
|
self._RequestId = params.get("RequestId")
|
|
1223
1223
|
|
|
1224
1224
|
|
|
1225
|
+
class AuditPermissionApplyOrderRequest(AbstractModel):
|
|
1226
|
+
r"""AuditPermissionApplyOrder请求参数结构体
|
|
1227
|
+
|
|
1228
|
+
"""
|
|
1229
|
+
|
|
1230
|
+
def __init__(self):
|
|
1231
|
+
r"""
|
|
1232
|
+
:param _ZoneId: <p>空间 ID</p>
|
|
1233
|
+
:type ZoneId: str
|
|
1234
|
+
:param _ApplyId: <p>申请单 ID</p>
|
|
1235
|
+
:type ApplyId: str
|
|
1236
|
+
:param _AuditResult: <p>审批结果</p><p>枚举值:</p><ul><li>Approve: 通过</li><li>Reject: 拒绝</li></ul>
|
|
1237
|
+
:type AuditResult: str
|
|
1238
|
+
:param _AuditOpinion: <p>审批意见</p>
|
|
1239
|
+
:type AuditOpinion: str
|
|
1240
|
+
"""
|
|
1241
|
+
self._ZoneId = None
|
|
1242
|
+
self._ApplyId = None
|
|
1243
|
+
self._AuditResult = None
|
|
1244
|
+
self._AuditOpinion = None
|
|
1245
|
+
|
|
1246
|
+
@property
|
|
1247
|
+
def ZoneId(self):
|
|
1248
|
+
r"""<p>空间 ID</p>
|
|
1249
|
+
:rtype: str
|
|
1250
|
+
"""
|
|
1251
|
+
return self._ZoneId
|
|
1252
|
+
|
|
1253
|
+
@ZoneId.setter
|
|
1254
|
+
def ZoneId(self, ZoneId):
|
|
1255
|
+
self._ZoneId = ZoneId
|
|
1256
|
+
|
|
1257
|
+
@property
|
|
1258
|
+
def ApplyId(self):
|
|
1259
|
+
r"""<p>申请单 ID</p>
|
|
1260
|
+
:rtype: str
|
|
1261
|
+
"""
|
|
1262
|
+
return self._ApplyId
|
|
1263
|
+
|
|
1264
|
+
@ApplyId.setter
|
|
1265
|
+
def ApplyId(self, ApplyId):
|
|
1266
|
+
self._ApplyId = ApplyId
|
|
1267
|
+
|
|
1268
|
+
@property
|
|
1269
|
+
def AuditResult(self):
|
|
1270
|
+
r"""<p>审批结果</p><p>枚举值:</p><ul><li>Approve: 通过</li><li>Reject: 拒绝</li></ul>
|
|
1271
|
+
:rtype: str
|
|
1272
|
+
"""
|
|
1273
|
+
return self._AuditResult
|
|
1274
|
+
|
|
1275
|
+
@AuditResult.setter
|
|
1276
|
+
def AuditResult(self, AuditResult):
|
|
1277
|
+
self._AuditResult = AuditResult
|
|
1278
|
+
|
|
1279
|
+
@property
|
|
1280
|
+
def AuditOpinion(self):
|
|
1281
|
+
r"""<p>审批意见</p>
|
|
1282
|
+
:rtype: str
|
|
1283
|
+
"""
|
|
1284
|
+
return self._AuditOpinion
|
|
1285
|
+
|
|
1286
|
+
@AuditOpinion.setter
|
|
1287
|
+
def AuditOpinion(self, AuditOpinion):
|
|
1288
|
+
self._AuditOpinion = AuditOpinion
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
def _deserialize(self, params):
|
|
1292
|
+
self._ZoneId = params.get("ZoneId")
|
|
1293
|
+
self._ApplyId = params.get("ApplyId")
|
|
1294
|
+
self._AuditResult = params.get("AuditResult")
|
|
1295
|
+
self._AuditOpinion = params.get("AuditOpinion")
|
|
1296
|
+
memeber_set = set(params.keys())
|
|
1297
|
+
for name, value in vars(self).items():
|
|
1298
|
+
property_name = name[1:]
|
|
1299
|
+
if property_name in memeber_set:
|
|
1300
|
+
memeber_set.remove(property_name)
|
|
1301
|
+
if len(memeber_set) > 0:
|
|
1302
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
class AuditPermissionApplyOrderResponse(AbstractModel):
|
|
1307
|
+
r"""AuditPermissionApplyOrder返回参数结构体
|
|
1308
|
+
|
|
1309
|
+
"""
|
|
1310
|
+
|
|
1311
|
+
def __init__(self):
|
|
1312
|
+
r"""
|
|
1313
|
+
:param _Tasks: <p>同步任务列表</p>
|
|
1314
|
+
:type Tasks: list of TaskInfo
|
|
1315
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1316
|
+
:type RequestId: str
|
|
1317
|
+
"""
|
|
1318
|
+
self._Tasks = None
|
|
1319
|
+
self._RequestId = None
|
|
1320
|
+
|
|
1321
|
+
@property
|
|
1322
|
+
def Tasks(self):
|
|
1323
|
+
r"""<p>同步任务列表</p>
|
|
1324
|
+
:rtype: list of TaskInfo
|
|
1325
|
+
"""
|
|
1326
|
+
return self._Tasks
|
|
1327
|
+
|
|
1328
|
+
@Tasks.setter
|
|
1329
|
+
def Tasks(self, Tasks):
|
|
1330
|
+
self._Tasks = Tasks
|
|
1331
|
+
|
|
1332
|
+
@property
|
|
1333
|
+
def RequestId(self):
|
|
1334
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1335
|
+
:rtype: str
|
|
1336
|
+
"""
|
|
1337
|
+
return self._RequestId
|
|
1338
|
+
|
|
1339
|
+
@RequestId.setter
|
|
1340
|
+
def RequestId(self, RequestId):
|
|
1341
|
+
self._RequestId = RequestId
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
def _deserialize(self, params):
|
|
1345
|
+
if params.get("Tasks") is not None:
|
|
1346
|
+
self._Tasks = []
|
|
1347
|
+
for item in params.get("Tasks"):
|
|
1348
|
+
obj = TaskInfo()
|
|
1349
|
+
obj._deserialize(item)
|
|
1350
|
+
self._Tasks.append(obj)
|
|
1351
|
+
self._RequestId = params.get("RequestId")
|
|
1352
|
+
|
|
1353
|
+
|
|
1225
1354
|
class AuthNode(AbstractModel):
|
|
1226
1355
|
r"""互信主体主要信息
|
|
1227
1356
|
|
|
@@ -279,6 +279,29 @@ class OrganizationClient(AbstractClient):
|
|
|
279
279
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
280
|
|
|
281
281
|
|
|
282
|
+
def AuditPermissionApplyOrder(self, request):
|
|
283
|
+
r"""审批用户权限申请
|
|
284
|
+
|
|
285
|
+
:param request: Request instance for AuditPermissionApplyOrder.
|
|
286
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.AuditPermissionApplyOrderRequest`
|
|
287
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.AuditPermissionApplyOrderResponse`
|
|
288
|
+
|
|
289
|
+
"""
|
|
290
|
+
try:
|
|
291
|
+
params = request._serialize()
|
|
292
|
+
headers = request.headers
|
|
293
|
+
body = self.call("AuditPermissionApplyOrder", params, headers=headers)
|
|
294
|
+
response = json.loads(body)
|
|
295
|
+
model = models.AuditPermissionApplyOrderResponse()
|
|
296
|
+
model._deserialize(response["Response"])
|
|
297
|
+
return model
|
|
298
|
+
except Exception as e:
|
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
|
300
|
+
raise
|
|
301
|
+
else:
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
|
+
|
|
304
|
+
|
|
282
305
|
def BindOrganizationMemberAuthAccount(self, request):
|
|
283
306
|
r"""绑定组织成员和组织管理员子账号的授权关系
|
|
284
307
|
|
|
@@ -223,6 +223,24 @@ class OrganizationClient(AbstractClient):
|
|
|
223
223
|
|
|
224
224
|
return await self.call_and_deserialize(**kwargs)
|
|
225
225
|
|
|
226
|
+
async def AuditPermissionApplyOrder(
|
|
227
|
+
self,
|
|
228
|
+
request: models.AuditPermissionApplyOrderRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.AuditPermissionApplyOrderResponse:
|
|
231
|
+
"""
|
|
232
|
+
审批用户权限申请
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "AuditPermissionApplyOrder"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.AuditPermissionApplyOrderResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
226
244
|
async def BindOrganizationMemberAuthAccount(
|
|
227
245
|
self,
|
|
228
246
|
request: models.BindOrganizationMemberAuthAccountRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-organization
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.189
|
|
4
4
|
Summary: Tencent Cloud Organization 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.189
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.189
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|