alibabacloud-eiam20211201 2.6.1__py3-none-any.whl → 2.7.1__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 +204 -0
- alibabacloud_eiam20211201/models.py +351 -0
- {alibabacloud_eiam20211201-2.6.1.dist-info → alibabacloud_eiam20211201-2.7.1.dist-info}/METADATA +1 -1
- alibabacloud_eiam20211201-2.7.1.dist-info/RECORD +8 -0
- alibabacloud_eiam20211201-2.6.1.dist-info/RECORD +0 -8
- {alibabacloud_eiam20211201-2.6.1.dist-info → alibabacloud_eiam20211201-2.7.1.dist-info}/LICENSE +0 -0
- {alibabacloud_eiam20211201-2.6.1.dist-info → alibabacloud_eiam20211201-2.7.1.dist-info}/WHEEL +0 -0
- {alibabacloud_eiam20211201-2.6.1.dist-info → alibabacloud_eiam20211201-2.7.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.
|
|
1
|
+
__version__ = '2.7.1'
|
|
@@ -8089,6 +8089,106 @@ class Client(OpenApiClient):
|
|
|
8089
8089
|
runtime = util_models.RuntimeOptions()
|
|
8090
8090
|
return await self.get_application_with_options_async(request, runtime)
|
|
8091
8091
|
|
|
8092
|
+
def get_application_advanced_config_with_options(
|
|
8093
|
+
self,
|
|
8094
|
+
request: eiam_20211201_models.GetApplicationAdvancedConfigRequest,
|
|
8095
|
+
runtime: util_models.RuntimeOptions,
|
|
8096
|
+
) -> eiam_20211201_models.GetApplicationAdvancedConfigResponse:
|
|
8097
|
+
"""
|
|
8098
|
+
@summary 获取应用高阶配置
|
|
8099
|
+
|
|
8100
|
+
@param request: GetApplicationAdvancedConfigRequest
|
|
8101
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
8102
|
+
@return: GetApplicationAdvancedConfigResponse
|
|
8103
|
+
"""
|
|
8104
|
+
UtilClient.validate_model(request)
|
|
8105
|
+
query = {}
|
|
8106
|
+
if not UtilClient.is_unset(request.application_id):
|
|
8107
|
+
query['ApplicationId'] = request.application_id
|
|
8108
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
8109
|
+
query['InstanceId'] = request.instance_id
|
|
8110
|
+
req = open_api_models.OpenApiRequest(
|
|
8111
|
+
query=OpenApiUtilClient.query(query)
|
|
8112
|
+
)
|
|
8113
|
+
params = open_api_models.Params(
|
|
8114
|
+
action='GetApplicationAdvancedConfig',
|
|
8115
|
+
version='2021-12-01',
|
|
8116
|
+
protocol='HTTPS',
|
|
8117
|
+
pathname='/',
|
|
8118
|
+
method='POST',
|
|
8119
|
+
auth_type='AK',
|
|
8120
|
+
style='RPC',
|
|
8121
|
+
req_body_type='formData',
|
|
8122
|
+
body_type='json'
|
|
8123
|
+
)
|
|
8124
|
+
return TeaCore.from_map(
|
|
8125
|
+
eiam_20211201_models.GetApplicationAdvancedConfigResponse(),
|
|
8126
|
+
self.call_api(params, req, runtime)
|
|
8127
|
+
)
|
|
8128
|
+
|
|
8129
|
+
async def get_application_advanced_config_with_options_async(
|
|
8130
|
+
self,
|
|
8131
|
+
request: eiam_20211201_models.GetApplicationAdvancedConfigRequest,
|
|
8132
|
+
runtime: util_models.RuntimeOptions,
|
|
8133
|
+
) -> eiam_20211201_models.GetApplicationAdvancedConfigResponse:
|
|
8134
|
+
"""
|
|
8135
|
+
@summary 获取应用高阶配置
|
|
8136
|
+
|
|
8137
|
+
@param request: GetApplicationAdvancedConfigRequest
|
|
8138
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
8139
|
+
@return: GetApplicationAdvancedConfigResponse
|
|
8140
|
+
"""
|
|
8141
|
+
UtilClient.validate_model(request)
|
|
8142
|
+
query = {}
|
|
8143
|
+
if not UtilClient.is_unset(request.application_id):
|
|
8144
|
+
query['ApplicationId'] = request.application_id
|
|
8145
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
8146
|
+
query['InstanceId'] = request.instance_id
|
|
8147
|
+
req = open_api_models.OpenApiRequest(
|
|
8148
|
+
query=OpenApiUtilClient.query(query)
|
|
8149
|
+
)
|
|
8150
|
+
params = open_api_models.Params(
|
|
8151
|
+
action='GetApplicationAdvancedConfig',
|
|
8152
|
+
version='2021-12-01',
|
|
8153
|
+
protocol='HTTPS',
|
|
8154
|
+
pathname='/',
|
|
8155
|
+
method='POST',
|
|
8156
|
+
auth_type='AK',
|
|
8157
|
+
style='RPC',
|
|
8158
|
+
req_body_type='formData',
|
|
8159
|
+
body_type='json'
|
|
8160
|
+
)
|
|
8161
|
+
return TeaCore.from_map(
|
|
8162
|
+
eiam_20211201_models.GetApplicationAdvancedConfigResponse(),
|
|
8163
|
+
await self.call_api_async(params, req, runtime)
|
|
8164
|
+
)
|
|
8165
|
+
|
|
8166
|
+
def get_application_advanced_config(
|
|
8167
|
+
self,
|
|
8168
|
+
request: eiam_20211201_models.GetApplicationAdvancedConfigRequest,
|
|
8169
|
+
) -> eiam_20211201_models.GetApplicationAdvancedConfigResponse:
|
|
8170
|
+
"""
|
|
8171
|
+
@summary 获取应用高阶配置
|
|
8172
|
+
|
|
8173
|
+
@param request: GetApplicationAdvancedConfigRequest
|
|
8174
|
+
@return: GetApplicationAdvancedConfigResponse
|
|
8175
|
+
"""
|
|
8176
|
+
runtime = util_models.RuntimeOptions()
|
|
8177
|
+
return self.get_application_advanced_config_with_options(request, runtime)
|
|
8178
|
+
|
|
8179
|
+
async def get_application_advanced_config_async(
|
|
8180
|
+
self,
|
|
8181
|
+
request: eiam_20211201_models.GetApplicationAdvancedConfigRequest,
|
|
8182
|
+
) -> eiam_20211201_models.GetApplicationAdvancedConfigResponse:
|
|
8183
|
+
"""
|
|
8184
|
+
@summary 获取应用高阶配置
|
|
8185
|
+
|
|
8186
|
+
@param request: GetApplicationAdvancedConfigRequest
|
|
8187
|
+
@return: GetApplicationAdvancedConfigResponse
|
|
8188
|
+
"""
|
|
8189
|
+
runtime = util_models.RuntimeOptions()
|
|
8190
|
+
return await self.get_application_advanced_config_with_options_async(request, runtime)
|
|
8191
|
+
|
|
8092
8192
|
def get_application_federated_credential_with_options(
|
|
8093
8193
|
self,
|
|
8094
8194
|
request: eiam_20211201_models.GetApplicationFederatedCredentialRequest,
|
|
@@ -18687,6 +18787,110 @@ class Client(OpenApiClient):
|
|
|
18687
18787
|
runtime = util_models.RuntimeOptions()
|
|
18688
18788
|
return await self.unlock_user_with_options_async(request, runtime)
|
|
18689
18789
|
|
|
18790
|
+
def update_application_advanced_config_with_options(
|
|
18791
|
+
self,
|
|
18792
|
+
request: eiam_20211201_models.UpdateApplicationAdvancedConfigRequest,
|
|
18793
|
+
runtime: util_models.RuntimeOptions,
|
|
18794
|
+
) -> eiam_20211201_models.UpdateApplicationAdvancedConfigResponse:
|
|
18795
|
+
"""
|
|
18796
|
+
@summary 修改应用高阶配置
|
|
18797
|
+
|
|
18798
|
+
@param request: UpdateApplicationAdvancedConfigRequest
|
|
18799
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
18800
|
+
@return: UpdateApplicationAdvancedConfigResponse
|
|
18801
|
+
"""
|
|
18802
|
+
UtilClient.validate_model(request)
|
|
18803
|
+
query = {}
|
|
18804
|
+
if not UtilClient.is_unset(request.application_id):
|
|
18805
|
+
query['ApplicationId'] = request.application_id
|
|
18806
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
18807
|
+
query['InstanceId'] = request.instance_id
|
|
18808
|
+
if not UtilClient.is_unset(request.scim_server_advanced_config):
|
|
18809
|
+
query['ScimServerAdvancedConfig'] = request.scim_server_advanced_config
|
|
18810
|
+
req = open_api_models.OpenApiRequest(
|
|
18811
|
+
query=OpenApiUtilClient.query(query)
|
|
18812
|
+
)
|
|
18813
|
+
params = open_api_models.Params(
|
|
18814
|
+
action='UpdateApplicationAdvancedConfig',
|
|
18815
|
+
version='2021-12-01',
|
|
18816
|
+
protocol='HTTPS',
|
|
18817
|
+
pathname='/',
|
|
18818
|
+
method='POST',
|
|
18819
|
+
auth_type='AK',
|
|
18820
|
+
style='RPC',
|
|
18821
|
+
req_body_type='formData',
|
|
18822
|
+
body_type='json'
|
|
18823
|
+
)
|
|
18824
|
+
return TeaCore.from_map(
|
|
18825
|
+
eiam_20211201_models.UpdateApplicationAdvancedConfigResponse(),
|
|
18826
|
+
self.call_api(params, req, runtime)
|
|
18827
|
+
)
|
|
18828
|
+
|
|
18829
|
+
async def update_application_advanced_config_with_options_async(
|
|
18830
|
+
self,
|
|
18831
|
+
request: eiam_20211201_models.UpdateApplicationAdvancedConfigRequest,
|
|
18832
|
+
runtime: util_models.RuntimeOptions,
|
|
18833
|
+
) -> eiam_20211201_models.UpdateApplicationAdvancedConfigResponse:
|
|
18834
|
+
"""
|
|
18835
|
+
@summary 修改应用高阶配置
|
|
18836
|
+
|
|
18837
|
+
@param request: UpdateApplicationAdvancedConfigRequest
|
|
18838
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
18839
|
+
@return: UpdateApplicationAdvancedConfigResponse
|
|
18840
|
+
"""
|
|
18841
|
+
UtilClient.validate_model(request)
|
|
18842
|
+
query = {}
|
|
18843
|
+
if not UtilClient.is_unset(request.application_id):
|
|
18844
|
+
query['ApplicationId'] = request.application_id
|
|
18845
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
18846
|
+
query['InstanceId'] = request.instance_id
|
|
18847
|
+
if not UtilClient.is_unset(request.scim_server_advanced_config):
|
|
18848
|
+
query['ScimServerAdvancedConfig'] = request.scim_server_advanced_config
|
|
18849
|
+
req = open_api_models.OpenApiRequest(
|
|
18850
|
+
query=OpenApiUtilClient.query(query)
|
|
18851
|
+
)
|
|
18852
|
+
params = open_api_models.Params(
|
|
18853
|
+
action='UpdateApplicationAdvancedConfig',
|
|
18854
|
+
version='2021-12-01',
|
|
18855
|
+
protocol='HTTPS',
|
|
18856
|
+
pathname='/',
|
|
18857
|
+
method='POST',
|
|
18858
|
+
auth_type='AK',
|
|
18859
|
+
style='RPC',
|
|
18860
|
+
req_body_type='formData',
|
|
18861
|
+
body_type='json'
|
|
18862
|
+
)
|
|
18863
|
+
return TeaCore.from_map(
|
|
18864
|
+
eiam_20211201_models.UpdateApplicationAdvancedConfigResponse(),
|
|
18865
|
+
await self.call_api_async(params, req, runtime)
|
|
18866
|
+
)
|
|
18867
|
+
|
|
18868
|
+
def update_application_advanced_config(
|
|
18869
|
+
self,
|
|
18870
|
+
request: eiam_20211201_models.UpdateApplicationAdvancedConfigRequest,
|
|
18871
|
+
) -> eiam_20211201_models.UpdateApplicationAdvancedConfigResponse:
|
|
18872
|
+
"""
|
|
18873
|
+
@summary 修改应用高阶配置
|
|
18874
|
+
|
|
18875
|
+
@param request: UpdateApplicationAdvancedConfigRequest
|
|
18876
|
+
@return: UpdateApplicationAdvancedConfigResponse
|
|
18877
|
+
"""
|
|
18878
|
+
runtime = util_models.RuntimeOptions()
|
|
18879
|
+
return self.update_application_advanced_config_with_options(request, runtime)
|
|
18880
|
+
|
|
18881
|
+
async def update_application_advanced_config_async(
|
|
18882
|
+
self,
|
|
18883
|
+
request: eiam_20211201_models.UpdateApplicationAdvancedConfigRequest,
|
|
18884
|
+
) -> eiam_20211201_models.UpdateApplicationAdvancedConfigResponse:
|
|
18885
|
+
"""
|
|
18886
|
+
@summary 修改应用高阶配置
|
|
18887
|
+
|
|
18888
|
+
@param request: UpdateApplicationAdvancedConfigRequest
|
|
18889
|
+
@return: UpdateApplicationAdvancedConfigResponse
|
|
18890
|
+
"""
|
|
18891
|
+
runtime = util_models.RuntimeOptions()
|
|
18892
|
+
return await self.update_application_advanced_config_with_options_async(request, runtime)
|
|
18893
|
+
|
|
18690
18894
|
def update_application_authorization_type_with_options(
|
|
18691
18895
|
self,
|
|
18692
18896
|
request: eiam_20211201_models.UpdateApplicationAuthorizationTypeRequest,
|
|
@@ -11166,6 +11166,200 @@ class GetApplicationResponse(TeaModel):
|
|
|
11166
11166
|
return self
|
|
11167
11167
|
|
|
11168
11168
|
|
|
11169
|
+
class GetApplicationAdvancedConfigRequest(TeaModel):
|
|
11170
|
+
def __init__(
|
|
11171
|
+
self,
|
|
11172
|
+
application_id: str = None,
|
|
11173
|
+
instance_id: str = None,
|
|
11174
|
+
):
|
|
11175
|
+
# IDaaS的应用资源ID。
|
|
11176
|
+
#
|
|
11177
|
+
# This parameter is required.
|
|
11178
|
+
self.application_id = application_id
|
|
11179
|
+
# IDaaS EIAM实例的ID。
|
|
11180
|
+
#
|
|
11181
|
+
# This parameter is required.
|
|
11182
|
+
self.instance_id = instance_id
|
|
11183
|
+
|
|
11184
|
+
def validate(self):
|
|
11185
|
+
pass
|
|
11186
|
+
|
|
11187
|
+
def to_map(self):
|
|
11188
|
+
_map = super().to_map()
|
|
11189
|
+
if _map is not None:
|
|
11190
|
+
return _map
|
|
11191
|
+
|
|
11192
|
+
result = dict()
|
|
11193
|
+
if self.application_id is not None:
|
|
11194
|
+
result['ApplicationId'] = self.application_id
|
|
11195
|
+
if self.instance_id is not None:
|
|
11196
|
+
result['InstanceId'] = self.instance_id
|
|
11197
|
+
return result
|
|
11198
|
+
|
|
11199
|
+
def from_map(self, m: dict = None):
|
|
11200
|
+
m = m or dict()
|
|
11201
|
+
if m.get('ApplicationId') is not None:
|
|
11202
|
+
self.application_id = m.get('ApplicationId')
|
|
11203
|
+
if m.get('InstanceId') is not None:
|
|
11204
|
+
self.instance_id = m.get('InstanceId')
|
|
11205
|
+
return self
|
|
11206
|
+
|
|
11207
|
+
|
|
11208
|
+
class GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfigScimServerAdvancedConfig(TeaModel):
|
|
11209
|
+
def __init__(
|
|
11210
|
+
self,
|
|
11211
|
+
supported_user_custom_field_ids: List[str] = None,
|
|
11212
|
+
user_custom_field_namespace: str = None,
|
|
11213
|
+
):
|
|
11214
|
+
# 支持的用户自定义字段ID列表。
|
|
11215
|
+
self.supported_user_custom_field_ids = supported_user_custom_field_ids
|
|
11216
|
+
# 用户扩展字段的命名空间。
|
|
11217
|
+
self.user_custom_field_namespace = user_custom_field_namespace
|
|
11218
|
+
|
|
11219
|
+
def validate(self):
|
|
11220
|
+
pass
|
|
11221
|
+
|
|
11222
|
+
def to_map(self):
|
|
11223
|
+
_map = super().to_map()
|
|
11224
|
+
if _map is not None:
|
|
11225
|
+
return _map
|
|
11226
|
+
|
|
11227
|
+
result = dict()
|
|
11228
|
+
if self.supported_user_custom_field_ids is not None:
|
|
11229
|
+
result['SupportedUserCustomFieldIds'] = self.supported_user_custom_field_ids
|
|
11230
|
+
if self.user_custom_field_namespace is not None:
|
|
11231
|
+
result['UserCustomFieldNamespace'] = self.user_custom_field_namespace
|
|
11232
|
+
return result
|
|
11233
|
+
|
|
11234
|
+
def from_map(self, m: dict = None):
|
|
11235
|
+
m = m or dict()
|
|
11236
|
+
if m.get('SupportedUserCustomFieldIds') is not None:
|
|
11237
|
+
self.supported_user_custom_field_ids = m.get('SupportedUserCustomFieldIds')
|
|
11238
|
+
if m.get('UserCustomFieldNamespace') is not None:
|
|
11239
|
+
self.user_custom_field_namespace = m.get('UserCustomFieldNamespace')
|
|
11240
|
+
return self
|
|
11241
|
+
|
|
11242
|
+
|
|
11243
|
+
class GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfig(TeaModel):
|
|
11244
|
+
def __init__(
|
|
11245
|
+
self,
|
|
11246
|
+
application_id: str = None,
|
|
11247
|
+
instance_id: str = None,
|
|
11248
|
+
scim_server_advanced_config: GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfigScimServerAdvancedConfig = None,
|
|
11249
|
+
):
|
|
11250
|
+
# IDaaS EIAM 应用Id
|
|
11251
|
+
self.application_id = application_id
|
|
11252
|
+
# IDaaS EIAM 实例Id
|
|
11253
|
+
self.instance_id = instance_id
|
|
11254
|
+
# Scim Server 高阶配置
|
|
11255
|
+
self.scim_server_advanced_config = scim_server_advanced_config
|
|
11256
|
+
|
|
11257
|
+
def validate(self):
|
|
11258
|
+
if self.scim_server_advanced_config:
|
|
11259
|
+
self.scim_server_advanced_config.validate()
|
|
11260
|
+
|
|
11261
|
+
def to_map(self):
|
|
11262
|
+
_map = super().to_map()
|
|
11263
|
+
if _map is not None:
|
|
11264
|
+
return _map
|
|
11265
|
+
|
|
11266
|
+
result = dict()
|
|
11267
|
+
if self.application_id is not None:
|
|
11268
|
+
result['ApplicationId'] = self.application_id
|
|
11269
|
+
if self.instance_id is not None:
|
|
11270
|
+
result['InstanceId'] = self.instance_id
|
|
11271
|
+
if self.scim_server_advanced_config is not None:
|
|
11272
|
+
result['ScimServerAdvancedConfig'] = self.scim_server_advanced_config.to_map()
|
|
11273
|
+
return result
|
|
11274
|
+
|
|
11275
|
+
def from_map(self, m: dict = None):
|
|
11276
|
+
m = m or dict()
|
|
11277
|
+
if m.get('ApplicationId') is not None:
|
|
11278
|
+
self.application_id = m.get('ApplicationId')
|
|
11279
|
+
if m.get('InstanceId') is not None:
|
|
11280
|
+
self.instance_id = m.get('InstanceId')
|
|
11281
|
+
if m.get('ScimServerAdvancedConfig') is not None:
|
|
11282
|
+
temp_model = GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfigScimServerAdvancedConfig()
|
|
11283
|
+
self.scim_server_advanced_config = temp_model.from_map(m['ScimServerAdvancedConfig'])
|
|
11284
|
+
return self
|
|
11285
|
+
|
|
11286
|
+
|
|
11287
|
+
class GetApplicationAdvancedConfigResponseBody(TeaModel):
|
|
11288
|
+
def __init__(
|
|
11289
|
+
self,
|
|
11290
|
+
application_advanced_config: GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfig = None,
|
|
11291
|
+
request_id: str = None,
|
|
11292
|
+
):
|
|
11293
|
+
self.application_advanced_config = application_advanced_config
|
|
11294
|
+
self.request_id = request_id
|
|
11295
|
+
|
|
11296
|
+
def validate(self):
|
|
11297
|
+
if self.application_advanced_config:
|
|
11298
|
+
self.application_advanced_config.validate()
|
|
11299
|
+
|
|
11300
|
+
def to_map(self):
|
|
11301
|
+
_map = super().to_map()
|
|
11302
|
+
if _map is not None:
|
|
11303
|
+
return _map
|
|
11304
|
+
|
|
11305
|
+
result = dict()
|
|
11306
|
+
if self.application_advanced_config is not None:
|
|
11307
|
+
result['ApplicationAdvancedConfig'] = self.application_advanced_config.to_map()
|
|
11308
|
+
if self.request_id is not None:
|
|
11309
|
+
result['RequestId'] = self.request_id
|
|
11310
|
+
return result
|
|
11311
|
+
|
|
11312
|
+
def from_map(self, m: dict = None):
|
|
11313
|
+
m = m or dict()
|
|
11314
|
+
if m.get('ApplicationAdvancedConfig') is not None:
|
|
11315
|
+
temp_model = GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfig()
|
|
11316
|
+
self.application_advanced_config = temp_model.from_map(m['ApplicationAdvancedConfig'])
|
|
11317
|
+
if m.get('RequestId') is not None:
|
|
11318
|
+
self.request_id = m.get('RequestId')
|
|
11319
|
+
return self
|
|
11320
|
+
|
|
11321
|
+
|
|
11322
|
+
class GetApplicationAdvancedConfigResponse(TeaModel):
|
|
11323
|
+
def __init__(
|
|
11324
|
+
self,
|
|
11325
|
+
headers: Dict[str, str] = None,
|
|
11326
|
+
status_code: int = None,
|
|
11327
|
+
body: GetApplicationAdvancedConfigResponseBody = None,
|
|
11328
|
+
):
|
|
11329
|
+
self.headers = headers
|
|
11330
|
+
self.status_code = status_code
|
|
11331
|
+
self.body = body
|
|
11332
|
+
|
|
11333
|
+
def validate(self):
|
|
11334
|
+
if self.body:
|
|
11335
|
+
self.body.validate()
|
|
11336
|
+
|
|
11337
|
+
def to_map(self):
|
|
11338
|
+
_map = super().to_map()
|
|
11339
|
+
if _map is not None:
|
|
11340
|
+
return _map
|
|
11341
|
+
|
|
11342
|
+
result = dict()
|
|
11343
|
+
if self.headers is not None:
|
|
11344
|
+
result['headers'] = self.headers
|
|
11345
|
+
if self.status_code is not None:
|
|
11346
|
+
result['statusCode'] = self.status_code
|
|
11347
|
+
if self.body is not None:
|
|
11348
|
+
result['body'] = self.body.to_map()
|
|
11349
|
+
return result
|
|
11350
|
+
|
|
11351
|
+
def from_map(self, m: dict = None):
|
|
11352
|
+
m = m or dict()
|
|
11353
|
+
if m.get('headers') is not None:
|
|
11354
|
+
self.headers = m.get('headers')
|
|
11355
|
+
if m.get('statusCode') is not None:
|
|
11356
|
+
self.status_code = m.get('statusCode')
|
|
11357
|
+
if m.get('body') is not None:
|
|
11358
|
+
temp_model = GetApplicationAdvancedConfigResponseBody()
|
|
11359
|
+
self.body = temp_model.from_map(m['body'])
|
|
11360
|
+
return self
|
|
11361
|
+
|
|
11362
|
+
|
|
11169
11363
|
class GetApplicationFederatedCredentialRequest(TeaModel):
|
|
11170
11364
|
def __init__(
|
|
11171
11365
|
self,
|
|
@@ -33285,6 +33479,7 @@ class ListUserAuthnSourceMappingsResponseBodyUserAuthnSourceMappings(TeaModel):
|
|
|
33285
33479
|
self,
|
|
33286
33480
|
authn_source_type: str = None,
|
|
33287
33481
|
create_time: int = None,
|
|
33482
|
+
external_data: str = None,
|
|
33288
33483
|
identity_provider_id: str = None,
|
|
33289
33484
|
instance_id: str = None,
|
|
33290
33485
|
update_time: int = None,
|
|
@@ -33295,6 +33490,7 @@ class ListUserAuthnSourceMappingsResponseBodyUserAuthnSourceMappings(TeaModel):
|
|
|
33295
33490
|
self.authn_source_type = authn_source_type
|
|
33296
33491
|
# 创建时间
|
|
33297
33492
|
self.create_time = create_time
|
|
33493
|
+
self.external_data = external_data
|
|
33298
33494
|
# 来源Idp Id
|
|
33299
33495
|
self.identity_provider_id = identity_provider_id
|
|
33300
33496
|
# 实例Id
|
|
@@ -33319,6 +33515,8 @@ class ListUserAuthnSourceMappingsResponseBodyUserAuthnSourceMappings(TeaModel):
|
|
|
33319
33515
|
result['AuthnSourceType'] = self.authn_source_type
|
|
33320
33516
|
if self.create_time is not None:
|
|
33321
33517
|
result['CreateTime'] = self.create_time
|
|
33518
|
+
if self.external_data is not None:
|
|
33519
|
+
result['ExternalData'] = self.external_data
|
|
33322
33520
|
if self.identity_provider_id is not None:
|
|
33323
33521
|
result['IdentityProviderId'] = self.identity_provider_id
|
|
33324
33522
|
if self.instance_id is not None:
|
|
@@ -33337,6 +33535,8 @@ class ListUserAuthnSourceMappingsResponseBodyUserAuthnSourceMappings(TeaModel):
|
|
|
33337
33535
|
self.authn_source_type = m.get('AuthnSourceType')
|
|
33338
33536
|
if m.get('CreateTime') is not None:
|
|
33339
33537
|
self.create_time = m.get('CreateTime')
|
|
33538
|
+
if m.get('ExternalData') is not None:
|
|
33539
|
+
self.external_data = m.get('ExternalData')
|
|
33340
33540
|
if m.get('IdentityProviderId') is not None:
|
|
33341
33541
|
self.identity_provider_id = m.get('IdentityProviderId')
|
|
33342
33542
|
if m.get('InstanceId') is not None:
|
|
@@ -38645,6 +38845,157 @@ class UnlockUserResponse(TeaModel):
|
|
|
38645
38845
|
return self
|
|
38646
38846
|
|
|
38647
38847
|
|
|
38848
|
+
class UpdateApplicationAdvancedConfigRequestScimServerAdvancedConfig(TeaModel):
|
|
38849
|
+
def __init__(
|
|
38850
|
+
self,
|
|
38851
|
+
supported_user_custom_field_ids: List[str] = None,
|
|
38852
|
+
user_custom_field_namespace: str = None,
|
|
38853
|
+
):
|
|
38854
|
+
# 支持的用户自定义字段ID列表。
|
|
38855
|
+
self.supported_user_custom_field_ids = supported_user_custom_field_ids
|
|
38856
|
+
# 用户扩展字段的命名空间。
|
|
38857
|
+
self.user_custom_field_namespace = user_custom_field_namespace
|
|
38858
|
+
|
|
38859
|
+
def validate(self):
|
|
38860
|
+
pass
|
|
38861
|
+
|
|
38862
|
+
def to_map(self):
|
|
38863
|
+
_map = super().to_map()
|
|
38864
|
+
if _map is not None:
|
|
38865
|
+
return _map
|
|
38866
|
+
|
|
38867
|
+
result = dict()
|
|
38868
|
+
if self.supported_user_custom_field_ids is not None:
|
|
38869
|
+
result['SupportedUserCustomFieldIds'] = self.supported_user_custom_field_ids
|
|
38870
|
+
if self.user_custom_field_namespace is not None:
|
|
38871
|
+
result['UserCustomFieldNamespace'] = self.user_custom_field_namespace
|
|
38872
|
+
return result
|
|
38873
|
+
|
|
38874
|
+
def from_map(self, m: dict = None):
|
|
38875
|
+
m = m or dict()
|
|
38876
|
+
if m.get('SupportedUserCustomFieldIds') is not None:
|
|
38877
|
+
self.supported_user_custom_field_ids = m.get('SupportedUserCustomFieldIds')
|
|
38878
|
+
if m.get('UserCustomFieldNamespace') is not None:
|
|
38879
|
+
self.user_custom_field_namespace = m.get('UserCustomFieldNamespace')
|
|
38880
|
+
return self
|
|
38881
|
+
|
|
38882
|
+
|
|
38883
|
+
class UpdateApplicationAdvancedConfigRequest(TeaModel):
|
|
38884
|
+
def __init__(
|
|
38885
|
+
self,
|
|
38886
|
+
application_id: str = None,
|
|
38887
|
+
instance_id: str = None,
|
|
38888
|
+
scim_server_advanced_config: UpdateApplicationAdvancedConfigRequestScimServerAdvancedConfig = None,
|
|
38889
|
+
):
|
|
38890
|
+
# IDaaS的应用资源ID。
|
|
38891
|
+
#
|
|
38892
|
+
# This parameter is required.
|
|
38893
|
+
self.application_id = application_id
|
|
38894
|
+
# IDaaS EIAM实例的ID。
|
|
38895
|
+
#
|
|
38896
|
+
# This parameter is required.
|
|
38897
|
+
self.instance_id = instance_id
|
|
38898
|
+
# Scim Server 高阶配置
|
|
38899
|
+
self.scim_server_advanced_config = scim_server_advanced_config
|
|
38900
|
+
|
|
38901
|
+
def validate(self):
|
|
38902
|
+
if self.scim_server_advanced_config:
|
|
38903
|
+
self.scim_server_advanced_config.validate()
|
|
38904
|
+
|
|
38905
|
+
def to_map(self):
|
|
38906
|
+
_map = super().to_map()
|
|
38907
|
+
if _map is not None:
|
|
38908
|
+
return _map
|
|
38909
|
+
|
|
38910
|
+
result = dict()
|
|
38911
|
+
if self.application_id is not None:
|
|
38912
|
+
result['ApplicationId'] = self.application_id
|
|
38913
|
+
if self.instance_id is not None:
|
|
38914
|
+
result['InstanceId'] = self.instance_id
|
|
38915
|
+
if self.scim_server_advanced_config is not None:
|
|
38916
|
+
result['ScimServerAdvancedConfig'] = self.scim_server_advanced_config.to_map()
|
|
38917
|
+
return result
|
|
38918
|
+
|
|
38919
|
+
def from_map(self, m: dict = None):
|
|
38920
|
+
m = m or dict()
|
|
38921
|
+
if m.get('ApplicationId') is not None:
|
|
38922
|
+
self.application_id = m.get('ApplicationId')
|
|
38923
|
+
if m.get('InstanceId') is not None:
|
|
38924
|
+
self.instance_id = m.get('InstanceId')
|
|
38925
|
+
if m.get('ScimServerAdvancedConfig') is not None:
|
|
38926
|
+
temp_model = UpdateApplicationAdvancedConfigRequestScimServerAdvancedConfig()
|
|
38927
|
+
self.scim_server_advanced_config = temp_model.from_map(m['ScimServerAdvancedConfig'])
|
|
38928
|
+
return self
|
|
38929
|
+
|
|
38930
|
+
|
|
38931
|
+
class UpdateApplicationAdvancedConfigResponseBody(TeaModel):
|
|
38932
|
+
def __init__(
|
|
38933
|
+
self,
|
|
38934
|
+
request_id: str = None,
|
|
38935
|
+
):
|
|
38936
|
+
self.request_id = request_id
|
|
38937
|
+
|
|
38938
|
+
def validate(self):
|
|
38939
|
+
pass
|
|
38940
|
+
|
|
38941
|
+
def to_map(self):
|
|
38942
|
+
_map = super().to_map()
|
|
38943
|
+
if _map is not None:
|
|
38944
|
+
return _map
|
|
38945
|
+
|
|
38946
|
+
result = dict()
|
|
38947
|
+
if self.request_id is not None:
|
|
38948
|
+
result['RequestId'] = self.request_id
|
|
38949
|
+
return result
|
|
38950
|
+
|
|
38951
|
+
def from_map(self, m: dict = None):
|
|
38952
|
+
m = m or dict()
|
|
38953
|
+
if m.get('RequestId') is not None:
|
|
38954
|
+
self.request_id = m.get('RequestId')
|
|
38955
|
+
return self
|
|
38956
|
+
|
|
38957
|
+
|
|
38958
|
+
class UpdateApplicationAdvancedConfigResponse(TeaModel):
|
|
38959
|
+
def __init__(
|
|
38960
|
+
self,
|
|
38961
|
+
headers: Dict[str, str] = None,
|
|
38962
|
+
status_code: int = None,
|
|
38963
|
+
body: UpdateApplicationAdvancedConfigResponseBody = None,
|
|
38964
|
+
):
|
|
38965
|
+
self.headers = headers
|
|
38966
|
+
self.status_code = status_code
|
|
38967
|
+
self.body = body
|
|
38968
|
+
|
|
38969
|
+
def validate(self):
|
|
38970
|
+
if self.body:
|
|
38971
|
+
self.body.validate()
|
|
38972
|
+
|
|
38973
|
+
def to_map(self):
|
|
38974
|
+
_map = super().to_map()
|
|
38975
|
+
if _map is not None:
|
|
38976
|
+
return _map
|
|
38977
|
+
|
|
38978
|
+
result = dict()
|
|
38979
|
+
if self.headers is not None:
|
|
38980
|
+
result['headers'] = self.headers
|
|
38981
|
+
if self.status_code is not None:
|
|
38982
|
+
result['statusCode'] = self.status_code
|
|
38983
|
+
if self.body is not None:
|
|
38984
|
+
result['body'] = self.body.to_map()
|
|
38985
|
+
return result
|
|
38986
|
+
|
|
38987
|
+
def from_map(self, m: dict = None):
|
|
38988
|
+
m = m or dict()
|
|
38989
|
+
if m.get('headers') is not None:
|
|
38990
|
+
self.headers = m.get('headers')
|
|
38991
|
+
if m.get('statusCode') is not None:
|
|
38992
|
+
self.status_code = m.get('statusCode')
|
|
38993
|
+
if m.get('body') is not None:
|
|
38994
|
+
temp_model = UpdateApplicationAdvancedConfigResponseBody()
|
|
38995
|
+
self.body = temp_model.from_map(m['body'])
|
|
38996
|
+
return self
|
|
38997
|
+
|
|
38998
|
+
|
|
38648
38999
|
class UpdateApplicationAuthorizationTypeRequest(TeaModel):
|
|
38649
39000
|
def __init__(
|
|
38650
39001
|
self,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_eiam20211201/__init__.py,sha256=aV5JpohsWAaICiDMrAKrOqtwdIqdNwXDYXBf8KuMGs8,21
|
|
2
|
+
alibabacloud_eiam20211201/client.py,sha256=z985QVgWg37KChS7wu8C-XABnEESNN9lJX3LzQDsZnM,943664
|
|
3
|
+
alibabacloud_eiam20211201/models.py,sha256=ABKXt1pjcEw_tK5RCxC2ca06yUHNhdw5nCGQ0t7MidY,1532480
|
|
4
|
+
alibabacloud_eiam20211201-2.7.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_eiam20211201-2.7.1.dist-info/METADATA,sha256=1vMdJ8iRze8TZvo1heYgBuQtfVONncSFazBq18azGqk,2319
|
|
6
|
+
alibabacloud_eiam20211201-2.7.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_eiam20211201-2.7.1.dist-info/top_level.txt,sha256=xKHBhu7RrmpWSYLSKKu2KBqRNZs1NsYQJN3isv5EYHU,26
|
|
8
|
+
alibabacloud_eiam20211201-2.7.1.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_eiam20211201/__init__.py,sha256=27kOhGQFq_GHJCVVHfzD1DHY7o7VYb-KeiHuCkQYWpA,21
|
|
2
|
-
alibabacloud_eiam20211201/client.py,sha256=yG3QKnC9DEfquF-PF-PZJbmF9GKoEGdFwp3xOLUuD3c,935428
|
|
3
|
-
alibabacloud_eiam20211201/models.py,sha256=5NzEXQqqYlG5o2zRRCJB9YaSvx9d_rLl2zXdYJI7-yg,1520449
|
|
4
|
-
alibabacloud_eiam20211201-2.6.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_eiam20211201-2.6.1.dist-info/METADATA,sha256=QCgTFtUG_Et0TbBsTA5Y7PVe04LpoyX3gMPWcX-dUNk,2319
|
|
6
|
-
alibabacloud_eiam20211201-2.6.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_eiam20211201-2.6.1.dist-info/top_level.txt,sha256=xKHBhu7RrmpWSYLSKKu2KBqRNZs1NsYQJN3isv5EYHU,26
|
|
8
|
-
alibabacloud_eiam20211201-2.6.1.dist-info/RECORD,,
|
{alibabacloud_eiam20211201-2.6.1.dist-info → alibabacloud_eiam20211201-2.7.1.dist-info}/LICENSE
RENAMED
|
File without changes
|
{alibabacloud_eiam20211201-2.6.1.dist-info → alibabacloud_eiam20211201-2.7.1.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|