alibabacloud-eiam20211201 2.11.0__py3-none-any.whl → 2.12.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 +980 -24
- alibabacloud_eiam20211201/models/__init__.py +106 -0
- alibabacloud_eiam20211201/models/_exec_identity_provider_metadata_url_resolution_request.py +63 -0
- alibabacloud_eiam20211201/models/_exec_identity_provider_metadata_url_resolution_response.py +54 -0
- alibabacloud_eiam20211201/models/_exec_identity_provider_metadata_url_resolution_response_body.py +138 -0
- alibabacloud_eiam20211201/models/_generate_oauth_token_request.py +63 -0
- alibabacloud_eiam20211201/models/_generate_oauth_token_response.py +54 -0
- alibabacloud_eiam20211201/models/_generate_oauth_token_response_body.py +96 -0
- alibabacloud_eiam20211201/models/_get_service_quota_request.py +36 -0
- alibabacloud_eiam20211201/models/_get_service_quota_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_service_quota_response_body.py +90 -0
- alibabacloud_eiam20211201/models/_list_action_track_event_types_request.py +63 -0
- alibabacloud_eiam20211201/models/_list_action_track_event_types_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_action_track_event_types_response_body.py +114 -0
- alibabacloud_eiam20211201/models/_list_event_types_request.py +43 -0
- alibabacloud_eiam20211201/models/_list_event_types_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_event_types_response_body.py +87 -0
- alibabacloud_eiam20211201/models/_renew_free_license_end_time_request.py +36 -0
- alibabacloud_eiam20211201/models/_renew_free_license_end_time_response.py +54 -0
- alibabacloud_eiam20211201/models/_renew_free_license_end_time_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_authn_configuration_request.py +320 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_authn_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_authn_configuration_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_ud_push_configuration_request.py +247 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_ud_push_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_ud_push_configuration_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_instance_control_configuration_request.py +130 -0
- alibabacloud_eiam20211201/models/_set_instance_control_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_instance_control_configuration_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_instance_globalization_config_request.py +58 -0
- alibabacloud_eiam20211201/models/_set_instance_globalization_config_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_instance_globalization_config_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_web_authn_configuration_request.py +122 -0
- alibabacloud_eiam20211201/models/_set_web_authn_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_web_authn_configuration_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_unbind_totp_authenticator_request.py +47 -0
- alibabacloud_eiam20211201/models/_unbind_totp_authenticator_response.py +54 -0
- alibabacloud_eiam20211201/models/_unbind_totp_authenticator_response_body.py +33 -0
- {alibabacloud_eiam20211201-2.11.0.dist-info → alibabacloud_eiam20211201-2.12.1.dist-info}/METADATA +1 -1
- {alibabacloud_eiam20211201-2.11.0.dist-info → alibabacloud_eiam20211201-2.12.1.dist-info}/RECORD +44 -8
- {alibabacloud_eiam20211201-2.11.0.dist-info → alibabacloud_eiam20211201-2.12.1.dist-info}/LICENSE +0 -0
- {alibabacloud_eiam20211201-2.11.0.dist-info → alibabacloud_eiam20211201-2.12.1.dist-info}/WHEEL +0 -0
- {alibabacloud_eiam20211201-2.11.0.dist-info → alibabacloud_eiam20211201-2.12.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class RenewFreeLicenseEndTimeRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
instance_id: str = None,
|
|
11
|
+
):
|
|
12
|
+
# IDaaS EIAM实例的ID。
|
|
13
|
+
#
|
|
14
|
+
# This parameter is required.
|
|
15
|
+
self.instance_id = instance_id
|
|
16
|
+
|
|
17
|
+
def validate(self):
|
|
18
|
+
pass
|
|
19
|
+
|
|
20
|
+
def to_map(self):
|
|
21
|
+
result = dict()
|
|
22
|
+
_map = super().to_map()
|
|
23
|
+
if _map is not None:
|
|
24
|
+
result = _map
|
|
25
|
+
if self.instance_id is not None:
|
|
26
|
+
result['InstanceId'] = self.instance_id
|
|
27
|
+
|
|
28
|
+
return result
|
|
29
|
+
|
|
30
|
+
def from_map(self, m: dict = None):
|
|
31
|
+
m = m or dict()
|
|
32
|
+
if m.get('InstanceId') is not None:
|
|
33
|
+
self.instance_id = m.get('InstanceId')
|
|
34
|
+
|
|
35
|
+
return self
|
|
36
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_eiam20211201 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class RenewFreeLicenseEndTimeResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.RenewFreeLicenseEndTimeResponseBody = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.RenewFreeLicenseEndTimeResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class RenewFreeLicenseEndTimeResponseBody(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
request_id: str = None,
|
|
11
|
+
):
|
|
12
|
+
self.request_id = request_id
|
|
13
|
+
|
|
14
|
+
def validate(self):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
def to_map(self):
|
|
18
|
+
result = dict()
|
|
19
|
+
_map = super().to_map()
|
|
20
|
+
if _map is not None:
|
|
21
|
+
result = _map
|
|
22
|
+
if self.request_id is not None:
|
|
23
|
+
result['RequestId'] = self.request_id
|
|
24
|
+
|
|
25
|
+
return result
|
|
26
|
+
|
|
27
|
+
def from_map(self, m: dict = None):
|
|
28
|
+
m = m or dict()
|
|
29
|
+
if m.get('RequestId') is not None:
|
|
30
|
+
self.request_id = m.get('RequestId')
|
|
31
|
+
|
|
32
|
+
return self
|
|
33
|
+
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_eiam20211201 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class SetIdentityProviderAuthnConfigurationRequest(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
auto_create_user_config: main_models.SetIdentityProviderAuthnConfigurationRequestAutoCreateUserConfig = None,
|
|
14
|
+
auto_update_user_config: main_models.SetIdentityProviderAuthnConfigurationRequestAutoUpdateUserConfig = None,
|
|
15
|
+
binding_config: main_models.SetIdentityProviderAuthnConfigurationRequestBindingConfig = None,
|
|
16
|
+
identity_provider_id: str = None,
|
|
17
|
+
instance_id: str = None,
|
|
18
|
+
ldap_authn_config: main_models.SetIdentityProviderAuthnConfigurationRequestLdapAuthnConfig = None,
|
|
19
|
+
):
|
|
20
|
+
# 自动创建账户账户规则配置。
|
|
21
|
+
self.auto_create_user_config = auto_create_user_config
|
|
22
|
+
self.auto_update_user_config = auto_update_user_config
|
|
23
|
+
# 账户绑定规则配置
|
|
24
|
+
self.binding_config = binding_config
|
|
25
|
+
# IDaaS的身份提供方主键id
|
|
26
|
+
#
|
|
27
|
+
# This parameter is required.
|
|
28
|
+
self.identity_provider_id = identity_provider_id
|
|
29
|
+
# IDaaS EIAM实例的ID。
|
|
30
|
+
#
|
|
31
|
+
# This parameter is required.
|
|
32
|
+
self.instance_id = instance_id
|
|
33
|
+
# AD/LDAP配置
|
|
34
|
+
self.ldap_authn_config = ldap_authn_config
|
|
35
|
+
|
|
36
|
+
def validate(self):
|
|
37
|
+
if self.auto_create_user_config:
|
|
38
|
+
self.auto_create_user_config.validate()
|
|
39
|
+
if self.auto_update_user_config:
|
|
40
|
+
self.auto_update_user_config.validate()
|
|
41
|
+
if self.binding_config:
|
|
42
|
+
self.binding_config.validate()
|
|
43
|
+
if self.ldap_authn_config:
|
|
44
|
+
self.ldap_authn_config.validate()
|
|
45
|
+
|
|
46
|
+
def to_map(self):
|
|
47
|
+
result = dict()
|
|
48
|
+
_map = super().to_map()
|
|
49
|
+
if _map is not None:
|
|
50
|
+
result = _map
|
|
51
|
+
if self.auto_create_user_config is not None:
|
|
52
|
+
result['AutoCreateUserConfig'] = self.auto_create_user_config.to_map()
|
|
53
|
+
|
|
54
|
+
if self.auto_update_user_config is not None:
|
|
55
|
+
result['AutoUpdateUserConfig'] = self.auto_update_user_config.to_map()
|
|
56
|
+
|
|
57
|
+
if self.binding_config is not None:
|
|
58
|
+
result['BindingConfig'] = self.binding_config.to_map()
|
|
59
|
+
|
|
60
|
+
if self.identity_provider_id is not None:
|
|
61
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
62
|
+
|
|
63
|
+
if self.instance_id is not None:
|
|
64
|
+
result['InstanceId'] = self.instance_id
|
|
65
|
+
|
|
66
|
+
if self.ldap_authn_config is not None:
|
|
67
|
+
result['LdapAuthnConfig'] = self.ldap_authn_config.to_map()
|
|
68
|
+
|
|
69
|
+
return result
|
|
70
|
+
|
|
71
|
+
def from_map(self, m: dict = None):
|
|
72
|
+
m = m or dict()
|
|
73
|
+
if m.get('AutoCreateUserConfig') is not None:
|
|
74
|
+
temp_model = main_models.SetIdentityProviderAuthnConfigurationRequestAutoCreateUserConfig()
|
|
75
|
+
self.auto_create_user_config = temp_model.from_map(m.get('AutoCreateUserConfig'))
|
|
76
|
+
|
|
77
|
+
if m.get('AutoUpdateUserConfig') is not None:
|
|
78
|
+
temp_model = main_models.SetIdentityProviderAuthnConfigurationRequestAutoUpdateUserConfig()
|
|
79
|
+
self.auto_update_user_config = temp_model.from_map(m.get('AutoUpdateUserConfig'))
|
|
80
|
+
|
|
81
|
+
if m.get('BindingConfig') is not None:
|
|
82
|
+
temp_model = main_models.SetIdentityProviderAuthnConfigurationRequestBindingConfig()
|
|
83
|
+
self.binding_config = temp_model.from_map(m.get('BindingConfig'))
|
|
84
|
+
|
|
85
|
+
if m.get('IdentityProviderId') is not None:
|
|
86
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
87
|
+
|
|
88
|
+
if m.get('InstanceId') is not None:
|
|
89
|
+
self.instance_id = m.get('InstanceId')
|
|
90
|
+
|
|
91
|
+
if m.get('LdapAuthnConfig') is not None:
|
|
92
|
+
temp_model = main_models.SetIdentityProviderAuthnConfigurationRequestLdapAuthnConfig()
|
|
93
|
+
self.ldap_authn_config = temp_model.from_map(m.get('LdapAuthnConfig'))
|
|
94
|
+
|
|
95
|
+
return self
|
|
96
|
+
|
|
97
|
+
class SetIdentityProviderAuthnConfigurationRequestLdapAuthnConfig(DaraModel):
|
|
98
|
+
def __init__(
|
|
99
|
+
self,
|
|
100
|
+
auto_update_password_status: str = None,
|
|
101
|
+
user_login_identifier: str = None,
|
|
102
|
+
user_object_class: str = None,
|
|
103
|
+
):
|
|
104
|
+
# 是否支持自动更新密码
|
|
105
|
+
self.auto_update_password_status = auto_update_password_status
|
|
106
|
+
# 用户登录标识
|
|
107
|
+
self.user_login_identifier = user_login_identifier
|
|
108
|
+
# 用户ObjectClass
|
|
109
|
+
self.user_object_class = user_object_class
|
|
110
|
+
|
|
111
|
+
def validate(self):
|
|
112
|
+
pass
|
|
113
|
+
|
|
114
|
+
def to_map(self):
|
|
115
|
+
result = dict()
|
|
116
|
+
_map = super().to_map()
|
|
117
|
+
if _map is not None:
|
|
118
|
+
result = _map
|
|
119
|
+
if self.auto_update_password_status is not None:
|
|
120
|
+
result['AutoUpdatePasswordStatus'] = self.auto_update_password_status
|
|
121
|
+
|
|
122
|
+
if self.user_login_identifier is not None:
|
|
123
|
+
result['UserLoginIdentifier'] = self.user_login_identifier
|
|
124
|
+
|
|
125
|
+
if self.user_object_class is not None:
|
|
126
|
+
result['UserObjectClass'] = self.user_object_class
|
|
127
|
+
|
|
128
|
+
return result
|
|
129
|
+
|
|
130
|
+
def from_map(self, m: dict = None):
|
|
131
|
+
m = m or dict()
|
|
132
|
+
if m.get('AutoUpdatePasswordStatus') is not None:
|
|
133
|
+
self.auto_update_password_status = m.get('AutoUpdatePasswordStatus')
|
|
134
|
+
|
|
135
|
+
if m.get('UserLoginIdentifier') is not None:
|
|
136
|
+
self.user_login_identifier = m.get('UserLoginIdentifier')
|
|
137
|
+
|
|
138
|
+
if m.get('UserObjectClass') is not None:
|
|
139
|
+
self.user_object_class = m.get('UserObjectClass')
|
|
140
|
+
|
|
141
|
+
return self
|
|
142
|
+
|
|
143
|
+
class SetIdentityProviderAuthnConfigurationRequestBindingConfig(DaraModel):
|
|
144
|
+
def __init__(
|
|
145
|
+
self,
|
|
146
|
+
auto_match_user_profile_expressions: List[main_models.SetIdentityProviderAuthnConfigurationRequestBindingConfigAutoMatchUserProfileExpressions] = None,
|
|
147
|
+
auto_match_user_status: str = None,
|
|
148
|
+
mapping_binding_status: str = None,
|
|
149
|
+
):
|
|
150
|
+
# 自动匹配账户的规则
|
|
151
|
+
self.auto_match_user_profile_expressions = auto_match_user_profile_expressions
|
|
152
|
+
# 自动匹配账户是否开启
|
|
153
|
+
self.auto_match_user_status = auto_match_user_status
|
|
154
|
+
# 用户手动绑定账户功能是否开启
|
|
155
|
+
self.mapping_binding_status = mapping_binding_status
|
|
156
|
+
|
|
157
|
+
def validate(self):
|
|
158
|
+
if self.auto_match_user_profile_expressions:
|
|
159
|
+
for v1 in self.auto_match_user_profile_expressions:
|
|
160
|
+
if v1:
|
|
161
|
+
v1.validate()
|
|
162
|
+
|
|
163
|
+
def to_map(self):
|
|
164
|
+
result = dict()
|
|
165
|
+
_map = super().to_map()
|
|
166
|
+
if _map is not None:
|
|
167
|
+
result = _map
|
|
168
|
+
result['AutoMatchUserProfileExpressions'] = []
|
|
169
|
+
if self.auto_match_user_profile_expressions is not None:
|
|
170
|
+
for k1 in self.auto_match_user_profile_expressions:
|
|
171
|
+
result['AutoMatchUserProfileExpressions'].append(k1.to_map() if k1 else None)
|
|
172
|
+
|
|
173
|
+
if self.auto_match_user_status is not None:
|
|
174
|
+
result['AutoMatchUserStatus'] = self.auto_match_user_status
|
|
175
|
+
|
|
176
|
+
if self.mapping_binding_status is not None:
|
|
177
|
+
result['MappingBindingStatus'] = self.mapping_binding_status
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def from_map(self, m: dict = None):
|
|
182
|
+
m = m or dict()
|
|
183
|
+
self.auto_match_user_profile_expressions = []
|
|
184
|
+
if m.get('AutoMatchUserProfileExpressions') is not None:
|
|
185
|
+
for k1 in m.get('AutoMatchUserProfileExpressions'):
|
|
186
|
+
temp_model = main_models.SetIdentityProviderAuthnConfigurationRequestBindingConfigAutoMatchUserProfileExpressions()
|
|
187
|
+
self.auto_match_user_profile_expressions.append(temp_model.from_map(k1))
|
|
188
|
+
|
|
189
|
+
if m.get('AutoMatchUserStatus') is not None:
|
|
190
|
+
self.auto_match_user_status = m.get('AutoMatchUserStatus')
|
|
191
|
+
|
|
192
|
+
if m.get('MappingBindingStatus') is not None:
|
|
193
|
+
self.mapping_binding_status = m.get('MappingBindingStatus')
|
|
194
|
+
|
|
195
|
+
return self
|
|
196
|
+
|
|
197
|
+
class SetIdentityProviderAuthnConfigurationRequestBindingConfigAutoMatchUserProfileExpressions(DaraModel):
|
|
198
|
+
def __init__(
|
|
199
|
+
self,
|
|
200
|
+
expression_mapping_type: str = None,
|
|
201
|
+
source_value_expression: str = None,
|
|
202
|
+
target_field: str = None,
|
|
203
|
+
target_field_description: str = None,
|
|
204
|
+
):
|
|
205
|
+
# 表达式的类型
|
|
206
|
+
#
|
|
207
|
+
# This parameter is required.
|
|
208
|
+
self.expression_mapping_type = expression_mapping_type
|
|
209
|
+
# 映射属性取值表达式
|
|
210
|
+
#
|
|
211
|
+
# This parameter is required.
|
|
212
|
+
self.source_value_expression = source_value_expression
|
|
213
|
+
# 映射目标属性名称
|
|
214
|
+
#
|
|
215
|
+
# This parameter is required.
|
|
216
|
+
self.target_field = target_field
|
|
217
|
+
# 映射目标属性名称
|
|
218
|
+
self.target_field_description = target_field_description
|
|
219
|
+
|
|
220
|
+
def validate(self):
|
|
221
|
+
pass
|
|
222
|
+
|
|
223
|
+
def to_map(self):
|
|
224
|
+
result = dict()
|
|
225
|
+
_map = super().to_map()
|
|
226
|
+
if _map is not None:
|
|
227
|
+
result = _map
|
|
228
|
+
if self.expression_mapping_type is not None:
|
|
229
|
+
result['ExpressionMappingType'] = self.expression_mapping_type
|
|
230
|
+
|
|
231
|
+
if self.source_value_expression is not None:
|
|
232
|
+
result['SourceValueExpression'] = self.source_value_expression
|
|
233
|
+
|
|
234
|
+
if self.target_field is not None:
|
|
235
|
+
result['TargetField'] = self.target_field
|
|
236
|
+
|
|
237
|
+
if self.target_field_description is not None:
|
|
238
|
+
result['TargetFieldDescription'] = self.target_field_description
|
|
239
|
+
|
|
240
|
+
return result
|
|
241
|
+
|
|
242
|
+
def from_map(self, m: dict = None):
|
|
243
|
+
m = m or dict()
|
|
244
|
+
if m.get('ExpressionMappingType') is not None:
|
|
245
|
+
self.expression_mapping_type = m.get('ExpressionMappingType')
|
|
246
|
+
|
|
247
|
+
if m.get('SourceValueExpression') is not None:
|
|
248
|
+
self.source_value_expression = m.get('SourceValueExpression')
|
|
249
|
+
|
|
250
|
+
if m.get('TargetField') is not None:
|
|
251
|
+
self.target_field = m.get('TargetField')
|
|
252
|
+
|
|
253
|
+
if m.get('TargetFieldDescription') is not None:
|
|
254
|
+
self.target_field_description = m.get('TargetFieldDescription')
|
|
255
|
+
|
|
256
|
+
return self
|
|
257
|
+
|
|
258
|
+
class SetIdentityProviderAuthnConfigurationRequestAutoUpdateUserConfig(DaraModel):
|
|
259
|
+
def __init__(
|
|
260
|
+
self,
|
|
261
|
+
auto_update_user_status: str = None,
|
|
262
|
+
):
|
|
263
|
+
self.auto_update_user_status = auto_update_user_status
|
|
264
|
+
|
|
265
|
+
def validate(self):
|
|
266
|
+
pass
|
|
267
|
+
|
|
268
|
+
def to_map(self):
|
|
269
|
+
result = dict()
|
|
270
|
+
_map = super().to_map()
|
|
271
|
+
if _map is not None:
|
|
272
|
+
result = _map
|
|
273
|
+
if self.auto_update_user_status is not None:
|
|
274
|
+
result['AutoUpdateUserStatus'] = self.auto_update_user_status
|
|
275
|
+
|
|
276
|
+
return result
|
|
277
|
+
|
|
278
|
+
def from_map(self, m: dict = None):
|
|
279
|
+
m = m or dict()
|
|
280
|
+
if m.get('AutoUpdateUserStatus') is not None:
|
|
281
|
+
self.auto_update_user_status = m.get('AutoUpdateUserStatus')
|
|
282
|
+
|
|
283
|
+
return self
|
|
284
|
+
|
|
285
|
+
class SetIdentityProviderAuthnConfigurationRequestAutoCreateUserConfig(DaraModel):
|
|
286
|
+
def __init__(
|
|
287
|
+
self,
|
|
288
|
+
auto_create_user_status: str = None,
|
|
289
|
+
target_organizational_unit_ids: List[str] = None,
|
|
290
|
+
):
|
|
291
|
+
# 自动创建账户是否开启
|
|
292
|
+
self.auto_create_user_status = auto_create_user_status
|
|
293
|
+
self.target_organizational_unit_ids = target_organizational_unit_ids
|
|
294
|
+
|
|
295
|
+
def validate(self):
|
|
296
|
+
pass
|
|
297
|
+
|
|
298
|
+
def to_map(self):
|
|
299
|
+
result = dict()
|
|
300
|
+
_map = super().to_map()
|
|
301
|
+
if _map is not None:
|
|
302
|
+
result = _map
|
|
303
|
+
if self.auto_create_user_status is not None:
|
|
304
|
+
result['AutoCreateUserStatus'] = self.auto_create_user_status
|
|
305
|
+
|
|
306
|
+
if self.target_organizational_unit_ids is not None:
|
|
307
|
+
result['TargetOrganizationalUnitIds'] = self.target_organizational_unit_ids
|
|
308
|
+
|
|
309
|
+
return result
|
|
310
|
+
|
|
311
|
+
def from_map(self, m: dict = None):
|
|
312
|
+
m = m or dict()
|
|
313
|
+
if m.get('AutoCreateUserStatus') is not None:
|
|
314
|
+
self.auto_create_user_status = m.get('AutoCreateUserStatus')
|
|
315
|
+
|
|
316
|
+
if m.get('TargetOrganizationalUnitIds') is not None:
|
|
317
|
+
self.target_organizational_unit_ids = m.get('TargetOrganizationalUnitIds')
|
|
318
|
+
|
|
319
|
+
return self
|
|
320
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_eiam20211201 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class SetIdentityProviderAuthnConfigurationResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.SetIdentityProviderAuthnConfigurationResponseBody = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.SetIdentityProviderAuthnConfigurationResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class SetIdentityProviderAuthnConfigurationResponseBody(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
request_id: str = None,
|
|
11
|
+
):
|
|
12
|
+
self.request_id = request_id
|
|
13
|
+
|
|
14
|
+
def validate(self):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
def to_map(self):
|
|
18
|
+
result = dict()
|
|
19
|
+
_map = super().to_map()
|
|
20
|
+
if _map is not None:
|
|
21
|
+
result = _map
|
|
22
|
+
if self.request_id is not None:
|
|
23
|
+
result['RequestId'] = self.request_id
|
|
24
|
+
|
|
25
|
+
return result
|
|
26
|
+
|
|
27
|
+
def from_map(self, m: dict = None):
|
|
28
|
+
m = m or dict()
|
|
29
|
+
if m.get('RequestId') is not None:
|
|
30
|
+
self.request_id = m.get('RequestId')
|
|
31
|
+
|
|
32
|
+
return self
|
|
33
|
+
|