tencentcloud-sdk-python 3.0.1172__py2.py3-none-any.whl → 3.0.1173__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/billing/v20180709/models.py +13 -0
- tencentcloud/cam/v20190116/models.py +38 -0
- tencentcloud/cls/v20201016/models.py +9 -1
- tencentcloud/cmq/v20190304/cmq_client.py +1 -1
- tencentcloud/cmq/v20190304/models.py +60 -60
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +159 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +243 -0
- tencentcloud/dts/v20180330/dts_client.py +0 -25
- tencentcloud/dts/v20180330/models.py +0 -146
- tencentcloud/emr/v20190103/models.py +2 -2
- tencentcloud/ess/v20201111/ess_client.py +59 -0
- tencentcloud/ess/v20201111/models.py +228 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +56 -0
- tencentcloud/essbasic/v20210526/models.py +225 -8
- tencentcloud/mongodb/v20190725/errorcodes.py +9 -0
- tencentcloud/mongodb/v20190725/models.py +162 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +109 -8
- tencentcloud/ocr/v20181119/models.py +532 -3
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +116 -0
- tencentcloud/organization/v20210331/organization_client.py +46 -0
- tencentcloud/tdmq/v20200217/models.py +934 -59
- tencentcloud/tdmq/v20200217/tdmq_client.py +184 -0
- tencentcloud/trro/v20220325/models.py +1 -1
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/tsf/v20180326/models.py +13 -0
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1173.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1173.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1173.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1173.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1173.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,64 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AcceptJoinShareUnitInvitationRequest(AbstractModel):
|
22
|
+
"""AcceptJoinShareUnitInvitation请求参数结构体
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _UnitId: 共享单元ID。
|
29
|
+
:type UnitId: str
|
30
|
+
"""
|
31
|
+
self._UnitId = None
|
32
|
+
|
33
|
+
@property
|
34
|
+
def UnitId(self):
|
35
|
+
return self._UnitId
|
36
|
+
|
37
|
+
@UnitId.setter
|
38
|
+
def UnitId(self, UnitId):
|
39
|
+
self._UnitId = UnitId
|
40
|
+
|
41
|
+
|
42
|
+
def _deserialize(self, params):
|
43
|
+
self._UnitId = params.get("UnitId")
|
44
|
+
memeber_set = set(params.keys())
|
45
|
+
for name, value in vars(self).items():
|
46
|
+
property_name = name[1:]
|
47
|
+
if property_name in memeber_set:
|
48
|
+
memeber_set.remove(property_name)
|
49
|
+
if len(memeber_set) > 0:
|
50
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
class AcceptJoinShareUnitInvitationResponse(AbstractModel):
|
55
|
+
"""AcceptJoinShareUnitInvitation返回参数结构体
|
56
|
+
|
57
|
+
"""
|
58
|
+
|
59
|
+
def __init__(self):
|
60
|
+
r"""
|
61
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
62
|
+
:type RequestId: str
|
63
|
+
"""
|
64
|
+
self._RequestId = None
|
65
|
+
|
66
|
+
@property
|
67
|
+
def RequestId(self):
|
68
|
+
return self._RequestId
|
69
|
+
|
70
|
+
@RequestId.setter
|
71
|
+
def RequestId(self, RequestId):
|
72
|
+
self._RequestId = RequestId
|
73
|
+
|
74
|
+
|
75
|
+
def _deserialize(self, params):
|
76
|
+
self._RequestId = params.get("RequestId")
|
77
|
+
|
78
|
+
|
21
79
|
class AddOrganizationMemberEmailRequest(AbstractModel):
|
22
80
|
"""AddOrganizationMemberEmail请求参数结构体
|
23
81
|
|
@@ -7835,6 +7893,64 @@ class QuitOrganizationResponse(AbstractModel):
|
|
7835
7893
|
self._RequestId = params.get("RequestId")
|
7836
7894
|
|
7837
7895
|
|
7896
|
+
class RejectJoinShareUnitInvitationRequest(AbstractModel):
|
7897
|
+
"""RejectJoinShareUnitInvitation请求参数结构体
|
7898
|
+
|
7899
|
+
"""
|
7900
|
+
|
7901
|
+
def __init__(self):
|
7902
|
+
r"""
|
7903
|
+
:param _UnitId: 共享单元ID。
|
7904
|
+
:type UnitId: str
|
7905
|
+
"""
|
7906
|
+
self._UnitId = None
|
7907
|
+
|
7908
|
+
@property
|
7909
|
+
def UnitId(self):
|
7910
|
+
return self._UnitId
|
7911
|
+
|
7912
|
+
@UnitId.setter
|
7913
|
+
def UnitId(self, UnitId):
|
7914
|
+
self._UnitId = UnitId
|
7915
|
+
|
7916
|
+
|
7917
|
+
def _deserialize(self, params):
|
7918
|
+
self._UnitId = params.get("UnitId")
|
7919
|
+
memeber_set = set(params.keys())
|
7920
|
+
for name, value in vars(self).items():
|
7921
|
+
property_name = name[1:]
|
7922
|
+
if property_name in memeber_set:
|
7923
|
+
memeber_set.remove(property_name)
|
7924
|
+
if len(memeber_set) > 0:
|
7925
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7926
|
+
|
7927
|
+
|
7928
|
+
|
7929
|
+
class RejectJoinShareUnitInvitationResponse(AbstractModel):
|
7930
|
+
"""RejectJoinShareUnitInvitation返回参数结构体
|
7931
|
+
|
7932
|
+
"""
|
7933
|
+
|
7934
|
+
def __init__(self):
|
7935
|
+
r"""
|
7936
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7937
|
+
:type RequestId: str
|
7938
|
+
"""
|
7939
|
+
self._RequestId = None
|
7940
|
+
|
7941
|
+
@property
|
7942
|
+
def RequestId(self):
|
7943
|
+
return self._RequestId
|
7944
|
+
|
7945
|
+
@RequestId.setter
|
7946
|
+
def RequestId(self, RequestId):
|
7947
|
+
self._RequestId = RequestId
|
7948
|
+
|
7949
|
+
|
7950
|
+
def _deserialize(self, params):
|
7951
|
+
self._RequestId = params.get("RequestId")
|
7952
|
+
|
7953
|
+
|
7838
7954
|
class ResourceTagMapping(AbstractModel):
|
7839
7955
|
"""资源及关联的标签
|
7840
7956
|
|
@@ -26,6 +26,29 @@ class OrganizationClient(AbstractClient):
|
|
26
26
|
_service = 'organization'
|
27
27
|
|
28
28
|
|
29
|
+
def AcceptJoinShareUnitInvitation(self, request):
|
30
|
+
"""接受加入共享单元邀请。
|
31
|
+
|
32
|
+
:param request: Request instance for AcceptJoinShareUnitInvitation.
|
33
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.AcceptJoinShareUnitInvitationRequest`
|
34
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.AcceptJoinShareUnitInvitationResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("AcceptJoinShareUnitInvitation", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.AcceptJoinShareUnitInvitationResponse()
|
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 AddOrganizationMemberEmail(self, request):
|
30
53
|
"""添加组织成员邮箱
|
31
54
|
|
@@ -1291,6 +1314,29 @@ class OrganizationClient(AbstractClient):
|
|
1291
1314
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1292
1315
|
|
1293
1316
|
|
1317
|
+
def RejectJoinShareUnitInvitation(self, request):
|
1318
|
+
"""拒绝加入共享单元邀请。
|
1319
|
+
|
1320
|
+
:param request: Request instance for RejectJoinShareUnitInvitation.
|
1321
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.RejectJoinShareUnitInvitationRequest`
|
1322
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.RejectJoinShareUnitInvitationResponse`
|
1323
|
+
|
1324
|
+
"""
|
1325
|
+
try:
|
1326
|
+
params = request._serialize()
|
1327
|
+
headers = request.headers
|
1328
|
+
body = self.call("RejectJoinShareUnitInvitation", params, headers=headers)
|
1329
|
+
response = json.loads(body)
|
1330
|
+
model = models.RejectJoinShareUnitInvitationResponse()
|
1331
|
+
model._deserialize(response["Response"])
|
1332
|
+
return model
|
1333
|
+
except Exception as e:
|
1334
|
+
if isinstance(e, TencentCloudSDKException):
|
1335
|
+
raise
|
1336
|
+
else:
|
1337
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1338
|
+
|
1339
|
+
|
1294
1340
|
def UpdateOrganizationIdentity(self, request):
|
1295
1341
|
"""更新组织身份
|
1296
1342
|
|