@alicloud/cloudsso20210515 1.2.0 → 1.4.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
@@ -1,15 +1,28 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
2
14
  var __importStar = (this && this.__importStar) || function (mod) {
3
15
  if (mod && mod.__esModule) return mod;
4
16
  var result = {};
5
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
6
- result["default"] = mod;
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
7
19
  return result;
8
20
  };
9
21
  var __importDefault = (this && this.__importDefault) || function (mod) {
10
22
  return (mod && mod.__esModule) ? mod : { "default": mod };
11
23
  };
12
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration = exports.UpdateUserProvisioningResponseBodyUserProvisioning = exports.UpdateUserResponseBodyUser = exports.UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential = exports.UpdateGroupResponseBodyGroup = exports.UpdateDirectoryResponseBodyDirectory = exports.UpdateAccessConfigurationResponseBodyAccessConfiguration = exports.SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration = exports.ProvisionAccessConfigurationResponseBodyTasks = exports.ListUsersResponseBodyUsers = exports.ListUsersResponseBodyUsersExternalId = exports.ListUserProvisioningsResponseBodyUserProvisionings = exports.ListUserProvisioningEventsResponseBodyUserProvisioningEvents = exports.ListTasksResponseBodyTasks = exports.ListSCIMServerCredentialsResponseBodySCIMServerCredentials = exports.ListPermissionPoliciesInAccessConfigurationResponseBodyPermissionPolicies = exports.ListMFADevicesForUserResponseBodyMFADevices = exports.ListJoinedGroupsForUserResponseBodyJoinedGroups = exports.ListGroupsResponseBodyGroups = exports.ListGroupMembersResponseBodyGroupMembers = exports.ListExternalSAMLIdPCertificatesResponseBodySAMLIdPCertificates = exports.ListDirectoriesResponseBodyDirectories = exports.ListAccessConfigurationsResponseBodyAccessConfigurations = exports.ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings = exports.ListAccessAssignmentsResponseBodyAccessAssignments = exports.GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics = exports.GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics = exports.GetUserProvisioningEventResponseBodyUserProvisioningEvent = exports.GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration = exports.GetUserProvisioningResponseBodyUserProvisioning = exports.GetUserIdRequestExternalId = exports.GetUserResponseBodyUser = exports.GetUserResponseBodyUserExternalId = exports.GetTaskStatusResponseBodyTaskStatus = exports.GetTaskResponseBodyTask = exports.GetServiceStatusResponseBodyServiceStatus = exports.GetPasswordPolicyResponseBodyPasswordPolicy = exports.GetMFAAuthenticationSettingInfoResponseBodyMFAAuthenticationSettingInfo = exports.GetLoginPreferenceResponseBodyLoginPreference = exports.GetGroupResponseBodyGroup = exports.GetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration = exports.GetDirectoryStatisticsResponseBodyDirectoryStatistics = exports.GetDirectorySAMLServiceProviderInfoResponseBodySAMLServiceProvider = exports.GetDirectoryResponseBodyDirectory = exports.GetAccessConfigurationResponseBodyAccessConfiguration = exports.DeprovisionAccessConfigurationResponseBodyTasks = exports.DeleteAccessAssignmentResponseBodyTask = exports.CreateUserProvisioningResponseBodyUserProvisioning = exports.CreateUserResponseBodyUser = exports.CreateSCIMServerCredentialResponseBodySCIMServerCredential = exports.CreateGroupResponseBodyGroup = exports.CreateDirectoryResponseBodyDirectory = exports.CreateAccessConfigurationResponseBodyAccessConfiguration = exports.CreateAccessAssignmentResponseBodyTask = exports.UpdateUserStatusResponse = exports.UpdateUserStatusResponseBody = exports.UpdateUserStatusRequest = exports.UpdateUserProvisioningConfigurationResponse = exports.UpdateUserProvisioningConfigurationResponseBody = exports.UpdateUserProvisioningConfigurationRequest = exports.UpdateUserProvisioningResponse = exports.UpdateUserProvisioningResponseBody = exports.UpdateUserProvisioningRequest = exports.UpdateUserMFAAuthenticationSettingsResponse = exports.UpdateUserMFAAuthenticationSettingsResponseBody = exports.UpdateUserMFAAuthenticationSettingsRequest = exports.UpdateUserResponse = exports.UpdateUserResponseBody = exports.UpdateUserRequest = exports.UpdateSCIMServerCredentialStatusResponse = exports.UpdateSCIMServerCredentialStatusResponseBody = exports.UpdateSCIMServerCredentialStatusRequest = exports.UpdateMFAAuthenticationSettingsResponse = exports.UpdateMFAAuthenticationSettingsResponseBody = exports.UpdateMFAAuthenticationSettingsRequest = exports.UpdateInlinePolicyForAccessConfigurationResponse = exports.UpdateInlinePolicyForAccessConfigurationResponseBody = exports.UpdateInlinePolicyForAccessConfigurationRequest = exports.UpdateGroupResponse = exports.UpdateGroupResponseBody = exports.UpdateGroupRequest = exports.UpdateDirectoryResponse = exports.UpdateDirectoryResponseBody = exports.UpdateDirectoryRequest = exports.UpdateAccessConfigurationResponse = exports.UpdateAccessConfigurationResponseBody = exports.UpdateAccessConfigurationRequest = exports.SetSCIMSynchronizationStatusResponse = exports.SetSCIMSynchronizationStatusResponseBody = exports.SetSCIMSynchronizationStatusRequest = exports.SetPasswordPolicyResponse = exports.SetPasswordPolicyResponseBody = exports.SetPasswordPolicyRequest = exports.SetMFAAuthenticationStatusResponse = exports.SetMFAAuthenticationStatusResponseBody = exports.SetMFAAuthenticationStatusRequest = exports.SetLoginPreferenceResponse = exports.SetLoginPreferenceResponseBody = exports.SetLoginPreferenceRequest = exports.SetExternalSAMLIdentityProviderResponse = exports.SetExternalSAMLIdentityProviderResponseBody = exports.SetExternalSAMLIdentityProviderRequest = exports.RetryUserProvisioningEventResponse = exports.RetryUserProvisioningEventResponseBody = exports.RetryUserProvisioningEventRequest = exports.ResetUserPasswordResponse = exports.ResetUserPasswordResponseBody = exports.ResetUserPasswordRequest = exports.RemoveUserFromGroupResponse = exports.RemoveUserFromGroupResponseBody = exports.RemoveUserFromGroupRequest = exports.RemovePermissionPolicyFromAccessConfigurationResponse = exports.RemovePermissionPolicyFromAccessConfigurationResponseBody = exports.RemovePermissionPolicyFromAccessConfigurationRequest = exports.RemoveExternalSAMLIdPCertificateResponse = exports.RemoveExternalSAMLIdPCertificateResponseBody = exports.RemoveExternalSAMLIdPCertificateRequest = exports.ProvisionAccessConfigurationResponse = exports.ProvisionAccessConfigurationResponseBody = exports.ProvisionAccessConfigurationRequest = exports.ListUsersResponse = exports.ListUsersResponseBody = exports.ListUsersRequest = exports.ListUserProvisioningsResponse = exports.ListUserProvisioningsResponseBody = exports.ListUserProvisioningsRequest = exports.ListUserProvisioningEventsResponse = exports.ListUserProvisioningEventsResponseBody = exports.ListUserProvisioningEventsRequest = exports.ListTasksResponse = exports.ListTasksResponseBody = exports.ListTasksRequest = exports.ListSCIMServerCredentialsResponse = exports.ListSCIMServerCredentialsResponseBody = exports.ListSCIMServerCredentialsRequest = exports.ListPermissionPoliciesInAccessConfigurationResponse = exports.ListPermissionPoliciesInAccessConfigurationResponseBody = exports.ListPermissionPoliciesInAccessConfigurationRequest = exports.ListMFADevicesForUserResponse = exports.ListMFADevicesForUserResponseBody = exports.ListMFADevicesForUserRequest = exports.ListJoinedGroupsForUserResponse = exports.ListJoinedGroupsForUserResponseBody = exports.ListJoinedGroupsForUserRequest = exports.ListGroupsResponse = exports.ListGroupsResponseBody = exports.ListGroupsRequest = exports.ListGroupMembersResponse = exports.ListGroupMembersResponseBody = exports.ListGroupMembersRequest = exports.ListExternalSAMLIdPCertificatesResponse = exports.ListExternalSAMLIdPCertificatesResponseBody = exports.ListExternalSAMLIdPCertificatesRequest = exports.ListDirectoriesResponse = exports.ListDirectoriesResponseBody = exports.ListAccessConfigurationsResponse = exports.ListAccessConfigurationsResponseBody = exports.ListAccessConfigurationsRequest = exports.ListAccessConfigurationProvisioningsResponse = exports.ListAccessConfigurationProvisioningsResponseBody = exports.ListAccessConfigurationProvisioningsRequest = exports.ListAccessAssignmentsResponse = exports.ListAccessAssignmentsResponseBody = exports.ListAccessAssignmentsRequest = exports.GetUserProvisioningStatisticsResponse = exports.GetUserProvisioningStatisticsResponseBody = exports.GetUserProvisioningStatisticsRequest = exports.GetUserProvisioningRdAccountStatisticsResponse = exports.GetUserProvisioningRdAccountStatisticsResponseBody = exports.GetUserProvisioningRdAccountStatisticsRequest = exports.GetUserProvisioningEventResponse = exports.GetUserProvisioningEventResponseBody = exports.GetUserProvisioningEventRequest = exports.GetUserProvisioningConfigurationResponse = exports.GetUserProvisioningConfigurationResponseBody = exports.GetUserProvisioningConfigurationRequest = exports.GetUserProvisioningResponse = exports.GetUserProvisioningResponseBody = exports.GetUserProvisioningRequest = exports.GetUserMFAAuthenticationSettingsResponse = exports.GetUserMFAAuthenticationSettingsResponseBody = exports.GetUserMFAAuthenticationSettingsRequest = exports.GetUserIdResponse = exports.GetUserIdResponseBody = exports.GetUserIdShrinkRequest = exports.GetUserIdRequest = exports.GetUserResponse = exports.GetUserResponseBody = exports.GetUserRequest = exports.GetTaskStatusResponse = exports.GetTaskStatusResponseBody = exports.GetTaskStatusRequest = exports.GetTaskResponse = exports.GetTaskResponseBody = exports.GetTaskRequest = exports.GetServiceStatusResponse = exports.GetServiceStatusResponseBody = exports.GetSCIMSynchronizationStatusResponse = exports.GetSCIMSynchronizationStatusResponseBody = exports.GetSCIMSynchronizationStatusRequest = exports.GetPasswordPolicyResponse = exports.GetPasswordPolicyResponseBody = exports.GetPasswordPolicyRequest = exports.GetMFAAuthenticationStatusResponse = exports.GetMFAAuthenticationStatusResponseBody = exports.GetMFAAuthenticationStatusRequest = exports.GetMFAAuthenticationSettingsResponse = exports.GetMFAAuthenticationSettingsResponseBody = exports.GetMFAAuthenticationSettingsRequest = exports.GetMFAAuthenticationSettingInfoResponse = exports.GetMFAAuthenticationSettingInfoResponseBody = exports.GetMFAAuthenticationSettingInfoRequest = exports.GetLoginPreferenceResponse = exports.GetLoginPreferenceResponseBody = exports.GetLoginPreferenceRequest = exports.GetGroupResponse = exports.GetGroupResponseBody = exports.GetGroupRequest = exports.GetExternalSAMLIdentityProviderResponse = exports.GetExternalSAMLIdentityProviderResponseBody = exports.GetExternalSAMLIdentityProviderRequest = exports.GetDirectoryStatisticsResponse = exports.GetDirectoryStatisticsResponseBody = exports.GetDirectoryStatisticsRequest = exports.GetDirectorySAMLServiceProviderInfoResponse = exports.GetDirectorySAMLServiceProviderInfoResponseBody = exports.GetDirectorySAMLServiceProviderInfoRequest = exports.GetDirectoryResponse = exports.GetDirectoryResponseBody = exports.GetDirectoryRequest = exports.GetAccessConfigurationResponse = exports.GetAccessConfigurationResponseBody = exports.GetAccessConfigurationRequest = exports.EnableServiceResponse = exports.EnableServiceResponseBody = exports.DisableServiceResponse = exports.DisableServiceResponseBody = exports.DeprovisionAccessConfigurationResponse = exports.DeprovisionAccessConfigurationResponseBody = exports.DeprovisionAccessConfigurationRequest = exports.DeleteUserProvisioningEventResponse = exports.DeleteUserProvisioningEventResponseBody = exports.DeleteUserProvisioningEventRequest = exports.DeleteUserProvisioningResponse = exports.DeleteUserProvisioningResponseBody = exports.DeleteUserProvisioningRequest = exports.DeleteUserResponse = exports.DeleteUserResponseBody = exports.DeleteUserRequest = exports.DeleteSCIMServerCredentialResponse = exports.DeleteSCIMServerCredentialResponseBody = exports.DeleteSCIMServerCredentialRequest = exports.DeleteMFADeviceForUserResponse = exports.DeleteMFADeviceForUserResponseBody = exports.DeleteMFADeviceForUserRequest = exports.DeleteGroupResponse = exports.DeleteGroupResponseBody = exports.DeleteGroupRequest = exports.DeleteDirectoryResponse = exports.DeleteDirectoryResponseBody = exports.DeleteDirectoryRequest = exports.DeleteAccessConfigurationResponse = exports.DeleteAccessConfigurationResponseBody = exports.DeleteAccessConfigurationRequest = exports.DeleteAccessAssignmentResponse = exports.DeleteAccessAssignmentResponseBody = exports.DeleteAccessAssignmentRequest = exports.CreateUserProvisioningResponse = exports.CreateUserProvisioningResponseBody = exports.CreateUserProvisioningRequest = exports.CreateUserResponse = exports.CreateUserResponseBody = exports.CreateUserRequest = exports.CreateSCIMServerCredentialResponse = exports.CreateSCIMServerCredentialResponseBody = exports.CreateSCIMServerCredentialRequest = exports.CreateGroupResponse = exports.CreateGroupResponseBody = exports.CreateGroupRequest = exports.CreateDirectoryResponse = exports.CreateDirectoryResponseBody = exports.CreateDirectoryRequest = exports.CreateAccessConfigurationResponse = exports.CreateAccessConfigurationResponseBody = exports.CreateAccessConfigurationRequest = exports.CreateAccessAssignmentResponse = exports.CreateAccessAssignmentResponseBody = exports.CreateAccessAssignmentRequest = exports.ClearExternalSAMLIdentityProviderResponse = exports.ClearExternalSAMLIdentityProviderResponseBody = exports.ClearExternalSAMLIdentityProviderRequest = exports.AddUserToGroupResponse = exports.AddUserToGroupResponseBody = exports.AddUserToGroupRequest = exports.AddPermissionPolicyToAccessConfigurationResponse = exports.AddPermissionPolicyToAccessConfigurationResponseBody = exports.AddPermissionPolicyToAccessConfigurationRequest = exports.AddExternalSAMLIdPCertificateResponse = exports.AddExternalSAMLIdPCertificateResponseBody = exports.AddExternalSAMLIdPCertificateRequest = void 0;
13
26
  // This file is auto-generated, don't edit it
