tencentcloud-sdk-python-organization 3.0.1218__tar.gz → 3.0.1228__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.
Files changed (20) hide show
  1. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/setup.py +1 -1
  3. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/organization/v20210331/errorcodes.py +6 -0
  5. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/organization/v20210331/models.py +70 -0
  6. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/organization/v20210331/organization_client.py +23 -0
  7. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-organization-3.0.1228/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-organization-3.0.1218/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/README.rst +0 -0
  11. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/organization/__init__.py +0 -0
  13. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/organization/v20181225/__init__.py +0 -0
  14. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
  15. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/organization/v20181225/models.py +0 -0
  16. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/organization/v20181225/organization_client.py +0 -0
  17. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud/organization/v20210331/__init__.py +0 -0
  18. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-organization-3.0.1218 → tencentcloud-sdk-python-organization-3.0.1228}/tencentcloud_sdk_python_organization.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.0.1218
3
+ Version: 3.0.1228
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
@@ -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.0.1218"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1228"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Organization SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1218'
17
+ __version__ = '3.0.1228'
@@ -611,6 +611,12 @@ LIMITEXCEEDED_PHONENUMBOUND = 'LimitExceeded.PhoneNumBound'
611
611
  # 请求用户组移除用户超出限制。
612
612
  LIMITEXCEEDED_REMOVEUSERFROMGROUPLIMITEXCEEDED = 'LimitExceeded.RemoveUserFromGroupLimitExceeded'
613
613
 
614
+ # 重新发送激活邮件次数超过限制。
615
+ LIMITEXCEEDED_SENDEMAILLIMIT = 'LimitExceeded.SendEmailLimit'
616
+
617
+ # 一小时内重新发送激活邮件次数超过限制。
618
+ LIMITEXCEEDED_SENDEMAILWITHINONEHOURLIMIT = 'LimitExceeded.SendEmailWithinOneHourLimit'
619
+
614
620
  # 当次操作的共享成员超过上限。
615
621
  LIMITEXCEEDED_SHAREUNITMEMBEROVERLIMIT = 'LimitExceeded.ShareUnitMemberOverLimit'
616
622
 
@@ -14857,6 +14857,76 @@ class SAMLServiceProvider(AbstractModel):
14857
14857
 
14858
14858
 
14859
14859
 
14860
+ class SendOrgMemberAccountBindEmailRequest(AbstractModel):
14861
+ """SendOrgMemberAccountBindEmail请求参数结构体
14862
+
14863
+ """
14864
+
14865
+ def __init__(self):
14866
+ r"""
14867
+ :param _MemberUin: 成员Uin。
14868
+ :type MemberUin: int
14869
+ :param _BindId: 绑定ID。可以通过[DescribeOrganizationMemberEmailBind](https://cloud.tencent.com/document/product/850/93332)获取
14870
+ :type BindId: int
14871
+ """
14872
+ self._MemberUin = None
14873
+ self._BindId = None
14874
+
14875
+ @property
14876
+ def MemberUin(self):
14877
+ return self._MemberUin
14878
+
14879
+ @MemberUin.setter
14880
+ def MemberUin(self, MemberUin):
14881
+ self._MemberUin = MemberUin
14882
+
14883
+ @property
14884
+ def BindId(self):
14885
+ return self._BindId
14886
+
14887
+ @BindId.setter
14888
+ def BindId(self, BindId):
14889
+ self._BindId = BindId
14890
+
14891
+
14892
+ def _deserialize(self, params):
14893
+ self._MemberUin = params.get("MemberUin")
14894
+ self._BindId = params.get("BindId")
14895
+ memeber_set = set(params.keys())
14896
+ for name, value in vars(self).items():
14897
+ property_name = name[1:]
14898
+ if property_name in memeber_set:
14899
+ memeber_set.remove(property_name)
14900
+ if len(memeber_set) > 0:
14901
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14902
+
14903
+
14904
+
14905
+ class SendOrgMemberAccountBindEmailResponse(AbstractModel):
14906
+ """SendOrgMemberAccountBindEmail返回参数结构体
14907
+
14908
+ """
14909
+
14910
+ def __init__(self):
14911
+ r"""
14912
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14913
+ :type RequestId: str
14914
+ """
14915
+ self._RequestId = None
14916
+
14917
+ @property
14918
+ def RequestId(self):
14919
+ return self._RequestId
14920
+
14921
+ @RequestId.setter
14922
+ def RequestId(self, RequestId):
14923
+ self._RequestId = RequestId
14924
+
14925
+
14926
+ def _deserialize(self, params):
14927
+ self._RequestId = params.get("RequestId")
14928
+
14929
+
14860
14930
  class SetExternalSAMLIdentityProviderRequest(AbstractModel):
14861
14931
  """SetExternalSAMLIdentityProvider请求参数结构体
14862
14932
 
@@ -2372,6 +2372,29 @@ class OrganizationClient(AbstractClient):
2372
2372
  raise TencentCloudSDKException(type(e).__name__, str(e))
2373
2373
 
2374
2374
 
2375
+ def SendOrgMemberAccountBindEmail(self, request):
2376
+ """重新发送成员绑定邮箱激活邮件
2377
+
2378
+ :param request: Request instance for SendOrgMemberAccountBindEmail.
2379
+ :type request: :class:`tencentcloud.organization.v20210331.models.SendOrgMemberAccountBindEmailRequest`
2380
+ :rtype: :class:`tencentcloud.organization.v20210331.models.SendOrgMemberAccountBindEmailResponse`
2381
+
2382
+ """
2383
+ try:
2384
+ params = request._serialize()
2385
+ headers = request.headers
2386
+ body = self.call("SendOrgMemberAccountBindEmail", params, headers=headers)
2387
+ response = json.loads(body)
2388
+ model = models.SendOrgMemberAccountBindEmailResponse()
2389
+ model._deserialize(response["Response"])
2390
+ return model
2391
+ except Exception as e:
2392
+ if isinstance(e, TencentCloudSDKException):
2393
+ raise
2394
+ else:
2395
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2396
+
2397
+
2375
2398
  def SetExternalSAMLIdentityProvider(self, request):
2376
2399
  """配置SAML身份提供商信息
2377
2400
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.0.1218
3
+ Version: 3.0.1228
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
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1218