tencentcloud-sdk-python-intl-en 3.0.1143__py2.py3-none-any.whl → 3.0.1144__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

@@ -26,6 +26,29 @@ class OrganizationClient(AbstractClient):
26
26
  _service = 'organization'
27
27
 
28
28
 
29
+ def AcceptJoinShareUnitInvitation(self, request):
30
+ """This API is used to accept an invitation to join a shared unit.
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 AddExternalSAMLIdPCertificate(self, request):
30
53
  """This API is used to add SAML signing certificates.
31
54
 
@@ -95,6 +118,75 @@ class OrganizationClient(AbstractClient):
95
118
  raise TencentCloudSDKException(type(e).__name__, str(e))
96
119
 
97
120
 
121
+ def AddShareUnit(self, request):
122
+ """This API is used to create a shared unit.
123
+
124
+ :param request: Request instance for AddShareUnit.
125
+ :type request: :class:`tencentcloud.organization.v20210331.models.AddShareUnitRequest`
126
+ :rtype: :class:`tencentcloud.organization.v20210331.models.AddShareUnitResponse`
127
+
128
+ """
129
+ try:
130
+ params = request._serialize()
131
+ headers = request.headers
132
+ body = self.call("AddShareUnit", params, headers=headers)
133
+ response = json.loads(body)
134
+ model = models.AddShareUnitResponse()
135
+ model._deserialize(response["Response"])
136
+ return model
137
+ except Exception as e:
138
+ if isinstance(e, TencentCloudSDKException):
139
+ raise
140
+ else:
141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
142
+
143
+
144
+ def AddShareUnitMembers(self, request):
145
+ """This API is used to add a shared unit member.
146
+
147
+ :param request: Request instance for AddShareUnitMembers.
148
+ :type request: :class:`tencentcloud.organization.v20210331.models.AddShareUnitMembersRequest`
149
+ :rtype: :class:`tencentcloud.organization.v20210331.models.AddShareUnitMembersResponse`
150
+
151
+ """
152
+ try:
153
+ params = request._serialize()
154
+ headers = request.headers
155
+ body = self.call("AddShareUnitMembers", params, headers=headers)
156
+ response = json.loads(body)
157
+ model = models.AddShareUnitMembersResponse()
158
+ model._deserialize(response["Response"])
159
+ return model
160
+ except Exception as e:
161
+ if isinstance(e, TencentCloudSDKException):
162
+ raise
163
+ else:
164
+ raise TencentCloudSDKException(type(e).__name__, str(e))
165
+
166
+
167
+ def AddShareUnitResources(self, request):
168
+ """This API is used to add resources to a shared unit.
169
+
170
+ :param request: Request instance for AddShareUnitResources.
171
+ :type request: :class:`tencentcloud.organization.v20210331.models.AddShareUnitResourcesRequest`
172
+ :rtype: :class:`tencentcloud.organization.v20210331.models.AddShareUnitResourcesResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("AddShareUnitResources", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.AddShareUnitResourcesResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
+
189
+
98
190
  def AddUserToGroup(self, request):
99
191
  """This API is used to add users to a user group.
100
192
 
@@ -739,6 +831,75 @@ class OrganizationClient(AbstractClient):
739
831
  raise TencentCloudSDKException(type(e).__name__, str(e))
740
832
 
741
833
 
834
+ def DeleteShareUnit(self, request):
835
+ """This API is used to delete a shared unit.
836
+
837
+ :param request: Request instance for DeleteShareUnit.
838
+ :type request: :class:`tencentcloud.organization.v20210331.models.DeleteShareUnitRequest`
839
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DeleteShareUnitResponse`
840
+
841
+ """
842
+ try:
843
+ params = request._serialize()
844
+ headers = request.headers
845
+ body = self.call("DeleteShareUnit", params, headers=headers)
846
+ response = json.loads(body)
847
+ model = models.DeleteShareUnitResponse()
848
+ model._deserialize(response["Response"])
849
+ return model
850
+ except Exception as e:
851
+ if isinstance(e, TencentCloudSDKException):
852
+ raise
853
+ else:
854
+ raise TencentCloudSDKException(type(e).__name__, str(e))
855
+
856
+
857
+ def DeleteShareUnitMembers(self, request):
858
+ """This API is used to delete a shared unit member.
859
+
860
+ :param request: Request instance for DeleteShareUnitMembers.
861
+ :type request: :class:`tencentcloud.organization.v20210331.models.DeleteShareUnitMembersRequest`
862
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DeleteShareUnitMembersResponse`
863
+
864
+ """
865
+ try:
866
+ params = request._serialize()
867
+ headers = request.headers
868
+ body = self.call("DeleteShareUnitMembers", params, headers=headers)
869
+ response = json.loads(body)
870
+ model = models.DeleteShareUnitMembersResponse()
871
+ model._deserialize(response["Response"])
872
+ return model
873
+ except Exception as e:
874
+ if isinstance(e, TencentCloudSDKException):
875
+ raise
876
+ else:
877
+ raise TencentCloudSDKException(type(e).__name__, str(e))
878
+
879
+
880
+ def DeleteShareUnitResources(self, request):
881
+ """This API is used to delete shared unit resources.
882
+
883
+ :param request: Request instance for DeleteShareUnitResources.
884
+ :type request: :class:`tencentcloud.organization.v20210331.models.DeleteShareUnitResourcesRequest`
885
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DeleteShareUnitResourcesResponse`
886
+
887
+ """
888
+ try:
889
+ params = request._serialize()
890
+ headers = request.headers
891
+ body = self.call("DeleteShareUnitResources", params, headers=headers)
892
+ response = json.loads(body)
893
+ model = models.DeleteShareUnitResourcesResponse()
894
+ model._deserialize(response["Response"])
895
+ return model
896
+ except Exception as e:
897
+ if isinstance(e, TencentCloudSDKException):
898
+ raise
899
+ else:
900
+ raise TencentCloudSDKException(type(e).__name__, str(e))
901
+
902
+
742
903
  def DeleteUser(self, request):
