alibabacloud-eiam20211201 2.0.1__py3-none-any.whl → 2.1.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 +112 -0
- alibabacloud_eiam20211201/models.py +155 -0
- {alibabacloud_eiam20211201-2.0.1.dist-info → alibabacloud_eiam20211201-2.1.0.dist-info}/METADATA +1 -1
- alibabacloud_eiam20211201-2.1.0.dist-info/RECORD +8 -0
- alibabacloud_eiam20211201-2.0.1.dist-info/RECORD +0 -8
- {alibabacloud_eiam20211201-2.0.1.dist-info → alibabacloud_eiam20211201-2.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_eiam20211201-2.0.1.dist-info → alibabacloud_eiam20211201-2.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_eiam20211201-2.0.1.dist-info → alibabacloud_eiam20211201-2.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.0
|
|
1
|
+
__version__ = '2.1.0'
|
|
@@ -705,6 +705,8 @@ class Client(OpenApiClient):
|
|
|
705
705
|
query = {}
|
|
706
706
|
if not UtilClient.is_unset(request.application_id):
|
|
707
707
|
query['ApplicationId'] = request.application_id
|
|
708
|
+
if not UtilClient.is_unset(request.expiration_time):
|
|
709
|
+
query['ExpirationTime'] = request.expiration_time
|
|
708
710
|
if not UtilClient.is_unset(request.instance_id):
|
|
709
711
|
query['InstanceId'] = request.instance_id
|
|
710
712
|
req = open_api_models.OpenApiRequest(
|
|
@@ -742,6 +744,8 @@ class Client(OpenApiClient):
|
|
|
742
744
|
query = {}
|
|
743
745
|
if not UtilClient.is_unset(request.application_id):
|
|
744
746
|
query['ApplicationId'] = request.application_id
|
|
747
|
+
if not UtilClient.is_unset(request.expiration_time):
|
|
748
|
+
query['ExpirationTime'] = request.expiration_time
|
|
745
749
|
if not UtilClient.is_unset(request.instance_id):
|
|
746
750
|
query['InstanceId'] = request.instance_id
|
|
747
751
|
req = open_api_models.OpenApiRequest(
|
|
@@ -12743,6 +12747,114 @@ class Client(OpenApiClient):
|
|
|
12743
12747
|
runtime = util_models.RuntimeOptions()
|
|
12744
12748
|
return await self.update_application_authorization_type_with_options_async(request, runtime)
|
|
12745
12749
|
|
|
12750
|
+
def update_application_client_secret_expiration_time_with_options(
|
|
12751
|
+
self,
|
|
12752
|
+
request: eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeRequest,
|
|
12753
|
+
runtime: util_models.RuntimeOptions,
|
|
12754
|
+
) -> eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeResponse:
|
|
12755
|
+
"""
|
|
12756
|
+
@summary 更新应用的指定ClientSecret的到期时间
|
|
12757
|
+
|
|
12758
|
+
@param request: UpdateApplicationClientSecretExpirationTimeRequest
|
|
12759
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
12760
|
+
@return: UpdateApplicationClientSecretExpirationTimeResponse
|
|
12761
|
+
"""
|
|
12762
|
+
UtilClient.validate_model(request)
|
|
12763
|
+
query = {}
|
|
12764
|
+
if not UtilClient.is_unset(request.application_id):
|
|
12765
|
+
query['ApplicationId'] = request.application_id
|
|
12766
|
+
if not UtilClient.is_unset(request.expiration_time):
|
|
12767
|
+
query['ExpirationTime'] = request.expiration_time
|
|
12768
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
12769
|
+
query['InstanceId'] = request.instance_id
|
|
12770
|
+
if not UtilClient.is_unset(request.secret_id):
|
|
12771
|
+
query['SecretId'] = request.secret_id
|
|
12772
|
+
req = open_api_models.OpenApiRequest(
|
|
12773
|
+
query=OpenApiUtilClient.query(query)
|
|
12774
|
+
)
|
|
12775
|
+
params = open_api_models.Params(
|
|
12776
|
+
action='UpdateApplicationClientSecretExpirationTime',
|
|
12777
|
+
version='2021-12-01',
|
|
12778
|
+
protocol='HTTPS',
|
|
12779
|
+
pathname='/',
|
|
12780
|
+
method='POST',
|
|
12781
|
+
auth_type='AK',
|
|
12782
|
+
style='RPC',
|
|
12783
|
+
req_body_type='formData',
|
|
12784
|
+
body_type='json'
|
|
12785
|
+
)
|
|
12786
|
+
return TeaCore.from_map(
|
|
12787
|
+
eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeResponse(),
|
|
12788
|
+
self.call_api(params, req, runtime)
|
|
12789
|
+
)
|
|
12790
|
+
|
|
12791
|
+
async def update_application_client_secret_expiration_time_with_options_async(
|
|
12792
|
+
self,
|
|
12793
|
+
request: eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeRequest,
|
|
12794
|
+
runtime: util_models.RuntimeOptions,
|
|
12795
|
+
) -> eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeResponse:
|
|
12796
|
+
"""
|
|
12797
|
+
@summary 更新应用的指定ClientSecret的到期时间
|
|
12798
|
+
|
|
12799
|
+
@param request: UpdateApplicationClientSecretExpirationTimeRequest
|
|
12800
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
12801
|
+
@return: UpdateApplicationClientSecretExpirationTimeResponse
|
|
12802
|
+
"""
|
|
12803
|
+
UtilClient.validate_model(request)
|
|
12804
|
+
query = {}
|
|
12805
|
+
if not UtilClient.is_unset(request.application_id):
|
|
12806
|
+
query['ApplicationId'] = request.application_id
|
|
12807
|
+
if not UtilClient.is_unset(request.expiration_time):
|
|
12808
|
+
query['ExpirationTime'] = request.expiration_time
|
|
12809
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
12810
|
+
query['InstanceId'] = request.instance_id
|
|
12811
|
+
if not UtilClient.is_unset(request.secret_id):
|
|
12812
|
+
query['SecretId'] = request.secret_id
|
|
12813
|
+
req = open_api_models.OpenApiRequest(
|
|
12814
|
+
query=OpenApiUtilClient.query(query)
|
|
12815
|
+
)
|
|
12816
|
+
params = open_api_models.Params(
|
|
12817
|
+
action='UpdateApplicationClientSecretExpirationTime',
|
|
12818
|
+
version='2021-12-01',
|
|
12819
|
+
protocol='HTTPS',
|
|
12820
|
+
pathname='/',
|
|
12821
|
+
method='POST',
|
|
12822
|
+
auth_type='AK',
|
|
12823
|
+
style='RPC',
|
|
12824
|
+
req_body_type='formData',
|
|
12825
|
+
body_type='json'
|
|
12826
|
+
)
|
|
12827
|
+
return TeaCore.from_map(
|
|
12828
|
+
eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeResponse(),
|
|
12829
|
+
await self.call_api_async(params, req, runtime)
|
|
12830
|
+
)
|
|
12831
|
+
|
|
12832
|
+
def update_application_client_secret_expiration_time(
|
|
12833
|
+
self,
|
|
12834
|
+
request: eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeRequest,
|
|
12835
|
+
) -> eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeResponse:
|
|
12836
|
+
"""
|
|
12837
|
+
@summary 更新应用的指定ClientSecret的到期时间
|
|
12838
|
+
|
|
12839
|
+
@param request: UpdateApplicationClientSecretExpirationTimeRequest
|
|
12840
|
+
@return: UpdateApplicationClientSecretExpirationTimeResponse
|
|
12841
|
+
"""
|
|
12842
|
+
runtime = util_models.RuntimeOptions()
|
|
12843
|
+
return self.update_application_client_secret_expiration_time_with_options(request, runtime)
|
|
12844
|
+
|
|
12845
|
+
async def update_application_client_secret_expiration_time_async(
|
|
12846
|
+
self,
|
|
12847
|
+
request: eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeRequest,
|
|
12848
|
+
) -> eiam_20211201_models.UpdateApplicationClientSecretExpirationTimeResponse:
|
|
12849
|
+
"""
|
|
12850
|
+
@summary 更新应用的指定ClientSecret的到期时间
|
|
12851
|
+
|
|
12852
|
+
@param request: UpdateApplicationClientSecretExpirationTimeRequest
|
|
12853
|
+
@return: UpdateApplicationClientSecretExpirationTimeResponse
|
|
12854
|
+
"""
|
|
12855
|
+
runtime = util_models.RuntimeOptions()
|
|
12856
|
+
return await self.update_application_client_secret_expiration_time_with_options_async(request, runtime)
|
|
12857
|
+
|
|
12746
12858
|
def update_application_description_with_options(
|
|
12747
12859
|
self,
|
|
12748
12860
|
request: eiam_20211201_models.UpdateApplicationDescriptionRequest,
|
|
@@ -753,12 +753,14 @@ class CreateApplicationClientSecretRequest(TeaModel):
|
|
|
753
753
|
def __init__(
|
|
754
754
|
self,
|
|
755
755
|
application_id: str = None,
|
|
756
|
+
expiration_time: int = None,
|
|
756
757
|
instance_id: str = None,
|
|
757
758
|
):
|
|
758
759
|
# The ID of the application for which you want to create a client key.
|
|
759
760
|
#
|
|
760
761
|
# This parameter is required.
|
|
761
762
|
self.application_id = application_id
|
|
763
|
+
self.expiration_time = expiration_time
|
|
762
764
|
# The ID of the instance.
|
|
763
765
|
#
|
|
764
766
|
# This parameter is required.
|
|
@@ -775,6 +777,8 @@ class CreateApplicationClientSecretRequest(TeaModel):
|
|
|
775
777
|
result = dict()
|
|
776
778
|
if self.application_id is not None:
|
|
777
779
|
result['ApplicationId'] = self.application_id
|
|
780
|
+
if self.expiration_time is not None:
|
|
781
|
+
result['ExpirationTime'] = self.expiration_time
|
|
778
782
|
if self.instance_id is not None:
|
|
779
783
|
result['InstanceId'] = self.instance_id
|
|
780
784
|
return result
|
|
@@ -783,6 +787,8 @@ class CreateApplicationClientSecretRequest(TeaModel):
|
|
|
783
787
|
m = m or dict()
|
|
784
788
|
if m.get('ApplicationId') is not None:
|
|
785
789
|
self.application_id = m.get('ApplicationId')
|
|
790
|
+
if m.get('ExpirationTime') is not None:
|
|
791
|
+
self.expiration_time = m.get('ExpirationTime')
|
|
786
792
|
if m.get('InstanceId') is not None:
|
|
787
793
|
self.instance_id = m.get('InstanceId')
|
|
788
794
|
return self
|
|
@@ -8288,6 +8294,7 @@ class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfig(TeaMo
|
|
|
8288
8294
|
def __init__(
|
|
8289
8295
|
self,
|
|
8290
8296
|
access_token_effective_time: int = None,
|
|
8297
|
+
allowed_public_client: str = None,
|
|
8291
8298
|
code_effective_time: int = None,
|
|
8292
8299
|
custom_claims: List[GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfigCustomClaims] = None,
|
|
8293
8300
|
grant_scopes: List[str] = None,
|
|
@@ -8305,6 +8312,7 @@ class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfig(TeaMo
|
|
|
8305
8312
|
):
|
|
8306
8313
|
# The validity period of the issued access token. Unit: seconds. Default value: 1200.
|
|
8307
8314
|
self.access_token_effective_time = access_token_effective_time
|
|
8315
|
+
self.allowed_public_client = allowed_public_client
|
|
8308
8316
|
# The validity period of the issued code. Unit: seconds. Default value: 60.
|
|
8309
8317
|
self.code_effective_time = code_effective_time
|
|
8310
8318
|
# The custom claims that are returned for the ID token.
|
|
@@ -8348,6 +8356,8 @@ class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfig(TeaMo
|
|
|
8348
8356
|
result = dict()
|
|
8349
8357
|
if self.access_token_effective_time is not None:
|
|
8350
8358
|
result['AccessTokenEffectiveTime'] = self.access_token_effective_time
|
|
8359
|
+
if self.allowed_public_client is not None:
|
|
8360
|
+
result['AllowedPublicClient'] = self.allowed_public_client
|
|
8351
8361
|
if self.code_effective_time is not None:
|
|
8352
8362
|
result['CodeEffectiveTime'] = self.code_effective_time
|
|
8353
8363
|
result['CustomClaims'] = []
|
|
@@ -8384,6 +8394,8 @@ class GetApplicationSsoConfigResponseBodyApplicationSsoConfigOidcSsoConfig(TeaMo
|
|
|
8384
8394
|
m = m or dict()
|
|
8385
8395
|
if m.get('AccessTokenEffectiveTime') is not None:
|
|
8386
8396
|
self.access_token_effective_time = m.get('AccessTokenEffectiveTime')
|
|
8397
|
+
if m.get('AllowedPublicClient') is not None:
|
|
8398
|
+
self.allowed_public_client = m.get('AllowedPublicClient')
|
|
8387
8399
|
if m.get('CodeEffectiveTime') is not None:
|
|
8388
8400
|
self.code_effective_time = m.get('CodeEffectiveTime')
|
|
8389
8401
|
self.custom_claims = []
|
|
@@ -15720,6 +15732,7 @@ class ListApplicationClientSecretsResponseBodyApplicationClientSecrets(TeaModel)
|
|
|
15720
15732
|
application_id: str = None,
|
|
15721
15733
|
client_id: str = None,
|
|
15722
15734
|
client_secret: str = None,
|
|
15735
|
+
expiration_time: int = None,
|
|
15723
15736
|
instance_id: str = None,
|
|
15724
15737
|
last_used_time: int = None,
|
|
15725
15738
|
secret_id: str = None,
|
|
@@ -15731,6 +15744,7 @@ class ListApplicationClientSecretsResponseBodyApplicationClientSecrets(TeaModel)
|
|
|
15731
15744
|
self.client_id = client_id
|
|
15732
15745
|
# The client key secret of the application. The value is not masked.
|
|
15733
15746
|
self.client_secret = client_secret
|
|
15747
|
+
self.expiration_time = expiration_time
|
|
15734
15748
|
# The ID of the instance.
|
|
15735
15749
|
self.instance_id = instance_id
|
|
15736
15750
|
# The time when the client key was last used. The value is a UNIX timestamp. Unit: milliseconds.
|
|
@@ -15758,6 +15772,8 @@ class ListApplicationClientSecretsResponseBodyApplicationClientSecrets(TeaModel)
|
|
|
15758
15772
|
result['ClientId'] = self.client_id
|
|
15759
15773
|
if self.client_secret is not None:
|
|
15760
15774
|
result['ClientSecret'] = self.client_secret
|
|
15775
|
+
if self.expiration_time is not None:
|
|
15776
|
+
result['ExpirationTime'] = self.expiration_time
|
|
15761
15777
|
if self.instance_id is not None:
|
|
15762
15778
|
result['InstanceId'] = self.instance_id
|
|
15763
15779
|
if self.last_used_time is not None:
|
|
@@ -15776,6 +15792,8 @@ class ListApplicationClientSecretsResponseBodyApplicationClientSecrets(TeaModel)
|
|
|
15776
15792
|
self.client_id = m.get('ClientId')
|
|
15777
15793
|
if m.get('ClientSecret') is not None:
|
|
15778
15794
|
self.client_secret = m.get('ClientSecret')
|
|
15795
|
+
if m.get('ExpirationTime') is not None:
|
|
15796
|
+
self.expiration_time = m.get('ExpirationTime')
|
|
15779
15797
|
if m.get('InstanceId') is not None:
|
|
15780
15798
|
self.instance_id = m.get('InstanceId')
|
|
15781
15799
|
if m.get('LastUsedTime') is not None:
|
|
@@ -23808,6 +23826,7 @@ class ObtainApplicationClientSecretResponseBodyApplicationClientSecret(TeaModel)
|
|
|
23808
23826
|
application_id: str = None,
|
|
23809
23827
|
client_id: str = None,
|
|
23810
23828
|
client_secret: str = None,
|
|
23829
|
+
expiration_time: int = None,
|
|
23811
23830
|
instance_id: str = None,
|
|
23812
23831
|
last_used_time: int = None,
|
|
23813
23832
|
secret_id: str = None,
|
|
@@ -23819,6 +23838,7 @@ class ObtainApplicationClientSecretResponseBodyApplicationClientSecret(TeaModel)
|
|
|
23819
23838
|
self.client_id = client_id
|
|
23820
23839
|
# The client key secret of the application.
|
|
23821
23840
|
self.client_secret = client_secret
|
|
23841
|
+
self.expiration_time = expiration_time
|
|
23822
23842
|
# The ID of the instance.
|
|
23823
23843
|
self.instance_id = instance_id
|
|
23824
23844
|
# The time when the client key was last used. The value is a UNIX timestamp. Unit: milliseconds.
|
|
@@ -23846,6 +23866,8 @@ class ObtainApplicationClientSecretResponseBodyApplicationClientSecret(TeaModel)
|
|
|
23846
23866
|
result['ClientId'] = self.client_id
|
|
23847
23867
|
if self.client_secret is not None:
|
|
23848
23868
|
result['ClientSecret'] = self.client_secret
|
|
23869
|
+
if self.expiration_time is not None:
|
|
23870
|
+
result['ExpirationTime'] = self.expiration_time
|
|
23849
23871
|
if self.instance_id is not None:
|
|
23850
23872
|
result['InstanceId'] = self.instance_id
|
|
23851
23873
|
if self.last_used_time is not None:
|
|
@@ -23864,6 +23886,8 @@ class ObtainApplicationClientSecretResponseBodyApplicationClientSecret(TeaModel)
|
|
|
23864
23886
|
self.client_id = m.get('ClientId')
|
|
23865
23887
|
if m.get('ClientSecret') is not None:
|
|
23866
23888
|
self.client_secret = m.get('ClientSecret')
|
|
23889
|
+
if m.get('ExpirationTime') is not None:
|
|
23890
|
+
self.expiration_time = m.get('ExpirationTime')
|
|
23867
23891
|
if m.get('InstanceId') is not None:
|
|
23868
23892
|
self.instance_id = m.get('InstanceId')
|
|
23869
23893
|
if m.get('LastUsedTime') is not None:
|
|
@@ -25594,6 +25618,7 @@ class SetApplicationSsoConfigRequestOidcSsoConfig(TeaModel):
|
|
|
25594
25618
|
def __init__(
|
|
25595
25619
|
self,
|
|
25596
25620
|
access_token_effective_time: int = None,
|
|
25621
|
+
allowed_public_client: bool = None,
|
|
25597
25622
|
code_effective_time: int = None,
|
|
25598
25623
|
custom_claims: List[SetApplicationSsoConfigRequestOidcSsoConfigCustomClaims] = None,
|
|
25599
25624
|
grant_scopes: List[str] = None,
|
|
@@ -25611,6 +25636,7 @@ class SetApplicationSsoConfigRequestOidcSsoConfig(TeaModel):
|
|
|
25611
25636
|
):
|
|
25612
25637
|
# The validity period of the issued access token. Unit: seconds. Default value: 1200.
|
|
25613
25638
|
self.access_token_effective_time = access_token_effective_time
|
|
25639
|
+
self.allowed_public_client = allowed_public_client
|
|
25614
25640
|
# The validity period of the issued code. Unit: seconds. Default value: 60.
|
|
25615
25641
|
self.code_effective_time = code_effective_time
|
|
25616
25642
|
# The custom claims that are returned for the ID token.
|
|
@@ -25654,6 +25680,8 @@ class SetApplicationSsoConfigRequestOidcSsoConfig(TeaModel):
|
|
|
25654
25680
|
result = dict()
|
|
25655
25681
|
if self.access_token_effective_time is not None:
|
|
25656
25682
|
result['AccessTokenEffectiveTime'] = self.access_token_effective_time
|
|
25683
|
+
if self.allowed_public_client is not None:
|
|
25684
|
+
result['AllowedPublicClient'] = self.allowed_public_client
|
|
25657
25685
|
if self.code_effective_time is not None:
|
|
25658
25686
|
result['CodeEffectiveTime'] = self.code_effective_time
|
|
25659
25687
|
result['CustomClaims'] = []
|
|
@@ -25690,6 +25718,8 @@ class SetApplicationSsoConfigRequestOidcSsoConfig(TeaModel):
|
|
|
25690
25718
|
m = m or dict()
|
|
25691
25719
|
if m.get('AccessTokenEffectiveTime') is not None:
|
|
25692
25720
|
self.access_token_effective_time = m.get('AccessTokenEffectiveTime')
|
|
25721
|
+
if m.get('AllowedPublicClient') is not None:
|
|
25722
|
+
self.allowed_public_client = m.get('AllowedPublicClient')
|
|
25693
25723
|
if m.get('CodeEffectiveTime') is not None:
|
|
25694
25724
|
self.code_effective_time = m.get('CodeEffectiveTime')
|
|
25695
25725
|
self.custom_claims = []
|
|
@@ -27584,6 +27614,131 @@ class UpdateApplicationAuthorizationTypeResponse(TeaModel):
|
|
|
27584
27614
|
return self
|
|
27585
27615
|
|
|
27586
27616
|
|
|
27617
|
+
class UpdateApplicationClientSecretExpirationTimeRequest(TeaModel):
|
|
27618
|
+
def __init__(
|
|
27619
|
+
self,
|
|
27620
|
+
application_id: str = None,
|
|
27621
|
+
expiration_time: int = None,
|
|
27622
|
+
instance_id: str = None,
|
|
27623
|
+
secret_id: str = None,
|
|
27624
|
+
):
|
|
27625
|
+
# IDaaS的应用资源ID。
|
|
27626
|
+
#
|
|
27627
|
+
# This parameter is required.
|
|
27628
|
+
self.application_id = application_id
|
|
27629
|
+
# client secret的有效期时间,Unix时间戳格式,单位为毫秒
|
|
27630
|
+
#
|
|
27631
|
+
# This parameter is required.
|
|
27632
|
+
self.expiration_time = expiration_time
|
|
27633
|
+
# IDaaS EIAM实例的ID。
|
|
27634
|
+
#
|
|
27635
|
+
# This parameter is required.
|
|
27636
|
+
self.instance_id = instance_id
|
|
27637
|
+
# OIDC 场景下用于客户端身份验证的客户端密钥
|
|
27638
|
+
#
|
|
27639
|
+
# This parameter is required.
|
|
27640
|
+
self.secret_id = secret_id
|
|
27641
|
+
|
|
27642
|
+
def validate(self):
|
|
27643
|
+
pass
|
|
27644
|
+
|
|
27645
|
+
def to_map(self):
|
|
27646
|
+
_map = super().to_map()
|
|
27647
|
+
if _map is not None:
|
|
27648
|
+
return _map
|
|
27649
|
+
|
|
27650
|
+
result = dict()
|
|
27651
|
+
if self.application_id is not None:
|
|
27652
|
+
result['ApplicationId'] = self.application_id
|
|
27653
|
+
if self.expiration_time is not None:
|
|
27654
|
+
result['ExpirationTime'] = self.expiration_time
|
|
27655
|
+
if self.instance_id is not None:
|
|
27656
|
+
result['InstanceId'] = self.instance_id
|
|
27657
|
+
if self.secret_id is not None:
|
|
27658
|
+
result['SecretId'] = self.secret_id
|
|
27659
|
+
return result
|
|
27660
|
+
|
|
27661
|
+
def from_map(self, m: dict = None):
|
|
27662
|
+
m = m or dict()
|
|
27663
|
+
if m.get('ApplicationId') is not None:
|
|
27664
|
+
self.application_id = m.get('ApplicationId')
|
|
27665
|
+
if m.get('ExpirationTime') is not None:
|
|
27666
|
+
self.expiration_time = m.get('ExpirationTime')
|
|
27667
|
+
if m.get('InstanceId') is not None:
|
|
27668
|
+
self.instance_id = m.get('InstanceId')
|
|
27669
|
+
if m.get('SecretId') is not None:
|
|
27670
|
+
self.secret_id = m.get('SecretId')
|
|
27671
|
+
return self
|
|
27672
|
+
|
|
27673
|
+
|
|
27674
|
+
class UpdateApplicationClientSecretExpirationTimeResponseBody(TeaModel):
|
|
27675
|
+
def __init__(
|
|
27676
|
+
self,
|
|
27677
|
+
request_id: str = None,
|
|
27678
|
+
):
|
|
27679
|
+
self.request_id = request_id
|
|
27680
|
+
|
|
27681
|
+
def validate(self):
|
|
27682
|
+
pass
|
|
27683
|
+
|
|
27684
|
+
def to_map(self):
|
|
27685
|
+
_map = super().to_map()
|
|
27686
|
+
if _map is not None:
|
|
27687
|
+
return _map
|
|
27688
|
+
|
|
27689
|
+
result = dict()
|
|
27690
|
+
if self.request_id is not None:
|
|
27691
|
+
result['RequestId'] = self.request_id
|
|
27692
|
+
return result
|
|
27693
|
+
|
|
27694
|
+
def from_map(self, m: dict = None):
|
|
27695
|
+
m = m or dict()
|
|
27696
|
+
if m.get('RequestId') is not None:
|
|
27697
|
+
self.request_id = m.get('RequestId')
|
|
27698
|
+
return self
|
|
27699
|
+
|
|
27700
|
+
|
|
27701
|
+
class UpdateApplicationClientSecretExpirationTimeResponse(TeaModel):
|
|
27702
|
+
def __init__(
|
|
27703
|
+
self,
|
|
27704
|
+
headers: Dict[str, str] = None,
|
|
27705
|
+
status_code: int = None,
|
|
27706
|
+
body: UpdateApplicationClientSecretExpirationTimeResponseBody = None,
|
|
27707
|
+
):
|
|
27708
|
+
self.headers = headers
|
|
27709
|
+
self.status_code = status_code
|
|
27710
|
+
self.body = body
|
|
27711
|
+
|
|
27712
|
+
def validate(self):
|
|
27713
|
+
if self.body:
|
|
27714
|
+
self.body.validate()
|
|
27715
|
+
|
|
27716
|
+
def to_map(self):
|
|
27717
|
+
_map = super().to_map()
|
|
27718
|
+
if _map is not None:
|
|
27719
|
+
return _map
|
|
27720
|
+
|
|
27721
|
+
result = dict()
|
|
27722
|
+
if self.headers is not None:
|
|
27723
|
+
result['headers'] = self.headers
|
|
27724
|
+
if self.status_code is not None:
|
|
27725
|
+
result['statusCode'] = self.status_code
|
|
27726
|
+
if self.body is not None:
|
|
27727
|
+
result['body'] = self.body.to_map()
|
|
27728
|
+
return result
|
|
27729
|
+
|
|
27730
|
+
def from_map(self, m: dict = None):
|
|
27731
|
+
m = m or dict()
|
|
27732
|
+
if m.get('headers') is not None:
|
|
27733
|
+
self.headers = m.get('headers')
|
|
27734
|
+
if m.get('statusCode') is not None:
|
|
27735
|
+
self.status_code = m.get('statusCode')
|
|
27736
|
+
if m.get('body') is not None:
|
|
27737
|
+
temp_model = UpdateApplicationClientSecretExpirationTimeResponseBody()
|
|
27738
|
+
self.body = temp_model.from_map(m['body'])
|
|
27739
|
+
return self
|
|
27740
|
+
|
|
27741
|
+
|
|
27587
27742
|
class UpdateApplicationDescriptionRequest(TeaModel):
|
|
27588
27743
|
def __init__(
|
|
27589
27744
|
self,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_eiam20211201/__init__.py,sha256=qOLPkF9ML1P0Gnk7lzxdWya5j7lMa68Rhw8XTb2K0SY,21
|
|
2
|
+
alibabacloud_eiam20211201/client.py,sha256=kmipzb1h1ikGRYDyeHiifomN_JPIhTv7uQAD909bKqc,629202
|
|
3
|
+
alibabacloud_eiam20211201/models.py,sha256=6XX677kSYA23DeaFcoFMF4ahrlOarSKGvKdKHZb_fIw,1063766
|
|
4
|
+
alibabacloud_eiam20211201-2.1.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_eiam20211201-2.1.0.dist-info/METADATA,sha256=0OV3SeaNNvGAmBeVyush_qwxvtXm8IxhgWeGwNGjgxU,2319
|
|
6
|
+
alibabacloud_eiam20211201-2.1.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_eiam20211201-2.1.0.dist-info/top_level.txt,sha256=xKHBhu7RrmpWSYLSKKu2KBqRNZs1NsYQJN3isv5EYHU,26
|
|
8
|
+
alibabacloud_eiam20211201-2.1.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_eiam20211201/__init__.py,sha256=JaD6MMusT9BYu4AEtfuRyMks5Czzea-gqEuIwdr_Jig,21
|
|
2
|
-
alibabacloud_eiam20211201/client.py,sha256=tMB3I_jkNCd9djQfPYiAbq4jz4S7f4Zj12fbRcWe9_8,624080
|
|
3
|
-
alibabacloud_eiam20211201/models.py,sha256=p0NQSIZBbuyc-Axo2hZK-4uDbQ-orXuEF6dbdEyOot0,1058360
|
|
4
|
-
alibabacloud_eiam20211201-2.0.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_eiam20211201-2.0.1.dist-info/METADATA,sha256=AssFBX7yjqVNMC7U7g9dHz6UswSQOrXgsCEizpox9xk,2319
|
|
6
|
-
alibabacloud_eiam20211201-2.0.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_eiam20211201-2.0.1.dist-info/top_level.txt,sha256=xKHBhu7RrmpWSYLSKKu2KBqRNZs1NsYQJN3isv5EYHU,26
|
|
8
|
-
alibabacloud_eiam20211201-2.0.1.dist-info/RECORD,,
|
{alibabacloud_eiam20211201-2.0.1.dist-info → alibabacloud_eiam20211201-2.1.0.dist-info}/LICENSE
RENAMED
|
File without changes
|
{alibabacloud_eiam20211201-2.0.1.dist-info → alibabacloud_eiam20211201-2.1.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|