alibabacloud-eiam20211201 2.5.0__tar.gz → 2.5.2__tar.gz

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.
Files changed (17) hide show
  1. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/ChangeLog.md +14 -0
  2. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/PKG-INFO +1 -1
  3. alibabacloud_eiam20211201-2.5.2/alibabacloud_eiam20211201/__init__.py +1 -0
  4. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/alibabacloud_eiam20211201/client.py +4 -0
  5. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/alibabacloud_eiam20211201/models.py +85 -0
  6. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/alibabacloud_eiam20211201.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/setup.py +1 -1
  8. alibabacloud_eiam20211201-2.5.0/alibabacloud_eiam20211201/__init__.py +0 -1
  9. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/LICENSE +0 -0
  10. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/MANIFEST.in +0 -0
  11. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/README-CN.md +0 -0
  12. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/README.md +0 -0
  13. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/alibabacloud_eiam20211201.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/alibabacloud_eiam20211201.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/alibabacloud_eiam20211201.egg-info/requires.txt +0 -0
  16. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/alibabacloud_eiam20211201.egg-info/top_level.txt +0 -0
  17. {alibabacloud_eiam20211201-2.5.0 → alibabacloud_eiam20211201-2.5.2}/setup.cfg +0 -0
@@ -1,3 +1,17 @@
1
+ 2025-11-13 Version: 2.5.1
2
+ - Update API CreateIdentityProvider: add request parameters LdapConfig.OrganizationalUnitRdn.
3
+ - Update API CreateIdentityProvider: add request parameters LdapConfig.PasswordSyncStatus.
4
+ - Update API CreateIdentityProvider: add request parameters LdapConfig.UserRdn.
5
+ - Update API CreateIdentityProvider: add request parameters UdPushConfig.PeriodicSyncConfig.
6
+ - Update API ListIdentityProviders: add request parameters Direction.
7
+
8
+
9
+ 2025-11-11 Version: 2.5.0
10
+ - Support API BindUserAuthnSourceMapping.
11
+ - Support API ListUserAuthnSourceMappings.
12
+ - Support API UnbindUserAuthnSourceMapping.
13
+
14
+
1
15
  2025-10-30 Version: 2.4.0
2
16
  - Support API AddCustomPrivacyPoliciesToBrand.
3
17
  - Support API CreateCustomPrivacyPolicy.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_eiam20211201
3
- Version: 2.5.0
3
+ Version: 2.5.2
4
4
  Summary: Alibaba Cloud Eiam (20211201) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1 @@
1
+ __version__ = '2.5.2'
@@ -14017,6 +14017,8 @@ class Client(OpenApiClient):
14017
14017
  """
14018
14018
  UtilClient.validate_model(request)
14019
14019
  query = {}
14020
+ if not UtilClient.is_unset(request.direction):
14021
+ query['Direction'] = request.direction
14020
14022
  if not UtilClient.is_unset(request.instance_id):
14021
14023
  query['InstanceId'] = request.instance_id
14022
14024
  if not UtilClient.is_unset(request.page_number):
@@ -14056,6 +14058,8 @@ class Client(OpenApiClient):
14056
14058
  """
14057
14059
  UtilClient.validate_model(request)
14058
14060
  query = {}
14061
+ if not UtilClient.is_unset(request.direction):
14062
+ query['Direction'] = request.direction
14059
14063
  if not UtilClient.is_unset(request.instance_id):
14060
14064
  query['InstanceId'] = request.instance_id
14061
14065
  if not UtilClient.is_unset(request.page_number):
@@ -3615,10 +3615,13 @@ class CreateIdentityProviderRequestLdapConfig(TeaModel):
3615
3615
  ldap_server_host: str = None,
3616
3616
  ldap_server_port: int = None,
3617
3617
  organization_unit_object_class: str = None,
3618
+ organizational_unit_rdn: str = None,
3619
+ password_sync_status: str = None,
3618
3620
  start_tls_status: str = None,
3619
3621
  user_login_identifier: str = None,
3620
3622
  user_object_class: str = None,
3621
3623
  user_object_class_custom_filter: str = None,
3624
+ user_rdn: str = None,
3622
3625
  ):
3623
3626
  # Administrator password.
3624
3627
  self.administrator_password = administrator_password
@@ -3646,6 +3649,8 @@ class CreateIdentityProviderRequestLdapConfig(TeaModel):
3646
3649
  self.ldap_server_port = ldap_server_port
3647
3650
  # Organization Unit ObjectClass.
3648
3651
  self.organization_unit_object_class = organization_unit_object_class
3652
+ self.organizational_unit_rdn = organizational_unit_rdn
3653
+ self.password_sync_status = password_sync_status
3649
3654
  # Whether startTLS is enabled. Value range:
3650
3655
  # - Disabled: disabled
3651
3656
  #