743
904
  """This API is used to delete a user.
744
905
 
@@ -946,6 +1107,98 @@ class OrganizationClient(AbstractClient):
946
1107
  raise TencentCloudSDKException(type(e).__name__, str(e))
947
1108
 
948
1109
 
1110
+ def DescribeShareAreas(self, request):
1111
+ """This API is used to obtain a list of shareable regions.
1112
+
1113
+ :param request: Request instance for DescribeShareAreas.
1114
+ :type request: :class:`tencentcloud.organization.v20210331.models.DescribeShareAreasRequest`
1115
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DescribeShareAreasResponse`
1116
+
1117
+ """
1118
+ try:
1119
+ params = request._serialize()
1120
+ headers = request.headers
1121
+ body = self.call("DescribeShareAreas", params, headers=headers)
1122
+ response = json.loads(body)
1123
+ model = models.DescribeShareAreasResponse()
1124
+ model._deserialize(response["Response"])
1125
+ return model
1126
+ except Exception as e:
1127
+ if isinstance(e, TencentCloudSDKException):
1128
+ raise
1129
+ else:
1130
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1131
+
1132
+
1133
+ def DescribeShareUnitMembers(self, request):
1134
+ """This API is used to obtain the member list of a shared unit.
1135
+
1136
+ :param request: Request instance for DescribeShareUnitMembers.
1137
+ :type request: :class:`tencentcloud.organization.v20210331.models.DescribeShareUnitMembersRequest`
1138
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DescribeShareUnitMembersResponse`
1139
+
1140
+ """
1141
+ try:
1142
+ params = request._serialize()
1143
+ headers = request.headers
1144
+ body = self.call("DescribeShareUnitMembers", params, headers=headers)
1145
+ response = json.loads(body)
1146
+ model = models.DescribeShareUnitMembersResponse()
1147
+ model._deserialize(response["Response"])
1148
+ return model
1149
+ except Exception as e:
1150
+ if isinstance(e, TencentCloudSDKException):
1151
+ raise
1152
+ else:
1153
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1154
+
1155
+
1156
+ def DescribeShareUnitResources(self, request):
1157
+ """This API is used to obtain the resource list of a shared unit.
1158
+
1159
+ :param request: Request instance for DescribeShareUnitResources.
1160
+ :type request: :class:`tencentcloud.organization.v20210331.models.DescribeShareUnitResourcesRequest`
1161
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DescribeShareUnitResourcesResponse`
1162
+
1163
+ """
1164
+ try:
1165
+ params = request._serialize()
1166
+ headers = request.headers
1167
+ body = self.call("DescribeShareUnitResources", params, headers=headers)
1168
+ response = json.loads(body)
1169
+ model = models.DescribeShareUnitResourcesResponse()
1170
+ model._deserialize(response["Response"])
1171
+ return model
1172
+ except Exception as e:
1173
+ if isinstance(e, TencentCloudSDKException):
1174
+ raise
1175
+ else:
1176
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1177
+
1178
+
1179
+ def DescribeShareUnits(self, request):
1180
+ """This API is used to obtain a list of shared units.
1181
+
1182
+ :param request: Request instance for DescribeShareUnits.
1183
+ :type request: :class:`tencentcloud.organization.v20210331.models.DescribeShareUnitsRequest`
1184
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DescribeShareUnitsResponse`
1185
+
1186
+ """
1187
+ try:
1188
+ params = request._serialize()
1189
+ headers = request.headers
1190
+ body = self.call("DescribeShareUnits", params, headers=headers)
1191
+ response = json.loads(body)
1192
+ model = models.DescribeShareUnitsResponse()
1193
+ model._deserialize(response["Response"])
1194
+ return model
1195
+ except Exception as e:
1196
+ if isinstance(e, TencentCloudSDKException):
1197
+ raise
1198
+ else:
1199
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1200
+
1201
+
949
1202
  def DismantleRoleConfiguration(self, request):
950
1203
  """This API is used to undeploy permission configurations on member accounts.
