@alicloud/cloudsso20210515 1.1.0 → 1.2.0

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.
package/dist/client.js CHANGED
@@ -603,6 +603,74 @@ class CreateUserResponse extends $tea.Model {
603
603
  }
604
604
  }
605
605
  exports.CreateUserResponse = CreateUserResponse;
606
+ class CreateUserProvisioningRequest extends $tea.Model {
607
+ constructor(map) {
608
+ super(map);
609
+ }
610
+ static names() {
611
+ return {
612
+ deletionStrategy: 'DeletionStrategy',
613
+ description: 'Description',
614
+ directoryId: 'DirectoryId',
615
+ duplicationStrategy: 'DuplicationStrategy',
616
+ principalId: 'PrincipalId',
617
+ principalType: 'PrincipalType',
618
+ targetId: 'TargetId',
619
+ targetType: 'TargetType',
620
+ };
621
+ }
622
+ static types() {
623
+ return {
624
+ deletionStrategy: 'string',
625
+ description: 'string',
626
+ directoryId: 'string',
627
+ duplicationStrategy: 'string',
628
+ principalId: 'string',
629
+ principalType: 'string',
630
+ targetId: 'string',
631
+ targetType: 'string',
632
+ };
633
+ }
634
+ }
635
+ exports.CreateUserProvisioningRequest = CreateUserProvisioningRequest;
636
+ class CreateUserProvisioningResponseBody extends $tea.Model {
637
+ constructor(map) {
638
+ super(map);
639
+ }
640
+ static names() {
641
+ return {
642
+ requestId: 'RequestId',
643
+ userProvisioning: 'UserProvisioning',
644
+ };
645
+ }
646
+ static types() {
647
+ return {
648
+ requestId: 'string',
649
+ userProvisioning: CreateUserProvisioningResponseBodyUserProvisioning,
650
+ };
651
+ }
652
+ }
653
+ exports.CreateUserProvisioningResponseBody = CreateUserProvisioningResponseBody;
654
+ class CreateUserProvisioningResponse extends $tea.Model {
655
+ constructor(map) {
656
+ super(map);
657
+ }
658
+ static names() {
659
+ return {
660
+ headers: 'headers',
661
+ statusCode: 'statusCode',
662
+ body: 'body',
663
+ };
664
+ }
665
+ static types() {
666
+ return {
667
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
668
+ statusCode: 'number',
669
+ body: CreateUserProvisioningResponseBody,
670
+ };
671
+ }
672
+ }
673
+ exports.CreateUserProvisioningResponse = CreateUserProvisioningResponse;
606
674
  class DeleteAccessAssignmentRequest extends $tea.Model {
607
675
  constructor(map) {
608
676
  super(map);
@@ -995,6 +1063,62 @@ class DeleteUserResponse extends $tea.Model {
995
1063
  }
996
1064
  }
997
1065
  exports.DeleteUserResponse = DeleteUserResponse;
1066
+ class DeleteUserProvisioningRequest extends $tea.Model {
1067
+ constructor(map) {
1068
+ super(map);
1069
+ }
1070
+ static names() {
1071
+ return {
1072
+ deletionStrategy: 'DeletionStrategy',
1073
+ directoryId: 'DirectoryId',
1074
+ userProvisioningId: 'UserProvisioningId',
1075
+ };
1076
+ }
1077
+ static types() {
1078
+ return {
1079
+ deletionStrategy: 'string',
1080
+ directoryId: 'string',
1081
+ userProvisioningId: 'string',
1082
+ };
1083
+ }
1084
+ }
1085
+ exports.DeleteUserProvisioningRequest = DeleteUserProvisioningRequest;
1086
+ class DeleteUserProvisioningResponseBody extends $tea.Model {
1087
+ constructor(map) {
1088
+ super(map);
1089
+ }
1090
+ static names() {
1091
+ return {
1092
+ requestId: 'RequestId',
1093
+ };
1094
+ }
1095
+ static types() {
1096
+ return {
1097
+ requestId: 'string',
1098
+ };
1099
+ }
1100
+ }
1101
+ exports.DeleteUserProvisioningResponseBody = DeleteUserProvisioningResponseBody;
1102
+ class DeleteUserProvisioningResponse extends $tea.Model {
1103
+ constructor(map) {
1104
+ super(map);
1105
+ }
1106
+ static names() {
1107
+ return {
1108
+ headers: 'headers',
1109
+ statusCode: 'statusCode',
1110
+ body: 'body',
1111
+ };
1112
+ }
1113
+ static types() {
1114
+ return {
1115
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1116
+ statusCode: 'number',
1117
+ body: DeleteUserProvisioningResponseBody,
1118
+ };
1119
+ }
1120
+ }
1121
+ exports.DeleteUserProvisioningResponse = DeleteUserProvisioningResponse;
998
1122
  class DeprovisionAccessConfigurationRequest extends $tea.Model {
999
1123
  constructor(map) {
1000
1124
  super(map);
@@ -1933,6 +2057,62 @@ class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
1933
2057
  }
1934
2058
  }
1935
2059
  exports.GetUserMFAAuthenticationSettingsResponse = GetUserMFAAuthenticationSettingsResponse;
2060
+ class GetUserProvisioningRequest extends $tea.Model {
2061
+ constructor(map) {
2062
+ super(map);
2063
+ }
2064
+ static names() {
2065
+ return {
2066
+ directoryId: 'DirectoryId',
2067
+ userProvisioningId: 'UserProvisioningId',
2068
+ };
2069
+ }
2070
+ static types() {
2071
+ return {
2072
+ directoryId: 'string',
2073
+ userProvisioningId: 'string',
2074
+ };
2075
+ }
2076
+ }
2077
+ exports.GetUserProvisioningRequest = GetUserProvisioningRequest;
2078
+ class GetUserProvisioningResponseBody extends $tea.Model {
2079
+ constructor(map) {
2080
+ super(map);
2081
+ }
2082
+ static names() {
2083
+ return {
2084
+ requestId: 'RequestId',
2085
+ userProvisioning: 'UserProvisioning',
2086
+ };
2087
+ }
2088
+ static types() {
2089
+ return {
2090
+ requestId: 'string',
2091
+ userProvisioning: GetUserProvisioningResponseBodyUserProvisioning,
2092
+ };
2093
+ }
2094
+ }
2095
+ exports.GetUserProvisioningResponseBody = GetUserProvisioningResponseBody;
2096
+ class GetUserProvisioningResponse extends $tea.Model {
2097
+ constructor(map) {
2098
+ super(map);
2099
+ }
2100
+ static names() {
2101
+ return {
2102
+ headers: 'headers',
2103
+ statusCode: 'statusCode',
2104
+ body: 'body',
2105
+ };
2106
+ }
2107
+ static types() {
2108
+ return {
2109
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2110
+ statusCode: 'number',
2111
+ body: GetUserProvisioningResponseBody,
2112
+ };
2113
+ }
2114
+ }
2115
+ exports.GetUserProvisioningResponse = GetUserProvisioningResponse;
1936
2116
  class ListAccessAssignmentsRequest extends $tea.Model {
1937
2117
  constructor(map) {
1938
2118
  super(map);
@@ -2711,6 +2891,80 @@ class ListTasksResponse extends $tea.Model {
2711
2891
  }
2712
2892
  }
2713
2893
  exports.ListTasksResponse = ListTasksResponse;
2894
+ class ListUserProvisioningsRequest extends $tea.Model {
2895
+ constructor(map) {
2896
+ super(map);
2897
+ }
2898
+ static names() {
2899
+ return {
2900
+ directoryId: 'DirectoryId',
2901
+ maxResults: 'MaxResults',
2902
+ nextToken: 'NextToken',
2903
+ principalId: 'PrincipalId',
2904
+ principalType: 'PrincipalType',
2905
+ targetId: 'TargetId',
2906
+ targetType: 'TargetType',
2907
+ };
2908
+ }
2909
+ static types() {
2910
+ return {
2911
+ directoryId: 'string',
2912
+ maxResults: 'number',
2913
+ nextToken: 'string',
2914
+ principalId: 'string',
2915
+ principalType: 'string',
2916
+ targetId: 'string',
2917
+ targetType: 'string',
2918
+ };
2919
+ }
2920
+ }
2921
+ exports.ListUserProvisioningsRequest = ListUserProvisioningsRequest;
2922
+ class ListUserProvisioningsResponseBody extends $tea.Model {
2923
+ constructor(map) {
2924
+ super(map);
2925
+ }
2926
+ static names() {
2927
+ return {
2928
+ isTruncated: 'IsTruncated',
2929
+ maxResults: 'MaxResults',
2930
+ nextToken: 'NextToken',
2931
+ requestId: 'RequestId',
2932
+ totalCounts: 'TotalCounts',
2933
+ userProvisionings: 'UserProvisionings',
2934
+ };
2935
+ }
2936
+ static types() {
2937
+ return {
2938
+ isTruncated: 'boolean',
2939
+ maxResults: 'number',
2940
+ nextToken: 'string',
2941
+ requestId: 'string',
2942
+ totalCounts: 'number',
2943
+ userProvisionings: { 'type': 'array', 'itemType': ListUserProvisioningsResponseBodyUserProvisionings },
2944
+ };
2945
+ }
2946
+ }
2947
+ exports.ListUserProvisioningsResponseBody = ListUserProvisioningsResponseBody;
2948
+ class ListUserProvisioningsResponse extends $tea.Model {
2949
+ constructor(map) {
2950
+ super(map);
2951
+ }
2952
+ static names() {
2953
+ return {
2954
+ headers: 'headers',
2955
+ statusCode: 'statusCode',
2956
+ body: 'body',
2957
+ };
2958
+ }
2959
+ static types() {
2960
+ return {
2961
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2962
+ statusCode: 'number',
2963
+ body: ListUserProvisioningsResponseBody,
2964
+ };
2965
+ }
2966
+ }
2967
+ exports.ListUserProvisioningsResponse = ListUserProvisioningsResponse;
2714
2968
  class ListUsersRequest extends $tea.Model {
2715
2969
  constructor(map) {
2716
2970
  super(map);
@@ -3719,43 +3973,49 @@ class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
3719
3973
  }
3720
3974
  }
3721
3975
  exports.UpdateUserMFAAuthenticationSettingsResponse = UpdateUserMFAAuthenticationSettingsResponse;
3722
- class UpdateUserStatusRequest extends $tea.Model {
3976
+ class UpdateUserProvisioningRequest extends $tea.Model {
3723
3977
  constructor(map) {
3724
3978
  super(map);
3725
3979
  }
3726
3980
  static names() {
3727
3981
  return {
3728
3982
  directoryId: 'DirectoryId',
3729
- newStatus: 'NewStatus',
3730
- userId: 'UserId',
3983
+ newDeletionStrategy: 'NewDeletionStrategy',
3984
+ newDescription: 'NewDescription',
3985
+ newDuplicationStrategy: 'NewDuplicationStrategy',
3986
+ userProvisioningId: 'UserProvisioningId',
3731
3987
  };
3732
3988
  }
3733
3989
  static types() {
3734
3990
  return {
3735
3991
  directoryId: 'string',
3736
- newStatus: 'string',
3737
- userId: 'string',
3992
+ newDeletionStrategy: 'string',
3993
+ newDescription: 'string',
3994
+ newDuplicationStrategy: 'string',
3995
+ userProvisioningId: 'string',
3738
3996
  };
3739
3997
  }
3740
3998
  }
3741
- exports.UpdateUserStatusRequest = UpdateUserStatusRequest;
3742
- class UpdateUserStatusResponseBody extends $tea.Model {
3999
+ exports.UpdateUserProvisioningRequest = UpdateUserProvisioningRequest;
4000
+ class UpdateUserProvisioningResponseBody extends $tea.Model {
3743
4001
  constructor(map) {
3744
4002
  super(map);
3745
4003
  }
3746
4004
  static names() {
3747
4005
  return {
3748
4006
  requestId: 'RequestId',
4007
+ userProvisioning: 'UserProvisioning',
3749
4008
  };
3750
4009
  }
3751
4010
  static types() {
3752
4011
  return {
3753
4012
  requestId: 'string',
4013
+ userProvisioning: UpdateUserProvisioningResponseBodyUserProvisioning,
3754
4014
  };
3755
4015
  }
3756
4016
  }
3757
- exports.UpdateUserStatusResponseBody = UpdateUserStatusResponseBody;
3758
- class UpdateUserStatusResponse extends $tea.Model {
4017
+ exports.UpdateUserProvisioningResponseBody = UpdateUserProvisioningResponseBody;
4018
+ class UpdateUserProvisioningResponse extends $tea.Model {
3759
4019
  constructor(map) {
3760
4020
  super(map);
3761
4021
  }
@@ -3770,49 +4030,105 @@ class UpdateUserStatusResponse extends $tea.Model {
3770
4030
  return {
3771
4031
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3772
4032
  statusCode: 'number',
3773
- body: UpdateUserStatusResponseBody,
4033
+ body: UpdateUserProvisioningResponseBody,
3774
4034
  };
3775
4035
  }
3776
4036
  }
3777
- exports.UpdateUserStatusResponse = UpdateUserStatusResponse;
3778
- class CreateAccessAssignmentResponseBodyTask extends $tea.Model {
4037
+ exports.UpdateUserProvisioningResponse = UpdateUserProvisioningResponse;
4038
+ class UpdateUserStatusRequest extends $tea.Model {
3779
4039
  constructor(map) {
3780
4040
  super(map);
3781
4041
  }
3782
4042
  static names() {
3783
4043
  return {
3784
- accessConfigurationId: 'AccessConfigurationId',
3785
- accessConfigurationName: 'AccessConfigurationName',
3786
- principalId: 'PrincipalId',
3787
- principalName: 'PrincipalName',
3788
- principalType: 'PrincipalType',
3789
- status: 'Status',
3790
- targetId: 'TargetId',
3791
- targetName: 'TargetName',
3792
- targetPath: 'TargetPath',
3793
- targetPathName: 'TargetPathName',
3794
- targetType: 'TargetType',
3795
- taskId: 'TaskId',
3796
- taskType: 'TaskType',
4044
+ directoryId: 'DirectoryId',
4045
+ newStatus: 'NewStatus',
4046
+ userId: 'UserId',
3797
4047
  };
3798
4048
  }
3799
4049
  static types() {
3800
4050
  return {
3801
- accessConfigurationId: 'string',
3802
- accessConfigurationName: 'string',
3803
- principalId: 'string',
3804
- principalName: 'string',
3805
- principalType: 'string',
3806
- status: 'string',
3807
- targetId: 'string',
3808
- targetName: 'string',
3809
- targetPath: 'string',
3810
- targetPathName: 'string',
3811
- targetType: 'string',
3812
- taskId: 'string',
3813
- taskType: 'string',
3814
- };
3815
- }
4051
+ directoryId: 'string',
4052
+ newStatus: 'string',
4053
+ userId: 'string',
4054
+ };
4055
+ }
4056
+ }
4057
+ exports.UpdateUserStatusRequest = UpdateUserStatusRequest;
4058
+ class UpdateUserStatusResponseBody extends $tea.Model {
4059
+ constructor(map) {
4060
+ super(map);
4061
+ }
4062
+ static names() {
4063
+ return {
4064
+ requestId: 'RequestId',
4065
+ };
4066
+ }
4067
+ static types() {
4068
+ return {
4069
+ requestId: 'string',
4070
+ };
4071
+ }
4072
+ }
4073
+ exports.UpdateUserStatusResponseBody = UpdateUserStatusResponseBody;
4074
+ class UpdateUserStatusResponse extends $tea.Model {
4075
+ constructor(map) {
4076
+ super(map);
4077
+ }
4078
+ static names() {
4079
+ return {
4080
+ headers: 'headers',
4081
+ statusCode: 'statusCode',
4082
+ body: 'body',
4083
+ };
4084
+ }
4085
+ static types() {
4086
+ return {
4087
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4088
+ statusCode: 'number',
4089
+ body: UpdateUserStatusResponseBody,
4090
+ };
4091
+ }
4092
+ }
4093
+ exports.UpdateUserStatusResponse = UpdateUserStatusResponse;
4094
+ class CreateAccessAssignmentResponseBodyTask extends $tea.Model {
4095
+ constructor(map) {
4096
+ super(map);
4097
+ }
4098
+ static names() {
4099
+ return {
4100
+ accessConfigurationId: 'AccessConfigurationId',
4101
+ accessConfigurationName: 'AccessConfigurationName',
4102
+ principalId: 'PrincipalId',
4103
+ principalName: 'PrincipalName',
4104
+ principalType: 'PrincipalType',
4105
+ status: 'Status',
4106
+ targetId: 'TargetId',
4107
+ targetName: 'TargetName',
4108
+ targetPath: 'TargetPath',
4109
+ targetPathName: 'TargetPathName',
4110
+ targetType: 'TargetType',
4111
+ taskId: 'TaskId',
4112
+ taskType: 'TaskType',
4113
+ };
4114
+ }
4115
+ static types() {
4116
+ return {
4117
+ accessConfigurationId: 'string',
4118
+ accessConfigurationName: 'string',
4119
+ principalId: 'string',
4120
+ principalName: 'string',
4121
+ principalType: 'string',
4122
+ status: 'string',
4123
+ targetId: 'string',
4124
+ targetName: 'string',
4125
+ targetPath: 'string',
4126
+ targetPathName: 'string',
4127
+ targetType: 'string',
4128
+ taskId: 'string',
4129
+ taskType: 'string',
4130
+ };
4131
+ }
3816
4132
  }
3817
4133
  exports.CreateAccessAssignmentResponseBodyTask = CreateAccessAssignmentResponseBodyTask;
3818
4134
  class CreateAccessConfigurationResponseBodyAccessConfiguration extends $tea.Model {
@@ -3959,6 +4275,52 @@ class CreateUserResponseBodyUser extends $tea.Model {
3959
4275
  }
3960
4276
  }
3961
4277
  exports.CreateUserResponseBodyUser = CreateUserResponseBodyUser;
4278
+ class CreateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
4279
+ constructor(map) {
4280
+ super(map);
4281
+ }
4282
+ static names() {
4283
+ return {
4284
+ createTime: 'CreateTime',
4285
+ deletionStrategy: 'DeletionStrategy',
4286
+ description: 'Description',
4287
+ directoryId: 'DirectoryId',
4288
+ duplicationStrategy: 'DuplicationStrategy',
4289
+ ownerPk: 'OwnerPk',
4290
+ principalId: 'PrincipalId',
4291
+ principalName: 'PrincipalName',
4292
+ principalType: 'PrincipalType',
4293
+ status: 'Status',
4294
+ targetId: 'TargetId',
4295
+ targetName: 'TargetName',
4296
+ targetPath: 'TargetPath',
4297
+ targetType: 'TargetType',
4298
+ updateTime: 'UpdateTime',
4299
+ userProvisioningId: 'UserProvisioningId',
4300
+ };
4301
+ }
4302
+ static types() {
4303
+ return {
4304
+ createTime: 'string',
4305
+ deletionStrategy: 'string',
4306
+ description: 'string',
4307
+ directoryId: 'string',
4308
+ duplicationStrategy: 'string',
4309
+ ownerPk: 'string',
4310
+ principalId: 'string',
4311
+ principalName: 'string',
4312
+ principalType: 'string',
4313
+ status: 'string',
4314
+ targetId: 'string',
4315
+ targetName: 'string',
4316
+ targetPath: 'string',
4317
+ targetType: 'string',
4318
+ updateTime: 'string',
4319
+ userProvisioningId: 'string',
4320
+ };
4321
+ }
4322
+ }
4323
+ exports.CreateUserProvisioningResponseBodyUserProvisioning = CreateUserProvisioningResponseBodyUserProvisioning;
3962
4324
  class DeleteAccessAssignmentResponseBodyTask extends $tea.Model {
3963
4325
  constructor(map) {
3964
4326
  super(map);
@@ -4359,6 +4721,52 @@ class GetUserResponseBodyUser extends $tea.Model {
4359
4721
  }
4360
4722
  }
4361
4723
  exports.GetUserResponseBodyUser = GetUserResponseBodyUser;
4724
+ class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
4725
+ constructor(map) {
4726
+ super(map);
4727
+ }
4728
+ static names() {
4729
+ return {
4730
+ createTime: 'CreateTime',
4731
+ deletionStrategy: 'DeletionStrategy',
4732
+ description: 'Description',
4733
+ directoryId: 'DirectoryId',
4734
+ duplicationStrategy: 'DuplicationStrategy',
4735
+ ownerPk: 'OwnerPk',
4736
+ principalId: 'PrincipalId',
4737
+ principalName: 'PrincipalName',
4738
+ principalType: 'PrincipalType',
4739
+ status: 'Status',
4740
+ targetId: 'TargetId',
4741
+ targetName: 'TargetName',
4742
+ targetPath: 'TargetPath',
4743
+ targetType: 'TargetType',
4744
+ updateTime: 'UpdateTime',
4745
+ userProvisioningId: 'UserProvisioningId',
4746
+ };
4747
+ }
4748
+ static types() {
4749
+ return {
4750
+ createTime: 'string',
4751
+ deletionStrategy: 'string',
4752
+ description: 'string',
4753
+ directoryId: 'string',
4754
+ duplicationStrategy: 'string',
4755
+ ownerPk: 'string',
4756
+ principalId: 'string',
4757
+ principalName: 'string',
4758
+ principalType: 'string',
4759
+ status: 'string',
4760
+ targetId: 'string',
4761
+ targetName: 'string',
4762
+ targetPath: 'string',
4763
+ targetType: 'string',
4764
+ updateTime: 'string',
4765
+ userProvisioningId: 'string',
4766
+ };
4767
+ }
4768
+ }
4769
+ exports.GetUserProvisioningResponseBodyUserProvisioning = GetUserProvisioningResponseBodyUserProvisioning;
4362
4770
  class ListAccessAssignmentsResponseBodyAccessAssignments extends $tea.Model {
4363
4771
  constructor(map) {
4364
4772
  super(map);
@@ -4725,6 +5133,52 @@ class ListTasksResponseBodyTasks extends $tea.Model {
4725
5133
  }
4726
5134
  }
4727
5135
  exports.ListTasksResponseBodyTasks = ListTasksResponseBodyTasks;
5136
+ class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Model {
5137
+ constructor(map) {
5138
+ super(map);
5139
+ }
5140
+ static names() {
5141
+ return {
5142
+ createTime: 'CreateTime',
5143
+ deletionStrategy: 'DeletionStrategy',
5144
+ description: 'Description',
5145
+ directoryId: 'DirectoryId',
5146
+ duplicationStrategy: 'DuplicationStrategy',
5147
+ ownerPk: 'OwnerPk',
5148
+ principalId: 'PrincipalId',
5149
+ principalName: 'PrincipalName',
5150
+ principalType: 'PrincipalType',
5151
+ status: 'Status',
5152
+ targetId: 'TargetId',
5153
+ targetName: 'TargetName',
5154
+ targetPath: 'TargetPath',
5155
+ targetType: 'TargetType',
5156
+ updateTime: 'UpdateTime',
5157
+ userProvisioningId: 'UserProvisioningId',
5158
+ };
5159
+ }
5160
+ static types() {
5161
+ return {
5162
+ createTime: 'string',
5163
+ deletionStrategy: 'string',
5164
+ description: 'string',
5165
+ directoryId: 'string',
5166
+ duplicationStrategy: 'string',
5167
+ ownerPk: 'string',
5168
+ principalId: 'string',
5169
+ principalName: 'string',
5170
+ principalType: 'string',
5171
+ status: 'string',
5172
+ targetId: 'string',
5173
+ targetName: 'string',
5174
+ targetPath: 'string',
5175
+ targetType: 'string',
5176
+ updateTime: 'string',
5177
+ userProvisioningId: 'string',
5178
+ };
5179
+ }
5180
+ }
5181
+ exports.ListUserProvisioningsResponseBodyUserProvisionings = ListUserProvisioningsResponseBodyUserProvisionings;
4728
5182
  class ListUsersResponseBodyUsers extends $tea.Model {
4729
5183
  constructor(map) {
4730
5184
  super(map);
@@ -4969,6 +5423,52 @@ class UpdateUserResponseBodyUser extends $tea.Model {
4969
5423
  }
4970
5424
  }
4971
5425
  exports.UpdateUserResponseBodyUser = UpdateUserResponseBodyUser;
5426
+ class UpdateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
5427
+ constructor(map) {
5428
+ super(map);
5429
+ }
5430
+ static names() {
5431
+ return {
5432
+ createTime: 'CreateTime',
5433
+ deletionStrategy: 'DeletionStrategy',
5434
+ description: 'Description',
5435
+ directoryId: 'DirectoryId',
5436
+ duplicationStrategy: 'DuplicationStrategy',
5437
+ ownerPk: 'OwnerPk',
5438
+ principalId: 'PrincipalId',
5439
+ principalName: 'PrincipalName',
5440
+ principalType: 'PrincipalType',
5441
+ status: 'Status',
5442
+ targetId: 'TargetId',
5443
+ targetName: 'TargetName',
5444
+ targetPath: 'TargetPath',
5445
+ targetType: 'TargetType',
5446
+ updateTime: 'UpdateTime',
5447
+ userProvisioningId: 'UserProvisioningId',
5448
+ };
5449
+ }
5450
+ static types() {
5451
+ return {
5452
+ createTime: 'string',
5453
+ deletionStrategy: 'string',
5454
+ description: 'string',
5455
+ directoryId: 'string',
5456
+ duplicationStrategy: 'string',
5457
+ ownerPk: 'string',
5458
+ principalId: 'string',
5459
+ principalName: 'string',
5460
+ principalType: 'string',
5461
+ status: 'string',
5462
+ targetId: 'string',
5463
+ targetName: 'string',
5464
+ targetPath: 'string',
5465
+ targetType: 'string',
5466
+ updateTime: 'string',
5467
+ userProvisioningId: 'string',
5468
+ };
5469
+ }
5470
+ }
5471
+ exports.UpdateUserProvisioningResponseBodyUserProvisioning = UpdateUserProvisioningResponseBodyUserProvisioning;
4972
5472
  class Client extends openapi_client_1.default {
4973
5473
  constructor(config) {
4974
5474
  super(config);
@@ -4988,8 +5488,6 @@ class Client extends openapi_client_1.default {
4988
5488
  /**
4989
5489
  * You can add up to two SAML signing certificates.
4990
5490
  * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
4991
- * ## Limits
4992
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
4993
5491
  *
4994
5492
  * @param request AddExternalSAMLIdPCertificateRequest
4995
5493
  * @param runtime runtime options for this request RuntimeOptions
@@ -5023,8 +5521,6 @@ class Client extends openapi_client_1.default {
5023
5521
  /**
5024
5522
  * You can add up to two SAML signing certificates.
5025
5523
  * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
5026
- * ## Limits
5027
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5028
5524
  *
5029
5525
  * @param request AddExternalSAMLIdPCertificateRequest
5030
5526
  * @return AddExternalSAMLIdPCertificateResponse
@@ -5035,8 +5531,6 @@ class Client extends openapi_client_1.default {
5035
5531
  }
5036
5532
  /**
5037
5533
  * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
5038
- * ## Limits
5039
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5040
5534
  *
5041
5535
  * @param request AddPermissionPolicyToAccessConfigurationRequest
5042
5536
  * @param runtime runtime options for this request RuntimeOptions
@@ -5078,8 +5572,6 @@ class Client extends openapi_client_1.default {
5078
5572
  }
5079
5573
  /**
5080
5574
  * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
5081
- * ## Limits
5082
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5083
5575
  *
5084
5576
  * @param request AddPermissionPolicyToAccessConfigurationRequest
5085
5577
  * @return AddPermissionPolicyToAccessConfigurationResponse
@@ -5091,8 +5583,6 @@ class Client extends openapi_client_1.default {
5091
5583
  /**
5092
5584
  * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
5093
5585
  * This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
5094
- * ## Limits
5095
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5096
5586
  *
5097
5587
  * @param request AddUserToGroupRequest
5098
5588
  * @param runtime runtime options for this request RuntimeOptions
@@ -5129,8 +5619,6 @@ class Client extends openapi_client_1.default {
5129
5619
  /**
5130
5620
  * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
5131
5621
  * This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
5132
- * ## Limits
5133
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5134
5622
  *
5135
5623
  * @param request AddUserToGroupRequest
5136
5624
  * @return AddUserToGroupResponse
@@ -5142,8 +5630,6 @@ class Client extends openapi_client_1.default {
5142
5630
  /**
5143
5631
  * If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
5144
5632
  * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
5145
- * ## Limits
5146
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5147
5633
  *
5148
5634
  * @param request ClearExternalSAMLIdentityProviderRequest
5149
5635
  * @param runtime runtime options for this request RuntimeOptions
@@ -5174,8 +5660,6 @@ class Client extends openapi_client_1.default {
5174
5660
  /**
5175
5661
  * If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
5176
5662
  * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
5177
- * ## Limits
5178
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5179
5663
  *
5180
5664
  * @param request ClearExternalSAMLIdentityProviderRequest
5181
5665
  * @return ClearExternalSAMLIdentityProviderResponse
@@ -5188,8 +5672,6 @@ class Client extends openapi_client_1.default {
5188
5672
  * When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of task execution by using the value of the `TaskId` response parameter.
5189
5673
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
5190
5674
  * This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
5191
- * ## Limits
5192
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5193
5675
  *
5194
5676
  * @param request CreateAccessAssignmentRequest
5195
5677
  * @param runtime runtime options for this request RuntimeOptions
@@ -5236,8 +5718,6 @@ class Client extends openapi_client_1.default {
5236
5718
  * When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of task execution by using the value of the `TaskId` response parameter.
5237
5719
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
5238
5720
  * This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
5239
- * ## Limits
5240
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5241
5721
  *
5242
5722
  * @param request CreateAccessAssignmentRequest
5243
5723
  * @return CreateAccessAssignmentResponse
@@ -5249,8 +5729,6 @@ class Client extends openapi_client_1.default {
5249
5729
  /**
5250
5730
  * For more information about access configurations, see [Overview of access configurations](~~266737~~).
5251
5731
  * This topic provides an example on how to create an access configuration named `ECS-Admin`.
5252
- * ## Limits
5253
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5254
5732
  *
5255
5733
  * @param request CreateAccessConfigurationRequest
5256
5734
  * @param runtime runtime options for this request RuntimeOptions
@@ -5293,8 +5771,6 @@ class Client extends openapi_client_1.default {
5293
5771
  /**
5294
5772
  * For more information about access configurations, see [Overview of access configurations](~~266737~~).
5295
5773
  * This topic provides an example on how to create an access configuration named `ECS-Admin`.
5296
- * ## Limits
5297
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5298
5774
  *
5299
5775
  * @param request CreateAccessConfigurationRequest
5300
5776
  * @return CreateAccessConfigurationResponse
@@ -5310,8 +5786,6 @@ class Client extends openapi_client_1.default {
5310
5786
  * ## Limits
5311
5787
  * - You can create only one directory for a management account.
5312
5788
  * - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
5313
- * ## Limits
5314
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5315
5789
  *
5316
5790
  * @param request CreateDirectoryRequest
5317
5791
  * @param runtime runtime options for this request RuntimeOptions
@@ -5346,8 +5820,6 @@ class Client extends openapi_client_1.default {
5346
5820
  * ## Limits
5347
5821
  * - You can create only one directory for a management account.
5348
5822
  * - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
5349
- * ## Limits
5350
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5351
5823
  *
5352
5824
  * @param request CreateDirectoryRequest
5353
5825
  * @return CreateDirectoryResponse
@@ -5358,8 +5830,6 @@ class Client extends openapi_client_1.default {
5358
5830
  }
5359
5831
  /**
5360
5832
  * This topic provides an example on how to create a group named `TestGroup`.
5361
- * ## Limits
5362
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5363
5833
  *
5364
5834
  * @param request CreateGroupRequest
5365
5835
  * @param runtime runtime options for this request RuntimeOptions
@@ -5395,8 +5865,6 @@ class Client extends openapi_client_1.default {
5395
5865
  }
5396
5866
  /**
5397
5867
  * This topic provides an example on how to create a group named `TestGroup`.
5398
- * ## Limits
5399
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5400
5868
  *
5401
5869
  * @param request CreateGroupRequest
5402
5870
  * @return CreateGroupResponse
@@ -5408,8 +5876,6 @@ class Client extends openapi_client_1.default {
5408
5876
  /**
5409
5877
  * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
5410
5878
  * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
5411
- * ## Limits
5412
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5413
5879
  *
5414
5880
  * @param request CreateSCIMServerCredentialRequest
5415
5881
  * @param runtime runtime options for this request RuntimeOptions
@@ -5440,8 +5906,6 @@ class Client extends openapi_client_1.default {
5440
5906
  /**
5441
5907
  * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
5442
5908
  * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
5443
- * ## Limits
5444
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5445
5909
  *
5446
5910
  * @param request CreateSCIMServerCredentialRequest
5447
5911
  * @return CreateSCIMServerCredentialResponse
@@ -5452,8 +5916,6 @@ class Client extends openapi_client_1.default {
5452
5916
  }
5453
5917
  /**
5454
5918
  * This topic provides an example on how to create a user named `Alice`.
5455
- * ## Limits
5456
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5457
5919
  *
5458
5920
  * @param request CreateUserRequest
5459
5921
  * @param runtime runtime options for this request RuntimeOptions
@@ -5504,8 +5966,6 @@ class Client extends openapi_client_1.default {
5504
5966
  }
5505
5967
  /**
5506
5968
  * This topic provides an example on how to create a user named `Alice`.
5507
- * ## Limits
5508
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5509
5969
  *
5510
5970
  * @param request CreateUserRequest
5511
5971
  * @return CreateUserResponse
@@ -5514,11 +5974,56 @@ class Client extends openapi_client_1.default {
5514
5974
  let runtime = new $Util.RuntimeOptions({});
5515
5975
  return await this.createUserWithOptions(request, runtime);
5516
5976
  }
5977
+ async createUserProvisioningWithOptions(request, runtime) {
5978
+ tea_util_1.default.validateModel(request);
5979
+ let query = {};
5980
+ if (!tea_util_1.default.isUnset(request.deletionStrategy)) {
5981
+ query["DeletionStrategy"] = request.deletionStrategy;
5982
+ }
5983
+ if (!tea_util_1.default.isUnset(request.description)) {
5984
+ query["Description"] = request.description;
5985
+ }
5986
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
5987
+ query["DirectoryId"] = request.directoryId;
5988
+ }
5989
+ if (!tea_util_1.default.isUnset(request.duplicationStrategy)) {
5990
+ query["DuplicationStrategy"] = request.duplicationStrategy;
5991
+ }
5992
+ if (!tea_util_1.default.isUnset(request.principalId)) {
5993
+ query["PrincipalId"] = request.principalId;
5994
+ }
5995
+ if (!tea_util_1.default.isUnset(request.principalType)) {
5996
+ query["PrincipalType"] = request.principalType;
5997
+ }
5998
+ if (!tea_util_1.default.isUnset(request.targetId)) {
5999
+ query["TargetId"] = request.targetId;
6000
+ }
6001
+ if (!tea_util_1.default.isUnset(request.targetType)) {
6002
+ query["TargetType"] = request.targetType;
6003
+ }
6004
+ let req = new $OpenApi.OpenApiRequest({
6005
+ query: openapi_util_1.default.query(query),
6006
+ });
6007
+ let params = new $OpenApi.Params({
6008
+ action: "CreateUserProvisioning",
6009
+ version: "2021-05-15",
6010
+ protocol: "HTTPS",
6011
+ pathname: "/",
6012
+ method: "POST",
6013
+ authType: "AK",
6014
+ style: "RPC",
6015
+ reqBodyType: "formData",
6016
+ bodyType: "json",
6017
+ });
6018
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateUserProvisioningResponse({}));
6019
+ }
6020
+ async createUserProvisioning(request) {
6021
+ let runtime = new $Util.RuntimeOptions({});
6022
+ return await this.createUserProvisioningWithOptions(request, runtime);
6023
+ }
5517
6024
  /**
5518
6025
  * When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
5519
6026
  * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
5520
- * ## Limits
5521
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5522
6027
  *
5523
6028
  * @param request DeleteAccessAssignmentRequest
5524
6029
  * @param runtime runtime options for this request RuntimeOptions
@@ -5567,8 +6072,6 @@ class Client extends openapi_client_1.default {
5567
6072
  /**
5568
6073
  * When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
5569
6074
  * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
5570
- * ## Limits
5571
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5572
6075
  *
5573
6076
  * @param request DeleteAccessAssignmentRequest
5574
6077
  * @return DeleteAccessAssignmentResponse
@@ -5581,8 +6084,6 @@ class Client extends openapi_client_1.default {
5581
6084
  * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
5582
6085
  * ## Prerequisites
5583
6086
  * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](~~338352~~).
5584
- * ## Limits
5585
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5586
6087
  *
5587
6088
  * @param request DeleteAccessConfigurationRequest
5588
6089
  * @param runtime runtime options for this request RuntimeOptions
@@ -5620,8 +6121,6 @@ class Client extends openapi_client_1.default {
5620
6121
  * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
5621
6122
  * ## Prerequisites
5622
6123
  * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](~~338352~~).
5623
- * ## Limits
5624
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5625
6124
  *
5626
6125
  * @param request DeleteAccessConfigurationRequest
5627
6126
  * @return DeleteAccessConfigurationResponse
@@ -5640,8 +6139,6 @@ class Client extends openapi_client_1.default {
5640
6139
  * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
5641
6140
  * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
5642
6141
  * * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](~~341573~~).
5643
- * ## Limits
5644
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5645
6142
  *
5646
6143
  * @param request DeleteDirectoryRequest
5647
6144
  * @param runtime runtime options for this request RuntimeOptions
@@ -5679,8 +6176,6 @@ class Client extends openapi_client_1.default {
5679
6176
  * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
5680
6177
  * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
5681
6178
  * * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](~~341573~~).
5682
- * ## Limits
5683
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5684
6179
  *
5685
6180
  * @param request DeleteDirectoryRequest
5686
6181
  * @return DeleteDirectoryResponse
@@ -5695,8 +6190,6 @@ class Client extends openapi_client_1.default {
5695
6190
  * The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
5696
6191
  * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
5697
6192
  * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](~~338350~~).
5698
- * ## Limits
5699
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5700
6193
  *
5701
6194
  * @param request DeleteGroupRequest
5702
6195
  * @param runtime runtime options for this request RuntimeOptions
@@ -5733,8 +6226,6 @@ class Client extends openapi_client_1.default {
5733
6226
  * The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
5734
6227
  * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
5735
6228
  * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](~~338350~~).
5736
- * ## Limits
5737
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5738
6229
  *
5739
6230
  * @param request DeleteGroupRequest
5740
6231
  * @return DeleteGroupResponse
@@ -5745,8 +6236,6 @@ class Client extends openapi_client_1.default {
5745
6236
  }
5746
6237
  /**
5747
6238
  * This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
5748
- * ## Limits
5749
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5750
6239
  *
5751
6240
  * @param request DeleteMFADeviceForUserRequest
5752
6241
  * @param runtime runtime options for this request RuntimeOptions
@@ -5782,8 +6271,6 @@ class Client extends openapi_client_1.default {
5782
6271
  }
5783
6272
  /**
5784
6273
  * This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
5785
- * ## Limits
5786
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5787
6274
  *
5788
6275
  * @param request DeleteMFADeviceForUserRequest
5789
6276
  * @return DeleteMFADeviceForUserResponse
@@ -5795,8 +6282,6 @@ class Client extends openapi_client_1.default {
5795
6282
  /**
5796
6283
  * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
5797
6284
  * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
5798
- * ## Limits
5799
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5800
6285
  *
5801
6286
  * @param request DeleteSCIMServerCredentialRequest
5802
6287
  * @param runtime runtime options for this request RuntimeOptions
@@ -5830,8 +6315,6 @@ class Client extends openapi_client_1.default {
5830
6315
  /**
5831
6316
  * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
5832
6317
  * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
5833
- * ## Limits
5834
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5835
6318
  *
5836
6319
  * @param request DeleteSCIMServerCredentialRequest
5837
6320
  * @return DeleteSCIMServerCredentialResponse
@@ -5847,8 +6330,6 @@ class Client extends openapi_client_1.default {
5847
6330
  * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
5848
6331
  * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
5849
6332
  * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
5850
- * ## Limits
5851
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5852
6333
  *
5853
6334
  * @param request DeleteUserRequest
5854
6335
  * @param runtime runtime options for this request RuntimeOptions
@@ -5867,7 +6348,50 @@ class Client extends openapi_client_1.default {
5867
6348
  query: openapi_util_1.default.query(query),
5868
6349
  });
5869
6350
  let params = new $OpenApi.Params({
5870
- action: "DeleteUser",
6351
+ action: "DeleteUser",
6352
+ version: "2021-05-15",
6353
+ protocol: "HTTPS",
6354
+ pathname: "/",
6355
+ method: "POST",
6356
+ authType: "AK",
6357
+ style: "RPC",
6358
+ reqBodyType: "formData",
6359
+ bodyType: "json",
6360
+ });
6361
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserResponse({}));
6362
+ }
6363
+ /**
6364
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
6365
+ * ## Prerequisites
6366
+ * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
6367
+ * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
6368
+ * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
6369
+ * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
6370
+ *
6371
+ * @param request DeleteUserRequest
6372
+ * @return DeleteUserResponse
6373
+ */
6374
+ async deleteUser(request) {
6375
+ let runtime = new $Util.RuntimeOptions({});
6376
+ return await this.deleteUserWithOptions(request, runtime);
6377
+ }
6378
+ async deleteUserProvisioningWithOptions(request, runtime) {
6379
+ tea_util_1.default.validateModel(request);
6380
+ let query = {};
6381
+ if (!tea_util_1.default.isUnset(request.deletionStrategy)) {
6382
+ query["DeletionStrategy"] = request.deletionStrategy;
6383
+ }
6384
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
6385
+ query["DirectoryId"] = request.directoryId;
6386
+ }
6387
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
6388
+ query["UserProvisioningId"] = request.userProvisioningId;
6389
+ }
6390
+ let req = new $OpenApi.OpenApiRequest({
6391
+ query: openapi_util_1.default.query(query),
6392
+ });
6393
+ let params = new $OpenApi.Params({
6394
+ action: "DeleteUserProvisioning",
5871
6395
  version: "2021-05-15",
5872
6396
  protocol: "HTTPS",
5873
6397
  pathname: "/",
@@ -5877,30 +6401,15 @@ class Client extends openapi_client_1.default {
5877
6401
  reqBodyType: "formData",
5878
6402
  bodyType: "json",
5879
6403
  });
5880
- return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserResponse({}));
6404
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserProvisioningResponse({}));
5881
6405
  }
5882
- /**
5883
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
5884
- * ## Prerequisites
5885
- * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
5886
- * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
5887
- * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
5888
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
5889
- * ## Limits
5890
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5891
- *
5892
- * @param request DeleteUserRequest
5893
- * @return DeleteUserResponse
5894
- */
5895
- async deleteUser(request) {
6406
+ async deleteUserProvisioning(request) {
5896
6407
  let runtime = new $Util.RuntimeOptions({});
5897
- return await this.deleteUserWithOptions(request, runtime);
6408
+ return await this.deleteUserProvisioningWithOptions(request, runtime);
5898
6409
  }
5899
6410
  /**
5900
6411
  * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
5901
6412
  * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
5902
- * ## Limits
5903
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5904
6413
  *
5905
6414
  * @param request DeprovisionAccessConfigurationRequest
5906
6415
  * @param runtime runtime options for this request RuntimeOptions
@@ -5940,8 +6449,6 @@ class Client extends openapi_client_1.default {
5940
6449
  /**
5941
6450
  * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
5942
6451
  * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
5943
- * ## Limits
5944
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5945
6452
  *
5946
6453
  * @param request DeprovisionAccessConfigurationRequest
5947
6454
  * @return DeprovisionAccessConfigurationResponse
@@ -5952,8 +6459,6 @@ class Client extends openapi_client_1.default {
5952
6459
  }
5953
6460
  /**
5954
6461
  * If your CloudSSO has no directory, you can disable CloudSSO based on your business requirements. After you disable CloudSSO, you can enable it at any time.
5955
- * ## Limits
5956
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5957
6462
  *
5958
6463
  * @param request DisableServiceRequest
5959
6464
  * @param runtime runtime options for this request RuntimeOptions
@@ -5976,8 +6481,6 @@ class Client extends openapi_client_1.default {
5976
6481
  }
5977
6482
  /**
5978
6483
  * If your CloudSSO has no directory, you can disable CloudSSO based on your business requirements. After you disable CloudSSO, you can enable it at any time.
5979
- * ## Limits
5980
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5981
6484
  *
5982
6485
  * @return DisableServiceResponse
5983
6486
  */
@@ -5988,8 +6491,6 @@ class Client extends openapi_client_1.default {
5988
6491
  /**
5989
6492
  * You can call this operation only if your account belongs to the management account that is used to enable a resource directory and has permissions to enable CloudSSO. For more information, see [Enable CloudSSO](~~262819~~).
5990
6493
  * If you call this operation, you agree to the [Alibaba Cloud International Website Product Terms of Service](https://www.alibabacloud.com/help/doc-detail/42416.htm).
5991
- * ## Limits
5992
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
5993
6494
  *
5994
6495
  * @param request EnableServiceRequest
5995
6496
  * @param runtime runtime options for this request RuntimeOptions
@@ -6013,8 +6514,6 @@ class Client extends openapi_client_1.default {
6013
6514
  /**
6014
6515
  * You can call this operation only if your account belongs to the management account that is used to enable a resource directory and has permissions to enable CloudSSO. For more information, see [Enable CloudSSO](~~262819~~).
6015
6516
  * If you call this operation, you agree to the [Alibaba Cloud International Website Product Terms of Service](https://www.alibabacloud.com/help/doc-detail/42416.htm).
6016
- * ## Limits
6017
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6018
6517
  *
6019
6518
  * @return EnableServiceResponse
6020
6519
  */
@@ -6023,7 +6522,6 @@ class Client extends openapi_client_1.default {
6023
6522
  return await this.enableServiceWithOptions(runtime);
6024
6523
  }
6025
6524
  /**
6026
- * ## Usage notes
6027
6525
  * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
6028
6526
  *
6029
6527
  * @param request GetAccessConfigurationRequest
@@ -6056,7 +6554,6 @@ class Client extends openapi_client_1.default {
6056
6554
  return $tea.cast(await this.callApi(params, req, runtime), new GetAccessConfigurationResponse({}));
6057
6555
  }
6058
6556
  /**
6059
- * ## Usage notes
6060
6557
  * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
6061
6558
  *
6062
6559
  * @param request GetAccessConfigurationRequest
@@ -6068,8 +6565,6 @@ class Client extends openapi_client_1.default {
6068
6565
  }
6069
6566
  /**
6070
6567
  * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
6071
- * ## Limits
6072
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6073
6568
  *
6074
6569
  * @param request GetDirectoryRequest
6075
6570
  * @param runtime runtime options for this request RuntimeOptions
@@ -6099,8 +6594,6 @@ class Client extends openapi_client_1.default {
6099
6594
  }
6100
6595
  /**
6101
6596
  * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
6102
- * ## Limits
6103
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6104
6597
  *
6105
6598
  * @param request GetDirectoryRequest
6106
6599
  * @return GetDirectoryResponse
@@ -6112,8 +6605,6 @@ class Client extends openapi_client_1.default {
6112
6605
  /**
6113
6606
  * During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an identity provider (IdP).
6114
6607
  * This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
6115
- * ## Limits
6116
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6117
6608
  *
6118
6609
  * @param request GetDirectorySAMLServiceProviderInfoRequest
6119
6610
  * @param runtime runtime options for this request RuntimeOptions
@@ -6144,8 +6635,6 @@ class Client extends openapi_client_1.default {
6144
6635
  /**
6145
6636
  * During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an identity provider (IdP).
6146
6637
  * This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
6147
- * ## Limits
6148
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6149
6638
  *
6150
6639
  * @param request GetDirectorySAMLServiceProviderInfoRequest
6151
6640
  * @return GetDirectorySAMLServiceProviderInfoResponse
@@ -6155,8 +6644,9 @@ class Client extends openapi_client_1.default {
6155
6644
  return await this.getDirectorySAMLServiceProviderInfoWithOptions(request, runtime);
6156
6645
  }
6157
6646
  /**
6158
- * This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, number of access permissions that are assigned, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO) logon, and status of SCIM synchronization.
6159
- * ## Limits
6647
+ * ### [](#)
6648
+ * This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, quota for system policies that can be configured for an access configuration, number of access permissions that are assigned, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO), and status of SCIM synchronization.
6649
+ * ### [](#qps)Limit
6160
6650
  * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6161
6651
  *
6162
6652
  * @param request GetDirectoryStatisticsRequest
@@ -6186,8 +6676,9 @@ class Client extends openapi_client_1.default {
6186
6676
  return $tea.cast(await this.callApi(params, req, runtime), new GetDirectoryStatisticsResponse({}));
6187
6677
  }
6188
6678
  /**
6189
- * This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, number of access permissions that are assigned, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO) logon, and status of SCIM synchronization.
6190
- * ## Limits
6679
+ * ### [](#)
6680
+ * This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, quota for system policies that can be configured for an access configuration, number of access permissions that are assigned, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO), and status of SCIM synchronization.
6681
+ * ### [](#qps)Limit
6191
6682
  * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6192
6683
  *
6193
6684
  * @param request GetDirectoryStatisticsRequest
@@ -6199,8 +6690,6 @@ class Client extends openapi_client_1.default {
6199
6690
  }
6200
6691
  /**
6201
6692
  * This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
6202
- * ## Limits
6203
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6204
6693
  *
6205
6694
  * @param request GetExternalSAMLIdentityProviderRequest
6206
6695
  * @param runtime runtime options for this request RuntimeOptions
@@ -6230,8 +6719,6 @@ class Client extends openapi_client_1.default {
6230
6719
  }
6231
6720
  /**
6232
6721
  * This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
6233
- * ## Limits
6234
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6235
6722
  *
6236
6723
  * @param request GetExternalSAMLIdentityProviderRequest
6237
6724
  * @return GetExternalSAMLIdentityProviderResponse
@@ -6242,8 +6729,6 @@ class Client extends openapi_client_1.default {
6242
6729
  }
6243
6730
  /**
6244
6731
  * This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
6245
- * ## Limits
6246
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6247
6732
  *
6248
6733
  * @param request GetGroupRequest
6249
6734
  * @param runtime runtime options for this request RuntimeOptions
@@ -6276,8 +6761,6 @@ class Client extends openapi_client_1.default {
6276
6761
  }
6277
6762
  /**
6278
6763
  * This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
6279
- * ## Limits
6280
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6281
6764
  *
6282
6765
  * @param request GetGroupRequest
6283
6766
  * @return GetGroupResponse
@@ -6370,8 +6853,6 @@ class Client extends openapi_client_1.default {
6370
6853
  }
6371
6854
  /**
6372
6855
  * This topic provides an example on how to check whether MFA is enabled for users in the directory whose ID is `00fc2p61****`. The returned result shows that MFA is in the Enabled state.
6373
- * ## Limits
6374
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6375
6856
  *
6376
6857
  * @param request GetMFAAuthenticationStatusRequest
6377
6858
  * @param runtime runtime options for this request RuntimeOptions
@@ -6401,8 +6882,6 @@ class Client extends openapi_client_1.default {
6401
6882
  }
6402
6883
  /**
6403
6884
  * This topic provides an example on how to check whether MFA is enabled for users in the directory whose ID is `00fc2p61****`. The returned result shows that MFA is in the Enabled state.
6404
- * ## Limits
6405
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6406
6885
  *
6407
6886
  * @param request GetMFAAuthenticationStatusRequest
6408
6887
  * @return GetMFAAuthenticationStatusResponse
@@ -6413,8 +6892,6 @@ class Client extends openapi_client_1.default {
6413
6892
  }
6414
6893
  /**
6415
6894
  * This topic provides an example on how to query the status of SCIM synchronization within the directory `d-00fc2p61****`. The returned result shows that SCIM synchronization is in the Enabled state.
6416
- * ## Limits
6417
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6418
6895
  *
6419
6896
  * @param request GetSCIMSynchronizationStatusRequest
6420
6897
  * @param runtime runtime options for this request RuntimeOptions
@@ -6444,8 +6921,6 @@ class Client extends openapi_client_1.default {
6444
6921
  }
6445
6922
  /**
6446
6923
  * This topic provides an example on how to query the status of SCIM synchronization within the directory `d-00fc2p61****`. The returned result shows that SCIM synchronization is in the Enabled state.
6447
- * ## Limits
6448
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6449
6924
  *
6450
6925
  * @param request GetSCIMSynchronizationStatusRequest
6451
6926
  * @return GetSCIMSynchronizationStatusResponse
@@ -6454,14 +6929,6 @@ class Client extends openapi_client_1.default {
6454
6929
  let runtime = new $Util.RuntimeOptions({});
6455
6930
  return await this.getSCIMSynchronizationStatusWithOptions(request, runtime);
6456
6931
  }
6457
- /**
6458
- * ## Limits
6459
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6460
- *
6461
- * @param request GetServiceStatusRequest
6462
- * @param runtime runtime options for this request RuntimeOptions
6463
- * @return GetServiceStatusResponse
6464
- */
6465
6932
  async getServiceStatusWithOptions(runtime) {
6466
6933
  let req = new $OpenApi.OpenApiRequest({});
6467
6934
  let params = new $OpenApi.Params({
@@ -6477,20 +6944,12 @@ class Client extends openapi_client_1.default {
6477
6944
  });
6478
6945
  return $tea.cast(await this.callApi(params, req, runtime), new GetServiceStatusResponse({}));
6479
6946
  }
6480
- /**
6481
- * ## Limits
6482
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6483
- *
6484
- * @return GetServiceStatusResponse
6485
- */
6486
6947
  async getServiceStatus() {
6487
6948
  let runtime = new $Util.RuntimeOptions({});
6488
6949
  return await this.getServiceStatusWithOptions(runtime);
6489
6950
  }
6490
6951
  /**
6491
6952
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
6492
- * ## Limits
6493
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6494
6953
  *
6495
6954
  * @param request GetTaskRequest
6496
6955
  * @param runtime runtime options for this request RuntimeOptions
@@ -6523,8 +6982,6 @@ class Client extends openapi_client_1.default {
6523
6982
  }
6524
6983
  /**
6525
6984
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
6526
- * ## Limits
6527
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6528
6985
  *
6529
6986
  * @param request GetTaskRequest
6530
6987
  * @return GetTaskResponse
@@ -6536,8 +6993,6 @@ class Client extends openapi_client_1.default {
6536
6993
  /**
6537
6994
  * You can call the GetTaskStatus operation to query the status of an asynchronous task. If you want to query more information about an asynchronous task, you can call the [GetTask](~~340670~~) operation.
6538
6995
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
6539
- * ## Limits
6540
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6541
6996
  *
6542
6997
  * @param request GetTaskStatusRequest
6543
6998
  * @param runtime runtime options for this request RuntimeOptions
@@ -6571,8 +7026,6 @@ class Client extends openapi_client_1.default {
6571
7026
  /**
6572
7027
  * You can call the GetTaskStatus operation to query the status of an asynchronous task. If you want to query more information about an asynchronous task, you can call the [GetTask](~~340670~~) operation.
6573
7028
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
6574
- * ## Limits
6575
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6576
7029
  *
6577
7030
  * @param request GetTaskStatusRequest
6578
7031
  * @return GetTaskStatusResponse
@@ -6583,8 +7036,6 @@ class Client extends openapi_client_1.default {
6583
7036
  }
6584
7037
  /**
6585
7038
  * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
6586
- * ## Limits
6587
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6588
7039
  *
6589
7040
  * @param request GetUserRequest
6590
7041
  * @param runtime runtime options for this request RuntimeOptions
@@ -6617,8 +7068,6 @@ class Client extends openapi_client_1.default {
6617
7068
  }
6618
7069
  /**
6619
7070
  * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
6620
- * ## Limits
6621
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6622
7071
  *
6623
7072
  * @param request GetUserRequest
6624
7073
  * @return GetUserResponse
@@ -6669,10 +7118,37 @@ class Client extends openapi_client_1.default {
6669
7118
  let runtime = new $Util.RuntimeOptions({});
6670
7119
  return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
6671
7120
  }
7121
+ async getUserProvisioningWithOptions(request, runtime) {
7122
+ tea_util_1.default.validateModel(request);
7123
+ let query = {};
7124
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7125
+ query["DirectoryId"] = request.directoryId;
7126
+ }
7127
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
7128
+ query["UserProvisioningId"] = request.userProvisioningId;
7129
+ }
7130
+ let req = new $OpenApi.OpenApiRequest({
7131
+ query: openapi_util_1.default.query(query),
7132
+ });
7133
+ let params = new $OpenApi.Params({
7134
+ action: "GetUserProvisioning",
7135
+ version: "2021-05-15",
7136
+ protocol: "HTTPS",
7137
+ pathname: "/",
7138
+ method: "POST",
7139
+ authType: "AK",
7140
+ style: "RPC",
7141
+ reqBodyType: "formData",
7142
+ bodyType: "json",
7143
+ });
7144
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningResponse({}));
7145
+ }
7146
+ async getUserProvisioning(request) {
7147
+ let runtime = new $Util.RuntimeOptions({});
7148
+ return await this.getUserProvisioningWithOptions(request, runtime);
7149
+ }
6672
7150
  /**
6673
7151
  * This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
6674
- * ## Limits
6675
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6676
7152
  *
6677
7153
  * @param request ListAccessAssignmentsRequest
6678
7154
  * @param runtime runtime options for this request RuntimeOptions
@@ -6723,8 +7199,6 @@ class Client extends openapi_client_1.default {
6723
7199
  }
6724
7200
  /**
6725
7201
  * This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
6726
- * ## Limits
6727
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6728
7202
  *
6729
7203
  * @param request ListAccessAssignmentsRequest
6730
7204
  * @return ListAccessAssignmentsResponse
@@ -6734,7 +7208,6 @@ class Client extends openapi_client_1.default {
6734
7208
  return await this.listAccessAssignmentsWithOptions(request, runtime);
6735
7209
  }
6736
7210
  /**
6737
- * ## Usage notes
6738
7211
  * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
6739
7212
  *
6740
7213
  * @param request ListAccessConfigurationProvisioningsRequest
@@ -6782,7 +7255,6 @@ class Client extends openapi_client_1.default {
6782
7255
  return $tea.cast(await this.callApi(params, req, runtime), new ListAccessConfigurationProvisioningsResponse({}));
6783
7256
  }
6784
7257
  /**
6785
- * ## Usage notes
6786
7258
  * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
6787
7259
  *
6788
7260
  * @param request ListAccessConfigurationProvisioningsRequest
@@ -6793,7 +7265,6 @@ class Client extends openapi_client_1.default {
6793
7265
  return await this.listAccessConfigurationProvisioningsWithOptions(request, runtime);
6794
7266
  }
6795
7267
  /**
6796
- * ## Usage notes
6797
7268
  * This topic provides an example on how to query the access configurations within the directory `d-00fc2p61****`. The returned result shows that the directory contains the `VPC-Admin` and `ECS-Admin` access configurations.
6798
7269
  *
6799
7270
  * @param request ListAccessConfigurationsRequest
@@ -6835,7 +7306,6 @@ class Client extends openapi_client_1.default {
6835
7306
  return $tea.cast(await this.callApi(params, req, runtime), new ListAccessConfigurationsResponse({}));
6836
7307
  }
6837
7308
  /**
6838
- * ## Usage notes
6839
7309
  * This topic provides an example on how to query the access configurations within the directory `d-00fc2p61****`. The returned result shows that the directory contains the `VPC-Admin` and `ECS-Admin` access configurations.
6840
7310
  *
6841
7311
  * @param request ListAccessConfigurationsRequest
@@ -6847,8 +7317,6 @@ class Client extends openapi_client_1.default {
6847
7317
  }
6848
7318
  /**
6849
7319
  * This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
6850
- * ## Limits
6851
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6852
7320
  *
6853
7321
  * @param request ListDirectoriesRequest
6854
7322
  * @param runtime runtime options for this request RuntimeOptions
@@ -6871,8 +7339,6 @@ class Client extends openapi_client_1.default {
6871
7339
  }
6872
7340
  /**
6873
7341
  * This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
6874
- * ## Limits
6875
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6876
7342
  *
6877
7343
  * @return ListDirectoriesResponse
6878
7344
  */
@@ -6882,8 +7348,6 @@ class Client extends openapi_client_1.default {
6882
7348
  }
6883
7349
  /**
6884
7350
  * This topic provides an example on how to query the SAML signing certificates within the directory `d-00fc2p61****`. The returned result shows that the directory contains one SAML signing certificate.
6885
- * ## Limits
6886
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6887
7351
  *
6888
7352
  * @param request ListExternalSAMLIdPCertificatesRequest
6889
7353
  * @param runtime runtime options for this request RuntimeOptions
@@ -6913,8 +7377,6 @@ class Client extends openapi_client_1.default {
6913
7377
  }
6914
7378
  /**
6915
7379
  * This topic provides an example on how to query the SAML signing certificates within the directory `d-00fc2p61****`. The returned result shows that the directory contains one SAML signing certificate.
6916
- * ## Limits
6917
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6918
7380
  *
6919
7381
  * @param request ListExternalSAMLIdPCertificatesRequest
6920
7382
  * @return ListExternalSAMLIdPCertificatesResponse
@@ -6925,8 +7387,6 @@ class Client extends openapi_client_1.default {
6925
7387
  }
6926
7388
  /**
6927
7389
  * This topic provides an example on how to query the users in the group `g-00jqzghi2n3o5hkh****`. The returned result shows that the group contains the user `Alice` and the user `user1`.
6928
- * ## Limits
6929
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6930
7390
  *
6931
7391
  * @param request ListGroupMembersRequest
6932
7392
  * @param runtime runtime options for this request RuntimeOptions
@@ -6965,8 +7425,6 @@ class Client extends openapi_client_1.default {
6965
7425
  }
6966
7426
  /**
6967
7427
  * This topic provides an example on how to query the users in the group `g-00jqzghi2n3o5hkh****`. The returned result shows that the group contains the user `Alice` and the user `user1`.
6968
- * ## Limits
6969
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6970
7428
  *
6971
7429
  * @param request ListGroupMembersRequest
6972
7430
  * @return ListGroupMembersResponse
@@ -6977,8 +7435,6 @@ class Client extends openapi_client_1.default {
6977
7435
  }
6978
7436
  /**
6979
7437
  * This topic provides an example on how to query the groups in the directory `d-00fc2p61****`. The returned result shows that the directory contains three groups. The groups `group1` and `group2` are synchronized from an external identity provider (IdP). The group `TestGroup` is manually created in CloudSSO.
6980
- * ## Limits
6981
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
6982
7438
  *
6983
7439
  * @param request ListGroupsRequest
6984
7440
  * @param runtime runtime options for this request RuntimeOptions
@@ -7020,8 +7476,6 @@ class Client extends openapi_client_1.default {
7020
7476
  }
7021
7477
  /**
7022
7478
  * This topic provides an example on how to query the groups in the directory `d-00fc2p61****`. The returned result shows that the directory contains three groups. The groups `group1` and `group2` are synchronized from an external identity provider (IdP). The group `TestGroup` is manually created in CloudSSO.
7023
- * ## Limits
7024
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7025
7479
  *
7026
7480
  * @param request ListGroupsRequest
7027
7481
  * @return ListGroupsResponse
@@ -7032,8 +7486,6 @@ class Client extends openapi_client_1.default {
7032
7486
  }
7033
7487
  /**
7034
7488
  * This topic provides an example on how to query the groups to which the user `u-00q8wbq42wiltcrk****` is added. The returned result shows that the user is added to both the `TestGroup` and the `group1` groups.
7035
- * ## Limits
7036
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7037
7489
  *
7038
7490
  * @param request ListJoinedGroupsForUserRequest
7039
7491
  * @param runtime runtime options for this request RuntimeOptions
@@ -7072,8 +7524,6 @@ class Client extends openapi_client_1.default {
7072
7524
  }
7073
7525
  /**
7074
7526
  * This topic provides an example on how to query the groups to which the user `u-00q8wbq42wiltcrk****` is added. The returned result shows that the user is added to both the `TestGroup` and the `group1` groups.
7075
- * ## Limits
7076
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7077
7527
  *
7078
7528
  * @param request ListJoinedGroupsForUserRequest
7079
7529
  * @return ListJoinedGroupsForUserResponse
@@ -7084,8 +7534,6 @@ class Client extends openapi_client_1.default {
7084
7534
  }
7085
7535
  /**
7086
7536
  * This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
7087
- * ## Limits
7088
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7089
7537
  *
7090
7538
  * @param request ListMFADevicesForUserRequest
7091
7539
  * @param runtime runtime options for this request RuntimeOptions
@@ -7118,8 +7566,6 @@ class Client extends openapi_client_1.default {
7118
7566
  }
7119
7567
  /**
7120
7568
  * This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
7121
- * ## Limits
7122
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7123
7569
  *
7124
7570
  * @param request ListMFADevicesForUserRequest
7125
7571
  * @return ListMFADevicesForUserResponse
@@ -7130,8 +7576,6 @@ class Client extends openapi_client_1.default {
7130
7576
  }
7131
7577
  /**
7132
7578
  * This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
7133
- * ## Limits
7134
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7135
7579
  *
7136
7580
  * @param request ListPermissionPoliciesInAccessConfigurationRequest
7137
7581
  * @param runtime runtime options for this request RuntimeOptions
@@ -7167,8 +7611,6 @@ class Client extends openapi_client_1.default {
7167
7611
  }
7168
7612
  /**
7169
7613
  * This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
7170
- * ## Limits
7171
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7172
7614
  *
7173
7615
  * @param request ListPermissionPoliciesInAccessConfigurationRequest
7174
7616
  * @return ListPermissionPoliciesInAccessConfigurationResponse
@@ -7179,8 +7621,6 @@ class Client extends openapi_client_1.default {
7179
7621
  }
7180
7622
  /**
7181
7623
  * This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
7182
- * ## Limits
7183
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7184
7624
  *
7185
7625
  * @param request ListSCIMServerCredentialsRequest
7186
7626
  * @param runtime runtime options for this request RuntimeOptions
@@ -7210,8 +7650,6 @@ class Client extends openapi_client_1.default {
7210
7650
  }
7211
7651
  /**
7212
7652
  * This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
7213
- * ## Limits
7214
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7215
7653
  *
7216
7654
  * @param request ListSCIMServerCredentialsRequest
7217
7655
  * @return ListSCIMServerCredentialsResponse
@@ -7223,8 +7661,6 @@ class Client extends openapi_client_1.default {
7223
7661
  /**
7224
7662
  * By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
7225
7663
  * This topic provides an example on how to query the tasks within the previous 24 hours.
7226
- * ## Limits
7227
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7228
7664
  *
7229
7665
  * @param request ListTasksRequest
7230
7666
  * @param runtime runtime options for this request RuntimeOptions
@@ -7285,8 +7721,6 @@ class Client extends openapi_client_1.default {
7285
7721
  /**
7286
7722
  * By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
7287
7723
  * This topic provides an example on how to query the tasks within the previous 24 hours.
7288
- * ## Limits
7289
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7290
7724
  *
7291
7725
  * @param request ListTasksRequest
7292
7726
  * @return ListTasksResponse
@@ -7295,10 +7729,52 @@ class Client extends openapi_client_1.default {
7295
7729
  let runtime = new $Util.RuntimeOptions({});
7296
7730
  return await this.listTasksWithOptions(request, runtime);
7297
7731
  }
7732
+ async listUserProvisioningsWithOptions(request, runtime) {
7733
+ tea_util_1.default.validateModel(request);
7734
+ let query = {};
7735
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7736
+ query["DirectoryId"] = request.directoryId;
7737
+ }
7738
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
7739
+ query["MaxResults"] = request.maxResults;
7740
+ }
7741
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
7742
+ query["NextToken"] = request.nextToken;
7743
+ }
7744
+ if (!tea_util_1.default.isUnset(request.principalId)) {
7745
+ query["PrincipalId"] = request.principalId;
7746
+ }
7747
+ if (!tea_util_1.default.isUnset(request.principalType)) {
7748
+ query["PrincipalType"] = request.principalType;
7749
+ }
7750
+ if (!tea_util_1.default.isUnset(request.targetId)) {
7751
+ query["TargetId"] = request.targetId;
7752
+ }
7753
+ if (!tea_util_1.default.isUnset(request.targetType)) {
7754
+ query["TargetType"] = request.targetType;
7755
+ }
7756
+ let req = new $OpenApi.OpenApiRequest({
7757
+ query: openapi_util_1.default.query(query),
7758
+ });
7759
+ let params = new $OpenApi.Params({
7760
+ action: "ListUserProvisionings",
7761
+ version: "2021-05-15",
7762
+ protocol: "HTTPS",
7763
+ pathname: "/",
7764
+ method: "POST",
7765
+ authType: "AK",
7766
+ style: "RPC",
7767
+ reqBodyType: "formData",
7768
+ bodyType: "json",
7769
+ });
7770
+ return $tea.cast(await this.callApi(params, req, runtime), new ListUserProvisioningsResponse({}));
7771
+ }
7772
+ async listUserProvisionings(request) {
7773
+ let runtime = new $Util.RuntimeOptions({});
7774
+ return await this.listUserProvisioningsWithOptions(request, runtime);
7775
+ }
7298
7776
  /**
7299
7777
  * This topic provides an example on how to query users in the `d-00fc2p61****` directory. The returned result shows that the directory contains two users. The user `AliceLee` is synchronized from an external identity provider (IdP). The user `user1` is manually created within CloudSSO.
7300
- * ## Limits
7301
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7302
7778
  *
7303
7779
  * @param request ListUsersRequest
7304
7780
  * @param runtime runtime options for this request RuntimeOptions
@@ -7343,8 +7819,6 @@ class Client extends openapi_client_1.default {
7343
7819
  }
7344
7820
  /**
7345
7821
  * This topic provides an example on how to query users in the `d-00fc2p61****` directory. The returned result shows that the directory contains two users. The user `AliceLee` is synchronized from an external identity provider (IdP). The user `user1` is manually created within CloudSSO.
7346
- * ## Limits
7347
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7348
7822
  *
7349
7823
  * @param request ListUsersRequest
7350
7824
  * @return ListUsersResponse
@@ -7356,8 +7830,6 @@ class Client extends openapi_client_1.default {
7356
7830
  /**
7357
7831
  * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
7358
7832
  * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
7359
- * ## Limits
7360
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7361
7833
  *
7362
7834
  * @param request ProvisionAccessConfigurationRequest
7363
7835
  * @param runtime runtime options for this request RuntimeOptions
@@ -7397,8 +7869,6 @@ class Client extends openapi_client_1.default {
7397
7869
  /**
7398
7870
  * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
7399
7871
  * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
7400
- * ## Limits
7401
- * You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7402
7872
  *
7403
7873
  * @param request ProvisionAccessConfigurationRequest
7404
7874
  * @return ProvisionAccessConfigurationResponse
@@ -7409,8 +7879,6 @@ class Client extends openapi_client_1.default {
7409
7879
  }
7410
7880
  /**
7411
7881
  * This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
7412
- * ## Limits
7413
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7414
7882
  *
7415
7883
  * @param request RemoveExternalSAMLIdPCertificateRequest
7416
7884
  * @param runtime runtime options for this request RuntimeOptions
@@ -7443,8 +7911,6 @@ class Client extends openapi_client_1.default {
7443
7911
  }
7444
7912
  /**
7445
7913
  * This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
7446
- * ## Limits
7447
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7448
7914
  *
7449
7915
  * @param request RemoveExternalSAMLIdPCertificateRequest
7450
7916
  * @return RemoveExternalSAMLIdPCertificateResponse
@@ -7456,8 +7922,6 @@ class Client extends openapi_client_1.default {
7456
7922
  /**
7457
7923
  * After you remove an inline policy from an access configuration, the policy cannot be restored.
7458
7924
  * This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
7459
- * ## Limits
7460
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7461
7925
  *
7462
7926
  * @param request RemovePermissionPolicyFromAccessConfigurationRequest
7463
7927
  * @param runtime runtime options for this request RuntimeOptions
@@ -7497,8 +7961,6 @@ class Client extends openapi_client_1.default {
7497
7961
  /**
7498
7962
  * After you remove an inline policy from an access configuration, the policy cannot be restored.
7499
7963
  * This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
7500
- * ## Limits
7501
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7502
7964
  *
7503
7965
  * @param request RemovePermissionPolicyFromAccessConfigurationRequest
7504
7966
  * @return RemovePermissionPolicyFromAccessConfigurationResponse
@@ -7510,8 +7972,6 @@ class Client extends openapi_client_1.default {
7510
7972
  /**
7511
7973
  * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot remove a user from a group that is synchronized by using SCIM.
7512
7974
  * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
7513
- * ## Limits
7514
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7515
7975
  *
7516
7976
  * @param request RemoveUserFromGroupRequest
7517
7977
  * @param runtime runtime options for this request RuntimeOptions
@@ -7548,8 +8008,6 @@ class Client extends openapi_client_1.default {
7548
8008
  /**
7549
8009
  * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot remove a user from a group that is synchronized by using SCIM.
7550
8010
  * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
7551
- * ## Limits
7552
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7553
8011
  *
7554
8012
  * @param request RemoveUserFromGroupRequest
7555
8013
  * @return RemoveUserFromGroupResponse
@@ -7562,8 +8020,6 @@ class Client extends openapi_client_1.default {
7562
8020
  * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
7563
8021
  * > After you enable SSO logon, your password cannot be reset.
7564
8022
  * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
7565
- * ## Limits
7566
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7567
8023
  *
7568
8024
  * @param request ResetUserPasswordRequest
7569
8025
  * @param runtime runtime options for this request RuntimeOptions
@@ -7607,8 +8063,6 @@ class Client extends openapi_client_1.default {
7607
8063
  * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
7608
8064
  * > After you enable SSO logon, your password cannot be reset.
7609
8065
  * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
7610
- * ## Limits
7611
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7612
8066
  *
7613
8067
  * @param request ResetUserPasswordRequest
7614
8068
  * @return ResetUserPasswordResponse
@@ -7618,11 +8072,10 @@ class Client extends openapi_client_1.default {
7618
8072
  return await this.resetUserPasswordWithOptions(request, runtime);
7619
8073
  }
7620
8074
  /**
7621
- * ## Usage notes
7622
8075
  * During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an IdP.
7623
8076
  * You can use one of the following methods to configure a SAML IdP. You can obtain the required metadata file or parameter values from your IdP.
7624
8077
  * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
7625
- * * Manually configure the IdP. You can manually specifythe following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
8078
+ * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
7626
8079
  * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
7627
8080
  * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
7628
8081
  * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
@@ -7674,11 +8127,10 @@ class Client extends openapi_client_1.default {
7674
8127
  return $tea.cast(await this.callApi(params, req, runtime), new SetExternalSAMLIdentityProviderResponse({}));
7675
8128
  }
7676
8129
  /**
7677
- * ## Usage notes
7678
8130
  * During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an IdP.
7679
8131
  * You can use one of the following methods to configure a SAML IdP. You can obtain the required metadata file or parameter values from your IdP.
7680
8132
  * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
7681
- * * Manually configure the IdP. You can manually specifythe following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
8133
+ * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
7682
8134
  * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
7683
8135
  * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
7684
8136
  * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
@@ -7695,8 +8147,6 @@ class Client extends openapi_client_1.default {
7695
8147
  /**
7696
8148
  * If a CloudSSO administrator enables username-password logon for users, CloudSSO automatically enables MFA to improve security. The administrator can call this operation to enable or disable MFA based on the business requirements.
7697
8149
  * This topic provides an example on how to enable MFA for users.
7698
- * ## Limits
7699
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7700
8150
  *
7701
8151
  * @param request SetMFAAuthenticationStatusRequest
7702
8152
  * @param runtime runtime options for this request RuntimeOptions
@@ -7730,8 +8180,6 @@ class Client extends openapi_client_1.default {
7730
8180
  /**
7731
8181
  * If a CloudSSO administrator enables username-password logon for users, CloudSSO automatically enables MFA to improve security. The administrator can call this operation to enable or disable MFA based on the business requirements.
7732
8182
  * This topic provides an example on how to enable MFA for users.
7733
- * ## Limits
7734
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7735
8183
  *
7736
8184
  * @param request SetMFAAuthenticationStatusRequest
7737
8185
  * @return SetMFAAuthenticationStatusResponse
@@ -7745,8 +8193,6 @@ class Client extends openapi_client_1.default {
7745
8193
  * * After you enable SCIM synchronization, you cannot modify or delete the users or groups that are synchronized to CloudSSO by using SCIM. In addition, you cannot add users to or remove users from the groups. However, you can change the passwords of the users and enable or disable the logon of the users.
7746
8194
  * * After you disable SCIM synchronization, you can modify and delete the users and groups that are synchronized to CloudSSO by using SCIM. You can also add users to or remove users from the groups.
7747
8195
  * This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
7748
- * ## Limits
7749
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7750
8196
  *
7751
8197
  * @param request SetSCIMSynchronizationStatusRequest
7752
8198
  * @param runtime runtime options for this request RuntimeOptions
@@ -7782,8 +8228,6 @@ class Client extends openapi_client_1.default {
7782
8228
  * * After you enable SCIM synchronization, you cannot modify or delete the users or groups that are synchronized to CloudSSO by using SCIM. In addition, you cannot add users to or remove users from the groups. However, you can change the passwords of the users and enable or disable the logon of the users.
7783
8229
  * * After you disable SCIM synchronization, you can modify and delete the users and groups that are synchronized to CloudSSO by using SCIM. You can also add users to or remove users from the groups.
7784
8230
  * This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
7785
- * ## Limits
7786
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7787
8231
  *
7788
8232
  * @param request SetSCIMSynchronizationStatusRequest
7789
8233
  * @return SetSCIMSynchronizationStatusResponse
@@ -7795,8 +8239,6 @@ class Client extends openapi_client_1.default {
7795
8239
  /**
7796
8240
  * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
7797
8241
  * This topic provides an example on how to change the initial web page in the access configuration `ac-00jhtfl8thteu6uj****` to `https://cloudsso.console.aliyun.com`.
7798
- * ## Limits
7799
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7800
8242
  *
7801
8243
  * @param request UpdateAccessConfigurationRequest
7802
8244
  * @param runtime runtime options for this request RuntimeOptions
@@ -7839,8 +8281,6 @@ class Client extends openapi_client_1.default {
7839
8281
  /**
7840
8282
  * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
7841
8283
  * This topic provides an example on how to change the initial web page in the access configuration `ac-00jhtfl8thteu6uj****` to `https://cloudsso.console.aliyun.com`.
7842
- * ## Limits
7843
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7844
8284
  *
7845
8285
  * @param request UpdateAccessConfigurationRequest
7846
8286
  * @return UpdateAccessConfigurationResponse
@@ -7852,8 +8292,6 @@ class Client extends openapi_client_1.default {
7852
8292
  /**
7853
8293
  * After you change the name of a directory, the URL that is used to log on to the Cloud SSO user portal is changed. You must notify the Cloud SSO users of the correct URL.
7854
8294
  * This topic provides an example on how to change the name of a directory to `new-example`.
7855
- * ## Limits
7856
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7857
8295
  *
7858
8296
  * @param request UpdateDirectoryRequest
7859
8297
  * @param runtime runtime options for this request RuntimeOptions
@@ -7887,8 +8325,6 @@ class Client extends openapi_client_1.default {
7887
8325
  /**
7888
8326
  * After you change the name of a directory, the URL that is used to log on to the Cloud SSO user portal is changed. You must notify the Cloud SSO users of the correct URL.
7889
8327
  * This topic provides an example on how to change the name of a directory to `new-example`.
7890
- * ## Limits
7891
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7892
8328
  *
7893
8329
  * @param request UpdateDirectoryRequest
7894
8330
  * @return UpdateDirectoryResponse
@@ -7901,8 +8337,6 @@ class Client extends openapi_client_1.default {
7901
8337
  * You can modify `GroupName` and `Description` for a group.
7902
8338
  * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a group that is synchronized by using SCIM.
7903
8339
  * This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
7904
- * ## Limits
7905
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7906
8340
  *
7907
8341
  * @param request UpdateGroupRequest
7908
8342
  * @param runtime runtime options for this request RuntimeOptions
@@ -7943,8 +8377,6 @@ class Client extends openapi_client_1.default {
7943
8377
  * You can modify `GroupName` and `Description` for a group.
7944
8378
  * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a group that is synchronized by using SCIM.
7945
8379
  * This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
7946
- * ## Limits
7947
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7948
8380
  *
7949
8381
  * @param request UpdateGroupRequest
7950
8382
  * @return UpdateGroupResponse
@@ -7955,8 +8387,6 @@ class Client extends openapi_client_1.default {
7955
8387
  }
7956
8388
  /**
7957
8389
  * This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
7958
- * ## Limits
7959
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7960
8390
  *
7961
8391
  * @param request UpdateInlinePolicyForAccessConfigurationRequest
7962
8392
  * @param runtime runtime options for this request RuntimeOptions
@@ -7995,8 +8425,6 @@ class Client extends openapi_client_1.default {
7995
8425
  }
7996
8426
  /**
7997
8427
  * This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
7998
- * ## Limits
7999
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
8000
8428
  *
8001
8429
  * @param request UpdateInlinePolicyForAccessConfigurationRequest
8002
8430
  * @return UpdateInlinePolicyForAccessConfigurationResponse
@@ -8054,8 +8482,6 @@ class Client extends openapi_client_1.default {
8054
8482
  }
8055
8483
  /**
8056
8484
  * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
8057
- * ## Limits
8058
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
8059
8485
  *
8060
8486
  * @param request UpdateSCIMServerCredentialStatusRequest
8061
8487
  * @param runtime runtime options for this request RuntimeOptions
@@ -8091,8 +8517,6 @@ class Client extends openapi_client_1.default {
8091
8517
  }
8092
8518
  /**
8093
8519
  * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
8094
- * ## Limits
8095
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
8096
8520
  *
8097
8521
  * @param request UpdateSCIMServerCredentialStatusRequest
8098
8522
  * @return UpdateSCIMServerCredentialStatusResponse
@@ -8105,8 +8529,6 @@ class Client extends openapi_client_1.default {
8105
8529
  * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
8106
8530
  * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a user that is synchronized by using SCIM.
8107
8531
  * This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
8108
- * ## Limits
8109
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
8110
8532
  *
8111
8533
  * @param request UpdateUserRequest
8112
8534
  * @param runtime runtime options for this request RuntimeOptions
@@ -8156,8 +8578,6 @@ class Client extends openapi_client_1.default {
8156
8578
  * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
8157
8579
  * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a user that is synchronized by using SCIM.
8158
8580
  * This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
8159
- * ## Limits
8160
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
8161
8581
  *
8162
8582
  * @param request UpdateUserRequest
8163
8583
  * @return UpdateUserResponse
@@ -8215,10 +8635,46 @@ class Client extends openapi_client_1.default {
8215
8635
  let runtime = new $Util.RuntimeOptions({});
8216
8636
  return await this.updateUserMFAAuthenticationSettingsWithOptions(request, runtime);
8217
8637
  }
8638
+ async updateUserProvisioningWithOptions(request, runtime) {
8639
+ tea_util_1.default.validateModel(request);
8640
+ let query = {};
8641
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8642
+ query["DirectoryId"] = request.directoryId;
8643
+ }
8644
+ if (!tea_util_1.default.isUnset(request.newDeletionStrategy)) {
8645
+ query["NewDeletionStrategy"] = request.newDeletionStrategy;
8646
+ }
8647
+ if (!tea_util_1.default.isUnset(request.newDescription)) {
8648
+ query["NewDescription"] = request.newDescription;
8649
+ }
8650
+ if (!tea_util_1.default.isUnset(request.newDuplicationStrategy)) {
8651
+ query["NewDuplicationStrategy"] = request.newDuplicationStrategy;
8652
+ }
8653
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
8654
+ query["UserProvisioningId"] = request.userProvisioningId;
8655
+ }
8656
+ let req = new $OpenApi.OpenApiRequest({
8657
+ query: openapi_util_1.default.query(query),
8658
+ });
8659
+ let params = new $OpenApi.Params({
8660
+ action: "UpdateUserProvisioning",
8661
+ version: "2021-05-15",
8662
+ protocol: "HTTPS",
8663
+ pathname: "/",
8664
+ method: "POST",
8665
+ authType: "AK",
8666
+ style: "RPC",
8667
+ reqBodyType: "formData",
8668
+ bodyType: "json",
8669
+ });
8670
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserProvisioningResponse({}));
8671
+ }
8672
+ async updateUserProvisioning(request) {
8673
+ let runtime = new $Util.RuntimeOptions({});
8674
+ return await this.updateUserProvisioningWithOptions(request, runtime);
8675
+ }
8218
8676
  /**
8219
8677
  * This topic provides an example on how to change the status of the user whose ID is `u-00q8wbq42wiltcrk****` to Disabled. Users in the Disabled state cannot log on to the CloudSSO user portal.
8220
- * ## Limits
8221
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
8222
8678
  *
8223
8679
  * @param request UpdateUserStatusRequest
8224
8680
  * @param runtime runtime options for this request RuntimeOptions
@@ -8254,8 +8710,6 @@ class Client extends openapi_client_1.default {
8254
8710
  }
8255
8711
  /**
8256
8712
  * This topic provides an example on how to change the status of the user whose ID is `u-00q8wbq42wiltcrk****` to Disabled. Users in the Disabled state cannot log on to the CloudSSO user portal.
8257
- * ## Limits
8258
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
8259
8713
  *
8260
8714
  * @param request UpdateUserStatusRequest
8261
8715
  * @return UpdateUserStatusResponse