14
27
  /**
15
28
  *
@@ -1119,6 +1132,62 @@ class DeleteUserProvisioningResponse extends $tea.Model {
1119
1132
  }
1120
1133
  }
1121
1134
  exports.DeleteUserProvisioningResponse = DeleteUserProvisioningResponse;
1135
+ class DeleteUserProvisioningEventRequest extends $tea.Model {
1136
+ constructor(map) {
1137
+ super(map);
1138
+ }
1139
+ static names() {
1140
+ return {
1141
+ directoryId: 'DirectoryId',
1142
+ eventId: 'EventId',
1143
+ userProvisioningId: 'UserProvisioningId',
1144
+ };
1145
+ }
1146
+ static types() {
1147
+ return {
1148
+ directoryId: 'string',
1149
+ eventId: 'string',
1150
+ userProvisioningId: 'string',
1151
+ };
1152
+ }
1153
+ }
1154
+ exports.DeleteUserProvisioningEventRequest = DeleteUserProvisioningEventRequest;
1155
+ class DeleteUserProvisioningEventResponseBody extends $tea.Model {
1156
+ constructor(map) {
1157
+ super(map);
1158
+ }
1159
+ static names() {
1160
+ return {
1161
+ requestId: 'RequestId',
1162
+ };
1163
+ }
1164
+ static types() {
1165
+ return {
1166
+ requestId: 'string',
1167
+ };
1168
+ }
1169
+ }
1170
+ exports.DeleteUserProvisioningEventResponseBody = DeleteUserProvisioningEventResponseBody;
1171
+ class DeleteUserProvisioningEventResponse extends $tea.Model {
1172
+ constructor(map) {
1173
+ super(map);
1174
+ }
1175
+ static names() {
1176
+ return {
1177
+ headers: 'headers',
1178
+ statusCode: 'statusCode',
1179
+ body: 'body',
1180
+ };
1181
+ }
1182
+ static types() {
1183
+ return {
1184
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1185
+ statusCode: 'number',
1186
+ body: DeleteUserProvisioningEventResponseBody,
1187
+ };
1188
+ }
1189
+ }
1190
+ exports.DeleteUserProvisioningEventResponse = DeleteUserProvisioningEventResponse;
1122
1191
  class DeprovisionAccessConfigurationRequest extends $tea.Model {
1123
1192
  constructor(map) {
1124
1193
  super(map);
@@ -1579,6 +1648,60 @@ class GetGroupResponse extends $tea.Model {
1579
1648
  }
1580
1649
  }
1581
1650
  exports.GetGroupResponse = GetGroupResponse;
1651
+ class GetLoginPreferenceRequest extends $tea.Model {
1652
+ constructor(map) {
1653
+ super(map);
1654
+ }
1655
+ static names() {
1656
+ return {
1657
+ directoryId: 'DirectoryId',
1658
+ };
1659
+ }
1660
+ static types() {
1661
+ return {
1662
+ directoryId: 'string',
1663
+ };
1664
+ }
1665
+ }
1666
+ exports.GetLoginPreferenceRequest = GetLoginPreferenceRequest;
1667
+ class GetLoginPreferenceResponseBody extends $tea.Model {
1668
+ constructor(map) {
1669
+ super(map);
1670
+ }
1671
+ static names() {
1672
+ return {
1673
+ loginPreference: 'LoginPreference',
1674
+ requestId: 'RequestId',
1675
+ };
1676
+ }
1677
+ static types() {
1678
+ return {
1679
+ loginPreference: GetLoginPreferenceResponseBodyLoginPreference,
1680
+ requestId: 'string',
1681
+ };
1682
+ }
1683
+ }
1684
+ exports.GetLoginPreferenceResponseBody = GetLoginPreferenceResponseBody;
1685
+ class GetLoginPreferenceResponse extends $tea.Model {
1686
+ constructor(map) {
1687
+ super(map);
1688
+ }
1689
+ static names() {
1690
+ return {
1691
+ headers: 'headers',
1692
+ statusCode: 'statusCode',
1693
+ body: 'body',
1694
+ };
1695
+ }
1696
+ static types() {
1697
+ return {
1698
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1699
+ statusCode: 'number',
1700
+ body: GetLoginPreferenceResponseBody,
1701
+ };
1702
+ }
1703
+ }
1704
+ exports.GetLoginPreferenceResponse = GetLoginPreferenceResponse;
1582
1705
  class GetMFAAuthenticationSettingInfoRequest extends $tea.Model {
1583
1706
  constructor(map) {
1584
1707
  super(map);
@@ -1741,6 +1864,60 @@ class GetMFAAuthenticationStatusResponse extends $tea.Model {
1741
1864
  }
1742
1865
  }
1743
1866
  exports.GetMFAAuthenticationStatusResponse = GetMFAAuthenticationStatusResponse;
1867
+ class GetPasswordPolicyRequest extends $tea.Model {
1868
+ constructor(map) {
1869
+ super(map);
1870
+ }
1871
+ static names() {
1872
+ return {
1873
+ directoryId: 'DirectoryId',
1874
+ };
1875
+ }
1876
+ static types() {
1877
+ return {
1878
+ directoryId: 'string',
1879
+ };
1880
+ }
1881
+ }
1882
+ exports.GetPasswordPolicyRequest = GetPasswordPolicyRequest;
1883
+ class GetPasswordPolicyResponseBody extends $tea.Model {
1884
+ constructor(map) {
1885
+ super(map);
1886
+ }
1887
+ static names() {
1888
+ return {
1889
+ passwordPolicy: 'PasswordPolicy',
1890
+ requestId: 'RequestId',
1891
+ };
1892
+ }
1893
+ static types() {
1894
+ return {
1895
+ passwordPolicy: GetPasswordPolicyResponseBodyPasswordPolicy,
1896
+ requestId: 'string',
1897
+ };
1898
+ }
1899
+ }
1900
+ exports.GetPasswordPolicyResponseBody = GetPasswordPolicyResponseBody;
1901
+ class GetPasswordPolicyResponse extends $tea.Model {
1902
+ constructor(map) {
1903
+ super(map);
1904
+ }
1905
+ static names() {
1906
+ return {
1907
+ headers: 'headers',
1908
+ statusCode: 'statusCode',
1909
+ body: 'body',
1910
+ };
1911
+ }
1912
+ static types() {
1913
+ return {
1914
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1915
+ statusCode: 'number',
1916
+ body: GetPasswordPolicyResponseBody,
1917
+ };
1918
+ }
1919
+ }
1920
+ exports.GetPasswordPolicyResponse = GetPasswordPolicyResponse;
1744
1921
  class GetSCIMSynchronizationStatusRequest extends $tea.Model {
1745
1922
  constructor(map) {
1746
1923
  super(map);
@@ -1962,26 +2139,322 @@ class GetUserRequest extends $tea.Model {
1962
2139
  };
1963
2140
  }
1964
2141
  }
1965
- exports.GetUserRequest = GetUserRequest;
1966
- class GetUserResponseBody extends $tea.Model {
2142
+ exports.GetUserRequest = GetUserRequest;
2143
+ class GetUserResponseBody extends $tea.Model {
2144
+ constructor(map) {
2145
+ super(map);
2146
+ }
2147
+ static names() {
2148
+ return {
2149
+ requestId: 'RequestId',
2150
+ user: 'User',
2151
+ };
2152
+ }
2153
+ static types() {
2154
+ return {
2155
+ requestId: 'string',
2156
+ user: GetUserResponseBodyUser,
2157
+ };
2158
+ }
2159
+ }
2160
+ exports.GetUserResponseBody = GetUserResponseBody;
2161
+ class GetUserResponse extends $tea.Model {
2162
+ constructor(map) {
2163
+ super(map);
2164
+ }
2165
+ static names() {
2166
+ return {
2167
+ headers: 'headers',
2168
+ statusCode: 'statusCode',
2169
+ body: 'body',
2170
+ };
2171
+ }
2172
+ static types() {
2173
+ return {
2174
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2175
+ statusCode: 'number',
2176
+ body: GetUserResponseBody,
2177
+ };
2178
+ }
2179
+ }
2180
+ exports.GetUserResponse = GetUserResponse;
2181
+ class GetUserIdRequest extends $tea.Model {
2182
+ constructor(map) {
2183
+ super(map);
2184
+ }
2185
+ static names() {
2186
+ return {
2187
+ directoryId: 'DirectoryId',
2188
+ externalId: 'ExternalId',
2189
+ };
2190
+ }
2191
+ static types() {
2192
+ return {
2193
+ directoryId: 'string',
2194
+ externalId: GetUserIdRequestExternalId,
2195
+ };
2196
+ }
2197
+ }
2198
+ exports.GetUserIdRequest = GetUserIdRequest;
2199
+ class GetUserIdShrinkRequest extends $tea.Model {
2200
+ constructor(map) {
2201
+ super(map);
2202
+ }
2203
+ static names() {
2204
+ return {
2205
+ directoryId: 'DirectoryId',
2206
+ externalIdShrink: 'ExternalId',
2207
+ };
2208
+ }
2209
+ static types() {
2210
+ return {
2211
+ directoryId: 'string',
2212
+ externalIdShrink: 'string',
2213
+ };
2214
+ }
2215
+ }
2216
+ exports.GetUserIdShrinkRequest = GetUserIdShrinkRequest;
2217
+ class GetUserIdResponseBody extends $tea.Model {
2218
+ constructor(map) {
2219
+ super(map);
2220
+ }
2221
+ static names() {
2222
+ return {
2223
+ requestId: 'RequestId',
2224
+ userId: 'UserId',
2225
+ };
2226
+ }
2227
+ static types() {
2228
+ return {
2229
+ requestId: 'string',
2230
+ userId: 'string',
2231
+ };
2232
+ }
2233
+ }
2234
+ exports.GetUserIdResponseBody = GetUserIdResponseBody;
2235
+ class GetUserIdResponse extends $tea.Model {
2236
+ constructor(map) {
2237
+ super(map);
2238
+ }
2239
+ static names() {
2240
+ return {
2241
+ headers: 'headers',
2242
+ statusCode: 'statusCode',
2243
+ body: 'body',
2244
+ };
2245
+ }
2246
+ static types() {
2247
+ return {
2248
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2249
+ statusCode: 'number',
2250
+ body: GetUserIdResponseBody,
2251
+ };
2252
+ }
2253
+ }
2254
+ exports.GetUserIdResponse = GetUserIdResponse;
2255
+ class GetUserMFAAuthenticationSettingsRequest extends $tea.Model {
2256
+ constructor(map) {
2257
+ super(map);
2258
+ }
2259
+ static names() {
2260
+ return {
2261
+ directoryId: 'DirectoryId',
2262
+ userId: 'UserId',
2263
+ };
2264
+ }
2265
+ static types() {
2266
+ return {
2267
+ directoryId: 'string',
2268
+ userId: 'string',
2269
+ };
2270
+ }
2271
+ }
2272
+ exports.GetUserMFAAuthenticationSettingsRequest = GetUserMFAAuthenticationSettingsRequest;
2273
+ class GetUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
2274
+ constructor(map) {
2275
+ super(map);
2276
+ }
2277
+ static names() {
2278
+ return {
2279
+ requestId: 'RequestId',
2280
+ userMFAAuthenticationSettings: 'UserMFAAuthenticationSettings',
2281
+ };
2282
+ }
2283
+ static types() {
2284
+ return {
2285
+ requestId: 'string',
2286
+ userMFAAuthenticationSettings: 'string',
2287
+ };
2288
+ }
2289
+ }
2290
+ exports.GetUserMFAAuthenticationSettingsResponseBody = GetUserMFAAuthenticationSettingsResponseBody;
2291
+ class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
2292
+ constructor(map) {
2293
+ super(map);
2294
+ }
2295
+ static names() {
2296
+ return {
2297
+ headers: 'headers',
2298
+ statusCode: 'statusCode',
2299
+ body: 'body',
2300
+ };
2301
+ }
2302
+ static types() {
2303
+ return {
2304
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2305
+ statusCode: 'number',
2306
+ body: GetUserMFAAuthenticationSettingsResponseBody,
2307
+ };
2308
+ }
2309
+ }
2310
+ exports.GetUserMFAAuthenticationSettingsResponse = GetUserMFAAuthenticationSettingsResponse;
2311
+ class GetUserProvisioningRequest extends $tea.Model {
2312
+ constructor(map) {
2313
+ super(map);
2314
+ }
2315
+ static names() {
2316
+ return {
2317
+ directoryId: 'DirectoryId',
2318
+ userProvisioningId: 'UserProvisioningId',
2319
+ };
2320
+ }
2321
+ static types() {
2322
+ return {
2323
+ directoryId: 'string',
2324
+ userProvisioningId: 'string',
2325
+ };
2326
+ }
2327
+ }
2328
+ exports.GetUserProvisioningRequest = GetUserProvisioningRequest;
2329
+ class GetUserProvisioningResponseBody extends $tea.Model {
2330
+ constructor(map) {
2331
+ super(map);
2332
+ }
2333
+ static names() {
2334
+ return {
2335
+ requestId: 'RequestId',
2336
+ userProvisioning: 'UserProvisioning',
2337
+ };
2338
+ }
2339
+ static types() {
2340
+ return {
2341
+ requestId: 'string',
2342
+ userProvisioning: GetUserProvisioningResponseBodyUserProvisioning,
2343
+ };
2344
+ }
2345
+ }
2346
+ exports.GetUserProvisioningResponseBody = GetUserProvisioningResponseBody;
2347
+ class GetUserProvisioningResponse extends $tea.Model {
2348
+ constructor(map) {
2349
+ super(map);
2350
+ }
2351
+ static names() {
2352
+ return {
2353
+ headers: 'headers',
2354
+ statusCode: 'statusCode',
2355
+ body: 'body',
2356
+ };
2357
+ }
2358
+ static types() {
2359
+ return {
2360
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2361
+ statusCode: 'number',
2362
+ body: GetUserProvisioningResponseBody,
2363
+ };
2364
+ }
2365
+ }
2366
+ exports.GetUserProvisioningResponse = GetUserProvisioningResponse;
2367
+ class GetUserProvisioningConfigurationRequest extends $tea.Model {
2368
+ constructor(map) {
2369
+ super(map);
2370
+ }
2371
+ static names() {
2372
+ return {
2373
+ directoryId: 'DirectoryId',
2374
+ };
2375
+ }
2376
+ static types() {
2377
+ return {
2378
+ directoryId: 'string',
2379
+ };
2380
+ }
2381
+ }
2382
+ exports.GetUserProvisioningConfigurationRequest = GetUserProvisioningConfigurationRequest;
2383
+ class GetUserProvisioningConfigurationResponseBody extends $tea.Model {
2384
+ constructor(map) {
2385
+ super(map);
2386
+ }
2387
+ static names() {
2388
+ return {
2389
+ requestId: 'RequestId',
2390
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
2391
+ };
2392
+ }
2393
+ static types() {
2394
+ return {
2395
+ requestId: 'string',
2396
+ userProvisioningConfiguration: GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
2397
+ };
2398
+ }
2399
+ }
2400
+ exports.GetUserProvisioningConfigurationResponseBody = GetUserProvisioningConfigurationResponseBody;
2401
+ class GetUserProvisioningConfigurationResponse extends $tea.Model {
2402
+ constructor(map) {
2403
+ super(map);
2404
+ }
2405
+ static names() {
2406
+ return {
2407
+ headers: 'headers',
2408
+ statusCode: 'statusCode',
2409
+ body: 'body',
2410
+ };
2411
+ }
2412
+ static types() {
2413
+ return {
2414
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2415
+ statusCode: 'number',
2416
+ body: GetUserProvisioningConfigurationResponseBody,
2417
+ };
2418
+ }
2419
+ }
2420
+ exports.GetUserProvisioningConfigurationResponse = GetUserProvisioningConfigurationResponse;
2421
+ class GetUserProvisioningEventRequest extends $tea.Model {
2422
+ constructor(map) {
2423
+ super(map);
2424
+ }
2425
+ static names() {
2426
+ return {
2427
+ directoryId: 'DirectoryId',
2428
+ eventId: 'EventId',
2429
+ };
2430
+ }
2431
+ static types() {
2432
+ return {
2433
+ directoryId: 'string',
2434
+ eventId: 'string',
2435
+ };
2436
+ }
2437
+ }
2438
+ exports.GetUserProvisioningEventRequest = GetUserProvisioningEventRequest;
2439
+ class GetUserProvisioningEventResponseBody extends $tea.Model {
1967
2440
  constructor(map) {
1968
2441
  super(map);
1969
2442
  }
1970
2443
  static names() {
1971
2444
  return {
1972
2445
  requestId: 'RequestId',
1973
- user: 'User',
2446
+ userProvisioningEvent: 'UserProvisioningEvent',
1974
2447
  };
1975
2448
  }
1976
2449
  static types() {
1977
2450
  return {
1978
2451
  requestId: 'string',
1979
- user: GetUserResponseBodyUser,
2452
+ userProvisioningEvent: GetUserProvisioningEventResponseBodyUserProvisioningEvent,
1980
2453
  };
1981
2454
  }
1982
2455
  }
1983
- exports.GetUserResponseBody = GetUserResponseBody;
1984
- class GetUserResponse extends $tea.Model {
2456
+ exports.GetUserProvisioningEventResponseBody = GetUserProvisioningEventResponseBody;
2457
+ class GetUserProvisioningEventResponse extends $tea.Model {
1985
2458
  constructor(map) {
1986
2459
  super(map);
1987
2460
  }
@@ -1996,48 +2469,48 @@ class GetUserResponse extends $tea.Model {
1996
2469
  return {
1997
2470
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1998
2471
  statusCode: 'number',
1999
- body: GetUserResponseBody,
2472
+ body: GetUserProvisioningEventResponseBody,
2000
2473
  };
2001
2474
  }
2002
2475
  }
2003
- exports.GetUserResponse = GetUserResponse;
2004
- class GetUserMFAAuthenticationSettingsRequest extends $tea.Model {
2476
+ exports.GetUserProvisioningEventResponse = GetUserProvisioningEventResponse;
2477
+ class GetUserProvisioningRdAccountStatisticsRequest extends $tea.Model {
2005
2478
  constructor(map) {
2006
2479
  super(map);
2007
2480
  }
2008
2481
  static names() {
2009
2482
  return {
2010
2483
  directoryId: 'DirectoryId',
2011
- userId: 'UserId',
2484
+ rdMemberId: 'RdMemberId',
2012
2485
  };
2013
2486
  }
2014
2487
  static types() {
2015
2488
  return {
2016
2489
  directoryId: 'string',
2017
- userId: 'string',
2490
+ rdMemberId: 'string',
2018
2491
  };
2019
2492
  }
2020
2493
  }
2021
- exports.GetUserMFAAuthenticationSettingsRequest = GetUserMFAAuthenticationSettingsRequest;
2022
- class GetUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
2494
+ exports.GetUserProvisioningRdAccountStatisticsRequest = GetUserProvisioningRdAccountStatisticsRequest;
2495
+ class GetUserProvisioningRdAccountStatisticsResponseBody extends $tea.Model {
2023
2496
  constructor(map) {
2024
2497
  super(map);
2025
2498
  }
2026
2499
  static names() {
2027
2500
  return {
2028
2501
  requestId: 'RequestId',
2029
- userMFAAuthenticationSettings: 'UserMFAAuthenticationSettings',
2502
+ userProvisioningStatistics: 'UserProvisioningStatistics',
2030
2503
  };
2031
2504
  }
2032
2505
  static types() {
2033
2506
  return {
2034
2507
  requestId: 'string',
2035
- userMFAAuthenticationSettings: 'string',
2508
+ userProvisioningStatistics: GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics,
2036
2509
  };
2037
2510
  }
2038
2511
  }
2039
- exports.GetUserMFAAuthenticationSettingsResponseBody = GetUserMFAAuthenticationSettingsResponseBody;
2040
- class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
2512
+ exports.GetUserProvisioningRdAccountStatisticsResponseBody = GetUserProvisioningRdAccountStatisticsResponseBody;
2513
+ class GetUserProvisioningRdAccountStatisticsResponse extends $tea.Model {
2041
2514
  constructor(map) {
2042
2515
  super(map);
2043
2516
  }
@@ -2052,12 +2525,12 @@ class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
2052
2525
  return {
2053
2526
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2054
2527
  statusCode: 'number',
2055
- body: GetUserMFAAuthenticationSettingsResponseBody,
2528
+ body: GetUserProvisioningRdAccountStatisticsResponseBody,
2056
2529
  };
2057
2530
  }
2058
2531
  }
2059
- exports.GetUserMFAAuthenticationSettingsResponse = GetUserMFAAuthenticationSettingsResponse;
2060
- class GetUserProvisioningRequest extends $tea.Model {
2532
+ exports.GetUserProvisioningRdAccountStatisticsResponse = GetUserProvisioningRdAccountStatisticsResponse;
2533
+ class GetUserProvisioningStatisticsRequest extends $tea.Model {
2061
2534
  constructor(map) {
2062
2535
  super(map);
2063
2536
  }
@@ -2074,26 +2547,26 @@ class GetUserProvisioningRequest extends $tea.Model {
2074
2547
  };
2075
2548
  }
2076
2549
  }
2077
- exports.GetUserProvisioningRequest = GetUserProvisioningRequest;
2078
- class GetUserProvisioningResponseBody extends $tea.Model {
2550
+ exports.GetUserProvisioningStatisticsRequest = GetUserProvisioningStatisticsRequest;
2551
+ class GetUserProvisioningStatisticsResponseBody extends $tea.Model {
2079
2552
  constructor(map) {
2080
2553
  super(map);
2081
2554
  }
2082
2555
  static names() {
2083
2556
  return {
2084
2557
  requestId: 'RequestId',
2085
- userProvisioning: 'UserProvisioning',
2558
+ userProvisioningStatistics: 'UserProvisioningStatistics',
2086
2559
  };
2087
2560
  }
2088
2561
  static types() {
2089
2562
  return {
2090
2563
  requestId: 'string',
2091
- userProvisioning: GetUserProvisioningResponseBodyUserProvisioning,
2564
+ userProvisioningStatistics: GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics,
2092
2565
  };
2093
2566
  }
2094
2567
  }
2095
- exports.GetUserProvisioningResponseBody = GetUserProvisioningResponseBody;
2096
- class GetUserProvisioningResponse extends $tea.Model {
2568
+ exports.GetUserProvisioningStatisticsResponseBody = GetUserProvisioningStatisticsResponseBody;
2569
+ class GetUserProvisioningStatisticsResponse extends $tea.Model {
2097
2570
  constructor(map) {
2098
2571
  super(map);
2099
2572
  }
@@ -2108,11 +2581,11 @@ class GetUserProvisioningResponse extends $tea.Model {
2108
2581
  return {
2109
2582
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2110
2583
  statusCode: 'number',
2111
- body: GetUserProvisioningResponseBody,
2584
+ body: GetUserProvisioningStatisticsResponseBody,
2112
2585
  };
2113
2586
  }
2114
2587
  }
2115
- exports.GetUserProvisioningResponse = GetUserProvisioningResponse;
2588
+ exports.GetUserProvisioningStatisticsResponse = GetUserProvisioningStatisticsResponse;
2116
2589
  class ListAccessAssignmentsRequest extends $tea.Model {
2117
2590
  constructor(map) {
2118
2591
  super(map);
@@ -2891,6 +3364,74 @@ class ListTasksResponse extends $tea.Model {
2891
3364
  }
2892
3365
  }
2893
3366
  exports.ListTasksResponse = ListTasksResponse;
3367
+ class ListUserProvisioningEventsRequest extends $tea.Model {
3368
+ constructor(map) {
3369
+ super(map);
3370
+ }
3371
+ static names() {
3372
+ return {
3373
+ directoryId: 'DirectoryId',
3374
+ maxResults: 'MaxResults',
3375
+ nextToken: 'NextToken',
3376
+ userProvisioningId: 'UserProvisioningId',
3377
+ };
3378
+ }
3379
+ static types() {
3380
+ return {
3381
+ directoryId: 'string',
3382
+ maxResults: 'number',
3383
+ nextToken: 'string',
3384
+ userProvisioningId: 'string',
3385
+ };
3386
+ }
3387
+ }
3388
+ exports.ListUserProvisioningEventsRequest = ListUserProvisioningEventsRequest;
3389
+ class ListUserProvisioningEventsResponseBody extends $tea.Model {
3390
+ constructor(map) {
3391
+ super(map);
3392
+ }
3393
+ static names() {
3394
+ return {
3395
+ isTruncated: 'IsTruncated',
3396
+ maxResults: 'MaxResults',
3397
+ nextToken: 'NextToken',
3398
+ requestId: 'RequestId',
3399
+ totalCounts: 'TotalCounts',
3400
+ userProvisioningEvents: 'UserProvisioningEvents',
3401
+ };
3402
+ }
3403
+ static types() {
3404
+ return {
3405
+ isTruncated: 'boolean',
3406
+ maxResults: 'number',
3407
+ nextToken: 'string',
3408
+ requestId: 'string',
3409
+ totalCounts: 'number',
3410
+ userProvisioningEvents: { 'type': 'array', 'itemType': ListUserProvisioningEventsResponseBodyUserProvisioningEvents },
3411
+ };
3412
+ }
3413
+ }
3414
+ exports.ListUserProvisioningEventsResponseBody = ListUserProvisioningEventsResponseBody;
3415
+ class ListUserProvisioningEventsResponse extends $tea.Model {
3416
+ constructor(map) {
3417
+ super(map);
3418
+ }
3419
+ static names() {
3420
+ return {
3421
+ headers: 'headers',
3422
+ statusCode: 'statusCode',
3423
+ body: 'body',
3424
+ };
3425
+ }
3426
+ static types() {
3427
+ return {
3428
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3429
+ statusCode: 'number',
3430
+ body: ListUserProvisioningEventsResponseBody,
3431
+ };
3432
+ }
3433
+ }
3434
+ exports.ListUserProvisioningEventsResponse = ListUserProvisioningEventsResponse;
2894
3435
  class ListUserProvisioningsRequest extends $tea.Model {
2895
3436
  constructor(map) {
2896
3437
  super(map);
@@ -3281,33 +3822,209 @@ class ResetUserPasswordRequest extends $tea.Model {
3281
3822
  static types() {
3282
3823
  return {
3283
3824
  directoryId: 'string',
3284
- generateRandomPassword: 'boolean',
3285
- password: 'string',
3286
- requirePasswordResetForNextLogin: 'boolean',
3287
- userId: 'string',
3825
+ generateRandomPassword: 'boolean',
3826
+ password: 'string',
3827
+ requirePasswordResetForNextLogin: 'boolean',
3828
+ userId: 'string',
3829
+ };
3830
+ }
3831
+ }
3832
+ exports.ResetUserPasswordRequest = ResetUserPasswordRequest;
3833
+ class ResetUserPasswordResponseBody extends $tea.Model {
3834
+ constructor(map) {
3835
+ super(map);
3836
+ }
3837
+ static names() {
3838
+ return {
3839
+ newPassword: 'NewPassword',
3840
+ requestId: 'RequestId',
3841
+ };
3842
+ }
3843
+ static types() {
3844
+ return {
3845
+ newPassword: 'string',
3846
+ requestId: 'string',
3847
+ };
3848
+ }
3849
+ }
3850
+ exports.ResetUserPasswordResponseBody = ResetUserPasswordResponseBody;
3851
+ class ResetUserPasswordResponse extends $tea.Model {
3852
+ constructor(map) {
3853
+ super(map);
3854
+ }
3855
+ static names() {
3856
+ return {
3857
+ headers: 'headers',
3858
+ statusCode: 'statusCode',
3859
+ body: 'body',
3860
+ };
3861
+ }
3862
+ static types() {
3863
+ return {
3864
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3865
+ statusCode: 'number',
3866
+ body: ResetUserPasswordResponseBody,
3867
+ };
3868
+ }
3869
+ }
3870
+ exports.ResetUserPasswordResponse = ResetUserPasswordResponse;
3871
+ class RetryUserProvisioningEventRequest extends $tea.Model {
3872
+ constructor(map) {
3873
+ super(map);
3874
+ }
3875
+ static names() {
3876
+ return {
3877
+ directoryId: 'DirectoryId',
3878
+ duplicationStrategy: 'DuplicationStrategy',
3879
+ eventId: 'EventId',
3880
+ };
3881
+ }
3882
+ static types() {
3883
+ return {
3884
+ directoryId: 'string',
3885
+ duplicationStrategy: 'string',
3886
+ eventId: 'string',
3887
+ };
3888
+ }
3889
+ }
3890
+ exports.RetryUserProvisioningEventRequest = RetryUserProvisioningEventRequest;
3891
+ class RetryUserProvisioningEventResponseBody extends $tea.Model {
3892
+ constructor(map) {
3893
+ super(map);
3894
+ }
3895
+ static names() {
3896
+ return {
3897
+ requestId: 'RequestId',
3898
+ };
3899
+ }
3900
+ static types() {
3901
+ return {
3902
+ requestId: 'string',
3903
+ };
3904
+ }
3905
+ }
3906
+ exports.RetryUserProvisioningEventResponseBody = RetryUserProvisioningEventResponseBody;
3907
+ class RetryUserProvisioningEventResponse extends $tea.Model {
3908
+ constructor(map) {
3909
+ super(map);
3910
+ }
3911
+ static names() {
3912
+ return {
3913
+ headers: 'headers',
3914
+ statusCode: 'statusCode',
3915
+ body: 'body',
3916
+ };
3917
+ }
3918
+ static types() {
3919
+ return {
3920
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3921
+ statusCode: 'number',
3922
+ body: RetryUserProvisioningEventResponseBody,
3923
+ };
3924
+ }
3925
+ }
3926
+ exports.RetryUserProvisioningEventResponse = RetryUserProvisioningEventResponse;
3927
+ class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
3928
+ constructor(map) {
3929
+ super(map);
3930
+ }
3931
+ static names() {
3932
+ return {
3933
+ directoryId: 'DirectoryId',
3934
+ encodedMetadataDocument: 'EncodedMetadataDocument',
3935
+ entityId: 'EntityId',
3936
+ loginUrl: 'LoginUrl',
3937
+ SSOStatus: 'SSOStatus',
3938
+ wantRequestSigned: 'WantRequestSigned',
3939
+ x509Certificate: 'X509Certificate',
3940
+ };
3941
+ }
3942
+ static types() {
3943
+ return {
3944
+ directoryId: 'string',
3945
+ encodedMetadataDocument: 'string',
3946
+ entityId: 'string',
3947
+ loginUrl: 'string',
3948
+ SSOStatus: 'string',
3949
+ wantRequestSigned: 'boolean',
3950
+ x509Certificate: 'string',
3951
+ };
3952
+ }
3953
+ }
3954
+ exports.SetExternalSAMLIdentityProviderRequest = SetExternalSAMLIdentityProviderRequest;
3955
+ class SetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
3956
+ constructor(map) {
3957
+ super(map);
3958
+ }
3959
+ static names() {
3960
+ return {
3961
+ requestId: 'RequestId',
3962
+ SAMLIdentityProviderConfiguration: 'SAMLIdentityProviderConfiguration',
3963
+ };
3964
+ }
3965
+ static types() {
3966
+ return {
3967
+ requestId: 'string',
3968
+ SAMLIdentityProviderConfiguration: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration,
3969
+ };
3970
+ }
3971
+ }
3972
+ exports.SetExternalSAMLIdentityProviderResponseBody = SetExternalSAMLIdentityProviderResponseBody;
3973
+ class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
3974
+ constructor(map) {
3975
+ super(map);
3976
+ }
3977
+ static names() {
3978
+ return {
3979
+ headers: 'headers',
3980
+ statusCode: 'statusCode',
3981
+ body: 'body',
3982
+ };
3983
+ }
3984
+ static types() {
3985
+ return {
3986
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3987
+ statusCode: 'number',
3988
+ body: SetExternalSAMLIdentityProviderResponseBody,
3989
+ };
3990
+ }
3991
+ }
3992
+ exports.SetExternalSAMLIdentityProviderResponse = SetExternalSAMLIdentityProviderResponse;
3993
+ class SetLoginPreferenceRequest extends $tea.Model {
3994
+ constructor(map) {
3995
+ super(map);
3996
+ }
3997
+ static names() {
3998
+ return {
3999
+ directoryId: 'DirectoryId',
4000
+ loginNetworkMasks: 'LoginNetworkMasks',
4001
+ };
4002
+ }
4003
+ static types() {
4004
+ return {
4005
+ directoryId: 'string',
4006
+ loginNetworkMasks: 'string',
3288
4007
  };
3289
4008
  }
3290
4009
  }
3291
- exports.ResetUserPasswordRequest = ResetUserPasswordRequest;
3292
- class ResetUserPasswordResponseBody extends $tea.Model {
4010
+ exports.SetLoginPreferenceRequest = SetLoginPreferenceRequest;
4011
+ class SetLoginPreferenceResponseBody extends $tea.Model {
3293
4012
  constructor(map) {
3294
4013
  super(map);
3295
4014
  }
3296
4015
  static names() {
3297
4016
  return {
3298
- newPassword: 'NewPassword',
3299
4017
  requestId: 'RequestId',
3300
4018
  };
3301
4019
  }
3302
4020
  static types() {
3303
4021
  return {
3304
- newPassword: 'string',
3305
4022
  requestId: 'string',
3306
4023
  };
3307
4024
  }
3308
4025
  }
3309
- exports.ResetUserPasswordResponseBody = ResetUserPasswordResponseBody;
3310
- class ResetUserPasswordResponse extends $tea.Model {
4026
+ exports.SetLoginPreferenceResponseBody = SetLoginPreferenceResponseBody;
4027
+ class SetLoginPreferenceResponse extends $tea.Model {
3311
4028
  constructor(map) {
3312
4029
  super(map);
3313
4030
  }
@@ -3322,58 +4039,46 @@ class ResetUserPasswordResponse extends $tea.Model {
3322
4039
  return {
3323
4040
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3324
4041
  statusCode: 'number',
3325
- body: ResetUserPasswordResponseBody,
4042
+ body: SetLoginPreferenceResponseBody,
3326
4043
  };
3327
4044
  }
3328
4045
  }
3329
- exports.ResetUserPasswordResponse = ResetUserPasswordResponse;
3330
- class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
4046
+ exports.SetLoginPreferenceResponse = SetLoginPreferenceResponse;
4047
+ class SetMFAAuthenticationStatusRequest extends $tea.Model {
3331
4048
  constructor(map) {
3332
4049
  super(map);
3333
4050
  }
3334
4051
  static names() {
3335
4052
  return {
3336
4053
  directoryId: 'DirectoryId',
3337
- encodedMetadataDocument: 'EncodedMetadataDocument',
3338
- entityId: 'EntityId',
3339
- loginUrl: 'LoginUrl',
3340
- SSOStatus: 'SSOStatus',
3341
- wantRequestSigned: 'WantRequestSigned',
3342
- x509Certificate: 'X509Certificate',
4054
+ MFAAuthenticationStatus: 'MFAAuthenticationStatus',
3343
4055
  };
3344
4056
  }
3345
4057
  static types() {
3346
4058
  return {
3347
4059
  directoryId: 'string',
3348
- encodedMetadataDocument: 'string',
3349
- entityId: 'string',
3350
- loginUrl: 'string',
3351
- SSOStatus: 'string',
3352
- wantRequestSigned: 'boolean',
3353
- x509Certificate: 'string',
4060
+ MFAAuthenticationStatus: 'string',
3354
4061
  };
3355
4062
  }
3356
4063
  }
3357
- exports.SetExternalSAMLIdentityProviderRequest = SetExternalSAMLIdentityProviderRequest;
3358
- class SetExternalSAMLIdentityProviderResponseBody extends $tea.Model {
4064
+ exports.SetMFAAuthenticationStatusRequest = SetMFAAuthenticationStatusRequest;
4065
+ class SetMFAAuthenticationStatusResponseBody extends $tea.Model {
3359
4066
  constructor(map) {
3360
4067
  super(map);
3361
4068
  }
3362
4069
  static names() {
3363
4070
  return {
3364
4071
  requestId: 'RequestId',
3365
- SAMLIdentityProviderConfiguration: 'SAMLIdentityProviderConfiguration',
3366
4072
  };
3367
4073
  }
3368
4074
  static types() {
3369
4075
  return {
3370
4076
  requestId: 'string',
3371
- SAMLIdentityProviderConfiguration: SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration,
3372
4077
  };
3373
4078
  }
3374
4079
  }
3375
- exports.SetExternalSAMLIdentityProviderResponseBody = SetExternalSAMLIdentityProviderResponseBody;
3376
- class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
4080
+ exports.SetMFAAuthenticationStatusResponseBody = SetMFAAuthenticationStatusResponseBody;
4081
+ class SetMFAAuthenticationStatusResponse extends $tea.Model {
3377
4082
  constructor(map) {
3378
4083
  super(map);
3379
4084
  }
@@ -3388,30 +4093,40 @@ class SetExternalSAMLIdentityProviderResponse extends $tea.Model {
3388
4093
  return {
3389
4094
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3390
4095
  statusCode: 'number',
3391
- body: SetExternalSAMLIdentityProviderResponseBody,
4096
+ body: SetMFAAuthenticationStatusResponseBody,
3392
4097
  };
3393
4098
  }
3394
4099
  }
3395
- exports.SetExternalSAMLIdentityProviderResponse = SetExternalSAMLIdentityProviderResponse;
3396
- class SetMFAAuthenticationStatusRequest extends $tea.Model {
4100
+ exports.SetMFAAuthenticationStatusResponse = SetMFAAuthenticationStatusResponse;
4101
+ class SetPasswordPolicyRequest extends $tea.Model {
3397
4102
  constructor(map) {
3398
4103
  super(map);
3399
4104
  }
3400
4105
  static names() {
3401
4106
  return {
3402
4107
  directoryId: 'DirectoryId',
3403
- MFAAuthenticationStatus: 'MFAAuthenticationStatus',
4108
+ maxLoginAttempts: 'MaxLoginAttempts',
4109
+ maxPasswordAge: 'MaxPasswordAge',
4110
+ minPasswordDifferentChars: 'MinPasswordDifferentChars',
4111
+ minPasswordLength: 'MinPasswordLength',
4112
+ passwordNotContainUsername: 'PasswordNotContainUsername',
4113
+ passwordReusePrevention: 'PasswordReusePrevention',
3404
4114
  };
3405
4115
  }
3406
4116
  static types() {
3407
4117
  return {
3408
4118
  directoryId: 'string',
3409
- MFAAuthenticationStatus: 'string',
4119
+ maxLoginAttempts: 'number',
4120
+ maxPasswordAge: 'number',
4121
+ minPasswordDifferentChars: 'number',
4122
+ minPasswordLength: 'number',
4123
+ passwordNotContainUsername: 'boolean',
4124
+ passwordReusePrevention: 'number',
3410
4125
  };
3411
4126
  }
3412
4127
  }
3413
- exports.SetMFAAuthenticationStatusRequest = SetMFAAuthenticationStatusRequest;
3414
- class SetMFAAuthenticationStatusResponseBody extends $tea.Model {
4128
+ exports.SetPasswordPolicyRequest = SetPasswordPolicyRequest;
4129
+ class SetPasswordPolicyResponseBody extends $tea.Model {
3415
4130
  constructor(map) {
3416
4131
  super(map);
3417
4132
  }
@@ -3426,8 +4141,8 @@ class SetMFAAuthenticationStatusResponseBody extends $tea.Model {
3426
4141
  };
3427
4142
  }
3428
4143
  }
3429
- exports.SetMFAAuthenticationStatusResponseBody = SetMFAAuthenticationStatusResponseBody;
3430
- class SetMFAAuthenticationStatusResponse extends $tea.Model {
4144
+ exports.SetPasswordPolicyResponseBody = SetPasswordPolicyResponseBody;
4145
+ class SetPasswordPolicyResponse extends $tea.Model {
3431
4146
  constructor(map) {
3432
4147
  super(map);
3433
4148
  }
@@ -3442,11 +4157,11 @@ class SetMFAAuthenticationStatusResponse extends $tea.Model {
3442
4157
  return {
3443
4158
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3444
4159
  statusCode: 'number',
3445
- body: SetMFAAuthenticationStatusResponseBody,
4160
+ body: SetPasswordPolicyResponseBody,
3446
4161
  };
3447
4162
  }
3448
4163
  }
3449
- exports.SetMFAAuthenticationStatusResponse = SetMFAAuthenticationStatusResponse;
4164
+ exports.SetPasswordPolicyResponse = SetPasswordPolicyResponse;
3450
4165
  class SetSCIMSynchronizationStatusRequest extends $tea.Model {
3451
4166
  constructor(map) {
3452
4167
  super(map);
@@ -4035,6 +4750,64 @@ class UpdateUserProvisioningResponse extends $tea.Model {
4035
4750
  }
4036
4751
  }
4037
4752
  exports.UpdateUserProvisioningResponse = UpdateUserProvisioningResponse;
4753
+ class UpdateUserProvisioningConfigurationRequest extends $tea.Model {
4754
+ constructor(map) {
4755
+ super(map);
4756
+ }
4757
+ static names() {
4758
+ return {
4759
+ directoryId: 'DirectoryId',
4760
+ newDefaultLandingPage: 'NewDefaultLandingPage',
4761
+ newSessionDuration: 'NewSessionDuration',
4762
+ };
4763
+ }
4764
+ static types() {
4765
+ return {
4766
+ directoryId: 'string',
4767
+ newDefaultLandingPage: 'string',
4768
+ newSessionDuration: 'number',
4769
+ };
4770
+ }
4771
+ }
4772
+ exports.UpdateUserProvisioningConfigurationRequest = UpdateUserProvisioningConfigurationRequest;
4773
+ class UpdateUserProvisioningConfigurationResponseBody extends $tea.Model {
4774
+ constructor(map) {
4775
+ super(map);
4776
+ }
4777
+ static names() {
4778
+ return {
4779
+ requestId: 'RequestId',
4780
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
4781
+ };
4782
+ }
4783
+ static types() {
4784
+ return {
4785
+ requestId: 'string',
4786
+ userProvisioningConfiguration: UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
4787
+ };
4788
+ }
4789
+ }
4790
+ exports.UpdateUserProvisioningConfigurationResponseBody = UpdateUserProvisioningConfigurationResponseBody;
4791
+ class UpdateUserProvisioningConfigurationResponse extends $tea.Model {
4792
+ constructor(map) {
4793
+ super(map);
4794
+ }
4795
+ static names() {
4796
+ return {
4797
+ headers: 'headers',
4798
+ statusCode: 'statusCode',
4799
+ body: 'body',
4800
+ };
4801
+ }
4802
+ static types() {
4803
+ return {
4804
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4805
+ statusCode: 'number',
4806
+ body: UpdateUserProvisioningConfigurationResponseBody,
4807
+ };
4808
+ }
4809
+ }
4810
+ exports.UpdateUserProvisioningConfigurationResponse = UpdateUserProvisioningConfigurationResponse;
4038
4811
  class UpdateUserStatusRequest extends $tea.Model {
4039
4812
  constructor(map) {
4040
4813
  super(map);
@@ -4456,17 +5229,23 @@ class GetDirectorySAMLServiceProviderInfoResponseBodySAMLServiceProvider extends
4456
5229
  static names() {
4457
5230
  return {
4458
5231
  acsUrl: 'AcsUrl',
5232
+ authnSignAlgo: 'AuthnSignAlgo',
5233
+ certificateType: 'CertificateType',
4459
5234
  directoryId: 'DirectoryId',
4460
5235
  encodedMetadataDocument: 'EncodedMetadataDocument',
4461
5236
  entityId: 'EntityId',
5237
+ supportEncryptedAssertion: 'SupportEncryptedAssertion',
4462
5238
  };
4463
5239
  }
4464
5240
  static types() {
4465
5241
  return {
4466
5242
  acsUrl: 'string',
5243
+ authnSignAlgo: 'string',
5244
+ certificateType: 'string',
4467
5245
  directoryId: 'string',
4468
5246
  encodedMetadataDocument: 'string',
4469
5247
  entityId: 'string',
5248
+ supportEncryptedAssertion: 'boolean',
4470
5249
  };
4471
5250
  }
4472
5251
  }
@@ -4573,6 +5352,22 @@ class GetGroupResponseBodyGroup extends $tea.Model {
4573
5352
  }
4574
5353
  }
4575
5354
  exports.GetGroupResponseBodyGroup = GetGroupResponseBodyGroup;
5355
+ class GetLoginPreferenceResponseBodyLoginPreference extends $tea.Model {
5356
+ constructor(map) {
5357
+ super(map);
5358
+ }
5359
+ static names() {
5360
+ return {
5361
+ loginNetworkMasks: 'LoginNetworkMasks',
5362
+ };
5363
+ }
5364
+ static types() {
5365
+ return {
5366
+ loginNetworkMasks: 'string',
5367
+ };
5368
+ }
5369
+ }
5370
+ exports.GetLoginPreferenceResponseBodyLoginPreference = GetLoginPreferenceResponseBodyLoginPreference;
4576
5371
  class GetMFAAuthenticationSettingInfoResponseBodyMFAAuthenticationSettingInfo extends $tea.Model {
4577
5372
  constructor(map) {
4578
5373
  super(map);
@@ -4591,6 +5386,44 @@ class GetMFAAuthenticationSettingInfoResponseBodyMFAAuthenticationSettingInfo ex
4591
5386
  }
4592
5387
  }
4593
5388
  exports.GetMFAAuthenticationSettingInfoResponseBodyMFAAuthenticationSettingInfo = GetMFAAuthenticationSettingInfoResponseBodyMFAAuthenticationSettingInfo;
5389
+ class GetPasswordPolicyResponseBodyPasswordPolicy extends $tea.Model {
5390
+ constructor(map) {
5391
+ super(map);
5392
+ }
5393
+ static names() {
5394
+ return {
5395
+ hardExpire: 'HardExpire',
5396
+ maxLoginAttempts: 'MaxLoginAttempts',
5397
+ maxPasswordAge: 'MaxPasswordAge',
5398
+ maxPasswordLength: 'MaxPasswordLength',
5399
+ minPasswordDifferentChars: 'MinPasswordDifferentChars',
5400
+ minPasswordLength: 'MinPasswordLength',
5401
+ passwordNotContainUsername: 'PasswordNotContainUsername',
5402
+ passwordReusePrevention: 'PasswordReusePrevention',
5403
+ requireLowerCaseChars: 'RequireLowerCaseChars',
5404
+ requireNumbers: 'RequireNumbers',
5405
+ requireSymbols: 'RequireSymbols',
5406
+ requireUpperCaseChars: 'RequireUpperCaseChars',
5407
+ };
5408
+ }
5409
+ static types() {
5410
+ return {
5411
+ hardExpire: 'boolean',
5412
+ maxLoginAttempts: 'number',
5413
+ maxPasswordAge: 'number',
5414
+ maxPasswordLength: 'number',
5415
+ minPasswordDifferentChars: 'number',
5416
+ minPasswordLength: 'number',
5417
+ passwordNotContainUsername: 'boolean',
5418
+ passwordReusePrevention: 'number',
5419
+ requireLowerCaseChars: 'boolean',
5420
+ requireNumbers: 'boolean',
5421
+ requireSymbols: 'boolean',
5422
+ requireUpperCaseChars: 'boolean',
5423
+ };
5424
+ }
5425
+ }
5426
+ exports.GetPasswordPolicyResponseBodyPasswordPolicy = GetPasswordPolicyResponseBodyPasswordPolicy;
4594
5427
  class GetServiceStatusResponseBodyServiceStatus extends $tea.Model {
4595
5428
  constructor(map) {
4596
5429
  super(map);
@@ -4646,82 +5479,190 @@ class GetTaskResponseBodyTask extends $tea.Model {
4646
5479
  principalId: 'string',
4647
5480
  principalName: 'string',
4648
5481
  principalType: 'string',
4649
- startTime: 'string',
5482
+ startTime: 'string',
5483
+ status: 'string',
5484
+ targetId: 'string',
5485
+ targetName: 'string',
5486
+ targetPath: 'string',
5487
+ targetPathName: 'string',
5488
+ targetType: 'string',
5489
+ taskId: 'string',
5490
+ taskType: 'string',
5491
+ };
5492
+ }
5493
+ }
5494
+ exports.GetTaskResponseBodyTask = GetTaskResponseBodyTask;
5495
+ class GetTaskStatusResponseBodyTaskStatus extends $tea.Model {
5496
+ constructor(map) {
5497
+ super(map);
5498
+ }
5499
+ static names() {
5500
+ return {
5501
+ endTime: 'EndTime',
5502
+ failureReason: 'FailureReason',
5503
+ startTime: 'StartTime',
5504
+ status: 'Status',
5505
+ taskId: 'TaskId',
5506
+ taskType: 'TaskType',
5507
+ };
5508
+ }
5509
+ static types() {
5510
+ return {
5511
+ endTime: 'string',
5512
+ failureReason: 'string',
5513
+ startTime: 'string',
5514
+ status: 'string',
5515
+ taskId: 'string',
5516
+ taskType: 'string',
5517
+ };
5518
+ }
5519
+ }
5520
+ exports.GetTaskStatusResponseBodyTaskStatus = GetTaskStatusResponseBodyTaskStatus;
5521
+ class GetUserResponseBodyUserExternalId extends $tea.Model {
5522
+ constructor(map) {
5523
+ super(map);
5524
+ }
5525
+ static names() {
5526
+ return {
5527
+ id: 'Id',
5528
+ issuer: 'Issuer',
5529
+ };
5530
+ }
5531
+ static types() {
5532
+ return {
5533
+ id: 'string',
5534
+ issuer: 'string',
5535
+ };
5536
+ }
5537
+ }
5538
+ exports.GetUserResponseBodyUserExternalId = GetUserResponseBodyUserExternalId;
5539
+ class GetUserResponseBodyUser extends $tea.Model {
5540
+ constructor(map) {
5541
+ super(map);
5542
+ }
5543
+ static names() {
5544
+ return {
5545
+ createTime: 'CreateTime',
5546
+ description: 'Description',
5547
+ displayName: 'DisplayName',
5548
+ email: 'Email',
5549
+ externalId: 'ExternalId',
5550
+ firstName: 'FirstName',
5551
+ lastName: 'LastName',
5552
+ provisionType: 'ProvisionType',
5553
+ status: 'Status',
5554
+ updateTime: 'UpdateTime',
5555
+ userId: 'UserId',
5556
+ userName: 'UserName',
5557
+ };
5558
+ }
5559
+ static types() {
5560
+ return {
5561
+ createTime: 'string',
5562
+ description: 'string',
5563
+ displayName: 'string',
5564
+ email: 'string',
5565
+ externalId: GetUserResponseBodyUserExternalId,
5566
+ firstName: 'string',
5567
+ lastName: 'string',
5568
+ provisionType: 'string',
5569
+ status: 'string',
5570
+ updateTime: 'string',
5571
+ userId: 'string',
5572
+ userName: 'string',
5573
+ };
5574
+ }
5575
+ }
5576
+ exports.GetUserResponseBodyUser = GetUserResponseBodyUser;
5577
+ class GetUserIdRequestExternalId extends $tea.Model {
5578
+ constructor(map) {
5579
+ super(map);
5580
+ }
5581
+ static names() {
5582
+ return {
5583
+ id: 'Id',
5584
+ issuer: 'Issuer',
5585
+ };
5586
+ }
5587
+ static types() {
5588
+ return {
5589
+ id: 'string',
5590
+ issuer: 'string',
5591
+ };
5592
+ }
5593
+ }
5594
+ exports.GetUserIdRequestExternalId = GetUserIdRequestExternalId;
5595
+ class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
5596
+ constructor(map) {
5597
+ super(map);
5598
+ }
5599
+ static names() {
5600
+ return {
5601
+ createTime: 'CreateTime',
5602
+ deletionStrategy: 'DeletionStrategy',
5603
+ description: 'Description',
5604
+ directoryId: 'DirectoryId',
5605
+ duplicationStrategy: 'DuplicationStrategy',
5606
+ ownerPk: 'OwnerPk',
5607
+ principalId: 'PrincipalId',
5608
+ principalName: 'PrincipalName',
5609
+ principalType: 'PrincipalType',
5610
+ status: 'Status',
5611
+ targetId: 'TargetId',
5612
+ targetName: 'TargetName',
5613
+ targetPath: 'TargetPath',
5614
+ targetType: 'TargetType',
5615
+ updateTime: 'UpdateTime',
5616
+ userProvisioningId: 'UserProvisioningId',
5617
+ };
5618
+ }
5619
+ static types() {
5620
+ return {
5621
+ createTime: 'string',
5622
+ deletionStrategy: 'string',
5623
+ description: 'string',
5624
+ directoryId: 'string',
5625
+ duplicationStrategy: 'string',
5626
+ ownerPk: 'string',
5627
+ principalId: 'string',
5628
+ principalName: 'string',
5629
+ principalType: 'string',
4650
5630
  status: 'string',
4651
5631
  targetId: 'string',
4652
5632
  targetName: 'string',
4653
5633
  targetPath: 'string',
4654
- targetPathName: 'string',
4655
5634
  targetType: 'string',
4656
- taskId: 'string',
4657
- taskType: 'string',
4658
- };
4659
- }
4660
- }
4661
- exports.GetTaskResponseBodyTask = GetTaskResponseBodyTask;
4662
- class GetTaskStatusResponseBodyTaskStatus extends $tea.Model {
4663
- constructor(map) {
4664
- super(map);
4665
- }
4666
- static names() {
4667
- return {
4668
- endTime: 'EndTime',
4669
- failureReason: 'FailureReason',
4670
- startTime: 'StartTime',
4671
- status: 'Status',
4672
- taskId: 'TaskId',
4673
- taskType: 'TaskType',
4674
- };
4675
- }
4676
- static types() {
4677
- return {
4678
- endTime: 'string',
4679
- failureReason: 'string',
4680
- startTime: 'string',
4681
- status: 'string',
4682
- taskId: 'string',
4683
- taskType: 'string',
5635
+ updateTime: 'string',
5636
+ userProvisioningId: 'string',
4684
5637
  };
4685
5638
  }
4686
5639
  }
4687
- exports.GetTaskStatusResponseBodyTaskStatus = GetTaskStatusResponseBodyTaskStatus;
4688
- class GetUserResponseBodyUser extends $tea.Model {
5640
+ exports.GetUserProvisioningResponseBodyUserProvisioning = GetUserProvisioningResponseBodyUserProvisioning;
5641
+ class GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration extends $tea.Model {
4689
5642
  constructor(map) {
4690
5643
  super(map);
4691
5644
  }
4692
5645
  static names() {
4693
5646
  return {
4694
5647
  createTime: 'CreateTime',
4695
- description: 'Description',
4696
- displayName: 'DisplayName',
4697
- email: 'Email',
4698
- firstName: 'FirstName',
4699
- lastName: 'LastName',
4700
- provisionType: 'ProvisionType',
4701
- status: 'Status',
5648
+ defaultLandingPage: 'DefaultLandingPage',
5649
+ directoryId: 'DirectoryId',
5650
+ sessionDuration: 'SessionDuration',
4702
5651
  updateTime: 'UpdateTime',
4703
- userId: 'UserId',
4704
- userName: 'UserName',
4705
5652
  };
4706
5653
  }
4707
5654
  static types() {
4708
5655
  return {
4709
5656
  createTime: 'string',
4710
- description: 'string',
4711
- displayName: 'string',
4712
- email: 'string',
4713
- firstName: 'string',
4714
- lastName: 'string',
4715
- provisionType: 'string',
4716
- status: 'string',
5657
+ defaultLandingPage: 'string',
5658
+ directoryId: 'string',
5659
+ sessionDuration: 'number',
4717
5660
  updateTime: 'string',
4718
- userId: 'string',
4719
- userName: 'string',
4720
5661
  };
4721
5662
  }
4722
5663
  }
4723
- exports.GetUserResponseBodyUser = GetUserResponseBodyUser;
4724
- class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
5664
+ exports.GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration = GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
5665
+ class GetUserProvisioningEventResponseBodyUserProvisioningEvent extends $tea.Model {
4725
5666
  constructor(map) {
4726
5667
  super(map);
4727
5668
  }
@@ -4729,14 +5670,16 @@ class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
4729
5670
  return {
4730
5671
  createTime: 'CreateTime',
4731
5672
  deletionStrategy: 'DeletionStrategy',
4732
- description: 'Description',
4733
5673
  directoryId: 'DirectoryId',
4734
5674
  duplicationStrategy: 'DuplicationStrategy',
4735
- ownerPk: 'OwnerPk',
5675
+ errorCount: 'ErrorCount',
5676
+ errorInfo: 'ErrorInfo',
5677
+ eventId: 'EventId',
5678
+ latestAsyncTime: 'LatestAsyncTime',
4736
5679
  principalId: 'PrincipalId',
4737
5680
  principalName: 'PrincipalName',
4738
5681
  principalType: 'PrincipalType',
4739
- status: 'Status',
5682
+ sourceType: 'SourceType',
4740
5683
  targetId: 'TargetId',
4741
5684
  targetName: 'TargetName',
4742
5685
  targetPath: 'TargetPath',
@@ -4749,14 +5692,16 @@ class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
4749
5692
  return {
4750
5693
  createTime: 'string',
4751
5694
  deletionStrategy: 'string',
4752
- description: 'string',
4753
5695
  directoryId: 'string',
4754
5696
  duplicationStrategy: 'string',
4755
- ownerPk: 'string',
5697
+ errorCount: 'number',
5698
+ errorInfo: 'string',
5699
+ eventId: 'string',
5700
+ latestAsyncTime: 'string',
4756
5701
  principalId: 'string',
4757
5702
  principalName: 'string',
4758
5703
  principalType: 'string',
4759
- status: 'string',
5704
+ sourceType: 'string',
4760
5705
  targetId: 'string',
4761
5706
  targetName: 'string',
4762
5707
  targetPath: 'string',
@@ -4766,7 +5711,59 @@ class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
4766
5711
  };
4767
5712
  }
4768
5713
  }
4769
- exports.GetUserProvisioningResponseBodyUserProvisioning = GetUserProvisioningResponseBodyUserProvisioning;
5714
+ exports.GetUserProvisioningEventResponseBodyUserProvisioningEvent = GetUserProvisioningEventResponseBodyUserProvisioningEvent;
5715
+ class GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
5716
+ constructor(map) {
5717
+ super(map);
5718
+ }
5719
+ static names() {
5720
+ return {
5721
+ directoryId: 'DirectoryId',
5722
+ entityId: 'EntityId',
5723
+ failedEventCount: 'FailedEventCount',
5724
+ latestAsyncTime: 'LatestAsyncTime',
5725
+ ownerPk: 'OwnerPk',
5726
+ type: 'Type',
5727
+ };
5728
+ }
5729
+ static types() {
5730
+ return {
5731
+ directoryId: 'string',
5732
+ entityId: 'string',
5733
+ failedEventCount: 'number',
5734
+ latestAsyncTime: 'string',
5735
+ ownerPk: 'string',
5736
+ type: 'string',
5737
+ };
5738
+ }
5739
+ }
5740
+ exports.GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics = GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics;
5741
+ class GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
5742
+ constructor(map) {
5743
+ super(map);
5744
+ }
5745
+ static names() {
5746
+ return {
5747
+ directoryId: 'DirectoryId',
5748
+ entityId: 'EntityId',
5749
+ failedEventCount: 'FailedEventCount',
5750
+ latestAsyncTime: 'LatestAsyncTime',
5751
+ ownerPk: 'OwnerPk',
5752
+ type: 'Type',
5753
+ };
5754
+ }
5755
+ static types() {
5756
+ return {
5757
+ directoryId: 'string',
5758
+ entityId: 'string',
5759
+ failedEventCount: 'number',
5760
+ latestAsyncTime: 'string',
5761
+ ownerPk: 'string',
5762
+ type: 'string',
5763
+ };
5764
+ }
5765
+ }
5766
+ exports.GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics = GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics;
4770
5767
  class ListAccessAssignmentsResponseBodyAccessAssignments extends $tea.Model {
4771
5768
  constructor(map) {
4772
5769
  super(map);
@@ -5133,6 +6130,56 @@ class ListTasksResponseBodyTasks extends $tea.Model {
5133
6130
  }
5134
6131
  }
5135
6132
  exports.ListTasksResponseBodyTasks = ListTasksResponseBodyTasks;
6133
+ class ListUserProvisioningEventsResponseBodyUserProvisioningEvents extends $tea.Model {
6134
+ constructor(map) {
6135
+ super(map);
6136
+ }
6137
+ static names() {
6138
+ return {
6139
+ createTime: 'CreateTime',
6140
+ deletionStrategy: 'DeletionStrategy',
6141
+ directoryId: 'DirectoryId',
6142
+ duplicationStrategy: 'DuplicationStrategy',
6143
+ errorCount: 'ErrorCount',
6144
+ errorInfo: 'ErrorInfo',
6145
+ eventId: 'EventId',
6146
+ latestAsyncTime: 'LatestAsyncTime',
6147
+ principalId: 'PrincipalId',
6148
+ principalName: 'PrincipalName',
6149
+ principalType: 'PrincipalType',
6150
+ sourceType: 'SourceType',
6151
+ targetId: 'TargetId',
6152
+ targetName: 'TargetName',
6153
+ targetPath: 'TargetPath',
6154
+ targetType: 'TargetType',
6155
+ updateTime: 'UpdateTime',
6156
+ userProvisioningId: 'UserProvisioningId',
6157
+ };
6158
+ }
6159
+ static types() {
6160
+ return {
6161
+ createTime: 'string',
6162
+ deletionStrategy: 'string',
6163
+ directoryId: 'string',
6164
+ duplicationStrategy: 'string',
6165
+ errorCount: 'number',
6166
+ errorInfo: 'string',
6167
+ eventId: 'string',
6168
+ latestAsyncTime: 'string',
6169
+ principalId: 'string',
6170
+ principalName: 'string',
6171
+ principalType: 'string',
6172
+ sourceType: 'string',
6173
+ targetId: 'string',
6174
+ targetName: 'string',
6175
+ targetPath: 'string',
6176
+ targetType: 'string',
6177
+ updateTime: 'string',
6178
+ userProvisioningId: 'string',
6179
+ };
6180
+ }
6181
+ }
6182
+ exports.ListUserProvisioningEventsResponseBodyUserProvisioningEvents = ListUserProvisioningEventsResponseBodyUserProvisioningEvents;
5136
6183
  class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Model {
5137
6184
  constructor(map) {
5138
6185
  super(map);
@@ -5179,6 +6226,24 @@ class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Model {
5179
6226
  }
5180
6227
  }
5181
6228
  exports.ListUserProvisioningsResponseBodyUserProvisionings = ListUserProvisioningsResponseBodyUserProvisionings;
6229
+ class ListUsersResponseBodyUsersExternalId extends $tea.Model {
6230
+ constructor(map) {
6231
+ super(map);
6232
+ }
6233
+ static names() {
6234
+ return {
6235
+ id: 'Id',
6236
+ issuer: 'Issuer',
6237
+ };
6238
+ }
6239
+ static types() {
6240
+ return {
6241
+ id: 'string',
6242
+ issuer: 'string',
6243
+ };
6244
+ }
6245
+ }
6246
+ exports.ListUsersResponseBodyUsersExternalId = ListUsersResponseBodyUsersExternalId;
5182
6247
  class ListUsersResponseBodyUsers extends $tea.Model {
5183
6248
  constructor(map) {
5184
6249
  super(map);
@@ -5189,6 +6254,7 @@ class ListUsersResponseBodyUsers extends $tea.Model {
5189
6254
  description: 'Description',
5190
6255
  displayName: 'DisplayName',
5191
6256
  email: 'Email',
6257
+ externalId: 'ExternalId',
5192
6258
  firstName: 'FirstName',
5193
6259
  lastName: 'LastName',
5194
6260
  provisionType: 'ProvisionType',
@@ -5204,6 +6270,7 @@ class ListUsersResponseBodyUsers extends $tea.Model {
5204
6270
  description: 'string',
5205
6271
  displayName: 'string',
5206
6272
  email: 'string',
6273
+ externalId: ListUsersResponseBodyUsersExternalId,
5207
6274
  firstName: 'string',
5208
6275
  lastName: 'string',
5209
6276
  provisionType: 'string',
@@ -5469,6 +6536,30 @@ class UpdateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
5469
6536
  }
5470
6537
  }
5471
6538
  exports.UpdateUserProvisioningResponseBodyUserProvisioning = UpdateUserProvisioningResponseBodyUserProvisioning;
6539
+ class UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration extends $tea.Model {
6540
+ constructor(map) {
6541
+ super(map);
6542
+ }
6543
+ static names() {
6544
+ return {
6545
+ createTime: 'CreateTime',
6546
+ defaultLandingPage: 'DefaultLandingPage',
6547
+ directoryId: 'DirectoryId',
6548
+ sessionDuration: 'SessionDuration',
6549
+ updateTime: 'UpdateTime',
6550
+ };
6551
+ }
6552
+ static types() {
6553
+ return {
6554
+ createTime: 'string',
6555
+ defaultLandingPage: 'string',
6556
+ directoryId: 'string',
6557
+ sessionDuration: 'number',
6558
+ updateTime: 'string',
6559
+ };
6560
+ }
6561
+ }
6562
+ exports.UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration = UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
5472
6563
  class Client extends openapi_client_1.default {
5473
6564
  constructor(config) {
5474
6565
  super(config);
@@ -5669,7 +6760,7 @@ class Client extends openapi_client_1.default {
5669
6760
  return await this.clearExternalSAMLIdentityProviderWithOptions(request, runtime);
5670
6761
  }
5671
6762
  /**
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.
6763
+ * 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.
5673
6764
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
5674
6765
  * 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.
5675
6766
  *
@@ -5715,7 +6806,7 @@ class Client extends openapi_client_1.default {
5715
6806
  return $tea.cast(await this.callApi(params, req, runtime), new CreateAccessAssignmentResponse({}));
5716
6807
  }
5717
6808
  /**
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.
6809
+ * 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.
5719
6810
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
5720
6811
  * 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.
5721
6812
  *
@@ -6407,6 +7498,38 @@ class Client extends openapi_client_1.default {
6407
7498
  let runtime = new $Util.RuntimeOptions({});
6408
7499
  return await this.deleteUserProvisioningWithOptions(request, runtime);
6409
7500
  }
7501
+ async deleteUserProvisioningEventWithOptions(request, runtime) {
7502
+ tea_util_1.default.validateModel(request);
7503
+ let query = {};
7504
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7505
+ query["DirectoryId"] = request.directoryId;
7506
+ }
7507
+ if (!tea_util_1.default.isUnset(request.eventId)) {
7508
+ query["EventId"] = request.eventId;
7509
+ }
7510
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
7511
+ query["UserProvisioningId"] = request.userProvisioningId;
7512
+ }
7513
+ let req = new $OpenApi.OpenApiRequest({
7514
+ query: openapi_util_1.default.query(query),
7515
+ });
7516
+ let params = new $OpenApi.Params({
7517
+ action: "DeleteUserProvisioningEvent",
7518
+ version: "2021-05-15",
7519
+ protocol: "HTTPS",
7520
+ pathname: "/",
7521
+ method: "POST",
7522
+ authType: "AK",
7523
+ style: "RPC",
7524
+ reqBodyType: "formData",
7525
+ bodyType: "json",
7526
+ });
7527
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserProvisioningEventResponse({}));
7528
+ }
7529
+ async deleteUserProvisioningEvent(request) {
7530
+ let runtime = new $Util.RuntimeOptions({});
7531
+ return await this.deleteUserProvisioningEventWithOptions(request, runtime);
7532
+ }
6410
7533
  /**
6411
7534
  * 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.
6412
7535
  * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
@@ -6769,6 +7892,32 @@ class Client extends openapi_client_1.default {
6769
7892
  let runtime = new $Util.RuntimeOptions({});
6770
7893
  return await this.getGroupWithOptions(request, runtime);
6771
7894
  }
7895
+ async getLoginPreferenceWithOptions(request, runtime) {
7896
+ tea_util_1.default.validateModel(request);
7897
+ let query = {};
7898
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7899
+ query["DirectoryId"] = request.directoryId;
7900
+ }
7901
+ let req = new $OpenApi.OpenApiRequest({
7902
+ query: openapi_util_1.default.query(query),
7903
+ });
7904
+ let params = new $OpenApi.Params({
7905
+ action: "GetLoginPreference",
7906
+ version: "2021-05-15",
7907
+ protocol: "HTTPS",
7908
+ pathname: "/",
7909
+ method: "POST",
7910
+ authType: "AK",
7911
+ style: "RPC",
7912
+ reqBodyType: "formData",
7913
+ bodyType: "json",
7914
+ });
7915
+ return $tea.cast(await this.callApi(params, req, runtime), new GetLoginPreferenceResponse({}));
7916
+ }
7917
+ async getLoginPreference(request) {
7918
+ let runtime = new $Util.RuntimeOptions({});
7919
+ return await this.getLoginPreferenceWithOptions(request, runtime);
7920
+ }
6772
7921
  /**
6773
7922
  * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
6774
7923
  * This topic provides an example on how to query the MFA setting of all CloudSSO users that belong to the directory named `00q8wbq42wiltcrk****`.
@@ -6855,10 +8004,42 @@ class Client extends openapi_client_1.default {
6855
8004
  * 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.
6856
8005
  *
6857
8006
  * @param request GetMFAAuthenticationStatusRequest
6858
- * @param runtime runtime options for this request RuntimeOptions
8007
+ * @param runtime runtime options for this request RuntimeOptions
8008
+ * @return GetMFAAuthenticationStatusResponse
8009
+ */
8010
+ async getMFAAuthenticationStatusWithOptions(request, runtime) {
8011
+ tea_util_1.default.validateModel(request);
8012
+ let query = {};
8013
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8014
+ query["DirectoryId"] = request.directoryId;
8015
+ }
8016
+ let req = new $OpenApi.OpenApiRequest({
8017
+ query: openapi_util_1.default.query(query),
8018
+ });
8019
+ let params = new $OpenApi.Params({
8020
+ action: "GetMFAAuthenticationStatus",
8021
+ version: "2021-05-15",
8022
+ protocol: "HTTPS",
8023
+ pathname: "/",
8024
+ method: "POST",
8025
+ authType: "AK",
8026
+ style: "RPC",
8027
+ reqBodyType: "formData",
8028
+ bodyType: "json",
8029
+ });
8030
+ return $tea.cast(await this.callApi(params, req, runtime), new GetMFAAuthenticationStatusResponse({}));
8031
+ }
8032
+ /**
8033
+ * 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.
8034
+ *
8035
+ * @param request GetMFAAuthenticationStatusRequest
6859
8036
  * @return GetMFAAuthenticationStatusResponse
6860
8037
  */
