alibabacloud-eiam20211201 2.2.0__py3-none-any.whl → 2.3.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 +1090 -70
- alibabacloud_eiam20211201/models.py +1519 -195
- {alibabacloud_eiam20211201-2.2.0.dist-info → alibabacloud_eiam20211201-2.3.0.dist-info}/METADATA +1 -1
- alibabacloud_eiam20211201-2.3.0.dist-info/RECORD +8 -0
- alibabacloud_eiam20211201-2.2.0.dist-info/RECORD +0 -8
- {alibabacloud_eiam20211201-2.2.0.dist-info → alibabacloud_eiam20211201-2.3.0.dist-info}/LICENSE +0 -0
- {alibabacloud_eiam20211201-2.2.0.dist-info → alibabacloud_eiam20211201-2.3.0.dist-info}/WHEEL +0 -0
- {alibabacloud_eiam20211201-2.2.0.dist-info → alibabacloud_eiam20211201-2.3.0.dist-info}/top_level.txt +0 -0
|
@@ -1422,6 +1422,119 @@ class CreateApplicationTokenResponse(TeaModel):
|
|
|
1422
1422
|
return self
|
|
1423
1423
|
|
|
1424
1424
|
|
|
1425
|
+
class CreateBrandRequest(TeaModel):
|
|
1426
|
+
def __init__(
|
|
1427
|
+
self,
|
|
1428
|
+
brand_name: str = None,
|
|
1429
|
+
instance_id: str = None,
|
|
1430
|
+
):
|
|
1431
|
+
# 品牌化名称
|
|
1432
|
+
#
|
|
1433
|
+
# This parameter is required.
|
|
1434
|
+
self.brand_name = brand_name
|
|
1435
|
+
# IDaaS EIAM实例的ID。
|
|
1436
|
+
#
|
|
1437
|
+
# This parameter is required.
|
|
1438
|
+
self.instance_id = instance_id
|
|
1439
|
+
|
|
1440
|
+
def validate(self):
|
|
1441
|
+
pass
|
|
1442
|
+
|
|
1443
|
+
def to_map(self):
|
|
1444
|
+
_map = super().to_map()
|
|
1445
|
+
if _map is not None:
|
|
1446
|
+
return _map
|
|
1447
|
+
|
|
1448
|
+
result = dict()
|
|
1449
|
+
if self.brand_name is not None:
|
|
1450
|
+
result['BrandName'] = self.brand_name
|
|
1451
|
+
if self.instance_id is not None:
|
|
1452
|
+
result['InstanceId'] = self.instance_id
|
|
1453
|
+
return result
|
|
1454
|
+
|
|
1455
|
+
def from_map(self, m: dict = None):
|
|
1456
|
+
m = m or dict()
|
|
1457
|
+
if m.get('BrandName') is not None:
|
|
1458
|
+
self.brand_name = m.get('BrandName')
|
|
1459
|
+
if m.get('InstanceId') is not None:
|
|
1460
|
+
self.instance_id = m.get('InstanceId')
|
|
1461
|
+
return self
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
class CreateBrandResponseBody(TeaModel):
|
|
1465
|
+
def __init__(
|
|
1466
|
+
self,
|
|
1467
|
+
brand_id: str = None,
|
|
1468
|
+
request_id: str = None,
|
|
1469
|
+
):
|
|
1470
|
+
self.brand_id = brand_id
|
|
1471
|
+
self.request_id = request_id
|
|
1472
|
+
|
|
1473
|
+
def validate(self):
|
|
1474
|
+
pass
|
|
1475
|
+
|
|
1476
|
+
def to_map(self):
|
|
1477
|
+
_map = super().to_map()
|
|
1478
|
+
if _map is not None:
|
|
1479
|
+
return _map
|
|
1480
|
+
|
|
1481
|
+
result = dict()
|
|
1482
|
+
if self.brand_id is not None:
|
|
1483
|
+
result['BrandId'] = self.brand_id
|
|
1484
|
+
if self.request_id is not None:
|
|
1485
|
+
result['RequestId'] = self.request_id
|
|
1486
|
+
return result
|
|
1487
|
+
|
|
1488
|
+
def from_map(self, m: dict = None):
|
|
1489
|
+
m = m or dict()
|
|
1490
|
+
if m.get('BrandId') is not None:
|
|
1491
|
+
self.brand_id = m.get('BrandId')
|
|
1492
|
+
if m.get('RequestId') is not None:
|
|
1493
|
+
self.request_id = m.get('RequestId')
|
|
1494
|
+
return self
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
class CreateBrandResponse(TeaModel):
|
|
1498
|
+
def __init__(
|
|
1499
|
+
self,
|
|
1500
|
+
headers: Dict[str, str] = None,
|
|
1501
|
+
status_code: int = None,
|
|
1502
|
+
body: CreateBrandResponseBody = None,
|
|
1503
|
+
):
|
|
1504
|
+
self.headers = headers
|
|
1505
|
+
self.status_code = status_code
|
|
1506
|
+
self.body = body
|
|
1507
|
+
|
|
1508
|
+
def validate(self):
|
|
1509
|
+
if self.body:
|
|
1510
|
+
self.body.validate()
|
|
1511
|
+
|
|
1512
|
+
def to_map(self):
|
|
1513
|
+
_map = super().to_map()
|
|
1514
|
+
if _map is not None:
|
|
1515
|
+
return _map
|
|
1516
|
+
|
|
1517
|
+
result = dict()
|
|
1518
|
+
if self.headers is not None:
|
|
1519
|
+
result['headers'] = self.headers
|
|
1520
|
+
if self.status_code is not None:
|
|
1521
|
+
result['statusCode'] = self.status_code
|
|
1522
|
+
if self.body is not None:
|
|
1523
|
+
result['body'] = self.body.to_map()
|
|
1524
|
+
return result
|
|
1525
|
+
|
|
1526
|
+
def from_map(self, m: dict = None):
|
|
1527
|
+
m = m or dict()
|
|
1528
|
+
if m.get('headers') is not None:
|
|
1529
|
+
self.headers = m.get('headers')
|
|
1530
|
+
if m.get('statusCode') is not None:
|
|
1531
|
+
self.status_code = m.get('statusCode')
|
|
1532
|
+
if m.get('body') is not None:
|
|
1533
|
+
temp_model = CreateBrandResponseBody()
|
|
1534
|
+
self.body = temp_model.from_map(m['body'])
|
|
1535
|
+
return self
|
|
1536
|
+
|
|
1537
|
+
|
|
1425
1538
|
class CreateConditionalAccessPolicyRequestConditionsConfigApplications(TeaModel):
|
|
1426
1539
|
def __init__(
|
|
1427
1540
|
self,
|
|
@@ -5194,6 +5307,113 @@ class DeleteApplicationTokenResponse(TeaModel):
|
|
|
5194
5307
|
return self
|
|
5195
5308
|
|
|
5196
5309
|
|
|
5310
|
+
class DeleteBrandRequest(TeaModel):
|
|
5311
|
+
def __init__(
|
|
5312
|
+
self,
|
|
5313
|
+
brand_id: str = None,
|
|
5314
|
+
instance_id: str = None,
|
|
5315
|
+
):
|
|
5316
|
+
# 品牌化Id
|
|
5317
|
+
#
|
|
5318
|
+
# This parameter is required.
|
|
5319
|
+
self.brand_id = brand_id
|
|
5320
|
+
# IDaaS EIAM实例的ID。
|
|
5321
|
+
#
|
|
5322
|
+
# This parameter is required.
|
|
5323
|
+
self.instance_id = instance_id
|
|
5324
|
+
|
|
5325
|
+
def validate(self):
|
|
5326
|
+
pass
|
|
5327
|
+
|
|
5328
|
+
def to_map(self):
|
|
5329
|
+
_map = super().to_map()
|
|
5330
|
+
if _map is not None:
|
|
5331
|
+
return _map
|
|
5332
|
+
|
|
5333
|
+
result = dict()
|
|
5334
|
+
if self.brand_id is not None:
|
|
5335
|
+
result['BrandId'] = self.brand_id
|
|
5336
|
+
if self.instance_id is not None:
|
|
5337
|
+
result['InstanceId'] = self.instance_id
|
|
5338
|
+
return result
|
|
5339
|
+
|
|
5340
|
+
def from_map(self, m: dict = None):
|
|
5341
|
+
m = m or dict()
|
|
5342
|
+
if m.get('BrandId') is not None:
|
|
5343
|
+
self.brand_id = m.get('BrandId')
|
|
5344
|
+
if m.get('InstanceId') is not None:
|
|
5345
|
+
self.instance_id = m.get('InstanceId')
|
|
5346
|
+
return self
|
|
5347
|
+
|
|
5348
|
+
|
|
5349
|
+
class DeleteBrandResponseBody(TeaModel):
|
|
5350
|
+
def __init__(
|
|
5351
|
+
self,
|
|
5352
|
+
request_id: str = None,
|
|
5353
|
+
):
|
|
5354
|
+
self.request_id = request_id
|
|
5355
|
+
|
|
5356
|
+
def validate(self):
|
|
5357
|
+
pass
|
|
5358
|
+
|
|
5359
|
+
def to_map(self):
|
|
5360
|
+
_map = super().to_map()
|
|
5361
|
+
if _map is not None:
|
|
5362
|
+
return _map
|
|
5363
|
+
|
|
5364
|
+
result = dict()
|
|
5365
|
+
if self.request_id is not None:
|
|
5366
|
+
result['RequestId'] = self.request_id
|
|
5367
|
+
return result
|
|
5368
|
+
|
|
5369
|
+
def from_map(self, m: dict = None):
|
|
5370
|
+
m = m or dict()
|
|
5371
|
+
if m.get('RequestId') is not None:
|
|
5372
|
+
self.request_id = m.get('RequestId')
|
|
5373
|
+
return self
|
|
5374
|
+
|
|
5375
|
+
|
|
5376
|
+
class DeleteBrandResponse(TeaModel):
|
|
5377
|
+
def __init__(
|
|
5378
|
+
self,
|
|
5379
|
+
headers: Dict[str, str] = None,
|
|
5380
|
+
status_code: int = None,
|
|
5381
|
+
body: DeleteBrandResponseBody = None,
|
|
5382
|
+
):
|
|
5383
|
+
self.headers = headers
|
|
5384
|
+
self.status_code = status_code
|
|
5385
|
+
self.body = body
|
|
5386
|
+
|
|
5387
|
+
def validate(self):
|
|
5388
|
+
if self.body:
|
|
5389
|
+
self.body.validate()
|
|
5390
|
+
|
|
5391
|
+
def to_map(self):
|
|
5392
|
+
_map = super().to_map()
|
|
5393
|
+
if _map is not None:
|
|
5394
|
+
return _map
|
|
5395
|
+
|
|
5396
|
+
result = dict()
|
|
5397
|
+
if self.headers is not None:
|
|
5398
|
+
result['headers'] = self.headers
|
|
5399
|
+
if self.status_code is not None:
|
|
5400
|
+
result['statusCode'] = self.status_code
|
|
5401
|
+
if self.body is not None:
|
|
5402
|
+
result['body'] = self.body.to_map()
|
|
5403
|
+
return result
|
|
5404
|
+
|
|
5405
|
+
def from_map(self, m: dict = None):
|
|
5406
|
+
m = m or dict()
|
|
5407
|
+
if m.get('headers') is not None:
|
|
5408
|
+
self.headers = m.get('headers')
|
|
5409
|
+
if m.get('statusCode') is not None:
|
|
5410
|
+
self.status_code = m.get('statusCode')
|
|
5411
|
+
if m.get('body') is not None:
|
|
5412
|
+
temp_model = DeleteBrandResponseBody()
|
|
5413
|
+
self.body = temp_model.from_map(m['body'])
|
|
5414
|
+
return self
|
|
5415
|
+
|
|
5416
|
+
|
|
5197
5417
|
class DeleteConditionalAccessPolicyRequest(TeaModel):
|
|
5198
5418
|
def __init__(
|
|
5199
5419
|
self,
|
|
@@ -7269,17 +7489,17 @@ class DisableApplicationTokenResponse(TeaModel):
|
|
|
7269
7489
|
return self
|
|
7270
7490
|
|
|
7271
7491
|
|
|
7272
|
-
class
|
|
7492
|
+
class DisableBrandRequest(TeaModel):
|
|
7273
7493
|
def __init__(
|
|
7274
7494
|
self,
|
|
7275
|
-
|
|
7495
|
+
brand_id: str = None,
|
|
7276
7496
|
instance_id: str = None,
|
|
7277
7497
|
):
|
|
7278
|
-
#
|
|
7498
|
+
# 品牌化Id
|
|
7279
7499
|
#
|
|
7280
7500
|
# This parameter is required.
|
|
7281
|
-
self.
|
|
7282
|
-
#
|
|
7501
|
+
self.brand_id = brand_id
|
|
7502
|
+
# IDaaS EIAM实例的ID。
|
|
7283
7503
|
#
|
|
7284
7504
|
# This parameter is required.
|
|
7285
7505
|
self.instance_id = instance_id
|
|
@@ -7293,27 +7513,26 @@ class DisableConditionalAccessPolicyRequest(TeaModel):
|
|
|
7293
7513
|
return _map
|
|
7294
7514
|
|
|
7295
7515
|
result = dict()
|
|
7296
|
-
if self.
|
|
7297
|
-
result['
|
|
7516
|
+
if self.brand_id is not None:
|
|
7517
|
+
result['BrandId'] = self.brand_id
|
|
7298
7518
|
if self.instance_id is not None:
|
|
7299
7519
|
result['InstanceId'] = self.instance_id
|
|
7300
7520
|
return result
|
|
7301
7521
|
|
|
7302
7522
|
def from_map(self, m: dict = None):
|
|
7303
7523
|
m = m or dict()
|
|
7304
|
-
if m.get('
|
|
7305
|
-
self.
|
|
7524
|
+
if m.get('BrandId') is not None:
|
|
7525
|
+
self.brand_id = m.get('BrandId')
|
|
7306
7526
|
if m.get('InstanceId') is not None:
|
|
7307
7527
|
self.instance_id = m.get('InstanceId')
|
|
7308
7528
|
return self
|
|
7309
7529
|
|
|
7310
7530
|
|
|
7311
|
-
class
|
|
7531
|
+
class DisableBrandResponseBody(TeaModel):
|
|
7312
7532
|
def __init__(
|
|
7313
7533
|
self,
|
|
7314
7534
|
request_id: str = None,
|
|
7315
7535
|
):
|
|
7316
|
-
# 请求ID。
|
|
7317
7536
|
self.request_id = request_id
|
|
7318
7537
|
|
|
7319
7538
|
def validate(self):
|
|
@@ -7336,12 +7555,12 @@ class DisableConditionalAccessPolicyResponseBody(TeaModel):
|
|
|
7336
7555
|
return self
|
|
7337
7556
|
|
|
7338
7557
|
|
|
7339
|
-
class
|
|
7558
|
+
class DisableBrandResponse(TeaModel):
|
|
7340
7559
|
def __init__(
|
|
7341
7560
|
self,
|
|
7342
7561
|
headers: Dict[str, str] = None,
|
|
7343
7562
|
status_code: int = None,
|
|
7344
|
-
body:
|
|
7563
|
+
body: DisableBrandResponseBody = None,
|
|
7345
7564
|
):
|
|
7346
7565
|
self.headers = headers
|
|
7347
7566
|
self.status_code = status_code
|
|
@@ -7372,27 +7591,22 @@ class DisableConditionalAccessPolicyResponse(TeaModel):
|
|
|
7372
7591
|
if m.get('statusCode') is not None:
|
|
7373
7592
|
self.status_code = m.get('statusCode')
|
|
7374
7593
|
if m.get('body') is not None:
|
|
7375
|
-
temp_model =
|
|
7594
|
+
temp_model = DisableBrandResponseBody()
|
|
7376
7595
|
self.body = temp_model.from_map(m['body'])
|
|
7377
7596
|
return self
|
|
7378
7597
|
|
|
7379
7598
|
|
|
7380
|
-
class
|
|
7599
|
+
class DisableConditionalAccessPolicyRequest(TeaModel):
|
|
7381
7600
|
def __init__(
|
|
7382
7601
|
self,
|
|
7383
|
-
|
|
7384
|
-
domain_proxy_token_id: str = None,
|
|
7602
|
+
conditional_access_policy_id: str = None,
|
|
7385
7603
|
instance_id: str = None,
|
|
7386
7604
|
):
|
|
7387
|
-
#
|
|
7388
|
-
#
|
|
7389
|
-
# This parameter is required.
|
|
7390
|
-
self.domain_id = domain_id
|
|
7391
|
-
# The ID of the proxy token of the domain name.
|
|
7605
|
+
# Conditional Access Policy ID
|
|
7392
7606
|
#
|
|
7393
7607
|
# This parameter is required.
|
|
7394
|
-
self.
|
|
7395
|
-
#
|
|
7608
|
+
self.conditional_access_policy_id = conditional_access_policy_id
|
|
7609
|
+
# Instance ID.
|
|
7396
7610
|
#
|
|
7397
7611
|
# This parameter is required.
|
|
7398
7612
|
self.instance_id = instance_id
|
|
@@ -7406,31 +7620,27 @@ class DisableDomainProxyTokenRequest(TeaModel):
|
|
|
7406
7620
|
return _map
|
|
7407
7621
|
|
|
7408
7622
|
result = dict()
|
|
7409
|
-
if self.
|
|
7410
|
-
result['
|
|
7411
|
-
if self.domain_proxy_token_id is not None:
|
|
7412
|
-
result['DomainProxyTokenId'] = self.domain_proxy_token_id
|
|
7623
|
+
if self.conditional_access_policy_id is not None:
|
|
7624
|
+
result['ConditionalAccessPolicyId'] = self.conditional_access_policy_id
|
|
7413
7625
|
if self.instance_id is not None:
|
|
7414
7626
|
result['InstanceId'] = self.instance_id
|
|
7415
7627
|
return result
|
|
7416
7628
|
|
|
7417
7629
|
def from_map(self, m: dict = None):
|
|
7418
7630
|
m = m or dict()
|
|
7419
|
-
if m.get('
|
|
7420
|
-
self.
|
|
7421
|
-
if m.get('DomainProxyTokenId') is not None:
|
|
7422
|
-
self.domain_proxy_token_id = m.get('DomainProxyTokenId')
|
|
7631
|
+
if m.get('ConditionalAccessPolicyId') is not None:
|
|
7632
|
+
self.conditional_access_policy_id = m.get('ConditionalAccessPolicyId')
|
|
7423
7633
|
if m.get('InstanceId') is not None:
|
|
7424
7634
|
self.instance_id = m.get('InstanceId')
|
|
7425
7635
|
return self
|
|
7426
7636
|
|
|
7427
7637
|
|
|
7428
|
-
class
|
|
7638
|
+
class DisableConditionalAccessPolicyResponseBody(TeaModel):
|
|
7429
7639
|
def __init__(
|
|
7430
7640
|
self,
|
|
7431
7641
|
request_id: str = None,
|
|
7432
7642
|
):
|
|
7433
|
-
#
|
|
7643
|
+
# 请求ID。
|
|
7434
7644
|
self.request_id = request_id
|
|
7435
7645
|
|
|
7436
7646
|
def validate(self):
|
|
@@ -7453,12 +7663,129 @@ class DisableDomainProxyTokenResponseBody(TeaModel):
|
|
|
7453
7663
|
return self
|
|
7454
7664
|
|
|
7455
7665
|
|
|
7456
|
-
class
|
|
7666
|
+
class DisableConditionalAccessPolicyResponse(TeaModel):
|
|
7457
7667
|
def __init__(
|
|
7458
7668
|
self,
|
|
7459
7669
|
headers: Dict[str, str] = None,
|
|
7460
7670
|
status_code: int = None,
|
|
7461
|
-
body:
|
|
7671
|
+
body: DisableConditionalAccessPolicyResponseBody = None,
|
|
7672
|
+
):
|
|
7673
|
+
self.headers = headers
|
|
7674
|
+
self.status_code = status_code
|
|
7675
|
+
self.body = body
|
|
7676
|
+
|
|
7677
|
+
def validate(self):
|
|
7678
|
+
if self.body:
|
|
7679
|
+
self.body.validate()
|
|
7680
|
+
|
|
7681
|
+
def to_map(self):
|
|
7682
|
+
_map = super().to_map()
|
|
7683
|
+
if _map is not None:
|
|
7684
|
+
return _map
|
|
7685
|
+
|
|
7686
|
+
result = dict()
|
|
7687
|
+
if self.headers is not None:
|
|
7688
|
+
result['headers'] = self.headers
|
|
7689
|
+
if self.status_code is not None:
|
|
7690
|
+
result['statusCode'] = self.status_code
|
|
7691
|
+
if self.body is not None:
|
|
7692
|
+
result['body'] = self.body.to_map()
|
|
7693
|
+
return result
|
|
7694
|
+
|
|
7695
|
+
def from_map(self, m: dict = None):
|
|
7696
|
+
m = m or dict()
|
|
7697
|
+
if m.get('headers') is not None:
|
|
7698
|
+
self.headers = m.get('headers')
|
|
7699
|
+
if m.get('statusCode') is not None:
|
|
7700
|
+
self.status_code = m.get('statusCode')
|
|
7701
|
+
if m.get('body') is not None:
|
|
7702
|
+
temp_model = DisableConditionalAccessPolicyResponseBody()
|
|
7703
|
+
self.body = temp_model.from_map(m['body'])
|
|
7704
|
+
return self
|
|
7705
|
+
|
|
7706
|
+
|
|
7707
|
+
class DisableDomainProxyTokenRequest(TeaModel):
|
|
7708
|
+
def __init__(
|
|
7709
|
+
self,
|
|
7710
|
+
domain_id: str = None,
|
|
7711
|
+
domain_proxy_token_id: str = None,
|
|
7712
|
+
instance_id: str = None,
|
|
7713
|
+
):
|
|
7714
|
+
# The ID of the domain name.
|
|
7715
|
+
#
|
|
7716
|
+
# This parameter is required.
|
|
7717
|
+
self.domain_id = domain_id
|
|
7718
|
+
# The ID of the proxy token of the domain name.
|
|
7719
|
+
#
|
|
7720
|
+
# This parameter is required.
|
|
7721
|
+
self.domain_proxy_token_id = domain_proxy_token_id
|
|
7722
|
+
# The instance ID.
|
|
7723
|
+
#
|
|
7724
|
+
# This parameter is required.
|
|
7725
|
+
self.instance_id = instance_id
|
|
7726
|
+
|
|
7727
|
+
def validate(self):
|
|
7728
|
+
pass
|
|
7729
|
+
|
|
7730
|
+
def to_map(self):
|
|
7731
|
+
_map = super().to_map()
|
|
7732
|
+
if _map is not None:
|
|
7733
|
+
return _map
|
|
7734
|
+
|
|
7735
|
+
result = dict()
|
|
7736
|
+
if self.domain_id is not None:
|
|
7737
|
+
result['DomainId'] = self.domain_id
|
|
7738
|
+
if self.domain_proxy_token_id is not None:
|
|
7739
|
+
result['DomainProxyTokenId'] = self.domain_proxy_token_id
|
|
7740
|
+
if self.instance_id is not None:
|
|
7741
|
+
result['InstanceId'] = self.instance_id
|
|
7742
|
+
return result
|
|
7743
|
+
|
|
7744
|
+
def from_map(self, m: dict = None):
|
|
7745
|
+
m = m or dict()
|
|
7746
|
+
if m.get('DomainId') is not None:
|
|
7747
|
+
self.domain_id = m.get('DomainId')
|
|
7748
|
+
if m.get('DomainProxyTokenId') is not None:
|
|
7749
|
+
self.domain_proxy_token_id = m.get('DomainProxyTokenId')
|
|
7750
|
+
if m.get('InstanceId') is not None:
|
|
7751
|
+
self.instance_id = m.get('InstanceId')
|
|
7752
|
+
return self
|
|
7753
|
+
|
|
7754
|
+
|
|
7755
|
+
class DisableDomainProxyTokenResponseBody(TeaModel):
|
|
7756
|
+
def __init__(
|
|
7757
|
+
self,
|
|
7758
|
+
request_id: str = None,
|
|
7759
|
+
):
|
|
7760
|
+
# The request ID.
|
|
7761
|
+
self.request_id = request_id
|
|
7762
|
+
|
|
7763
|
+
def validate(self):
|
|
7764
|
+
pass
|
|
7765
|
+
|
|
7766
|
+
def to_map(self):
|
|
7767
|
+
_map = super().to_map()
|
|
7768
|
+
if _map is not None:
|
|
7769
|
+
return _map
|
|
7770
|
+
|
|
7771
|
+
result = dict()
|
|
7772
|
+
if self.request_id is not None:
|
|
7773
|
+
result['RequestId'] = self.request_id
|
|
7774
|
+
return result
|
|
7775
|
+
|
|
7776
|
+
def from_map(self, m: dict = None):
|
|
7777
|
+
m = m or dict()
|
|
7778
|
+
if m.get('RequestId') is not None:
|
|
7779
|
+
self.request_id = m.get('RequestId')
|
|
7780
|
+
return self
|
|
7781
|
+
|
|
7782
|
+
|
|
7783
|
+
class DisableDomainProxyTokenResponse(TeaModel):
|
|
7784
|
+
def __init__(
|
|
7785
|
+
self,
|
|
7786
|
+
headers: Dict[str, str] = None,
|
|
7787
|
+
status_code: int = None,
|
|
7788
|
+
body: DisableDomainProxyTokenResponseBody = None,
|
|
7462
7789
|
):
|
|
7463
7790
|
self.headers = headers
|
|
7464
7791
|
self.status_code = status_code
|
|
@@ -8804,17 +9131,17 @@ class EnableApplicationTokenResponse(TeaModel):
|
|
|
8804
9131
|
return self
|
|
8805
9132
|
|
|
8806
9133
|
|
|
8807
|
-
class
|
|
9134
|
+
class EnableBrandRequest(TeaModel):
|
|
8808
9135
|
def __init__(
|
|
8809
9136
|
self,
|
|
8810
|
-
|
|
9137
|
+
brand_id: str = None,
|
|
8811
9138
|
instance_id: str = None,
|
|
8812
9139
|
):
|
|
8813
|
-
#
|
|
9140
|
+
# 品牌化Id
|
|
8814
9141
|
#
|
|
8815
9142
|
# This parameter is required.
|
|
8816
|
-
self.
|
|
8817
|
-
#
|
|
9143
|
+
self.brand_id = brand_id
|
|
9144
|
+
# IDaaS EIAM实例的ID。
|
|
8818
9145
|
#
|
|
8819
9146
|
# This parameter is required.
|
|
8820
9147
|
self.instance_id = instance_id
|
|
@@ -8828,27 +9155,26 @@ class EnableConditionalAccessPolicyRequest(TeaModel):
|
|
|
8828
9155
|
return _map
|
|
8829
9156
|
|
|
8830
9157
|
result = dict()
|
|
8831
|
-
if self.
|
|
8832
|
-
result['
|
|
9158
|
+
if self.brand_id is not None:
|
|
9159
|
+
result['BrandId'] = self.brand_id
|
|
8833
9160
|
if self.instance_id is not None:
|
|
8834
9161
|
result['InstanceId'] = self.instance_id
|
|
8835
9162
|
return result
|
|
8836
9163
|
|
|
8837
9164
|
def from_map(self, m: dict = None):
|
|
8838
9165
|
m = m or dict()
|
|
8839
|
-
if m.get('
|
|
8840
|
-
self.
|
|
9166
|
+
if m.get('BrandId') is not None:
|
|
9167
|
+
self.brand_id = m.get('BrandId')
|
|
8841
9168
|
if m.get('InstanceId') is not None:
|
|
8842
9169
|
self.instance_id = m.get('InstanceId')
|
|
8843
9170
|
return self
|
|
8844
9171
|
|
|
8845
9172
|
|
|
8846
|
-
class
|
|
9173
|
+
class EnableBrandResponseBody(TeaModel):
|
|
8847
9174
|
def __init__(
|
|
8848
9175
|
self,
|
|
8849
9176
|
request_id: str = None,
|
|
8850
9177
|
):
|
|
8851
|
-
# 请求ID。
|
|
8852
9178
|
self.request_id = request_id
|
|
8853
9179
|
|
|
8854
9180
|
def validate(self):
|
|
@@ -8871,12 +9197,12 @@ class EnableConditionalAccessPolicyResponseBody(TeaModel):
|
|
|
8871
9197
|
return self
|
|
8872
9198
|
|
|
8873
9199
|
|
|
8874
|
-
class
|
|
9200
|
+
class EnableBrandResponse(TeaModel):
|
|
8875
9201
|
def __init__(
|
|
8876
9202
|
self,
|
|
8877
9203
|
headers: Dict[str, str] = None,
|
|
8878
9204
|
status_code: int = None,
|
|
8879
|
-
body:
|
|
9205
|
+
body: EnableBrandResponseBody = None,
|
|
8880
9206
|
):
|
|
8881
9207
|
self.headers = headers
|
|
8882
9208
|
self.status_code = status_code
|
|
@@ -8907,27 +9233,22 @@ class EnableConditionalAccessPolicyResponse(TeaModel):
|
|
|
8907
9233
|
if m.get('statusCode') is not None:
|
|
8908
9234
|
self.status_code = m.get('statusCode')
|
|
8909
9235
|
if m.get('body') is not None:
|
|
8910
|
-
temp_model =
|
|
9236
|
+
temp_model = EnableBrandResponseBody()
|
|
8911
9237
|
self.body = temp_model.from_map(m['body'])
|
|
8912
9238
|
return self
|
|
8913
9239
|
|
|
8914
9240
|
|
|
8915
|
-
class
|
|
9241
|
+
class EnableConditionalAccessPolicyRequest(TeaModel):
|
|
8916
9242
|
def __init__(
|
|
8917
9243
|
self,
|
|
8918
|
-
|
|
8919
|
-
domain_proxy_token_id: str = None,
|
|
9244
|
+
conditional_access_policy_id: str = None,
|
|
8920
9245
|
instance_id: str = None,
|
|
8921
9246
|
):
|
|
8922
|
-
#
|
|
8923
|
-
#
|
|
8924
|
-
# This parameter is required.
|
|
8925
|
-
self.domain_id = domain_id
|
|
8926
|
-
# The ID of the proxy token of the domain name.
|
|
9247
|
+
# Conditional Access Policy ID
|
|
8927
9248
|
#
|
|
8928
9249
|
# This parameter is required.
|
|
8929
|
-
self.
|
|
8930
|
-
#
|
|
9250
|
+
self.conditional_access_policy_id = conditional_access_policy_id
|
|
9251
|
+
# Instance ID.
|
|
8931
9252
|
#
|
|
8932
9253
|
# This parameter is required.
|
|
8933
9254
|
self.instance_id = instance_id
|
|
@@ -8941,31 +9262,27 @@ class EnableDomainProxyTokenRequest(TeaModel):
|
|
|
8941
9262
|
return _map
|
|
8942
9263
|
|
|
8943
9264
|
result = dict()
|
|
8944
|
-
if self.
|
|
8945
|
-
result['
|
|
8946
|
-
if self.domain_proxy_token_id is not None:
|
|
8947
|
-
result['DomainProxyTokenId'] = self.domain_proxy_token_id
|
|
9265
|
+
if self.conditional_access_policy_id is not None:
|
|
9266
|
+
result['ConditionalAccessPolicyId'] = self.conditional_access_policy_id
|
|
8948
9267
|
if self.instance_id is not None:
|
|
8949
9268
|
result['InstanceId'] = self.instance_id
|
|
8950
9269
|
return result
|
|
8951
9270
|
|
|
8952
9271
|
def from_map(self, m: dict = None):
|
|
8953
9272
|
m = m or dict()
|
|
8954
|
-
if m.get('
|
|
8955
|
-
self.
|
|
8956
|
-
if m.get('DomainProxyTokenId') is not None:
|
|
8957
|
-
self.domain_proxy_token_id = m.get('DomainProxyTokenId')
|
|
9273
|
+
if m.get('ConditionalAccessPolicyId') is not None:
|
|
9274
|
+
self.conditional_access_policy_id = m.get('ConditionalAccessPolicyId')
|
|
8958
9275
|
if m.get('InstanceId') is not None:
|
|
8959
9276
|
self.instance_id = m.get('InstanceId')
|
|
8960
9277
|
return self
|
|
8961
9278
|
|
|
8962
9279
|
|
|
8963
|
-
class
|
|
9280
|
+
class EnableConditionalAccessPolicyResponseBody(TeaModel):
|
|
8964
9281
|
def __init__(
|
|
8965
9282
|
self,
|
|
8966
9283
|
request_id: str = None,
|
|
8967
9284
|
):
|
|
8968
|
-
#
|
|
9285
|
+
# 请求ID。
|
|
8969
9286
|
self.request_id = request_id
|
|
8970
9287
|
|
|
8971
9288
|
def validate(self):
|
|
@@ -8988,12 +9305,12 @@ class EnableDomainProxyTokenResponseBody(TeaModel):
|
|
|
8988
9305
|
return self
|
|
8989
9306
|
|
|
8990
9307
|
|
|
8991
|
-
class
|
|
9308
|
+
class EnableConditionalAccessPolicyResponse(TeaModel):
|
|
8992
9309
|
def __init__(
|
|
8993
9310
|
self,
|
|
8994
9311
|
headers: Dict[str, str] = None,
|
|
8995
9312
|
status_code: int = None,
|
|
8996
|
-
body:
|
|
9313
|
+
body: EnableConditionalAccessPolicyResponseBody = None,
|
|
8997
9314
|
):
|
|
8998
9315
|
self.headers = headers
|
|
8999
9316
|
self.status_code = status_code
|
|
@@ -9024,22 +9341,27 @@ class EnableDomainProxyTokenResponse(TeaModel):
|
|
|
9024
9341
|
if m.get('statusCode') is not None:
|
|
9025
9342
|
self.status_code = m.get('statusCode')
|
|
9026
9343
|
if m.get('body') is not None:
|
|
9027
|
-
temp_model =
|
|
9344
|
+
temp_model = EnableConditionalAccessPolicyResponseBody()
|
|
9028
9345
|
self.body = temp_model.from_map(m['body'])
|
|
9029
9346
|
return self
|
|
9030
9347
|
|
|
9031
9348
|
|
|
9032
|
-
class
|
|
9349
|
+
class EnableDomainProxyTokenRequest(TeaModel):
|
|
9033
9350
|
def __init__(
|
|
9034
9351
|
self,
|
|
9035
|
-
|
|
9352
|
+
domain_id: str = None,
|
|
9353
|
+
domain_proxy_token_id: str = None,
|
|
9036
9354
|
instance_id: str = None,
|
|
9037
9355
|
):
|
|
9038
|
-
#
|
|
9356
|
+
# The ID of the domain name.
|
|
9039
9357
|
#
|
|
9040
9358
|
# This parameter is required.
|
|
9041
|
-
self.
|
|
9042
|
-
#
|
|
9359
|
+
self.domain_id = domain_id
|
|
9360
|
+
# The ID of the proxy token of the domain name.
|
|
9361
|
+
#
|
|
9362
|
+
# This parameter is required.
|
|
9363
|
+
self.domain_proxy_token_id = domain_proxy_token_id
|
|
9364
|
+
# The instance ID.
|
|
9043
9365
|
#
|
|
9044
9366
|
# This parameter is required.
|
|
9045
9367
|
self.instance_id = instance_id
|
|
@@ -9053,26 +9375,31 @@ class EnableFederatedCredentialProviderRequest(TeaModel):
|
|
|
9053
9375
|
return _map
|
|
9054
9376
|
|
|
9055
9377
|
result = dict()
|
|
9056
|
-
if self.
|
|
9057
|
-
result['
|
|
9378
|
+
if self.domain_id is not None:
|
|
9379
|
+
result['DomainId'] = self.domain_id
|
|
9380
|
+
if self.domain_proxy_token_id is not None:
|
|
9381
|
+
result['DomainProxyTokenId'] = self.domain_proxy_token_id
|
|
9058
9382
|
if self.instance_id is not None:
|
|
9059
9383
|
result['InstanceId'] = self.instance_id
|
|
9060
9384
|
return result
|
|
9061
9385
|
|
|
9062
9386
|
def from_map(self, m: dict = None):
|
|
9063
9387
|
m = m or dict()
|
|
9064
|
-
if m.get('
|
|
9065
|
-
self.
|
|
9388
|
+
if m.get('DomainId') is not None:
|
|
9389
|
+
self.domain_id = m.get('DomainId')
|
|
9390
|
+
if m.get('DomainProxyTokenId') is not None:
|
|
9391
|
+
self.domain_proxy_token_id = m.get('DomainProxyTokenId')
|
|
9066
9392
|
if m.get('InstanceId') is not None:
|
|
9067
9393
|
self.instance_id = m.get('InstanceId')
|
|
9068
9394
|
return self
|
|
9069
9395
|
|
|
9070
9396
|
|
|
9071
|
-
class
|
|
9397
|
+
class EnableDomainProxyTokenResponseBody(TeaModel):
|
|
9072
9398
|
def __init__(
|
|
9073
9399
|
self,
|
|
9074
9400
|
request_id: str = None,
|
|
9075
9401
|
):
|
|
9402
|
+
# The request ID.
|
|
9076
9403
|
self.request_id = request_id
|
|
9077
9404
|
|
|
9078
9405
|
def validate(self):
|
|
@@ -9095,12 +9422,12 @@ class EnableFederatedCredentialProviderResponseBody(TeaModel):
|
|
|
9095
9422
|
return self
|
|
9096
9423
|
|
|
9097
9424
|
|
|
9098
|
-
class
|
|
9425
|
+
class EnableDomainProxyTokenResponse(TeaModel):
|
|
9099
9426
|
def __init__(
|
|
9100
9427
|
self,
|
|
9101
9428
|
headers: Dict[str, str] = None,
|
|
9102
9429
|
status_code: int = None,
|
|
9103
|
-
body:
|
|
9430
|
+
body: EnableDomainProxyTokenResponseBody = None,
|
|
9104
9431
|
):
|
|
9105
9432
|
self.headers = headers
|
|
9106
9433
|
self.status_code = status_code
|
|
@@ -9131,22 +9458,22 @@ class EnableFederatedCredentialProviderResponse(TeaModel):
|
|
|
9131
9458
|
if m.get('statusCode') is not None:
|
|
9132
9459
|
self.status_code = m.get('statusCode')
|
|
9133
9460
|
if m.get('body') is not None:
|
|
9134
|
-
temp_model =
|
|
9461
|
+
temp_model = EnableDomainProxyTokenResponseBody()
|
|
9135
9462
|
self.body = temp_model.from_map(m['body'])
|
|
9136
9463
|
return self
|
|
9137
9464
|
|
|
9138
9465
|
|
|
9139
|
-
class
|
|
9466
|
+
class EnableFederatedCredentialProviderRequest(TeaModel):
|
|
9140
9467
|
def __init__(
|
|
9141
9468
|
self,
|
|
9142
|
-
|
|
9469
|
+
federated_credential_provider_id: str = None,
|
|
9143
9470
|
instance_id: str = None,
|
|
9144
9471
|
):
|
|
9145
|
-
#
|
|
9472
|
+
# 联邦凭证提供方ID
|
|
9146
9473
|
#
|
|
9147
9474
|
# This parameter is required.
|
|
9148
|
-
self.
|
|
9149
|
-
# IDaaS EIAM
|
|
9475
|
+
self.federated_credential_provider_id = federated_credential_provider_id
|
|
9476
|
+
# IDaaS EIAM实例的ID。
|
|
9150
9477
|
#
|
|
9151
9478
|
# This parameter is required.
|
|
9152
9479
|
self.instance_id = instance_id
|
|
@@ -9160,22 +9487,22 @@ class EnableIdentityProviderAuthnRequest(TeaModel):
|
|
|
9160
9487
|
return _map
|
|
9161
9488
|
|
|
9162
9489
|
result = dict()
|
|
9163
|
-
if self.
|
|
9164
|
-
result['
|
|
9490
|
+
if self.federated_credential_provider_id is not None:
|
|
9491
|
+
result['FederatedCredentialProviderId'] = self.federated_credential_provider_id
|
|
9165
9492
|
if self.instance_id is not None:
|
|
9166
9493
|
result['InstanceId'] = self.instance_id
|
|
9167
9494
|
return result
|
|
9168
9495
|
|
|
9169
9496
|
def from_map(self, m: dict = None):
|
|
9170
9497
|
m = m or dict()
|
|
9171
|
-
if m.get('
|
|
9172
|
-
self.
|
|
9498
|
+
if m.get('FederatedCredentialProviderId') is not None:
|
|
9499
|
+
self.federated_credential_provider_id = m.get('FederatedCredentialProviderId')
|
|
9173
9500
|
if m.get('InstanceId') is not None:
|
|
9174
9501
|
self.instance_id = m.get('InstanceId')
|
|
9175
9502
|
return self
|
|
9176
9503
|
|
|
9177
9504
|
|
|
9178
|
-
class
|
|
9505
|
+
class EnableFederatedCredentialProviderResponseBody(TeaModel):
|
|
9179
9506
|
def __init__(
|
|
9180
9507
|
self,
|
|
9181
9508
|
request_id: str = None,
|
|
@@ -9202,12 +9529,12 @@ class EnableIdentityProviderAuthnResponseBody(TeaModel):
|
|
|
9202
9529
|
return self
|
|
9203
9530
|
|
|
9204
9531
|
|
|
9205
|
-
class
|
|
9532
|
+
class EnableFederatedCredentialProviderResponse(TeaModel):
|
|
9206
9533
|
def __init__(
|
|
9207
9534
|
self,
|
|
9208
9535
|
headers: Dict[str, str] = None,
|
|
9209
9536
|
status_code: int = None,
|
|
9210
|
-
body:
|
|
9537
|
+
body: EnableFederatedCredentialProviderResponseBody = None,
|
|
9211
9538
|
):
|
|
9212
9539
|
self.headers = headers
|
|
9213
9540
|
self.status_code = status_code
|
|
@@ -9238,22 +9565,22 @@ class EnableIdentityProviderAuthnResponse(TeaModel):
|
|
|
9238
9565
|
if m.get('statusCode') is not None:
|
|
9239
9566
|
self.status_code = m.get('statusCode')
|
|
9240
9567
|
if m.get('body') is not None:
|
|
9241
|
-
temp_model =
|
|
9568
|
+
temp_model = EnableFederatedCredentialProviderResponseBody()
|
|
9242
9569
|
self.body = temp_model.from_map(m['body'])
|
|
9243
9570
|
return self
|
|
9244
9571
|
|
|
9245
9572
|
|
|
9246
|
-
class
|
|
9573
|
+
class EnableIdentityProviderAuthnRequest(TeaModel):
|
|
9247
9574
|
def __init__(
|
|
9248
9575
|
self,
|
|
9249
9576
|
identity_provider_id: str = None,
|
|
9250
9577
|
instance_id: str = None,
|
|
9251
9578
|
):
|
|
9252
|
-
#
|
|
9579
|
+
# IDaaS的身份提供方主键id
|
|
9253
9580
|
#
|
|
9254
9581
|
# This parameter is required.
|
|
9255
9582
|
self.identity_provider_id = identity_provider_id
|
|
9256
|
-
#
|
|
9583
|
+
# IDaaS EIAM的实例id
|
|
9257
9584
|
#
|
|
9258
9585
|
# This parameter is required.
|
|
9259
9586
|
self.instance_id = instance_id
|
|
@@ -9282,12 +9609,11 @@ class EnableIdentityProviderUdPullRequest(TeaModel):
|
|
|
9282
9609
|
return self
|
|
9283
9610
|
|
|
9284
9611
|
|
|
9285
|
-
class
|
|
9612
|
+
class EnableIdentityProviderAuthnResponseBody(TeaModel):
|
|
9286
9613
|
def __init__(
|
|
9287
9614
|
self,
|
|
9288
9615
|
request_id: str = None,
|
|
9289
9616
|
):
|
|
9290
|
-
# The ID of the request.
|
|
9291
9617
|
self.request_id = request_id
|
|
9292
9618
|
|
|
9293
9619
|
def validate(self):
|
|
@@ -9310,12 +9636,12 @@ class EnableIdentityProviderUdPullResponseBody(TeaModel):
|
|
|
9310
9636
|
return self
|
|
9311
9637
|
|
|
9312
9638
|
|
|
9313
|
-
class
|
|
9639
|
+
class EnableIdentityProviderAuthnResponse(TeaModel):
|
|
9314
9640
|
def __init__(
|
|
9315
9641
|
self,
|
|
9316
9642
|
headers: Dict[str, str] = None,
|
|
9317
9643
|
status_code: int = None,
|
|
9318
|
-
body:
|
|
9644
|
+
body: EnableIdentityProviderAuthnResponseBody = None,
|
|
9319
9645
|
):
|
|
9320
9646
|
self.headers = headers
|
|
9321
9647
|
self.status_code = status_code
|
|
@@ -9346,17 +9672,22 @@ class EnableIdentityProviderUdPullResponse(TeaModel):
|
|
|
9346
9672
|
if m.get('statusCode') is not None:
|
|
9347
9673
|
self.status_code = m.get('statusCode')
|
|
9348
9674
|
if m.get('body') is not None:
|
|
9349
|
-
temp_model =
|
|
9675
|
+
temp_model = EnableIdentityProviderAuthnResponseBody()
|
|
9350
9676
|
self.body = temp_model.from_map(m['body'])
|
|
9351
9677
|
return self
|
|
9352
9678
|
|
|
9353
9679
|
|
|
9354
|
-
class
|
|
9680
|
+
class EnableIdentityProviderUdPullRequest(TeaModel):
|
|
9355
9681
|
def __init__(
|
|
9356
9682
|
self,
|
|
9683
|
+
identity_provider_id: str = None,
|
|
9357
9684
|
instance_id: str = None,
|
|
9358
9685
|
):
|
|
9359
|
-
#
|
|
9686
|
+
# Identity provider ID.
|
|
9687
|
+
#
|
|
9688
|
+
# This parameter is required.
|
|
9689
|
+
self.identity_provider_id = identity_provider_id
|
|
9690
|
+
# The ID of the instance.
|
|
9360
9691
|
#
|
|
9361
9692
|
# This parameter is required.
|
|
9362
9693
|
self.instance_id = instance_id
|
|
@@ -9370,23 +9701,126 @@ class EnableInitDomainAutoRedirectRequest(TeaModel):
|
|
|
9370
9701
|
return _map
|
|
9371
9702
|
|
|
9372
9703
|
result = dict()
|
|
9704
|
+
if self.identity_provider_id is not None:
|
|
9705
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
9373
9706
|
if self.instance_id is not None:
|
|
9374
9707
|
result['InstanceId'] = self.instance_id
|
|
9375
9708
|
return result
|
|
9376
9709
|
|
|
9377
9710
|
def from_map(self, m: dict = None):
|
|
9378
9711
|
m = m or dict()
|
|
9712
|
+
if m.get('IdentityProviderId') is not None:
|
|
9713
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
9379
9714
|
if m.get('InstanceId') is not None:
|
|
9380
9715
|
self.instance_id = m.get('InstanceId')
|
|
9381
9716
|
return self
|
|
9382
9717
|
|
|
9383
9718
|
|
|
9384
|
-
class
|
|
9719
|
+
class EnableIdentityProviderUdPullResponseBody(TeaModel):
|
|
9385
9720
|
def __init__(
|
|
9386
9721
|
self,
|
|
9387
9722
|
request_id: str = None,
|
|
9388
9723
|
):
|
|
9389
|
-
# The request
|
|
9724
|
+
# The ID of the request.
|
|
9725
|
+
self.request_id = request_id
|
|
9726
|
+
|
|
9727
|
+
def validate(self):
|
|
9728
|
+
pass
|
|
9729
|
+
|
|
9730
|
+
def to_map(self):
|
|
9731
|
+
_map = super().to_map()
|
|
9732
|
+
if _map is not None:
|
|
9733
|
+
return _map
|
|
9734
|
+
|
|
9735
|
+
result = dict()
|
|
9736
|
+
if self.request_id is not None:
|
|
9737
|
+
result['RequestId'] = self.request_id
|
|
9738
|
+
return result
|
|
9739
|
+
|
|
9740
|
+
def from_map(self, m: dict = None):
|
|
9741
|
+
m = m or dict()
|
|
9742
|
+
if m.get('RequestId') is not None:
|
|
9743
|
+
self.request_id = m.get('RequestId')
|
|
9744
|
+
return self
|
|
9745
|
+
|
|
9746
|
+
|
|
9747
|
+
class EnableIdentityProviderUdPullResponse(TeaModel):
|
|
9748
|
+
def __init__(
|
|
9749
|
+
self,
|
|
9750
|
+
headers: Dict[str, str] = None,
|
|
9751
|
+
status_code: int = None,
|
|
9752
|
+
body: EnableIdentityProviderUdPullResponseBody = None,
|
|
9753
|
+
):
|
|
9754
|
+
self.headers = headers
|
|
9755
|
+
self.status_code = status_code
|
|
9756
|
+
self.body = body
|
|
9757
|
+
|
|
9758
|
+
def validate(self):
|
|
9759
|
+
if self.body:
|
|
9760
|
+
self.body.validate()
|
|
9761
|
+
|
|
9762
|
+
def to_map(self):
|
|
9763
|
+
_map = super().to_map()
|
|
9764
|
+
if _map is not None:
|
|
9765
|
+
return _map
|
|
9766
|
+
|
|
9767
|
+
result = dict()
|
|
9768
|
+
if self.headers is not None:
|
|
9769
|
+
result['headers'] = self.headers
|
|
9770
|
+
if self.status_code is not None:
|
|
9771
|
+
result['statusCode'] = self.status_code
|
|
9772
|
+
if self.body is not None:
|
|
9773
|
+
result['body'] = self.body.to_map()
|
|
9774
|
+
return result
|
|
9775
|
+
|
|
9776
|
+
def from_map(self, m: dict = None):
|
|
9777
|
+
m = m or dict()
|
|
9778
|
+
if m.get('headers') is not None:
|
|
9779
|
+
self.headers = m.get('headers')
|
|
9780
|
+
if m.get('statusCode') is not None:
|
|
9781
|
+
self.status_code = m.get('statusCode')
|
|
9782
|
+
if m.get('body') is not None:
|
|
9783
|
+
temp_model = EnableIdentityProviderUdPullResponseBody()
|
|
9784
|
+
self.body = temp_model.from_map(m['body'])
|
|
9785
|
+
return self
|
|
9786
|
+
|
|
9787
|
+
|
|
9788
|
+
class EnableInitDomainAutoRedirectRequest(TeaModel):
|
|
9789
|
+
def __init__(
|
|
9790
|
+
self,
|
|
9791
|
+
instance_id: str = None,
|
|
9792
|
+
):
|
|
9793
|
+
# The instance ID.
|
|
9794
|
+
#
|
|
9795
|
+
# This parameter is required.
|
|
9796
|
+
self.instance_id = instance_id
|
|
9797
|
+
|
|
9798
|
+
def validate(self):
|
|
9799
|
+
pass
|
|
9800
|
+
|
|
9801
|
+
def to_map(self):
|
|
9802
|
+
_map = super().to_map()
|
|
9803
|
+
if _map is not None:
|
|
9804
|
+
return _map
|
|
9805
|
+
|
|
9806
|
+
result = dict()
|
|
9807
|
+
if self.instance_id is not None:
|
|
9808
|
+
result['InstanceId'] = self.instance_id
|
|
9809
|
+
return result
|
|
9810
|
+
|
|
9811
|
+
def from_map(self, m: dict = None):
|
|
9812
|
+
m = m or dict()
|
|
9813
|
+
if m.get('InstanceId') is not None:
|
|
9814
|
+
self.instance_id = m.get('InstanceId')
|
|
9815
|
+
return self
|
|
9816
|
+
|
|
9817
|
+
|
|
9818
|
+
class EnableInitDomainAutoRedirectResponseBody(TeaModel):
|
|
9819
|
+
def __init__(
|
|
9820
|
+
self,
|
|
9821
|
+
request_id: str = None,
|
|
9822
|
+
):
|
|
9823
|
+
# The request ID.
|
|
9390
9824
|
self.request_id = request_id
|
|
9391
9825
|
|
|
9392
9826
|
def validate(self):
|
|
@@ -11799,6 +12233,177 @@ class GetApplicationTemplateResponse(TeaModel):
|
|
|
11799
12233
|
return self
|
|
11800
12234
|
|
|
11801
12235
|
|
|
12236
|
+
class GetBrandRequest(TeaModel):
|
|
12237
|
+
def __init__(
|
|
12238
|
+
self,
|
|
12239
|
+
brand_id: str = None,
|
|
12240
|
+
instance_id: str = None,
|
|
12241
|
+
):
|
|
12242
|
+
# 品牌化Id
|
|
12243
|
+
#
|
|
12244
|
+
# This parameter is required.
|
|
12245
|
+
self.brand_id = brand_id
|
|
12246
|
+
# IDaaS EIAM实例的ID。
|
|
12247
|
+
#
|
|
12248
|
+
# This parameter is required.
|
|
12249
|
+
self.instance_id = instance_id
|
|
12250
|
+
|
|
12251
|
+
def validate(self):
|
|
12252
|
+
pass
|
|
12253
|
+
|
|
12254
|
+
def to_map(self):
|
|
12255
|
+
_map = super().to_map()
|
|
12256
|
+
if _map is not None:
|
|
12257
|
+
return _map
|
|
12258
|
+
|
|
12259
|
+
result = dict()
|
|
12260
|
+
if self.brand_id is not None:
|
|
12261
|
+
result['BrandId'] = self.brand_id
|
|
12262
|
+
if self.instance_id is not None:
|
|
12263
|
+
result['InstanceId'] = self.instance_id
|
|
12264
|
+
return result
|
|
12265
|
+
|
|
12266
|
+
def from_map(self, m: dict = None):
|
|
12267
|
+
m = m or dict()
|
|
12268
|
+
if m.get('BrandId') is not None:
|
|
12269
|
+
self.brand_id = m.get('BrandId')
|
|
12270
|
+
if m.get('InstanceId') is not None:
|
|
12271
|
+
self.instance_id = m.get('InstanceId')
|
|
12272
|
+
return self
|
|
12273
|
+
|
|
12274
|
+
|
|
12275
|
+
class GetBrandResponseBodyBrand(TeaModel):
|
|
12276
|
+
def __init__(
|
|
12277
|
+
self,
|
|
12278
|
+
brand_id: str = None,
|
|
12279
|
+
brand_name: str = None,
|
|
12280
|
+
brand_type: str = None,
|
|
12281
|
+
instance_id: str = None,
|
|
12282
|
+
status: str = None,
|
|
12283
|
+
):
|
|
12284
|
+
# 品牌ID
|
|
12285
|
+
self.brand_id = brand_id
|
|
12286
|
+
# 品牌名称
|
|
12287
|
+
self.brand_name = brand_name
|
|
12288
|
+
# 品牌类型
|
|
12289
|
+
self.brand_type = brand_type
|
|
12290
|
+
# 实例ID。
|
|
12291
|
+
self.instance_id = instance_id
|
|
12292
|
+
# 品牌状态
|
|
12293
|
+
self.status = status
|
|
12294
|
+
|
|
12295
|
+
def validate(self):
|
|
12296
|
+
pass
|
|
12297
|
+
|
|
12298
|
+
def to_map(self):
|
|
12299
|
+
_map = super().to_map()
|
|
12300
|
+
if _map is not None:
|
|
12301
|
+
return _map
|
|
12302
|
+
|
|
12303
|
+
result = dict()
|
|
12304
|
+
if self.brand_id is not None:
|
|
12305
|
+
result['BrandId'] = self.brand_id
|
|
12306
|
+
if self.brand_name is not None:
|
|
12307
|
+
result['BrandName'] = self.brand_name
|
|
12308
|
+
if self.brand_type is not None:
|
|
12309
|
+
result['BrandType'] = self.brand_type
|
|
12310
|
+
if self.instance_id is not None:
|
|
12311
|
+
result['InstanceId'] = self.instance_id
|
|
12312
|
+
if self.status is not None:
|
|
12313
|
+
result['Status'] = self.status
|
|
12314
|
+
return result
|
|
12315
|
+
|
|
12316
|
+
def from_map(self, m: dict = None):
|
|
12317
|
+
m = m or dict()
|
|
12318
|
+
if m.get('BrandId') is not None:
|
|
12319
|
+
self.brand_id = m.get('BrandId')
|
|
12320
|
+
if m.get('BrandName') is not None:
|
|
12321
|
+
self.brand_name = m.get('BrandName')
|
|
12322
|
+
if m.get('BrandType') is not None:
|
|
12323
|
+
self.brand_type = m.get('BrandType')
|
|
12324
|
+
if m.get('InstanceId') is not None:
|
|
12325
|
+
self.instance_id = m.get('InstanceId')
|
|
12326
|
+
if m.get('Status') is not None:
|
|
12327
|
+
self.status = m.get('Status')
|
|
12328
|
+
return self
|
|
12329
|
+
|
|
12330
|
+
|
|
12331
|
+
class GetBrandResponseBody(TeaModel):
|
|
12332
|
+
def __init__(
|
|
12333
|
+
self,
|
|
12334
|
+
brand: GetBrandResponseBodyBrand = None,
|
|
12335
|
+
request_id: str = None,
|
|
12336
|
+
):
|
|
12337
|
+
self.brand = brand
|
|
12338
|
+
self.request_id = request_id
|
|
12339
|
+
|
|
12340
|
+
def validate(self):
|
|
12341
|
+
if self.brand:
|
|
12342
|
+
self.brand.validate()
|
|
12343
|
+
|
|
12344
|
+
def to_map(self):
|
|
12345
|
+
_map = super().to_map()
|
|
12346
|
+
if _map is not None:
|
|
12347
|
+
return _map
|
|
12348
|
+
|
|
12349
|
+
result = dict()
|
|
12350
|
+
if self.brand is not None:
|
|
12351
|
+
result['Brand'] = self.brand.to_map()
|
|
12352
|
+
if self.request_id is not None:
|
|
12353
|
+
result['RequestId'] = self.request_id
|
|
12354
|
+
return result
|
|
12355
|
+
|
|
12356
|
+
def from_map(self, m: dict = None):
|
|
12357
|
+
m = m or dict()
|
|
12358
|
+
if m.get('Brand') is not None:
|
|
12359
|
+
temp_model = GetBrandResponseBodyBrand()
|
|
12360
|
+
self.brand = temp_model.from_map(m['Brand'])
|
|
12361
|
+
if m.get('RequestId') is not None:
|
|
12362
|
+
self.request_id = m.get('RequestId')
|
|
12363
|
+
return self
|
|
12364
|
+
|
|
12365
|
+
|
|
12366
|
+
class GetBrandResponse(TeaModel):
|
|
12367
|
+
def __init__(
|
|
12368
|
+
self,
|
|
12369
|
+
headers: Dict[str, str] = None,
|
|
12370
|
+
status_code: int = None,
|
|
12371
|
+
body: GetBrandResponseBody = None,
|
|
12372
|
+
):
|
|
12373
|
+
self.headers = headers
|
|
12374
|
+
self.status_code = status_code
|
|
12375
|
+
self.body = body
|
|
12376
|
+
|
|
12377
|
+
def validate(self):
|
|
12378
|
+
if self.body:
|
|
12379
|
+
self.body.validate()
|
|
12380
|
+
|
|
12381
|
+
def to_map(self):
|
|
12382
|
+
_map = super().to_map()
|
|
12383
|
+
if _map is not None:
|
|
12384
|
+
return _map
|
|
12385
|
+
|
|
12386
|
+
result = dict()
|
|
12387
|
+
if self.headers is not None:
|
|
12388
|
+
result['headers'] = self.headers
|
|
12389
|
+
if self.status_code is not None:
|
|
12390
|
+
result['statusCode'] = self.status_code
|
|
12391
|
+
if self.body is not None:
|
|
12392
|
+
result['body'] = self.body.to_map()
|
|
12393
|
+
return result
|
|
12394
|
+
|
|
12395
|
+
def from_map(self, m: dict = None):
|
|
12396
|
+
m = m or dict()
|
|
12397
|
+
if m.get('headers') is not None:
|
|
12398
|
+
self.headers = m.get('headers')
|
|
12399
|
+
if m.get('statusCode') is not None:
|
|
12400
|
+
self.status_code = m.get('statusCode')
|
|
12401
|
+
if m.get('body') is not None:
|
|
12402
|
+
temp_model = GetBrandResponseBody()
|
|
12403
|
+
self.body = temp_model.from_map(m['body'])
|
|
12404
|
+
return self
|
|
12405
|
+
|
|
12406
|
+
|
|
11802
12407
|
class GetConditionalAccessPolicyRequest(TeaModel):
|
|
11803
12408
|
def __init__(
|
|
11804
12409
|
self,
|
|
@@ -15590,6 +16195,163 @@ class GetInstanceLicenseResponse(TeaModel):
|
|
|
15590
16195
|
return self
|
|
15591
16196
|
|
|
15592
16197
|
|
|
16198
|
+
class GetLoginRedirectApplicationForBrandRequest(TeaModel):
|
|
16199
|
+
def __init__(
|
|
16200
|
+
self,
|
|
16201
|
+
brand_id: str = None,
|
|
16202
|
+
instance_id: str = None,
|
|
16203
|
+
):
|
|
16204
|
+
# 品牌化Id
|
|
16205
|
+
#
|
|
16206
|
+
# This parameter is required.
|
|
16207
|
+
self.brand_id = brand_id
|
|
16208
|
+
# IDaaS EIAM实例的ID。
|
|
16209
|
+
#
|
|
16210
|
+
# This parameter is required.
|
|
16211
|
+
self.instance_id = instance_id
|
|
16212
|
+
|
|
16213
|
+
def validate(self):
|
|
16214
|
+
pass
|
|
16215
|
+
|
|
16216
|
+
def to_map(self):
|
|
16217
|
+
_map = super().to_map()
|
|
16218
|
+
if _map is not None:
|
|
16219
|
+
return _map
|
|
16220
|
+
|
|
16221
|
+
result = dict()
|
|
16222
|
+
if self.brand_id is not None:
|
|
16223
|
+
result['BrandId'] = self.brand_id
|
|
16224
|
+
if self.instance_id is not None:
|
|
16225
|
+
result['InstanceId'] = self.instance_id
|
|
16226
|
+
return result
|
|
16227
|
+
|
|
16228
|
+
def from_map(self, m: dict = None):
|
|
16229
|
+
m = m or dict()
|
|
16230
|
+
if m.get('BrandId') is not None:
|
|
16231
|
+
self.brand_id = m.get('BrandId')
|
|
16232
|
+
if m.get('InstanceId') is not None:
|
|
16233
|
+
self.instance_id = m.get('InstanceId')
|
|
16234
|
+
return self
|
|
16235
|
+
|
|
16236
|
+
|
|
16237
|
+
class GetLoginRedirectApplicationForBrandResponseBodyBrandLoginRedirectApplication(TeaModel):
|
|
16238
|
+
def __init__(
|
|
16239
|
+
self,
|
|
16240
|
+
application_id: str = None,
|
|
16241
|
+
brand_id: str = None,
|
|
16242
|
+
instance_id: str = None,
|
|
16243
|
+
):
|
|
16244
|
+
# 应用ID
|
|
16245
|
+
self.application_id = application_id
|
|
16246
|
+
# 品牌ID
|
|
16247
|
+
self.brand_id = brand_id
|
|
16248
|
+
# 实例ID
|
|
16249
|
+
self.instance_id = instance_id
|
|
16250
|
+
|
|
16251
|
+
def validate(self):
|
|
16252
|
+
pass
|
|
16253
|
+
|
|
16254
|
+
def to_map(self):
|
|
16255
|
+
_map = super().to_map()
|
|
16256
|
+
if _map is not None:
|
|
16257
|
+
return _map
|
|
16258
|
+
|
|
16259
|
+
result = dict()
|
|
16260
|
+
if self.application_id is not None:
|
|
16261
|
+
result['ApplicationId'] = self.application_id
|
|
16262
|
+
if self.brand_id is not None:
|
|
16263
|
+
result['BrandId'] = self.brand_id
|
|
16264
|
+
if self.instance_id is not None:
|
|
16265
|
+
result['InstanceId'] = self.instance_id
|
|
16266
|
+
return result
|
|
16267
|
+
|
|
16268
|
+
def from_map(self, m: dict = None):
|
|
16269
|
+
m = m or dict()
|
|
16270
|
+
if m.get('ApplicationId') is not None:
|
|
16271
|
+
self.application_id = m.get('ApplicationId')
|
|
16272
|
+
if m.get('BrandId') is not None:
|
|
16273
|
+
self.brand_id = m.get('BrandId')
|
|
16274
|
+
if m.get('InstanceId') is not None:
|
|
16275
|
+
self.instance_id = m.get('InstanceId')
|
|
16276
|
+
return self
|
|
16277
|
+
|
|
16278
|
+
|
|
16279
|
+
class GetLoginRedirectApplicationForBrandResponseBody(TeaModel):
|
|
16280
|
+
def __init__(
|
|
16281
|
+
self,
|
|
16282
|
+
brand_login_redirect_application: GetLoginRedirectApplicationForBrandResponseBodyBrandLoginRedirectApplication = None,
|
|
16283
|
+
request_id: str = None,
|
|
16284
|
+
):
|
|
16285
|
+
self.brand_login_redirect_application = brand_login_redirect_application
|
|
16286
|
+
self.request_id = request_id
|
|
16287
|
+
|
|
16288
|
+
def validate(self):
|
|
16289
|
+
if self.brand_login_redirect_application:
|
|
16290
|
+
self.brand_login_redirect_application.validate()
|
|
16291
|
+
|
|
16292
|
+
def to_map(self):
|
|
16293
|
+
_map = super().to_map()
|
|
16294
|
+
if _map is not None:
|
|
16295
|
+
return _map
|
|
16296
|
+
|
|
16297
|
+
result = dict()
|
|
16298
|
+
if self.brand_login_redirect_application is not None:
|
|
16299
|
+
result['BrandLoginRedirectApplication'] = self.brand_login_redirect_application.to_map()
|
|
16300
|
+
if self.request_id is not None:
|
|
16301
|
+
result['RequestId'] = self.request_id
|
|
16302
|
+
return result
|
|
16303
|
+
|
|
16304
|
+
def from_map(self, m: dict = None):
|
|
16305
|
+
m = m or dict()
|
|
16306
|
+
if m.get('BrandLoginRedirectApplication') is not None:
|
|
16307
|
+
temp_model = GetLoginRedirectApplicationForBrandResponseBodyBrandLoginRedirectApplication()
|
|
16308
|
+
self.brand_login_redirect_application = temp_model.from_map(m['BrandLoginRedirectApplication'])
|
|
16309
|
+
if m.get('RequestId') is not None:
|
|
16310
|
+
self.request_id = m.get('RequestId')
|
|
16311
|
+
return self
|
|
16312
|
+
|
|
16313
|
+
|
|
16314
|
+
class GetLoginRedirectApplicationForBrandResponse(TeaModel):
|
|
16315
|
+
def __init__(
|
|
16316
|
+
self,
|
|
16317
|
+
headers: Dict[str, str] = None,
|
|
16318
|
+
status_code: int = None,
|
|
16319
|
+
body: GetLoginRedirectApplicationForBrandResponseBody = None,
|
|
16320
|
+
):
|
|
16321
|
+
self.headers = headers
|
|
16322
|
+
self.status_code = status_code
|
|
16323
|
+
self.body = body
|
|
16324
|
+
|
|
16325
|
+
def validate(self):
|
|
16326
|
+
if self.body:
|
|
16327
|
+
self.body.validate()
|
|
16328
|
+
|
|
16329
|
+
def to_map(self):
|
|
16330
|
+
_map = super().to_map()
|
|
16331
|
+
if _map is not None:
|
|
16332
|
+
return _map
|
|
16333
|
+
|
|
16334
|
+
result = dict()
|
|
16335
|
+
if self.headers is not None:
|
|
16336
|
+
result['headers'] = self.headers
|
|
16337
|
+
if self.status_code is not None:
|
|
16338
|
+
result['statusCode'] = self.status_code
|
|
16339
|
+
if self.body is not None:
|
|
16340
|
+
result['body'] = self.body.to_map()
|
|
16341
|
+
return result
|
|
16342
|
+
|
|
16343
|
+
def from_map(self, m: dict = None):
|
|
16344
|
+
m = m or dict()
|
|
16345
|
+
if m.get('headers') is not None:
|
|
16346
|
+
self.headers = m.get('headers')
|
|
16347
|
+
if m.get('statusCode') is not None:
|
|
16348
|
+
self.status_code = m.get('statusCode')
|
|
16349
|
+
if m.get('body') is not None:
|
|
16350
|
+
temp_model = GetLoginRedirectApplicationForBrandResponseBody()
|
|
16351
|
+
self.body = temp_model.from_map(m['body'])
|
|
16352
|
+
return self
|
|
16353
|
+
|
|
16354
|
+
|
|
15593
16355
|
class GetNetworkAccessEndpointRequest(TeaModel):
|
|
15594
16356
|
def __init__(
|
|
15595
16357
|
self,
|
|
@@ -22235,6 +22997,222 @@ class ListApplicationsForUserResponse(TeaModel):
|
|
|
22235
22997
|
return self
|
|
22236
22998
|
|
|
22237
22999
|
|
|
23000
|
+
class ListBrandsRequest(TeaModel):
|
|
23001
|
+
def __init__(
|
|
23002
|
+
self,
|
|
23003
|
+
instance_id: str = None,
|
|
23004
|
+
max_results: int = None,
|
|
23005
|
+
next_token: str = None,
|
|
23006
|
+
previous_token: str = None,
|
|
23007
|
+
):
|
|
23008
|
+
# IDaaS EIAM实例的ID。
|
|
23009
|
+
#
|
|
23010
|
+
# This parameter is required.
|
|
23011
|
+
self.instance_id = instance_id
|
|
23012
|
+
# 分页查询时每页行数。默认值为20,最大值为100。
|
|
23013
|
+
self.max_results = max_results
|
|
23014
|
+
# 查询凭证(Token),取值为上一次API调用返回的NextToken参数值。
|
|
23015
|
+
self.next_token = next_token
|
|
23016
|
+
# 查询上一页凭证(Token),取值为上一次API调用返回的previousToken参数值。
|
|
23017
|
+
self.previous_token = previous_token
|
|
23018
|
+
|
|
23019
|
+
def validate(self):
|
|
23020
|
+
pass
|
|
23021
|
+
|
|
23022
|
+
def to_map(self):
|
|
23023
|
+
_map = super().to_map()
|
|
23024
|
+
if _map is not None:
|
|
23025
|
+
return _map
|
|
23026
|
+
|
|
23027
|
+
result = dict()
|
|
23028
|
+
if self.instance_id is not None:
|
|
23029
|
+
result['InstanceId'] = self.instance_id
|
|
23030
|
+
if self.max_results is not None:
|
|
23031
|
+
result['MaxResults'] = self.max_results
|
|
23032
|
+
if self.next_token is not None:
|
|
23033
|
+
result['NextToken'] = self.next_token
|
|
23034
|
+
if self.previous_token is not None:
|
|
23035
|
+
result['PreviousToken'] = self.previous_token
|
|
23036
|
+
return result
|
|
23037
|
+
|
|
23038
|
+
def from_map(self, m: dict = None):
|
|
23039
|
+
m = m or dict()
|
|
23040
|
+
if m.get('InstanceId') is not None:
|
|
23041
|
+
self.instance_id = m.get('InstanceId')
|
|
23042
|
+
if m.get('MaxResults') is not None:
|
|
23043
|
+
self.max_results = m.get('MaxResults')
|
|
23044
|
+
if m.get('NextToken') is not None:
|
|
23045
|
+
self.next_token = m.get('NextToken')
|
|
23046
|
+
if m.get('PreviousToken') is not None:
|
|
23047
|
+
self.previous_token = m.get('PreviousToken')
|
|
23048
|
+
return self
|
|
23049
|
+
|
|
23050
|
+
|
|
23051
|
+
class ListBrandsResponseBodyBrands(TeaModel):
|
|
23052
|
+
def __init__(
|
|
23053
|
+
self,
|
|
23054
|
+
brand_id: str = None,
|
|
23055
|
+
brand_name: str = None,
|
|
23056
|
+
brand_type: str = None,
|
|
23057
|
+
instance_id: str = None,
|
|
23058
|
+
status: str = None,
|
|
23059
|
+
):
|
|
23060
|
+
# 品牌ID
|
|
23061
|
+
self.brand_id = brand_id
|
|
23062
|
+
# 品牌名称
|
|
23063
|
+
self.brand_name = brand_name
|
|
23064
|
+
# 品牌类型
|
|
23065
|
+
self.brand_type = brand_type
|
|
23066
|
+
# 实例ID。
|
|
23067
|
+
self.instance_id = instance_id
|
|
23068
|
+
# 品牌状态
|
|
23069
|
+
self.status = status
|
|
23070
|
+
|
|
23071
|
+
def validate(self):
|
|
23072
|
+
pass
|
|
23073
|
+
|
|
23074
|
+
def to_map(self):
|
|
23075
|
+
_map = super().to_map()
|
|
23076
|
+
if _map is not None:
|
|
23077
|
+
return _map
|
|
23078
|
+
|
|
23079
|
+
result = dict()
|
|
23080
|
+
if self.brand_id is not None:
|
|
23081
|
+
result['BrandId'] = self.brand_id
|
|
23082
|
+
if self.brand_name is not None:
|
|
23083
|
+
result['BrandName'] = self.brand_name
|
|
23084
|
+
if self.brand_type is not None:
|
|
23085
|
+
result['BrandType'] = self.brand_type
|
|
23086
|
+
if self.instance_id is not None:
|
|
23087
|
+
result['InstanceId'] = self.instance_id
|
|
23088
|
+
if self.status is not None:
|
|
23089
|
+
result['Status'] = self.status
|
|
23090
|
+
return result
|
|
23091
|
+
|
|
23092
|
+
def from_map(self, m: dict = None):
|
|
23093
|
+
m = m or dict()
|
|
23094
|
+
if m.get('BrandId') is not None:
|
|
23095
|
+
self.brand_id = m.get('BrandId')
|
|
23096
|
+
if m.get('BrandName') is not None:
|
|
23097
|
+
self.brand_name = m.get('BrandName')
|
|
23098
|
+
if m.get('BrandType') is not None:
|
|
23099
|
+
self.brand_type = m.get('BrandType')
|
|
23100
|
+
if m.get('InstanceId') is not None:
|
|
23101
|
+
self.instance_id = m.get('InstanceId')
|
|
23102
|
+
if m.get('Status') is not None:
|
|
23103
|
+
self.status = m.get('Status')
|
|
23104
|
+
return self
|
|
23105
|
+
|
|
23106
|
+
|
|
23107
|
+
class ListBrandsResponseBody(TeaModel):
|
|
23108
|
+
def __init__(
|
|
23109
|
+
self,
|
|
23110
|
+
brands: List[ListBrandsResponseBodyBrands] = None,
|
|
23111
|
+
max_results: int = None,
|
|
23112
|
+
next_token: str = None,
|
|
23113
|
+
previous_token: str = None,
|
|
23114
|
+
request_id: str = None,
|
|
23115
|
+
total_count: int = None,
|
|
23116
|
+
):
|
|
23117
|
+
self.brands = brands
|
|
23118
|
+
# 分页查询时每页行数。
|
|
23119
|
+
self.max_results = max_results
|
|
23120
|
+
# 本次调用返回的查询凭证(Token)值,用于下一次翻页查询。
|
|
23121
|
+
self.next_token = next_token
|
|
23122
|
+
# 本次调用返回的查询凭证(Token)值,用于上一次翻页查询。
|
|
23123
|
+
self.previous_token = previous_token
|
|
23124
|
+
self.request_id = request_id
|
|
23125
|
+
self.total_count = total_count
|
|
23126
|
+
|
|
23127
|
+
def validate(self):
|
|
23128
|
+
if self.brands:
|
|
23129
|
+
for k in self.brands:
|
|
23130
|
+
if k:
|
|
23131
|
+
k.validate()
|
|
23132
|
+
|
|
23133
|
+
def to_map(self):
|
|
23134
|
+
_map = super().to_map()
|
|
23135
|
+
if _map is not None:
|
|
23136
|
+
return _map
|
|
23137
|
+
|
|
23138
|
+
result = dict()
|
|
23139
|
+
result['Brands'] = []
|
|
23140
|
+
if self.brands is not None:
|
|
23141
|
+
for k in self.brands:
|
|
23142
|
+
result['Brands'].append(k.to_map() if k else None)
|
|
23143
|
+
if self.max_results is not None:
|
|
23144
|
+
result['MaxResults'] = self.max_results
|
|
23145
|
+
if self.next_token is not None:
|
|
23146
|
+
result['NextToken'] = self.next_token
|
|
23147
|
+
if self.previous_token is not None:
|
|
23148
|
+
result['PreviousToken'] = self.previous_token
|
|
23149
|
+
if self.request_id is not None:
|
|
23150
|
+
result['RequestId'] = self.request_id
|
|
23151
|
+
if self.total_count is not None:
|
|
23152
|
+
result['TotalCount'] = self.total_count
|
|
23153
|
+
return result
|
|
23154
|
+
|
|
23155
|
+
def from_map(self, m: dict = None):
|
|
23156
|
+
m = m or dict()
|
|
23157
|
+
self.brands = []
|
|
23158
|
+
if m.get('Brands') is not None:
|
|
23159
|
+
for k in m.get('Brands'):
|
|
23160
|
+
temp_model = ListBrandsResponseBodyBrands()
|
|
23161
|
+
self.brands.append(temp_model.from_map(k))
|
|
23162
|
+
if m.get('MaxResults') is not None:
|
|
23163
|
+
self.max_results = m.get('MaxResults')
|
|
23164
|
+
if m.get('NextToken') is not None:
|
|
23165
|
+
self.next_token = m.get('NextToken')
|
|
23166
|
+
if m.get('PreviousToken') is not None:
|
|
23167
|
+
self.previous_token = m.get('PreviousToken')
|
|
23168
|
+
if m.get('RequestId') is not None:
|
|
23169
|
+
self.request_id = m.get('RequestId')
|
|
23170
|
+
if m.get('TotalCount') is not None:
|
|
23171
|
+
self.total_count = m.get('TotalCount')
|
|
23172
|
+
return self
|
|
23173
|
+
|
|
23174
|
+
|
|
23175
|
+
class ListBrandsResponse(TeaModel):
|
|
23176
|
+
def __init__(
|
|
23177
|
+
self,
|
|
23178
|
+
headers: Dict[str, str] = None,
|
|
23179
|
+
status_code: int = None,
|
|
23180
|
+
body: ListBrandsResponseBody = None,
|
|
23181
|
+
):
|
|
23182
|
+
self.headers = headers
|
|
23183
|
+
self.status_code = status_code
|
|
23184
|
+
self.body = body
|
|
23185
|
+
|
|
23186
|
+
def validate(self):
|
|
23187
|
+
if self.body:
|
|
23188
|
+
self.body.validate()
|
|
23189
|
+
|
|
23190
|
+
def to_map(self):
|
|
23191
|
+
_map = super().to_map()
|
|
23192
|
+
if _map is not None:
|
|
23193
|
+
return _map
|
|
23194
|
+
|
|
23195
|
+
result = dict()
|
|
23196
|
+
if self.headers is not None:
|
|
23197
|
+
result['headers'] = self.headers
|
|
23198
|
+
if self.status_code is not None:
|
|
23199
|
+
result['statusCode'] = self.status_code
|
|
23200
|
+
if self.body is not None:
|
|
23201
|
+
result['body'] = self.body.to_map()
|
|
23202
|
+
return result
|
|
23203
|
+
|
|
23204
|
+
def from_map(self, m: dict = None):
|
|
23205
|
+
m = m or dict()
|
|
23206
|
+
if m.get('headers') is not None:
|
|
23207
|
+
self.headers = m.get('headers')
|
|
23208
|
+
if m.get('statusCode') is not None:
|
|
23209
|
+
self.status_code = m.get('statusCode')
|
|
23210
|
+
if m.get('body') is not None:
|
|
23211
|
+
temp_model = ListBrandsResponseBody()
|
|
23212
|
+
self.body = temp_model.from_map(m['body'])
|
|
23213
|
+
return self
|
|
23214
|
+
|
|
23215
|
+
|
|
22238
23216
|
class ListConditionalAccessPoliciesRequest(TeaModel):
|
|
22239
23217
|
def __init__(
|
|
22240
23218
|
self,
|
|
@@ -34656,6 +35634,122 @@ class SetIdentityProviderUdPullConfigurationResponse(TeaModel):
|
|
|
34656
35634
|
return self
|
|
34657
35635
|
|
|
34658
35636
|
|
|
35637
|
+
class SetLoginRedirectApplicationForBrandRequest(TeaModel):
|
|
35638
|
+
def __init__(
|
|
35639
|
+
self,
|
|
35640
|
+
application_id: str = None,
|
|
35641
|
+
brand_id: str = None,
|
|
35642
|
+
instance_id: str = None,
|
|
35643
|
+
):
|
|
35644
|
+
# 应用ID
|
|
35645
|
+
#
|
|
35646
|
+
# This parameter is required.
|
|
35647
|
+
self.application_id = application_id
|
|
35648
|
+
# 品牌化Id
|
|
35649
|
+
#
|
|
35650
|
+
# This parameter is required.
|
|
35651
|
+
self.brand_id = brand_id
|
|
35652
|
+
# IDaaS EIAM实例的ID。
|
|
35653
|
+
#
|
|
35654
|
+
# This parameter is required.
|
|
35655
|
+
self.instance_id = instance_id
|
|
35656
|
+
|
|
35657
|
+
def validate(self):
|
|
35658
|
+
pass
|
|
35659
|
+
|
|
35660
|
+
def to_map(self):
|
|
35661
|
+
_map = super().to_map()
|
|
35662
|
+
if _map is not None:
|
|
35663
|
+
return _map
|
|
35664
|
+
|
|
35665
|
+
result = dict()
|
|
35666
|
+
if self.application_id is not None:
|
|
35667
|
+
result['ApplicationId'] = self.application_id
|
|
35668
|
+
if self.brand_id is not None:
|
|
35669
|
+
result['BrandId'] = self.brand_id
|
|
35670
|
+
if self.instance_id is not None:
|
|
35671
|
+
result['InstanceId'] = self.instance_id
|
|
35672
|
+
return result
|
|
35673
|
+
|
|
35674
|
+
def from_map(self, m: dict = None):
|
|
35675
|
+
m = m or dict()
|
|
35676
|
+
if m.get('ApplicationId') is not None:
|
|
35677
|
+
self.application_id = m.get('ApplicationId')
|
|
35678
|
+
if m.get('BrandId') is not None:
|
|
35679
|
+
self.brand_id = m.get('BrandId')
|
|
35680
|
+
if m.get('InstanceId') is not None:
|
|
35681
|
+
self.instance_id = m.get('InstanceId')
|
|
35682
|
+
return self
|
|
35683
|
+
|
|
35684
|
+
|
|
35685
|
+
class SetLoginRedirectApplicationForBrandResponseBody(TeaModel):
|
|
35686
|
+
def __init__(
|
|
35687
|
+
self,
|
|
35688
|
+
request_id: str = None,
|
|
35689
|
+
):
|
|
35690
|
+
self.request_id = request_id
|
|
35691
|
+
|
|
35692
|
+
def validate(self):
|
|
35693
|
+
pass
|
|
35694
|
+
|
|
35695
|
+
def to_map(self):
|
|
35696
|
+
_map = super().to_map()
|
|
35697
|
+
if _map is not None:
|
|
35698
|
+
return _map
|
|
35699
|
+
|
|
35700
|
+
result = dict()
|
|
35701
|
+
if self.request_id is not None:
|
|
35702
|
+
result['RequestId'] = self.request_id
|
|
35703
|
+
return result
|
|
35704
|
+
|
|
35705
|
+
def from_map(self, m: dict = None):
|
|
35706
|
+
m = m or dict()
|
|
35707
|
+
if m.get('RequestId') is not None:
|
|
35708
|
+
self.request_id = m.get('RequestId')
|
|
35709
|
+
return self
|
|
35710
|
+
|
|
35711
|
+
|
|
35712
|
+
class SetLoginRedirectApplicationForBrandResponse(TeaModel):
|
|
35713
|
+
def __init__(
|
|
35714
|
+
self,
|
|
35715
|
+
headers: Dict[str, str] = None,
|
|
35716
|
+
status_code: int = None,
|
|
35717
|
+
body: SetLoginRedirectApplicationForBrandResponseBody = None,
|
|
35718
|
+
):
|
|
35719
|
+
self.headers = headers
|
|
35720
|
+
self.status_code = status_code
|
|
35721
|
+
self.body = body
|
|
35722
|
+
|
|
35723
|
+
def validate(self):
|
|
35724
|
+
if self.body:
|
|
35725
|
+
self.body.validate()
|
|
35726
|
+
|
|
35727
|
+
def to_map(self):
|
|
35728
|
+
_map = super().to_map()
|
|
35729
|
+
if _map is not None:
|
|
35730
|
+
return _map
|
|
35731
|
+
|
|
35732
|
+
result = dict()
|
|
35733
|
+
if self.headers is not None:
|
|
35734
|
+
result['headers'] = self.headers
|
|
35735
|
+
if self.status_code is not None:
|
|
35736
|
+
result['statusCode'] = self.status_code
|
|
35737
|
+
if self.body is not None:
|
|
35738
|
+
result['body'] = self.body.to_map()
|
|
35739
|
+
return result
|
|
35740
|
+
|
|
35741
|
+
def from_map(self, m: dict = None):
|
|
35742
|
+
m = m or dict()
|
|
35743
|
+
if m.get('headers') is not None:
|
|
35744
|
+
self.headers = m.get('headers')
|
|
35745
|
+
if m.get('statusCode') is not None:
|
|
35746
|
+
self.status_code = m.get('statusCode')
|
|
35747
|
+
if m.get('body') is not None:
|
|
35748
|
+
temp_model = SetLoginRedirectApplicationForBrandResponseBody()
|
|
35749
|
+
self.body = temp_model.from_map(m['body'])
|
|
35750
|
+
return self
|
|
35751
|
+
|
|
35752
|
+
|
|
34659
35753
|
class SetPasswordComplexityConfigurationRequestPasswordComplexityRules(TeaModel):
|
|
34660
35754
|
def __init__(
|
|
34661
35755
|
self,
|
|
@@ -35991,33 +37085,160 @@ class UpdateApplicationFederatedCredentialResponse(TeaModel):
|
|
|
35991
37085
|
if m.get('statusCode') is not None:
|
|
35992
37086
|
self.status_code = m.get('statusCode')
|
|
35993
37087
|
if m.get('body') is not None:
|
|
35994
|
-
temp_model = UpdateApplicationFederatedCredentialResponseBody()
|
|
37088
|
+
temp_model = UpdateApplicationFederatedCredentialResponseBody()
|
|
37089
|
+
self.body = temp_model.from_map(m['body'])
|
|
37090
|
+
return self
|
|
37091
|
+
|
|
37092
|
+
|
|
37093
|
+
class UpdateApplicationFederatedCredentialDescriptionRequest(TeaModel):
|
|
37094
|
+
def __init__(
|
|
37095
|
+
self,
|
|
37096
|
+
application_federated_credential_id: str = None,
|
|
37097
|
+
application_id: str = None,
|
|
37098
|
+
description: str = None,
|
|
37099
|
+
instance_id: str = None,
|
|
37100
|
+
):
|
|
37101
|
+
# 应用联邦凭证Id
|
|
37102
|
+
#
|
|
37103
|
+
# This parameter is required.
|
|
37104
|
+
self.application_federated_credential_id = application_federated_credential_id
|
|
37105
|
+
# IDaaS的应用资源ID。
|
|
37106
|
+
#
|
|
37107
|
+
# This parameter is required.
|
|
37108
|
+
self.application_id = application_id
|
|
37109
|
+
# 联邦凭证描述
|
|
37110
|
+
self.description = description
|
|
37111
|
+
# IDaaS EIAM实例的ID。
|
|
37112
|
+
#
|
|
37113
|
+
# This parameter is required.
|
|
37114
|
+
self.instance_id = instance_id
|
|
37115
|
+
|
|
37116
|
+
def validate(self):
|
|
37117
|
+
pass
|
|
37118
|
+
|
|
37119
|
+
def to_map(self):
|
|
37120
|
+
_map = super().to_map()
|
|
37121
|
+
if _map is not None:
|
|
37122
|
+
return _map
|
|
37123
|
+
|
|
37124
|
+
result = dict()
|
|
37125
|
+
if self.application_federated_credential_id is not None:
|
|
37126
|
+
result['ApplicationFederatedCredentialId'] = self.application_federated_credential_id
|
|
37127
|
+
if self.application_id is not None:
|
|
37128
|
+
result['ApplicationId'] = self.application_id
|
|
37129
|
+
if self.description is not None:
|
|
37130
|
+
result['Description'] = self.description
|
|
37131
|
+
if self.instance_id is not None:
|
|
37132
|
+
result['InstanceId'] = self.instance_id
|
|
37133
|
+
return result
|
|
37134
|
+
|
|
37135
|
+
def from_map(self, m: dict = None):
|
|
37136
|
+
m = m or dict()
|
|
37137
|
+
if m.get('ApplicationFederatedCredentialId') is not None:
|
|
37138
|
+
self.application_federated_credential_id = m.get('ApplicationFederatedCredentialId')
|
|
37139
|
+
if m.get('ApplicationId') is not None:
|
|
37140
|
+
self.application_id = m.get('ApplicationId')
|
|
37141
|
+
if m.get('Description') is not None:
|
|
37142
|
+
self.description = m.get('Description')
|
|
37143
|
+
if m.get('InstanceId') is not None:
|
|
37144
|
+
self.instance_id = m.get('InstanceId')
|
|
37145
|
+
return self
|
|
37146
|
+
|
|
37147
|
+
|
|
37148
|
+
class UpdateApplicationFederatedCredentialDescriptionResponseBody(TeaModel):
|
|
37149
|
+
def __init__(
|
|
37150
|
+
self,
|
|
37151
|
+
request_id: str = None,
|
|
37152
|
+
):
|
|
37153
|
+
self.request_id = request_id
|
|
37154
|
+
|
|
37155
|
+
def validate(self):
|
|
37156
|
+
pass
|
|
37157
|
+
|
|
37158
|
+
def to_map(self):
|
|
37159
|
+
_map = super().to_map()
|
|
37160
|
+
if _map is not None:
|
|
37161
|
+
return _map
|
|
37162
|
+
|
|
37163
|
+
result = dict()
|
|
37164
|
+
if self.request_id is not None:
|
|
37165
|
+
result['RequestId'] = self.request_id
|
|
37166
|
+
return result
|
|
37167
|
+
|
|
37168
|
+
def from_map(self, m: dict = None):
|
|
37169
|
+
m = m or dict()
|
|
37170
|
+
if m.get('RequestId') is not None:
|
|
37171
|
+
self.request_id = m.get('RequestId')
|
|
37172
|
+
return self
|
|
37173
|
+
|
|
37174
|
+
|
|
37175
|
+
class UpdateApplicationFederatedCredentialDescriptionResponse(TeaModel):
|
|
37176
|
+
def __init__(
|
|
37177
|
+
self,
|
|
37178
|
+
headers: Dict[str, str] = None,
|
|
37179
|
+
status_code: int = None,
|
|
37180
|
+
body: UpdateApplicationFederatedCredentialDescriptionResponseBody = None,
|
|
37181
|
+
):
|
|
37182
|
+
self.headers = headers
|
|
37183
|
+
self.status_code = status_code
|
|
37184
|
+
self.body = body
|
|
37185
|
+
|
|
37186
|
+
def validate(self):
|
|
37187
|
+
if self.body:
|
|
37188
|
+
self.body.validate()
|
|
37189
|
+
|
|
37190
|
+
def to_map(self):
|
|
37191
|
+
_map = super().to_map()
|
|
37192
|
+
if _map is not None:
|
|
37193
|
+
return _map
|
|
37194
|
+
|
|
37195
|
+
result = dict()
|
|
37196
|
+
if self.headers is not None:
|
|
37197
|
+
result['headers'] = self.headers
|
|
37198
|
+
if self.status_code is not None:
|
|
37199
|
+
result['statusCode'] = self.status_code
|
|
37200
|
+
if self.body is not None:
|
|
37201
|
+
result['body'] = self.body.to_map()
|
|
37202
|
+
return result
|
|
37203
|
+
|
|
37204
|
+
def from_map(self, m: dict = None):
|
|
37205
|
+
m = m or dict()
|
|
37206
|
+
if m.get('headers') is not None:
|
|
37207
|
+
self.headers = m.get('headers')
|
|
37208
|
+
if m.get('statusCode') is not None:
|
|
37209
|
+
self.status_code = m.get('statusCode')
|
|
37210
|
+
if m.get('body') is not None:
|
|
37211
|
+
temp_model = UpdateApplicationFederatedCredentialDescriptionResponseBody()
|
|
35995
37212
|
self.body = temp_model.from_map(m['body'])
|
|
35996
37213
|
return self
|
|
35997
37214
|
|
|
35998
37215
|
|
|
35999
|
-
class
|
|
37216
|
+
class UpdateApplicationInfoRequest(TeaModel):
|
|
36000
37217
|
def __init__(
|
|
36001
37218
|
self,
|
|
36002
|
-
application_federated_credential_id: str = None,
|
|
36003
37219
|
application_id: str = None,
|
|
36004
|
-
|
|
37220
|
+
application_name: str = None,
|
|
37221
|
+
application_visibility: List[str] = None,
|
|
37222
|
+
client_token: str = None,
|
|
36005
37223
|
instance_id: str = None,
|
|
37224
|
+
logo_url: str = None,
|
|
36006
37225
|
):
|
|
36007
|
-
#
|
|
37226
|
+
# IDaaS的应用主键id
|
|
36008
37227
|
#
|
|
36009
37228
|
# This parameter is required.
|
|
36010
|
-
self.
|
|
36011
|
-
#
|
|
37229
|
+
self.application_id = application_id
|
|
37230
|
+
# 应用的表示名称
|
|
36012
37231
|
#
|
|
36013
37232
|
# This parameter is required.
|
|
36014
|
-
self.
|
|
36015
|
-
|
|
36016
|
-
self.
|
|
36017
|
-
# IDaaS EIAM
|
|
37233
|
+
self.application_name = application_name
|
|
37234
|
+
self.application_visibility = application_visibility
|
|
37235
|
+
self.client_token = client_token
|
|
37236
|
+
# IDaaS EIAM的实例id
|
|
36018
37237
|
#
|
|
36019
37238
|
# This parameter is required.
|
|
36020
37239
|
self.instance_id = instance_id
|
|
37240
|
+
# 应用Logo地址
|
|
37241
|
+
self.logo_url = logo_url
|
|
36021
37242
|
|
|
36022
37243
|
def validate(self):
|
|
36023
37244
|
pass
|
|
@@ -36028,30 +37249,38 @@ class UpdateApplicationFederatedCredentialDescriptionRequest(TeaModel):
|
|
|
36028
37249
|
return _map
|
|
36029
37250
|
|
|
36030
37251
|
result = dict()
|
|
36031
|
-
if self.application_federated_credential_id is not None:
|
|
36032
|
-
result['ApplicationFederatedCredentialId'] = self.application_federated_credential_id
|
|
36033
37252
|
if self.application_id is not None:
|
|
36034
37253
|
result['ApplicationId'] = self.application_id
|
|
36035
|
-
if self.
|
|
36036
|
-
result['
|
|
37254
|
+
if self.application_name is not None:
|
|
37255
|
+
result['ApplicationName'] = self.application_name
|
|
37256
|
+
if self.application_visibility is not None:
|
|
37257
|
+
result['ApplicationVisibility'] = self.application_visibility
|
|
37258
|
+
if self.client_token is not None:
|
|
37259
|
+
result['ClientToken'] = self.client_token
|
|
36037
37260
|
if self.instance_id is not None:
|
|
36038
37261
|
result['InstanceId'] = self.instance_id
|
|
37262
|
+
if self.logo_url is not None:
|
|
37263
|
+
result['LogoUrl'] = self.logo_url
|
|
36039
37264
|
return result
|
|
36040
37265
|
|
|
36041
37266
|
def from_map(self, m: dict = None):
|
|
36042
37267
|
m = m or dict()
|
|
36043
|
-
if m.get('ApplicationFederatedCredentialId') is not None:
|
|
36044
|
-
self.application_federated_credential_id = m.get('ApplicationFederatedCredentialId')
|
|
36045
37268
|
if m.get('ApplicationId') is not None:
|
|
36046
37269
|
self.application_id = m.get('ApplicationId')
|
|
36047
|
-
if m.get('
|
|
36048
|
-
self.
|
|
37270
|
+
if m.get('ApplicationName') is not None:
|
|
37271
|
+
self.application_name = m.get('ApplicationName')
|
|
37272
|
+
if m.get('ApplicationVisibility') is not None:
|
|
37273
|
+
self.application_visibility = m.get('ApplicationVisibility')
|
|
37274
|
+
if m.get('ClientToken') is not None:
|
|
37275
|
+
self.client_token = m.get('ClientToken')
|
|
36049
37276
|
if m.get('InstanceId') is not None:
|
|
36050
37277
|
self.instance_id = m.get('InstanceId')
|
|
37278
|
+
if m.get('LogoUrl') is not None:
|
|
37279
|
+
self.logo_url = m.get('LogoUrl')
|
|
36051
37280
|
return self
|
|
36052
37281
|
|
|
36053
37282
|
|
|
36054
|
-
class
|
|
37283
|
+
class UpdateApplicationInfoResponseBody(TeaModel):
|
|
36055
37284
|
def __init__(
|
|
36056
37285
|
self,
|
|
36057
37286
|
request_id: str = None,
|
|
@@ -36078,12 +37307,12 @@ class UpdateApplicationFederatedCredentialDescriptionResponseBody(TeaModel):
|
|
|
36078
37307
|
return self
|
|
36079
37308
|
|
|
36080
37309
|
|
|
36081
|
-
class
|
|
37310
|
+
class UpdateApplicationInfoResponse(TeaModel):
|
|
36082
37311
|
def __init__(
|
|
36083
37312
|
self,
|
|
36084
37313
|
headers: Dict[str, str] = None,
|
|
36085
37314
|
status_code: int = None,
|
|
36086
|
-
body:
|
|
37315
|
+
body: UpdateApplicationInfoResponseBody = None,
|
|
36087
37316
|
):
|
|
36088
37317
|
self.headers = headers
|
|
36089
37318
|
self.status_code = status_code
|
|
@@ -36114,37 +37343,35 @@ class UpdateApplicationFederatedCredentialDescriptionResponse(TeaModel):
|
|
|
36114
37343
|
if m.get('statusCode') is not None:
|
|
36115
37344
|
self.status_code = m.get('statusCode')
|
|
36116
37345
|
if m.get('body') is not None:
|
|
36117
|
-
temp_model =
|
|
37346
|
+
temp_model = UpdateApplicationInfoResponseBody()
|
|
36118
37347
|
self.body = temp_model.from_map(m['body'])
|
|
36119
37348
|
return self
|
|
36120
37349
|
|
|
36121
37350
|
|
|
36122
|
-
class
|
|
37351
|
+
class UpdateApplicationTokenExpirationTimeRequest(TeaModel):
|
|
36123
37352
|
def __init__(
|
|
36124
37353
|
self,
|
|
36125
37354
|
application_id: str = None,
|
|
36126
|
-
|
|
36127
|
-
|
|
36128
|
-
client_token: str = None,
|
|
37355
|
+
application_token_id: str = None,
|
|
37356
|
+
expiration_time: int = None,
|
|
36129
37357
|
instance_id: str = None,
|
|
36130
|
-
logo_url: str = None,
|
|
36131
37358
|
):
|
|
36132
|
-
# IDaaS
|
|
37359
|
+
# IDaaS的应用资源ID。
|
|
36133
37360
|
#
|
|
36134
37361
|
# This parameter is required.
|
|
36135
37362
|
self.application_id = application_id
|
|
36136
|
-
#
|
|
37363
|
+
# IDaaS的应用资源TokenID。
|
|
36137
37364
|
#
|
|
36138
37365
|
# This parameter is required.
|
|
36139
|
-
self.
|
|
36140
|
-
|
|
36141
|
-
|
|
36142
|
-
#
|
|
37366
|
+
self.application_token_id = application_token_id
|
|
37367
|
+
# 不填,默认1年后到期
|
|
37368
|
+
#
|
|
37369
|
+
# This parameter is required.
|
|
37370
|
+
self.expiration_time = expiration_time
|
|
37371
|
+
# IDaaS EIAM实例的ID。
|
|
36143
37372
|
#
|
|
36144
37373
|
# This parameter is required.
|
|
36145
37374
|
self.instance_id = instance_id
|
|
36146
|
-
# 应用Logo地址
|
|
36147
|
-
self.logo_url = logo_url
|
|
36148
37375
|
|
|
36149
37376
|
def validate(self):
|
|
36150
37377
|
pass
|
|
@@ -36157,36 +37384,28 @@ class UpdateApplicationInfoRequest(TeaModel):
|
|
|
36157
37384
|
result = dict()
|
|
36158
37385
|
if self.application_id is not None:
|
|
36159
37386
|
result['ApplicationId'] = self.application_id
|
|
36160
|
-
if self.
|
|
36161
|
-
result['
|
|
36162
|
-
if self.
|
|
36163
|
-
result['
|
|
36164
|
-
if self.client_token is not None:
|
|
36165
|
-
result['ClientToken'] = self.client_token
|
|
37387
|
+
if self.application_token_id is not None:
|
|
37388
|
+
result['ApplicationTokenId'] = self.application_token_id
|
|
37389
|
+
if self.expiration_time is not None:
|
|
37390
|
+
result['ExpirationTime'] = self.expiration_time
|
|
36166
37391
|
if self.instance_id is not None:
|
|
36167
37392
|
result['InstanceId'] = self.instance_id
|
|
36168
|
-
if self.logo_url is not None:
|
|
36169
|
-
result['LogoUrl'] = self.logo_url
|
|
36170
37393
|
return result
|
|
36171
37394
|
|
|
36172
37395
|
def from_map(self, m: dict = None):
|
|
36173
37396
|
m = m or dict()
|
|
36174
37397
|
if m.get('ApplicationId') is not None:
|
|
36175
37398
|
self.application_id = m.get('ApplicationId')
|
|
36176
|
-
if m.get('
|
|
36177
|
-
self.
|
|
36178
|
-
if m.get('
|
|
36179
|
-
self.
|
|
36180
|
-
if m.get('ClientToken') is not None:
|
|
36181
|
-
self.client_token = m.get('ClientToken')
|
|
37399
|
+
if m.get('ApplicationTokenId') is not None:
|
|
37400
|
+
self.application_token_id = m.get('ApplicationTokenId')
|
|
37401
|
+
if m.get('ExpirationTime') is not None:
|
|
37402
|
+
self.expiration_time = m.get('ExpirationTime')
|
|
36182
37403
|
if m.get('InstanceId') is not None:
|
|
36183
37404
|
self.instance_id = m.get('InstanceId')
|
|
36184
|
-
if m.get('LogoUrl') is not None:
|
|
36185
|
-
self.logo_url = m.get('LogoUrl')
|
|
36186
37405
|
return self
|
|
36187
37406
|
|
|
36188
37407
|
|
|
36189
|
-
class
|
|
37408
|
+
class UpdateApplicationTokenExpirationTimeResponseBody(TeaModel):
|
|
36190
37409
|
def __init__(
|
|
36191
37410
|
self,
|
|
36192
37411
|
request_id: str = None,
|
|
@@ -36213,12 +37432,12 @@ class UpdateApplicationInfoResponseBody(TeaModel):
|
|
|
36213
37432
|
return self
|
|
36214
37433
|
|
|
36215
37434
|
|
|
36216
|
-
class
|
|
37435
|
+
class UpdateApplicationTokenExpirationTimeResponse(TeaModel):
|
|
36217
37436
|
def __init__(
|
|
36218
37437
|
self,
|
|
36219
37438
|
headers: Dict[str, str] = None,
|
|
36220
37439
|
status_code: int = None,
|
|
36221
|
-
body:
|
|
37440
|
+
body: UpdateApplicationTokenExpirationTimeResponseBody = None,
|
|
36222
37441
|
):
|
|
36223
37442
|
self.headers = headers
|
|
36224
37443
|
self.status_code = status_code
|
|
@@ -36249,31 +37468,26 @@ class UpdateApplicationInfoResponse(TeaModel):
|
|
|
36249
37468
|
if m.get('statusCode') is not None:
|
|
36250
37469
|
self.status_code = m.get('statusCode')
|
|
36251
37470
|
if m.get('body') is not None:
|
|
36252
|
-
temp_model =
|
|
37471
|
+
temp_model = UpdateApplicationTokenExpirationTimeResponseBody()
|
|
36253
37472
|
self.body = temp_model.from_map(m['body'])
|
|
36254
37473
|
return self
|
|
36255
37474
|
|
|
36256
37475
|
|
|
36257
|
-
class
|
|
37476
|
+
class UpdateBrandRequest(TeaModel):
|
|
36258
37477
|
def __init__(
|
|
36259
37478
|
self,
|
|
36260
|
-
|
|
36261
|
-
|
|
36262
|
-
expiration_time: int = None,
|
|
37479
|
+
brand_id: str = None,
|
|
37480
|
+
brand_name: str = None,
|
|
36263
37481
|
instance_id: str = None,
|
|
36264
37482
|
):
|
|
36265
|
-
#
|
|
36266
|
-
#
|
|
36267
|
-
# This parameter is required.
|
|
36268
|
-
self.application_id = application_id
|
|
36269
|
-
# IDaaS的应用资源TokenID。
|
|
37483
|
+
# 品牌化Id
|
|
36270
37484
|
#
|
|
36271
37485
|
# This parameter is required.
|
|
36272
|
-
self.
|
|
36273
|
-
#
|
|
37486
|
+
self.brand_id = brand_id
|
|
37487
|
+
# 品牌名称
|
|
36274
37488
|
#
|
|
36275
37489
|
# This parameter is required.
|
|
36276
|
-
self.
|
|
37490
|
+
self.brand_name = brand_name
|
|
36277
37491
|
# IDaaS EIAM实例的ID。
|
|
36278
37492
|
#
|
|
36279
37493
|
# This parameter is required.
|
|
@@ -36288,30 +37502,26 @@ class UpdateApplicationTokenExpirationTimeRequest(TeaModel):
|
|
|
36288
37502
|
return _map
|
|
36289
37503
|
|
|
36290
37504
|
result = dict()
|
|
36291
|
-
if self.
|
|
36292
|
-
result['
|
|
36293
|
-
if self.
|
|
36294
|
-
result['
|
|
36295
|
-
if self.expiration_time is not None:
|
|
36296
|
-
result['ExpirationTime'] = self.expiration_time
|
|
37505
|
+
if self.brand_id is not None:
|
|
37506
|
+
result['BrandId'] = self.brand_id
|
|
37507
|
+
if self.brand_name is not None:
|
|
37508
|
+
result['BrandName'] = self.brand_name
|
|
36297
37509
|
if self.instance_id is not None:
|
|
36298
37510
|
result['InstanceId'] = self.instance_id
|
|
36299
37511
|
return result
|
|
36300
37512
|
|
|
36301
37513
|
def from_map(self, m: dict = None):
|
|
36302
37514
|
m = m or dict()
|
|
36303
|
-
if m.get('
|
|
36304
|
-
self.
|
|
36305
|
-
if m.get('
|
|
36306
|
-
self.
|
|
36307
|
-
if m.get('ExpirationTime') is not None:
|
|
36308
|
-
self.expiration_time = m.get('ExpirationTime')
|
|
37515
|
+
if m.get('BrandId') is not None:
|
|
37516
|
+
self.brand_id = m.get('BrandId')
|
|
37517
|
+
if m.get('BrandName') is not None:
|
|
37518
|
+
self.brand_name = m.get('BrandName')
|
|
36309
37519
|
if m.get('InstanceId') is not None:
|
|
36310
37520
|
self.instance_id = m.get('InstanceId')
|
|
36311
37521
|
return self
|
|
36312
37522
|
|
|
36313
37523
|
|
|
36314
|
-
class
|
|
37524
|
+
class UpdateBrandResponseBody(TeaModel):
|
|
36315
37525
|
def __init__(
|
|
36316
37526
|
self,
|
|
36317
37527
|
request_id: str = None,
|
|
@@ -36338,12 +37548,12 @@ class UpdateApplicationTokenExpirationTimeResponseBody(TeaModel):
|
|
|
36338
37548
|
return self
|
|
36339
37549
|
|
|
36340
37550
|
|
|
36341
|
-
class
|
|
37551
|
+
class UpdateBrandResponse(TeaModel):
|
|
36342
37552
|
def __init__(
|
|
36343
37553
|
self,
|
|
36344
37554
|
headers: Dict[str, str] = None,
|
|
36345
37555
|
status_code: int = None,
|
|
36346
|
-
body:
|
|
37556
|
+
body: UpdateBrandResponseBody = None,
|
|
36347
37557
|
):
|
|
36348
37558
|
self.headers = headers
|
|
36349
37559
|
self.status_code = status_code
|
|
@@ -36374,7 +37584,7 @@ class UpdateApplicationTokenExpirationTimeResponse(TeaModel):
|
|
|
36374
37584
|
if m.get('statusCode') is not None:
|
|
36375
37585
|
self.status_code = m.get('statusCode')
|
|
36376
37586
|
if m.get('body') is not None:
|
|
36377
|
-
temp_model =
|
|
37587
|
+
temp_model = UpdateBrandResponseBody()
|
|
36378
37588
|
self.body = temp_model.from_map(m['body'])
|
|
36379
37589
|
return self
|
|
36380
37590
|
|
|
@@ -36901,6 +38111,120 @@ class UpdateConditionalAccessPolicyDescriptionResponse(TeaModel):
|
|
|
36901
38111
|
return self
|
|
36902
38112
|
|
|
36903
38113
|
|
|
38114
|
+
class UpdateDomainBrandRequest(TeaModel):
|
|
38115
|
+
def __init__(
|
|
38116
|
+
self,
|
|
38117
|
+
brand_id: str = None,
|
|
38118
|
+
domain_id: str = None,
|
|
38119
|
+
instance_id: str = None,
|
|
38120
|
+
):
|
|
38121
|
+
# This parameter is required.
|
|
38122
|
+
self.brand_id = brand_id
|
|
38123
|
+
# 域名ID。
|
|
38124
|
+
#
|
|
38125
|
+
# This parameter is required.
|
|
38126
|
+
self.domain_id = domain_id
|
|
38127
|
+
# IDaaS EIAM实例的ID。
|
|
38128
|
+
#
|
|
38129
|
+
# This parameter is required.
|
|
38130
|
+
self.instance_id = instance_id
|
|
38131
|
+
|
|
38132
|
+
def validate(self):
|
|
38133
|
+
pass
|
|
38134
|
+
|
|
38135
|
+
def to_map(self):
|
|
38136
|
+
_map = super().to_map()
|
|
38137
|
+
if _map is not None:
|
|
38138
|
+
return _map
|
|
38139
|
+
|
|
38140
|
+
result = dict()
|
|
38141
|
+
if self.brand_id is not None:
|
|
38142
|
+
result['BrandId'] = self.brand_id
|
|
38143
|
+
if self.domain_id is not None:
|
|
38144
|
+
result['DomainId'] = self.domain_id
|
|
38145
|
+
if self.instance_id is not None:
|
|
38146
|
+
result['InstanceId'] = self.instance_id
|
|
38147
|
+
return result
|
|
38148
|
+
|
|
38149
|
+
def from_map(self, m: dict = None):
|
|
38150
|
+
m = m or dict()
|
|
38151
|
+
if m.get('BrandId') is not None:
|
|
38152
|
+
self.brand_id = m.get('BrandId')
|
|
38153
|
+
if m.get('DomainId') is not None:
|
|
38154
|
+
self.domain_id = m.get('DomainId')
|
|
38155
|
+
if m.get('InstanceId') is not None:
|
|
38156
|
+
self.instance_id = m.get('InstanceId')
|
|
38157
|
+
return self
|
|
38158
|
+
|
|
38159
|
+
|
|
38160
|
+
class UpdateDomainBrandResponseBody(TeaModel):
|
|
38161
|
+
def __init__(
|
|
38162
|
+
self,
|
|
38163
|
+
request_id: str = None,
|
|
38164
|
+
):
|
|
38165
|
+
self.request_id = request_id
|
|
38166
|
+
|
|
38167
|
+
def validate(self):
|
|
38168
|
+
pass
|
|
38169
|
+
|
|
38170
|
+
def to_map(self):
|
|
38171
|
+
_map = super().to_map()
|
|
38172
|
+
if _map is not None:
|
|
38173
|
+
return _map
|
|
38174
|
+
|
|
38175
|
+
result = dict()
|
|
38176
|
+
if self.request_id is not None:
|
|
38177
|
+
result['RequestId'] = self.request_id
|
|
38178
|
+
return result
|
|
38179
|
+
|
|
38180
|
+
def from_map(self, m: dict = None):
|
|
38181
|
+
m = m or dict()
|
|
38182
|
+
if m.get('RequestId') is not None:
|
|
38183
|
+
self.request_id = m.get('RequestId')
|
|
38184
|
+
return self
|
|
38185
|
+
|
|
38186
|
+
|
|
38187
|
+
class UpdateDomainBrandResponse(TeaModel):
|
|
38188
|
+
def __init__(
|
|
38189
|
+
self,
|
|
38190
|
+
headers: Dict[str, str] = None,
|
|
38191
|
+
status_code: int = None,
|
|
38192
|
+
body: UpdateDomainBrandResponseBody = None,
|
|
38193
|
+
):
|
|
38194
|
+
self.headers = headers
|
|
38195
|
+
self.status_code = status_code
|
|
38196
|
+
self.body = body
|
|
38197
|
+
|
|
38198
|
+
def validate(self):
|
|
38199
|
+
if self.body:
|
|
38200
|
+
self.body.validate()
|
|
38201
|
+
|
|
38202
|
+
def to_map(self):
|
|
38203
|
+
_map = super().to_map()
|
|
38204
|
+
if _map is not None:
|
|
38205
|
+
return _map
|
|
38206
|
+
|
|
38207
|
+
result = dict()
|
|
38208
|
+
if self.headers is not None:
|
|
38209
|
+
result['headers'] = self.headers
|
|
38210
|
+
if self.status_code is not None:
|
|
38211
|
+
result['statusCode'] = self.status_code
|
|
38212
|
+
if self.body is not None:
|
|
38213
|
+
result['body'] = self.body.to_map()
|
|
38214
|
+
return result
|
|
38215
|
+
|
|
38216
|
+
def from_map(self, m: dict = None):
|
|
38217
|
+
m = m or dict()
|
|
38218
|
+
if m.get('headers') is not None:
|
|
38219
|
+
self.headers = m.get('headers')
|
|
38220
|
+
if m.get('statusCode') is not None:
|
|
38221
|
+
self.status_code = m.get('statusCode')
|
|
38222
|
+
if m.get('body') is not None:
|
|
38223
|
+
temp_model = UpdateDomainBrandResponseBody()
|
|
38224
|
+
self.body = temp_model.from_map(m['body'])
|
|
38225
|
+
return self
|
|
38226
|
+
|
|
38227
|
+
|
|
36904
38228
|
class UpdateDomainIcpNumberRequest(TeaModel):
|
|
36905
38229
|
def __init__(
|
|
36906
38230
|
self,
|