tencentcloud-sdk-python 3.0.1172__py2.py3-none-any.whl → 3.0.1174__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/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +429 -0
- tencentcloud/cls/v20201016/models.py +14 -8
- 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 +57 -0
- tencentcloud/essbasic/v20210526/models.py +225 -8
- tencentcloud/lcic/v20220817/models.py +4 -4
- tencentcloud/lighthouse/v20200324/models.py +1 -1
- tencentcloud/lke/v20231130/lke_client.py +11 -5
- tencentcloud/lke/v20231130/models.py +364 -69
- 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/ses/v20201002/models.py +24 -0
- tencentcloud/ses/v20201002/ses_client.py +0 -1
- tencentcloud/tdmq/v20200217/models.py +948 -47
- tencentcloud/tdmq/v20200217/tdmq_client.py +184 -0
- tencentcloud/tke/v20180525/models.py +1 -1
- tencentcloud/trro/v20220325/models.py +1 -1
- tencentcloud/trtc/v20190722/errorcodes.py +2 -2
- tencentcloud/trtc/v20190722/models.py +13 -1
- tencentcloud/tsf/v20180326/models.py +13 -0
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1174.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1174.dist-info}/RECORD +45 -45
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1174.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1174.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1172.dist-info → tencentcloud_sdk_python-3.0.1174.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
|
|
@@ -2809,6 +2809,10 @@ class SendEmailRequest(AbstractModel):
|
|
2809
2809
|
:type Unsubscribe: str
|
2810
2810
|
:param _TriggerType: 邮件触发类型 0:非触发类,默认类型,营销类邮件、非即时类邮件等选择此类型 1:触发类,验证码等即时发送类邮件,若邮件超过一定大小,系统会自动选择非触发类型通道
|
2811
2811
|
:type TriggerType: int
|
2812
|
+
:param _SmtpMessageId: smtp头中的Message-Id字段
|
2813
|
+
:type SmtpMessageId: str
|
2814
|
+
:param _SmtpHeaders: smtp头中可以设置的其它字段
|
2815
|
+
:type SmtpHeaders: str
|
2812
2816
|
"""
|
2813
2817
|
self._FromEmailAddress = None
|
2814
2818
|
self._Destination = None
|
@@ -2821,6 +2825,8 @@ class SendEmailRequest(AbstractModel):
|
|
2821
2825
|
self._Attachments = None
|
2822
2826
|
self._Unsubscribe = None
|
2823
2827
|
self._TriggerType = None
|
2828
|
+
self._SmtpMessageId = None
|
2829
|
+
self._SmtpHeaders = None
|
2824
2830
|
|
2825
2831
|
@property
|
2826
2832
|
def FromEmailAddress(self):
|
@@ -2910,6 +2916,22 @@ class SendEmailRequest(AbstractModel):
|
|
2910
2916
|
def TriggerType(self, TriggerType):
|
2911
2917
|
self._TriggerType = TriggerType
|
2912
2918
|
|
2919
|
+
@property
|
2920
|
+
def SmtpMessageId(self):
|
2921
|
+
return self._SmtpMessageId
|
2922
|
+
|
2923
|
+
@SmtpMessageId.setter
|
2924
|
+
def SmtpMessageId(self, SmtpMessageId):
|
2925
|
+
self._SmtpMessageId = SmtpMessageId
|
2926
|
+
|
2927
|
+
@property
|
2928
|
+
def SmtpHeaders(self):
|
2929
|
+
return self._SmtpHeaders
|
2930
|
+
|
2931
|
+
@SmtpHeaders.setter
|
2932
|
+
def SmtpHeaders(self, SmtpHeaders):
|
2933
|
+
self._SmtpHeaders = SmtpHeaders
|
2934
|
+
|
2913
2935
|
|
2914
2936
|
def _deserialize(self, params):
|
2915
2937
|
self._FromEmailAddress = params.get("FromEmailAddress")
|
@@ -2932,6 +2954,8 @@ class SendEmailRequest(AbstractModel):
|
|
2932
2954
|
self._Attachments.append(obj)
|
2933
2955
|
self._Unsubscribe = params.get("Unsubscribe")
|
2934
2956
|
self._TriggerType = params.get("TriggerType")
|
2957
|
+
self._SmtpMessageId = params.get("SmtpMessageId")
|
2958
|
+
self._SmtpHeaders = params.get("SmtpHeaders")
|
2935
2959
|
memeber_set = set(params.keys())
|
2936
2960
|
for name, value in vars(self).items():
|
2937
2961
|
property_name = name[1:]
|
@@ -351,7 +351,6 @@ class SesClient(AbstractClient):
|
|
351
351
|
|
352
352
|
def GetSendEmailStatus(self, request):
|
353
353
|
"""获取邮件发送状态。仅支持查询30天之内的数据
|
354
|
-
默认接口请求频率限制:1次/秒
|
355
354
|
|
356
355
|
:param request: Request instance for GetSendEmailStatus.
|
357
356
|
:type request: :class:`tencentcloud.ses.v20201002.models.GetSendEmailStatusRequest`
|