951
1204
 
@@ -1659,6 +1912,29 @@ class OrganizationClient(AbstractClient):
1659
1912
  raise TencentCloudSDKException(type(e).__name__, str(e))
1660
1913
 
1661
1914
 
1915
+ def RejectJoinShareUnitInvitation(self, request):
1916
+ """This API is used to reject an invitation to join a shared unit.
1917
+
1918
+ :param request: Request instance for RejectJoinShareUnitInvitation.
1919
+ :type request: :class:`tencentcloud.organization.v20210331.models.RejectJoinShareUnitInvitationRequest`
1920
+ :rtype: :class:`tencentcloud.organization.v20210331.models.RejectJoinShareUnitInvitationResponse`
1921
+
1922
+ """
1923
+ try:
1924
+ params = request._serialize()
1925
+ headers = request.headers
1926
+ body = self.call("RejectJoinShareUnitInvitation", params, headers=headers)
1927
+ response = json.loads(body)
1928
+ model = models.RejectJoinShareUnitInvitationResponse()
1929
+ model._deserialize(response["Response"])
1930
+ return model
1931
+ except Exception as e:
1932
+ if isinstance(e, TencentCloudSDKException):
1933
+ raise
1934
+ else:
1935
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1936
+
1937
+
1662
1938
  def RemoveExternalSAMLIdPCertificate(self, request):
1663
1939
  """This API is used to remove SAML signing certificates.
1664
1940
 
@@ -1935,6 +2211,29 @@ class OrganizationClient(AbstractClient):
1935
2211
  raise TencentCloudSDKException(type(e).__name__, str(e))
1936
2212
 
1937
2213
 
2214
+ def UpdateShareUnit(self, request):
2215
+ """This API is used to update a shared unit.
2216
+
2217
+ :param request: Request instance for UpdateShareUnit.
2218
+ :type request: :class:`tencentcloud.organization.v20210331.models.UpdateShareUnitRequest`
2219
+ :rtype: :class:`tencentcloud.organization.v20210331.models.UpdateShareUnitResponse`
2220
+
2221
+ """
2222
+ try:
2223
+ params = request._serialize()
2224
+ headers = request.headers
2225
+ body = self.call("UpdateShareUnit", params, headers=headers)
2226
+ response = json.loads(body)
2227
+ model = models.UpdateShareUnitResponse()
2228
+ model._deserialize(response["Response"])
2229
+ return model
2230
+ except Exception as e:
2231
+ if isinstance(e, TencentCloudSDKException):
2232
+ raise
2233
+ else:
2234
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2235
+
2236
+
1938
2237
  def UpdateUser(self, request):
1939
2238
  """This API is used to modify user information.
1940
2239
 
@@ -36683,8 +36683,7 @@ class RuleBranch(AbstractModel):
36683
36683
 
36684
36684
  def __init__(self):
