alibabacloud-eiam20211201 2.7.1__py3-none-any.whl → 2.8.0__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.
- alibabacloud_eiam20211201/__init__.py +1 -1
- alibabacloud_eiam20211201/client.py +1293 -181
- alibabacloud_eiam20211201/models.py +1730 -449
- {alibabacloud_eiam20211201-2.7.1.dist-info → alibabacloud_eiam20211201-2.8.0.dist-info}/METADATA +1 -1
- alibabacloud_eiam20211201-2.8.0.dist-info/RECORD +8 -0
- alibabacloud_eiam20211201-2.7.1.dist-info/RECORD +0 -8
- {alibabacloud_eiam20211201-2.7.1.dist-info → alibabacloud_eiam20211201-2.8.0.dist-info}/LICENSE +0 -0
- {alibabacloud_eiam20211201-2.7.1.dist-info → alibabacloud_eiam20211201-2.8.0.dist-info}/WHEEL +0 -0
- {alibabacloud_eiam20211201-2.7.1.dist-info → alibabacloud_eiam20211201-2.8.0.dist-info}/top_level.txt +0 -0
|
@@ -4534,6 +4534,119 @@ class CreateIdentityProviderResponse(TeaModel):
|
|
|
4534
4534
|
return self
|
|
4535
4535
|
|
|
4536
4536
|
|
|
4537
|
+
class CreateIdentityProviderStatusCheckJobRequest(TeaModel):
|
|
4538
|
+
def __init__(
|
|
4539
|
+
self,
|
|
4540
|
+
identity_provider_id: str = None,
|
|
4541
|
+
instance_id: str = None,
|
|
4542
|
+
):
|
|
4543
|
+
# IDaaS的身份提供方主键id
|
|
4544
|
+
#
|
|
4545
|
+
# This parameter is required.
|
|
4546
|
+
self.identity_provider_id = identity_provider_id
|
|
4547
|
+
# IDaaS EIAM实例的ID。
|
|
4548
|
+
#
|
|
4549
|
+
# This parameter is required.
|
|
4550
|
+
self.instance_id = instance_id
|
|
4551
|
+
|
|
4552
|
+
def validate(self):
|
|
4553
|
+
pass
|
|
4554
|
+
|
|
4555
|
+
def to_map(self):
|
|
4556
|
+
_map = super().to_map()
|
|
4557
|
+
if _map is not None:
|
|
4558
|
+
return _map
|
|
4559
|
+
|
|
4560
|
+
result = dict()
|
|
4561
|
+
if self.identity_provider_id is not None:
|
|
4562
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
4563
|
+
if self.instance_id is not None:
|
|
4564
|
+
result['InstanceId'] = self.instance_id
|
|
4565
|
+
return result
|
|
4566
|
+
|
|
4567
|
+
def from_map(self, m: dict = None):
|
|
4568
|
+
m = m or dict()
|
|
4569
|
+
if m.get('IdentityProviderId') is not None:
|
|
4570
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
4571
|
+
if m.get('InstanceId') is not None:
|
|
4572
|
+
self.instance_id = m.get('InstanceId')
|
|
4573
|
+
return self
|
|
4574
|
+
|
|
4575
|
+
|
|
4576
|
+
class CreateIdentityProviderStatusCheckJobResponseBody(TeaModel):
|
|
4577
|
+
def __init__(
|
|
4578
|
+
self,
|
|
4579
|
+
identity_provider_status_check_job_id: str = None,
|
|
4580
|
+
request_id: str = None,
|
|
4581
|
+
):
|
|
4582
|
+
self.identity_provider_status_check_job_id = identity_provider_status_check_job_id
|
|
4583
|
+
self.request_id = request_id
|
|
4584
|
+
|
|
4585
|
+
def validate(self):
|
|
4586
|
+
pass
|
|
4587
|
+
|
|
4588
|
+
def to_map(self):
|
|
4589
|
+
_map = super().to_map()
|
|
4590
|
+
if _map is not None:
|
|
4591
|
+
return _map
|
|
4592
|
+
|
|
4593
|
+
result = dict()
|
|
4594
|
+
if self.identity_provider_status_check_job_id is not None:
|
|
4595
|
+
result['IdentityProviderStatusCheckJobId'] = self.identity_provider_status_check_job_id
|
|
4596
|
+
if self.request_id is not None:
|
|
4597
|
+
result['RequestId'] = self.request_id
|
|
4598
|
+
return result
|
|
4599
|
+
|
|
4600
|
+
def from_map(self, m: dict = None):
|
|
4601
|
+
m = m or dict()
|
|
4602
|
+
if m.get('IdentityProviderStatusCheckJobId') is not None:
|
|
4603
|
+
self.identity_provider_status_check_job_id = m.get('IdentityProviderStatusCheckJobId')
|
|
4604
|
+
if m.get('RequestId') is not None:
|
|
4605
|
+
self.request_id = m.get('RequestId')
|
|
4606
|
+
return self
|
|
4607
|
+
|
|
4608
|
+
|
|
4609
|
+
class CreateIdentityProviderStatusCheckJobResponse(TeaModel):
|
|
4610
|
+
def __init__(
|
|
4611
|
+
self,
|
|
4612
|
+
headers: Dict[str, str] = None,
|
|
4613
|
+
status_code: int = None,
|
|
4614
|
+
body: CreateIdentityProviderStatusCheckJobResponseBody = None,
|
|
4615
|
+
):
|
|
4616
|
+
self.headers = headers
|
|
4617
|
+
self.status_code = status_code
|
|
4618
|
+
self.body = body
|
|
4619
|
+
|
|
4620
|
+
def validate(self):
|
|
4621
|
+
if self.body:
|
|
4622
|
+
self.body.validate()
|
|
4623
|
+
|
|
4624
|
+
def to_map(self):
|
|
4625
|
+
_map = super().to_map()
|
|
4626
|
+
if _map is not None:
|
|
4627
|
+
return _map
|
|
4628
|
+
|
|
4629
|
+
result = dict()
|
|
4630
|
+
if self.headers is not None:
|
|
4631
|
+
result['headers'] = self.headers
|
|
4632
|
+
if self.status_code is not None:
|
|
4633
|
+
result['statusCode'] = self.status_code
|
|
4634
|
+
if self.body is not None:
|
|
4635
|
+
result['body'] = self.body.to_map()
|
|
4636
|
+
return result
|
|
4637
|
+
|
|
4638
|
+
def from_map(self, m: dict = None):
|
|
4639
|
+
m = m or dict()
|
|
4640
|
+
if m.get('headers') is not None:
|
|
4641
|
+
self.headers = m.get('headers')
|
|
4642
|
+
if m.get('statusCode') is not None:
|
|
4643
|
+
self.status_code = m.get('statusCode')
|
|
4644
|
+
if m.get('body') is not None:
|
|
4645
|
+
temp_model = CreateIdentityProviderStatusCheckJobResponseBody()
|
|
4646
|
+
self.body = temp_model.from_map(m['body'])
|
|
4647
|
+
return self
|
|
4648
|
+
|
|
4649
|
+
|
|
4537
4650
|
class CreateInstanceRequest(TeaModel):
|
|
4538
4651
|
def __init__(
|
|
4539
4652
|
self,
|
|
@@ -7362,20 +7475,20 @@ class DeleteUserResponse(TeaModel):
|
|
|
7362
7475
|
return self
|
|
7363
7476
|
|
|
7364
7477
|
|
|
7365
|
-
class
|
|
7478
|
+
class DeleteUsersRequest(TeaModel):
|
|
7366
7479
|
def __init__(
|
|
7367
7480
|
self,
|
|
7368
|
-
application_id: str = None,
|
|
7369
7481
|
instance_id: str = None,
|
|
7482
|
+
user_ids: List[str] = None,
|
|
7370
7483
|
):
|
|
7371
|
-
#
|
|
7484
|
+
# IDaaS EIAM实例的ID。
|
|
7372
7485
|
#
|
|
7373
7486
|
# This parameter is required.
|
|
7374
|
-
self.
|
|
7375
|
-
#
|
|
7487
|
+
self.instance_id = instance_id
|
|
7488
|
+
# 账号ID列表
|
|
7376
7489
|
#
|
|
7377
7490
|
# This parameter is required.
|
|
7378
|
-
self.
|
|
7491
|
+
self.user_ids = user_ids
|
|
7379
7492
|
|
|
7380
7493
|
def validate(self):
|
|
7381
7494
|
pass
|
|
@@ -7386,27 +7499,26 @@ class DisableApplicationRequest(TeaModel):
|
|
|
7386
7499
|
return _map
|
|
7387
7500
|
|
|
7388
7501
|
result = dict()
|
|
7389
|
-
if self.application_id is not None:
|
|
7390
|
-
result['ApplicationId'] = self.application_id
|
|
7391
7502
|
if self.instance_id is not None:
|
|
7392
7503
|
result['InstanceId'] = self.instance_id
|
|
7504
|
+
if self.user_ids is not None:
|
|
7505
|
+
result['UserIds'] = self.user_ids
|
|
7393
7506
|
return result
|
|
7394
7507
|
|
|
7395
7508
|
def from_map(self, m: dict = None):
|
|
7396
7509
|
m = m or dict()
|
|
7397
|
-
if m.get('ApplicationId') is not None:
|
|
7398
|
-
self.application_id = m.get('ApplicationId')
|
|
7399
7510
|
if m.get('InstanceId') is not None:
|
|
7400
7511
|
self.instance_id = m.get('InstanceId')
|
|
7512
|
+
if m.get('UserIds') is not None:
|
|
7513
|
+
self.user_ids = m.get('UserIds')
|
|
7401
7514
|
return self
|
|
7402
7515
|
|
|
7403
7516
|
|
|
7404
|
-
class
|
|
7517
|
+
class DeleteUsersResponseBody(TeaModel):
|
|
7405
7518
|
def __init__(
|
|
7406
7519
|
self,
|
|
7407
7520
|
request_id: str = None,
|
|
7408
7521
|
):
|
|
7409
|
-
# The ID of the request.
|
|
7410
7522
|
self.request_id = request_id
|
|
7411
7523
|
|
|
7412
7524
|
def validate(self):
|
|
@@ -7429,12 +7541,12 @@ class DisableApplicationResponseBody(TeaModel):
|
|
|
7429
7541
|
return self
|
|
7430
7542
|
|
|
7431
7543
|
|
|
7432
|
-
class
|
|
7544
|
+
class DeleteUsersResponse(TeaModel):
|
|
7433
7545
|
def __init__(
|
|
7434
7546
|
self,
|
|
7435
7547
|
headers: Dict[str, str] = None,
|
|
7436
7548
|
status_code: int = None,
|
|
7437
|
-
body:
|
|
7549
|
+
body: DeleteUsersResponseBody = None,
|
|
7438
7550
|
):
|
|
7439
7551
|
self.headers = headers
|
|
7440
7552
|
self.status_code = status_code
|
|
@@ -7465,25 +7577,30 @@ class DisableApplicationResponse(TeaModel):
|
|
|
7465
7577
|
if m.get('statusCode') is not None:
|
|
7466
7578
|
self.status_code = m.get('statusCode')
|
|
7467
7579
|
if m.get('body') is not None:
|
|
7468
|
-
temp_model =
|
|
7580
|
+
temp_model = DeleteUsersResponseBody()
|
|
7469
7581
|
self.body = temp_model.from_map(m['body'])
|
|
7470
7582
|
return self
|
|
7471
7583
|
|
|
7472
7584
|
|
|
7473
|
-
class
|
|
7585
|
+
class DeleteWebAuthnAuthenticatorRequest(TeaModel):
|
|
7474
7586
|
def __init__(
|
|
7475
7587
|
self,
|
|
7476
|
-
|
|
7588
|
+
authenticator_id: str = None,
|
|
7477
7589
|
instance_id: str = None,
|
|
7590
|
+
user_id: str = None,
|
|
7478
7591
|
):
|
|
7479
|
-
#
|
|
7592
|
+
# 认证器ID
|
|
7480
7593
|
#
|
|
7481
7594
|
# This parameter is required.
|
|
7482
|
-
self.
|
|
7483
|
-
#
|
|
7595
|
+
self.authenticator_id = authenticator_id
|
|
7596
|
+
# IDaaS EIAM实例的ID。
|
|
7484
7597
|
#
|
|
7485
7598
|
# This parameter is required.
|
|
7486
7599
|
self.instance_id = instance_id
|
|
7600
|
+
# UserID
|
|
7601
|
+
#
|
|
7602
|
+
# This parameter is required.
|
|
7603
|
+
self.user_id = user_id
|
|
7487
7604
|
|
|
7488
7605
|
def validate(self):
|
|
7489
7606
|
pass
|
|
@@ -7494,27 +7611,30 @@ class DisableApplicationApiInvokeRequest(TeaModel):
|
|
|
7494
7611
|
return _map
|
|
7495
7612
|
|
|
7496
7613
|
result = dict()
|
|
7497
|
-
if self.
|
|
7498
|
-
result['
|
|
7614
|
+
if self.authenticator_id is not None:
|
|
7615
|
+
result['AuthenticatorId'] = self.authenticator_id
|
|
7499
7616
|
if self.instance_id is not None:
|
|
7500
7617
|
result['InstanceId'] = self.instance_id
|
|
7618
|
+
if self.user_id is not None:
|
|
7619
|
+
result['UserId'] = self.user_id
|
|
7501
7620
|
return result
|
|
7502
7621
|
|
|
7503
7622
|
def from_map(self, m: dict = None):
|
|
7504
7623
|
m = m or dict()
|
|
7505
|
-
if m.get('
|
|
7506
|
-
self.
|
|
7624
|
+
if m.get('AuthenticatorId') is not None:
|
|
7625
|
+
self.authenticator_id = m.get('AuthenticatorId')
|
|
7507
7626
|
if m.get('InstanceId') is not None:
|
|
7508
7627
|
self.instance_id = m.get('InstanceId')
|
|
7628
|
+
if m.get('UserId') is not None:
|
|
7629
|
+
self.user_id = m.get('UserId')
|
|
7509
7630
|
return self
|
|
7510
7631
|
|
|
7511
7632
|
|
|
7512
|
-
class
|
|
7633
|
+
class DeleteWebAuthnAuthenticatorResponseBody(TeaModel):
|
|
7513
7634
|
def __init__(
|
|
7514
7635
|
self,
|
|
7515
7636
|
request_id: str = None,
|
|
7516
7637
|
):
|
|
7517
|
-
# The ID of the request.
|
|
7518
7638
|
self.request_id = request_id
|
|
7519
7639
|
|
|
7520
7640
|
def validate(self):
|
|
@@ -7537,12 +7657,12 @@ class DisableApplicationApiInvokeResponseBody(TeaModel):
|
|
|
7537
7657
|
return self
|
|
7538
7658
|
|
|
7539
7659
|
|
|
7540
|
-
class
|
|
7660
|
+
class DeleteWebAuthnAuthenticatorResponse(TeaModel):
|
|
7541
7661
|
def __init__(
|
|
7542
7662
|
self,
|
|
7543
7663
|
headers: Dict[str, str] = None,
|
|
7544
7664
|
status_code: int = None,
|
|
7545
|
-
body:
|
|
7665
|
+
body: DeleteWebAuthnAuthenticatorResponseBody = None,
|
|
7546
7666
|
):
|
|
7547
7667
|
self.headers = headers
|
|
7548
7668
|
self.status_code = status_code
|
|
@@ -7573,19 +7693,18 @@ class DisableApplicationApiInvokeResponse(TeaModel):
|
|
|
7573
7693
|
if m.get('statusCode') is not None:
|
|
7574
7694
|
self.status_code = m.get('statusCode')
|
|
7575
7695
|
if m.get('body') is not None:
|
|
7576
|
-
temp_model =
|
|
7696
|
+
temp_model = DeleteWebAuthnAuthenticatorResponseBody()
|
|
7577
7697
|
self.body = temp_model.from_map(m['body'])
|
|
7578
7698
|
return self
|
|
7579
7699
|
|
|
7580
7700
|
|
|
7581
|
-
class
|
|
7701
|
+
class DisableApplicationRequest(TeaModel):
|
|
7582
7702
|
def __init__(
|
|
7583
7703
|
self,
|
|
7584
7704
|
application_id: str = None,
|
|
7585
7705
|
instance_id: str = None,
|
|
7586
|
-
secret_id: str = None,
|
|
7587
7706
|
):
|
|
7588
|
-
# The ID of the application
|
|
7707
|
+
# The ID of the application that you want to disable.
|
|
7589
7708
|
#
|
|
7590
7709
|
# This parameter is required.
|
|
7591
7710
|
self.application_id = application_id
|
|
@@ -7593,10 +7712,6 @@ class DisableApplicationClientSecretRequest(TeaModel):
|
|
|
7593
7712
|
#
|
|
7594
7713
|
# This parameter is required.
|
|
7595
7714
|
self.instance_id = instance_id
|
|
7596
|
-
# The client key ID of the application.
|
|
7597
|
-
#
|
|
7598
|
-
# This parameter is required.
|
|
7599
|
-
self.secret_id = secret_id
|
|
7600
7715
|
|
|
7601
7716
|
def validate(self):
|
|
7602
7717
|
pass
|
|
@@ -7611,8 +7726,6 @@ class DisableApplicationClientSecretRequest(TeaModel):
|
|
|
7611
7726
|
result['ApplicationId'] = self.application_id
|
|
7612
7727
|
if self.instance_id is not None:
|
|
7613
7728
|
result['InstanceId'] = self.instance_id
|
|
7614
|
-
if self.secret_id is not None:
|
|
7615
|
-
result['SecretId'] = self.secret_id
|
|
7616
7729
|
return result
|
|
7617
7730
|
|
|
7618
7731
|
def from_map(self, m: dict = None):
|
|
@@ -7621,12 +7734,10 @@ class DisableApplicationClientSecretRequest(TeaModel):
|
|
|
7621
7734
|
self.application_id = m.get('ApplicationId')
|
|
7622
7735
|
if m.get('InstanceId') is not None:
|
|
7623
7736
|
self.instance_id = m.get('InstanceId')
|
|
7624
|
-
if m.get('SecretId') is not None:
|
|
7625
|
-
self.secret_id = m.get('SecretId')
|
|
7626
7737
|
return self
|
|
7627
7738
|
|
|
7628
7739
|
|
|
7629
|
-
class
|
|
7740
|
+
class DisableApplicationResponseBody(TeaModel):
|
|
7630
7741
|
def __init__(
|
|
7631
7742
|
self,
|
|
7632
7743
|
request_id: str = None,
|
|
@@ -7654,12 +7765,12 @@ class DisableApplicationClientSecretResponseBody(TeaModel):
|
|
|
7654
7765
|
return self
|
|
7655
7766
|
|
|
7656
7767
|
|
|
7657
|
-
class
|
|
7768
|
+
class DisableApplicationResponse(TeaModel):
|
|
7658
7769
|
def __init__(
|
|
7659
7770
|
self,
|
|
7660
7771
|
headers: Dict[str, str] = None,
|
|
7661
7772
|
status_code: int = None,
|
|
7662
|
-
body:
|
|
7773
|
+
body: DisableApplicationResponseBody = None,
|
|
7663
7774
|
):
|
|
7664
7775
|
self.headers = headers
|
|
7665
7776
|
self.status_code = status_code
|
|
@@ -7690,27 +7801,22 @@ class DisableApplicationClientSecretResponse(TeaModel):
|
|
|
7690
7801
|
if m.get('statusCode') is not None:
|
|
7691
7802
|
self.status_code = m.get('statusCode')
|
|
7692
7803
|
if m.get('body') is not None:
|
|
7693
|
-
temp_model =
|
|
7804
|
+
temp_model = DisableApplicationResponseBody()
|
|
7694
7805
|
self.body = temp_model.from_map(m['body'])
|
|
7695
7806
|
return self
|
|
7696
7807
|
|
|
7697
7808
|
|
|
7698
|
-
class
|
|
7809
|
+
class DisableApplicationApiInvokeRequest(TeaModel):
|
|
7699
7810
|
def __init__(
|
|
7700
7811
|
self,
|
|
7701
|
-
application_federated_credential_id: str = None,
|
|
7702
7812
|
application_id: str = None,
|
|
7703
7813
|
instance_id: str = None,
|
|
7704
7814
|
):
|
|
7705
|
-
#
|
|
7706
|
-
#
|
|
7707
|
-
# This parameter is required.
|
|
7708
|
-
self.application_federated_credential_id = application_federated_credential_id
|
|
7709
|
-
# IDaaS的应用资源ID。
|
|
7815
|
+
# The ID of the application.
|
|
7710
7816
|
#
|
|
7711
7817
|
# This parameter is required.
|
|
7712
7818
|
self.application_id = application_id
|
|
7713
|
-
#
|
|
7819
|
+
# The ID of the instance.
|
|
7714
7820
|
#
|
|
7715
7821
|
# This parameter is required.
|
|
7716
7822
|
self.instance_id = instance_id
|
|
@@ -7724,8 +7830,6 @@ class DisableApplicationFederatedCredentialRequest(TeaModel):
|
|
|
7724
7830
|
return _map
|
|
7725
7831
|
|
|
7726
7832
|
result = dict()
|
|
7727
|
-
if self.application_federated_credential_id is not None:
|
|
7728
|
-
result['ApplicationFederatedCredentialId'] = self.application_federated_credential_id
|
|
7729
7833
|
if self.application_id is not None:
|
|
7730
7834
|
result['ApplicationId'] = self.application_id
|
|
7731
7835
|
if self.instance_id is not None:
|
|
@@ -7734,8 +7838,6 @@ class DisableApplicationFederatedCredentialRequest(TeaModel):
|
|
|
7734
7838
|
|
|
7735
7839
|
def from_map(self, m: dict = None):
|
|
7736
7840
|
m = m or dict()
|
|
7737
|
-
if m.get('ApplicationFederatedCredentialId') is not None:
|
|
7738
|
-
self.application_federated_credential_id = m.get('ApplicationFederatedCredentialId')
|
|
7739
7841
|
if m.get('ApplicationId') is not None:
|
|
7740
7842
|
self.application_id = m.get('ApplicationId')
|
|
7741
7843
|
if m.get('InstanceId') is not None:
|
|
@@ -7743,11 +7845,12 @@ class DisableApplicationFederatedCredentialRequest(TeaModel):
|
|
|
7743
7845
|
return self
|
|
7744
7846
|
|
|
7745
7847
|
|
|
7746
|
-
class
|
|
7848
|
+
class DisableApplicationApiInvokeResponseBody(TeaModel):
|
|
7747
7849
|
def __init__(
|
|
7748
7850
|
self,
|
|
7749
7851
|
request_id: str = None,
|
|
7750
7852
|
):
|
|
7853
|
+
# The ID of the request.
|
|
7751
7854
|
self.request_id = request_id
|
|
7752
7855
|
|
|
7753
7856
|
def validate(self):
|
|
@@ -7770,12 +7873,12 @@ class DisableApplicationFederatedCredentialResponseBody(TeaModel):
|
|
|
7770
7873
|
return self
|
|
7771
7874
|
|
|
7772
7875
|
|
|
7773
|
-
class
|
|
7876
|
+
class DisableApplicationApiInvokeResponse(TeaModel):
|
|
7774
7877
|
def __init__(
|
|
7775
7878
|
self,
|
|
7776
7879
|
headers: Dict[str, str] = None,
|
|
7777
7880
|
status_code: int = None,
|
|
7778
|
-
body:
|
|
7881
|
+
body: DisableApplicationApiInvokeResponseBody = None,
|
|
7779
7882
|
):
|
|
7780
7883
|
self.headers = headers
|
|
7781
7884
|
self.status_code = status_code
|
|
@@ -7806,18 +7909,19 @@ class DisableApplicationFederatedCredentialResponse(TeaModel):
|
|
|
7806
7909
|
if m.get('statusCode') is not None:
|
|
7807
7910
|
self.status_code = m.get('statusCode')
|
|
7808
7911
|
if m.get('body') is not None:
|
|
7809
|
-
temp_model =
|
|
7912
|
+
temp_model = DisableApplicationApiInvokeResponseBody()
|
|
7810
7913
|
self.body = temp_model.from_map(m['body'])
|
|
7811
7914
|
return self
|
|
7812
7915
|
|
|
7813
7916
|
|
|
7814
|
-
class
|
|
7917
|
+
class DisableApplicationClientSecretRequest(TeaModel):
|
|
7815
7918
|
def __init__(
|
|
7816
7919
|
self,
|
|
7817
7920
|
application_id: str = None,
|
|
7818
7921
|
instance_id: str = None,
|
|
7922
|
+
secret_id: str = None,
|
|
7819
7923
|
):
|
|
7820
|
-
# The ID of the application.
|
|
7924
|
+
# The ID of the application for which you want to disable a client key.
|
|
7821
7925
|
#
|
|
7822
7926
|
# This parameter is required.
|
|
7823
7927
|
self.application_id = application_id
|
|
@@ -7825,6 +7929,10 @@ class DisableApplicationProvisioningRequest(TeaModel):
|
|
|
7825
7929
|
#
|
|
7826
7930
|
# This parameter is required.
|
|
7827
7931
|
self.instance_id = instance_id
|
|
7932
|
+
# The client key ID of the application.
|
|
7933
|
+
#
|
|
7934
|
+
# This parameter is required.
|
|
7935
|
+
self.secret_id = secret_id
|
|
7828
7936
|
|
|
7829
7937
|
def validate(self):
|
|
7830
7938
|
pass
|
|
@@ -7839,6 +7947,8 @@ class DisableApplicationProvisioningRequest(TeaModel):
|
|
|
7839
7947
|
result['ApplicationId'] = self.application_id
|
|
7840
7948
|
if self.instance_id is not None:
|
|
7841
7949
|
result['InstanceId'] = self.instance_id
|
|
7950
|
+
if self.secret_id is not None:
|
|
7951
|
+
result['SecretId'] = self.secret_id
|
|
7842
7952
|
return result
|
|
7843
7953
|
|
|
7844
7954
|
def from_map(self, m: dict = None):
|
|
@@ -7847,10 +7957,12 @@ class DisableApplicationProvisioningRequest(TeaModel):
|
|
|
7847
7957
|
self.application_id = m.get('ApplicationId')
|
|
7848
7958
|
if m.get('InstanceId') is not None:
|
|
7849
7959
|
self.instance_id = m.get('InstanceId')
|
|
7960
|
+
if m.get('SecretId') is not None:
|
|
7961
|
+
self.secret_id = m.get('SecretId')
|
|
7850
7962
|
return self
|
|
7851
7963
|
|
|
7852
7964
|
|
|
7853
|
-
class
|
|
7965
|
+
class DisableApplicationClientSecretResponseBody(TeaModel):
|
|
7854
7966
|
def __init__(
|
|
7855
7967
|
self,
|
|
7856
7968
|
request_id: str = None,
|
|
@@ -7878,12 +7990,12 @@ class DisableApplicationProvisioningResponseBody(TeaModel):
|
|
|
7878
7990
|
return self
|
|
7879
7991
|
|
|
7880
7992
|
|
|
7881
|
-
class
|
|
7993
|
+
class DisableApplicationClientSecretResponse(TeaModel):
|
|
7882
7994
|
def __init__(
|
|
7883
7995
|
self,
|
|
7884
7996
|
headers: Dict[str, str] = None,
|
|
7885
7997
|
status_code: int = None,
|
|
7886
|
-
body:
|
|
7998
|
+
body: DisableApplicationClientSecretResponseBody = None,
|
|
7887
7999
|
):
|
|
7888
8000
|
self.headers = headers
|
|
7889
8001
|
self.status_code = status_code
|
|
@@ -7914,22 +8026,27 @@ class DisableApplicationProvisioningResponse(TeaModel):
|
|
|
7914
8026
|
if m.get('statusCode') is not None:
|
|
7915
8027
|
self.status_code = m.get('statusCode')
|
|
7916
8028
|
if m.get('body') is not None:
|
|
7917
|
-
temp_model =
|
|
8029
|
+
temp_model = DisableApplicationClientSecretResponseBody()
|
|
7918
8030
|
self.body = temp_model.from_map(m['body'])
|
|
7919
8031
|
return self
|
|
7920
8032
|
|
|
7921
8033
|
|
|
7922
|
-
class
|
|
8034
|
+
class DisableApplicationFederatedCredentialRequest(TeaModel):
|
|
7923
8035
|
def __init__(
|
|
7924
8036
|
self,
|
|
8037
|
+
application_federated_credential_id: str = None,
|
|
7925
8038
|
application_id: str = None,
|
|
7926
8039
|
instance_id: str = None,
|
|
7927
8040
|
):
|
|
7928
|
-
#
|
|
8041
|
+
# 应用联邦凭证Id
|
|
8042
|
+
#
|
|
8043
|
+
# This parameter is required.
|
|
8044
|
+
self.application_federated_credential_id = application_federated_credential_id
|
|
8045
|
+
# IDaaS的应用资源ID。
|
|
7929
8046
|
#
|
|
7930
8047
|
# This parameter is required.
|
|
7931
8048
|
self.application_id = application_id
|
|
7932
|
-
#
|
|
8049
|
+
# IDaaS EIAM实例的ID。
|
|
7933
8050
|
#
|
|
7934
8051
|
# This parameter is required.
|
|
7935
8052
|
self.instance_id = instance_id
|
|
@@ -7943,6 +8060,8 @@ class DisableApplicationSsoRequest(TeaModel):
|
|
|
7943
8060
|
return _map
|
|
7944
8061
|
|
|
7945
8062
|
result = dict()
|
|
8063
|
+
if self.application_federated_credential_id is not None:
|
|
8064
|
+
result['ApplicationFederatedCredentialId'] = self.application_federated_credential_id
|
|
7946
8065
|
if self.application_id is not None:
|
|
7947
8066
|
result['ApplicationId'] = self.application_id
|
|
7948
8067
|
if self.instance_id is not None:
|
|
@@ -7951,6 +8070,8 @@ class DisableApplicationSsoRequest(TeaModel):
|
|
|
7951
8070
|
|
|
7952
8071
|
def from_map(self, m: dict = None):
|
|
7953
8072
|
m = m or dict()
|
|
8073
|
+
if m.get('ApplicationFederatedCredentialId') is not None:
|
|
8074
|
+
self.application_federated_credential_id = m.get('ApplicationFederatedCredentialId')
|
|
7954
8075
|
if m.get('ApplicationId') is not None:
|
|
7955
8076
|
self.application_id = m.get('ApplicationId')
|
|
7956
8077
|
if m.get('InstanceId') is not None:
|
|
@@ -7958,12 +8079,11 @@ class DisableApplicationSsoRequest(TeaModel):
|
|
|
7958
8079
|
return self
|
|
7959
8080
|
|
|
7960
8081
|
|
|
7961
|
-
class
|
|
8082
|
+
class DisableApplicationFederatedCredentialResponseBody(TeaModel):
|
|
7962
8083
|
def __init__(
|
|
7963
8084
|
self,
|
|
7964
8085
|
request_id: str = None,
|
|
7965
8086
|
):
|
|
7966
|
-
# The request ID.
|
|
7967
8087
|
self.request_id = request_id
|
|
7968
8088
|
|
|
7969
8089
|
def validate(self):
|
|
@@ -7986,12 +8106,12 @@ class DisableApplicationSsoResponseBody(TeaModel):
|
|
|
7986
8106
|
return self
|
|
7987
8107
|
|
|
7988
8108
|
|
|
7989
|
-
class
|
|
8109
|
+
class DisableApplicationFederatedCredentialResponse(TeaModel):
|
|
7990
8110
|
def __init__(
|
|
7991
8111
|
self,
|
|
7992
8112
|
headers: Dict[str, str] = None,
|
|
7993
8113
|
status_code: int = None,
|
|
7994
|
-
body:
|
|
8114
|
+
body: DisableApplicationFederatedCredentialResponseBody = None,
|
|
7995
8115
|
):
|
|
7996
8116
|
self.headers = headers
|
|
7997
8117
|
self.status_code = status_code
|
|
@@ -8022,27 +8142,22 @@ class DisableApplicationSsoResponse(TeaModel):
|
|
|
8022
8142
|
if m.get('statusCode') is not None:
|
|
8023
8143
|
self.status_code = m.get('statusCode')
|
|
8024
8144
|
if m.get('body') is not None:
|
|
8025
|
-
temp_model =
|
|
8145
|
+
temp_model = DisableApplicationFederatedCredentialResponseBody()
|
|
8026
8146
|
self.body = temp_model.from_map(m['body'])
|
|
8027
8147
|
return self
|
|
8028
8148
|
|
|
8029
8149
|
|
|
8030
|
-
class
|
|
8150
|
+
class DisableApplicationProvisioningRequest(TeaModel):
|
|
8031
8151
|
def __init__(
|
|
8032
8152
|
self,
|
|
8033
8153
|
application_id: str = None,
|
|
8034
|
-
application_token_id: str = None,
|
|
8035
8154
|
instance_id: str = None,
|
|
8036
8155
|
):
|
|
8037
|
-
#
|
|
8156
|
+
# The ID of the application.
|
|
8038
8157
|
#
|
|
8039
8158
|
# This parameter is required.
|
|
8040
8159
|
self.application_id = application_id
|
|
8041
|
-
#
|
|
8042
|
-
#
|
|
8043
|
-
# This parameter is required.
|
|
8044
|
-
self.application_token_id = application_token_id
|
|
8045
|
-
# IDaaS EIAM实例的ID。
|
|
8160
|
+
# The ID of the instance.
|
|
8046
8161
|
#
|
|
8047
8162
|
# This parameter is required.
|
|
8048
8163
|
self.instance_id = instance_id
|
|
@@ -8058,8 +8173,6 @@ class DisableApplicationTokenRequest(TeaModel):
|
|
|
8058
8173
|
result = dict()
|
|
8059
8174
|
if self.application_id is not None:
|
|
8060
8175
|
result['ApplicationId'] = self.application_id
|
|
8061
|
-
if self.application_token_id is not None:
|
|
8062
|
-
result['ApplicationTokenId'] = self.application_token_id
|
|
8063
8176
|
if self.instance_id is not None:
|
|
8064
8177
|
result['InstanceId'] = self.instance_id
|
|
8065
8178
|
return result
|
|
@@ -8068,14 +8181,237 @@ class DisableApplicationTokenRequest(TeaModel):
|
|
|
8068
8181
|
m = m or dict()
|
|
8069
8182
|
if m.get('ApplicationId') is not None:
|
|
8070
8183
|
self.application_id = m.get('ApplicationId')
|
|
8071
|
-
if m.get('ApplicationTokenId') is not None:
|
|
8072
|
-
self.application_token_id = m.get('ApplicationTokenId')
|
|
8073
8184
|
if m.get('InstanceId') is not None:
|
|
8074
8185
|
self.instance_id = m.get('InstanceId')
|
|
8075
8186
|
return self
|
|
8076
8187
|
|
|
8077
8188
|
|
|
8078
|
-
class
|
|
8189
|
+
class DisableApplicationProvisioningResponseBody(TeaModel):
|
|
8190
|
+
def __init__(
|
|
8191
|
+
self,
|
|
8192
|
+
request_id: str = None,
|
|
8193
|
+
):
|
|
8194
|
+
# The ID of the request.
|
|
8195
|
+
self.request_id = request_id
|
|
8196
|
+
|
|
8197
|
+
def validate(self):
|
|
8198
|
+
pass
|
|
8199
|
+
|
|
8200
|
+
def to_map(self):
|
|
8201
|
+
_map = super().to_map()
|
|
8202
|
+
if _map is not None:
|
|
8203
|
+
return _map
|
|
8204
|
+
|
|
8205
|
+
result = dict()
|
|
8206
|
+
if self.request_id is not None:
|
|
8207
|
+
result['RequestId'] = self.request_id
|
|
8208
|
+
return result
|
|
8209
|
+
|
|
8210
|
+
def from_map(self, m: dict = None):
|
|
8211
|
+
m = m or dict()
|
|
8212
|
+
if m.get('RequestId') is not None:
|
|
8213
|
+
self.request_id = m.get('RequestId')
|
|
8214
|
+
return self
|
|
8215
|
+
|
|
8216
|
+
|
|
8217
|
+
class DisableApplicationProvisioningResponse(TeaModel):
|
|
8218
|
+
def __init__(
|
|
8219
|
+
self,
|
|
8220
|
+
headers: Dict[str, str] = None,
|
|
8221
|
+
status_code: int = None,
|
|
8222
|
+
body: DisableApplicationProvisioningResponseBody = None,
|
|
8223
|
+
):
|
|
8224
|
+
self.headers = headers
|
|
8225
|
+
self.status_code = status_code
|
|
8226
|
+
self.body = body
|
|
8227
|
+
|
|
8228
|
+
def validate(self):
|
|
8229
|
+
if self.body:
|
|
8230
|
+
self.body.validate()
|
|
8231
|
+
|
|
8232
|
+
def to_map(self):
|
|
8233
|
+
_map = super().to_map()
|
|
8234
|
+
if _map is not None:
|
|
8235
|
+
return _map
|
|
8236
|
+
|
|
8237
|
+
result = dict()
|
|
8238
|
+
if self.headers is not None:
|
|
8239
|
+
result['headers'] = self.headers
|
|
8240
|
+
if self.status_code is not None:
|
|
8241
|
+
result['statusCode'] = self.status_code
|
|
8242
|
+
if self.body is not None:
|
|
8243
|
+
result['body'] = self.body.to_map()
|
|
8244
|
+
return result
|
|
8245
|
+
|
|
8246
|
+
def from_map(self, m: dict = None):
|
|
8247
|
+
m = m or dict()
|
|
8248
|
+
if m.get('headers') is not None:
|
|
8249
|
+
self.headers = m.get('headers')
|
|
8250
|
+
if m.get('statusCode') is not None:
|
|
8251
|
+
self.status_code = m.get('statusCode')
|
|
8252
|
+
if m.get('body') is not None:
|
|
8253
|
+
temp_model = DisableApplicationProvisioningResponseBody()
|
|
8254
|
+
self.body = temp_model.from_map(m['body'])
|
|
8255
|
+
return self
|
|
8256
|
+
|
|
8257
|
+
|
|
8258
|
+
class DisableApplicationSsoRequest(TeaModel):
|
|
8259
|
+
def __init__(
|
|
8260
|
+
self,
|
|
8261
|
+
application_id: str = None,
|
|
8262
|
+
instance_id: str = None,
|
|
8263
|
+
):
|
|
8264
|
+
# The application ID.
|
|
8265
|
+
#
|
|
8266
|
+
# This parameter is required.
|
|
8267
|
+
self.application_id = application_id
|
|
8268
|
+
# The instance ID.
|
|
8269
|
+
#
|
|
8270
|
+
# This parameter is required.
|
|
8271
|
+
self.instance_id = instance_id
|
|
8272
|
+
|
|
8273
|
+
def validate(self):
|
|
8274
|
+
pass
|
|
8275
|
+
|
|
8276
|
+
def to_map(self):
|
|
8277
|
+
_map = super().to_map()
|
|
8278
|
+
if _map is not None:
|
|
8279
|
+
return _map
|
|
8280
|
+
|
|
8281
|
+
result = dict()
|
|
8282
|
+
if self.application_id is not None:
|
|
8283
|
+
result['ApplicationId'] = self.application_id
|
|
8284
|
+
if self.instance_id is not None:
|
|
8285
|
+
result['InstanceId'] = self.instance_id
|
|
8286
|
+
return result
|
|
8287
|
+
|
|
8288
|
+
def from_map(self, m: dict = None):
|
|
8289
|
+
m = m or dict()
|
|
8290
|
+
if m.get('ApplicationId') is not None:
|
|
8291
|
+
self.application_id = m.get('ApplicationId')
|
|
8292
|
+
if m.get('InstanceId') is not None:
|
|
8293
|
+
self.instance_id = m.get('InstanceId')
|
|
8294
|
+
return self
|
|
8295
|
+
|
|
8296
|
+
|
|
8297
|
+
class DisableApplicationSsoResponseBody(TeaModel):
|
|
8298
|
+
def __init__(
|
|
8299
|
+
self,
|
|
8300
|
+
request_id: str = None,
|
|
8301
|
+
):
|
|
8302
|
+
# The request ID.
|
|
8303
|
+
self.request_id = request_id
|
|
8304
|
+
|
|
8305
|
+
def validate(self):
|
|
8306
|
+
pass
|
|
8307
|
+
|
|
8308
|
+
def to_map(self):
|
|
8309
|
+
_map = super().to_map()
|
|
8310
|
+
if _map is not None:
|
|
8311
|
+
return _map
|
|
8312
|
+
|
|
8313
|
+
result = dict()
|
|
8314
|
+
if self.request_id is not None:
|
|
8315
|
+
result['RequestId'] = self.request_id
|
|
8316
|
+
return result
|
|
8317
|
+
|
|
8318
|
+
def from_map(self, m: dict = None):
|
|
8319
|
+
m = m or dict()
|
|
8320
|
+
if m.get('RequestId') is not None:
|
|
8321
|
+
self.request_id = m.get('RequestId')
|
|
8322
|
+
return self
|
|
8323
|
+
|
|
8324
|
+
|
|
8325
|
+
class DisableApplicationSsoResponse(TeaModel):
|
|
8326
|
+
def __init__(
|
|
8327
|
+
self,
|
|
8328
|
+
headers: Dict[str, str] = None,
|
|
8329
|
+
status_code: int = None,
|
|
8330
|
+
body: DisableApplicationSsoResponseBody = None,
|
|
8331
|
+
):
|
|
8332
|
+
self.headers = headers
|
|
8333
|
+
self.status_code = status_code
|
|
8334
|
+
self.body = body
|
|
8335
|
+
|
|
8336
|
+
def validate(self):
|
|
8337
|
+
if self.body:
|
|
8338
|
+
self.body.validate()
|
|
8339
|
+
|
|
8340
|
+
def to_map(self):
|
|
8341
|
+
_map = super().to_map()
|
|
8342
|
+
if _map is not None:
|
|
8343
|
+
return _map
|
|
8344
|
+
|
|
8345
|
+
result = dict()
|
|
8346
|
+
if self.headers is not None:
|
|
8347
|
+
result['headers'] = self.headers
|
|
8348
|
+
if self.status_code is not None:
|
|
8349
|
+
result['statusCode'] = self.status_code
|
|
8350
|
+
if self.body is not None:
|
|
8351
|
+
result['body'] = self.body.to_map()
|
|
8352
|
+
return result
|
|
8353
|
+
|
|
8354
|
+
def from_map(self, m: dict = None):
|
|
8355
|
+
m = m or dict()
|
|
8356
|
+
if m.get('headers') is not None:
|
|
8357
|
+
self.headers = m.get('headers')
|
|
8358
|
+
if m.get('statusCode') is not None:
|
|
8359
|
+
self.status_code = m.get('statusCode')
|
|
8360
|
+
if m.get('body') is not None:
|
|
8361
|
+
temp_model = DisableApplicationSsoResponseBody()
|
|
8362
|
+
self.body = temp_model.from_map(m['body'])
|
|
8363
|
+
return self
|
|
8364
|
+
|
|
8365
|
+
|
|
8366
|
+
class DisableApplicationTokenRequest(TeaModel):
|
|
8367
|
+
def __init__(
|
|
8368
|
+
self,
|
|
8369
|
+
application_id: str = None,
|
|
8370
|
+
application_token_id: str = None,
|
|
8371
|
+
instance_id: str = None,
|
|
8372
|
+
):
|
|
8373
|
+
# IDaaS的应用资源ID。
|
|
8374
|
+
#
|
|
8375
|
+
# This parameter is required.
|
|
8376
|
+
self.application_id = application_id
|
|
8377
|
+
# IDaaS的应用资源TokenID。
|
|
8378
|
+
#
|
|
8379
|
+
# This parameter is required.
|
|
8380
|
+
self.application_token_id = application_token_id
|
|
8381
|
+
# IDaaS EIAM实例的ID。
|
|
8382
|
+
#
|
|
8383
|
+
# This parameter is required.
|
|
8384
|
+
self.instance_id = instance_id
|
|
8385
|
+
|
|
8386
|
+
def validate(self):
|
|
8387
|
+
pass
|
|
8388
|
+
|
|
8389
|
+
def to_map(self):
|
|
8390
|
+
_map = super().to_map()
|
|
8391
|
+
if _map is not None:
|
|
8392
|
+
return _map
|
|
8393
|
+
|
|
8394
|
+
result = dict()
|
|
8395
|
+
if self.application_id is not None:
|
|
8396
|
+
result['ApplicationId'] = self.application_id
|
|
8397
|
+
if self.application_token_id is not None:
|
|
8398
|
+
result['ApplicationTokenId'] = self.application_token_id
|
|
8399
|
+
if self.instance_id is not None:
|
|
8400
|
+
result['InstanceId'] = self.instance_id
|
|
8401
|
+
return result
|
|
8402
|
+
|
|
8403
|
+
def from_map(self, m: dict = None):
|
|
8404
|
+
m = m or dict()
|
|
8405
|
+
if m.get('ApplicationId') is not None:
|
|
8406
|
+
self.application_id = m.get('ApplicationId')
|
|
8407
|
+
if m.get('ApplicationTokenId') is not None:
|
|
8408
|
+
self.application_token_id = m.get('ApplicationTokenId')
|
|
8409
|
+
if m.get('InstanceId') is not None:
|
|
8410
|
+
self.instance_id = m.get('InstanceId')
|
|
8411
|
+
return self
|
|
8412
|
+
|
|
8413
|
+
|
|
8414
|
+
class DisableApplicationTokenResponseBody(TeaModel):
|
|
8079
8415
|
def __init__(
|
|
8080
8416
|
self,
|
|
8081
8417
|
request_id: str = None,
|
|
@@ -8149,11 +8485,769 @@ class DisableBrandRequest(TeaModel):
|
|
|
8149
8485
|
brand_id: str = None,
|
|
8150
8486
|
instance_id: str = None,
|
|
8151
8487
|
):
|
|
8152
|
-
# 品牌化Id
|
|
8488
|
+
# 品牌化Id
|
|
8489
|
+
#
|
|
8490
|
+
# This parameter is required.
|
|
8491
|
+
self.brand_id = brand_id
|
|
8492
|
+
# IDaaS EIAM实例的ID。
|
|
8493
|
+
#
|
|
8494
|
+
# This parameter is required.
|
|
8495
|
+
self.instance_id = instance_id
|
|
8496
|
+
|
|
8497
|
+
def validate(self):
|
|
8498
|
+
pass
|
|
8499
|
+
|
|
8500
|
+
def to_map(self):
|
|
8501
|
+
_map = super().to_map()
|
|
8502
|
+
if _map is not None:
|
|
8503
|
+
return _map
|
|
8504
|
+
|
|
8505
|
+
result = dict()
|
|
8506
|
+
if self.brand_id is not None:
|
|
8507
|
+
result['BrandId'] = self.brand_id
|
|
8508
|
+
if self.instance_id is not None:
|
|
8509
|
+
result['InstanceId'] = self.instance_id
|
|
8510
|
+
return result
|
|
8511
|
+
|
|
8512
|
+
def from_map(self, m: dict = None):
|
|
8513
|
+
m = m or dict()
|
|
8514
|
+
if m.get('BrandId') is not None:
|
|
8515
|
+
self.brand_id = m.get('BrandId')
|
|
8516
|
+
if m.get('InstanceId') is not None:
|
|
8517
|
+
self.instance_id = m.get('InstanceId')
|
|
8518
|
+
return self
|
|
8519
|
+
|
|
8520
|
+
|
|
8521
|
+
class DisableBrandResponseBody(TeaModel):
|
|
8522
|
+
def __init__(
|
|
8523
|
+
self,
|
|
8524
|
+
request_id: str = None,
|
|
8525
|
+
):
|
|
8526
|
+
self.request_id = request_id
|
|
8527
|
+
|
|
8528
|
+
def validate(self):
|
|
8529
|
+
pass
|
|
8530
|
+
|
|
8531
|
+
def to_map(self):
|
|
8532
|
+
_map = super().to_map()
|
|
8533
|
+
if _map is not None:
|
|
8534
|
+
return _map
|
|
8535
|
+
|
|
8536
|
+
result = dict()
|
|
8537
|
+
if self.request_id is not None:
|
|
8538
|
+
result['RequestId'] = self.request_id
|
|
8539
|
+
return result
|
|
8540
|
+
|
|
8541
|
+
def from_map(self, m: dict = None):
|
|
8542
|
+
m = m or dict()
|
|
8543
|
+
if m.get('RequestId') is not None:
|
|
8544
|
+
self.request_id = m.get('RequestId')
|
|
8545
|
+
return self
|
|
8546
|
+
|
|
8547
|
+
|
|
8548
|
+
class DisableBrandResponse(TeaModel):
|
|
8549
|
+
def __init__(
|
|
8550
|
+
self,
|
|
8551
|
+
headers: Dict[str, str] = None,
|
|
8552
|
+
status_code: int = None,
|
|
8553
|
+
body: DisableBrandResponseBody = None,
|
|
8554
|
+
):
|
|
8555
|
+
self.headers = headers
|
|
8556
|
+
self.status_code = status_code
|
|
8557
|
+
self.body = body
|
|
8558
|
+
|
|
8559
|
+
def validate(self):
|
|
8560
|
+
if self.body:
|
|
8561
|
+
self.body.validate()
|
|
8562
|
+
|
|
8563
|
+
def to_map(self):
|
|
8564
|
+
_map = super().to_map()
|
|
8565
|
+
if _map is not None:
|
|
8566
|
+
return _map
|
|
8567
|
+
|
|
8568
|
+
result = dict()
|
|
8569
|
+
if self.headers is not None:
|
|
8570
|
+
result['headers'] = self.headers
|
|
8571
|
+
if self.status_code is not None:
|
|
8572
|
+
result['statusCode'] = self.status_code
|
|
8573
|
+
if self.body is not None:
|
|
8574
|
+
result['body'] = self.body.to_map()
|
|
8575
|
+
return result
|
|
8576
|
+
|
|
8577
|
+
def from_map(self, m: dict = None):
|
|
8578
|
+
m = m or dict()
|
|
8579
|
+
if m.get('headers') is not None:
|
|
8580
|
+
self.headers = m.get('headers')
|
|
8581
|
+
if m.get('statusCode') is not None:
|
|
8582
|
+
self.status_code = m.get('statusCode')
|
|
8583
|
+
if m.get('body') is not None:
|
|
8584
|
+
temp_model = DisableBrandResponseBody()
|
|
8585
|
+
self.body = temp_model.from_map(m['body'])
|
|
8586
|
+
return self
|
|
8587
|
+
|
|
8588
|
+
|
|
8589
|
+
class DisableConditionalAccessPolicyRequest(TeaModel):
|
|
8590
|
+
def __init__(
|
|
8591
|
+
self,
|
|
8592
|
+
conditional_access_policy_id: str = None,
|
|
8593
|
+
instance_id: str = None,
|
|
8594
|
+
):
|
|
8595
|
+
# Conditional Access Policy ID
|
|
8596
|
+
#
|
|
8597
|
+
# This parameter is required.
|
|
8598
|
+
self.conditional_access_policy_id = conditional_access_policy_id
|
|
8599
|
+
# Instance ID.
|
|
8600
|
+
#
|
|
8601
|
+
# This parameter is required.
|
|
8602
|
+
self.instance_id = instance_id
|
|
8603
|
+
|
|
8604
|
+
def validate(self):
|
|
8605
|
+
pass
|
|
8606
|
+
|
|
8607
|
+
def to_map(self):
|
|
8608
|
+
_map = super().to_map()
|
|
8609
|
+
if _map is not None:
|
|
8610
|
+
return _map
|
|
8611
|
+
|
|
8612
|
+
result = dict()
|
|
8613
|
+
if self.conditional_access_policy_id is not None:
|
|
8614
|
+
result['ConditionalAccessPolicyId'] = self.conditional_access_policy_id
|
|
8615
|
+
if self.instance_id is not None:
|
|
8616
|
+
result['InstanceId'] = self.instance_id
|
|
8617
|
+
return result
|
|
8618
|
+
|
|
8619
|
+
def from_map(self, m: dict = None):
|
|
8620
|
+
m = m or dict()
|
|
8621
|
+
if m.get('ConditionalAccessPolicyId') is not None:
|
|
8622
|
+
self.conditional_access_policy_id = m.get('ConditionalAccessPolicyId')
|
|
8623
|
+
if m.get('InstanceId') is not None:
|
|
8624
|
+
self.instance_id = m.get('InstanceId')
|
|
8625
|
+
return self
|
|
8626
|
+
|
|
8627
|
+
|
|
8628
|
+
class DisableConditionalAccessPolicyResponseBody(TeaModel):
|
|
8629
|
+
def __init__(
|
|
8630
|
+
self,
|
|
8631
|
+
request_id: str = None,
|
|
8632
|
+
):
|
|
8633
|
+
# 请求ID。
|
|
8634
|
+
self.request_id = request_id
|
|
8635
|
+
|
|
8636
|
+
def validate(self):
|
|
8637
|
+
pass
|
|
8638
|
+
|
|
8639
|
+
def to_map(self):
|
|
8640
|
+
_map = super().to_map()
|
|
8641
|
+
if _map is not None:
|
|
8642
|
+
return _map
|
|
8643
|
+
|
|
8644
|
+
result = dict()
|
|
8645
|
+
if self.request_id is not None:
|
|
8646
|
+
result['RequestId'] = self.request_id
|
|
8647
|
+
return result
|
|
8648
|
+
|
|
8649
|
+
def from_map(self, m: dict = None):
|
|
8650
|
+
m = m or dict()
|
|
8651
|
+
if m.get('RequestId') is not None:
|
|
8652
|
+
self.request_id = m.get('RequestId')
|
|
8653
|
+
return self
|
|
8654
|
+
|
|
8655
|
+
|
|
8656
|
+
class DisableConditionalAccessPolicyResponse(TeaModel):
|
|
8657
|
+
def __init__(
|
|
8658
|
+
self,
|
|
8659
|
+
headers: Dict[str, str] = None,
|
|
8660
|
+
status_code: int = None,
|
|
8661
|
+
body: DisableConditionalAccessPolicyResponseBody = None,
|
|
8662
|
+
):
|
|
8663
|
+
self.headers = headers
|
|
8664
|
+
self.status_code = status_code
|
|
8665
|
+
self.body = body
|
|
8666
|
+
|
|
8667
|
+
def validate(self):
|
|
8668
|
+
if self.body:
|
|
8669
|
+
self.body.validate()
|
|
8670
|
+
|
|
8671
|
+
def to_map(self):
|
|
8672
|
+
_map = super().to_map()
|
|
8673
|
+
if _map is not None:
|
|
8674
|
+
return _map
|
|
8675
|
+
|
|
8676
|
+
result = dict()
|
|
8677
|
+
if self.headers is not None:
|
|
8678
|
+
result['headers'] = self.headers
|
|
8679
|
+
if self.status_code is not None:
|
|
8680
|
+
result['statusCode'] = self.status_code
|
|
8681
|
+
if self.body is not None:
|
|
8682
|
+
result['body'] = self.body.to_map()
|
|
8683
|
+
return result
|
|
8684
|
+
|
|
8685
|
+
def from_map(self, m: dict = None):
|
|
8686
|
+
m = m or dict()
|
|
8687
|
+
if m.get('headers') is not None:
|
|
8688
|
+
self.headers = m.get('headers')
|
|
8689
|
+
if m.get('statusCode') is not None:
|
|
8690
|
+
self.status_code = m.get('statusCode')
|
|
8691
|
+
if m.get('body') is not None:
|
|
8692
|
+
temp_model = DisableConditionalAccessPolicyResponseBody()
|
|
8693
|
+
self.body = temp_model.from_map(m['body'])
|
|
8694
|
+
return self
|
|
8695
|
+
|
|
8696
|
+
|
|
8697
|
+
class DisableCustomPrivacyPolicyRequest(TeaModel):
|
|
8698
|
+
def __init__(
|
|
8699
|
+
self,
|
|
8700
|
+
custom_privacy_policy_id: str = None,
|
|
8701
|
+
instance_id: str = None,
|
|
8702
|
+
):
|
|
8703
|
+
# This parameter is required.
|
|
8704
|
+
self.custom_privacy_policy_id = custom_privacy_policy_id
|
|
8705
|
+
# IDaaS EIAM实例的ID。
|
|
8706
|
+
#
|
|
8707
|
+
# This parameter is required.
|
|
8708
|
+
self.instance_id = instance_id
|
|
8709
|
+
|
|
8710
|
+
def validate(self):
|
|
8711
|
+
pass
|
|
8712
|
+
|
|
8713
|
+
def to_map(self):
|
|
8714
|
+
_map = super().to_map()
|
|
8715
|
+
if _map is not None:
|
|
8716
|
+
return _map
|
|
8717
|
+
|
|
8718
|
+
result = dict()
|
|
8719
|
+
if self.custom_privacy_policy_id is not None:
|
|
8720
|
+
result['CustomPrivacyPolicyId'] = self.custom_privacy_policy_id
|
|
8721
|
+
if self.instance_id is not None:
|
|
8722
|
+
result['InstanceId'] = self.instance_id
|
|
8723
|
+
return result
|
|
8724
|
+
|
|
8725
|
+
def from_map(self, m: dict = None):
|
|
8726
|
+
m = m or dict()
|
|
8727
|
+
if m.get('CustomPrivacyPolicyId') is not None:
|
|
8728
|
+
self.custom_privacy_policy_id = m.get('CustomPrivacyPolicyId')
|
|
8729
|
+
if m.get('InstanceId') is not None:
|
|
8730
|
+
self.instance_id = m.get('InstanceId')
|
|
8731
|
+
return self
|
|
8732
|
+
|
|
8733
|
+
|
|
8734
|
+
class DisableCustomPrivacyPolicyResponseBody(TeaModel):
|
|
8735
|
+
def __init__(
|
|
8736
|
+
self,
|
|
8737
|
+
request_id: str = None,
|
|
8738
|
+
):
|
|
8739
|
+
self.request_id = request_id
|
|
8740
|
+
|
|
8741
|
+
def validate(self):
|
|
8742
|
+
pass
|
|
8743
|
+
|
|
8744
|
+
def to_map(self):
|
|
8745
|
+
_map = super().to_map()
|
|
8746
|
+
if _map is not None:
|
|
8747
|
+
return _map
|
|
8748
|
+
|
|
8749
|
+
result = dict()
|
|
8750
|
+
if self.request_id is not None:
|
|
8751
|
+
result['RequestId'] = self.request_id
|
|
8752
|
+
return result
|
|
8753
|
+
|
|
8754
|
+
def from_map(self, m: dict = None):
|
|
8755
|
+
m = m or dict()
|
|
8756
|
+
if m.get('RequestId') is not None:
|
|
8757
|
+
self.request_id = m.get('RequestId')
|
|
8758
|
+
return self
|
|
8759
|
+
|
|
8760
|
+
|
|
8761
|
+
class DisableCustomPrivacyPolicyResponse(TeaModel):
|
|
8762
|
+
def __init__(
|
|
8763
|
+
self,
|
|
8764
|
+
headers: Dict[str, str] = None,
|
|
8765
|
+
status_code: int = None,
|
|
8766
|
+
body: DisableCustomPrivacyPolicyResponseBody = None,
|
|
8767
|
+
):
|
|
8768
|
+
self.headers = headers
|
|
8769
|
+
self.status_code = status_code
|
|
8770
|
+
self.body = body
|
|
8771
|
+
|
|
8772
|
+
def validate(self):
|
|
8773
|
+
if self.body:
|
|
8774
|
+
self.body.validate()
|
|
8775
|
+
|
|
8776
|
+
def to_map(self):
|
|
8777
|
+
_map = super().to_map()
|
|
8778
|
+
if _map is not None:
|
|
8779
|
+
return _map
|
|
8780
|
+
|
|
8781
|
+
result = dict()
|
|
8782
|
+
if self.headers is not None:
|
|
8783
|
+
result['headers'] = self.headers
|
|
8784
|
+
if self.status_code is not None:
|
|
8785
|
+
result['statusCode'] = self.status_code
|
|
8786
|
+
if self.body is not None:
|
|
8787
|
+
result['body'] = self.body.to_map()
|
|
8788
|
+
return result
|
|
8789
|
+
|
|
8790
|
+
def from_map(self, m: dict = None):
|
|
8791
|
+
m = m or dict()
|
|
8792
|
+
if m.get('headers') is not None:
|
|
8793
|
+
self.headers = m.get('headers')
|
|
8794
|
+
if m.get('statusCode') is not None:
|
|
8795
|
+
self.status_code = m.get('statusCode')
|
|
8796
|
+
if m.get('body') is not None:
|
|
8797
|
+
temp_model = DisableCustomPrivacyPolicyResponseBody()
|
|
8798
|
+
self.body = temp_model.from_map(m['body'])
|
|
8799
|
+
return self
|
|
8800
|
+
|
|
8801
|
+
|
|
8802
|
+
class DisableDomainProxyTokenRequest(TeaModel):
|
|
8803
|
+
def __init__(
|
|
8804
|
+
self,
|
|
8805
|
+
domain_id: str = None,
|
|
8806
|
+
domain_proxy_token_id: str = None,
|
|
8807
|
+
instance_id: str = None,
|
|
8808
|
+
):
|
|
8809
|
+
# The ID of the domain name.
|
|
8810
|
+
#
|
|
8811
|
+
# This parameter is required.
|
|
8812
|
+
self.domain_id = domain_id
|
|
8813
|
+
# The ID of the proxy token of the domain name.
|
|
8814
|
+
#
|
|
8815
|
+
# This parameter is required.
|
|
8816
|
+
self.domain_proxy_token_id = domain_proxy_token_id
|
|
8817
|
+
# The instance ID.
|
|
8818
|
+
#
|
|
8819
|
+
# This parameter is required.
|
|
8820
|
+
self.instance_id = instance_id
|
|
8821
|
+
|
|
8822
|
+
def validate(self):
|
|
8823
|
+
pass
|
|
8824
|
+
|
|
8825
|
+
def to_map(self):
|
|
8826
|
+
_map = super().to_map()
|
|
8827
|
+
if _map is not None:
|
|
8828
|
+
return _map
|
|
8829
|
+
|
|
8830
|
+
result = dict()
|
|
8831
|
+
if self.domain_id is not None:
|
|
8832
|
+
result['DomainId'] = self.domain_id
|
|
8833
|
+
if self.domain_proxy_token_id is not None:
|
|
8834
|
+
result['DomainProxyTokenId'] = self.domain_proxy_token_id
|
|
8835
|
+
if self.instance_id is not None:
|
|
8836
|
+
result['InstanceId'] = self.instance_id
|
|
8837
|
+
return result
|
|
8838
|
+
|
|
8839
|
+
def from_map(self, m: dict = None):
|
|
8840
|
+
m = m or dict()
|
|
8841
|
+
if m.get('DomainId') is not None:
|
|
8842
|
+
self.domain_id = m.get('DomainId')
|
|
8843
|
+
if m.get('DomainProxyTokenId') is not None:
|
|
8844
|
+
self.domain_proxy_token_id = m.get('DomainProxyTokenId')
|
|
8845
|
+
if m.get('InstanceId') is not None:
|
|
8846
|
+
self.instance_id = m.get('InstanceId')
|
|
8847
|
+
return self
|
|
8848
|
+
|
|
8849
|
+
|
|
8850
|
+
class DisableDomainProxyTokenResponseBody(TeaModel):
|
|
8851
|
+
def __init__(
|
|
8852
|
+
self,
|
|
8853
|
+
request_id: str = None,
|
|
8854
|
+
):
|
|
8855
|
+
# The request ID.
|
|
8856
|
+
self.request_id = request_id
|
|
8857
|
+
|
|
8858
|
+
def validate(self):
|
|
8859
|
+
pass
|
|
8860
|
+
|
|
8861
|
+
def to_map(self):
|
|
8862
|
+
_map = super().to_map()
|
|
8863
|
+
if _map is not None:
|
|
8864
|
+
return _map
|
|
8865
|
+
|
|
8866
|
+
result = dict()
|
|
8867
|
+
if self.request_id is not None:
|
|
8868
|
+
result['RequestId'] = self.request_id
|
|
8869
|
+
return result
|
|
8870
|
+
|
|
8871
|
+
def from_map(self, m: dict = None):
|
|
8872
|
+
m = m or dict()
|
|
8873
|
+
if m.get('RequestId') is not None:
|
|
8874
|
+
self.request_id = m.get('RequestId')
|
|
8875
|
+
return self
|
|
8876
|
+
|
|
8877
|
+
|
|
8878
|
+
class DisableDomainProxyTokenResponse(TeaModel):
|
|
8879
|
+
def __init__(
|
|
8880
|
+
self,
|
|
8881
|
+
headers: Dict[str, str] = None,
|
|
8882
|
+
status_code: int = None,
|
|
8883
|
+
body: DisableDomainProxyTokenResponseBody = None,
|
|
8884
|
+
):
|
|
8885
|
+
self.headers = headers
|
|
8886
|
+
self.status_code = status_code
|
|
8887
|
+
self.body = body
|
|
8888
|
+
|
|
8889
|
+
def validate(self):
|
|
8890
|
+
if self.body:
|
|
8891
|
+
self.body.validate()
|
|
8892
|
+
|
|
8893
|
+
def to_map(self):
|
|
8894
|
+
_map = super().to_map()
|
|
8895
|
+
if _map is not None:
|
|
8896
|
+
return _map
|
|
8897
|
+
|
|
8898
|
+
result = dict()
|
|
8899
|
+
if self.headers is not None:
|
|
8900
|
+
result['headers'] = self.headers
|
|
8901
|
+
if self.status_code is not None:
|
|
8902
|
+
result['statusCode'] = self.status_code
|
|
8903
|
+
if self.body is not None:
|
|
8904
|
+
result['body'] = self.body.to_map()
|
|
8905
|
+
return result
|
|
8906
|
+
|
|
8907
|
+
def from_map(self, m: dict = None):
|
|
8908
|
+
m = m or dict()
|
|
8909
|
+
if m.get('headers') is not None:
|
|
8910
|
+
self.headers = m.get('headers')
|
|
8911
|
+
if m.get('statusCode') is not None:
|
|
8912
|
+
self.status_code = m.get('statusCode')
|
|
8913
|
+
if m.get('body') is not None:
|
|
8914
|
+
temp_model = DisableDomainProxyTokenResponseBody()
|
|
8915
|
+
self.body = temp_model.from_map(m['body'])
|
|
8916
|
+
return self
|
|
8917
|
+
|
|
8918
|
+
|
|
8919
|
+
class DisableFederatedCredentialProviderRequest(TeaModel):
|
|
8920
|
+
def __init__(
|
|
8921
|
+
self,
|
|
8922
|
+
federated_credential_provider_id: str = None,
|
|
8923
|
+
instance_id: str = None,
|
|
8924
|
+
):
|
|
8925
|
+
# 联邦凭证提供方ID
|
|
8926
|
+
#
|
|
8927
|
+
# This parameter is required.
|
|
8928
|
+
self.federated_credential_provider_id = federated_credential_provider_id
|
|
8929
|
+
# IDaaS EIAM实例的ID。
|
|
8930
|
+
#
|
|
8931
|
+
# This parameter is required.
|
|
8932
|
+
self.instance_id = instance_id
|
|
8933
|
+
|
|
8934
|
+
def validate(self):
|
|
8935
|
+
pass
|
|
8936
|
+
|
|
8937
|
+
def to_map(self):
|
|
8938
|
+
_map = super().to_map()
|
|
8939
|
+
if _map is not None:
|
|
8940
|
+
return _map
|
|
8941
|
+
|
|
8942
|
+
result = dict()
|
|
8943
|
+
if self.federated_credential_provider_id is not None:
|
|
8944
|
+
result['FederatedCredentialProviderId'] = self.federated_credential_provider_id
|
|
8945
|
+
if self.instance_id is not None:
|
|
8946
|
+
result['InstanceId'] = self.instance_id
|
|
8947
|
+
return result
|
|
8948
|
+
|
|
8949
|
+
def from_map(self, m: dict = None):
|
|
8950
|
+
m = m or dict()
|
|
8951
|
+
if m.get('FederatedCredentialProviderId') is not None:
|
|
8952
|
+
self.federated_credential_provider_id = m.get('FederatedCredentialProviderId')
|
|
8953
|
+
if m.get('InstanceId') is not None:
|
|
8954
|
+
self.instance_id = m.get('InstanceId')
|
|
8955
|
+
return self
|
|
8956
|
+
|
|
8957
|
+
|
|
8958
|
+
class DisableFederatedCredentialProviderResponseBody(TeaModel):
|
|
8959
|
+
def __init__(
|
|
8960
|
+
self,
|
|
8961
|
+
request_id: str = None,
|
|
8962
|
+
):
|
|
8963
|
+
self.request_id = request_id
|
|
8964
|
+
|
|
8965
|
+
def validate(self):
|
|
8966
|
+
pass
|
|
8967
|
+
|
|
8968
|
+
def to_map(self):
|
|
8969
|
+
_map = super().to_map()
|
|
8970
|
+
if _map is not None:
|
|
8971
|
+
return _map
|
|
8972
|
+
|
|
8973
|
+
result = dict()
|
|
8974
|
+
if self.request_id is not None:
|
|
8975
|
+
result['RequestId'] = self.request_id
|
|
8976
|
+
return result
|
|
8977
|
+
|
|
8978
|
+
def from_map(self, m: dict = None):
|
|
8979
|
+
m = m or dict()
|
|
8980
|
+
if m.get('RequestId') is not None:
|
|
8981
|
+
self.request_id = m.get('RequestId')
|
|
8982
|
+
return self
|
|
8983
|
+
|
|
8984
|
+
|
|
8985
|
+
class DisableFederatedCredentialProviderResponse(TeaModel):
|
|
8986
|
+
def __init__(
|
|
8987
|
+
self,
|
|
8988
|
+
headers: Dict[str, str] = None,
|
|
8989
|
+
status_code: int = None,
|
|
8990
|
+
body: DisableFederatedCredentialProviderResponseBody = None,
|
|
8991
|
+
):
|
|
8992
|
+
self.headers = headers
|
|
8993
|
+
self.status_code = status_code
|
|
8994
|
+
self.body = body
|
|
8995
|
+
|
|
8996
|
+
def validate(self):
|
|
8997
|
+
if self.body:
|
|
8998
|
+
self.body.validate()
|
|
8999
|
+
|
|
9000
|
+
def to_map(self):
|
|
9001
|
+
_map = super().to_map()
|
|
9002
|
+
if _map is not None:
|
|
9003
|
+
return _map
|
|
9004
|
+
|
|
9005
|
+
result = dict()
|
|
9006
|
+
if self.headers is not None:
|
|
9007
|
+
result['headers'] = self.headers
|
|
9008
|
+
if self.status_code is not None:
|
|
9009
|
+
result['statusCode'] = self.status_code
|
|
9010
|
+
if self.body is not None:
|
|
9011
|
+
result['body'] = self.body.to_map()
|
|
9012
|
+
return result
|
|
9013
|
+
|
|
9014
|
+
def from_map(self, m: dict = None):
|
|
9015
|
+
m = m or dict()
|
|
9016
|
+
if m.get('headers') is not None:
|
|
9017
|
+
self.headers = m.get('headers')
|
|
9018
|
+
if m.get('statusCode') is not None:
|
|
9019
|
+
self.status_code = m.get('statusCode')
|
|
9020
|
+
if m.get('body') is not None:
|
|
9021
|
+
temp_model = DisableFederatedCredentialProviderResponseBody()
|
|
9022
|
+
self.body = temp_model.from_map(m['body'])
|
|
9023
|
+
return self
|
|
9024
|
+
|
|
9025
|
+
|
|
9026
|
+
class DisableIdentityProviderAdvancedAbilityRequest(TeaModel):
|
|
9027
|
+
def __init__(
|
|
9028
|
+
self,
|
|
9029
|
+
identity_provider_id: str = None,
|
|
9030
|
+
instance_id: str = None,
|
|
9031
|
+
):
|
|
9032
|
+
# IDaaS的身份提供方主键id
|
|
9033
|
+
#
|
|
9034
|
+
# This parameter is required.
|
|
9035
|
+
self.identity_provider_id = identity_provider_id
|
|
9036
|
+
# IDaaS EIAM的实例id
|
|
9037
|
+
#
|
|
9038
|
+
# This parameter is required.
|
|
9039
|
+
self.instance_id = instance_id
|
|
9040
|
+
|
|
9041
|
+
def validate(self):
|
|
9042
|
+
pass
|
|
9043
|
+
|
|
9044
|
+
def to_map(self):
|
|
9045
|
+
_map = super().to_map()
|
|
9046
|
+
if _map is not None:
|
|
9047
|
+
return _map
|
|
9048
|
+
|
|
9049
|
+
result = dict()
|
|
9050
|
+
if self.identity_provider_id is not None:
|
|
9051
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
9052
|
+
if self.instance_id is not None:
|
|
9053
|
+
result['InstanceId'] = self.instance_id
|
|
9054
|
+
return result
|
|
9055
|
+
|
|
9056
|
+
def from_map(self, m: dict = None):
|
|
9057
|
+
m = m or dict()
|
|
9058
|
+
if m.get('IdentityProviderId') is not None:
|
|
9059
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
9060
|
+
if m.get('InstanceId') is not None:
|
|
9061
|
+
self.instance_id = m.get('InstanceId')
|
|
9062
|
+
return self
|
|
9063
|
+
|
|
9064
|
+
|
|
9065
|
+
class DisableIdentityProviderAdvancedAbilityResponseBody(TeaModel):
|
|
9066
|
+
def __init__(
|
|
9067
|
+
self,
|
|
9068
|
+
request_id: str = None,
|
|
9069
|
+
):
|
|
9070
|
+
self.request_id = request_id
|
|
9071
|
+
|
|
9072
|
+
def validate(self):
|
|
9073
|
+
pass
|
|
9074
|
+
|
|
9075
|
+
def to_map(self):
|
|
9076
|
+
_map = super().to_map()
|
|
9077
|
+
if _map is not None:
|
|
9078
|
+
return _map
|
|
9079
|
+
|
|
9080
|
+
result = dict()
|
|
9081
|
+
if self.request_id is not None:
|
|
9082
|
+
result['RequestId'] = self.request_id
|
|
9083
|
+
return result
|
|
9084
|
+
|
|
9085
|
+
def from_map(self, m: dict = None):
|
|
9086
|
+
m = m or dict()
|
|
9087
|
+
if m.get('RequestId') is not None:
|
|
9088
|
+
self.request_id = m.get('RequestId')
|
|
9089
|
+
return self
|
|
9090
|
+
|
|
9091
|
+
|
|
9092
|
+
class DisableIdentityProviderAdvancedAbilityResponse(TeaModel):
|
|
9093
|
+
def __init__(
|
|
9094
|
+
self,
|
|
9095
|
+
headers: Dict[str, str] = None,
|
|
9096
|
+
status_code: int = None,
|
|
9097
|
+
body: DisableIdentityProviderAdvancedAbilityResponseBody = None,
|
|
9098
|
+
):
|
|
9099
|
+
self.headers = headers
|
|
9100
|
+
self.status_code = status_code
|
|
9101
|
+
self.body = body
|
|
9102
|
+
|
|
9103
|
+
def validate(self):
|
|
9104
|
+
if self.body:
|
|
9105
|
+
self.body.validate()
|
|
9106
|
+
|
|
9107
|
+
def to_map(self):
|
|
9108
|
+
_map = super().to_map()
|
|
9109
|
+
if _map is not None:
|
|
9110
|
+
return _map
|
|
9111
|
+
|
|
9112
|
+
result = dict()
|
|
9113
|
+
if self.headers is not None:
|
|
9114
|
+
result['headers'] = self.headers
|
|
9115
|
+
if self.status_code is not None:
|
|
9116
|
+
result['statusCode'] = self.status_code
|
|
9117
|
+
if self.body is not None:
|
|
9118
|
+
result['body'] = self.body.to_map()
|
|
9119
|
+
return result
|
|
9120
|
+
|
|
9121
|
+
def from_map(self, m: dict = None):
|
|
9122
|
+
m = m or dict()
|
|
9123
|
+
if m.get('headers') is not None:
|
|
9124
|
+
self.headers = m.get('headers')
|
|
9125
|
+
if m.get('statusCode') is not None:
|
|
9126
|
+
self.status_code = m.get('statusCode')
|
|
9127
|
+
if m.get('body') is not None:
|
|
9128
|
+
temp_model = DisableIdentityProviderAdvancedAbilityResponseBody()
|
|
9129
|
+
self.body = temp_model.from_map(m['body'])
|
|
9130
|
+
return self
|
|
9131
|
+
|
|
9132
|
+
|
|
9133
|
+
class DisableIdentityProviderAuthnRequest(TeaModel):
|
|
9134
|
+
def __init__(
|
|
9135
|
+
self,
|
|
9136
|
+
identity_provider_id: str = None,
|
|
9137
|
+
instance_id: str = None,
|
|
9138
|
+
):
|
|
9139
|
+
# IDaaS的身份提供方主键id
|
|
9140
|
+
#
|
|
9141
|
+
# This parameter is required.
|
|
9142
|
+
self.identity_provider_id = identity_provider_id
|
|
9143
|
+
# IDaaS EIAM的实例id
|
|
9144
|
+
#
|
|
9145
|
+
# This parameter is required.
|
|
9146
|
+
self.instance_id = instance_id
|
|
9147
|
+
|
|
9148
|
+
def validate(self):
|
|
9149
|
+
pass
|
|
9150
|
+
|
|
9151
|
+
def to_map(self):
|
|
9152
|
+
_map = super().to_map()
|
|
9153
|
+
if _map is not None:
|
|
9154
|
+
return _map
|
|
9155
|
+
|
|
9156
|
+
result = dict()
|
|
9157
|
+
if self.identity_provider_id is not None:
|
|
9158
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
9159
|
+
if self.instance_id is not None:
|
|
9160
|
+
result['InstanceId'] = self.instance_id
|
|
9161
|
+
return result
|
|
9162
|
+
|
|
9163
|
+
def from_map(self, m: dict = None):
|
|
9164
|
+
m = m or dict()
|
|
9165
|
+
if m.get('IdentityProviderId') is not None:
|
|
9166
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
9167
|
+
if m.get('InstanceId') is not None:
|
|
9168
|
+
self.instance_id = m.get('InstanceId')
|
|
9169
|
+
return self
|
|
9170
|
+
|
|
9171
|
+
|
|
9172
|
+
class DisableIdentityProviderAuthnResponseBody(TeaModel):
|
|
9173
|
+
def __init__(
|
|
9174
|
+
self,
|
|
9175
|
+
request_id: str = None,
|
|
9176
|
+
):
|
|
9177
|
+
self.request_id = request_id
|
|
9178
|
+
|
|
9179
|
+
def validate(self):
|
|
9180
|
+
pass
|
|
9181
|
+
|
|
9182
|
+
def to_map(self):
|
|
9183
|
+
_map = super().to_map()
|
|
9184
|
+
if _map is not None:
|
|
9185
|
+
return _map
|
|
9186
|
+
|
|
9187
|
+
result = dict()
|
|
9188
|
+
if self.request_id is not None:
|
|
9189
|
+
result['RequestId'] = self.request_id
|
|
9190
|
+
return result
|
|
9191
|
+
|
|
9192
|
+
def from_map(self, m: dict = None):
|
|
9193
|
+
m = m or dict()
|
|
9194
|
+
if m.get('RequestId') is not None:
|
|
9195
|
+
self.request_id = m.get('RequestId')
|
|
9196
|
+
return self
|
|
9197
|
+
|
|
9198
|
+
|
|
9199
|
+
class DisableIdentityProviderAuthnResponse(TeaModel):
|
|
9200
|
+
def __init__(
|
|
9201
|
+
self,
|
|
9202
|
+
headers: Dict[str, str] = None,
|
|
9203
|
+
status_code: int = None,
|
|
9204
|
+
body: DisableIdentityProviderAuthnResponseBody = None,
|
|
9205
|
+
):
|
|
9206
|
+
self.headers = headers
|
|
9207
|
+
self.status_code = status_code
|
|
9208
|
+
self.body = body
|
|
9209
|
+
|
|
9210
|
+
def validate(self):
|
|
9211
|
+
if self.body:
|
|
9212
|
+
self.body.validate()
|
|
9213
|
+
|
|
9214
|
+
def to_map(self):
|
|
9215
|
+
_map = super().to_map()
|
|
9216
|
+
if _map is not None:
|
|
9217
|
+
return _map
|
|
9218
|
+
|
|
9219
|
+
result = dict()
|
|
9220
|
+
if self.headers is not None:
|
|
9221
|
+
result['headers'] = self.headers
|
|
9222
|
+
if self.status_code is not None:
|
|
9223
|
+
result['statusCode'] = self.status_code
|
|
9224
|
+
if self.body is not None:
|
|
9225
|
+
result['body'] = self.body.to_map()
|
|
9226
|
+
return result
|
|
9227
|
+
|
|
9228
|
+
def from_map(self, m: dict = None):
|
|
9229
|
+
m = m or dict()
|
|
9230
|
+
if m.get('headers') is not None:
|
|
9231
|
+
self.headers = m.get('headers')
|
|
9232
|
+
if m.get('statusCode') is not None:
|
|
9233
|
+
self.status_code = m.get('statusCode')
|
|
9234
|
+
if m.get('body') is not None:
|
|
9235
|
+
temp_model = DisableIdentityProviderAuthnResponseBody()
|
|
9236
|
+
self.body = temp_model.from_map(m['body'])
|
|
9237
|
+
return self
|
|
9238
|
+
|
|
9239
|
+
|
|
9240
|
+
class DisableIdentityProviderUdPullRequest(TeaModel):
|
|
9241
|
+
def __init__(
|
|
9242
|
+
self,
|
|
9243
|
+
identity_provider_id: str = None,
|
|
9244
|
+
instance_id: str = None,
|
|
9245
|
+
):
|
|
9246
|
+
# Identity provider ID.
|
|
8153
9247
|
#
|
|
8154
9248
|
# This parameter is required.
|
|
8155
|
-
self.
|
|
8156
|
-
#
|
|
9249
|
+
self.identity_provider_id = identity_provider_id
|
|
9250
|
+
# The ID of the instance.
|
|
8157
9251
|
#
|
|
8158
9252
|
# This parameter is required.
|
|
8159
9253
|
self.instance_id = instance_id
|
|
@@ -8167,26 +9261,27 @@ class DisableBrandRequest(TeaModel):
|
|
|
8167
9261
|
return _map
|
|
8168
9262
|
|
|
8169
9263
|
result = dict()
|
|
8170
|
-
if self.
|
|
8171
|
-
result['
|
|
9264
|
+
if self.identity_provider_id is not None:
|
|
9265
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
8172
9266
|
if self.instance_id is not None:
|
|
8173
9267
|
result['InstanceId'] = self.instance_id
|
|
8174
9268
|
return result
|
|
8175
9269
|
|
|
8176
9270
|
def from_map(self, m: dict = None):
|
|
8177
9271
|
m = m or dict()
|
|
8178
|
-
if m.get('
|
|
8179
|
-
self.
|
|
9272
|
+
if m.get('IdentityProviderId') is not None:
|
|
9273
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
8180
9274
|
if m.get('InstanceId') is not None:
|
|
8181
9275
|
self.instance_id = m.get('InstanceId')
|
|
8182
9276
|
return self
|
|
8183
9277
|
|
|
8184
9278
|
|
|
8185
|
-
class
|
|
9279
|
+
class DisableIdentityProviderUdPullResponseBody(TeaModel):
|
|
8186
9280
|
def __init__(
|
|
8187
9281
|
self,
|
|
8188
9282
|
request_id: str = None,
|
|
8189
9283
|
):
|
|
9284
|
+
# The ID of the request.
|
|
8190
9285
|
self.request_id = request_id
|
|
8191
9286
|
|
|
8192
9287
|
def validate(self):
|
|
@@ -8209,12 +9304,12 @@ class DisableBrandResponseBody(TeaModel):
|
|
|
8209
9304
|
return self
|
|
8210
9305
|
|
|
8211
9306
|
|
|
8212
|
-
class
|
|
9307
|
+
class DisableIdentityProviderUdPullResponse(TeaModel):
|
|
8213
9308
|
def __init__(
|
|
8214
9309
|
self,
|
|
8215
9310
|
headers: Dict[str, str] = None,
|
|
8216
9311
|
status_code: int = None,
|
|
8217
|
-
body:
|
|
9312
|
+
body: DisableIdentityProviderUdPullResponseBody = None,
|
|
8218
9313
|
):
|
|
8219
9314
|
self.headers = headers
|
|
8220
9315
|
self.status_code = status_code
|
|
@@ -8245,22 +9340,17 @@ class DisableBrandResponse(TeaModel):
|
|
|
8245
9340
|
if m.get('statusCode') is not None:
|
|
8246
9341
|
self.status_code = m.get('statusCode')
|
|
8247
9342
|
if m.get('body') is not None:
|
|
8248
|
-
temp_model =
|
|
9343
|
+
temp_model = DisableIdentityProviderUdPullResponseBody()
|
|
8249
9344
|
self.body = temp_model.from_map(m['body'])
|
|
8250
9345
|
return self
|
|
8251
9346
|
|
|
8252
9347
|
|
|
8253
|
-
class
|
|
9348
|
+
class DisableInitDomainAutoRedirectRequest(TeaModel):
|
|
8254
9349
|
def __init__(
|
|
8255
9350
|
self,
|
|
8256
|
-
conditional_access_policy_id: str = None,
|
|
8257
9351
|
instance_id: str = None,
|
|
8258
9352
|
):
|
|
8259
|
-
#
|
|
8260
|
-
#
|
|
8261
|
-
# This parameter is required.
|
|
8262
|
-
self.conditional_access_policy_id = conditional_access_policy_id
|
|
8263
|
-
# Instance ID.
|
|
9353
|
+
# The instance ID.
|
|
8264
9354
|
#
|
|
8265
9355
|
# This parameter is required.
|
|
8266
9356
|
self.instance_id = instance_id
|
|
@@ -8274,27 +9364,23 @@ class DisableConditionalAccessPolicyRequest(TeaModel):
|
|
|
8274
9364
|
return _map
|
|
8275
9365
|
|
|
8276
9366
|
result = dict()
|
|
8277
|
-
if self.conditional_access_policy_id is not None:
|
|
8278
|
-
result['ConditionalAccessPolicyId'] = self.conditional_access_policy_id
|
|
8279
9367
|
if self.instance_id is not None:
|
|
8280
9368
|
result['InstanceId'] = self.instance_id
|
|
8281
9369
|
return result
|
|
8282
9370
|
|
|
8283
9371
|
def from_map(self, m: dict = None):
|
|
8284
9372
|
m = m or dict()
|
|
8285
|
-
if m.get('ConditionalAccessPolicyId') is not None:
|
|
8286
|
-
self.conditional_access_policy_id = m.get('ConditionalAccessPolicyId')
|
|
8287
9373
|
if m.get('InstanceId') is not None:
|
|
8288
9374
|
self.instance_id = m.get('InstanceId')
|
|
8289
9375
|
return self
|
|
8290
9376
|
|
|
8291
9377
|
|
|
8292
|
-
class
|
|
9378
|
+
class DisableInitDomainAutoRedirectResponseBody(TeaModel):
|
|
8293
9379
|
def __init__(
|
|
8294
9380
|
self,
|
|
8295
9381
|
request_id: str = None,
|
|
8296
9382
|
):
|
|
8297
|
-
#
|
|
9383
|
+
# The request ID.
|
|
8298
9384
|
self.request_id = request_id
|
|
8299
9385
|
|
|
8300
9386
|
def validate(self):
|
|
@@ -8317,12 +9403,12 @@ class DisableConditionalAccessPolicyResponseBody(TeaModel):
|
|
|
8317
9403
|
return self
|
|
8318
9404
|
|
|
8319
9405
|
|
|
8320
|
-
class
|
|
9406
|
+
class DisableInitDomainAutoRedirectResponse(TeaModel):
|
|
8321
9407
|
def __init__(
|
|
8322
9408
|
self,
|
|
8323
9409
|
headers: Dict[str, str] = None,
|
|
8324
9410
|
status_code: int = None,
|
|
8325
|
-
body:
|
|
9411
|
+
body: DisableInitDomainAutoRedirectResponseBody = None,
|
|
8326
9412
|
):
|
|
8327
9413
|
self.headers = headers
|
|
8328
9414
|
self.status_code = status_code
|
|
@@ -8353,20 +9439,20 @@ class DisableConditionalAccessPolicyResponse(TeaModel):
|
|
|
8353
9439
|
if m.get('statusCode') is not None:
|
|
8354
9440
|
self.status_code = m.get('statusCode')
|
|
8355
9441
|
if m.get('body') is not None:
|
|
8356
|
-
temp_model =
|
|
9442
|
+
temp_model = DisableInitDomainAutoRedirectResponseBody()
|
|
8357
9443
|
self.body = temp_model.from_map(m['body'])
|
|
8358
9444
|
return self
|
|
8359
9445
|
|
|
8360
9446
|
|
|
8361
|
-
class
|
|
9447
|
+
class DisableInternalAuthenticationSourceRequest(TeaModel):
|
|
8362
9448
|
def __init__(
|
|
8363
9449
|
self,
|
|
8364
|
-
|
|
9450
|
+
authentication_source_id: str = None,
|
|
8365
9451
|
instance_id: str = None,
|
|
8366
9452
|
):
|
|
8367
|
-
#
|
|
8368
|
-
self.
|
|
8369
|
-
# IDaaS EIAM
|
|
9453
|
+
# 内部认证源ID,比如 ia_password, ia_otp_sms 等
|
|
9454
|
+
self.authentication_source_id = authentication_source_id
|
|
9455
|
+
# IDaaS EIAM的实例id
|
|
8370
9456
|
#
|
|
8371
9457
|
# This parameter is required.
|
|
8372
9458
|
self.instance_id = instance_id
|
|
@@ -8380,22 +9466,22 @@ class DisableCustomPrivacyPolicyRequest(TeaModel):
|
|
|
8380
9466
|
return _map
|
|
8381
9467
|
|
|
8382
9468
|
result = dict()
|
|
8383
|
-
if self.
|
|
8384
|
-
result['
|
|
9469
|
+
if self.authentication_source_id is not None:
|
|
9470
|
+
result['AuthenticationSourceId'] = self.authentication_source_id
|
|
8385
9471
|
if self.instance_id is not None:
|
|
8386
9472
|
result['InstanceId'] = self.instance_id
|
|
8387
9473
|
return result
|
|
8388
9474
|
|
|
8389
9475
|
def from_map(self, m: dict = None):
|
|
8390
9476
|
m = m or dict()
|
|
8391
|
-
if m.get('
|
|
8392
|
-
self.
|
|
9477
|
+
if m.get('AuthenticationSourceId') is not None:
|
|
9478
|
+
self.authentication_source_id = m.get('AuthenticationSourceId')
|
|
8393
9479
|
if m.get('InstanceId') is not None:
|
|
8394
9480
|
self.instance_id = m.get('InstanceId')
|
|
8395
9481
|
return self
|
|
8396
9482
|
|
|
8397
9483
|
|
|
8398
|
-
class
|
|
9484
|
+
class DisableInternalAuthenticationSourceResponseBody(TeaModel):
|
|
8399
9485
|
def __init__(
|
|
8400
9486
|
self,
|
|
8401
9487
|
request_id: str = None,
|
|
@@ -8422,12 +9508,12 @@ class DisableCustomPrivacyPolicyResponseBody(TeaModel):
|
|
|
8422
9508
|
return self
|
|
8423
9509
|
|
|
8424
9510
|
|
|
8425
|
-
class
|
|
9511
|
+
class DisableInternalAuthenticationSourceResponse(TeaModel):
|
|
8426
9512
|
def __init__(
|
|
8427
9513
|
self,
|
|
8428
9514
|
headers: Dict[str, str] = None,
|
|
8429
9515
|
status_code: int = None,
|
|
8430
|
-
body:
|
|
9516
|
+
body: DisableInternalAuthenticationSourceResponseBody = None,
|
|
8431
9517
|
):
|
|
8432
9518
|
self.headers = headers
|
|
8433
9519
|
self.status_code = status_code
|
|
@@ -8458,30 +9544,25 @@ class DisableCustomPrivacyPolicyResponse(TeaModel):
|
|
|
8458
9544
|
if m.get('statusCode') is not None:
|
|
8459
9545
|
self.status_code = m.get('statusCode')
|
|
8460
9546
|
if m.get('body') is not None:
|
|
8461
|
-
temp_model =
|
|
9547
|
+
temp_model = DisableInternalAuthenticationSourceResponseBody()
|
|
8462
9548
|
self.body = temp_model.from_map(m['body'])
|
|
8463
9549
|
return self
|
|
8464
9550
|
|
|
8465
9551
|
|
|
8466
|
-
class
|
|
9552
|
+
class DisableUserRequest(TeaModel):
|
|
8467
9553
|
def __init__(
|
|
8468
9554
|
self,
|
|
8469
|
-
domain_id: str = None,
|
|
8470
|
-
domain_proxy_token_id: str = None,
|
|
8471
9555
|
instance_id: str = None,
|
|
9556
|
+
user_id: str = None,
|
|
8472
9557
|
):
|
|
8473
|
-
# The ID of the domain name.
|
|
8474
|
-
#
|
|
8475
|
-
# This parameter is required.
|
|
8476
|
-
self.domain_id = domain_id
|
|
8477
|
-
# The ID of the proxy token of the domain name.
|
|
8478
|
-
#
|
|
8479
|
-
# This parameter is required.
|
|
8480
|
-
self.domain_proxy_token_id = domain_proxy_token_id
|
|
8481
9558
|
# The instance ID.
|
|
8482
9559
|
#
|
|
8483
9560
|
# This parameter is required.
|
|
8484
9561
|
self.instance_id = instance_id
|
|
9562
|
+
# The ID of the account.
|
|
9563
|
+
#
|
|
9564
|
+
# This parameter is required.
|
|
9565
|
+
self.user_id = user_id
|
|
8485
9566
|
|
|
8486
9567
|
def validate(self):
|
|
8487
9568
|
pass
|
|
@@ -8492,26 +9573,22 @@ class DisableDomainProxyTokenRequest(TeaModel):
|
|
|
8492
9573
|
return _map
|
|
8493
9574
|
|
|
8494
9575
|
result = dict()
|
|
8495
|
-
if self.domain_id is not None:
|
|
8496
|
-
result['DomainId'] = self.domain_id
|
|
8497
|
-
if self.domain_proxy_token_id is not None:
|
|
8498
|
-
result['DomainProxyTokenId'] = self.domain_proxy_token_id
|
|
8499
9576
|
if self.instance_id is not None:
|
|
8500
9577
|
result['InstanceId'] = self.instance_id
|
|
9578
|
+
if self.user_id is not None:
|
|
9579
|
+
result['UserId'] = self.user_id
|
|
8501
9580
|
return result
|
|
8502
9581
|
|
|
8503
9582
|
def from_map(self, m: dict = None):
|
|
8504
9583
|
m = m or dict()
|
|
8505
|
-
if m.get('DomainId') is not None:
|
|
8506
|
-
self.domain_id = m.get('DomainId')
|
|
8507
|
-
if m.get('DomainProxyTokenId') is not None:
|
|
8508
|
-
self.domain_proxy_token_id = m.get('DomainProxyTokenId')
|
|
8509
9584
|
if m.get('InstanceId') is not None:
|
|
8510
9585
|
self.instance_id = m.get('InstanceId')
|
|
9586
|
+
if m.get('UserId') is not None:
|
|
9587
|
+
self.user_id = m.get('UserId')
|
|
8511
9588
|
return self
|
|
8512
9589
|
|
|
8513
9590
|
|
|
8514
|
-
class
|
|
9591
|
+
class DisableUserResponseBody(TeaModel):
|
|
8515
9592
|
def __init__(
|
|
8516
9593
|
self,
|
|
8517
9594
|
request_id: str = None,
|
|
@@ -8539,12 +9616,12 @@ class DisableDomainProxyTokenResponseBody(TeaModel):
|
|
|
8539
9616
|
return self
|
|
8540
9617
|
|
|
8541
9618
|
|
|
8542
|
-
class
|
|
9619
|
+
class DisableUserResponse(TeaModel):
|
|
8543
9620
|
def __init__(
|
|
8544
9621
|
self,
|
|
8545
9622
|
headers: Dict[str, str] = None,
|
|
8546
9623
|
status_code: int = None,
|
|
8547
|
-
body:
|
|
9624
|
+
body: DisableUserResponseBody = None,
|
|
8548
9625
|
):
|
|
8549
9626
|
self.headers = headers
|
|
8550
9627
|
self.status_code = status_code
|
|
@@ -8575,22 +9652,22 @@ class DisableDomainProxyTokenResponse(TeaModel):
|
|
|
8575
9652
|
if m.get('statusCode') is not None:
|
|
8576
9653
|
self.status_code = m.get('statusCode')
|
|
8577
9654
|
if m.get('body') is not None:
|
|
8578
|
-
temp_model =
|
|
9655
|
+
temp_model = DisableUserResponseBody()
|
|
8579
9656
|
self.body = temp_model.from_map(m['body'])
|
|
8580
9657
|
return self
|
|
8581
9658
|
|
|
8582
9659
|
|
|
8583
|
-
class
|
|
9660
|
+
class EnableApplicationRequest(TeaModel):
|
|
8584
9661
|
def __init__(
|
|
8585
9662
|
self,
|
|
8586
|
-
|
|
9663
|
+
application_id: str = None,
|
|
8587
9664
|
instance_id: str = None,
|
|
8588
9665
|
):
|
|
8589
|
-
#
|
|
9666
|
+
# The ID of the application that you want to enable.
|
|
8590
9667
|
#
|
|
8591
9668
|
# This parameter is required.
|
|
8592
|
-
self.
|
|
8593
|
-
#
|
|
9669
|
+
self.application_id = application_id
|
|
9670
|
+
# The ID of the instance.
|
|
8594
9671
|
#
|
|
8595
9672
|
# This parameter is required.
|
|
8596
9673
|
self.instance_id = instance_id
|
|
@@ -8604,26 +9681,27 @@ class DisableFederatedCredentialProviderRequest(TeaModel):
|
|
|
8604
9681
|
return _map
|
|
8605
9682
|
|
|
8606
9683
|
result = dict()
|
|
8607
|
-
if self.
|
|
8608
|
-
result['
|
|
9684
|
+
if self.application_id is not None:
|
|
9685
|
+
result['ApplicationId'] = self.application_id
|
|
8609
9686
|
if self.instance_id is not None:
|
|
8610
9687
|
result['InstanceId'] = self.instance_id
|
|
8611
9688
|
return result
|
|
8612
9689
|
|
|
8613
9690
|
def from_map(self, m: dict = None):
|
|
8614
9691
|
m = m or dict()
|
|
8615
|
-
if m.get('
|
|
8616
|
-
self.
|
|
9692
|
+
if m.get('ApplicationId') is not None:
|
|
9693
|
+
self.application_id = m.get('ApplicationId')
|
|
8617
9694
|
if m.get('InstanceId') is not None:
|
|
8618
9695
|
self.instance_id = m.get('InstanceId')
|
|
8619
9696
|
return self
|
|
8620
9697
|
|
|
8621
9698
|
|
|
8622
|
-
class
|
|
9699
|
+
class EnableApplicationResponseBody(TeaModel):
|
|
8623
9700
|
def __init__(
|
|
8624
9701
|
self,
|
|
8625
9702
|
request_id: str = None,
|
|
8626
9703
|
):
|
|
9704
|
+
# The ID of the request.
|
|
8627
9705
|
self.request_id = request_id
|
|
8628
9706
|
|
|
8629
9707
|
def validate(self):
|
|
@@ -8646,12 +9724,12 @@ class DisableFederatedCredentialProviderResponseBody(TeaModel):
|
|
|
8646
9724
|
return self
|
|
8647
9725
|
|
|
8648
9726
|
|
|
8649
|
-
class
|
|
9727
|
+
class EnableApplicationResponse(TeaModel):
|
|
8650
9728
|
def __init__(
|
|
8651
9729
|
self,
|
|
8652
9730
|
headers: Dict[str, str] = None,
|
|
8653
9731
|
status_code: int = None,
|
|
8654
|
-
body:
|
|
9732
|
+
body: EnableApplicationResponseBody = None,
|
|
8655
9733
|
):
|
|
8656
9734
|
self.headers = headers
|
|
8657
9735
|
self.status_code = status_code
|
|
@@ -8682,22 +9760,22 @@ class DisableFederatedCredentialProviderResponse(TeaModel):
|
|
|
8682
9760
|
if m.get('statusCode') is not None:
|
|
8683
9761
|
self.status_code = m.get('statusCode')
|
|
8684
9762
|
if m.get('body') is not None:
|
|
8685
|
-
temp_model =
|
|
9763
|
+
temp_model = EnableApplicationResponseBody()
|
|
8686
9764
|
self.body = temp_model.from_map(m['body'])
|
|
8687
9765
|
return self
|
|
8688
9766
|
|
|
8689
9767
|
|
|
8690
|
-
class
|
|
9768
|
+
class EnableApplicationApiInvokeRequest(TeaModel):
|
|
8691
9769
|
def __init__(
|
|
8692
9770
|
self,
|
|
8693
|
-
|
|
9771
|
+
application_id: str = None,
|
|
8694
9772
|
instance_id: str = None,
|
|
8695
9773
|
):
|
|
8696
|
-
#
|
|
9774
|
+
# The ID of the application.
|
|
8697
9775
|
#
|
|
8698
9776
|
# This parameter is required.
|
|
8699
|
-
self.
|
|
8700
|
-
#
|
|
9777
|
+
self.application_id = application_id
|
|
9778
|
+
# The ID of the instance.
|
|
8701
9779
|
#
|
|
8702
9780
|
# This parameter is required.
|
|
8703
9781
|
self.instance_id = instance_id
|
|
@@ -8711,26 +9789,27 @@ class DisableIdentityProviderAuthnRequest(TeaModel):
|
|
|
8711
9789
|
return _map
|
|
8712
9790
|
|
|
8713
9791
|
result = dict()
|
|
8714
|
-
if self.
|
|
8715
|
-
result['
|
|
9792
|
+
if self.application_id is not None:
|
|
9793
|
+
result['ApplicationId'] = self.application_id
|
|
8716
9794
|
if self.instance_id is not None:
|
|
8717
9795
|
result['InstanceId'] = self.instance_id
|
|
8718
9796
|
return result
|
|
8719
9797
|
|
|
8720
9798
|
def from_map(self, m: dict = None):
|
|
8721
9799
|
m = m or dict()
|
|
8722
|
-
if m.get('
|
|
8723
|
-
self.
|
|
9800
|
+
if m.get('ApplicationId') is not None:
|
|
9801
|
+
self.application_id = m.get('ApplicationId')
|
|
8724
9802
|
if m.get('InstanceId') is not None:
|
|
8725
9803
|
self.instance_id = m.get('InstanceId')
|
|
8726
9804
|
return self
|
|
8727
9805
|
|
|
8728
9806
|
|
|
8729
|
-
class
|
|
9807
|
+
class EnableApplicationApiInvokeResponseBody(TeaModel):
|
|
8730
9808
|
def __init__(
|
|
8731
9809
|
self,
|
|
8732
9810
|
request_id: str = None,
|
|
8733
9811
|
):
|
|
9812
|
+
# The ID of the request.
|
|
8734
9813
|
self.request_id = request_id
|
|
8735
9814
|
|
|
8736
9815
|
def validate(self):
|
|
@@ -8753,12 +9832,12 @@ class DisableIdentityProviderAuthnResponseBody(TeaModel):
|
|
|
8753
9832
|
return self
|
|
8754
9833
|
|
|
8755
9834
|
|
|
8756
|
-
class
|
|
9835
|
+
class EnableApplicationApiInvokeResponse(TeaModel):
|
|
8757
9836
|
def __init__(
|
|
8758
9837
|
self,
|
|
8759
9838
|
headers: Dict[str, str] = None,
|
|
8760
9839
|
status_code: int = None,
|
|
8761
|
-
body:
|
|
9840
|
+
body: EnableApplicationApiInvokeResponseBody = None,
|
|
8762
9841
|
):
|
|
8763
9842
|
self.headers = headers
|
|
8764
9843
|
self.status_code = status_code
|
|
@@ -8789,25 +9868,30 @@ class DisableIdentityProviderAuthnResponse(TeaModel):
|
|
|
8789
9868
|
if m.get('statusCode') is not None:
|
|
8790
9869
|
self.status_code = m.get('statusCode')
|
|
8791
9870
|
if m.get('body') is not None:
|
|
8792
|
-
temp_model =
|
|
9871
|
+
temp_model = EnableApplicationApiInvokeResponseBody()
|
|
8793
9872
|
self.body = temp_model.from_map(m['body'])
|
|
8794
9873
|
return self
|
|
8795
9874
|
|
|
8796
9875
|
|
|
8797
|
-
class
|
|
9876
|
+
class EnableApplicationClientSecretRequest(TeaModel):
|
|
8798
9877
|
def __init__(
|
|
8799
9878
|
self,
|
|
8800
|
-
|
|
9879
|
+
application_id: str = None,
|
|
8801
9880
|
instance_id: str = None,
|
|
9881
|
+
secret_id: str = None,
|
|
8802
9882
|
):
|
|
8803
|
-
#
|
|
9883
|
+
# The ID of the application.
|
|
8804
9884
|
#
|
|
8805
9885
|
# This parameter is required.
|
|
8806
|
-
self.
|
|
9886
|
+
self.application_id = application_id
|
|
8807
9887
|
# The ID of the instance.
|
|
8808
9888
|
#
|
|
8809
9889
|
# This parameter is required.
|
|
8810
9890
|
self.instance_id = instance_id
|
|
9891
|
+
# The client key ID of the application.
|
|
9892
|
+
#
|
|
9893
|
+
# This parameter is required.
|
|
9894
|
+
self.secret_id = secret_id
|
|
8811
9895
|
|
|
8812
9896
|
def validate(self):
|
|
8813
9897
|
pass
|
|
@@ -8818,22 +9902,26 @@ class DisableIdentityProviderUdPullRequest(TeaModel):
|
|
|
8818
9902
|
return _map
|
|
8819
9903
|
|
|
8820
9904
|
result = dict()
|
|
8821
|
-
if self.
|
|
8822
|
-
result['
|
|
9905
|
+
if self.application_id is not None:
|
|
9906
|
+
result['ApplicationId'] = self.application_id
|
|
8823
9907
|
if self.instance_id is not None:
|
|
8824
9908
|
result['InstanceId'] = self.instance_id
|
|
9909
|
+
if self.secret_id is not None:
|
|
9910
|
+
result['SecretId'] = self.secret_id
|
|
8825
9911
|
return result
|
|
8826
9912
|
|
|
8827
9913
|
def from_map(self, m: dict = None):
|
|
8828
9914
|
m = m or dict()
|
|
8829
|
-
if m.get('
|
|
8830
|
-
self.
|
|
9915
|
+
if m.get('ApplicationId') is not None:
|
|
9916
|
+
self.application_id = m.get('ApplicationId')
|
|
8831
9917
|
if m.get('InstanceId') is not None:
|
|
8832
9918
|
self.instance_id = m.get('InstanceId')
|
|
9919
|
+
if m.get('SecretId') is not None:
|
|
9920
|
+
self.secret_id = m.get('SecretId')
|
|
8833
9921
|
return self
|
|
8834
9922
|
|
|
8835
9923
|
|
|
8836
|
-
class
|
|
9924
|
+
class EnableApplicationClientSecretResponseBody(TeaModel):
|
|
8837
9925
|
def __init__(
|
|
8838
9926
|
self,
|
|
8839
9927
|
request_id: str = None,
|
|
@@ -8861,12 +9949,12 @@ class DisableIdentityProviderUdPullResponseBody(TeaModel):
|
|
|
8861
9949
|
return self
|
|
8862
9950
|
|
|
8863
9951
|
|
|
8864
|
-
class
|
|
9952
|
+
class EnableApplicationClientSecretResponse(TeaModel):
|
|
8865
9953
|
def __init__(
|
|
8866
9954
|
self,
|
|
8867
9955
|
headers: Dict[str, str] = None,
|
|
8868
9956
|
status_code: int = None,
|
|
8869
|
-
body:
|
|
9957
|
+
body: EnableApplicationClientSecretResponseBody = None,
|
|
8870
9958
|
):
|
|
8871
9959
|
self.headers = headers
|
|
8872
9960
|
self.status_code = status_code
|
|
@@ -8897,17 +9985,27 @@ class DisableIdentityProviderUdPullResponse(TeaModel):
|
|
|
8897
9985
|
if m.get('statusCode') is not None:
|
|
8898
9986
|
self.status_code = m.get('statusCode')
|
|
8899
9987
|
if m.get('body') is not None:
|
|
8900
|
-
temp_model =
|
|
9988
|
+
temp_model = EnableApplicationClientSecretResponseBody()
|
|
8901
9989
|
self.body = temp_model.from_map(m['body'])
|
|
8902
9990
|
return self
|
|
8903
9991
|
|
|
8904
9992
|
|
|
8905
|
-
class
|
|
9993
|
+
class EnableApplicationFederatedCredentialRequest(TeaModel):
|
|
8906
9994
|
def __init__(
|
|
8907
9995
|
self,
|
|
9996
|
+
application_federated_credential_id: str = None,
|
|
9997
|
+
application_id: str = None,
|
|
8908
9998
|
instance_id: str = None,
|
|
8909
9999
|
):
|
|
8910
|
-
#
|
|
10000
|
+
# 应用联邦凭证Id
|
|
10001
|
+
#
|
|
10002
|
+
# This parameter is required.
|
|
10003
|
+
self.application_federated_credential_id = application_federated_credential_id
|
|
10004
|
+
# IDaaS的应用资源ID。
|
|
10005
|
+
#
|
|
10006
|
+
# This parameter is required.
|
|
10007
|
+
self.application_id = application_id
|
|
10008
|
+
# IDaaS EIAM实例的ID。
|
|
8911
10009
|
#
|
|
8912
10010
|
# This parameter is required.
|
|
8913
10011
|
self.instance_id = instance_id
|
|
@@ -8921,23 +10019,30 @@ class DisableInitDomainAutoRedirectRequest(TeaModel):
|
|
|
8921
10019
|
return _map
|
|
8922
10020
|
|
|
8923
10021
|
result = dict()
|
|
10022
|
+
if self.application_federated_credential_id is not None:
|
|
10023
|
+
result['ApplicationFederatedCredentialId'] = self.application_federated_credential_id
|
|
10024
|
+
if self.application_id is not None:
|
|
10025
|
+
result['ApplicationId'] = self.application_id
|
|
8924
10026
|
if self.instance_id is not None:
|
|
8925
10027
|
result['InstanceId'] = self.instance_id
|
|
8926
10028
|
return result
|
|
8927
10029
|
|
|
8928
10030
|
def from_map(self, m: dict = None):
|
|
8929
10031
|
m = m or dict()
|
|
10032
|
+
if m.get('ApplicationFederatedCredentialId') is not None:
|
|
10033
|
+
self.application_federated_credential_id = m.get('ApplicationFederatedCredentialId')
|
|
10034
|
+
if m.get('ApplicationId') is not None:
|
|
10035
|
+
self.application_id = m.get('ApplicationId')
|
|
8930
10036
|
if m.get('InstanceId') is not None:
|
|
8931
10037
|
self.instance_id = m.get('InstanceId')
|
|
8932
10038
|
return self
|
|
8933
10039
|
|
|
8934
10040
|
|
|
8935
|
-
class
|
|
10041
|
+
class EnableApplicationFederatedCredentialResponseBody(TeaModel):
|
|
8936
10042
|
def __init__(
|
|
8937
10043
|
self,
|
|
8938
10044
|
request_id: str = None,
|
|
8939
10045
|
):
|
|
8940
|
-
# The request ID.
|
|
8941
10046
|
self.request_id = request_id
|
|
8942
10047
|
|
|
8943
10048
|
def validate(self):
|
|
@@ -8960,12 +10065,12 @@ class DisableInitDomainAutoRedirectResponseBody(TeaModel):
|
|
|
8960
10065
|
return self
|
|
8961
10066
|
|
|
8962
10067
|
|
|
8963
|
-
class
|
|
10068
|
+
class EnableApplicationFederatedCredentialResponse(TeaModel):
|
|
8964
10069
|
def __init__(
|
|
8965
10070
|
self,
|
|
8966
10071
|
headers: Dict[str, str] = None,
|
|
8967
10072
|
status_code: int = None,
|
|
8968
|
-
body:
|
|
10073
|
+
body: EnableApplicationFederatedCredentialResponseBody = None,
|
|
8969
10074
|
):
|
|
8970
10075
|
self.headers = headers
|
|
8971
10076
|
self.status_code = status_code
|
|
@@ -8996,25 +10101,25 @@ class DisableInitDomainAutoRedirectResponse(TeaModel):
|
|
|
8996
10101
|
if m.get('statusCode') is not None:
|
|
8997
10102
|
self.status_code = m.get('statusCode')
|
|
8998
10103
|
if m.get('body') is not None:
|
|
8999
|
-
temp_model =
|
|
10104
|
+
temp_model = EnableApplicationFederatedCredentialResponseBody()
|
|
9000
10105
|
self.body = temp_model.from_map(m['body'])
|
|
9001
10106
|
return self
|
|
9002
10107
|
|
|
9003
10108
|
|
|
9004
|
-
class
|
|
10109
|
+
class EnableApplicationProvisioningRequest(TeaModel):
|
|
9005
10110
|
def __init__(
|
|
9006
10111
|
self,
|
|
10112
|
+
application_id: str = None,
|
|
9007
10113
|
instance_id: str = None,
|
|
9008
|
-
user_id: str = None,
|
|
9009
10114
|
):
|
|
9010
|
-
# The
|
|
10115
|
+
# The ID of the application.
|
|
9011
10116
|
#
|
|
9012
10117
|
# This parameter is required.
|
|
9013
|
-
self.
|
|
9014
|
-
# The ID of the
|
|
10118
|
+
self.application_id = application_id
|
|
10119
|
+
# The ID of the instance.
|
|
9015
10120
|
#
|
|
9016
10121
|
# This parameter is required.
|
|
9017
|
-
self.
|
|
10122
|
+
self.instance_id = instance_id
|
|
9018
10123
|
|
|
9019
10124
|
def validate(self):
|
|
9020
10125
|
pass
|
|
@@ -9025,27 +10130,27 @@ class DisableUserRequest(TeaModel):
|
|
|
9025
10130
|
return _map
|
|
9026
10131
|
|
|
9027
10132
|
result = dict()
|
|
10133
|
+
if self.application_id is not None:
|
|
10134
|
+
result['ApplicationId'] = self.application_id
|
|
9028
10135
|
if self.instance_id is not None:
|
|
9029
10136
|
result['InstanceId'] = self.instance_id
|
|
9030
|
-
if self.user_id is not None:
|
|
9031
|
-
result['UserId'] = self.user_id
|
|
9032
10137
|
return result
|
|
9033
10138
|
|
|
9034
10139
|
def from_map(self, m: dict = None):
|
|
9035
10140
|
m = m or dict()
|
|
10141
|
+
if m.get('ApplicationId') is not None:
|
|
10142
|
+
self.application_id = m.get('ApplicationId')
|
|
9036
10143
|
if m.get('InstanceId') is not None:
|
|
9037
10144
|
self.instance_id = m.get('InstanceId')
|
|
9038
|
-
if m.get('UserId') is not None:
|
|
9039
|
-
self.user_id = m.get('UserId')
|
|
9040
10145
|
return self
|
|
9041
10146
|
|
|
9042
10147
|
|
|
9043
|
-
class
|
|
10148
|
+
class EnableApplicationProvisioningResponseBody(TeaModel):
|
|
9044
10149
|
def __init__(
|
|
9045
10150
|
self,
|
|
9046
10151
|
request_id: str = None,
|
|
9047
10152
|
):
|
|
9048
|
-
# The request
|
|
10153
|
+
# The ID of the request.
|
|
9049
10154
|
self.request_id = request_id
|
|
9050
10155
|
|
|
9051
10156
|
def validate(self):
|
|
@@ -9068,12 +10173,12 @@ class DisableUserResponseBody(TeaModel):
|
|
|
9068
10173
|
return self
|
|
9069
10174
|
|
|
9070
10175
|
|
|
9071
|
-
class
|
|
10176
|
+
class EnableApplicationProvisioningResponse(TeaModel):
|
|
9072
10177
|
def __init__(
|
|
9073
10178
|
self,
|
|
9074
10179
|
headers: Dict[str, str] = None,
|
|
9075
10180
|
status_code: int = None,
|
|
9076
|
-
body:
|
|
10181
|
+
body: EnableApplicationProvisioningResponseBody = None,
|
|
9077
10182
|
):
|
|
9078
10183
|
self.headers = headers
|
|
9079
10184
|
self.status_code = status_code
|
|
@@ -9104,22 +10209,22 @@ class DisableUserResponse(TeaModel):
|
|
|
9104
10209
|
if m.get('statusCode') is not None:
|
|
9105
10210
|
self.status_code = m.get('statusCode')
|
|
9106
10211
|
if m.get('body') is not None:
|
|
9107
|
-
temp_model =
|
|
10212
|
+
temp_model = EnableApplicationProvisioningResponseBody()
|
|
9108
10213
|
self.body = temp_model.from_map(m['body'])
|
|
9109
10214
|
return self
|
|
9110
10215
|
|
|
9111
10216
|
|
|
9112
|
-
class
|
|
10217
|
+
class EnableApplicationSsoRequest(TeaModel):
|
|
9113
10218
|
def __init__(
|
|
9114
10219
|
self,
|
|
9115
10220
|
application_id: str = None,
|
|
9116
10221
|
instance_id: str = None,
|
|
9117
10222
|
):
|
|
9118
|
-
# The
|
|
10223
|
+
# The application ID.
|
|
9119
10224
|
#
|
|
9120
10225
|
# This parameter is required.
|
|
9121
10226
|
self.application_id = application_id
|
|
9122
|
-
# The ID
|
|
10227
|
+
# The instance ID.
|
|
9123
10228
|
#
|
|
9124
10229
|
# This parameter is required.
|
|
9125
10230
|
self.instance_id = instance_id
|
|
@@ -9148,12 +10253,12 @@ class EnableApplicationRequest(TeaModel):
|
|
|
9148
10253
|
return self
|
|
9149
10254
|
|
|
9150
10255
|
|
|
9151
|
-
class
|
|
10256
|
+
class EnableApplicationSsoResponseBody(TeaModel):
|
|
9152
10257
|
def __init__(
|
|
9153
10258
|
self,
|
|
9154
10259
|
request_id: str = None,
|
|
9155
10260
|
):
|
|
9156
|
-
# The ID
|
|
10261
|
+
# The request ID.
|
|
9157
10262
|
self.request_id = request_id
|
|
9158
10263
|
|
|
9159
10264
|
def validate(self):
|
|
@@ -9176,12 +10281,12 @@ class EnableApplicationResponseBody(TeaModel):
|
|
|
9176
10281
|
return self
|
|
9177
10282
|
|
|
9178
10283
|
|
|
9179
|
-
class
|
|
10284
|
+
class EnableApplicationSsoResponse(TeaModel):
|
|
9180
10285
|
def __init__(
|
|
9181
10286
|
self,
|
|
9182
10287
|
headers: Dict[str, str] = None,
|
|
9183
10288
|
status_code: int = None,
|
|
9184
|
-
body:
|
|
10289
|
+
body: EnableApplicationSsoResponseBody = None,
|
|
9185
10290
|
):
|
|
9186
10291
|
self.headers = headers
|
|
9187
10292
|
self.status_code = status_code
|
|
@@ -9212,22 +10317,27 @@ class EnableApplicationResponse(TeaModel):
|
|
|
9212
10317
|
if m.get('statusCode') is not None:
|
|
9213
10318
|
self.status_code = m.get('statusCode')
|
|
9214
10319
|
if m.get('body') is not None:
|
|
9215
|
-
temp_model =
|
|
10320
|
+
temp_model = EnableApplicationSsoResponseBody()
|
|
9216
10321
|
self.body = temp_model.from_map(m['body'])
|
|
9217
10322
|
return self
|
|
9218
10323
|
|
|
9219
10324
|
|
|
9220
|
-
class
|
|
10325
|
+
class EnableApplicationTokenRequest(TeaModel):
|
|
9221
10326
|
def __init__(
|
|
9222
10327
|
self,
|
|
9223
10328
|
application_id: str = None,
|
|
10329
|
+
application_token_id: str = None,
|
|
9224
10330
|
instance_id: str = None,
|
|
9225
10331
|
):
|
|
9226
|
-
#
|
|
10332
|
+
# IDaaS的应用资源ID。
|
|
9227
10333
|
#
|
|
9228
10334
|
# This parameter is required.
|
|
9229
10335
|
self.application_id = application_id
|
|
9230
|
-
#
|
|
10336
|
+
# IDaaS的应用资源TokenID。
|
|
10337
|
+
#
|
|
10338
|
+
# This parameter is required.
|
|
10339
|
+
self.application_token_id = application_token_id
|
|
10340
|
+
# IDaaS EIAM实例的ID。
|
|
9231
10341
|
#
|
|
9232
10342
|
# This parameter is required.
|
|
9233
10343
|
self.instance_id = instance_id
|
|
@@ -9243,6 +10353,8 @@ class EnableApplicationApiInvokeRequest(TeaModel):
|
|
|
9243
10353
|
result = dict()
|
|
9244
10354
|
if self.application_id is not None:
|
|
9245
10355
|
result['ApplicationId'] = self.application_id
|
|
10356
|
+
if self.application_token_id is not None:
|
|
10357
|
+
result['ApplicationTokenId'] = self.application_token_id
|
|
9246
10358
|
if self.instance_id is not None:
|
|
9247
10359
|
result['InstanceId'] = self.instance_id
|
|
9248
10360
|
return result
|
|
@@ -9251,17 +10363,18 @@ class EnableApplicationApiInvokeRequest(TeaModel):
|
|
|
9251
10363
|
m = m or dict()
|
|
9252
10364
|
if m.get('ApplicationId') is not None:
|
|
9253
10365
|
self.application_id = m.get('ApplicationId')
|
|
10366
|
+
if m.get('ApplicationTokenId') is not None:
|
|
10367
|
+
self.application_token_id = m.get('ApplicationTokenId')
|
|
9254
10368
|
if m.get('InstanceId') is not None:
|
|
9255
10369
|
self.instance_id = m.get('InstanceId')
|
|
9256
10370
|
return self
|
|
9257
10371
|
|
|
9258
10372
|
|
|
9259
|
-
class
|
|
10373
|
+
class EnableApplicationTokenResponseBody(TeaModel):
|
|
9260
10374
|
def __init__(
|
|
9261
10375
|
self,
|
|
9262
10376
|
request_id: str = None,
|
|
9263
10377
|
):
|
|
9264
|
-
# The ID of the request.
|
|
9265
10378
|
self.request_id = request_id
|
|
9266
10379
|
|
|
9267
10380
|
def validate(self):
|
|
@@ -9284,12 +10397,12 @@ class EnableApplicationApiInvokeResponseBody(TeaModel):
|
|
|
9284
10397
|
return self
|
|
9285
10398
|
|
|
9286
10399
|
|
|
9287
|
-
class
|
|
10400
|
+
class EnableApplicationTokenResponse(TeaModel):
|
|
9288
10401
|
def __init__(
|
|
9289
10402
|
self,
|
|
9290
10403
|
headers: Dict[str, str] = None,
|
|
9291
10404
|
status_code: int = None,
|
|
9292
|
-
body:
|
|
10405
|
+
body: EnableApplicationTokenResponseBody = None,
|
|
9293
10406
|
):
|
|
9294
10407
|
self.headers = headers
|
|
9295
10408
|
self.status_code = status_code
|
|
@@ -9320,30 +10433,25 @@ class EnableApplicationApiInvokeResponse(TeaModel):
|
|
|
9320
10433
|
if m.get('statusCode') is not None:
|
|
9321
10434
|
self.status_code = m.get('statusCode')
|
|
9322
10435
|
if m.get('body') is not None:
|
|
9323
|
-
temp_model =
|
|
10436
|
+
temp_model = EnableApplicationTokenResponseBody()
|
|
9324
10437
|
self.body = temp_model.from_map(m['body'])
|
|
9325
10438
|
return self
|
|
9326
10439
|
|
|
9327
10440
|
|
|
9328
|
-
class
|
|
10441
|
+
class EnableBrandRequest(TeaModel):
|
|
9329
10442
|
def __init__(
|
|
9330
10443
|
self,
|
|
9331
|
-
|
|
10444
|
+
brand_id: str = None,
|
|
9332
10445
|
instance_id: str = None,
|
|
9333
|
-
secret_id: str = None,
|
|
9334
10446
|
):
|
|
9335
|
-
#
|
|
10447
|
+
# 品牌化Id
|
|
9336
10448
|
#
|
|
9337
10449
|
# This parameter is required.
|
|
9338
|
-
self.
|
|
9339
|
-
#
|
|
10450
|
+
self.brand_id = brand_id
|
|
10451
|
+
# IDaaS EIAM实例的ID。
|
|
9340
10452
|
#
|
|
9341
10453
|
# This parameter is required.
|
|
9342
10454
|
self.instance_id = instance_id
|
|
9343
|
-
# The client key ID of the application.
|
|
9344
|
-
#
|
|
9345
|
-
# This parameter is required.
|
|
9346
|
-
self.secret_id = secret_id
|
|
9347
10455
|
|
|
9348
10456
|
def validate(self):
|
|
9349
10457
|
pass
|
|
@@ -9354,31 +10462,26 @@ class EnableApplicationClientSecretRequest(TeaModel):
|
|
|
9354
10462
|
return _map
|
|
9355
10463
|
|
|
9356
10464
|
result = dict()
|
|
9357
|
-
if self.
|
|
9358
|
-
result['
|
|
10465
|
+
if self.brand_id is not None:
|
|
10466
|
+
result['BrandId'] = self.brand_id
|
|
9359
10467
|
if self.instance_id is not None:
|
|
9360
10468
|
result['InstanceId'] = self.instance_id
|
|
9361
|
-
if self.secret_id is not None:
|
|
9362
|
-
result['SecretId'] = self.secret_id
|
|
9363
10469
|
return result
|
|
9364
10470
|
|
|
9365
10471
|
def from_map(self, m: dict = None):
|
|
9366
10472
|
m = m or dict()
|
|
9367
|
-
if m.get('
|
|
9368
|
-
self.
|
|
10473
|
+
if m.get('BrandId') is not None:
|
|
10474
|
+
self.brand_id = m.get('BrandId')
|
|
9369
10475
|
if m.get('InstanceId') is not None:
|
|
9370
10476
|
self.instance_id = m.get('InstanceId')
|
|
9371
|
-
if m.get('SecretId') is not None:
|
|
9372
|
-
self.secret_id = m.get('SecretId')
|
|
9373
10477
|
return self
|
|
9374
10478
|
|
|
9375
10479
|
|
|
9376
|
-
class
|
|
10480
|
+
class EnableBrandResponseBody(TeaModel):
|
|
9377
10481
|
def __init__(
|
|
9378
10482
|
self,
|
|
9379
10483
|
request_id: str = None,
|
|
9380
10484
|
):
|
|
9381
|
-
# The ID of the request.
|
|
9382
10485
|
self.request_id = request_id
|
|
9383
10486
|
|
|
9384
10487
|
def validate(self):
|
|
@@ -9401,12 +10504,12 @@ class EnableApplicationClientSecretResponseBody(TeaModel):
|
|
|
9401
10504
|
return self
|
|
9402
10505
|
|
|
9403
10506
|
|
|
9404
|
-
class
|
|
10507
|
+
class EnableBrandResponse(TeaModel):
|
|
9405
10508
|
def __init__(
|
|
9406
10509
|
self,
|
|
9407
10510
|
headers: Dict[str, str] = None,
|
|
9408
10511
|
status_code: int = None,
|
|
9409
|
-
body:
|
|
10512
|
+
body: EnableBrandResponseBody = None,
|
|
9410
10513
|
):
|
|
9411
10514
|
self.headers = headers
|
|
9412
10515
|
self.status_code = status_code
|
|
@@ -9437,27 +10540,22 @@ class EnableApplicationClientSecretResponse(TeaModel):
|
|
|
9437
10540
|
if m.get('statusCode') is not None:
|
|
9438
10541
|
self.status_code = m.get('statusCode')
|
|
9439
10542
|
if m.get('body') is not None:
|
|
9440
|
-
temp_model =
|
|
10543
|
+
temp_model = EnableBrandResponseBody()
|
|
9441
10544
|
self.body = temp_model.from_map(m['body'])
|
|
9442
10545
|
return self
|
|
9443
10546
|
|
|
9444
10547
|
|
|
9445
|
-
class
|
|
10548
|
+
class EnableConditionalAccessPolicyRequest(TeaModel):
|
|
9446
10549
|
def __init__(
|
|
9447
10550
|
self,
|
|
9448
|
-
|
|
9449
|
-
application_id: str = None,
|
|
10551
|
+
conditional_access_policy_id: str = None,
|
|
9450
10552
|
instance_id: str = None,
|
|
9451
10553
|
):
|
|
9452
|
-
#
|
|
9453
|
-
#
|
|
9454
|
-
# This parameter is required.
|
|
9455
|
-
self.application_federated_credential_id = application_federated_credential_id
|
|
9456
|
-
# IDaaS的应用资源ID。
|
|
10554
|
+
# Conditional Access Policy ID
|
|
9457
10555
|
#
|
|
9458
10556
|
# This parameter is required.
|
|
9459
|
-
self.
|
|
9460
|
-
#
|
|
10557
|
+
self.conditional_access_policy_id = conditional_access_policy_id
|
|
10558
|
+
# Instance ID.
|
|
9461
10559
|
#
|
|
9462
10560
|
# This parameter is required.
|
|
9463
10561
|
self.instance_id = instance_id
|
|
@@ -9471,30 +10569,27 @@ class EnableApplicationFederatedCredentialRequest(TeaModel):
|
|
|
9471
10569
|
return _map
|
|
9472
10570
|
|
|
9473
10571
|
result = dict()
|
|
9474
|
-
if self.
|
|
9475
|
-
result['
|
|
9476
|
-
if self.application_id is not None:
|
|
9477
|
-
result['ApplicationId'] = self.application_id
|
|
10572
|
+
if self.conditional_access_policy_id is not None:
|
|
10573
|
+
result['ConditionalAccessPolicyId'] = self.conditional_access_policy_id
|
|
9478
10574
|
if self.instance_id is not None:
|
|
9479
10575
|
result['InstanceId'] = self.instance_id
|
|
9480
10576
|
return result
|
|
9481
10577
|
|
|
9482
10578
|
def from_map(self, m: dict = None):
|
|
9483
10579
|
m = m or dict()
|
|
9484
|
-
if m.get('
|
|
9485
|
-
self.
|
|
9486
|
-
if m.get('ApplicationId') is not None:
|
|
9487
|
-
self.application_id = m.get('ApplicationId')
|
|
10580
|
+
if m.get('ConditionalAccessPolicyId') is not None:
|
|
10581
|
+
self.conditional_access_policy_id = m.get('ConditionalAccessPolicyId')
|
|
9488
10582
|
if m.get('InstanceId') is not None:
|
|
9489
10583
|
self.instance_id = m.get('InstanceId')
|
|
9490
10584
|
return self
|
|
9491
10585
|
|
|
9492
10586
|
|
|
9493
|
-
class
|
|
10587
|
+
class EnableConditionalAccessPolicyResponseBody(TeaModel):
|
|
9494
10588
|
def __init__(
|
|
9495
10589
|
self,
|
|
9496
10590
|
request_id: str = None,
|
|
9497
10591
|
):
|
|
10592
|
+
# 请求ID。
|
|
9498
10593
|
self.request_id = request_id
|
|
9499
10594
|
|
|
9500
10595
|
def validate(self):
|
|
@@ -9517,12 +10612,12 @@ class EnableApplicationFederatedCredentialResponseBody(TeaModel):
|
|
|
9517
10612
|
return self
|
|
9518
10613
|
|
|
9519
10614
|
|
|
9520
|
-
class
|
|
10615
|
+
class EnableConditionalAccessPolicyResponse(TeaModel):
|
|
9521
10616
|
def __init__(
|
|
9522
10617
|
self,
|
|
9523
10618
|
headers: Dict[str, str] = None,
|
|
9524
10619
|
status_code: int = None,
|
|
9525
|
-
body:
|
|
10620
|
+
body: EnableConditionalAccessPolicyResponseBody = None,
|
|
9526
10621
|
):
|
|
9527
10622
|
self.headers = headers
|
|
9528
10623
|
self.status_code = status_code
|
|
@@ -9553,22 +10648,20 @@ class EnableApplicationFederatedCredentialResponse(TeaModel):
|
|
|
9553
10648
|
if m.get('statusCode') is not None:
|
|
9554
10649
|
self.status_code = m.get('statusCode')
|
|
9555
10650
|
if m.get('body') is not None:
|
|
9556
|
-
temp_model =
|
|
10651
|
+
temp_model = EnableConditionalAccessPolicyResponseBody()
|
|
9557
10652
|
self.body = temp_model.from_map(m['body'])
|
|
9558
10653
|
return self
|
|
9559
10654
|
|
|
9560
10655
|
|
|
9561
|
-
class
|
|
10656
|
+
class EnableCustomPrivacyPolicyRequest(TeaModel):
|
|
9562
10657
|
def __init__(
|
|
9563
10658
|
self,
|
|
9564
|
-
|
|
10659
|
+
custom_privacy_policy_id: str = None,
|
|
9565
10660
|
instance_id: str = None,
|
|
9566
10661
|
):
|
|
9567
|
-
# The ID of the application.
|
|
9568
|
-
#
|
|
9569
10662
|
# This parameter is required.
|
|
9570
|
-
self.
|
|
9571
|
-
#
|
|
10663
|
+
self.custom_privacy_policy_id = custom_privacy_policy_id
|
|
10664
|
+
# IDaaS EIAM实例的ID。
|
|
9572
10665
|
#
|
|
9573
10666
|
# This parameter is required.
|
|
9574
10667
|
self.instance_id = instance_id
|
|
@@ -9582,27 +10675,26 @@ class EnableApplicationProvisioningRequest(TeaModel):
|
|
|
9582
10675
|
return _map
|
|
9583
10676
|
|
|
9584
10677
|
result = dict()
|
|
9585
|
-
if self.
|
|
9586
|
-
result['
|
|
10678
|
+
if self.custom_privacy_policy_id is not None:
|
|
10679
|
+
result['CustomPrivacyPolicyId'] = self.custom_privacy_policy_id
|
|
9587
10680
|
if self.instance_id is not None:
|
|
9588
10681
|
result['InstanceId'] = self.instance_id
|
|
9589
10682
|
return result
|
|
9590
10683
|
|
|
9591
10684
|
def from_map(self, m: dict = None):
|
|
9592
10685
|
m = m or dict()
|
|
9593
|
-
if m.get('
|
|
9594
|
-
self.
|
|
10686
|
+
if m.get('CustomPrivacyPolicyId') is not None:
|
|
10687
|
+
self.custom_privacy_policy_id = m.get('CustomPrivacyPolicyId')
|
|
9595
10688
|
if m.get('InstanceId') is not None:
|
|
9596
10689
|
self.instance_id = m.get('InstanceId')
|
|
9597
10690
|
return self
|
|
9598
10691
|
|
|
9599
10692
|
|
|
9600
|
-
class
|
|
10693
|
+
class EnableCustomPrivacyPolicyResponseBody(TeaModel):
|
|
9601
10694
|
def __init__(
|
|
9602
10695
|
self,
|
|
9603
10696
|
request_id: str = None,
|
|
9604
10697
|
):
|
|
9605
|
-
# The ID of the request.
|
|
9606
10698
|
self.request_id = request_id
|
|
9607
10699
|
|
|
9608
10700
|
def validate(self):
|
|
@@ -9625,12 +10717,12 @@ class EnableApplicationProvisioningResponseBody(TeaModel):
|
|
|
9625
10717
|
return self
|
|
9626
10718
|
|
|
9627
10719
|
|
|
9628
|
-
class
|
|
10720
|
+
class EnableCustomPrivacyPolicyResponse(TeaModel):
|
|
9629
10721
|
def __init__(
|
|
9630
10722
|
self,
|
|
9631
10723
|
headers: Dict[str, str] = None,
|
|
9632
10724
|
status_code: int = None,
|
|
9633
|
-
body:
|
|
10725
|
+
body: EnableCustomPrivacyPolicyResponseBody = None,
|
|
9634
10726
|
):
|
|
9635
10727
|
self.headers = headers
|
|
9636
10728
|
self.status_code = status_code
|
|
@@ -9661,21 +10753,26 @@ class EnableApplicationProvisioningResponse(TeaModel):
|
|
|
9661
10753
|
if m.get('statusCode') is not None:
|
|
9662
10754
|
self.status_code = m.get('statusCode')
|
|
9663
10755
|
if m.get('body') is not None:
|
|
9664
|
-
temp_model =
|
|
10756
|
+
temp_model = EnableCustomPrivacyPolicyResponseBody()
|
|
9665
10757
|
self.body = temp_model.from_map(m['body'])
|
|
9666
10758
|
return self
|
|
9667
10759
|
|
|
9668
10760
|
|
|
9669
|
-
class
|
|
10761
|
+
class EnableDomainProxyTokenRequest(TeaModel):
|
|
9670
10762
|
def __init__(
|
|
9671
10763
|
self,
|
|
9672
|
-
|
|
10764
|
+
domain_id: str = None,
|
|
10765
|
+
domain_proxy_token_id: str = None,
|
|
9673
10766
|
instance_id: str = None,
|
|
9674
10767
|
):
|
|
9675
|
-
# The
|
|
10768
|
+
# The ID of the domain name.
|
|
9676
10769
|
#
|
|
9677
10770
|
# This parameter is required.
|
|
9678
|
-
self.
|
|
10771
|
+
self.domain_id = domain_id
|
|
10772
|
+
# The ID of the proxy token of the domain name.
|
|
10773
|
+
#
|
|
10774
|
+
# This parameter is required.
|
|
10775
|
+
self.domain_proxy_token_id = domain_proxy_token_id
|
|
9679
10776
|
# The instance ID.
|
|
9680
10777
|
#
|
|
9681
10778
|
# This parameter is required.
|
|
@@ -9690,22 +10787,26 @@ class EnableApplicationSsoRequest(TeaModel):
|
|
|
9690
10787
|
return _map
|
|
9691
10788
|
|
|
9692
10789
|
result = dict()
|
|
9693
|
-
if self.
|
|
9694
|
-
result['
|
|
10790
|
+
if self.domain_id is not None:
|
|
10791
|
+
result['DomainId'] = self.domain_id
|
|
10792
|
+
if self.domain_proxy_token_id is not None:
|
|
10793
|
+
result['DomainProxyTokenId'] = self.domain_proxy_token_id
|
|
9695
10794
|
if self.instance_id is not None:
|
|
9696
10795
|
result['InstanceId'] = self.instance_id
|
|
9697
10796
|
return result
|
|
9698
10797
|
|
|
9699
10798
|
def from_map(self, m: dict = None):
|
|
9700
10799
|
m = m or dict()
|
|
9701
|
-
if m.get('
|
|
9702
|
-
self.
|
|
10800
|
+
if m.get('DomainId') is not None:
|
|
10801
|
+
self.domain_id = m.get('DomainId')
|
|
10802
|
+
if m.get('DomainProxyTokenId') is not None:
|
|
10803
|
+
self.domain_proxy_token_id = m.get('DomainProxyTokenId')
|
|
9703
10804
|
if m.get('InstanceId') is not None:
|
|
9704
10805
|
self.instance_id = m.get('InstanceId')
|
|
9705
10806
|
return self
|
|
9706
10807
|
|
|
9707
10808
|
|
|
9708
|
-
class
|
|
10809
|
+
class EnableDomainProxyTokenResponseBody(TeaModel):
|
|
9709
10810
|
def __init__(
|
|
9710
10811
|
self,
|
|
9711
10812
|
request_id: str = None,
|
|
@@ -9733,12 +10834,12 @@ class EnableApplicationSsoResponseBody(TeaModel):
|
|
|
9733
10834
|
return self
|
|
9734
10835
|
|
|
9735
10836
|
|
|
9736
|
-
class
|
|
10837
|
+
class EnableDomainProxyTokenResponse(TeaModel):
|
|
9737
10838
|
def __init__(
|
|
9738
10839
|
self,
|
|
9739
10840
|
headers: Dict[str, str] = None,
|
|
9740
10841
|
status_code: int = None,
|
|
9741
|
-
body:
|
|
10842
|
+
body: EnableDomainProxyTokenResponseBody = None,
|
|
9742
10843
|
):
|
|
9743
10844
|
self.headers = headers
|
|
9744
10845
|
self.status_code = status_code
|
|
@@ -9769,26 +10870,21 @@ class EnableApplicationSsoResponse(TeaModel):
|
|
|
9769
10870
|
if m.get('statusCode') is not None:
|
|
9770
10871
|
self.status_code = m.get('statusCode')
|
|
9771
10872
|
if m.get('body') is not None:
|
|
9772
|
-
temp_model =
|
|
10873
|
+
temp_model = EnableDomainProxyTokenResponseBody()
|
|
9773
10874
|
self.body = temp_model.from_map(m['body'])
|
|
9774
10875
|
return self
|
|
9775
10876
|
|
|
9776
10877
|
|
|
9777
|
-
class
|
|
10878
|
+
class EnableFederatedCredentialProviderRequest(TeaModel):
|
|
9778
10879
|
def __init__(
|
|
9779
10880
|
self,
|
|
9780
|
-
|
|
9781
|
-
application_token_id: str = None,
|
|
10881
|
+
federated_credential_provider_id: str = None,
|
|
9782
10882
|
instance_id: str = None,
|
|
9783
10883
|
):
|
|
9784
|
-
#
|
|
9785
|
-
#
|
|
9786
|
-
# This parameter is required.
|
|
9787
|
-
self.application_id = application_id
|
|
9788
|
-
# IDaaS的应用资源TokenID。
|
|
10884
|
+
# 联邦凭证提供方ID
|
|
9789
10885
|
#
|
|
9790
10886
|
# This parameter is required.
|
|
9791
|
-
self.
|
|
10887
|
+
self.federated_credential_provider_id = federated_credential_provider_id
|
|
9792
10888
|
# IDaaS EIAM实例的ID。
|
|
9793
10889
|
#
|
|
9794
10890
|
# This parameter is required.
|
|
@@ -9803,26 +10899,22 @@ class EnableApplicationTokenRequest(TeaModel):
|
|
|
9803
10899
|
return _map
|
|
9804
10900
|
|
|
9805
10901
|
result = dict()
|
|
9806
|
-
if self.
|
|
9807
|
-
result['
|
|
9808
|
-
if self.application_token_id is not None:
|
|
9809
|
-
result['ApplicationTokenId'] = self.application_token_id
|
|
10902
|
+
if self.federated_credential_provider_id is not None:
|
|
10903
|
+
result['FederatedCredentialProviderId'] = self.federated_credential_provider_id
|
|
9810
10904
|
if self.instance_id is not None:
|
|
9811
10905
|
result['InstanceId'] = self.instance_id
|
|
9812
10906
|
return result
|
|
9813
10907
|
|
|
9814
10908
|
def from_map(self, m: dict = None):
|
|
9815
10909
|
m = m or dict()
|
|
9816
|
-
if m.get('
|
|
9817
|
-
self.
|
|
9818
|
-
if m.get('ApplicationTokenId') is not None:
|
|
9819
|
-
self.application_token_id = m.get('ApplicationTokenId')
|
|
10910
|
+
if m.get('FederatedCredentialProviderId') is not None:
|
|
10911
|
+
self.federated_credential_provider_id = m.get('FederatedCredentialProviderId')
|
|
9820
10912
|
if m.get('InstanceId') is not None:
|
|
9821
10913
|
self.instance_id = m.get('InstanceId')
|
|
9822
10914
|
return self
|
|
9823
10915
|
|
|
9824
10916
|
|
|
9825
|
-
class
|
|
10917
|
+
class EnableFederatedCredentialProviderResponseBody(TeaModel):
|
|
9826
10918
|
def __init__(
|
|
9827
10919
|
self,
|
|
9828
10920
|
request_id: str = None,
|
|
@@ -9849,12 +10941,12 @@ class EnableApplicationTokenResponseBody(TeaModel):
|
|
|
9849
10941
|
return self
|
|
9850
10942
|
|
|
9851
10943
|
|
|
9852
|
-
class
|
|
10944
|
+
class EnableFederatedCredentialProviderResponse(TeaModel):
|
|
9853
10945
|
def __init__(
|
|
9854
10946
|
self,
|
|
9855
10947
|
headers: Dict[str, str] = None,
|
|
9856
10948
|
status_code: int = None,
|
|
9857
|
-
body:
|
|
10949
|
+
body: EnableFederatedCredentialProviderResponseBody = None,
|
|
9858
10950
|
):
|
|
9859
10951
|
self.headers = headers
|
|
9860
10952
|
self.status_code = status_code
|
|
@@ -9885,22 +10977,22 @@ class EnableApplicationTokenResponse(TeaModel):
|
|
|
9885
10977
|
if m.get('statusCode') is not None:
|
|
9886
10978
|
self.status_code = m.get('statusCode')
|
|
9887
10979
|
if m.get('body') is not None:
|
|
9888
|
-
temp_model =
|
|
10980
|
+
temp_model = EnableFederatedCredentialProviderResponseBody()
|
|
9889
10981
|
self.body = temp_model.from_map(m['body'])
|
|
9890
10982
|
return self
|
|
9891
10983
|
|
|
9892
10984
|
|
|
9893
|
-
class
|
|
10985
|
+
class EnableIdentityProviderAdvancedAbilityRequest(TeaModel):
|
|
9894
10986
|
def __init__(
|
|
9895
10987
|
self,
|
|
9896
|
-
|
|
10988
|
+
identity_provider_id: str = None,
|
|
9897
10989
|
instance_id: str = None,
|
|
9898
10990
|
):
|
|
9899
|
-
#
|
|
10991
|
+
# IDaaS的身份提供方主键id
|
|
9900
10992
|
#
|
|
9901
10993
|
# This parameter is required.
|
|
9902
|
-
self.
|
|
9903
|
-
# IDaaS EIAM
|
|
10994
|
+
self.identity_provider_id = identity_provider_id
|
|
10995
|
+
# IDaaS EIAM的实例id
|
|
9904
10996
|
#
|
|
9905
10997
|
# This parameter is required.
|
|
9906
10998
|
self.instance_id = instance_id
|
|
@@ -9914,22 +11006,22 @@ class EnableBrandRequest(TeaModel):
|
|
|
9914
11006
|
return _map
|
|
9915
11007
|
|
|
9916
11008
|
result = dict()
|
|
9917
|
-
if self.
|
|
9918
|
-
result['
|
|
11009
|
+
if self.identity_provider_id is not None:
|
|
11010
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
9919
11011
|
if self.instance_id is not None:
|
|
9920
11012
|
result['InstanceId'] = self.instance_id
|
|
9921
11013
|
return result
|
|
9922
11014
|
|
|
9923
11015
|
def from_map(self, m: dict = None):
|
|
9924
11016
|
m = m or dict()
|
|
9925
|
-
if m.get('
|
|
9926
|
-
self.
|
|
11017
|
+
if m.get('IdentityProviderId') is not None:
|
|
11018
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
9927
11019
|
if m.get('InstanceId') is not None:
|
|
9928
11020
|
self.instance_id = m.get('InstanceId')
|
|
9929
11021
|
return self
|
|
9930
11022
|
|
|
9931
11023
|
|
|
9932
|
-
class
|
|
11024
|
+
class EnableIdentityProviderAdvancedAbilityResponseBody(TeaModel):
|
|
9933
11025
|
def __init__(
|
|
9934
11026
|
self,
|
|
9935
11027
|
request_id: str = None,
|
|
@@ -9956,12 +11048,12 @@ class EnableBrandResponseBody(TeaModel):
|
|
|
9956
11048
|
return self
|
|
9957
11049
|
|
|
9958
11050
|
|
|
9959
|
-
class
|
|
11051
|
+
class EnableIdentityProviderAdvancedAbilityResponse(TeaModel):
|
|
9960
11052
|
def __init__(
|
|
9961
11053
|
self,
|
|
9962
11054
|
headers: Dict[str, str] = None,
|
|
9963
11055
|
status_code: int = None,
|
|
9964
|
-
body:
|
|
11056
|
+
body: EnableIdentityProviderAdvancedAbilityResponseBody = None,
|
|
9965
11057
|
):
|
|
9966
11058
|
self.headers = headers
|
|
9967
11059
|
self.status_code = status_code
|
|
@@ -9992,22 +11084,22 @@ class EnableBrandResponse(TeaModel):
|
|
|
9992
11084
|
if m.get('statusCode') is not None:
|
|
9993
11085
|
self.status_code = m.get('statusCode')
|
|
9994
11086
|
if m.get('body') is not None:
|
|
9995
|
-
temp_model =
|
|
11087
|
+
temp_model = EnableIdentityProviderAdvancedAbilityResponseBody()
|
|
9996
11088
|
self.body = temp_model.from_map(m['body'])
|
|
9997
11089
|
return self
|
|
9998
11090
|
|
|
9999
11091
|
|
|
10000
|
-
class
|
|
11092
|
+
class EnableIdentityProviderAuthnRequest(TeaModel):
|
|
10001
11093
|
def __init__(
|
|
10002
11094
|
self,
|
|
10003
|
-
|
|
11095
|
+
identity_provider_id: str = None,
|
|
10004
11096
|
instance_id: str = None,
|
|
10005
11097
|
):
|
|
10006
|
-
#
|
|
11098
|
+
# IDaaS的身份提供方主键id
|
|
10007
11099
|
#
|
|
10008
11100
|
# This parameter is required.
|
|
10009
|
-
self.
|
|
10010
|
-
#
|
|
11101
|
+
self.identity_provider_id = identity_provider_id
|
|
11102
|
+
# IDaaS EIAM的实例id
|
|
10011
11103
|
#
|
|
10012
11104
|
# This parameter is required.
|
|
10013
11105
|
self.instance_id = instance_id
|
|
@@ -10021,27 +11113,26 @@ class EnableConditionalAccessPolicyRequest(TeaModel):
|
|
|
10021
11113
|
return _map
|
|
10022
11114
|
|
|
10023
11115
|
result = dict()
|
|
10024
|
-
if self.
|
|
10025
|
-
result['
|
|
11116
|
+
if self.identity_provider_id is not None:
|
|
11117
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
10026
11118
|
if self.instance_id is not None:
|
|
10027
11119
|
result['InstanceId'] = self.instance_id
|
|
10028
11120
|
return result
|
|
10029
11121
|
|
|
10030
11122
|
def from_map(self, m: dict = None):
|
|
10031
11123
|
m = m or dict()
|
|
10032
|
-
if m.get('
|
|
10033
|
-
self.
|
|
11124
|
+
if m.get('IdentityProviderId') is not None:
|
|
11125
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
10034
11126
|
if m.get('InstanceId') is not None:
|
|
10035
11127
|
self.instance_id = m.get('InstanceId')
|
|
10036
11128
|
return self
|
|
10037
11129
|
|
|
10038
11130
|
|
|
10039
|
-
class
|
|
11131
|
+
class EnableIdentityProviderAuthnResponseBody(TeaModel):
|
|
10040
11132
|
def __init__(
|
|
10041
11133
|
self,
|
|
10042
11134
|
request_id: str = None,
|
|
10043
11135
|
):
|
|
10044
|
-
# 请求ID。
|
|
10045
11136
|
self.request_id = request_id
|
|
10046
11137
|
|
|
10047
11138
|
def validate(self):
|
|
@@ -10064,12 +11155,12 @@ class EnableConditionalAccessPolicyResponseBody(TeaModel):
|
|
|
10064
11155
|
return self
|
|
10065
11156
|
|
|
10066
11157
|
|
|
10067
|
-
class
|
|
11158
|
+
class EnableIdentityProviderAuthnResponse(TeaModel):
|
|
10068
11159
|
def __init__(
|
|
10069
11160
|
self,
|
|
10070
11161
|
headers: Dict[str, str] = None,
|
|
10071
11162
|
status_code: int = None,
|
|
10072
|
-
body:
|
|
11163
|
+
body: EnableIdentityProviderAuthnResponseBody = None,
|
|
10073
11164
|
):
|
|
10074
11165
|
self.headers = headers
|
|
10075
11166
|
self.status_code = status_code
|
|
@@ -10100,20 +11191,22 @@ class EnableConditionalAccessPolicyResponse(TeaModel):
|
|
|
10100
11191
|
if m.get('statusCode') is not None:
|
|
10101
11192
|
self.status_code = m.get('statusCode')
|
|
10102
11193
|
if m.get('body') is not None:
|
|
10103
|
-
temp_model =
|
|
11194
|
+
temp_model = EnableIdentityProviderAuthnResponseBody()
|
|
10104
11195
|
self.body = temp_model.from_map(m['body'])
|
|
10105
11196
|
return self
|
|
10106
11197
|
|
|
10107
11198
|
|
|
10108
|
-
class
|
|
11199
|
+
class EnableIdentityProviderUdPullRequest(TeaModel):
|
|
10109
11200
|
def __init__(
|
|
10110
11201
|
self,
|
|
10111
|
-
|
|
11202
|
+
identity_provider_id: str = None,
|
|
10112
11203
|
instance_id: str = None,
|
|
10113
11204
|
):
|
|
11205
|
+
# Identity provider ID.
|
|
11206
|
+
#
|
|
10114
11207
|
# This parameter is required.
|
|
10115
|
-
self.
|
|
10116
|
-
#
|
|
11208
|
+
self.identity_provider_id = identity_provider_id
|
|
11209
|
+
# The ID of the instance.
|
|
10117
11210
|
#
|
|
10118
11211
|
# This parameter is required.
|
|
10119
11212
|
self.instance_id = instance_id
|
|
@@ -10127,26 +11220,27 @@ class EnableCustomPrivacyPolicyRequest(TeaModel):
|
|
|
10127
11220
|
return _map
|
|
10128
11221
|
|
|
10129
11222
|
result = dict()
|
|
10130
|
-
if self.
|
|
10131
|
-
result['
|
|
11223
|
+
if self.identity_provider_id is not None:
|
|
11224
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
10132
11225
|
if self.instance_id is not None:
|
|
10133
11226
|
result['InstanceId'] = self.instance_id
|
|
10134
11227
|
return result
|
|
10135
11228
|
|
|
10136
11229
|
def from_map(self, m: dict = None):
|
|
10137
11230
|
m = m or dict()
|
|
10138
|
-
if m.get('
|
|
10139
|
-
self.
|
|
11231
|
+
if m.get('IdentityProviderId') is not None:
|
|
11232
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
10140
11233
|
if m.get('InstanceId') is not None:
|
|
10141
11234
|
self.instance_id = m.get('InstanceId')
|
|
10142
11235
|
return self
|
|
10143
11236
|
|
|
10144
11237
|
|
|
10145
|
-
class
|
|
11238
|
+
class EnableIdentityProviderUdPullResponseBody(TeaModel):
|
|
10146
11239
|
def __init__(
|
|
10147
11240
|
self,
|
|
10148
11241
|
request_id: str = None,
|
|
10149
11242
|
):
|
|
11243
|
+
# The ID of the request.
|
|
10150
11244
|
self.request_id = request_id
|
|
10151
11245
|
|
|
10152
11246
|
def validate(self):
|
|
@@ -10169,12 +11263,12 @@ class EnableCustomPrivacyPolicyResponseBody(TeaModel):
|
|
|
10169
11263
|
return self
|
|
10170
11264
|
|
|
10171
11265
|
|
|
10172
|
-
class
|
|
11266
|
+
class EnableIdentityProviderUdPullResponse(TeaModel):
|
|
10173
11267
|
def __init__(
|
|
10174
11268
|
self,
|
|
10175
11269
|
headers: Dict[str, str] = None,
|
|
10176
11270
|
status_code: int = None,
|
|
10177
|
-
body:
|
|
11271
|
+
body: EnableIdentityProviderUdPullResponseBody = None,
|
|
10178
11272
|
):
|
|
10179
11273
|
self.headers = headers
|
|
10180
11274
|
self.status_code = status_code
|
|
@@ -10205,26 +11299,16 @@ class EnableCustomPrivacyPolicyResponse(TeaModel):
|
|
|
10205
11299
|
if m.get('statusCode') is not None:
|
|
10206
11300
|
self.status_code = m.get('statusCode')
|
|
10207
11301
|
if m.get('body') is not None:
|
|
10208
|
-
temp_model =
|
|
11302
|
+
temp_model = EnableIdentityProviderUdPullResponseBody()
|
|
10209
11303
|
self.body = temp_model.from_map(m['body'])
|
|
10210
11304
|
return self
|
|
10211
11305
|
|
|
10212
11306
|
|
|
10213
|
-
class
|
|
11307
|
+
class EnableInitDomainAutoRedirectRequest(TeaModel):
|
|
10214
11308
|
def __init__(
|
|
10215
11309
|
self,
|
|
10216
|
-
domain_id: str = None,
|
|
10217
|
-
domain_proxy_token_id: str = None,
|
|
10218
11310
|
instance_id: str = None,
|
|
10219
11311
|
):
|
|
10220
|
-
# The ID of the domain name.
|
|
10221
|
-
#
|
|
10222
|
-
# This parameter is required.
|
|
10223
|
-
self.domain_id = domain_id
|
|
10224
|
-
# The ID of the proxy token of the domain name.
|
|
10225
|
-
#
|
|
10226
|
-
# This parameter is required.
|
|
10227
|
-
self.domain_proxy_token_id = domain_proxy_token_id
|
|
10228
11312
|
# The instance ID.
|
|
10229
11313
|
#
|
|
10230
11314
|
# This parameter is required.
|
|
@@ -10239,26 +11323,18 @@ class EnableDomainProxyTokenRequest(TeaModel):
|
|
|
10239
11323
|
return _map
|
|
10240
11324
|
|
|
10241
11325
|
result = dict()
|
|
10242
|
-
if self.domain_id is not None:
|
|
10243
|
-
result['DomainId'] = self.domain_id
|
|
10244
|
-
if self.domain_proxy_token_id is not None:
|
|
10245
|
-
result['DomainProxyTokenId'] = self.domain_proxy_token_id
|
|
10246
11326
|
if self.instance_id is not None:
|
|
10247
11327
|
result['InstanceId'] = self.instance_id
|
|
10248
11328
|
return result
|
|
10249
11329
|
|
|
10250
11330
|
def from_map(self, m: dict = None):
|
|
10251
11331
|
m = m or dict()
|
|
10252
|
-
if m.get('DomainId') is not None:
|
|
10253
|
-
self.domain_id = m.get('DomainId')
|
|
10254
|
-
if m.get('DomainProxyTokenId') is not None:
|
|
10255
|
-
self.domain_proxy_token_id = m.get('DomainProxyTokenId')
|
|
10256
11332
|
if m.get('InstanceId') is not None:
|
|
10257
11333
|
self.instance_id = m.get('InstanceId')
|
|
10258
11334
|
return self
|
|
10259
11335
|
|
|
10260
11336
|
|
|
10261
|
-
class
|
|
11337
|
+
class EnableInitDomainAutoRedirectResponseBody(TeaModel):
|
|
10262
11338
|
def __init__(
|
|
10263
11339
|
self,
|
|
10264
11340
|
request_id: str = None,
|
|
@@ -10286,12 +11362,12 @@ class EnableDomainProxyTokenResponseBody(TeaModel):
|
|
|
10286
11362
|
return self
|
|
10287
11363
|
|
|
10288
11364
|
|
|
10289
|
-
class
|
|
11365
|
+
class EnableInitDomainAutoRedirectResponse(TeaModel):
|
|
10290
11366
|
def __init__(
|
|
10291
11367
|
self,
|
|
10292
11368
|
headers: Dict[str, str] = None,
|
|
10293
11369
|
status_code: int = None,
|
|
10294
|
-
body:
|
|
11370
|
+
body: EnableInitDomainAutoRedirectResponseBody = None,
|
|
10295
11371
|
):
|
|
10296
11372
|
self.headers = headers
|
|
10297
11373
|
self.status_code = status_code
|
|
@@ -10322,22 +11398,20 @@ class EnableDomainProxyTokenResponse(TeaModel):
|
|
|
10322
11398
|
if m.get('statusCode') is not None:
|
|
10323
11399
|
self.status_code = m.get('statusCode')
|
|
10324
11400
|
if m.get('body') is not None:
|
|
10325
|
-
temp_model =
|
|
11401
|
+
temp_model = EnableInitDomainAutoRedirectResponseBody()
|
|
10326
11402
|
self.body = temp_model.from_map(m['body'])
|
|
10327
11403
|
return self
|
|
10328
11404
|
|
|
10329
11405
|
|
|
10330
|
-
class
|
|
11406
|
+
class EnableInternalAuthenticationSourceRequest(TeaModel):
|
|
10331
11407
|
def __init__(
|
|
10332
11408
|
self,
|
|
10333
|
-
|
|
11409
|
+
authentication_source_id: str = None,
|
|
10334
11410
|
instance_id: str = None,
|
|
10335
11411
|
):
|
|
10336
|
-
#
|
|
10337
|
-
|
|
10338
|
-
#
|
|
10339
|
-
self.federated_credential_provider_id = federated_credential_provider_id
|
|
10340
|
-
# IDaaS EIAM实例的ID。
|
|
11412
|
+
# 内部认证源ID,比如 ia_password, ia_otp_sms 等
|
|
11413
|
+
self.authentication_source_id = authentication_source_id
|
|
11414
|
+
# IDaaS EIAM的实例id
|
|
10341
11415
|
#
|
|
10342
11416
|
# This parameter is required.
|
|
10343
11417
|
self.instance_id = instance_id
|
|
@@ -10351,22 +11425,22 @@ class EnableFederatedCredentialProviderRequest(TeaModel):
|
|
|
10351
11425
|
return _map
|
|
10352
11426
|
|
|
10353
11427
|
result = dict()
|
|
10354
|
-
if self.
|
|
10355
|
-
result['
|
|
11428
|
+
if self.authentication_source_id is not None:
|
|
11429
|
+
result['AuthenticationSourceId'] = self.authentication_source_id
|
|
10356
11430
|
if self.instance_id is not None:
|
|
10357
11431
|
result['InstanceId'] = self.instance_id
|
|
10358
11432
|
return result
|
|
10359
11433
|
|
|
10360
11434
|
def from_map(self, m: dict = None):
|
|
10361
11435
|
m = m or dict()
|
|
10362
|
-
if m.get('
|
|
10363
|
-
self.
|
|
11436
|
+
if m.get('AuthenticationSourceId') is not None:
|
|
11437
|
+
self.authentication_source_id = m.get('AuthenticationSourceId')
|
|
10364
11438
|
if m.get('InstanceId') is not None:
|
|
10365
11439
|
self.instance_id = m.get('InstanceId')
|
|
10366
11440
|
return self
|
|
10367
11441
|
|
|
10368
11442
|
|
|
10369
|
-
class
|
|
11443
|
+
class EnableInternalAuthenticationSourceResponseBody(TeaModel):
|
|
10370
11444
|
def __init__(
|
|
10371
11445
|
self,
|
|
10372
11446
|
request_id: str = None,
|
|
@@ -10393,12 +11467,12 @@ class EnableFederatedCredentialProviderResponseBody(TeaModel):
|
|
|
10393
11467
|
return self
|
|
10394
11468
|
|
|
10395
11469
|
|
|
10396
|
-
class
|
|
11470
|
+
class EnableInternalAuthenticationSourceResponse(TeaModel):
|
|
10397
11471
|
def __init__(
|
|
10398
11472
|
self,
|
|
10399
11473
|
headers: Dict[str, str] = None,
|
|
10400
11474
|
status_code: int = None,
|
|
10401
|
-
body:
|
|
11475
|
+
body: EnableInternalAuthenticationSourceResponseBody = None,
|
|
10402
11476
|
):
|
|
10403
11477
|
self.headers = headers
|
|
10404
11478
|
self.status_code = status_code
|
|
@@ -10429,25 +11503,25 @@ class EnableFederatedCredentialProviderResponse(TeaModel):
|
|
|
10429
11503
|
if m.get('statusCode') is not None:
|
|
10430
11504
|
self.status_code = m.get('statusCode')
|
|
10431
11505
|
if m.get('body') is not None:
|
|
10432
|
-
temp_model =
|
|
11506
|
+
temp_model = EnableInternalAuthenticationSourceResponseBody()
|
|
10433
11507
|
self.body = temp_model.from_map(m['body'])
|
|
10434
11508
|
return self
|
|
10435
11509
|
|
|
10436
11510
|
|
|
10437
|
-
class
|
|
11511
|
+
class EnableUserRequest(TeaModel):
|
|
10438
11512
|
def __init__(
|
|
10439
11513
|
self,
|
|
10440
|
-
identity_provider_id: str = None,
|
|
10441
11514
|
instance_id: str = None,
|
|
11515
|
+
user_id: str = None,
|
|
10442
11516
|
):
|
|
10443
|
-
#
|
|
11517
|
+
# The instance ID.
|
|
10444
11518
|
#
|
|
10445
11519
|
# This parameter is required.
|
|
10446
|
-
self.
|
|
10447
|
-
#
|
|
11520
|
+
self.instance_id = instance_id
|
|
11521
|
+
# The account ID.
|
|
10448
11522
|
#
|
|
10449
11523
|
# This parameter is required.
|
|
10450
|
-
self.
|
|
11524
|
+
self.user_id = user_id
|
|
10451
11525
|
|
|
10452
11526
|
def validate(self):
|
|
10453
11527
|
pass
|
|
@@ -10458,26 +11532,27 @@ class EnableIdentityProviderAuthnRequest(TeaModel):
|
|
|
10458
11532
|
return _map
|
|
10459
11533
|
|
|
10460
11534
|
result = dict()
|
|
10461
|
-
if self.identity_provider_id is not None:
|
|
10462
|
-
result['IdentityProviderId'] = self.identity_provider_id
|
|
10463
11535
|
if self.instance_id is not None:
|
|
10464
11536
|
result['InstanceId'] = self.instance_id
|
|
11537
|
+
if self.user_id is not None:
|
|
11538
|
+
result['UserId'] = self.user_id
|
|
10465
11539
|
return result
|
|
10466
11540
|
|
|
10467
11541
|
def from_map(self, m: dict = None):
|
|
10468
11542
|
m = m or dict()
|
|
10469
|
-
if m.get('IdentityProviderId') is not None:
|
|
10470
|
-
self.identity_provider_id = m.get('IdentityProviderId')
|
|
10471
11543
|
if m.get('InstanceId') is not None:
|
|
10472
11544
|
self.instance_id = m.get('InstanceId')
|
|
11545
|
+
if m.get('UserId') is not None:
|
|
11546
|
+
self.user_id = m.get('UserId')
|
|
10473
11547
|
return self
|
|
10474
11548
|
|
|
10475
11549
|
|
|
10476
|
-
class
|
|
11550
|
+
class EnableUserResponseBody(TeaModel):
|
|
10477
11551
|
def __init__(
|
|
10478
11552
|
self,
|
|
10479
11553
|
request_id: str = None,
|
|
10480
11554
|
):
|
|
11555
|
+
# The request ID.
|
|
10481
11556
|
self.request_id = request_id
|
|
10482
11557
|
|
|
10483
11558
|
def validate(self):
|
|
@@ -10500,12 +11575,12 @@ class EnableIdentityProviderAuthnResponseBody(TeaModel):
|
|
|
10500
11575
|
return self
|
|
10501
11576
|
|
|
10502
11577
|
|
|
10503
|
-
class
|
|
11578
|
+
class EnableUserResponse(TeaModel):
|
|
10504
11579
|
def __init__(
|
|
10505
11580
|
self,
|
|
10506
11581
|
headers: Dict[str, str] = None,
|
|
10507
11582
|
status_code: int = None,
|
|
10508
|
-
body:
|
|
11583
|
+
body: EnableUserResponseBody = None,
|
|
10509
11584
|
):
|
|
10510
11585
|
self.headers = headers
|
|
10511
11586
|
self.status_code = status_code
|
|
@@ -10536,25 +11611,25 @@ class EnableIdentityProviderAuthnResponse(TeaModel):
|
|
|
10536
11611
|
if m.get('statusCode') is not None:
|
|
10537
11612
|
self.status_code = m.get('statusCode')
|
|
10538
11613
|
if m.get('body') is not None:
|
|
10539
|
-
temp_model =
|
|
11614
|
+
temp_model = EnableUserResponseBody()
|
|
10540
11615
|
self.body = temp_model.from_map(m['body'])
|
|
10541
11616
|
return self
|
|
10542
11617
|
|
|
10543
11618
|
|
|
10544
|
-
class
|
|
11619
|
+
class GenerateDownloadUrlForSynchronizationJobRequest(TeaModel):
|
|
10545
11620
|
def __init__(
|
|
10546
11621
|
self,
|
|
10547
|
-
identity_provider_id: str = None,
|
|
10548
11622
|
instance_id: str = None,
|
|
11623
|
+
synchronization_job_id: str = None,
|
|
10549
11624
|
):
|
|
10550
|
-
#
|
|
11625
|
+
# IDaaS EIAM实例的ID。
|
|
10551
11626
|
#
|
|
10552
11627
|
# This parameter is required.
|
|
10553
|
-
self.
|
|
10554
|
-
#
|
|
11628
|
+
self.instance_id = instance_id
|
|
11629
|
+
# 同步任务ID
|
|
10555
11630
|
#
|
|
10556
11631
|
# This parameter is required.
|
|
10557
|
-
self.
|
|
11632
|
+
self.synchronization_job_id = synchronization_job_id
|
|
10558
11633
|
|
|
10559
11634
|
def validate(self):
|
|
10560
11635
|
pass
|
|
@@ -10565,27 +11640,28 @@ class EnableIdentityProviderUdPullRequest(TeaModel):
|
|
|
10565
11640
|
return _map
|
|
10566
11641
|
|
|
10567
11642
|
result = dict()
|
|
10568
|
-
if self.identity_provider_id is not None:
|
|
10569
|
-
result['IdentityProviderId'] = self.identity_provider_id
|
|
10570
11643
|
if self.instance_id is not None:
|
|
10571
11644
|
result['InstanceId'] = self.instance_id
|
|
11645
|
+
if self.synchronization_job_id is not None:
|
|
11646
|
+
result['SynchronizationJobId'] = self.synchronization_job_id
|
|
10572
11647
|
return result
|
|
10573
11648
|
|
|
10574
11649
|
def from_map(self, m: dict = None):
|
|
10575
11650
|
m = m or dict()
|
|
10576
|
-
if m.get('IdentityProviderId') is not None:
|
|
10577
|
-
self.identity_provider_id = m.get('IdentityProviderId')
|
|
10578
11651
|
if m.get('InstanceId') is not None:
|
|
10579
11652
|
self.instance_id = m.get('InstanceId')
|
|
11653
|
+
if m.get('SynchronizationJobId') is not None:
|
|
11654
|
+
self.synchronization_job_id = m.get('SynchronizationJobId')
|
|
10580
11655
|
return self
|
|
10581
11656
|
|
|
10582
11657
|
|
|
10583
|
-
class
|
|
11658
|
+
class GenerateDownloadUrlForSynchronizationJobResponseBody(TeaModel):
|
|
10584
11659
|
def __init__(
|
|
10585
11660
|
self,
|
|
11661
|
+
file_download_url: str = None,
|
|
10586
11662
|
request_id: str = None,
|
|
10587
11663
|
):
|
|
10588
|
-
|
|
11664
|
+
self.file_download_url = file_download_url
|
|
10589
11665
|
self.request_id = request_id
|
|
10590
11666
|
|
|
10591
11667
|
def validate(self):
|
|
@@ -10597,23 +11673,27 @@ class EnableIdentityProviderUdPullResponseBody(TeaModel):
|
|
|
10597
11673
|
return _map
|
|
10598
11674
|
|
|
10599
11675
|
result = dict()
|
|
11676
|
+
if self.file_download_url is not None:
|
|
11677
|
+
result['FileDownloadUrl'] = self.file_download_url
|
|
10600
11678
|
if self.request_id is not None:
|
|
10601
11679
|
result['RequestId'] = self.request_id
|
|
10602
11680
|
return result
|
|
10603
11681
|
|
|
10604
11682
|
def from_map(self, m: dict = None):
|
|
10605
11683
|
m = m or dict()
|
|
11684
|
+
if m.get('FileDownloadUrl') is not None:
|
|
11685
|
+
self.file_download_url = m.get('FileDownloadUrl')
|
|
10606
11686
|
if m.get('RequestId') is not None:
|
|
10607
11687
|
self.request_id = m.get('RequestId')
|
|
10608
11688
|
return self
|
|
10609
11689
|
|
|
10610
11690
|
|
|
10611
|
-
class
|
|
11691
|
+
class GenerateDownloadUrlForSynchronizationJobResponse(TeaModel):
|
|
10612
11692
|
def __init__(
|
|
10613
11693
|
self,
|
|
10614
11694
|
headers: Dict[str, str] = None,
|
|
10615
11695
|
status_code: int = None,
|
|
10616
|
-
body:
|
|
11696
|
+
body: GenerateDownloadUrlForSynchronizationJobResponseBody = None,
|
|
10617
11697
|
):
|
|
10618
11698
|
self.headers = headers
|
|
10619
11699
|
self.status_code = status_code
|
|
@@ -10644,20 +11724,25 @@ class EnableIdentityProviderUdPullResponse(TeaModel):
|
|
|
10644
11724
|
if m.get('statusCode') is not None:
|
|
10645
11725
|
self.status_code = m.get('statusCode')
|
|
10646
11726
|
if m.get('body') is not None:
|
|
10647
|
-
temp_model =
|
|
11727
|
+
temp_model = GenerateDownloadUrlForSynchronizationJobResponseBody()
|
|
10648
11728
|
self.body = temp_model.from_map(m['body'])
|
|
10649
11729
|
return self
|
|
10650
11730
|
|
|
10651
11731
|
|
|
10652
|
-
class
|
|
11732
|
+
class GenerateFileImportTemplateRequest(TeaModel):
|
|
10653
11733
|
def __init__(
|
|
10654
11734
|
self,
|
|
10655
11735
|
instance_id: str = None,
|
|
11736
|
+
target_type: str = None,
|
|
10656
11737
|
):
|
|
10657
|
-
#
|
|
11738
|
+
# IDaaS EIAM实例的ID。
|
|
10658
11739
|
#
|
|
10659
11740
|
# This parameter is required.
|
|
10660
11741
|
self.instance_id = instance_id
|
|
11742
|
+
# 同步目标类型
|
|
11743
|
+
#
|
|
11744
|
+
# This parameter is required.
|
|
11745
|
+
self.target_type = target_type
|
|
10661
11746
|
|
|
10662
11747
|
def validate(self):
|
|
10663
11748
|
pass
|
|
@@ -10670,21 +11755,26 @@ class EnableInitDomainAutoRedirectRequest(TeaModel):
|
|
|
10670
11755
|
result = dict()
|
|
10671
11756
|
if self.instance_id is not None:
|
|
10672
11757
|
result['InstanceId'] = self.instance_id
|
|
11758
|
+
if self.target_type is not None:
|
|
11759
|
+
result['TargetType'] = self.target_type
|
|
10673
11760
|
return result
|
|
10674
11761
|
|
|
10675
11762
|
def from_map(self, m: dict = None):
|
|
10676
11763
|
m = m or dict()
|
|
10677
11764
|
if m.get('InstanceId') is not None:
|
|
10678
11765
|
self.instance_id = m.get('InstanceId')
|
|
11766
|
+
if m.get('TargetType') is not None:
|
|
11767
|
+
self.target_type = m.get('TargetType')
|
|
10679
11768
|
return self
|
|
10680
11769
|
|
|
10681
11770
|
|
|
10682
|
-
class
|
|
11771
|
+
class GenerateFileImportTemplateResponseBody(TeaModel):
|
|
10683
11772
|
def __init__(
|
|
10684
11773
|
self,
|
|
11774
|
+
file_download_url: str = None,
|
|
10685
11775
|
request_id: str = None,
|
|
10686
11776
|
):
|
|
10687
|
-
|
|
11777
|
+
self.file_download_url = file_download_url
|
|
10688
11778
|
self.request_id = request_id
|
|
10689
11779
|
|
|
10690
11780
|
def validate(self):
|
|
@@ -10696,23 +11786,27 @@ class EnableInitDomainAutoRedirectResponseBody(TeaModel):
|
|
|
10696
11786
|
return _map
|
|
10697
11787
|
|
|
10698
11788
|
result = dict()
|
|
11789
|
+
if self.file_download_url is not None:
|
|
11790
|
+
result['FileDownloadUrl'] = self.file_download_url
|
|
10699
11791
|
if self.request_id is not None:
|
|
10700
11792
|
result['RequestId'] = self.request_id
|
|
10701
11793
|
return result
|
|
10702
11794
|
|
|
10703
11795
|
def from_map(self, m: dict = None):
|
|
10704
11796
|
m = m or dict()
|
|
11797
|
+
if m.get('FileDownloadUrl') is not None:
|
|
11798
|
+
self.file_download_url = m.get('FileDownloadUrl')
|
|
10705
11799
|
if m.get('RequestId') is not None:
|
|
10706
11800
|
self.request_id = m.get('RequestId')
|
|
10707
11801
|
return self
|
|
10708
11802
|
|
|
10709
11803
|
|
|
10710
|
-
class
|
|
11804
|
+
class GenerateFileImportTemplateResponse(TeaModel):
|
|
10711
11805
|
def __init__(
|
|
10712
11806
|
self,
|
|
10713
11807
|
headers: Dict[str, str] = None,
|
|
10714
11808
|
status_code: int = None,
|
|
10715
|
-
body:
|
|
11809
|
+
body: GenerateFileImportTemplateResponseBody = None,
|
|
10716
11810
|
):
|
|
10717
11811
|
self.headers = headers
|
|
10718
11812
|
self.status_code = status_code
|
|
@@ -10743,25 +11837,26 @@ class EnableInitDomainAutoRedirectResponse(TeaModel):
|
|
|
10743
11837
|
if m.get('statusCode') is not None:
|
|
10744
11838
|
self.status_code = m.get('statusCode')
|
|
10745
11839
|
if m.get('body') is not None:
|
|
10746
|
-
temp_model =
|
|
11840
|
+
temp_model = GenerateFileImportTemplateResponseBody()
|
|
10747
11841
|
self.body = temp_model.from_map(m['body'])
|
|
10748
11842
|
return self
|
|
10749
11843
|
|
|
10750
11844
|
|
|
10751
|
-
class
|
|
11845
|
+
class GenerateUploadAuthRequest(TeaModel):
|
|
10752
11846
|
def __init__(
|
|
10753
11847
|
self,
|
|
10754
11848
|
instance_id: str = None,
|
|
10755
|
-
|
|
11849
|
+
purpose: str = None,
|
|
11850
|
+
type: str = None,
|
|
10756
11851
|
):
|
|
10757
|
-
#
|
|
11852
|
+
# IDaaS EIAM的实例id
|
|
10758
11853
|
#
|
|
10759
11854
|
# This parameter is required.
|
|
10760
11855
|
self.instance_id = instance_id
|
|
10761
|
-
#
|
|
10762
|
-
|
|
10763
|
-
#
|
|
10764
|
-
self.
|
|
11856
|
+
# 文件用途
|
|
11857
|
+
self.purpose = purpose
|
|
11858
|
+
# 文件类型,目前只支持image,最大1M
|
|
11859
|
+
self.type = type
|
|
10765
11860
|
|
|
10766
11861
|
def validate(self):
|
|
10767
11862
|
pass
|
|
@@ -10774,26 +11869,56 @@ class EnableUserRequest(TeaModel):
|
|
|
10774
11869
|
result = dict()
|
|
10775
11870
|
if self.instance_id is not None:
|
|
10776
11871
|
result['InstanceId'] = self.instance_id
|
|
10777
|
-
if self.
|
|
10778
|
-
result['
|
|
11872
|
+
if self.purpose is not None:
|
|
11873
|
+
result['Purpose'] = self.purpose
|
|
11874
|
+
if self.type is not None:
|
|
11875
|
+
result['Type'] = self.type
|
|
10779
11876
|
return result
|
|
10780
11877
|
|
|
10781
11878
|
def from_map(self, m: dict = None):
|
|
10782
11879
|
m = m or dict()
|
|
10783
11880
|
if m.get('InstanceId') is not None:
|
|
10784
11881
|
self.instance_id = m.get('InstanceId')
|
|
10785
|
-
if m.get('
|
|
10786
|
-
self.
|
|
11882
|
+
if m.get('Purpose') is not None:
|
|
11883
|
+
self.purpose = m.get('Purpose')
|
|
11884
|
+
if m.get('Type') is not None:
|
|
11885
|
+
self.type = m.get('Type')
|
|
10787
11886
|
return self
|
|
10788
11887
|
|
|
10789
11888
|
|
|
10790
|
-
class
|
|
11889
|
+
class GenerateUploadAuthResponseBody(TeaModel):
|
|
10791
11890
|
def __init__(
|
|
10792
11891
|
self,
|
|
11892
|
+
access_id: str = None,
|
|
11893
|
+
down_load_url: str = None,
|
|
11894
|
+
encrypted_key: str = None,
|
|
11895
|
+
expire: int = None,
|
|
11896
|
+
host: str = None,
|
|
11897
|
+
key: str = None,
|
|
11898
|
+
plaintext_key: str = None,
|
|
11899
|
+
policy: str = None,
|
|
10793
11900
|
request_id: str = None,
|
|
10794
|
-
|
|
10795
|
-
|
|
11901
|
+
security_token: str = None,
|
|
11902
|
+
signature: str = None,
|
|
11903
|
+
):
|
|
11904
|
+
# 认证的AccessId
|
|
11905
|
+
self.access_id = access_id
|
|
11906
|
+
# 预下载地址
|
|
11907
|
+
self.down_load_url = down_load_url
|
|
11908
|
+
self.encrypted_key = encrypted_key
|
|
11909
|
+
# 过期时间
|
|
11910
|
+
self.expire = expire
|
|
11911
|
+
# bucket地址host
|
|
11912
|
+
self.host = host
|
|
11913
|
+
# 认证对应的key
|
|
11914
|
+
self.key = key
|
|
11915
|
+
self.plaintext_key = plaintext_key
|
|
11916
|
+
# 认证的policy
|
|
11917
|
+
self.policy = policy
|
|
10796
11918
|
self.request_id = request_id
|
|
11919
|
+
self.security_token = security_token
|
|
11920
|
+
# 认证的签名
|
|
11921
|
+
self.signature = signature
|
|
10797
11922
|
|
|
10798
11923
|
def validate(self):
|
|
10799
11924
|
pass
|
|
@@ -10804,23 +11929,63 @@ class EnableUserResponseBody(TeaModel):
|
|
|
10804
11929
|
return _map
|
|
10805
11930
|
|
|
10806
11931
|
result = dict()
|
|
11932
|
+
if self.access_id is not None:
|
|
11933
|
+
result['AccessId'] = self.access_id
|
|
11934
|
+
if self.down_load_url is not None:
|
|
11935
|
+
result['DownLoadUrl'] = self.down_load_url
|
|
11936
|
+
if self.encrypted_key is not None:
|
|
11937
|
+
result['EncryptedKey'] = self.encrypted_key
|
|
11938
|
+
if self.expire is not None:
|
|
11939
|
+
result['Expire'] = self.expire
|
|
11940
|
+
if self.host is not None:
|
|
11941
|
+
result['Host'] = self.host
|
|
11942
|
+
if self.key is not None:
|
|
11943
|
+
result['Key'] = self.key
|
|
11944
|
+
if self.plaintext_key is not None:
|
|
11945
|
+
result['PlaintextKey'] = self.plaintext_key
|
|
11946
|
+
if self.policy is not None:
|
|
11947
|
+
result['Policy'] = self.policy
|
|
10807
11948
|
if self.request_id is not None:
|
|
10808
11949
|
result['RequestId'] = self.request_id
|
|
11950
|
+
if self.security_token is not None:
|
|
11951
|
+
result['SecurityToken'] = self.security_token
|
|
11952
|
+
if self.signature is not None:
|
|
11953
|
+
result['Signature'] = self.signature
|
|
10809
11954
|
return result
|
|
10810
11955
|
|
|
10811
11956
|
def from_map(self, m: dict = None):
|
|
10812
11957
|
m = m or dict()
|
|
11958
|
+
if m.get('AccessId') is not None:
|
|
11959
|
+
self.access_id = m.get('AccessId')
|
|
11960
|
+
if m.get('DownLoadUrl') is not None:
|
|
11961
|
+
self.down_load_url = m.get('DownLoadUrl')
|
|
11962
|
+
if m.get('EncryptedKey') is not None:
|
|
11963
|
+
self.encrypted_key = m.get('EncryptedKey')
|
|
11964
|
+
if m.get('Expire') is not None:
|
|
11965
|
+
self.expire = m.get('Expire')
|
|
11966
|
+
if m.get('Host') is not None:
|
|
11967
|
+
self.host = m.get('Host')
|
|
11968
|
+
if m.get('Key') is not None:
|
|
11969
|
+
self.key = m.get('Key')
|
|
11970
|
+
if m.get('PlaintextKey') is not None:
|
|
11971
|
+
self.plaintext_key = m.get('PlaintextKey')
|
|
11972
|
+
if m.get('Policy') is not None:
|
|
11973
|
+
self.policy = m.get('Policy')
|
|
10813
11974
|
if m.get('RequestId') is not None:
|
|
10814
11975
|
self.request_id = m.get('RequestId')
|
|
11976
|
+
if m.get('SecurityToken') is not None:
|
|
11977
|
+
self.security_token = m.get('SecurityToken')
|
|
11978
|
+
if m.get('Signature') is not None:
|
|
11979
|
+
self.signature = m.get('Signature')
|
|
10815
11980
|
return self
|
|
10816
11981
|
|
|
10817
11982
|
|
|
10818
|
-
class
|
|
11983
|
+
class GenerateUploadAuthResponse(TeaModel):
|
|
10819
11984
|
def __init__(
|
|
10820
11985
|
self,
|
|
10821
11986
|
headers: Dict[str, str] = None,
|
|
10822
11987
|
status_code: int = None,
|
|
10823
|
-
body:
|
|
11988
|
+
body: GenerateUploadAuthResponseBody = None,
|
|
10824
11989
|
):
|
|
10825
11990
|
self.headers = headers
|
|
10826
11991
|
self.status_code = status_code
|
|
@@ -10851,7 +12016,7 @@ class EnableUserResponse(TeaModel):
|
|
|
10851
12016
|
if m.get('statusCode') is not None:
|
|
10852
12017
|
self.status_code = m.get('statusCode')
|
|
10853
12018
|
if m.get('body') is not None:
|
|
10854
|
-
temp_model =
|
|
12019
|
+
temp_model = GenerateUploadAuthResponseBody()
|
|
10855
12020
|
self.body = temp_model.from_map(m['body'])
|
|
10856
12021
|
return self
|
|
10857
12022
|
|
|
@@ -36689,6 +37854,122 @@ class SetApplicationProvisioningScopeResponse(TeaModel):
|
|
|
36689
37854
|
return self
|
|
36690
37855
|
|
|
36691
37856
|
|
|
37857
|
+
class SetApplicationProvisioningUserPrimaryOrganizationalUnitRequest(TeaModel):
|
|
37858
|
+
def __init__(
|
|
37859
|
+
self,
|
|
37860
|
+
application_id: str = None,
|
|
37861
|
+
instance_id: str = None,
|
|
37862
|
+
user_primary_organizational_unit_id: str = None,
|
|
37863
|
+
):
|
|
37864
|
+
# IDaaS的应用资源ID。
|
|
37865
|
+
#
|
|
37866
|
+
# This parameter is required.
|
|
37867
|
+
self.application_id = application_id
|
|
37868
|
+
# IDaaS EIAM实例的ID。
|
|
37869
|
+
#
|
|
37870
|
+
# This parameter is required.
|
|
37871
|
+
self.instance_id = instance_id
|
|
37872
|
+
# 组织ID。
|
|
37873
|
+
#
|
|
37874
|
+
# This parameter is required.
|
|
37875
|
+
self.user_primary_organizational_unit_id = user_primary_organizational_unit_id
|
|
37876
|
+
|
|
37877
|
+
def validate(self):
|
|
37878
|
+
pass
|
|
37879
|
+
|
|
37880
|
+
def to_map(self):
|
|
37881
|
+
_map = super().to_map()
|
|
37882
|
+
if _map is not None:
|
|
37883
|
+
return _map
|
|
37884
|
+
|
|
37885
|
+
result = dict()
|
|
37886
|
+
if self.application_id is not None:
|
|
37887
|
+
result['ApplicationId'] = self.application_id
|
|
37888
|
+
if self.instance_id is not None:
|
|
37889
|
+
result['InstanceId'] = self.instance_id
|
|
37890
|
+
if self.user_primary_organizational_unit_id is not None:
|
|
37891
|
+
result['UserPrimaryOrganizationalUnitId'] = self.user_primary_organizational_unit_id
|
|
37892
|
+
return result
|
|
37893
|
+
|
|
37894
|
+
def from_map(self, m: dict = None):
|
|
37895
|
+
m = m or dict()
|
|
37896
|
+
if m.get('ApplicationId') is not None:
|
|
37897
|
+
self.application_id = m.get('ApplicationId')
|
|
37898
|
+
if m.get('InstanceId') is not None:
|
|
37899
|
+
self.instance_id = m.get('InstanceId')
|
|
37900
|
+
if m.get('UserPrimaryOrganizationalUnitId') is not None:
|
|
37901
|
+
self.user_primary_organizational_unit_id = m.get('UserPrimaryOrganizationalUnitId')
|
|
37902
|
+
return self
|
|
37903
|
+
|
|
37904
|
+
|
|
37905
|
+
class SetApplicationProvisioningUserPrimaryOrganizationalUnitResponseBody(TeaModel):
|
|
37906
|
+
def __init__(
|
|
37907
|
+
self,
|
|
37908
|
+
request_id: str = None,
|
|
37909
|
+
):
|
|
37910
|
+
self.request_id = request_id
|
|
37911
|
+
|
|
37912
|
+
def validate(self):
|
|
37913
|
+
pass
|
|
37914
|
+
|
|
37915
|
+
def to_map(self):
|
|
37916
|
+
_map = super().to_map()
|
|
37917
|
+
if _map is not None:
|
|
37918
|
+
return _map
|
|
37919
|
+
|
|
37920
|
+
result = dict()
|
|
37921
|
+
if self.request_id is not None:
|
|
37922
|
+
result['RequestId'] = self.request_id
|
|
37923
|
+
return result
|
|
37924
|
+
|
|
37925
|
+
def from_map(self, m: dict = None):
|
|
37926
|
+
m = m or dict()
|
|
37927
|
+
if m.get('RequestId') is not None:
|
|
37928
|
+
self.request_id = m.get('RequestId')
|
|
37929
|
+
return self
|
|
37930
|
+
|
|
37931
|
+
|
|
37932
|
+
class SetApplicationProvisioningUserPrimaryOrganizationalUnitResponse(TeaModel):
|
|
37933
|
+
def __init__(
|
|
37934
|
+
self,
|
|
37935
|
+
headers: Dict[str, str] = None,
|
|
37936
|
+
status_code: int = None,
|
|
37937
|
+
body: SetApplicationProvisioningUserPrimaryOrganizationalUnitResponseBody = None,
|
|
37938
|
+
):
|
|
37939
|
+
self.headers = headers
|
|
37940
|
+
self.status_code = status_code
|
|
37941
|
+
self.body = body
|
|
37942
|
+
|
|
37943
|
+
def validate(self):
|
|
37944
|
+
if self.body:
|
|
37945
|
+
self.body.validate()
|
|
37946
|
+
|
|
37947
|
+
def to_map(self):
|
|
37948
|
+
_map = super().to_map()
|
|
37949
|
+
if _map is not None:
|
|
37950
|
+
return _map
|
|
37951
|
+
|
|
37952
|
+
result = dict()
|
|
37953
|
+
if self.headers is not None:
|
|
37954
|
+
result['headers'] = self.headers
|
|
37955
|
+
if self.status_code is not None:
|
|
37956
|
+
result['statusCode'] = self.status_code
|
|
37957
|
+
if self.body is not None:
|
|
37958
|
+
result['body'] = self.body.to_map()
|
|
37959
|
+
return result
|
|
37960
|
+
|
|
37961
|
+
def from_map(self, m: dict = None):
|
|
37962
|
+
m = m or dict()
|
|
37963
|
+
if m.get('headers') is not None:
|
|
37964
|
+
self.headers = m.get('headers')
|
|
37965
|
+
if m.get('statusCode') is not None:
|
|
37966
|
+
self.status_code = m.get('statusCode')
|
|
37967
|
+
if m.get('body') is not None:
|
|
37968
|
+
temp_model = SetApplicationProvisioningUserPrimaryOrganizationalUnitResponseBody()
|
|
37969
|
+
self.body = temp_model.from_map(m['body'])
|
|
37970
|
+
return self
|
|
37971
|
+
|
|
37972
|
+
|
|
36692
37973
|
class SetApplicationSsoConfigRequestOidcSsoConfigCustomClaims(TeaModel):
|
|
36693
37974
|
def __init__(
|
|
36694
37975
|
self,
|