@@ -3657,6 +3662,7 @@ class CreateIdentityProviderRequestLdapConfig(TeaModel):
3657
3662
  self.user_object_class = user_object_class
3658
3663
  # Custom filter for User ObjectClass.
3659
3664
  self.user_object_class_custom_filter = user_object_class_custom_filter
3665
+ self.user_rdn = user_rdn
3660
3666
 
3661
3667
  def validate(self):
3662
3668
  pass
@@ -3689,6 +3695,10 @@ class CreateIdentityProviderRequestLdapConfig(TeaModel):
3689
3695
  result['LdapServerPort'] = self.ldap_server_port
3690
3696
  if self.organization_unit_object_class is not None:
3691
3697
  result['OrganizationUnitObjectClass'] = self.organization_unit_object_class
3698
+ if self.organizational_unit_rdn is not None:
3699
+ result['OrganizationalUnitRdn'] = self.organizational_unit_rdn
3700
+ if self.password_sync_status is not None:
3701
+ result['PasswordSyncStatus'] = self.password_sync_status
3692
3702
  if self.start_tls_status is not None:
3693
3703
  result['StartTlsStatus'] = self.start_tls_status
3694
3704
  if self.user_login_identifier is not None:
@@ -3697,6 +3707,8 @@ class CreateIdentityProviderRequestLdapConfig(TeaModel):
3697
3707
  result['UserObjectClass'] = self.user_object_class
3698
3708
  if self.user_object_class_custom_filter is not None:
3699
3709
  result['UserObjectClassCustomFilter'] = self.user_object_class_custom_filter
3710
+ if self.user_rdn is not None:
3711
+ result['UserRdn'] = self.user_rdn
3700
3712
  return result
3701
3713
 
3702
3714
  def from_map(self, m: dict = None):
@@ -3723,6 +3735,10 @@ class CreateIdentityProviderRequestLdapConfig(TeaModel):
3723
3735
  self.ldap_server_port = m.get('LdapServerPort')
3724
3736
  if m.get('OrganizationUnitObjectClass') is not None:
3725
3737
  self.organization_unit_object_class = m.get('OrganizationUnitObjectClass')
3738
+ if m.get('OrganizationalUnitRdn') is not None:
3739
+ self.organizational_unit_rdn = m.get('OrganizationalUnitRdn')
3740
+ if m.get('PasswordSyncStatus') is not None:
3741
+ self.password_sync_status = m.get('PasswordSyncStatus')
3726
3742
  if m.get('StartTlsStatus') is not None:
3727
3743
  self.start_tls_status = m.get('StartTlsStatus')
3728
3744
  if m.get('UserLoginIdentifier') is not None:
@@ -3731,6 +3747,8 @@ class CreateIdentityProviderRequestLdapConfig(TeaModel):
3731
3747
  self.user_object_class = m.get('UserObjectClass')
3732
3748
  if m.get('UserObjectClassCustomFilter') is not None:
3733
3749
  self.user_object_class_custom_filter = m.get('UserObjectClassCustomFilter')
3750
+ if m.get('UserRdn') is not None:
3751
+ self.user_rdn = m.get('UserRdn')
3734
3752
  return self
3735
3753
 
3736
3754
 
@@ -4057,6 +4075,45 @@ class CreateIdentityProviderRequestUdPullConfig(TeaModel):
4057
4075
  return self
4058
4076
 
4059
4077
 
4078
+ class CreateIdentityProviderRequestUdPushConfigPeriodicSyncConfig(TeaModel):
4079
+ def __init__(
4080
+ self,
4081
+ periodic_sync_cron: str = None,
4082
+ periodic_sync_times: List[int] = None,
4083
+ periodic_sync_type: str = None,
4084
+ ):
4085
+ self.periodic_sync_cron = periodic_sync_cron
4086
+ self.periodic_sync_times = periodic_sync_times
4087
+ self.periodic_sync_type = periodic_sync_type
4088
+
4089
+ def validate(self):
4090
+ pass
4091
+
4092
+ def to_map(self):
4093
+ _map = super().to_map()
4094
+ if _map is not None:
4095
+ return _map
4096
+
4097
+ result = dict()
4098
+ if self.periodic_sync_cron is not None:
4099
+ result['PeriodicSyncCron'] = self.periodic_sync_cron
4100
+ if self.periodic_sync_times is not None:
4101
+ result['PeriodicSyncTimes'] = self.periodic_sync_times
4102
+ if self.periodic_sync_type is not None:
4103
+ result['PeriodicSyncType'] = self.periodic_sync_type
4104
+ return result
4105
+
4106
+ def from_map(self, m: dict = None):
4107
+ m = m or dict()
4108
+ if m.get('PeriodicSyncCron') is not None:
4109
+ self.periodic_sync_cron = m.get('PeriodicSyncCron')
4110
+ if m.get('PeriodicSyncTimes') is not None:
4111
+ self.periodic_sync_times = m.get('PeriodicSyncTimes')
4112
+ if m.get('PeriodicSyncType') is not None:
4113
+ self.periodic_sync_type = m.get('PeriodicSyncType')
4114
+ return self
4115
+
4116
+
4060
4117
  class CreateIdentityProviderRequestUdPushConfigUdSyncScopeConfigs(TeaModel):