36685
36685
  r"""
36686
- :param _Condition: [Match condition].
36687
- ](Https://Cloud.Tencent.Com/Document/Product/1552/90438#33f65828-C6c6-4b66-A011-25a20b548d5d).
36686
+ :param _Condition: [Match condition](https://www.tencentcloud.com/document/product/1145/54759).
36688
36687
  :type Condition: str
36689
36688
  :param _Actions: [Operations](Https://Cloud.Tencent.Com/Document/Product/1552/90438#C7bd7e02-9247-4a72-B0e4-11c27cadb198).<Br>Note: actions and subrules cannot both be empty.
36690
36689
  Note: this field may return null, which indicates a failure to obtain a valid value.
@@ -36699,8 +36698,7 @@ Note: this field may return null, which indicates a failure to obtain a valid va
36699
36698
 
36700
36699
  @property
36701
36700
  def Condition(self):
36702
- """[Match condition].
36703
- ](Https://Cloud.Tencent.Com/Document/Product/1552/90438#33f65828-C6c6-4b66-A011-25a20b548d5d).
36701
+ """[Match condition](https://www.tencentcloud.com/document/product/1145/54759).
36704
36702
  :rtype: str
36705
36703
  """
36706
36704
  return self._Condition
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1143
3
+ Version: 3.0.1144
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=yy5J64xluilTt6MJ4E937qBvcbTZ8B7tQ5JXuDuJJMY,630
1
+ tencentcloud/__init__.py,sha256=fO53-pjyTDwNztKuT4ok8gcbskBe-6d3EZCGG5cKCQw,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
@@ -416,9 +416,9 @@ tencentcloud/organization/v20181225/errorcodes.py,sha256=RyViSKl1FdBR9DcokPap_Ob
416
416
  tencentcloud/organization/v20181225/models.py,sha256=KoeKmyuF1HELRamZSCXBIiYMEUgNy86HXoUMPKbMAXU,59866
417
417
  tencentcloud/organization/v20181225/organization_client.py,sha256=iekwSlwoTumBlka-0WOuJybN4PP7HraeSgJzSkdM4z4,20328
418
418
  tencentcloud/organization/v20210331/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
419
- tencentcloud/organization/v20210331/errorcodes.py,sha256=BVw1cP-h1OQyhkLPdrEeFx8lTjEsNFY3U3jpm0HigSQ,28554
420
- tencentcloud/organization/v20210331/models.py,sha256=_H_xenOGbGO9-TMTTtwSdVP8L3_HREEJd53uUIe8Zyc,540011
421
- tencentcloud/organization/v20210331/organization_client.py,sha256=JMpq_W6rtV5ADwkxdN1SpiyL6gPfUm1OXFEQszo6MSE,85229
419
+ tencentcloud/organization/v20210331/errorcodes.py,sha256=aO0jZsRsH0qXv6Ej8AD9Q-Sl9u_piREcuvSnoIxfjF8,30451
420
+ tencentcloud/organization/v20210331/models.py,sha256=I-zN0Ly9BMcHK2AbUXmzEMKEIcaftOpdDuSqPOQnX8A,599505
421
+ tencentcloud/organization/v20210331/organization_client.py,sha256=ohJR-z_y8U0hbe3fB7G0bcb0ThMmR9Zf0OHcWHmd8Oc,97501
422
422
  tencentcloud/postgres/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
423
423
  tencentcloud/postgres/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
424
424
  tencentcloud/postgres/v20170312/errorcodes.py,sha256=C4rjoBMWVsvdkyo2ymAq_HEyaole_TqgeB_wjZG7hlw,23085
@@ -549,7 +549,7 @@ tencentcloud/teo/v20220106/models.py,sha256=O7LYEZTTKjloNI2BuDHcaBdEpxjHezVYck_x
549
549
  tencentcloud/teo/v20220106/teo_client.py,sha256=xFgjEY9outkMEOonYeYfLL18TRUxVSRdE7Q3m6ACyWM,82902
550
550
  tencentcloud/teo/v20220901/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
551
551
  tencentcloud/teo/v20220901/errorcodes.py,sha256=MJPg6l1EQMd5FhtR2D1Ui8oIXcMmfzP3FKizlIz_blM,60593
552
- tencentcloud/teo/v20220901/models.py,sha256=8cyFUYBfvz8ppYmP9m7HMNStAPAlzRXvOjRKMmBSMqY,1557222
552
+ tencentcloud/teo/v20220901/models.py,sha256=dYuLw2TrGY3fJxfQM5CL703boXbNQA1syiVX84T1MsM,1557148
553
553
  tencentcloud/teo/v20220901/teo_client.py,sha256=0nBbTFBoa0ynFKmSSp2Y4CYqgqYfAXDN_0k6NvKe0Tc,147753
554
554
  tencentcloud/tiw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
555
555
  tencentcloud/tiw/v20190919/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -629,7 +629,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
629
629
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
630
630
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
631
631
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
632
- tencentcloud_sdk_python_intl_en-3.0.1143.dist-info/METADATA,sha256=0B3h3sA1lst6eACyPB5HYOE0jc9hYXVJEOkBJcR68l0,1628
633
- tencentcloud_sdk_python_intl_en-3.0.1143.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
634
- tencentcloud_sdk_python_intl_en-3.0.1143.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
635
- tencentcloud_sdk_python_intl_en-3.0.1143.dist-info/RECORD,,
632
+ tencentcloud_sdk_python_intl_en-3.0.1144.dist-info/METADATA,sha256=0NttIIIz93Y0podAWAKygzzB4dk3IOezzesXeMSuPjA,1628
633
+ tencentcloud_sdk_python_intl_en-3.0.1144.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
634
+ tencentcloud_sdk_python_intl_en-3.0.1144.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
635
+ tencentcloud_sdk_python_intl_en-3.0.1144.dist-info/RECORD,,