tencentcloud-sdk-python-intl-en 3.0.1086__py2.py3-none-any.whl → 3.0.1088__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/batch/v20170312/errorcodes.py +3 -0
- tencentcloud/batch/v20170312/models.py +119 -45
- tencentcloud/car/v20220110/models.py +2 -2
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdc/__init__.py +0 -0
- tencentcloud/cdc/v20201214/__init__.py +0 -0
- tencentcloud/cdc/v20201214/cdc_client.py +486 -0
- tencentcloud/cdc/v20201214/errorcodes.py +78 -0
- tencentcloud/cdc/v20201214/models.py +6084 -0
- tencentcloud/ckafka/v20190819/models.py +2 -2
- tencentcloud/cloudaudit/v20190319/errorcodes.py +3 -0
- tencentcloud/cloudaudit/v20190319/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +177 -0
- tencentcloud/cmq/v20190304/models.py +74 -74
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/eb/v20210416/models.py +47 -2
- tencentcloud/ecm/v20190719/models.py +2 -2
- tencentcloud/gme/v20180711/errorcodes.py +1 -1
- tencentcloud/gme/v20180711/models.py +2 -2
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/live/v20180801/errorcodes.py +1 -1
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/organization/v20181225/errorcodes.py +16 -4
- tencentcloud/organization/v20181225/models.py +40 -40
- tencentcloud/organization/v20210331/errorcodes.py +96 -0
- tencentcloud/organization/v20210331/models.py +2110 -269
- tencentcloud/organization/v20210331/organization_client.py +417 -3
- tencentcloud/scf/v20180416/errorcodes.py +3 -0
- tencentcloud/scf/v20180416/models.py +2 -2
- tencentcloud/sms/v20210111/errorcodes.py +4 -1
- tencentcloud/tat/v20201028/errorcodes.py +12 -0
- tencentcloud/tat/v20201028/models.py +38 -38
- tencentcloud/tdmq/v20200217/models.py +2 -2
- tencentcloud/tem/v20210701/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +19 -19
- tencentcloud/teo/v20220901/models.py +92 -20
- tencentcloud/vclm/__init__.py +0 -0
- tencentcloud/vclm/v20240523/__init__.py +0 -0
- tencentcloud/vclm/v20240523/errorcodes.py +126 -0
- tencentcloud/vclm/v20240523/models.py +538 -0
- tencentcloud/vclm/v20240523/vclm_client.py +72 -0
- tencentcloud/vod/v20180717/models.py +128 -11
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +1680 -720
- tencentcloud/waf/v20180125/waf_client.py +83 -45
- tencentcloud/wedata/v20210820/models.py +6 -6
- {tencentcloud_sdk_python_intl_en-3.0.1086.dist-info → tencentcloud_sdk_python_intl_en-3.0.1088.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1086.dist-info → tencentcloud_sdk_python_intl_en-3.0.1088.dist-info}/RECORD +52 -42
- {tencentcloud_sdk_python_intl_en-3.0.1086.dist-info → tencentcloud_sdk_python_intl_en-3.0.1088.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1086.dist-info → tencentcloud_sdk_python_intl_en-3.0.1088.dist-info}/top_level.txt +0 -0
|
@@ -233,6 +233,52 @@ class OrganizationClient(AbstractClient):
|
|
|
233
233
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
234
|
|
|
235
235
|
|
|
236
|
+
def CreateOrganization(self, request):
|
|
237
|
+
"""This API is used to create an organization.
|
|
238
|
+
|
|
239
|
+
:param request: Request instance for CreateOrganization.
|
|
240
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.CreateOrganizationRequest`
|
|
241
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.CreateOrganizationResponse`
|
|
242
|
+
|
|
243
|
+
"""
|
|
244
|
+
try:
|
|
245
|
+
params = request._serialize()
|
|
246
|
+
headers = request.headers
|
|
247
|
+
body = self.call("CreateOrganization", params, headers=headers)
|
|
248
|
+
response = json.loads(body)
|
|
249
|
+
model = models.CreateOrganizationResponse()
|
|
250
|
+
model._deserialize(response["Response"])
|
|
251
|
+
return model
|
|
252
|
+
except Exception as e:
|
|
253
|
+
if isinstance(e, TencentCloudSDKException):
|
|
254
|
+
raise
|
|
255
|
+
else:
|
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
def CreateOrganizationIdentity(self, request):
|
|
260
|
+
"""This API is used to add an organization identity.
|
|
261
|
+
|
|
262
|
+
:param request: Request instance for CreateOrganizationIdentity.
|
|
263
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.CreateOrganizationIdentityRequest`
|
|
264
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.CreateOrganizationIdentityResponse`
|
|
265
|
+
|
|
266
|
+
"""
|
|
267
|
+
try:
|
|
268
|
+
params = request._serialize()
|
|
269
|
+
headers = request.headers
|
|
270
|
+
body = self.call("CreateOrganizationIdentity", params, headers=headers)
|
|
271
|
+
response = json.loads(body)
|
|
272
|
+
model = models.CreateOrganizationIdentityResponse()
|
|
273
|
+
model._deserialize(response["Response"])
|
|
274
|
+
return model
|
|
275
|
+
except Exception as e:
|
|
276
|
+
if isinstance(e, TencentCloudSDKException):
|
|
277
|
+
raise
|
|
278
|
+
else:
|
|
279
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
|
+
|
|
281
|
+
|
|
236
282
|
def CreateOrganizationMember(self, request):
|
|
237
283
|
"""This API is used to create an organization member.
|
|
238
284
|
|
|
@@ -256,8 +302,31 @@ class OrganizationClient(AbstractClient):
|
|
|
256
302
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
303
|
|
|
258
304
|
|
|
305
|
+
def CreateOrganizationMemberAuthIdentity(self, request):
|
|
306
|
+
"""This API is used to add organization member access authorization.
|
|
307
|
+
|
|
308
|
+
:param request: Request instance for CreateOrganizationMemberAuthIdentity.
|
|
309
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.CreateOrganizationMemberAuthIdentityRequest`
|
|
310
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.CreateOrganizationMemberAuthIdentityResponse`
|
|
311
|
+
|
|
312
|
+
"""
|
|
313
|
+
try:
|
|
314
|
+
params = request._serialize()
|
|
315
|
+
headers = request.headers
|
|
316
|
+
body = self.call("CreateOrganizationMemberAuthIdentity", params, headers=headers)
|
|
317
|
+
response = json.loads(body)
|
|
318
|
+
model = models.CreateOrganizationMemberAuthIdentityResponse()
|
|
319
|
+
model._deserialize(response["Response"])
|
|
320
|
+
return model
|
|
321
|
+
except Exception as e:
|
|
322
|
+
if isinstance(e, TencentCloudSDKException):
|
|
323
|
+
raise
|
|
324
|
+
else:
|
|
325
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
|
+
|
|
327
|
+
|
|
259
328
|
def CreateOrganizationMemberPolicy(self, request):
|
|
260
|
-
"""This API is used to create an organization member access policy.
|
|
329
|
+
"""This API is used to create an organization member access authorization policy.
|
|
261
330
|
|
|
262
331
|
:param request: Request instance for CreateOrganizationMemberPolicy.
|
|
263
332
|
:type request: :class:`tencentcloud.organization.v20210331.models.CreateOrganizationMemberPolicyRequest`
|
|
@@ -279,6 +348,29 @@ class OrganizationClient(AbstractClient):
|
|
|
279
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
349
|
|
|
281
350
|
|
|
351
|
+
def CreateOrganizationMembersPolicy(self, request):
|
|
352
|
+
"""This API is used to create an organization member access policy.
|
|
353
|
+
|
|
354
|
+
:param request: Request instance for CreateOrganizationMembersPolicy.
|
|
355
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.CreateOrganizationMembersPolicyRequest`
|
|
356
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.CreateOrganizationMembersPolicyResponse`
|
|
357
|
+
|
|
358
|
+
"""
|
|
359
|
+
try:
|
|
360
|
+
params = request._serialize()
|
|
361
|
+
headers = request.headers
|
|
362
|
+
body = self.call("CreateOrganizationMembersPolicy", params, headers=headers)
|
|
363
|
+
response = json.loads(body)
|
|
364
|
+
model = models.CreateOrganizationMembersPolicyResponse()
|
|
365
|
+
model._deserialize(response["Response"])
|
|
366
|
+
return model
|
|
367
|
+
except Exception as e:
|
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
|
369
|
+
raise
|
|
370
|
+
else:
|
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
|
+
|
|
373
|
+
|
|
282
374
|
def CreateRoleAssignment(self, request):
|
|
283
375
|
"""This API is used to grant authorizations on member accounts.
|
|
284
376
|
|
|
@@ -325,6 +417,29 @@ class OrganizationClient(AbstractClient):
|
|
|
325
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
418
|
|
|
327
419
|
|
|
420
|
+
def CreateSCIMCredential(self, request):
|
|
421
|
+
"""This API is used to create a SCIM key.
|
|
422
|
+
|
|
423
|
+
:param request: Request instance for CreateSCIMCredential.
|
|
424
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.CreateSCIMCredentialRequest`
|
|
425
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.CreateSCIMCredentialResponse`
|
|
426
|
+
|
|
427
|
+
"""
|
|
428
|
+
try:
|
|
429
|
+
params = request._serialize()
|
|
430
|
+
headers = request.headers
|
|
431
|
+
body = self.call("CreateSCIMCredential", params, headers=headers)
|
|
432
|
+
response = json.loads(body)
|
|
433
|
+
model = models.CreateSCIMCredentialResponse()
|
|
434
|
+
model._deserialize(response["Response"])
|
|
435
|
+
return model
|
|
436
|
+
except Exception as e:
|
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
|
438
|
+
raise
|
|
439
|
+
else:
|
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
|
+
|
|
442
|
+
|
|
328
443
|
def CreateUser(self, request):
|
|
329
444
|
"""This API is used to create a user.
|
|
330
445
|
|
|
@@ -417,6 +532,75 @@ class OrganizationClient(AbstractClient):
|
|
|
417
532
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
533
|
|
|
419
534
|
|
|
535
|
+
def DeleteOrganization(self, request):
|
|
536
|
+
"""This API is used to delete an organization.
|
|
537
|
+
|
|
538
|
+
:param request: Request instance for DeleteOrganization.
|
|
539
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.DeleteOrganizationRequest`
|
|
540
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.DeleteOrganizationResponse`
|
|
541
|
+
|
|
542
|
+
"""
|
|
543
|
+
try:
|
|
544
|
+
params = request._serialize()
|
|
545
|
+
headers = request.headers
|
|
546
|
+
body = self.call("DeleteOrganization", params, headers=headers)
|
|
547
|
+
response = json.loads(body)
|
|
548
|
+
model = models.DeleteOrganizationResponse()
|
|
549
|
+
model._deserialize(response["Response"])
|
|
550
|
+
return model
|
|
551
|
+
except Exception as e:
|
|
552
|
+
if isinstance(e, TencentCloudSDKException):
|
|
553
|
+
raise
|
|
554
|
+
else:
|
|
555
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
def DeleteOrganizationIdentity(self, request):
|
|
559
|
+
"""This API is used to delete an organization identity.
|
|
560
|
+
|
|
561
|
+
:param request: Request instance for DeleteOrganizationIdentity.
|
|
562
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.DeleteOrganizationIdentityRequest`
|
|
563
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.DeleteOrganizationIdentityResponse`
|
|
564
|
+
|
|
565
|
+
"""
|
|
566
|
+
try:
|
|
567
|
+
params = request._serialize()
|
|
568
|
+
headers = request.headers
|
|
569
|
+
body = self.call("DeleteOrganizationIdentity", params, headers=headers)
|
|
570
|
+
response = json.loads(body)
|
|
571
|
+
model = models.DeleteOrganizationIdentityResponse()
|
|
572
|
+
model._deserialize(response["Response"])
|
|
573
|
+
return model
|
|
574
|
+
except Exception as e:
|
|
575
|
+
if isinstance(e, TencentCloudSDKException):
|
|
576
|
+
raise
|
|
577
|
+
else:
|
|
578
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
def DeleteOrganizationMemberAuthIdentity(self, request):
|
|
582
|
+
"""This API is used to delete organization member access authorization.
|
|
583
|
+
|
|
584
|
+
:param request: Request instance for DeleteOrganizationMemberAuthIdentity.
|
|
585
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.DeleteOrganizationMemberAuthIdentityRequest`
|
|
586
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.DeleteOrganizationMemberAuthIdentityResponse`
|
|
587
|
+
|
|
588
|
+
"""
|
|
589
|
+
try:
|
|
590
|
+
params = request._serialize()
|
|
591
|
+
headers = request.headers
|
|
592
|
+
body = self.call("DeleteOrganizationMemberAuthIdentity", params, headers=headers)
|
|
593
|
+
response = json.loads(body)
|
|
594
|
+
model = models.DeleteOrganizationMemberAuthIdentityResponse()
|
|
595
|
+
model._deserialize(response["Response"])
|
|
596
|
+
return model
|
|
597
|
+
except Exception as e:
|
|
598
|
+
if isinstance(e, TencentCloudSDKException):
|
|
599
|
+
raise
|
|
600
|
+
else:
|
|
601
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
602
|
+
|
|
603
|
+
|
|
420
604
|
def DeleteOrganizationMembers(self, request):
|
|
421
605
|
"""This API is used to remove a member account from the organization, rather than delete the account.
|
|
422
606
|
|
|
@@ -440,6 +624,29 @@ class OrganizationClient(AbstractClient):
|
|
|
440
624
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
625
|
|
|
442
626
|
|
|
627
|
+
def DeleteOrganizationMembersPolicy(self, request):
|
|
628
|
+
"""This API is used to delete an organization member access policy.
|
|
629
|
+
|
|
630
|
+
:param request: Request instance for DeleteOrganizationMembersPolicy.
|
|
631
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.DeleteOrganizationMembersPolicyRequest`
|
|
632
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.DeleteOrganizationMembersPolicyResponse`
|
|
633
|
+
|
|
634
|
+
"""
|
|
635
|
+
try:
|
|
636
|
+
params = request._serialize()
|
|
637
|
+
headers = request.headers
|
|
638
|
+
body = self.call("DeleteOrganizationMembersPolicy", params, headers=headers)
|
|
639
|
+
response = json.loads(body)
|
|
640
|
+
model = models.DeleteOrganizationMembersPolicyResponse()
|
|
641
|
+
model._deserialize(response["Response"])
|
|
642
|
+
return model
|
|
643
|
+
except Exception as e:
|
|
644
|
+
if isinstance(e, TencentCloudSDKException):
|
|
645
|
+
raise
|
|
646
|
+
else:
|
|
647
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
648
|
+
|
|
649
|
+
|
|
443
650
|
def DeleteOrganizationNodes(self, request):
|
|
444
651
|
"""This API is used to batch delete organization nodes.
|
|
445
652
|
|
|
@@ -509,6 +716,29 @@ class OrganizationClient(AbstractClient):
|
|
|
509
716
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
510
717
|
|
|
511
718
|
|
|
719
|
+
def DeleteSCIMCredential(self, request):
|
|
720
|
+
"""This API is used to delete a SCIM key.
|
|
721
|
+
|
|
722
|
+
:param request: Request instance for DeleteSCIMCredential.
|
|
723
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.DeleteSCIMCredentialRequest`
|
|
724
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.DeleteSCIMCredentialResponse`
|
|
725
|
+
|
|
726
|
+
"""
|
|
727
|
+
try:
|
|
728
|
+
params = request._serialize()
|
|
729
|
+
headers = request.headers
|
|
730
|
+
body = self.call("DeleteSCIMCredential", params, headers=headers)
|
|
731
|
+
response = json.loads(body)
|
|
732
|
+
model = models.DeleteSCIMCredentialResponse()
|
|
733
|
+
model._deserialize(response["Response"])
|
|
734
|
+
return model
|
|
735
|
+
except Exception as e:
|
|
736
|
+
if isinstance(e, TencentCloudSDKException):
|
|
737
|
+
raise
|
|
738
|
+
else:
|
|
739
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
|
+
|
|
741
|
+
|
|
512
742
|
def DeleteUser(self, request):
|
|
513
743
|
"""This API is used to delete a user.
|
|
514
744
|
|
|
@@ -556,7 +786,7 @@ class OrganizationClient(AbstractClient):
|
|
|
556
786
|
|
|
557
787
|
|
|
558
788
|
def DescribeIdentityCenter(self, request):
|
|
559
|
-
"""This API is used to obtain
|
|
789
|
+
"""This API is used to obtain TCO Identity Center service information.
|
|
560
790
|
|
|
561
791
|
:param request: Request instance for DescribeIdentityCenter.
|
|
562
792
|
:type request: :class:`tencentcloud.organization.v20210331.models.DescribeIdentityCenterRequest`
|
|
@@ -831,6 +1061,29 @@ class OrganizationClient(AbstractClient):
|
|
|
831
1061
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
832
1062
|
|
|
833
1063
|
|
|
1064
|
+
def GetSCIMSynchronizationStatus(self, request):
|
|
1065
|
+
"""This API is used to query SCIM synchronization status.
|
|
1066
|
+
|
|
1067
|
+
:param request: Request instance for GetSCIMSynchronizationStatus.
|
|
1068
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.GetSCIMSynchronizationStatusRequest`
|
|
1069
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.GetSCIMSynchronizationStatusResponse`
|
|
1070
|
+
|
|
1071
|
+
"""
|
|
1072
|
+
try:
|
|
1073
|
+
params = request._serialize()
|
|
1074
|
+
headers = request.headers
|
|
1075
|
+
body = self.call("GetSCIMSynchronizationStatus", params, headers=headers)
|
|
1076
|
+
response = json.loads(body)
|
|
1077
|
+
model = models.GetSCIMSynchronizationStatusResponse()
|
|
1078
|
+
model._deserialize(response["Response"])
|
|
1079
|
+
return model
|
|
1080
|
+
except Exception as e:
|
|
1081
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1082
|
+
raise
|
|
1083
|
+
else:
|
|
1084
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1085
|
+
|
|
1086
|
+
|
|
834
1087
|
def GetTaskStatus(self, request):
|
|
835
1088
|
"""This API is used to query the status of async tasks.
|
|
836
1089
|
|
|
@@ -1222,6 +1475,29 @@ class OrganizationClient(AbstractClient):
|
|
|
1222
1475
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1223
1476
|
|
|
1224
1477
|
|
|
1478
|
+
def ListSCIMCredentials(self, request):
|
|
1479
|
+
"""This API is used to query the user SCIM key list.
|
|
1480
|
+
|
|
1481
|
+
:param request: Request instance for ListSCIMCredentials.
|
|
1482
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.ListSCIMCredentialsRequest`
|
|
1483
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.ListSCIMCredentialsResponse`
|
|
1484
|
+
|
|
1485
|
+
"""
|
|
1486
|
+
try:
|
|
1487
|
+
params = request._serialize()
|
|
1488
|
+
headers = request.headers
|
|
1489
|
+
body = self.call("ListSCIMCredentials", params, headers=headers)
|
|
1490
|
+
response = json.loads(body)
|
|
1491
|
+
model = models.ListSCIMCredentialsResponse()
|
|
1492
|
+
model._deserialize(response["Response"])
|
|
1493
|
+
return model
|
|
1494
|
+
except Exception as e:
|
|
1495
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1496
|
+
raise
|
|
1497
|
+
else:
|
|
1498
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1499
|
+
|
|
1500
|
+
|
|
1225
1501
|
def ListTasks(self, request):
|
|
1226
1502
|
"""This API is used to query the async task list.
|
|
1227
1503
|
|
|
@@ -1315,7 +1591,7 @@ class OrganizationClient(AbstractClient):
|
|
|
1315
1591
|
|
|
1316
1592
|
|
|
1317
1593
|
def OpenIdentityCenter(self, request):
|
|
1318
|
-
"""This API is used to activate
|
|
1594
|
+
"""This API is used to activate Identity Center service (CIC).
|
|
1319
1595
|
|
|
1320
1596
|
:param request: Request instance for OpenIdentityCenter.
|
|
1321
1597
|
:type request: :class:`tencentcloud.organization.v20210331.models.OpenIdentityCenterRequest`
|
|
@@ -1360,6 +1636,29 @@ class OrganizationClient(AbstractClient):
|
|
|
1360
1636
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1361
1637
|
|
|
1362
1638
|
|
|
1639
|
+
def QuitOrganization(self, request):
|
|
1640
|
+
"""This API is used to exit an organization.
|
|
1641
|
+
|
|
1642
|
+
:param request: Request instance for QuitOrganization.
|
|
1643
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.QuitOrganizationRequest`
|
|
1644
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.QuitOrganizationResponse`
|
|
1645
|
+
|
|
1646
|
+
"""
|
|
1647
|
+
try:
|
|
1648
|
+
params = request._serialize()
|
|
1649
|
+
headers = request.headers
|
|
1650
|
+
body = self.call("QuitOrganization", params, headers=headers)
|
|
1651
|
+
response = json.loads(body)
|
|
1652
|
+
model = models.QuitOrganizationResponse()
|
|
1653
|
+
model._deserialize(response["Response"])
|
|
1654
|
+
return model
|
|
1655
|
+
except Exception as e:
|
|
1656
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1657
|
+
raise
|
|
1658
|
+
else:
|
|
1659
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1660
|
+
|
|
1661
|
+
|
|
1363
1662
|
def RemoveExternalSAMLIdPCertificate(self, request):
|
|
1364
1663
|
"""This API is used to remove SAML signing certificates.
|
|
1365
1664
|
|
|
@@ -1452,6 +1751,29 @@ class OrganizationClient(AbstractClient):
|
|
|
1452
1751
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1453
1752
|
|
|
1454
1753
|
|
|
1754
|
+
def UpdateCustomPolicyForRoleConfiguration(self, request):
|
|
1755
|
+
"""This API is used to modify a custom policy for permission configurations.
|
|
1756
|
+
|
|
1757
|
+
:param request: Request instance for UpdateCustomPolicyForRoleConfiguration.
|
|
1758
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.UpdateCustomPolicyForRoleConfigurationRequest`
|
|
1759
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.UpdateCustomPolicyForRoleConfigurationResponse`
|
|
1760
|
+
|
|
1761
|
+
"""
|
|
1762
|
+
try:
|
|
1763
|
+
params = request._serialize()
|
|
1764
|
+
headers = request.headers
|
|
1765
|
+
body = self.call("UpdateCustomPolicyForRoleConfiguration", params, headers=headers)
|
|
1766
|
+
response = json.loads(body)
|
|
1767
|
+
model = models.UpdateCustomPolicyForRoleConfigurationResponse()
|
|
1768
|
+
model._deserialize(response["Response"])
|
|
1769
|
+
return model
|
|
1770
|
+
except Exception as e:
|
|
1771
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1772
|
+
raise
|
|
1773
|
+
else:
|
|
1774
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1775
|
+
|
|
1776
|
+
|
|
1455
1777
|
def UpdateGroup(self, request):
|
|
1456
1778
|
"""This API is used to modify user group information.
|
|
1457
1779
|
|
|
@@ -1475,6 +1797,52 @@ class OrganizationClient(AbstractClient):
|
|
|
1475
1797
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1476
1798
|
|
|
1477
1799
|
|
|
1800
|
+
def UpdateOrganizationIdentity(self, request):
|
|
1801
|
+
"""This API is used to update an organization identity.
|
|
1802
|
+
|
|
1803
|
+
:param request: Request instance for UpdateOrganizationIdentity.
|
|
1804
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.UpdateOrganizationIdentityRequest`
|
|
1805
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.UpdateOrganizationIdentityResponse`
|
|
1806
|
+
|
|
1807
|
+
"""
|
|
1808
|
+
try:
|
|
1809
|
+
params = request._serialize()
|
|
1810
|
+
headers = request.headers
|
|
1811
|
+
body = self.call("UpdateOrganizationIdentity", params, headers=headers)
|
|
1812
|
+
response = json.loads(body)
|
|
1813
|
+
model = models.UpdateOrganizationIdentityResponse()
|
|
1814
|
+
model._deserialize(response["Response"])
|
|
1815
|
+
return model
|
|
1816
|
+
except Exception as e:
|
|
1817
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1818
|
+
raise
|
|
1819
|
+
else:
|
|
1820
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
def UpdateOrganizationMember(self, request):
|
|
1824
|
+
"""This API is used to update organization member information.
|
|
1825
|
+
|
|
1826
|
+
:param request: Request instance for UpdateOrganizationMember.
|
|
1827
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.UpdateOrganizationMemberRequest`
|
|
1828
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.UpdateOrganizationMemberResponse`
|
|
1829
|
+
|
|
1830
|
+
"""
|
|
1831
|
+
try:
|
|
1832
|
+
params = request._serialize()
|
|
1833
|
+
headers = request.headers
|
|
1834
|
+
body = self.call("UpdateOrganizationMember", params, headers=headers)
|
|
1835
|
+
response = json.loads(body)
|
|
1836
|
+
model = models.UpdateOrganizationMemberResponse()
|
|
1837
|
+
model._deserialize(response["Response"])
|
|
1838
|
+
return model
|
|
1839
|
+
except Exception as e:
|
|
1840
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1841
|
+
raise
|
|
1842
|
+
else:
|
|
1843
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1844
|
+
|
|
1845
|
+
|
|
1478
1846
|
def UpdateOrganizationNode(self, request):
|
|
1479
1847
|
"""This API is used to update an organization node.
|
|
1480
1848
|
|
|
@@ -1521,6 +1889,52 @@ class OrganizationClient(AbstractClient):
|
|
|
1521
1889
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1522
1890
|
|
|
1523
1891
|
|
|
1892
|
+
def UpdateSCIMCredentialStatus(self, request):
|
|
1893
|
+
"""This API is used to enable or disable a SCIM key.
|
|
1894
|
+
|
|
1895
|
+
:param request: Request instance for UpdateSCIMCredentialStatus.
|
|
1896
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.UpdateSCIMCredentialStatusRequest`
|
|
1897
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.UpdateSCIMCredentialStatusResponse`
|
|
1898
|
+
|
|
1899
|
+
"""
|
|
1900
|
+
try:
|
|
1901
|
+
params = request._serialize()
|
|
1902
|
+
headers = request.headers
|
|
1903
|
+
body = self.call("UpdateSCIMCredentialStatus", params, headers=headers)
|
|
1904
|
+
response = json.loads(body)
|
|
1905
|
+
model = models.UpdateSCIMCredentialStatusResponse()
|
|
1906
|
+
model._deserialize(response["Response"])
|
|
1907
|
+
return model
|
|
1908
|
+
except Exception as e:
|
|
1909
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1910
|
+
raise
|
|
1911
|
+
else:
|
|
1912
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1913
|
+
|
|
1914
|
+
|
|
1915
|
+
def UpdateSCIMSynchronizationStatus(self, request):
|
|
1916
|
+
"""This API is used to enable or disable user SCIM synchronization.
|
|
1917
|
+
|
|
1918
|
+
:param request: Request instance for UpdateSCIMSynchronizationStatus.
|
|
1919
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.UpdateSCIMSynchronizationStatusRequest`
|
|
1920
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.UpdateSCIMSynchronizationStatusResponse`
|
|
1921
|
+
|
|
1922
|
+
"""
|
|
1923
|
+
try:
|
|
1924
|
+
params = request._serialize()
|
|
1925
|
+
headers = request.headers
|
|
1926
|
+
body = self.call("UpdateSCIMSynchronizationStatus", params, headers=headers)
|
|
1927
|
+
response = json.loads(body)
|
|
1928
|
+
model = models.UpdateSCIMSynchronizationStatusResponse()
|
|
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
|
+
|
|
1524
1938
|
def UpdateUser(self, request):
|
|
1525
1939
|
"""This API is used to modify user information.
|
|
1526
1940
|
|
|
@@ -674,6 +674,9 @@ UNSUPPORTEDOPERATION_ALIASBIND = 'UnsupportedOperation.AliasBind'
|
|
|
674
674
|
# Cdn is not supported.
|
|
675
675
|
UNSUPPORTEDOPERATION_CDN = 'UnsupportedOperation.Cdn'
|
|
676
676
|
|
|
677
|
+
#
|
|
678
|
+
UNSUPPORTEDOPERATION_COPYFUNCTION = 'UnsupportedOperation.CopyFunction'
|
|
679
|
+
|
|
677
680
|
# Cos operation is not supported.
|
|
678
681
|
UNSUPPORTEDOPERATION_COS = 'UnsupportedOperation.Cos'
|
|
679
682
|
|
|
@@ -778,14 +778,14 @@ class CopyFunctionResponse(AbstractModel):
|
|
|
778
778
|
|
|
779
779
|
def __init__(self):
|
|
780
780
|
r"""
|
|
781
|
-
:param _RequestId: The unique request ID,
|
|
781
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
782
782
|
:type RequestId: str
|
|
783
783
|
"""
|
|
784
784
|
self._RequestId = None
|
|
785
785
|
|
|
786
786
|
@property
|
|
787
787
|
def RequestId(self):
|
|
788
|
-
"""The unique request ID,
|
|
788
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
789
789
|
:rtype: str
|
|
790
790
|
"""
|
|
791
791
|
return self._RequestId
|
|
@@ -266,6 +266,9 @@ UNAUTHORIZEDOPERATION_SERVICESUSPENDDUETOARREARS = 'UnauthorizedOperation.Servic
|
|
|
266
266
|
# Failed to verify `SmsSdkAppId`. Please check whether [SmsSdkAppId](https://console.cloud.tencent.com/smsv2/app-manage) is under the account associated with the [TencentCloud API key](https://console.cloud.tencent.com/cam/capi).
|
|
267
267
|
UNAUTHORIZEDOPERATION_SMSSDKAPPIDVERIFYFAIL = 'UnauthorizedOperation.SmsSdkAppIdVerifyFail'
|
|
268
268
|
|
|
269
|
+
#
|
|
270
|
+
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
271
|
+
|
|
269
272
|
# The request is not supported.
|
|
270
273
|
UNSUPPORTEDOPERATION_ = 'UnsupportedOperation.'
|
|
271
274
|
|
|
@@ -278,5 +281,5 @@ UNSUPPORTEDOPERATION_CONTAINDOMESTICANDINTERNATIONALPHONENUMBER = 'UnsupportedOp
|
|
|
278
281
|
# A Global SMS template cannot be used to sent messages to Chinese mainland numbers. Please use a Chinese Mainland SMS template instead.
|
|
279
282
|
UNSUPPORTEDOPERATION_GLOBALTEMPLATETOCHINESEMAINLANDPHONE = 'UnsupportedOperation.GlobalTemplateToChineseMainlandPhone'
|
|
280
283
|
|
|
281
|
-
#
|
|
284
|
+
# Not supported in this area.
|
|
282
285
|
UNSUPPORTEDOPERATION_UNSUPPORTEDREGION = 'UnsupportedOperation.UnsupportedRegion'
|
|
@@ -164,6 +164,9 @@ RESOURCENOTFOUND_INVOCATIONNOTFOUND = 'ResourceNotFound.InvocationNotFound'
|
|
|
164
164
|
# The role does not exist.
|
|
165
165
|
RESOURCENOTFOUND_ROLENOTFOUND = 'ResourceNotFound.RoleNotFound'
|
|
166
166
|
|
|
167
|
+
#
|
|
168
|
+
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
|
169
|
+
|
|
167
170
|
# TAT Agent is not installed.
|
|
168
171
|
RESOURCEUNAVAILABLE_AGENTNOTINSTALLED = 'ResourceUnavailable.AgentNotInstalled'
|
|
169
172
|
|
|
@@ -182,6 +185,12 @@ RESOURCEUNAVAILABLE_INSTANCESTATENOTRUNNING = 'ResourceUnavailable.InstanceState
|
|
|
182
185
|
# Lighthouse is not supported in the region.
|
|
183
186
|
RESOURCEUNAVAILABLE_LIGHTHOUSEUNSUPPORTEDREGION = 'ResourceUnavailable.LighthouseUnsupportedRegion'
|
|
184
187
|
|
|
188
|
+
#
|
|
189
|
+
RESOURCEUNAVAILABLE_USERHASNOQUOTACODE = 'ResourceUnavailable.UserHasNoQuotaCode'
|
|
190
|
+
|
|
191
|
+
#
|
|
192
|
+
UNAUTHORIZEDOPERATION_ASSUMEROLEUNAUTHORIZED = 'UnauthorizedOperation.AssumeRoleUnauthorized'
|
|
193
|
+
|
|
185
194
|
# CAM authentication failed.
|
|
186
195
|
UNAUTHORIZEDOPERATION_CAMAUTHFAILED = 'UnauthorizedOperation.CamAuthFailed'
|
|
187
196
|
|
|
@@ -196,3 +205,6 @@ UNAUTHORIZEDOPERATION_MFANOTFOUND = 'UnauthorizedOperation.MFANotFound'
|
|
|
196
205
|
|
|
197
206
|
# Unknown parameter error.
|
|
198
207
|
UNKNOWNPARAMETER = 'UnknownParameter'
|
|
208
|
+
|
|
209
|
+
#
|
|
210
|
+
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|