6861
- async getMFAAuthenticationStatusWithOptions(request, runtime) {
8038
+ async getMFAAuthenticationStatus(request) {
8039
+ let runtime = new $Util.RuntimeOptions({});
8040
+ return await this.getMFAAuthenticationStatusWithOptions(request, runtime);
8041
+ }
8042
+ async getPasswordPolicyWithOptions(request, runtime) {
6862
8043
  tea_util_1.default.validateModel(request);
6863
8044
  let query = {};
6864
8045
  if (!tea_util_1.default.isUnset(request.directoryId)) {
@@ -6868,7 +8049,7 @@ class Client extends openapi_client_1.default {
6868
8049
  query: openapi_util_1.default.query(query),
6869
8050
  });
6870
8051
  let params = new $OpenApi.Params({
6871
- action: "GetMFAAuthenticationStatus",
8052
+ action: "GetPasswordPolicy",
6872
8053
  version: "2021-05-15",
6873
8054
  protocol: "HTTPS",
6874
8055
  pathname: "/",
@@ -6878,17 +8059,11 @@ class Client extends openapi_client_1.default {
6878
8059
  reqBodyType: "formData",
6879
8060
  bodyType: "json",
6880
8061
  });
6881
- return $tea.cast(await this.callApi(params, req, runtime), new GetMFAAuthenticationStatusResponse({}));
8062
+ return $tea.cast(await this.callApi(params, req, runtime), new GetPasswordPolicyResponse({}));
6882
8063
  }
6883
- /**
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.
6885
- *
6886
- * @param request GetMFAAuthenticationStatusRequest
6887
- * @return GetMFAAuthenticationStatusResponse
6888
- */
6889
- async getMFAAuthenticationStatus(request) {
8064
+ async getPasswordPolicy(request) {
6890
8065
  let runtime = new $Util.RuntimeOptions({});
6891
- return await this.getMFAAuthenticationStatusWithOptions(request, runtime);
8066
+ return await this.getPasswordPolicyWithOptions(request, runtime);
6892
8067
  }
6893
8068
  /**
6894
8069
  * 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.
@@ -6991,7 +8166,7 @@ class Client extends openapi_client_1.default {
6991
8166
  return await this.getTaskWithOptions(request, runtime);
6992
8167
  }
6993
8168
  /**
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.
8169
+ * 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, call the [GetTask](~~340670~~) operation.
6995
8170
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
6996
8171
  *
6997
8172
  * @param request GetTaskStatusRequest
@@ -7024,7 +8199,7 @@ class Client extends openapi_client_1.default {
7024
8199
  return $tea.cast(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
7025
8200
  }
7026
8201
  /**
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.
8202
+ * 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, call the [GetTask](~~340670~~) operation.
7028
8203
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
7029
8204
  *
7030
8205
  * @param request GetTaskStatusRequest
@@ -7076,6 +8251,40 @@ class Client extends openapi_client_1.default {
7076
8251
  let runtime = new $Util.RuntimeOptions({});
7077
8252
  return await this.getUserWithOptions(request, runtime);
7078
8253
  }
8254
+ async getUserIdWithOptions(tmpReq, runtime) {
8255
+ tea_util_1.default.validateModel(tmpReq);
8256
+ let request = new GetUserIdShrinkRequest({});
8257
+ openapi_util_1.default.convert(tmpReq, request);
8258
+ if (!tea_util_1.default.isUnset(tmpReq.externalId)) {
8259
+ request.externalIdShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.externalId, "ExternalId", "json");
8260
+ }
8261
+ let query = {};
8262
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8263
+ query["DirectoryId"] = request.directoryId;
8264
+ }
8265
+ if (!tea_util_1.default.isUnset(request.externalIdShrink)) {
8266
+ query["ExternalId"] = request.externalIdShrink;
8267
+ }
8268
+ let req = new $OpenApi.OpenApiRequest({
8269
+ query: openapi_util_1.default.query(query),
8270
+ });
8271
+ let params = new $OpenApi.Params({
8272
+ action: "GetUserId",
8273
+ version: "2021-05-15",
8274
+ protocol: "HTTPS",
8275
+ pathname: "/",
8276
+ method: "POST",
8277
+ authType: "AK",
8278
+ style: "RPC",
8279
+ reqBodyType: "formData",
8280
+ bodyType: "json",
8281
+ });
8282
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserIdResponse({}));
8283
+ }
8284
+ async getUserId(request) {
8285
+ let runtime = new $Util.RuntimeOptions({});
8286
+ return await this.getUserIdWithOptions(request, runtime);
8287
+ }
7079
8288
  /**
7080
8289
  * This topic provides an example on how to query the MFA setting of the user named `u-00q8wbq42wiltcrk****`. The returned result shows that MFA is enabled for the user.
7081
8290
  *
@@ -7147,6 +8356,119 @@ class Client extends openapi_client_1.default {
7147
8356
  let runtime = new $Util.RuntimeOptions({});
7148
8357
  return await this.getUserProvisioningWithOptions(request, runtime);
7149
8358
  }
8359
+ async getUserProvisioningConfigurationWithOptions(request, runtime) {
8360
+ tea_util_1.default.validateModel(request);
8361
+ let query = {};
8362
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8363
+ query["DirectoryId"] = request.directoryId;
8364
+ }
8365
+ let req = new $OpenApi.OpenApiRequest({
8366
+ query: openapi_util_1.default.query(query),
8367
+ });
8368
+ let params = new $OpenApi.Params({
8369
+ action: "GetUserProvisioningConfiguration",
8370
+ version: "2021-05-15",
8371
+ protocol: "HTTPS",
8372
+ pathname: "/",
8373
+ method: "POST",
8374
+ authType: "AK",
8375
+ style: "RPC",
8376
+ reqBodyType: "formData",
8377
+ bodyType: "json",
8378
+ });
8379
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningConfigurationResponse({}));
8380
+ }
8381
+ async getUserProvisioningConfiguration(request) {
8382
+ let runtime = new $Util.RuntimeOptions({});
8383
+ return await this.getUserProvisioningConfigurationWithOptions(request, runtime);
8384
+ }
8385
+ async getUserProvisioningEventWithOptions(request, runtime) {
8386
+ tea_util_1.default.validateModel(request);
8387
+ let query = {};
8388
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8389
+ query["DirectoryId"] = request.directoryId;
8390
+ }
8391
+ if (!tea_util_1.default.isUnset(request.eventId)) {
8392
+ query["EventId"] = request.eventId;
8393
+ }
8394
+ let req = new $OpenApi.OpenApiRequest({
8395
+ query: openapi_util_1.default.query(query),
8396
+ });
8397
+ let params = new $OpenApi.Params({
8398
+ action: "GetUserProvisioningEvent",
8399
+ version: "2021-05-15",
8400
+ protocol: "HTTPS",
8401
+ pathname: "/",
8402
+ method: "POST",
8403
+ authType: "AK",
8404
+ style: "RPC",
8405
+ reqBodyType: "formData",
8406
+ bodyType: "json",
8407
+ });
8408
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningEventResponse({}));
8409
+ }
8410
+ async getUserProvisioningEvent(request) {
8411
+ let runtime = new $Util.RuntimeOptions({});
8412
+ return await this.getUserProvisioningEventWithOptions(request, runtime);
8413
+ }
8414
+ async getUserProvisioningRdAccountStatisticsWithOptions(request, runtime) {
8415
+ tea_util_1.default.validateModel(request);
8416
+ let query = {};
8417
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8418
+ query["DirectoryId"] = request.directoryId;
8419
+ }
8420
+ if (!tea_util_1.default.isUnset(request.rdMemberId)) {
8421
+ query["RdMemberId"] = request.rdMemberId;
8422
+ }
8423
+ let req = new $OpenApi.OpenApiRequest({
8424
+ query: openapi_util_1.default.query(query),
8425
+ });
8426
+ let params = new $OpenApi.Params({
8427
+ action: "GetUserProvisioningRdAccountStatistics",
8428
+ version: "2021-05-15",
8429
+ protocol: "HTTPS",
8430
+ pathname: "/",
8431
+ method: "POST",
8432
+ authType: "AK",
8433
+ style: "RPC",
8434
+ reqBodyType: "formData",
8435
+ bodyType: "json",
8436
+ });
8437
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningRdAccountStatisticsResponse({}));
8438
+ }
8439
+ async getUserProvisioningRdAccountStatistics(request) {
8440
+ let runtime = new $Util.RuntimeOptions({});
8441
+ return await this.getUserProvisioningRdAccountStatisticsWithOptions(request, runtime);
8442
+ }
8443
+ async getUserProvisioningStatisticsWithOptions(request, runtime) {
8444
+ tea_util_1.default.validateModel(request);
8445
+ let query = {};
8446
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8447
+ query["DirectoryId"] = request.directoryId;
8448
+ }
8449
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
8450
+ query["UserProvisioningId"] = request.userProvisioningId;
8451
+ }
8452
+ let req = new $OpenApi.OpenApiRequest({
8453
+ query: openapi_util_1.default.query(query),
8454
+ });
8455
+ let params = new $OpenApi.Params({
8456
+ action: "GetUserProvisioningStatistics",
8457
+ version: "2021-05-15",
8458
+ protocol: "HTTPS",
8459
+ pathname: "/",
8460
+ method: "POST",
8461
+ authType: "AK",
8462
+ style: "RPC",
8463
+ reqBodyType: "formData",
8464
+ bodyType: "json",
8465
+ });
8466
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningStatisticsResponse({}));
8467
+ }
8468
+ async getUserProvisioningStatistics(request) {
8469
+ let runtime = new $Util.RuntimeOptions({});
8470
+ return await this.getUserProvisioningStatisticsWithOptions(request, runtime);
8471
+ }
7150
8472
  /**
7151
8473
  * 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.
7152
8474
  *
@@ -7729,6 +9051,41 @@ class Client extends openapi_client_1.default {
7729
9051
  let runtime = new $Util.RuntimeOptions({});
7730
9052
  return await this.listTasksWithOptions(request, runtime);
7731
9053
  }
9054
+ async listUserProvisioningEventsWithOptions(request, runtime) {
9055
+ tea_util_1.default.validateModel(request);
9056
+ let query = {};
9057
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
9058
+ query["DirectoryId"] = request.directoryId;
9059
+ }
9060
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
9061
+ query["MaxResults"] = request.maxResults;
9062
+ }
9063
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
9064
+ query["NextToken"] = request.nextToken;
9065
+ }
9066
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
9067
+ query["UserProvisioningId"] = request.userProvisioningId;
9068
+ }
9069
+ let req = new $OpenApi.OpenApiRequest({
9070
+ query: openapi_util_1.default.query(query),
9071
+ });
9072
+ let params = new $OpenApi.Params({
9073
+ action: "ListUserProvisioningEvents",
9074
+ version: "2021-05-15",
9075
+ protocol: "HTTPS",
9076
+ pathname: "/",
9077
+ method: "POST",
9078
+ authType: "AK",
9079
+ style: "RPC",
9080
+ reqBodyType: "formData",
9081
+ bodyType: "json",
9082
+ });
9083
+ return $tea.cast(await this.callApi(params, req, runtime), new ListUserProvisioningEventsResponse({}));
9084
+ }
9085
+ async listUserProvisioningEvents(request) {
9086
+ let runtime = new $Util.RuntimeOptions({});
9087
+ return await this.listUserProvisioningEventsWithOptions(request, runtime);
9088
+ }
7732
9089
  async listUserProvisioningsWithOptions(request, runtime) {
7733
9090
  tea_util_1.default.validateModel(request);
7734
9091
  let query = {};
@@ -8071,6 +9428,38 @@ class Client extends openapi_client_1.default {
8071
9428
  let runtime = new $Util.RuntimeOptions({});
8072
9429
  return await this.resetUserPasswordWithOptions(request, runtime);
8073
9430
  }
9431
+ async retryUserProvisioningEventWithOptions(request, runtime) {
9432
+ tea_util_1.default.validateModel(request);
9433
+ let query = {};
9434
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
9435
+ query["DirectoryId"] = request.directoryId;
9436
+ }
9437
+ if (!tea_util_1.default.isUnset(request.duplicationStrategy)) {
9438
+ query["DuplicationStrategy"] = request.duplicationStrategy;
9439
+ }
9440
+ if (!tea_util_1.default.isUnset(request.eventId)) {
9441
+ query["EventId"] = request.eventId;
9442
+ }
9443
+ let req = new $OpenApi.OpenApiRequest({
9444
+ query: openapi_util_1.default.query(query),
9445
+ });
9446
+ let params = new $OpenApi.Params({
9447
+ action: "RetryUserProvisioningEvent",
9448
+ version: "2021-05-15",
9449
+ protocol: "HTTPS",
9450
+ pathname: "/",
9451
+ method: "POST",
9452
+ authType: "AK",
9453
+ style: "RPC",
9454
+ reqBodyType: "formData",
9455
+ bodyType: "json",
9456
+ });
9457
+ return $tea.cast(await this.callApi(params, req, runtime), new RetryUserProvisioningEventResponse({}));
9458
+ }
9459
+ async retryUserProvisioningEvent(request) {
9460
+ let runtime = new $Util.RuntimeOptions({});
9461
+ return await this.retryUserProvisioningEventWithOptions(request, runtime);
9462
+ }
8074
9463
  /**
8075
9464
  * 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.
8076
9465
  * 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.
@@ -8144,6 +9533,35 @@ class Client extends openapi_client_1.default {
8144
9533
  let runtime = new $Util.RuntimeOptions({});
8145
9534
  return await this.setExternalSAMLIdentityProviderWithOptions(request, runtime);
8146
9535
  }
9536
+ async setLoginPreferenceWithOptions(request, runtime) {
9537
+ tea_util_1.default.validateModel(request);
9538
+ let query = {};
9539
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
9540
+ query["DirectoryId"] = request.directoryId;
9541
+ }
9542
+ if (!tea_util_1.default.isUnset(request.loginNetworkMasks)) {
9543
+ query["LoginNetworkMasks"] = request.loginNetworkMasks;
9544
+ }
9545
+ let req = new $OpenApi.OpenApiRequest({
9546
+ query: openapi_util_1.default.query(query),
9547
+ });
9548
+ let params = new $OpenApi.Params({
9549
+ action: "SetLoginPreference",
9550
+ version: "2021-05-15",
9551
+ protocol: "HTTPS",
9552
+ pathname: "/",
9553
+ method: "POST",
9554
+ authType: "AK",
9555
+ style: "RPC",
9556
+ reqBodyType: "formData",
9557
+ bodyType: "json",
9558
+ });
9559
+ return $tea.cast(await this.callApi(params, req, runtime), new SetLoginPreferenceResponse({}));
9560
+ }
9561
+ async setLoginPreference(request) {
9562
+ let runtime = new $Util.RuntimeOptions({});
9563
+ return await this.setLoginPreferenceWithOptions(request, runtime);
9564
+ }
8147
9565
  /**
8148
9566
  * 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.
8149
9567
  * This topic provides an example on how to enable MFA for users.
@@ -8188,6 +9606,50 @@ class Client extends openapi_client_1.default {
8188
9606
  let runtime = new $Util.RuntimeOptions({});
8189
9607
  return await this.setMFAAuthenticationStatusWithOptions(request, runtime);
8190
9608
  }
9609
+ async setPasswordPolicyWithOptions(request, runtime) {
9610
+ tea_util_1.default.validateModel(request);
9611
+ let query = {};
9612
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
9613
+ query["DirectoryId"] = request.directoryId;
9614
+ }
9615
+ if (!tea_util_1.default.isUnset(request.maxLoginAttempts)) {
9616
+ query["MaxLoginAttempts"] = request.maxLoginAttempts;
9617
+ }
9618
+ if (!tea_util_1.default.isUnset(request.maxPasswordAge)) {
9619
+ query["MaxPasswordAge"] = request.maxPasswordAge;
9620
+ }
9621
+ if (!tea_util_1.default.isUnset(request.minPasswordDifferentChars)) {
9622
+ query["MinPasswordDifferentChars"] = request.minPasswordDifferentChars;
9623
+ }
9624
+ if (!tea_util_1.default.isUnset(request.minPasswordLength)) {
9625
+ query["MinPasswordLength"] = request.minPasswordLength;
9626
+ }
9627
+ if (!tea_util_1.default.isUnset(request.passwordNotContainUsername)) {
9628
+ query["PasswordNotContainUsername"] = request.passwordNotContainUsername;
9629
+ }
9630
+ if (!tea_util_1.default.isUnset(request.passwordReusePrevention)) {
9631
+ query["PasswordReusePrevention"] = request.passwordReusePrevention;
9632
+ }
9633
+ let req = new $OpenApi.OpenApiRequest({
9634
+ query: openapi_util_1.default.query(query),
9635
+ });
9636
+ let params = new $OpenApi.Params({
9637
+ action: "SetPasswordPolicy",
9638
+ version: "2021-05-15",
9639
+ protocol: "HTTPS",
9640
+ pathname: "/",
9641
+ method: "POST",
9642
+ authType: "AK",
9643
+ style: "RPC",
9644
+ reqBodyType: "formData",
9645
+ bodyType: "json",
9646
+ });
9647
+ return $tea.cast(await this.callApi(params, req, runtime), new SetPasswordPolicyResponse({}));
9648
+ }
9649
+ async setPasswordPolicy(request) {
9650
+ let runtime = new $Util.RuntimeOptions({});
9651
+ return await this.setPasswordPolicyWithOptions(request, runtime);
9652
+ }
8191
9653
  /**
8192
9654
  * You can synchronize users or groups from an external identity provider (IdP) that supports SCIM 2.0 to CloudSSO only after SCIM synchronization is enabled. If you disable SCIM synchronization, you can no longer synchronize users or groups to CloudSSO. The following list describes the impacts after SCIM synchronization is enabled or disabled:
8193
9655
  * * 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.
@@ -8673,6 +10135,38 @@ class Client extends openapi_client_1.default {
8673
10135
  let runtime = new $Util.RuntimeOptions({});
8674
10136
  return await this.updateUserProvisioningWithOptions(request, runtime);
8675
10137
  }
10138
+ async updateUserProvisioningConfigurationWithOptions(request, runtime) {
10139
+ tea_util_1.default.validateModel(request);
10140
+ let query = {};
10141
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
10142
+ query["DirectoryId"] = request.directoryId;
10143
+ }
10144
+ if (!tea_util_1.default.isUnset(request.newDefaultLandingPage)) {
10145
+ query["NewDefaultLandingPage"] = request.newDefaultLandingPage;
10146
+ }
10147
+ if (!tea_util_1.default.isUnset(request.newSessionDuration)) {
10148
+ query["NewSessionDuration"] = request.newSessionDuration;
10149
+ }
10150
+ let req = new $OpenApi.OpenApiRequest({
10151
+ query: openapi_util_1.default.query(query),
10152
+ });
10153
+ let params = new $OpenApi.Params({
10154
+ action: "UpdateUserProvisioningConfiguration",
10155
+ version: "2021-05-15",
10156
+ protocol: "HTTPS",
10157
+ pathname: "/",
10158
+ method: "POST",
10159
+ authType: "AK",
10160
+ style: "RPC",
10161
+ reqBodyType: "formData",
10162
+ bodyType: "json",
10163
+ });
10164
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserProvisioningConfigurationResponse({}));
10165
+ }
10166
+ async updateUserProvisioningConfiguration(request) {
10167
+ let runtime = new $Util.RuntimeOptions({});
10168
+ return await this.updateUserProvisioningConfigurationWithOptions(request, runtime);
10169
+ }
8676
10170
  /**
8677
10171
  * 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.
8678
10172
  *