4061
4118
  def __init__(
4062
4119
  self,
@@ -4096,17 +4153,21 @@ class CreateIdentityProviderRequestUdPushConfig(TeaModel):
4096
4153
  def __init__(
4097
4154
  self,
4098
4155
  incremental_callback_status: str = None,
4156
+ periodic_sync_config: CreateIdentityProviderRequestUdPushConfigPeriodicSyncConfig = None,
4099
4157
  periodic_sync_status: str = None,
4100
4158
  ud_sync_scope_configs: List[CreateIdentityProviderRequestUdPushConfigUdSyncScopeConfigs] = None,
4101
4159
  ):
4102
4160
  # Incremental callback status. This field is reserved and currently not in use; please ignore it.
4103
4161
  self.incremental_callback_status = incremental_callback_status
4162
+ self.periodic_sync_config = periodic_sync_config
4104
4163
  # Periodic check status. This field is currently not in use, please ignore it.
4105
4164
  self.periodic_sync_status = periodic_sync_status
4106
4165
  # Outbound synchronization configuration information.
4107
4166
  self.ud_sync_scope_configs = ud_sync_scope_configs
4108
4167
 
4109
4168
  def validate(self):
4169
+ if self.periodic_sync_config:
4170
+ self.periodic_sync_config.validate()
4110
4171
  if self.ud_sync_scope_configs:
4111
4172
  for k in self.ud_sync_scope_configs:
4112
4173
  if k:
@@ -4120,6 +4181,8 @@ class CreateIdentityProviderRequestUdPushConfig(TeaModel):
4120
4181
  result = dict()
4121
4182
  if self.incremental_callback_status is not None:
4122
4183
  result['IncrementalCallbackStatus'] = self.incremental_callback_status
4184
+ if self.periodic_sync_config is not None:
4185
+ result['PeriodicSyncConfig'] = self.periodic_sync_config.to_map()
4123
4186
  if self.periodic_sync_status is not None:
4124
4187
  result['PeriodicSyncStatus'] = self.periodic_sync_status
4125
4188
  result['UdSyncScopeConfigs'] = []
@@ -4132,6 +4195,9 @@ class CreateIdentityProviderRequestUdPushConfig(TeaModel):
4132
4195
  m = m or dict()
4133
4196
  if m.get('IncrementalCallbackStatus') is not None:
4134
4197
  self.incremental_callback_status = m.get('IncrementalCallbackStatus')
4198
+ if m.get('PeriodicSyncConfig') is not None:
4199
+ temp_model = CreateIdentityProviderRequestUdPushConfigPeriodicSyncConfig()
4200
+ self.periodic_sync_config = temp_model.from_map(m['PeriodicSyncConfig'])
4135
4201
  if m.get('PeriodicSyncStatus') is not None:
4136
4202
  self.periodic_sync_status = m.get('PeriodicSyncStatus')
4137
4203
  self.ud_sync_scope_configs = []
@@ -15343,6 +15409,7 @@ class GetIdentityProviderResponseBodyIdentityProviderDetailDingtalkAppConfig(Tea
15343
15409
  app_key: str = None,
15344
15410
  app_secret: str = None,
15345
15411
  corp_id: str = None,
15412
+ dingtalk_login_version: str = None,
15346
15413
  dingtalk_version: str = None,
15347
15414
  encrypt_key: str = None,
15348
15415
  verification_token: str = None,
@@ -15353,6 +15420,8 @@ class GetIdentityProviderResponseBodyIdentityProviderDetailDingtalkAppConfig(Tea
15353
15420
  self.app_secret = app_secret
15354
15421
  # DingTalk corpId.
15355
15422
  self.corp_id = corp_id
15423
+ # IDaaS EIAM 钉钉扫码登录版本
15424
+ self.dingtalk_login_version = dingtalk_login_version
15356
15425
  # DingTalk Version.
15357
15426
  self.dingtalk_version = dingtalk_version
15358
15427
  # DingTalk encrypt key.
@@ -15375,6 +15444,8 @@ class GetIdentityProviderResponseBodyIdentityProviderDetailDingtalkAppConfig(Tea
15375
15444
  result['AppSecret'] = self.app_secret
15376
15445
  if self.corp_id is not None:
15377
15446
  result['CorpId'] = self.corp_id
15447
+ if self.dingtalk_login_version is not None:
15448
+ result['DingtalkLoginVersion'] = self.dingtalk_login_version
15378
15449
  if self.dingtalk_version is not None:
15379
15450
  result['DingtalkVersion'] = self.dingtalk_version
15380
15451
  if self.encrypt_key is not None:
@@ -15391,6 +15462,8 @@ class GetIdentityProviderResponseBodyIdentityProviderDetailDingtalkAppConfig(Tea
15391
15462
  self.app_secret = m.get('AppSecret')
15392
15463
  if m.get('CorpId') is not None:
15393
15464
  self.corp_id = m.get('CorpId')
15465
+ if m.get('DingtalkLoginVersion') is not None:
15466
+ self.dingtalk_login_version = m.get('DingtalkLoginVersion')
15394
15467
  if m.get('DingtalkVersion') is not None:
15395
15468
  self.dingtalk_version = m.get('DingtalkVersion')
15396
15469
  if m.get('EncryptKey') is not None:
@@ -28689,10 +28762,12 @@ class ListGroupsForUserResponse(TeaModel):
28689
28762
  class ListIdentityProvidersRequest(TeaModel):
28690
28763
  def __init__(
28691
28764
  self,
28765
+ direction: str = None,
28692
28766
  instance_id: str = None,
28693
28767
  page_number: int = None,
28694
28768
  page_size: int = None,
28695
28769
  ):
28770
+ self.direction = direction
28696
28771
  # The instance ID.
28697
28772
  #
28698
28773
  # This parameter is required.
@@ -28711,6 +28786,8 @@ class ListIdentityProvidersRequest(TeaModel):
28711
28786
  return _map
28712
28787
 
28713
28788
  result = dict()
28789
+ if self.direction is not None:
28790
+ result['Direction'] = self.direction
28714
28791
  if self.instance_id is not None:
28715
28792
  result['InstanceId'] = self.instance_id
28716
28793
  if self.page_number is not None:
@@ -28721,6 +28798,8 @@ class ListIdentityProvidersRequest(TeaModel):
28721
28798
 
28722
28799
  def from_map(self, m: dict = None):
28723
28800
  m = m or dict()
28801
+ if m.get('Direction') is not None:
28802
+ self.direction = m.get('Direction')
28724
28803
  if m.get('InstanceId') is not None:
28725
28804
  self.instance_id = m.get('InstanceId')
28726
28805
  if m.get('PageNumber') is not None:
@@ -41288,6 +41367,7 @@ class UpdateIdentityProviderRequestDingtalkAppConfig(TeaModel):
41288
41367
  self,
41289
41368
  app_key: str = None,
41290
41369
  app_secret: str = None,
41370
+ dingtalk_login_version: str = None,
41291
41371
  encrypt_key: str = None,
41292
41372
  verification_token: str = None,
41293
41373
  ):
@@ -41295,6 +41375,7 @@ class UpdateIdentityProviderRequestDingtalkAppConfig(TeaModel):
41295
41375
  self.app_key = app_key
41296
41376
  # 钉钉一方应用的AppSecret
41297
41377
  self.app_secret = app_secret
41378
+ self.dingtalk_login_version = dingtalk_login_version
41298
41379
  self.encrypt_key = encrypt_key
41299
41380
  self.verification_token = verification_token
41300
41381
 
@@ -41311,6 +41392,8 @@ class UpdateIdentityProviderRequestDingtalkAppConfig(TeaModel):
41311
41392
  result['AppKey'] = self.app_key
41312
41393
  if self.app_secret is not None:
41313
41394
  result['AppSecret'] = self.app_secret
41395
+ if self.dingtalk_login_version is not None:
41396
+ result['DingtalkLoginVersion'] = self.dingtalk_login_version
41314
41397
  if self.encrypt_key is not None:
41315
41398
  result['EncryptKey'] = self.encrypt_key
41316
41399
  if self.verification_token is not None:
@@ -41323,6 +41406,8 @@ class UpdateIdentityProviderRequestDingtalkAppConfig(TeaModel):
41323
41406
  self.app_key = m.get('AppKey')
41324
41407
  if m.get('AppSecret') is not None:
41325
41408
  self.app_secret = m.get('AppSecret')
41409
+ if m.get('DingtalkLoginVersion') is not None:
41410
+ self.dingtalk_login_version = m.get('DingtalkLoginVersion')
41326
41411
  if m.get('EncryptKey') is not None:
41327
41412
  self.encrypt_key = m.get('EncryptKey')
41328
41413
  if m.get('VerificationToken') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-eiam20211201
3
- Version: 2.5.0
3
+ Version: 2.5.2
4
4
  Summary: Alibaba Cloud Eiam (20211201) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_eiam20211201.
26
26
 
27
- Created on 11/11/2025
27
+ Created on 04/12/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '2.5.0'