@alicloud/cloudsso20210515 1.4.2 → 1.5.1

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
@@ -15,26 +15,36 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  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;
30
- 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 = void 0;
31
- 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 = void 0;
32
- 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 = void 0;
33
- 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 = void 0;
34
- 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 = void 0;
40
+ 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.EnableDelegateAccountResponse = exports.EnableDelegateAccountResponseBody = exports.EnableDelegateAccountRequest = exports.DisableServiceResponse = exports.DisableServiceResponseBody = exports.DisableDelegateAccountResponse = exports.DisableDelegateAccountResponseBody = exports.DisableDelegateAccountRequest = 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 = void 0;
41
+ 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 = void 0;
42
+ 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 = void 0;
43
+ 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 = void 0;
44
+ 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 = void 0;
45
+ exports.UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration = exports.UpdateUserProvisioningResponseBodyUserProvisioning = exports.UpdateUserResponseBodyUser = exports.UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential = exports.UpdateGroupResponseBodyGroup = exports.UpdateDirectoryResponseBodyDirectory = void 0;
35
46
  // This file is auto-generated, don't edit it
36
47
  /**
37
- *
38
48
  */
39
49
  const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
40
50
  const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
@@ -1257,6 +1267,58 @@ class DeprovisionAccessConfigurationResponse extends $tea.Model {
1257
1267
  }
1258
1268
  }
1259
1269
  exports.DeprovisionAccessConfigurationResponse = DeprovisionAccessConfigurationResponse;
1270
+ class DisableDelegateAccountRequest extends $tea.Model {
1271
+ static names() {
1272
+ return {
1273
+ accountId: 'AccountId',
1274
+ };
1275
+ }
1276
+ static types() {
1277
+ return {
1278
+ accountId: 'string',
1279
+ };
1280
+ }
1281
+ constructor(map) {
1282
+ super(map);
1283
+ }
1284
+ }
1285
+ exports.DisableDelegateAccountRequest = DisableDelegateAccountRequest;
1286
+ class DisableDelegateAccountResponseBody extends $tea.Model {
1287
+ static names() {
1288
+ return {
1289
+ requestId: 'RequestId',
1290
+ };
1291
+ }
1292
+ static types() {
1293
+ return {
1294
+ requestId: 'string',
1295
+ };
1296
+ }
1297
+ constructor(map) {
1298
+ super(map);
1299
+ }
1300
+ }
1301
+ exports.DisableDelegateAccountResponseBody = DisableDelegateAccountResponseBody;
1302
+ class DisableDelegateAccountResponse extends $tea.Model {
1303
+ static names() {
1304
+ return {
1305
+ headers: 'headers',
1306
+ statusCode: 'statusCode',
1307
+ body: 'body',
1308
+ };
1309
+ }
1310
+ static types() {
1311
+ return {
1312
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1313
+ statusCode: 'number',
1314
+ body: DisableDelegateAccountResponseBody,
1315
+ };
1316
+ }
1317
+ constructor(map) {
1318
+ super(map);
1319
+ }
1320
+ }
1321
+ exports.DisableDelegateAccountResponse = DisableDelegateAccountResponse;
1260
1322
  class DisableServiceResponseBody extends $tea.Model {
1261
1323
  static names() {
1262
1324
  return {
@@ -1293,6 +1355,58 @@ class DisableServiceResponse extends $tea.Model {
1293
1355
  }
1294
1356
  }
1295
1357
  exports.DisableServiceResponse = DisableServiceResponse;
1358
+ class EnableDelegateAccountRequest extends $tea.Model {
1359
+ static names() {
1360
+ return {
1361
+ accountId: 'AccountId',
1362
+ };
1363
+ }
1364
+ static types() {
1365
+ return {
1366
+ accountId: 'string',
1367
+ };
1368
+ }
1369
+ constructor(map) {
1370
+ super(map);
1371
+ }
1372
+ }
1373
+ exports.EnableDelegateAccountRequest = EnableDelegateAccountRequest;
1374
+ class EnableDelegateAccountResponseBody extends $tea.Model {
1375
+ static names() {
1376
+ return {
1377
+ requestId: 'RequestId',
1378
+ };
1379
+ }
1380
+ static types() {
1381
+ return {
1382
+ requestId: 'string',
1383
+ };
1384
+ }
1385
+ constructor(map) {
1386
+ super(map);
1387
+ }
1388
+ }
1389
+ exports.EnableDelegateAccountResponseBody = EnableDelegateAccountResponseBody;
1390
+ class EnableDelegateAccountResponse extends $tea.Model {
1391
+ static names() {
1392
+ return {
1393
+ headers: 'headers',
1394
+ statusCode: 'statusCode',
1395
+ body: 'body',
1396
+ };
1397
+ }
1398
+ static types() {
1399
+ return {
1400
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1401
+ statusCode: 'number',
1402
+ body: EnableDelegateAccountResponseBody,
1403
+ };
1404
+ }
1405
+ constructor(map) {
1406
+ super(map);
1407
+ }
1408
+ }
1409
+ exports.EnableDelegateAccountResponse = EnableDelegateAccountResponse;
1296
1410
  class EnableServiceResponseBody extends $tea.Model {
1297
1411
  static names() {
1298
1412
  return {
@@ -3936,6 +4050,7 @@ exports.RetryUserProvisioningEventResponse = RetryUserProvisioningEventResponse;
3936
4050
  class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
3937
4051
  static names() {
3938
4052
  return {
4053
+ bindingType: 'BindingType',
3939
4054
  directoryId: 'DirectoryId',
3940
4055
  encodedMetadataDocument: 'EncodedMetadataDocument',
3941
4056
  entityId: 'EntityId',
@@ -3947,6 +4062,7 @@ class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
3947
4062
  }
3948
4063
  static types() {
3949
4064
  return {
4065
+ bindingType: 'string',
3950
4066
  directoryId: 'string',
3951
4067
  encodedMetadataDocument: 'string',
3952
4068
  entityId: 'string',
@@ -4002,12 +4118,14 @@ exports.SetExternalSAMLIdentityProviderResponse = SetExternalSAMLIdentityProvide
4002
4118
  class SetLoginPreferenceRequest extends $tea.Model {
4003
4119
  static names() {
4004
4120
  return {
4121
+ allowUserToGetCredentials: 'AllowUserToGetCredentials',
4005
4122
  directoryId: 'DirectoryId',
4006
4123
  loginNetworkMasks: 'LoginNetworkMasks',
4007
4124
  };
4008
4125
  }
4009
4126
  static types() {
4010
4127
  return {
4128
+ allowUserToGetCredentials: 'boolean',
4011
4129
  directoryId: 'string',
4012
4130
  loginNetworkMasks: 'string',
4013
4131
  };
@@ -5308,6 +5426,7 @@ exports.GetDirectoryStatisticsResponseBodyDirectoryStatistics = GetDirectoryStat
5308
5426
  class GetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration extends $tea.Model {
5309
5427
  static names() {
5310
5428
  return {
5429
+ bindingType: 'BindingType',
5311
5430
  certificateIds: 'CertificateIds',
5312
5431
  createTime: 'CreateTime',
5313
5432
  directoryId: 'DirectoryId',
@@ -5321,6 +5440,7 @@ class GetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfigurati
5321
5440
  }
5322
5441
  static types() {
5323
5442
  return {
5443
+ bindingType: 'string',
5324
5444
  certificateIds: { 'type': 'array', 'itemType': 'string' },
5325
5445
  createTime: 'string',
5326
5446
  directoryId: 'string',
@@ -5366,11 +5486,13 @@ exports.GetGroupResponseBodyGroup = GetGroupResponseBodyGroup;
5366
5486
  class GetLoginPreferenceResponseBodyLoginPreference extends $tea.Model {
5367
5487
  static names() {
5368
5488
  return {
5489
+ allowUserToGetCredentials: 'AllowUserToGetCredentials',
5369
5490
  loginNetworkMasks: 'LoginNetworkMasks',
5370
5491
  };
5371
5492
  }
5372
5493
  static types() {
5373
5494
  return {
5495
+ allowUserToGetCredentials: 'boolean',
5374
5496
  loginNetworkMasks: 'string',
5375
5497
  };
5376
5498
  }
@@ -6330,6 +6452,7 @@ exports.ProvisionAccessConfigurationResponseBodyTasks = ProvisionAccessConfigura
6330
6452
  class SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration extends $tea.Model {
6331
6453
  static names() {
6332
6454
  return {
6455
+ bindingType: 'BindingType',
6333
6456
  certificateIds: 'CertificateIds',
6334
6457
  createTime: 'CreateTime',
6335
6458
  directoryId: 'DirectoryId',
@@ -6343,6 +6466,7 @@ class SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfigurati
6343
6466
  }
6344
6467
  static types() {
6345
6468
  return {
6469
+ bindingType: 'string',
6346
6470
  certificateIds: { 'type': 'array', 'itemType': 'string' },
6347
6471
  createTime: 'string',
6348
6472
  directoryId: 'string',
@@ -6588,12 +6712,15 @@ class Client extends openapi_client_1.default {
6588
6712
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
6589
6713
  }
6590
6714
  /**
6591
- * You can add up to two SAML signing certificates.
6592
- * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
6593
- *
6594
- * @param request AddExternalSAMLIdPCertificateRequest
6595
- * @param runtime runtime options for this request RuntimeOptions
6596
- * @return AddExternalSAMLIdPCertificateResponse
6715
+ * Adds a Security Assertion Markup Language (SAML) signing certificate.
6716
+ *
6717
+ * @remarks
6718
+ * You can add up to two SAML signing certificates.
6719
+ * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
6720
+ *
6721
+ * @param request - AddExternalSAMLIdPCertificateRequest
6722
+ * @param runtime - runtime options for this request RuntimeOptions
6723
+ * @returns AddExternalSAMLIdPCertificateResponse
6597
6724
  */
6598
6725
  async addExternalSAMLIdPCertificateWithOptions(request, runtime) {
6599
6726
  tea_util_1.default.validateModel(request);
@@ -6621,22 +6748,28 @@ class Client extends openapi_client_1.default {
6621
6748
  return $tea.cast(await this.callApi(params, req, runtime), new AddExternalSAMLIdPCertificateResponse({}));
6622
6749
  }
6623
6750
  /**
6624
- * You can add up to two SAML signing certificates.
6625
- * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
6626
- *
6627
- * @param request AddExternalSAMLIdPCertificateRequest
6628
- * @return AddExternalSAMLIdPCertificateResponse
6751
+ * Adds a Security Assertion Markup Language (SAML) signing certificate.
6752
+ *
6753
+ * @remarks
6754
+ * You can add up to two SAML signing certificates.
6755
+ * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
6756
+ *
6757
+ * @param request - AddExternalSAMLIdPCertificateRequest
6758
+ * @returns AddExternalSAMLIdPCertificateResponse
6629
6759
  */
6630
6760
  async addExternalSAMLIdPCertificate(request) {
6631
6761
  let runtime = new $Util.RuntimeOptions({});
6632
6762
  return await this.addExternalSAMLIdPCertificateWithOptions(request, runtime);
6633
6763
  }
6634
6764
  /**
6635
- * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
6636
- *
6637
- * @param request AddPermissionPolicyToAccessConfigurationRequest
6638
- * @param runtime runtime options for this request RuntimeOptions
6639
- * @return AddPermissionPolicyToAccessConfigurationResponse
6765
+ * Adds a policy to an access configuration.
6766
+ *
6767
+ * @remarks
6768
+ * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
6769
+ *
6770
+ * @param request - AddPermissionPolicyToAccessConfigurationRequest
6771
+ * @param runtime - runtime options for this request RuntimeOptions
6772
+ * @returns AddPermissionPolicyToAccessConfigurationResponse
6640
6773
  */
6641
6774
  async addPermissionPolicyToAccessConfigurationWithOptions(request, runtime) {
6642
6775
  tea_util_1.default.validateModel(request);
@@ -6673,22 +6806,28 @@ class Client extends openapi_client_1.default {
6673
6806
  return $tea.cast(await this.callApi(params, req, runtime), new AddPermissionPolicyToAccessConfigurationResponse({}));
6674
6807
  }
6675
6808
  /**
6676
- * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
6677
- *
6678
- * @param request AddPermissionPolicyToAccessConfigurationRequest
6679
- * @return AddPermissionPolicyToAccessConfigurationResponse
6809
+ * Adds a policy to an access configuration.
6810
+ *
6811
+ * @remarks
6812
+ * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
6813
+ *
6814
+ * @param request - AddPermissionPolicyToAccessConfigurationRequest
6815
+ * @returns AddPermissionPolicyToAccessConfigurationResponse
6680
6816
  */
6681
6817
  async addPermissionPolicyToAccessConfiguration(request) {
6682
6818
  let runtime = new $Util.RuntimeOptions({});
6683
6819
  return await this.addPermissionPolicyToAccessConfigurationWithOptions(request, runtime);
6684
6820
  }
6685
6821
  /**
6686
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
6687
- * This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
6688
- *
6689
- * @param request AddUserToGroupRequest
6690
- * @param runtime runtime options for this request RuntimeOptions
6691
- * @return AddUserToGroupResponse
6822
+ * Adds a user to a group.
6823
+ *
6824
+ * @remarks
6825
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
6826
+ * This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
6827
+ *
6828
+ * @param request - AddUserToGroupRequest
6829
+ * @param runtime - runtime options for this request RuntimeOptions
6830
+ * @returns AddUserToGroupResponse
6692
6831
  */
6693
6832
  async addUserToGroupWithOptions(request, runtime) {
6694
6833
  tea_util_1.default.validateModel(request);
@@ -6719,23 +6858,29 @@ class Client extends openapi_client_1.default {
6719
6858
  return $tea.cast(await this.callApi(params, req, runtime), new AddUserToGroupResponse({}));
6720
6859
  }
6721
6860
  /**
6722
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
6723
- * This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
6724
- *
6725
- * @param request AddUserToGroupRequest
6726
- * @return AddUserToGroupResponse
6861
+ * Adds a user to a group.
6862
+ *
6863
+ * @remarks
6864
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
6865
+ * This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
6866
+ *
6867
+ * @param request - AddUserToGroupRequest
6868
+ * @returns AddUserToGroupResponse
6727
6869
  */
6728
6870
  async addUserToGroup(request) {
6729
6871
  let runtime = new $Util.RuntimeOptions({});
6730
6872
  return await this.addUserToGroupWithOptions(request, runtime);
6731
6873
  }
6732
6874
  /**
6733
- * If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
6734
- * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
6735
- *
6736
- * @param request ClearExternalSAMLIdentityProviderRequest
6737
- * @param runtime runtime options for this request RuntimeOptions
6738
- * @return ClearExternalSAMLIdentityProviderResponse
6875
+ * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
6876
+ *
6877
+ * @remarks
6878
+ * If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
6879
+ * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
6880
+ *
6881
+ * @param request - ClearExternalSAMLIdentityProviderRequest
6882
+ * @param runtime - runtime options for this request RuntimeOptions
6883
+ * @returns ClearExternalSAMLIdentityProviderResponse
6739
6884
  */
6740
6885
  async clearExternalSAMLIdentityProviderWithOptions(request, runtime) {
6741
6886
  tea_util_1.default.validateModel(request);
@@ -6760,24 +6905,30 @@ class Client extends openapi_client_1.default {
6760
6905
  return $tea.cast(await this.callApi(params, req, runtime), new ClearExternalSAMLIdentityProviderResponse({}));
6761
6906
  }
6762
6907
  /**
6763
- * If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
6764
- * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
6765
- *
6766
- * @param request ClearExternalSAMLIdentityProviderRequest
6767
- * @return ClearExternalSAMLIdentityProviderResponse
6908
+ * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
6909
+ *
6910
+ * @remarks
6911
+ * If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
6912
+ * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
6913
+ *
6914
+ * @param request - ClearExternalSAMLIdentityProviderRequest
6915
+ * @returns ClearExternalSAMLIdentityProviderResponse
6768
6916
  */
6769
6917
  async clearExternalSAMLIdentityProvider(request) {
6770
6918
  let runtime = new $Util.RuntimeOptions({});
6771
6919
  return await this.clearExternalSAMLIdentityProviderWithOptions(request, runtime);
6772
6920
  }
6773
6921
  /**
6774
- * 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.
6775
- * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
6776
- * 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.
6777
- *
6778
- * @param request CreateAccessAssignmentRequest
6779
- * @param runtime runtime options for this request RuntimeOptions
6780
- * @return CreateAccessAssignmentResponse
6922
+ * Assigns access permissions on an account in your resource directory to a user or a group by using an access configuration.
6923
+ *
6924
+ * @remarks
6925
+ * When you call this operation, an asynchronous task is created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
6926
+ * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](https://help.aliyun.com/document_detail/266726.html).
6927
+ * 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.
6928
+ *
6929
+ * @param request - CreateAccessAssignmentRequest
6930
+ * @param runtime - runtime options for this request RuntimeOptions
6931
+ * @returns CreateAccessAssignmentResponse
6781
6932
  */
6782
6933
  async createAccessAssignmentWithOptions(request, runtime) {
6783
6934
  tea_util_1.default.validateModel(request);
@@ -6817,24 +6968,30 @@ class Client extends openapi_client_1.default {
6817
6968
  return $tea.cast(await this.callApi(params, req, runtime), new CreateAccessAssignmentResponse({}));
6818
6969
  }
6819
6970
  /**
6820
- * 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.
6821
- * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
6822
- * 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.
6823
- *
6824
- * @param request CreateAccessAssignmentRequest
6825
- * @return CreateAccessAssignmentResponse
6971
+ * Assigns access permissions on an account in your resource directory to a user or a group by using an access configuration.
6972
+ *
6973
+ * @remarks
6974
+ * When you call this operation, an asynchronous task is created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
6975
+ * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](https://help.aliyun.com/document_detail/266726.html).
6976
+ * 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.
6977
+ *
6978
+ * @param request - CreateAccessAssignmentRequest
6979
+ * @returns CreateAccessAssignmentResponse
6826
6980
  */
6827
6981
  async createAccessAssignment(request) {
6828
6982
  let runtime = new $Util.RuntimeOptions({});
6829
6983
  return await this.createAccessAssignmentWithOptions(request, runtime);
6830
6984
  }
6831
6985
  /**
6832
- * For more information about access configurations, see [Overview of access configurations](~~266737~~).
6833
- * This topic provides an example on how to create an access configuration named `ECS-Admin`.
6834
- *
6835
- * @param request CreateAccessConfigurationRequest
6836
- * @param runtime runtime options for this request RuntimeOptions
6837
- * @return CreateAccessConfigurationResponse
6986
+ * Creates an access configuration.
6987
+ *
6988
+ * @remarks
6989
+ * For more information about access configurations, see [Overview of access configurations](https://help.aliyun.com/document_detail/266737.html).
6990
+ * This topic provides an example on how to create an access configuration named `ECS-Admin`.
6991
+ *
6992
+ * @param request - CreateAccessConfigurationRequest
6993
+ * @param runtime - runtime options for this request RuntimeOptions
6994
+ * @returns CreateAccessConfigurationResponse
6838
6995
  */
6839
6996
  async createAccessConfigurationWithOptions(request, runtime) {
6840
6997
  tea_util_1.default.validateModel(request);
@@ -6871,27 +7028,33 @@ class Client extends openapi_client_1.default {
6871
7028
  return $tea.cast(await this.callApi(params, req, runtime), new CreateAccessConfigurationResponse({}));
6872
7029
  }
6873
7030
  /**
6874
- * For more information about access configurations, see [Overview of access configurations](~~266737~~).
6875
- * This topic provides an example on how to create an access configuration named `ECS-Admin`.
6876
- *
6877
- * @param request CreateAccessConfigurationRequest
6878
- * @return CreateAccessConfigurationResponse
7031
+ * Creates an access configuration.
7032
+ *
7033
+ * @remarks
7034
+ * For more information about access configurations, see [Overview of access configurations](https://help.aliyun.com/document_detail/266737.html).
7035
+ * This topic provides an example on how to create an access configuration named `ECS-Admin`.
7036
+ *
7037
+ * @param request - CreateAccessConfigurationRequest
7038
+ * @returns CreateAccessConfigurationResponse
6879
7039
  */
6880
7040
  async createAccessConfiguration(request) {
6881
7041
  let runtime = new $Util.RuntimeOptions({});
6882
7042
  return await this.createAccessConfigurationWithOptions(request, runtime);
6883
7043
  }
6884
7044
  /**
6885
- * A directory is a CloudSSO instance. Before you can use CloudSSO, you must create a directory. The directory is used to manage all CloudSSO resources.
6886
- * To create a directory, you must select a region. Alibaba Cloud stores data in the directory only in the region that you select. However, you can deploy Alibaba Cloud resources including Elastic Compute Service (ECS) instances and ApsaraDB RDS instances in other regions. You can also use your cloud account for logons and access the Alibaba Cloud resources in other regions. You can select a region to create a directory based on your security compliance requirements and the geographic location of specific users. If you do not have strict security compliance requirements, we recommend that you select a region that is the closest to the geographical location of the specific users. This way, access to cloud resources is accelerated. You can create the CloudSSO directory in the China (Shanghai), China (Hong Kong), US (Silicon Valley), or Germany (Frankfurt) region.
6887
- * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
6888
- * ## Limits
6889
- * - You can create only one directory for a management account.
6890
- * - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
6891
- *
6892
- * @param request CreateDirectoryRequest
6893
- * @param runtime runtime options for this request RuntimeOptions
6894
- * @return CreateDirectoryResponse
7045
+ * Creates a directory.
7046
+ *
7047
+ * @remarks
7048
+ * A directory is a CloudSSO instance. Before you can use CloudSSO, you must create a directory. The directory is used to manage all CloudSSO resources.
7049
+ * To create a directory, you must select a region. Alibaba Cloud stores data in the directory only in the region that you select. However, you can deploy Alibaba Cloud resources including Elastic Compute Service (ECS) instances and ApsaraDB RDS instances in other regions. You can also use your cloud account for logons and access the Alibaba Cloud resources in other regions. You can select a region to create a directory based on your security compliance requirements and the geographic location of specific users. If you do not have strict security compliance requirements, we recommend that you select a region that is the closest to the geographical location of the specific users. This way, access to cloud resources is accelerated. You can create the CloudSSO directory in the China (Shanghai), China (Hong Kong), US (Silicon Valley), or Germany (Frankfurt) region.
7050
+ * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
7051
+ * ## Limits
7052
+ * - You can create only one directory for a management account.
7053
+ * - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
7054
+ *
7055
+ * @param request - CreateDirectoryRequest
7056
+ * @param runtime - runtime options for this request RuntimeOptions
7057
+ * @returns CreateDirectoryResponse
6895
7058
  */
6896
7059
  async createDirectoryWithOptions(request, runtime) {
6897
7060
  tea_util_1.default.validateModel(request);
@@ -6916,26 +7079,32 @@ class Client extends openapi_client_1.default {
6916
7079
  return $tea.cast(await this.callApi(params, req, runtime), new CreateDirectoryResponse({}));
6917
7080
  }
6918
7081
  /**
6919
- * A directory is a CloudSSO instance. Before you can use CloudSSO, you must create a directory. The directory is used to manage all CloudSSO resources.
6920
- * To create a directory, you must select a region. Alibaba Cloud stores data in the directory only in the region that you select. However, you can deploy Alibaba Cloud resources including Elastic Compute Service (ECS) instances and ApsaraDB RDS instances in other regions. You can also use your cloud account for logons and access the Alibaba Cloud resources in other regions. You can select a region to create a directory based on your security compliance requirements and the geographic location of specific users. If you do not have strict security compliance requirements, we recommend that you select a region that is the closest to the geographical location of the specific users. This way, access to cloud resources is accelerated. You can create the CloudSSO directory in the China (Shanghai), China (Hong Kong), US (Silicon Valley), or Germany (Frankfurt) region.
6921
- * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
6922
- * ## Limits
6923
- * - You can create only one directory for a management account.
6924
- * - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
6925
- *
6926
- * @param request CreateDirectoryRequest
6927
- * @return CreateDirectoryResponse
7082
+ * Creates a directory.
7083
+ *
7084
+ * @remarks
7085
+ * A directory is a CloudSSO instance. Before you can use CloudSSO, you must create a directory. The directory is used to manage all CloudSSO resources.
7086
+ * To create a directory, you must select a region. Alibaba Cloud stores data in the directory only in the region that you select. However, you can deploy Alibaba Cloud resources including Elastic Compute Service (ECS) instances and ApsaraDB RDS instances in other regions. You can also use your cloud account for logons and access the Alibaba Cloud resources in other regions. You can select a region to create a directory based on your security compliance requirements and the geographic location of specific users. If you do not have strict security compliance requirements, we recommend that you select a region that is the closest to the geographical location of the specific users. This way, access to cloud resources is accelerated. You can create the CloudSSO directory in the China (Shanghai), China (Hong Kong), US (Silicon Valley), or Germany (Frankfurt) region.
7087
+ * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
7088
+ * ## Limits
7089
+ * - You can create only one directory for a management account.
7090
+ * - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
7091
+ *
7092
+ * @param request - CreateDirectoryRequest
7093
+ * @returns CreateDirectoryResponse
6928
7094
  */
6929
7095
  async createDirectory(request) {
6930
7096
  let runtime = new $Util.RuntimeOptions({});
6931
7097
  return await this.createDirectoryWithOptions(request, runtime);
6932
7098
  }
6933
7099
  /**
6934
- * This topic provides an example on how to create a group named `TestGroup`.
6935
- *
6936
- * @param request CreateGroupRequest
6937
- * @param runtime runtime options for this request RuntimeOptions
6938
- * @return CreateGroupResponse
7100
+ * Creates a group.
7101
+ *
7102
+ * @remarks
7103
+ * This topic provides an example on how to create a group named `TestGroup`.
7104
+ *
7105
+ * @param request - CreateGroupRequest
7106
+ * @param runtime - runtime options for this request RuntimeOptions
7107
+ * @returns CreateGroupResponse
6939
7108
  */
6940
7109
  async createGroupWithOptions(request, runtime) {
6941
7110
  tea_util_1.default.validateModel(request);
@@ -6966,22 +7135,28 @@ class Client extends openapi_client_1.default {
6966
7135
  return $tea.cast(await this.callApi(params, req, runtime), new CreateGroupResponse({}));
6967
7136
  }
6968
7137
  /**
6969
- * This topic provides an example on how to create a group named `TestGroup`.
6970
- *
6971
- * @param request CreateGroupRequest
6972
- * @return CreateGroupResponse
7138
+ * Creates a group.
7139
+ *
7140
+ * @remarks
7141
+ * This topic provides an example on how to create a group named `TestGroup`.
7142
+ *
7143
+ * @param request - CreateGroupRequest
7144
+ * @returns CreateGroupResponse
6973
7145
  */
6974
7146
  async createGroup(request) {
6975
7147
  let runtime = new $Util.RuntimeOptions({});
6976
7148
  return await this.createGroupWithOptions(request, runtime);
6977
7149
  }
6978
7150
  /**
6979
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
6980
- * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
6981
- *
6982
- * @param request CreateSCIMServerCredentialRequest
6983
- * @param runtime runtime options for this request RuntimeOptions
6984
- * @return CreateSCIMServerCredentialResponse
7151
+ * Creates a Cross-domain Identity Management (SCIM) credential.
7152
+ *
7153
+ * @remarks
7154
+ * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
7155
+ * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
7156
+ *
7157
+ * @param request - CreateSCIMServerCredentialRequest
7158
+ * @param runtime - runtime options for this request RuntimeOptions
7159
+ * @returns CreateSCIMServerCredentialResponse
6985
7160
  */
6986
7161
  async createSCIMServerCredentialWithOptions(request, runtime) {
6987
7162
  tea_util_1.default.validateModel(request);
@@ -7006,22 +7181,28 @@ class Client extends openapi_client_1.default {
7006
7181
  return $tea.cast(await this.callApi(params, req, runtime), new CreateSCIMServerCredentialResponse({}));
7007
7182
  }
7008
7183
  /**
7009
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
7010
- * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
7011
- *
7012
- * @param request CreateSCIMServerCredentialRequest
7013
- * @return CreateSCIMServerCredentialResponse
7184
+ * Creates a Cross-domain Identity Management (SCIM) credential.
7185
+ *
7186
+ * @remarks
7187
+ * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
7188
+ * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
7189
+ *
7190
+ * @param request - CreateSCIMServerCredentialRequest
7191
+ * @returns CreateSCIMServerCredentialResponse
7014
7192
  */
7015
7193
  async createSCIMServerCredential(request) {
7016
7194
  let runtime = new $Util.RuntimeOptions({});
7017
7195
  return await this.createSCIMServerCredentialWithOptions(request, runtime);
7018
7196
  }
7019
7197
  /**
7020
- * This topic provides an example on how to create a user named `Alice`.
7021
- *
7022
- * @param request CreateUserRequest
7023
- * @param runtime runtime options for this request RuntimeOptions
7024
- * @return CreateUserResponse
7198
+ * Creates a user.
7199
+ *
7200
+ * @remarks
7201
+ * This topic provides an example on how to create a user named `Alice`.
7202
+ *
7203
+ * @param request - CreateUserRequest
7204
+ * @param runtime - runtime options for this request RuntimeOptions
7205
+ * @returns CreateUserResponse
7025
7206
  */
7026
7207
  async createUserWithOptions(request, runtime) {
7027
7208
  tea_util_1.default.validateModel(request);
@@ -7067,15 +7248,28 @@ class Client extends openapi_client_1.default {
7067
7248
  return $tea.cast(await this.callApi(params, req, runtime), new CreateUserResponse({}));
7068
7249
  }
7069
7250
  /**
7070
- * This topic provides an example on how to create a user named `Alice`.
7071
- *
7072
- * @param request CreateUserRequest
7073
- * @return CreateUserResponse
7251
+ * Creates a user.
7252
+ *
7253
+ * @remarks
7254
+ * This topic provides an example on how to create a user named `Alice`.
7255
+ *
7256
+ * @param request - CreateUserRequest
7257
+ * @returns CreateUserResponse
7074
7258
  */
7075
7259
  async createUser(request) {
7076
7260
  let runtime = new $Util.RuntimeOptions({});
7077
7261
  return await this.createUserWithOptions(request, runtime);
7078
7262
  }
7263
+ /**
7264
+ * Creates a Resource Access Management (RAM) user provisioning.
7265
+ *
7266
+ * @remarks
7267
+ * You can create a RAM user provisioning for a member in your resource directory to create a RAM user that has the same username as a CloudSSO user. This way, the CloudSSO user can access the resources of the member as the RAM user.
7268
+ *
7269
+ * @param request - CreateUserProvisioningRequest
7270
+ * @param runtime - runtime options for this request RuntimeOptions
7271
+ * @returns CreateUserProvisioningResponse
7272
+ */
7079
7273
  async createUserProvisioningWithOptions(request, runtime) {
7080
7274
  tea_util_1.default.validateModel(request);
7081
7275
  let query = {};
@@ -7119,17 +7313,29 @@ class Client extends openapi_client_1.default {
7119
7313
  });
7120
7314
  return $tea.cast(await this.callApi(params, req, runtime), new CreateUserProvisioningResponse({}));
7121
7315
  }
7316
+ /**
7317
+ * Creates a Resource Access Management (RAM) user provisioning.
7318
+ *
7319
+ * @remarks
7320
+ * You can create a RAM user provisioning for a member in your resource directory to create a RAM user that has the same username as a CloudSSO user. This way, the CloudSSO user can access the resources of the member as the RAM user.
7321
+ *
7322
+ * @param request - CreateUserProvisioningRequest
7323
+ * @returns CreateUserProvisioningResponse
7324
+ */
7122
7325
  async createUserProvisioning(request) {
7123
7326
  let runtime = new $Util.RuntimeOptions({});
7124
7327
  return await this.createUserProvisioningWithOptions(request, runtime);
7125
7328
  }
7126
7329
  /**
7127
- * 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.
7128
- * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
7129
- *
7130
- * @param request DeleteAccessAssignmentRequest
7131
- * @param runtime runtime options for this request RuntimeOptions
7132
- * @return DeleteAccessAssignmentResponse
7330
+ * Removes the access permissions on an account in a resource directory.
7331
+ *
7332
+ * @remarks
7333
+ * When you call this operation, an asynchronous task is created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
7334
+ * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
7335
+ *
7336
+ * @param request - DeleteAccessAssignmentRequest
7337
+ * @param runtime - runtime options for this request RuntimeOptions
7338
+ * @returns DeleteAccessAssignmentResponse
7133
7339
  */
7134
7340
  async deleteAccessAssignmentWithOptions(request, runtime) {
7135
7341
  tea_util_1.default.validateModel(request);
@@ -7172,24 +7378,30 @@ class Client extends openapi_client_1.default {
7172
7378
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccessAssignmentResponse({}));
7173
7379
  }
7174
7380
  /**
7175
- * 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.
7176
- * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
7177
- *
7178
- * @param request DeleteAccessAssignmentRequest
7179
- * @return DeleteAccessAssignmentResponse
7381
+ * Removes the access permissions on an account in a resource directory.
7382
+ *
7383
+ * @remarks
7384
+ * When you call this operation, an asynchronous task is created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
7385
+ * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
7386
+ *
7387
+ * @param request - DeleteAccessAssignmentRequest
7388
+ * @returns DeleteAccessAssignmentResponse
7180
7389
  */
7181
7390
  async deleteAccessAssignment(request) {
7182
7391
  let runtime = new $Util.RuntimeOptions({});
7183
7392
  return await this.deleteAccessAssignmentWithOptions(request, runtime);
7184
7393
  }
7185
7394
  /**
7186
- * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
7187
- * ## Prerequisites
7188
- * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](~~338352~~).
7189
- *
7190
- * @param request DeleteAccessConfigurationRequest
7191
- * @param runtime runtime options for this request RuntimeOptions
7192
- * @return DeleteAccessConfigurationResponse
7395
+ * Deletes an access configuration.
7396
+ *
7397
+ * @remarks
7398
+ * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
7399
+ * ## Prerequisites
7400
+ * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](https://help.aliyun.com/document_detail/338352.html).
7401
+ *
7402
+ * @param request - DeleteAccessConfigurationRequest
7403
+ * @param runtime - runtime options for this request RuntimeOptions
7404
+ * @returns DeleteAccessConfigurationResponse
7193
7405
  */
7194
7406
  async deleteAccessConfigurationWithOptions(request, runtime) {
7195
7407
  tea_util_1.default.validateModel(request);
@@ -7220,31 +7432,37 @@ class Client extends openapi_client_1.default {
7220
7432
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccessConfigurationResponse({}));
7221
7433
  }
7222
7434
  /**
7223
- * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
7224
- * ## Prerequisites
7225
- * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](~~338352~~).
7226
- *
7227
- * @param request DeleteAccessConfigurationRequest
7228
- * @return DeleteAccessConfigurationResponse
7435
+ * Deletes an access configuration.
7436
+ *
7437
+ * @remarks
7438
+ * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
7439
+ * ## Prerequisites
7440
+ * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](https://help.aliyun.com/document_detail/338352.html).
7441
+ *
7442
+ * @param request - DeleteAccessConfigurationRequest
7443
+ * @returns DeleteAccessConfigurationResponse
7229
7444
  */
7230
7445
  async deleteAccessConfiguration(request) {
7231
7446
  let runtime = new $Util.RuntimeOptions({});
7232
7447
  return await this.deleteAccessConfigurationWithOptions(request, runtime);
7233
7448
  }
7234
7449
  /**
7235
- * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
7236
- * ## Prerequisites
7237
- * No resources are contained in the directory that you want to delete.
7238
- * * Access permissions on the accounts in your resource directory are removed from all users and groups. For more information, see [DeleteAccessAssignment](~~338350~~).
7239
- * * Users are deleted. For more information, see [DeleteUser](~~341671~~).
7240
- * * Groups are deleted. For more information, see [DeleteGroup](~~341821~~).
7241
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
7242
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
7243
- * * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](~~341573~~).
7244
- *
7245
- * @param request DeleteDirectoryRequest
7246
- * @param runtime runtime options for this request RuntimeOptions
7247
- * @return DeleteDirectoryResponse
7450
+ * Deletes a directory.
7451
+ *
7452
+ * @remarks
7453
+ * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
7454
+ * ## Prerequisites
7455
+ * No resources are contained in the directory that you want to delete.
7456
+ * * Access permissions on the accounts in your resource directory are removed from all users and groups. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
7457
+ * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
7458
+ * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
7459
+ * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
7460
+ * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
7461
+ * * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
7462
+ *
7463
+ * @param request - DeleteDirectoryRequest
7464
+ * @param runtime - runtime options for this request RuntimeOptions
7465
+ * @returns DeleteDirectoryResponse
7248
7466
  */
7249
7467
  async deleteDirectoryWithOptions(request, runtime) {
7250
7468
  tea_util_1.default.validateModel(request);
@@ -7269,33 +7487,39 @@ class Client extends openapi_client_1.default {
7269
7487
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteDirectoryResponse({}));
7270
7488
  }
7271
7489
  /**
7272
- * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
7273
- * ## Prerequisites
7274
- * No resources are contained in the directory that you want to delete.
7275
- * * Access permissions on the accounts in your resource directory are removed from all users and groups. For more information, see [DeleteAccessAssignment](~~338350~~).
7276
- * * Users are deleted. For more information, see [DeleteUser](~~341671~~).
7277
- * * Groups are deleted. For more information, see [DeleteGroup](~~341821~~).
7278
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
7279
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
7280
- * * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](~~341573~~).
7281
- *
7282
- * @param request DeleteDirectoryRequest
7283
- * @return DeleteDirectoryResponse
7490
+ * Deletes a directory.
7491
+ *
7492
+ * @remarks
7493
+ * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
7494
+ * ## Prerequisites
7495
+ * No resources are contained in the directory that you want to delete.
7496
+ * * Access permissions on the accounts in your resource directory are removed from all users and groups. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
7497
+ * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
7498
+ * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
7499
+ * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
7500
+ * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
7501
+ * * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
7502
+ *
7503
+ * @param request - DeleteDirectoryRequest
7504
+ * @returns DeleteDirectoryResponse
7284
7505
  */
7285
7506
  async deleteDirectory(request) {
7286
7507
  let runtime = new $Util.RuntimeOptions({});
7287
7508
  return await this.deleteDirectoryWithOptions(request, runtime);
7288
7509
  }
7289
7510
  /**
7290
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
7291
- * ## Prerequisites
7292
- * The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
7293
- * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
7294
- * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](~~338350~~).
7295
- *
7296
- * @param request DeleteGroupRequest
7297
- * @param runtime runtime options for this request RuntimeOptions
7298
- * @return DeleteGroupResponse
7511
+ * Deletes a group.
7512
+ *
7513
+ * @remarks
7514
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
7515
+ * ## Prerequisites
7516
+ * The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
7517
+ * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
7518
+ * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
7519
+ *
7520
+ * @param request - DeleteGroupRequest
7521
+ * @param runtime - runtime options for this request RuntimeOptions
7522
+ * @returns DeleteGroupResponse
7299
7523
  */
7300
7524
  async deleteGroupWithOptions(request, runtime) {
7301
7525
  tea_util_1.default.validateModel(request);
@@ -7323,25 +7547,31 @@ class Client extends openapi_client_1.default {
7323
7547
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteGroupResponse({}));
7324
7548
  }
7325
7549
  /**
7326
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
7327
- * ## Prerequisites
7328
- * The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
7329
- * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
7330
- * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](~~338350~~).
7331
- *
7332
- * @param request DeleteGroupRequest
7333
- * @return DeleteGroupResponse
7550
+ * Deletes a group.
7551
+ *
7552
+ * @remarks
7553
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
7554
+ * ## Prerequisites
7555
+ * The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
7556
+ * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
7557
+ * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
7558
+ *
7559
+ * @param request - DeleteGroupRequest
7560
+ * @returns DeleteGroupResponse
7334
7561
  */
7335
7562
  async deleteGroup(request) {
7336
7563
  let runtime = new $Util.RuntimeOptions({});
7337
7564
  return await this.deleteGroupWithOptions(request, runtime);
7338
7565
  }
7339
7566
  /**
7340
- * This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
7341
- *
7342
- * @param request DeleteMFADeviceForUserRequest
7343
- * @param runtime runtime options for this request RuntimeOptions
7344
- * @return DeleteMFADeviceForUserResponse
7567
+ * Unbinds a multi-factor authentication (MFA) device from a user.
7568
+ *
7569
+ * @remarks
7570
+ * This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
7571
+ *
7572
+ * @param request - DeleteMFADeviceForUserRequest
7573
+ * @param runtime - runtime options for this request RuntimeOptions
7574
+ * @returns DeleteMFADeviceForUserResponse
7345
7575
  */
7346
7576
  async deleteMFADeviceForUserWithOptions(request, runtime) {
7347
7577
  tea_util_1.default.validateModel(request);
@@ -7372,22 +7602,28 @@ class Client extends openapi_client_1.default {
7372
7602
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteMFADeviceForUserResponse({}));
7373
7603
  }
7374
7604
  /**
7375
- * This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
7376
- *
7377
- * @param request DeleteMFADeviceForUserRequest
7378
- * @return DeleteMFADeviceForUserResponse
7605
+ * Unbinds a multi-factor authentication (MFA) device from a user.
7606
+ *
7607
+ * @remarks
7608
+ * This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
7609
+ *
7610
+ * @param request - DeleteMFADeviceForUserRequest
7611
+ * @returns DeleteMFADeviceForUserResponse
7379
7612
  */
7380
7613
  async deleteMFADeviceForUser(request) {
7381
7614
  let runtime = new $Util.RuntimeOptions({});
7382
7615
  return await this.deleteMFADeviceForUserWithOptions(request, runtime);
7383
7616
  }
7384
7617
  /**
7385
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
7386
- * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
7387
- *
7388
- * @param request DeleteSCIMServerCredentialRequest
7389
- * @param runtime runtime options for this request RuntimeOptions
7390
- * @return DeleteSCIMServerCredentialResponse
7618
+ * Deletes a Cross-domain Identity Management (SCIM) credential.
7619
+ *
7620
+ * @remarks
7621
+ * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
7622
+ * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
7623
+ *
7624
+ * @param request - DeleteSCIMServerCredentialRequest
7625
+ * @param runtime - runtime options for this request RuntimeOptions
7626
+ * @returns DeleteSCIMServerCredentialResponse
7391
7627
  */
7392
7628
  async deleteSCIMServerCredentialWithOptions(request, runtime) {
7393
7629
  tea_util_1.default.validateModel(request);
@@ -7415,27 +7651,33 @@ class Client extends openapi_client_1.default {
7415
7651
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteSCIMServerCredentialResponse({}));
7416
7652
  }
7417
7653
  /**
7418
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
7419
- * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
7420
- *
7421
- * @param request DeleteSCIMServerCredentialRequest
7422
- * @return DeleteSCIMServerCredentialResponse
7654
+ * Deletes a Cross-domain Identity Management (SCIM) credential.
7655
+ *
7656
+ * @remarks
7657
+ * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
7658
+ * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
7659
+ *
7660
+ * @param request - DeleteSCIMServerCredentialRequest
7661
+ * @returns DeleteSCIMServerCredentialResponse
7423
7662
  */
7424
7663
  async deleteSCIMServerCredential(request) {
7425
7664
  let runtime = new $Util.RuntimeOptions({});
7426
7665
  return await this.deleteSCIMServerCredentialWithOptions(request, runtime);
7427
7666
  }
7428
7667
  /**
7429
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
7430
- * ## Prerequisites
7431
- * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
7432
- * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
7433
- * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
7434
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
7435
- *
7436
- * @param request DeleteUserRequest
7437
- * @param runtime runtime options for this request RuntimeOptions
7438
- * @return DeleteUserResponse
7668
+ * Deletes a user.
7669
+ *
7670
+ * @remarks
7671
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
7672
+ * ## Prerequisites
7673
+ * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
7674
+ * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](https://help.aliyun.com/document_detail/341675.html).
7675
+ * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
7676
+ * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
7677
+ *
7678
+ * @param request - DeleteUserRequest
7679
+ * @param runtime - runtime options for this request RuntimeOptions
7680
+ * @returns DeleteUserResponse
7439
7681
  */
7440
7682
  async deleteUserWithOptions(request, runtime) {
7441
7683
  tea_util_1.default.validateModel(request);
@@ -7463,20 +7705,30 @@ class Client extends openapi_client_1.default {
7463
7705
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserResponse({}));
7464
7706
  }
7465
7707
  /**
7466
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
7467
- * ## Prerequisites
7468
- * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
7469
- * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
7470
- * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
7471
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
7472
- *
7473
- * @param request DeleteUserRequest
7474
- * @return DeleteUserResponse
7708
+ * Deletes a user.
7709
+ *
7710
+ * @remarks
7711
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
7712
+ * ## Prerequisites
7713
+ * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
7714
+ * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](https://help.aliyun.com/document_detail/341675.html).
7715
+ * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
7716
+ * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
7717
+ *
7718
+ * @param request - DeleteUserRequest
7719
+ * @returns DeleteUserResponse
7475
7720
  */
7476
7721
  async deleteUser(request) {
7477
7722
  let runtime = new $Util.RuntimeOptions({});
7478
7723
  return await this.deleteUserWithOptions(request, runtime);
7479
7724
  }
7725
+ /**
7726
+ * Deletes a Resource Access Management (RAM) user provisioning.
7727
+ *
7728
+ * @param request - DeleteUserProvisioningRequest
7729
+ * @param runtime - runtime options for this request RuntimeOptions
7730
+ * @returns DeleteUserProvisioningResponse
7731
+ */
7480
7732
  async deleteUserProvisioningWithOptions(request, runtime) {
7481
7733
  tea_util_1.default.validateModel(request);
7482
7734
  let query = {};
@@ -7505,10 +7757,23 @@ class Client extends openapi_client_1.default {
7505
7757
  });
7506
7758
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserProvisioningResponse({}));
7507
7759
  }
7760
+ /**
7761
+ * Deletes a Resource Access Management (RAM) user provisioning.
7762
+ *
7763
+ * @param request - DeleteUserProvisioningRequest
7764
+ * @returns DeleteUserProvisioningResponse
7765
+ */
7508
7766
  async deleteUserProvisioning(request) {
7509
7767
  let runtime = new $Util.RuntimeOptions({});
7510
7768
  return await this.deleteUserProvisioningWithOptions(request, runtime);
7511
7769
  }
7770
+ /**
7771
+ * Deletes a Resource Access Management (RAM) user provisioning event.
7772
+ *
7773
+ * @param request - DeleteUserProvisioningEventRequest
7774
+ * @param runtime - runtime options for this request RuntimeOptions
7775
+ * @returns DeleteUserProvisioningEventResponse
7776
+ */
7512
7777
  async deleteUserProvisioningEventWithOptions(request, runtime) {
7513
7778
  tea_util_1.default.validateModel(request);
7514
7779
  let query = {};
@@ -7537,17 +7802,26 @@ class Client extends openapi_client_1.default {
7537
7802
  });
7538
7803
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserProvisioningEventResponse({}));
7539
7804
  }
7805
+ /**
7806
+ * Deletes a Resource Access Management (RAM) user provisioning event.
7807
+ *
7808
+ * @param request - DeleteUserProvisioningEventRequest
7809
+ * @returns DeleteUserProvisioningEventResponse
7810
+ */
7540
7811
  async deleteUserProvisioningEvent(request) {
7541
7812
  let runtime = new $Util.RuntimeOptions({});
7542
7813
  return await this.deleteUserProvisioningEventWithOptions(request, runtime);
7543
7814
  }
7544
7815
  /**
7545
- * 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.
7546
- * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
7547
- *
7548
- * @param request DeprovisionAccessConfigurationRequest
7549
- * @param runtime runtime options for this request RuntimeOptions
7550
- * @return DeprovisionAccessConfigurationResponse
7816
+ * De-provisions an access configuration from an account in your resource directory.
7817
+ *
7818
+ * @remarks
7819
+ * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
7820
+ * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
7821
+ *
7822
+ * @param request - DeprovisionAccessConfigurationRequest
7823
+ * @param runtime - runtime options for this request RuntimeOptions
7824
+ * @returns DeprovisionAccessConfigurationResponse
7551
7825
  */
7552
7826
  async deprovisionAccessConfigurationWithOptions(request, runtime) {
7553
7827
  tea_util_1.default.validateModel(request);
@@ -7581,22 +7855,67 @@ class Client extends openapi_client_1.default {
7581
7855
  return $tea.cast(await this.callApi(params, req, runtime), new DeprovisionAccessConfigurationResponse({}));
7582
7856
  }
7583
7857
  /**
7584
- * 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.
7585
- * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
7586
- *
7587
- * @param request DeprovisionAccessConfigurationRequest
7588
- * @return DeprovisionAccessConfigurationResponse
7858
+ * De-provisions an access configuration from an account in your resource directory.
7859
+ *
7860
+ * @remarks
7861
+ * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
7862
+ * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
7863
+ *
7864
+ * @param request - DeprovisionAccessConfigurationRequest
7865
+ * @returns DeprovisionAccessConfigurationResponse
7589
7866
  */
7590
7867
  async deprovisionAccessConfiguration(request) {
7591
7868
  let runtime = new $Util.RuntimeOptions({});
7592
7869
  return await this.deprovisionAccessConfigurationWithOptions(request, runtime);
7593
7870
  }
7594
7871
  /**
7595
- * If your CloudSSO has no directory, you can disable CloudSSO based on your business requirements. After you disable CloudSSO, you can enable it at any time.
7596
- *
7597
- * @param request DisableServiceRequest
7598
- * @param runtime runtime options for this request RuntimeOptions
7599
- * @return DisableServiceResponse
7872
+ * Disables the delegated administrator account of CloudSSO.
7873
+ *
7874
+ * @param request - DisableDelegateAccountRequest
7875
+ * @param runtime - runtime options for this request RuntimeOptions
7876
+ * @returns DisableDelegateAccountResponse
7877
+ */
7878
+ async disableDelegateAccountWithOptions(request, runtime) {
7879
+ tea_util_1.default.validateModel(request);
7880
+ let query = {};
7881
+ if (!tea_util_1.default.isUnset(request.accountId)) {
7882
+ query["AccountId"] = request.accountId;
7883
+ }
7884
+ let req = new $OpenApi.OpenApiRequest({
7885
+ query: openapi_util_1.default.query(query),
7886
+ });
7887
+ let params = new $OpenApi.Params({
7888
+ action: "DisableDelegateAccount",
7889
+ version: "2021-05-15",
7890
+ protocol: "HTTPS",
7891
+ pathname: "/",
7892
+ method: "POST",
7893
+ authType: "AK",
7894
+ style: "RPC",
7895
+ reqBodyType: "formData",
7896
+ bodyType: "json",
7897
+ });
7898
+ return $tea.cast(await this.callApi(params, req, runtime), new DisableDelegateAccountResponse({}));
7899
+ }
7900
+ /**
7901
+ * Disables the delegated administrator account of CloudSSO.
7902
+ *
7903
+ * @param request - DisableDelegateAccountRequest
7904
+ * @returns DisableDelegateAccountResponse
7905
+ */
7906
+ async disableDelegateAccount(request) {
7907
+ let runtime = new $Util.RuntimeOptions({});
7908
+ return await this.disableDelegateAccountWithOptions(request, runtime);
7909
+ }
7910
+ /**
7911
+ * Disables CloudSSO.
7912
+ *
7913
+ * @remarks
7914
+ * If your CloudSSO has no directory, you can disable CloudSSO based on your business requirements. After you disable CloudSSO, you can enable it at any time.
7915
+ *
7916
+ * @param request - DisableServiceRequest
7917
+ * @param runtime - runtime options for this request RuntimeOptions
7918
+ * @returns DisableServiceResponse
7600
7919
  */
7601
7920
  async disableServiceWithOptions(runtime) {
7602
7921
  let req = new $OpenApi.OpenApiRequest({});
@@ -7614,21 +7933,73 @@ class Client extends openapi_client_1.default {
7614
7933
  return $tea.cast(await this.callApi(params, req, runtime), new DisableServiceResponse({}));
7615
7934
  }
7616
7935
  /**
7617
- * If your CloudSSO has no directory, you can disable CloudSSO based on your business requirements. After you disable CloudSSO, you can enable it at any time.
7618
- *
7619
- * @return DisableServiceResponse
7936
+ * Disables CloudSSO.
7937
+ *
7938
+ * @remarks
7939
+ * If your CloudSSO has no directory, you can disable CloudSSO based on your business requirements. After you disable CloudSSO, you can enable it at any time.
7940
+ * @returns DisableServiceResponse
7620
7941
  */
7621
7942
  async disableService() {
7622
7943
  let runtime = new $Util.RuntimeOptions({});
7623
7944
  return await this.disableServiceWithOptions(runtime);
7624
7945
  }
7625
7946
  /**
7626
- * You can call this operation only if your account belongs to the management account that is used to enable a resource directory and has permissions to enable CloudSSO. For more information, see [Enable CloudSSO](~~262819~~).
7627
- * If you call this operation, you agree to the [Alibaba Cloud International Website Product Terms of Service](https://www.alibabacloud.com/help/doc-detail/42416.htm).
7628
- *
7629
- * @param request EnableServiceRequest
7630
- * @param runtime runtime options for this request RuntimeOptions
7631
- * @return EnableServiceResponse
7947
+ * Enables the delegated administrator account of CloudSSO.
7948
+ *
7949
+ * @remarks
7950
+ * You can use the management account of a resource directory to specify a member of the resource directory as the delegated administrator account of CloudSSO. For more information, see [Add a delegated administrator account](https://help.aliyun.com/document_detail/208117.html).
7951
+ * After the delegated administrator account of CloudSSO is specified, you can call this operation to enable the delegated administrator account of CloudSSO to manage CloudSSO resources.
7952
+ *
7953
+ * @param request - EnableDelegateAccountRequest
7954
+ * @param runtime - runtime options for this request RuntimeOptions
7955
+ * @returns EnableDelegateAccountResponse
7956
+ */
7957
+ async enableDelegateAccountWithOptions(request, runtime) {
7958
+ tea_util_1.default.validateModel(request);
7959
+ let query = {};
7960
+ if (!tea_util_1.default.isUnset(request.accountId)) {
7961
+ query["AccountId"] = request.accountId;
7962
+ }
7963
+ let req = new $OpenApi.OpenApiRequest({
7964
+ query: openapi_util_1.default.query(query),
7965
+ });
7966
+ let params = new $OpenApi.Params({
7967
+ action: "EnableDelegateAccount",
7968
+ version: "2021-05-15",
7969
+ protocol: "HTTPS",
7970
+ pathname: "/",
7971
+ method: "POST",
7972
+ authType: "AK",
7973
+ style: "RPC",
7974
+ reqBodyType: "formData",
7975
+ bodyType: "json",
7976
+ });
7977
+ return $tea.cast(await this.callApi(params, req, runtime), new EnableDelegateAccountResponse({}));
7978
+ }
7979
+ /**
7980
+ * Enables the delegated administrator account of CloudSSO.
7981
+ *
7982
+ * @remarks
7983
+ * You can use the management account of a resource directory to specify a member of the resource directory as the delegated administrator account of CloudSSO. For more information, see [Add a delegated administrator account](https://help.aliyun.com/document_detail/208117.html).
7984
+ * After the delegated administrator account of CloudSSO is specified, you can call this operation to enable the delegated administrator account of CloudSSO to manage CloudSSO resources.
7985
+ *
7986
+ * @param request - EnableDelegateAccountRequest
7987
+ * @returns EnableDelegateAccountResponse
7988
+ */
7989
+ async enableDelegateAccount(request) {
7990
+ let runtime = new $Util.RuntimeOptions({});
7991
+ return await this.enableDelegateAccountWithOptions(request, runtime);
7992
+ }
7993
+ /**
7994
+ * Enables CloudSSO.
7995
+ *
7996
+ * @remarks
7997
+ * You can call this operation only if your account belongs to the management account that is used to enable a resource directory and has permissions to enable CloudSSO. For more information, see [Enable CloudSSO](https://help.aliyun.com/document_detail/262819.html).
7998
+ * If you call this operation, you agree to the [Alibaba Cloud International Website Product Terms of Service](https://www.alibabacloud.com/help/doc-detail/42416.htm).
7999
+ *
8000
+ * @param request - EnableServiceRequest
8001
+ * @param runtime - runtime options for this request RuntimeOptions
8002
+ * @returns EnableServiceResponse
7632
8003
  */
7633
8004
  async enableServiceWithOptions(runtime) {
7634
8005
  let req = new $OpenApi.OpenApiRequest({});
@@ -7646,21 +8017,26 @@ class Client extends openapi_client_1.default {
7646
8017
  return $tea.cast(await this.callApi(params, req, runtime), new EnableServiceResponse({}));
7647
8018
  }
7648
8019
  /**
7649
- * You can call this operation only if your account belongs to the management account that is used to enable a resource directory and has permissions to enable CloudSSO. For more information, see [Enable CloudSSO](~~262819~~).
7650
- * If you call this operation, you agree to the [Alibaba Cloud International Website Product Terms of Service](https://www.alibabacloud.com/help/doc-detail/42416.htm).
7651
- *
7652
- * @return EnableServiceResponse
8020
+ * Enables CloudSSO.
8021
+ *
8022
+ * @remarks
8023
+ * You can call this operation only if your account belongs to the management account that is used to enable a resource directory and has permissions to enable CloudSSO. For more information, see [Enable CloudSSO](https://help.aliyun.com/document_detail/262819.html).
8024
+ * If you call this operation, you agree to the [Alibaba Cloud International Website Product Terms of Service](https://www.alibabacloud.com/help/doc-detail/42416.htm).
8025
+ * @returns EnableServiceResponse
7653
8026
  */
7654
8027
  async enableService() {
7655
8028
  let runtime = new $Util.RuntimeOptions({});
7656
8029
  return await this.enableServiceWithOptions(runtime);
7657
8030
  }
7658
8031
  /**
7659
- * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
7660
- *
7661
- * @param request GetAccessConfigurationRequest
7662
- * @param runtime runtime options for this request RuntimeOptions
7663
- * @return GetAccessConfigurationResponse
8032
+ * Queries information about an access configuration.
8033
+ *
8034
+ * @remarks
8035
+ * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
8036
+ *
8037
+ * @param request - GetAccessConfigurationRequest
8038
+ * @param runtime - runtime options for this request RuntimeOptions
8039
+ * @returns GetAccessConfigurationResponse
7664
8040
  */
7665
8041
  async getAccessConfigurationWithOptions(request, runtime) {
7666
8042
  tea_util_1.default.validateModel(request);
@@ -7688,21 +8064,27 @@ class Client extends openapi_client_1.default {
7688
8064
  return $tea.cast(await this.callApi(params, req, runtime), new GetAccessConfigurationResponse({}));
7689
8065
  }
7690
8066
  /**
7691
- * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
7692
- *
7693
- * @param request GetAccessConfigurationRequest
7694
- * @return GetAccessConfigurationResponse
8067
+ * Queries information about an access configuration.
8068
+ *
8069
+ * @remarks
8070
+ * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
8071
+ *
8072
+ * @param request - GetAccessConfigurationRequest
8073
+ * @returns GetAccessConfigurationResponse
7695
8074
  */
7696
8075
  async getAccessConfiguration(request) {
7697
8076
  let runtime = new $Util.RuntimeOptions({});
7698
8077
  return await this.getAccessConfigurationWithOptions(request, runtime);
7699
8078
  }
7700
8079
  /**
7701
- * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
7702
- *
7703
- * @param request GetDirectoryRequest
7704
- * @param runtime runtime options for this request RuntimeOptions
7705
- * @return GetDirectoryResponse
8080
+ * Queries information about a directory.
8081
+ *
8082
+ * @remarks
8083
+ * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
8084
+ *
8085
+ * @param request - GetDirectoryRequest
8086
+ * @param runtime - runtime options for this request RuntimeOptions
8087
+ * @returns GetDirectoryResponse
7706
8088
  */
7707
8089
  async getDirectoryWithOptions(request, runtime) {
7708
8090
  tea_util_1.default.validateModel(request);
@@ -7727,22 +8109,28 @@ class Client extends openapi_client_1.default {
7727
8109
  return $tea.cast(await this.callApi(params, req, runtime), new GetDirectoryResponse({}));
7728
8110
  }
7729
8111
  /**
7730
- * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
7731
- *
7732
- * @param request GetDirectoryRequest
7733
- * @return GetDirectoryResponse
8112
+ * Queries information about a directory.
8113
+ *
8114
+ * @remarks
8115
+ * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
8116
+ *
8117
+ * @param request - GetDirectoryRequest
8118
+ * @returns GetDirectoryResponse
7734
8119
  */
7735
8120
  async getDirectory(request) {
7736
8121
  let runtime = new $Util.RuntimeOptions({});
7737
8122
  return await this.getDirectoryWithOptions(request, runtime);
7738
8123
  }
7739
8124
  /**
7740
- * During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an identity provider (IdP).
7741
- * This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
7742
- *
7743
- * @param request GetDirectorySAMLServiceProviderInfoRequest
7744
- * @param runtime runtime options for this request RuntimeOptions
7745
- * @return GetDirectorySAMLServiceProviderInfoResponse
8125
+ * Queries information about a Security Assertion Markup Language (SAML) service provider (SP).
8126
+ *
8127
+ * @remarks
8128
+ * During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an identity provider (IdP).
8129
+ * This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
8130
+ *
8131
+ * @param request - GetDirectorySAMLServiceProviderInfoRequest
8132
+ * @param runtime - runtime options for this request RuntimeOptions
8133
+ * @returns GetDirectorySAMLServiceProviderInfoResponse
7746
8134
  */
7747
8135
  async getDirectorySAMLServiceProviderInfoWithOptions(request, runtime) {
7748
8136
  tea_util_1.default.validateModel(request);
@@ -7767,25 +8155,28 @@ class Client extends openapi_client_1.default {
7767
8155
  return $tea.cast(await this.callApi(params, req, runtime), new GetDirectorySAMLServiceProviderInfoResponse({}));
7768
8156
  }
7769
8157
  /**
7770
- * During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an identity provider (IdP).
7771
- * This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
7772
- *
7773
- * @param request GetDirectorySAMLServiceProviderInfoRequest
7774
- * @return GetDirectorySAMLServiceProviderInfoResponse
8158
+ * Queries information about a Security Assertion Markup Language (SAML) service provider (SP).
8159
+ *
8160
+ * @remarks
8161
+ * During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an identity provider (IdP).
8162
+ * This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
8163
+ *
8164
+ * @param request - GetDirectorySAMLServiceProviderInfoRequest
8165
+ * @returns GetDirectorySAMLServiceProviderInfoResponse
7775
8166
  */
7776
8167
  async getDirectorySAMLServiceProviderInfo(request) {
7777
8168
  let runtime = new $Util.RuntimeOptions({});
7778
8169
  return await this.getDirectorySAMLServiceProviderInfoWithOptions(request, runtime);
7779
8170
  }
7780
8171
  /**
7781
- * ### [](#)
7782
- * This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, quota for system policies that can be configured for an access configuration, number of access permissions that are assigned, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO), and status of SCIM synchronization.
7783
- * ### [](#qps)Limit
7784
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7785
- *
7786
- * @param request GetDirectoryStatisticsRequest
7787
- * @param runtime runtime options for this request RuntimeOptions
7788
- * @return GetDirectoryStatisticsResponse
8172
+ * Queries the statistics of a directory.
8173
+ *
8174
+ * @remarks
8175
+ * This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, number of access permissions that are assigned, number of system policies that can be configured for an access configuration, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO) logon, and status of SCIM synchronization.
8176
+ *
8177
+ * @param request - GetDirectoryStatisticsRequest
8178
+ * @param runtime - runtime options for this request RuntimeOptions
8179
+ * @returns GetDirectoryStatisticsResponse
7789
8180
  */
7790
8181
  async getDirectoryStatisticsWithOptions(request, runtime) {
7791
8182
  tea_util_1.default.validateModel(request);
@@ -7810,24 +8201,27 @@ class Client extends openapi_client_1.default {
7810
8201
  return $tea.cast(await this.callApi(params, req, runtime), new GetDirectoryStatisticsResponse({}));
7811
8202
  }
7812
8203
  /**
7813
- * ### [](#)
7814
- * This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, quota for system policies that can be configured for an access configuration, number of access permissions that are assigned, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO), and status of SCIM synchronization.
7815
- * ### [](#qps)Limit
7816
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
7817
- *
7818
- * @param request GetDirectoryStatisticsRequest
7819
- * @return GetDirectoryStatisticsResponse
8204
+ * Queries the statistics of a directory.
8205
+ *
8206
+ * @remarks
8207
+ * This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, number of access permissions that are assigned, number of system policies that can be configured for an access configuration, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO) logon, and status of SCIM synchronization.
8208
+ *
8209
+ * @param request - GetDirectoryStatisticsRequest
8210
+ * @returns GetDirectoryStatisticsResponse
7820
8211
  */
7821
8212
  async getDirectoryStatistics(request) {
7822
8213
  let runtime = new $Util.RuntimeOptions({});
7823
8214
  return await this.getDirectoryStatisticsWithOptions(request, runtime);
7824
8215
  }
7825
8216
  /**
7826
- * This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
7827
- *
7828
- * @param request GetExternalSAMLIdentityProviderRequest
7829
- * @param runtime runtime options for this request RuntimeOptions
7830
- * @return GetExternalSAMLIdentityProviderResponse
8217
+ * Queries the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
8218
+ *
8219
+ * @remarks
8220
+ * This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
8221
+ *
8222
+ * @param request - GetExternalSAMLIdentityProviderRequest
8223
+ * @param runtime - runtime options for this request RuntimeOptions
8224
+ * @returns GetExternalSAMLIdentityProviderResponse
7831
8225
  */
7832
8226
  async getExternalSAMLIdentityProviderWithOptions(request, runtime) {
7833
8227
  tea_util_1.default.validateModel(request);
@@ -7852,21 +8246,27 @@ class Client extends openapi_client_1.default {
7852
8246
  return $tea.cast(await this.callApi(params, req, runtime), new GetExternalSAMLIdentityProviderResponse({}));
7853
8247
  }
7854
8248
  /**
7855
- * This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
7856
- *
7857
- * @param request GetExternalSAMLIdentityProviderRequest
7858
- * @return GetExternalSAMLIdentityProviderResponse
8249
+ * Queries the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
8250
+ *
8251
+ * @remarks
8252
+ * This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
8253
+ *
8254
+ * @param request - GetExternalSAMLIdentityProviderRequest
8255
+ * @returns GetExternalSAMLIdentityProviderResponse
7859
8256
  */
7860
8257
  async getExternalSAMLIdentityProvider(request) {
7861
8258
  let runtime = new $Util.RuntimeOptions({});
7862
8259
  return await this.getExternalSAMLIdentityProviderWithOptions(request, runtime);
7863
8260
  }
7864
8261
  /**
7865
- * This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
7866
- *
7867
- * @param request GetGroupRequest
7868
- * @param runtime runtime options for this request RuntimeOptions
7869
- * @return GetGroupResponse
8262
+ * Queries information about a group.
8263
+ *
8264
+ * @remarks
8265
+ * This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
8266
+ *
8267
+ * @param request - GetGroupRequest
8268
+ * @param runtime - runtime options for this request RuntimeOptions
8269
+ * @returns GetGroupResponse
7870
8270
  */
7871
8271
  async getGroupWithOptions(request, runtime) {
7872
8272
  tea_util_1.default.validateModel(request);
@@ -7894,15 +8294,25 @@ class Client extends openapi_client_1.default {
7894
8294
  return $tea.cast(await this.callApi(params, req, runtime), new GetGroupResponse({}));
7895
8295
  }
7896
8296
  /**
7897
- * This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
7898
- *
7899
- * @param request GetGroupRequest
7900
- * @return GetGroupResponse
8297
+ * Queries information about a group.
8298
+ *
8299
+ * @remarks
8300
+ * This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
8301
+ *
8302
+ * @param request - GetGroupRequest
8303
+ * @returns GetGroupResponse
7901
8304
  */
7902
8305
  async getGroup(request) {
7903
8306
  let runtime = new $Util.RuntimeOptions({});
7904
8307
  return await this.getGroupWithOptions(request, runtime);
7905
8308
  }
8309
+ /**
8310
+ * Queries the logon preference of CloudSSO users.
8311
+ *
8312
+ * @param request - GetLoginPreferenceRequest
8313
+ * @param runtime - runtime options for this request RuntimeOptions
8314
+ * @returns GetLoginPreferenceResponse
8315
+ */
7906
8316
  async getLoginPreferenceWithOptions(request, runtime) {
7907
8317
  tea_util_1.default.validateModel(request);
7908
8318
  let query = {};
@@ -7925,17 +8335,26 @@ class Client extends openapi_client_1.default {
7925
8335
  });
7926
8336
  return $tea.cast(await this.callApi(params, req, runtime), new GetLoginPreferenceResponse({}));
7927
8337
  }
8338
+ /**
8339
+ * Queries the logon preference of CloudSSO users.
8340
+ *
8341
+ * @param request - GetLoginPreferenceRequest
8342
+ * @returns GetLoginPreferenceResponse
8343
+ */
7928
8344
  async getLoginPreference(request) {
7929
8345
  let runtime = new $Util.RuntimeOptions({});
7930
8346
  return await this.getLoginPreferenceWithOptions(request, runtime);
7931
8347
  }
7932
8348
  /**
7933
- * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
7934
- * This topic provides an example on how to query the MFA setting of all CloudSSO users that belong to the directory named `00q8wbq42wiltcrk****`.
7935
- *
7936
- * @param request GetMFAAuthenticationSettingInfoRequest
7937
- * @param runtime runtime options for this request RuntimeOptions
7938
- * @return GetMFAAuthenticationSettingInfoResponse
8349
+ * Queries the multi-factor authentication (MFA) setting of all users.
8350
+ *
8351
+ * @remarks
8352
+ * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
8353
+ * This topic provides an example on how to query the MFA setting of all CloudSSO users that belong to the directory named `00q8wbq42wiltcrk****`.
8354
+ *
8355
+ * @param request - GetMFAAuthenticationSettingInfoRequest
8356
+ * @param runtime - runtime options for this request RuntimeOptions
8357
+ * @returns GetMFAAuthenticationSettingInfoResponse
7939
8358
  */
7940
8359
  async getMFAAuthenticationSettingInfoWithOptions(request, runtime) {
7941
8360
  tea_util_1.default.validateModel(request);
@@ -7960,23 +8379,29 @@ class Client extends openapi_client_1.default {
7960
8379
  return $tea.cast(await this.callApi(params, req, runtime), new GetMFAAuthenticationSettingInfoResponse({}));
7961
8380
  }
7962
8381
  /**
7963
- * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
7964
- * This topic provides an example on how to query the MFA setting of all CloudSSO users that belong to the directory named `00q8wbq42wiltcrk****`.
7965
- *
7966
- * @param request GetMFAAuthenticationSettingInfoRequest
7967
- * @return GetMFAAuthenticationSettingInfoResponse
8382
+ * Queries the multi-factor authentication (MFA) setting of all users.
8383
+ *
8384
+ * @remarks
8385
+ * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
8386
+ * This topic provides an example on how to query the MFA setting of all CloudSSO users that belong to the directory named `00q8wbq42wiltcrk****`.
8387
+ *
8388
+ * @param request - GetMFAAuthenticationSettingInfoRequest
8389
+ * @returns GetMFAAuthenticationSettingInfoResponse
7968
8390
  */
7969
8391
  async getMFAAuthenticationSettingInfo(request) {
7970
8392
  let runtime = new $Util.RuntimeOptions({});
7971
8393
  return await this.getMFAAuthenticationSettingInfoWithOptions(request, runtime);
7972
8394
  }
7973
8395
  /**
7974
- * > This operation is no longer maintained and updated. You can call the [GetMFAAuthenticationSettingInfo](~~611286~~) operation to query more detailed information.
7975
- * This topic provides an example on how to query the MFA setting of the users that belong to the directory named `d-00fc2p61****`. The returned result shows that MFA is enabled for all the users.
7976
- *
7977
- * @param request GetMFAAuthenticationSettingsRequest
7978
- * @param runtime runtime options for this request RuntimeOptions
7979
- * @return GetMFAAuthenticationSettingsResponse
8396
+ * Queries the multi-factor authentication (MFA) setting of all users.
8397
+ *
8398
+ * @remarks
8399
+ * > This operation is no longer maintained and updated. You can call the [GetMFAAuthenticationSettingInfo](https://help.aliyun.com/document_detail/611286.html) operation to query more detailed information.
8400
+ * This topic provides an example on how to query the MFA setting of the users that belong to the directory named `d-00fc2p61****`. The returned result shows that MFA is enabled for all the users.
8401
+ *
8402
+ * @param request - GetMFAAuthenticationSettingsRequest
8403
+ * @param runtime - runtime options for this request RuntimeOptions
8404
+ * @returns GetMFAAuthenticationSettingsResponse
7980
8405
  */
7981
8406
  async getMFAAuthenticationSettingsWithOptions(request, runtime) {
7982
8407
  tea_util_1.default.validateModel(request);
@@ -8001,22 +8426,28 @@ class Client extends openapi_client_1.default {
8001
8426
  return $tea.cast(await this.callApi(params, req, runtime), new GetMFAAuthenticationSettingsResponse({}));
8002
8427
  }
8003
8428
  /**
8004
- * > This operation is no longer maintained and updated. You can call the [GetMFAAuthenticationSettingInfo](~~611286~~) operation to query more detailed information.
8005
- * This topic provides an example on how to query the MFA setting of the users that belong to the directory named `d-00fc2p61****`. The returned result shows that MFA is enabled for all the users.
8006
- *
8007
- * @param request GetMFAAuthenticationSettingsRequest
8008
- * @return GetMFAAuthenticationSettingsResponse
8429
+ * Queries the multi-factor authentication (MFA) setting of all users.
8430
+ *
8431
+ * @remarks
8432
+ * > This operation is no longer maintained and updated. You can call the [GetMFAAuthenticationSettingInfo](https://help.aliyun.com/document_detail/611286.html) operation to query more detailed information.
8433
+ * This topic provides an example on how to query the MFA setting of the users that belong to the directory named `d-00fc2p61****`. The returned result shows that MFA is enabled for all the users.
8434
+ *
8435
+ * @param request - GetMFAAuthenticationSettingsRequest
8436
+ * @returns GetMFAAuthenticationSettingsResponse
8009
8437
  */
8010
8438
  async getMFAAuthenticationSettings(request) {
8011
8439
  let runtime = new $Util.RuntimeOptions({});
8012
8440
  return await this.getMFAAuthenticationSettingsWithOptions(request, runtime);
8013
8441
  }
8014
8442
  /**
8015
- * 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.
8016
- *
8017
- * @param request GetMFAAuthenticationStatusRequest
8018
- * @param runtime runtime options for this request RuntimeOptions
8019
- * @return GetMFAAuthenticationStatusResponse
8443
+ * Checks whether multi-factor authentication (MFA) is enabled for users.
8444
+ *
8445
+ * @remarks
8446
+ * 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.
8447
+ *
8448
+ * @param request - GetMFAAuthenticationStatusRequest
8449
+ * @param runtime - runtime options for this request RuntimeOptions
8450
+ * @returns GetMFAAuthenticationStatusResponse
8020
8451
  */
8021
8452
  async getMFAAuthenticationStatusWithOptions(request, runtime) {
8022
8453
  tea_util_1.default.validateModel(request);
@@ -8041,15 +8472,25 @@ class Client extends openapi_client_1.default {
8041
8472
  return $tea.cast(await this.callApi(params, req, runtime), new GetMFAAuthenticationStatusResponse({}));
8042
8473
  }
8043
8474
  /**
8044
- * 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.
8045
- *
8046
- * @param request GetMFAAuthenticationStatusRequest
8047
- * @return GetMFAAuthenticationStatusResponse
8475
+ * Checks whether multi-factor authentication (MFA) is enabled for users.
8476
+ *
8477
+ * @remarks
8478
+ * 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.
8479
+ *
8480
+ * @param request - GetMFAAuthenticationStatusRequest
8481
+ * @returns GetMFAAuthenticationStatusResponse
8048
8482
  */
8049
8483
  async getMFAAuthenticationStatus(request) {
8050
8484
  let runtime = new $Util.RuntimeOptions({});
8051
8485
  return await this.getMFAAuthenticationStatusWithOptions(request, runtime);
8052
8486
  }
8487
+ /**
8488
+ * Queries the password policy of CloudSSO users.
8489
+ *
8490
+ * @param request - GetPasswordPolicyRequest
8491
+ * @param runtime - runtime options for this request RuntimeOptions
8492
+ * @returns GetPasswordPolicyResponse
8493
+ */
8053
8494
  async getPasswordPolicyWithOptions(request, runtime) {
8054
8495
  tea_util_1.default.validateModel(request);
8055
8496
  let query = {};
@@ -8072,16 +8513,25 @@ class Client extends openapi_client_1.default {
8072
8513
  });
8073
8514
  return $tea.cast(await this.callApi(params, req, runtime), new GetPasswordPolicyResponse({}));
8074
8515
  }
8516
+ /**
8517
+ * Queries the password policy of CloudSSO users.
8518
+ *
8519
+ * @param request - GetPasswordPolicyRequest
8520
+ * @returns GetPasswordPolicyResponse
8521
+ */
8075
8522
  async getPasswordPolicy(request) {
8076
8523
  let runtime = new $Util.RuntimeOptions({});
8077
8524
  return await this.getPasswordPolicyWithOptions(request, runtime);
8078
8525
  }
8079
8526
  /**
8080
- * 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.
8081
- *
8082
- * @param request GetSCIMSynchronizationStatusRequest
8083
- * @param runtime runtime options for this request RuntimeOptions
8084
- * @return GetSCIMSynchronizationStatusResponse
8527
+ * Queries the status of System for Cross-domain Identity Management (SCIM) synchronization.
8528
+ *
8529
+ * @remarks
8530
+ * 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.
8531
+ *
8532
+ * @param request - GetSCIMSynchronizationStatusRequest
8533
+ * @param runtime - runtime options for this request RuntimeOptions
8534
+ * @returns GetSCIMSynchronizationStatusResponse
8085
8535
  */
8086
8536
  async getSCIMSynchronizationStatusWithOptions(request, runtime) {
8087
8537
  tea_util_1.default.validateModel(request);
@@ -8106,15 +8556,25 @@ class Client extends openapi_client_1.default {
8106
8556
  return $tea.cast(await this.callApi(params, req, runtime), new GetSCIMSynchronizationStatusResponse({}));
8107
8557
  }
8108
8558
  /**
8109
- * 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.
8110
- *
8111
- * @param request GetSCIMSynchronizationStatusRequest
8112
- * @return GetSCIMSynchronizationStatusResponse
8559
+ * Queries the status of System for Cross-domain Identity Management (SCIM) synchronization.
8560
+ *
8561
+ * @remarks
8562
+ * 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.
8563
+ *
8564
+ * @param request - GetSCIMSynchronizationStatusRequest
8565
+ * @returns GetSCIMSynchronizationStatusResponse
8113
8566
  */
8114
8567
  async getSCIMSynchronizationStatus(request) {
8115
8568
  let runtime = new $Util.RuntimeOptions({});
8116
8569
  return await this.getSCIMSynchronizationStatusWithOptions(request, runtime);
8117
8570
  }
8571
+ /**
8572
+ * Queries the status of CloudSSO.
8573
+ *
8574
+ * @param request - GetServiceStatusRequest
8575
+ * @param runtime - runtime options for this request RuntimeOptions
8576
+ * @returns GetServiceStatusResponse
8577
+ */
8118
8578
  async getServiceStatusWithOptions(runtime) {
8119
8579
  let req = new $OpenApi.OpenApiRequest({});
8120
8580
  let params = new $OpenApi.Params({
@@ -8130,16 +8590,23 @@ class Client extends openapi_client_1.default {
8130
8590
  });
8131
8591
  return $tea.cast(await this.callApi(params, req, runtime), new GetServiceStatusResponse({}));
8132
8592
  }
8593
+ /**
8594
+ * Queries the status of CloudSSO.
8595
+ * @returns GetServiceStatusResponse
8596
+ */
8133
8597
  async getServiceStatus() {
8134
8598
  let runtime = new $Util.RuntimeOptions({});
8135
8599
  return await this.getServiceStatusWithOptions(runtime);
8136
8600
  }
8137
8601
  /**
8138
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8139
- *
8140
- * @param request GetTaskRequest
8141
- * @param runtime runtime options for this request RuntimeOptions
8142
- * @return GetTaskResponse
8602
+ * Queries information about an asynchronous task.
8603
+ *
8604
+ * @remarks
8605
+ * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8606
+ *
8607
+ * @param request - GetTaskRequest
8608
+ * @param runtime - runtime options for this request RuntimeOptions
8609
+ * @returns GetTaskResponse
8143
8610
  */
8144
8611
  async getTaskWithOptions(request, runtime) {
8145
8612
  tea_util_1.default.validateModel(request);
@@ -8167,22 +8634,28 @@ class Client extends openapi_client_1.default {
8167
8634
  return $tea.cast(await this.callApi(params, req, runtime), new GetTaskResponse({}));
8168
8635
  }
8169
8636
  /**
8170
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8171
- *
8172
- * @param request GetTaskRequest
8173
- * @return GetTaskResponse
8637
+ * Queries information about an asynchronous task.
8638
+ *
8639
+ * @remarks
8640
+ * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8641
+ *
8642
+ * @param request - GetTaskRequest
8643
+ * @returns GetTaskResponse
8174
8644
  */
8175
8645
  async getTask(request) {
8176
8646
  let runtime = new $Util.RuntimeOptions({});
8177
8647
  return await this.getTaskWithOptions(request, runtime);
8178
8648
  }
8179
8649
  /**
8180
- * 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.
8181
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8182
- *
8183
- * @param request GetTaskStatusRequest
8184
- * @param runtime runtime options for this request RuntimeOptions
8185
- * @return GetTaskStatusResponse
8650
+ * Queries the status of an asynchronous task.
8651
+ *
8652
+ * @remarks
8653
+ * 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](https://help.aliyun.com/document_detail/340670.html) operation.
8654
+ * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8655
+ *
8656
+ * @param request - GetTaskStatusRequest
8657
+ * @param runtime - runtime options for this request RuntimeOptions
8658
+ * @returns GetTaskStatusResponse
8186
8659
  */
8187
8660
  async getTaskStatusWithOptions(request, runtime) {
8188
8661
  tea_util_1.default.validateModel(request);
@@ -8210,22 +8683,28 @@ class Client extends openapi_client_1.default {
8210
8683
  return $tea.cast(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
8211
8684
  }
8212
8685
  /**
8213
- * 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.
8214
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8215
- *
8216
- * @param request GetTaskStatusRequest
8217
- * @return GetTaskStatusResponse
8686
+ * Queries the status of an asynchronous task.
8687
+ *
8688
+ * @remarks
8689
+ * 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](https://help.aliyun.com/document_detail/340670.html) operation.
8690
+ * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
8691
+ *
8692
+ * @param request - GetTaskStatusRequest
8693
+ * @returns GetTaskStatusResponse
8218
8694
  */
8219
8695
  async getTaskStatus(request) {
8220
8696
  let runtime = new $Util.RuntimeOptions({});
8221
8697
  return await this.getTaskStatusWithOptions(request, runtime);
8222
8698
  }
8223
8699
  /**
8224
- * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
8225
- *
8226
- * @param request GetUserRequest
8227
- * @param runtime runtime options for this request RuntimeOptions
8228
- * @return GetUserResponse
8700
+ * Queries information about a user.
8701
+ *
8702
+ * @remarks
8703
+ * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
8704
+ *
8705
+ * @param request - GetUserRequest
8706
+ * @param runtime - runtime options for this request RuntimeOptions
8707
+ * @returns GetUserResponse
8229
8708
  */
8230
8709
  async getUserWithOptions(request, runtime) {
8231
8710
  tea_util_1.default.validateModel(request);
@@ -8253,15 +8732,25 @@ class Client extends openapi_client_1.default {
8253
8732
  return $tea.cast(await this.callApi(params, req, runtime), new GetUserResponse({}));
8254
8733
  }
8255
8734
  /**
8256
- * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
8257
- *
8258
- * @param request GetUserRequest
8259
- * @return GetUserResponse
8735
+ * Queries information about a user.
8736
+ *
8737
+ * @remarks
8738
+ * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
8739
+ *
8740
+ * @param request - GetUserRequest
8741
+ * @returns GetUserResponse
8260
8742
  */
8261
8743
  async getUser(request) {
8262
8744
  let runtime = new $Util.RuntimeOptions({});
8263
8745
  return await this.getUserWithOptions(request, runtime);
8264
8746
  }
8747
+ /**
8748
+ * Queries the ID of a user in a resource directory by using the ExternalId parameter.
8749
+ *
8750
+ * @param tmpReq - GetUserIdRequest
8751
+ * @param runtime - runtime options for this request RuntimeOptions
8752
+ * @returns GetUserIdResponse
8753
+ */
8265
8754
  async getUserIdWithOptions(tmpReq, runtime) {
8266
8755
  tea_util_1.default.validateModel(tmpReq);
8267
8756
  let request = new GetUserIdShrinkRequest({});
@@ -8292,16 +8781,25 @@ class Client extends openapi_client_1.default {
8292
8781
  });
8293
8782
  return $tea.cast(await this.callApi(params, req, runtime), new GetUserIdResponse({}));
8294
8783
  }
8784
+ /**
8785
+ * Queries the ID of a user in a resource directory by using the ExternalId parameter.
8786
+ *
8787
+ * @param request - GetUserIdRequest
8788
+ * @returns GetUserIdResponse
8789
+ */
8295
8790
  async getUserId(request) {
8296
8791
  let runtime = new $Util.RuntimeOptions({});
8297
8792
  return await this.getUserIdWithOptions(request, runtime);
8298
8793
  }
8299
8794
  /**
8300
- * 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.
8301
- *
8302
- * @param request GetUserMFAAuthenticationSettingsRequest
8303
- * @param runtime runtime options for this request RuntimeOptions
8304
- * @return GetUserMFAAuthenticationSettingsResponse
8795
+ * Queries the multi-factor authentication (MFA) setting of a single user.
8796
+ *
8797
+ * @remarks
8798
+ * 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.
8799
+ *
8800
+ * @param request - GetUserMFAAuthenticationSettingsRequest
8801
+ * @param runtime - runtime options for this request RuntimeOptions
8802
+ * @returns GetUserMFAAuthenticationSettingsResponse
8305
8803
  */
8306
8804
  async getUserMFAAuthenticationSettingsWithOptions(request, runtime) {
8307
8805
  tea_util_1.default.validateModel(request);
@@ -8329,15 +8827,25 @@ class Client extends openapi_client_1.default {
8329
8827
  return $tea.cast(await this.callApi(params, req, runtime), new GetUserMFAAuthenticationSettingsResponse({}));
8330
8828
  }
8331
8829
  /**
8332
- * 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.
8333
- *
8334
- * @param request GetUserMFAAuthenticationSettingsRequest
8335
- * @return GetUserMFAAuthenticationSettingsResponse
8830
+ * Queries the multi-factor authentication (MFA) setting of a single user.
8831
+ *
8832
+ * @remarks
8833
+ * 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.
8834
+ *
8835
+ * @param request - GetUserMFAAuthenticationSettingsRequest
8836
+ * @returns GetUserMFAAuthenticationSettingsResponse
8336
8837
  */
8337
8838
  async getUserMFAAuthenticationSettings(request) {
8338
8839
  let runtime = new $Util.RuntimeOptions({});
8339
8840
  return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
8340
8841
  }
8842
+ /**
8843
+ * Queries a Resource Access Management (RAM) user provisioning.
8844
+ *
8845
+ * @param request - GetUserProvisioningRequest
8846
+ * @param runtime - runtime options for this request RuntimeOptions
8847
+ * @returns GetUserProvisioningResponse
8848
+ */
8341
8849
  async getUserProvisioningWithOptions(request, runtime) {
8342
8850
  tea_util_1.default.validateModel(request);
8343
8851
  let query = {};
@@ -8363,10 +8871,23 @@ class Client extends openapi_client_1.default {
8363
8871
  });
8364
8872
  return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningResponse({}));
8365
8873
  }
8874
+ /**
8875
+ * Queries a Resource Access Management (RAM) user provisioning.
8876
+ *
8877
+ * @param request - GetUserProvisioningRequest
8878
+ * @returns GetUserProvisioningResponse
8879
+ */
8366
8880
  async getUserProvisioning(request) {
8367
8881
  let runtime = new $Util.RuntimeOptions({});
8368
8882
  return await this.getUserProvisioningWithOptions(request, runtime);
8369
8883
  }
8884
+ /**
8885
+ * Queries the global configurations of a Resource Access Management (RAM) user provisioning.
8886
+ *
8887
+ * @param request - GetUserProvisioningConfigurationRequest
8888
+ * @param runtime - runtime options for this request RuntimeOptions
8889
+ * @returns GetUserProvisioningConfigurationResponse
8890
+ */
8370
8891
  async getUserProvisioningConfigurationWithOptions(request, runtime) {
8371
8892
  tea_util_1.default.validateModel(request);
8372
8893
  let query = {};
@@ -8389,10 +8910,23 @@ class Client extends openapi_client_1.default {
8389
8910
  });
8390
8911
  return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningConfigurationResponse({}));
8391
8912
  }
8913
+ /**
8914
+ * Queries the global configurations of a Resource Access Management (RAM) user provisioning.
8915
+ *
8916
+ * @param request - GetUserProvisioningConfigurationRequest
8917
+ * @returns GetUserProvisioningConfigurationResponse
8918
+ */
8392
8919
  async getUserProvisioningConfiguration(request) {
8393
8920
  let runtime = new $Util.RuntimeOptions({});
8394
8921
  return await this.getUserProvisioningConfigurationWithOptions(request, runtime);
8395
8922
  }
8923
+ /**
8924
+ * Queries the information about a Resource Access Management (RAM) user provisioning.
8925
+ *
8926
+ * @param request - GetUserProvisioningEventRequest
8927
+ * @param runtime - runtime options for this request RuntimeOptions
8928
+ * @returns GetUserProvisioningEventResponse
8929
+ */
8396
8930
  async getUserProvisioningEventWithOptions(request, runtime) {
8397
8931
  tea_util_1.default.validateModel(request);
8398
8932
  let query = {};
@@ -8418,10 +8952,23 @@ class Client extends openapi_client_1.default {
8418
8952
  });
8419
8953
  return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningEventResponse({}));
8420
8954
  }
8955
+ /**
8956
+ * Queries the information about a Resource Access Management (RAM) user provisioning.
8957
+ *
8958
+ * @param request - GetUserProvisioningEventRequest
8959
+ * @returns GetUserProvisioningEventResponse
8960
+ */
8421
8961
  async getUserProvisioningEvent(request) {
8422
8962
  let runtime = new $Util.RuntimeOptions({});
8423
8963
  return await this.getUserProvisioningEventWithOptions(request, runtime);
8424
8964
  }
8965
+ /**
8966
+ * Queries statistics of Resource Access Management (RAM) user provisioning events that are created for the member in a resource directory.
8967
+ *
8968
+ * @param request - GetUserProvisioningRdAccountStatisticsRequest
8969
+ * @param runtime - runtime options for this request RuntimeOptions
8970
+ * @returns GetUserProvisioningRdAccountStatisticsResponse
8971
+ */
8425
8972
  async getUserProvisioningRdAccountStatisticsWithOptions(request, runtime) {
8426
8973
  tea_util_1.default.validateModel(request);
8427
8974
  let query = {};
@@ -8447,10 +8994,23 @@ class Client extends openapi_client_1.default {
8447
8994
  });
8448
8995
  return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningRdAccountStatisticsResponse({}));
8449
8996
  }
8997
+ /**
8998
+ * Queries statistics of Resource Access Management (RAM) user provisioning events that are created for the member in a resource directory.
8999
+ *
9000
+ * @param request - GetUserProvisioningRdAccountStatisticsRequest
9001
+ * @returns GetUserProvisioningRdAccountStatisticsResponse
9002
+ */
8450
9003
  async getUserProvisioningRdAccountStatistics(request) {
8451
9004
  let runtime = new $Util.RuntimeOptions({});
8452
9005
  return await this.getUserProvisioningRdAccountStatisticsWithOptions(request, runtime);
8453
9006
  }
9007
+ /**
9008
+ * Queries the statistics of a Resource Access Management (RAM) user provisioning.
9009
+ *
9010
+ * @param request - GetUserProvisioningStatisticsRequest
9011
+ * @param runtime - runtime options for this request RuntimeOptions
9012
+ * @returns GetUserProvisioningStatisticsResponse
9013
+ */
8454
9014
  async getUserProvisioningStatisticsWithOptions(request, runtime) {
8455
9015
  tea_util_1.default.validateModel(request);
8456
9016
  let query = {};
@@ -8476,16 +9036,25 @@ class Client extends openapi_client_1.default {
8476
9036
  });
8477
9037
  return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningStatisticsResponse({}));
8478
9038
  }
9039
+ /**
9040
+ * Queries the statistics of a Resource Access Management (RAM) user provisioning.
9041
+ *
9042
+ * @param request - GetUserProvisioningStatisticsRequest
9043
+ * @returns GetUserProvisioningStatisticsResponse
9044
+ */
8479
9045
  async getUserProvisioningStatistics(request) {
8480
9046
  let runtime = new $Util.RuntimeOptions({});
8481
9047
  return await this.getUserProvisioningStatisticsWithOptions(request, runtime);
8482
9048
  }
8483
9049
  /**
8484
- * 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.
8485
- *
8486
- * @param request ListAccessAssignmentsRequest
8487
- * @param runtime runtime options for this request RuntimeOptions
8488
- * @return ListAccessAssignmentsResponse
9050
+ * Queries the access permissions that are assigned.
9051
+ *
9052
+ * @remarks
9053
+ * 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.
9054
+ *
9055
+ * @param request - ListAccessAssignmentsRequest
9056
+ * @param runtime - runtime options for this request RuntimeOptions
9057
+ * @returns ListAccessAssignmentsResponse
8489
9058
  */
8490
9059
  async listAccessAssignmentsWithOptions(request, runtime) {
8491
9060
  tea_util_1.default.validateModel(request);
@@ -8531,21 +9100,27 @@ class Client extends openapi_client_1.default {
8531
9100
  return $tea.cast(await this.callApi(params, req, runtime), new ListAccessAssignmentsResponse({}));
8532
9101
  }
8533
9102
  /**
8534
- * 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.
8535
- *
8536
- * @param request ListAccessAssignmentsRequest
8537
- * @return ListAccessAssignmentsResponse
9103
+ * Queries the access permissions that are assigned.
9104
+ *
9105
+ * @remarks
9106
+ * 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.
9107
+ *
9108
+ * @param request - ListAccessAssignmentsRequest
9109
+ * @returns ListAccessAssignmentsResponse
8538
9110
  */
8539
9111
  async listAccessAssignments(request) {
8540
9112
  let runtime = new $Util.RuntimeOptions({});
8541
9113
  return await this.listAccessAssignmentsWithOptions(request, runtime);
8542
9114
  }
8543
9115
  /**
8544
- * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
8545
- *
8546
- * @param request ListAccessConfigurationProvisioningsRequest
8547
- * @param runtime runtime options for this request RuntimeOptions
8548
- * @return ListAccessConfigurationProvisioningsResponse
9116
+ * Queries the access configurations that are provisioned.
9117
+ *
9118
+ * @remarks
9119
+ * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
9120
+ *
9121
+ * @param request - ListAccessConfigurationProvisioningsRequest
9122
+ * @param runtime - runtime options for this request RuntimeOptions
9123
+ * @returns ListAccessConfigurationProvisioningsResponse
8549
9124
  */
8550
9125
  async listAccessConfigurationProvisioningsWithOptions(request, runtime) {
8551
9126
  tea_util_1.default.validateModel(request);
@@ -8588,21 +9163,27 @@ class Client extends openapi_client_1.default {
8588
9163
  return $tea.cast(await this.callApi(params, req, runtime), new ListAccessConfigurationProvisioningsResponse({}));
8589
9164
  }
8590
9165
  /**
8591
- * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
8592
- *
8593
- * @param request ListAccessConfigurationProvisioningsRequest
8594
- * @return ListAccessConfigurationProvisioningsResponse
9166
+ * Queries the access configurations that are provisioned.
9167
+ *
9168
+ * @remarks
9169
+ * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
9170
+ *
9171
+ * @param request - ListAccessConfigurationProvisioningsRequest
9172
+ * @returns ListAccessConfigurationProvisioningsResponse
8595
9173
  */
8596
9174
  async listAccessConfigurationProvisionings(request) {
8597
9175
  let runtime = new $Util.RuntimeOptions({});
8598
9176
  return await this.listAccessConfigurationProvisioningsWithOptions(request, runtime);
8599
9177
  }
8600
9178
  /**
8601
- * This topic provides an example on how to query the access configurations within the directory `d-00fc2p61****`. The returned result shows that the directory contains the `VPC-Admin` and `ECS-Admin` access configurations.
8602
- *
8603
- * @param request ListAccessConfigurationsRequest
8604
- * @param runtime runtime options for this request RuntimeOptions
8605
- * @return ListAccessConfigurationsResponse
9179
+ * Queries access configurations.
9180
+ *
9181
+ * @remarks
9182
+ * This topic provides an example on how to query the access configurations within the directory `d-00fc2p61****`. The returned result shows that the directory contains the `VPC-Admin` and `ECS-Admin` access configurations.
9183
+ *
9184
+ * @param request - ListAccessConfigurationsRequest
9185
+ * @param runtime - runtime options for this request RuntimeOptions
9186
+ * @returns ListAccessConfigurationsResponse
8606
9187
  */
8607
9188
  async listAccessConfigurationsWithOptions(request, runtime) {
8608
9189
  tea_util_1.default.validateModel(request);
@@ -8639,21 +9220,27 @@ class Client extends openapi_client_1.default {
8639
9220
  return $tea.cast(await this.callApi(params, req, runtime), new ListAccessConfigurationsResponse({}));
8640
9221
  }
8641
9222
  /**
8642
- * This topic provides an example on how to query the access configurations within the directory `d-00fc2p61****`. The returned result shows that the directory contains the `VPC-Admin` and `ECS-Admin` access configurations.
8643
- *
8644
- * @param request ListAccessConfigurationsRequest
8645
- * @return ListAccessConfigurationsResponse
9223
+ * Queries access configurations.
9224
+ *
9225
+ * @remarks
9226
+ * This topic provides an example on how to query the access configurations within the directory `d-00fc2p61****`. The returned result shows that the directory contains the `VPC-Admin` and `ECS-Admin` access configurations.
9227
+ *
9228
+ * @param request - ListAccessConfigurationsRequest
9229
+ * @returns ListAccessConfigurationsResponse
8646
9230
  */
8647
9231
  async listAccessConfigurations(request) {
8648
9232
  let runtime = new $Util.RuntimeOptions({});
8649
9233
  return await this.listAccessConfigurationsWithOptions(request, runtime);
8650
9234
  }
8651
9235
  /**
8652
- * This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
8653
- *
8654
- * @param request ListDirectoriesRequest
8655
- * @param runtime runtime options for this request RuntimeOptions
8656
- * @return ListDirectoriesResponse
9236
+ * Queries directories.
9237
+ *
9238
+ * @remarks
9239
+ * This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
9240
+ *
9241
+ * @param request - ListDirectoriesRequest
9242
+ * @param runtime - runtime options for this request RuntimeOptions
9243
+ * @returns ListDirectoriesResponse
8657
9244
  */
8658
9245
  async listDirectoriesWithOptions(runtime) {
8659
9246
  let req = new $OpenApi.OpenApiRequest({});
@@ -8671,20 +9258,25 @@ class Client extends openapi_client_1.default {
8671
9258
  return $tea.cast(await this.callApi(params, req, runtime), new ListDirectoriesResponse({}));
8672
9259
  }
8673
9260
  /**
8674
- * This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
8675
- *
8676
- * @return ListDirectoriesResponse
9261
+ * Queries directories.
9262
+ *
9263
+ * @remarks
9264
+ * This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
9265
+ * @returns ListDirectoriesResponse
8677
9266
  */
8678
9267
  async listDirectories() {
8679
9268
  let runtime = new $Util.RuntimeOptions({});
8680
9269
  return await this.listDirectoriesWithOptions(runtime);
8681
9270
  }
8682
9271
  /**
8683
- * This topic provides an example on how to query the SAML signing certificates within the directory `d-00fc2p61****`. The returned result shows that the directory contains one SAML signing certificate.
8684
- *
8685
- * @param request ListExternalSAMLIdPCertificatesRequest
8686
- * @param runtime runtime options for this request RuntimeOptions
8687
- * @return ListExternalSAMLIdPCertificatesResponse
9272
+ * Queries Security Assertion Markup Language (SAML) signing certificates.
9273
+ *
9274
+ * @remarks
9275
+ * This topic provides an example on how to query the SAML signing certificates within the directory `d-00fc2p61****`. The returned result shows that the directory contains one SAML signing certificate.
9276
+ *
9277
+ * @param request - ListExternalSAMLIdPCertificatesRequest
9278
+ * @param runtime - runtime options for this request RuntimeOptions
9279
+ * @returns ListExternalSAMLIdPCertificatesResponse
8688
9280
  */
8689
9281
  async listExternalSAMLIdPCertificatesWithOptions(request, runtime) {
8690
9282
  tea_util_1.default.validateModel(request);
@@ -8709,21 +9301,27 @@ class Client extends openapi_client_1.default {
8709
9301
  return $tea.cast(await this.callApi(params, req, runtime), new ListExternalSAMLIdPCertificatesResponse({}));
8710
9302
  }
8711
9303
  /**
8712
- * This topic provides an example on how to query the SAML signing certificates within the directory `d-00fc2p61****`. The returned result shows that the directory contains one SAML signing certificate.
8713
- *
8714
- * @param request ListExternalSAMLIdPCertificatesRequest
8715
- * @return ListExternalSAMLIdPCertificatesResponse
9304
+ * Queries Security Assertion Markup Language (SAML) signing certificates.
9305
+ *
9306
+ * @remarks
9307
+ * This topic provides an example on how to query the SAML signing certificates within the directory `d-00fc2p61****`. The returned result shows that the directory contains one SAML signing certificate.
9308
+ *
9309
+ * @param request - ListExternalSAMLIdPCertificatesRequest
9310
+ * @returns ListExternalSAMLIdPCertificatesResponse
8716
9311
  */
8717
9312
  async listExternalSAMLIdPCertificates(request) {
8718
9313
  let runtime = new $Util.RuntimeOptions({});
8719
9314
  return await this.listExternalSAMLIdPCertificatesWithOptions(request, runtime);
8720
9315
  }
8721
9316
  /**
8722
- * This topic provides an example on how to query the users in the group `g-00jqzghi2n3o5hkh****`. The returned result shows that the group contains the user `Alice` and the user `user1`.
8723
- *
8724
- * @param request ListGroupMembersRequest
8725
- * @param runtime runtime options for this request RuntimeOptions
8726
- * @return ListGroupMembersResponse
9317
+ * Queries the users in a group.
9318
+ *
9319
+ * @remarks
9320
+ * This topic provides an example on how to query the users in the group `g-00jqzghi2n3o5hkh****`. The returned result shows that the group contains the user `Alice` and the user `user1`.
9321
+ *
9322
+ * @param request - ListGroupMembersRequest
9323
+ * @param runtime - runtime options for this request RuntimeOptions
9324
+ * @returns ListGroupMembersResponse
8727
9325
  */
8728
9326
  async listGroupMembersWithOptions(request, runtime) {
8729
9327
  tea_util_1.default.validateModel(request);
@@ -8757,21 +9355,27 @@ class Client extends openapi_client_1.default {
8757
9355
  return $tea.cast(await this.callApi(params, req, runtime), new ListGroupMembersResponse({}));
8758
9356
  }
8759
9357
  /**
8760
- * This topic provides an example on how to query the users in the group `g-00jqzghi2n3o5hkh****`. The returned result shows that the group contains the user `Alice` and the user `user1`.
8761
- *
8762
- * @param request ListGroupMembersRequest
8763
- * @return ListGroupMembersResponse
9358
+ * Queries the users in a group.
9359
+ *
9360
+ * @remarks
9361
+ * This topic provides an example on how to query the users in the group `g-00jqzghi2n3o5hkh****`. The returned result shows that the group contains the user `Alice` and the user `user1`.
9362
+ *
9363
+ * @param request - ListGroupMembersRequest
9364
+ * @returns ListGroupMembersResponse
8764
9365
  */
8765
9366
  async listGroupMembers(request) {
8766
9367
  let runtime = new $Util.RuntimeOptions({});
8767
9368
  return await this.listGroupMembersWithOptions(request, runtime);
8768
9369
  }
8769
9370
  /**
8770
- * This topic provides an example on how to query the groups in the directory `d-00fc2p61****`. The returned result shows that the directory contains three groups. The groups `group1` and `group2` are synchronized from an external identity provider (IdP). The group `TestGroup` is manually created in CloudSSO.
8771
- *
8772
- * @param request ListGroupsRequest
8773
- * @param runtime runtime options for this request RuntimeOptions
8774
- * @return ListGroupsResponse
9371
+ * Queries groups.
9372
+ *
9373
+ * @remarks
9374
+ * This topic provides an example on how to query the groups in the directory `d-00fc2p61****`. The returned result shows that the directory contains three groups. The groups `group1` and `group2` are synchronized from an external identity provider (IdP). The group `TestGroup` is manually created in CloudSSO.
9375
+ *
9376
+ * @param request - ListGroupsRequest
9377
+ * @param runtime - runtime options for this request RuntimeOptions
9378
+ * @returns ListGroupsResponse
8775
9379
  */
8776
9380
  async listGroupsWithOptions(request, runtime) {
8777
9381
  tea_util_1.default.validateModel(request);
@@ -8808,21 +9412,27 @@ class Client extends openapi_client_1.default {
8808
9412
  return $tea.cast(await this.callApi(params, req, runtime), new ListGroupsResponse({}));
8809
9413
  }
8810
9414
  /**
8811
- * This topic provides an example on how to query the groups in the directory `d-00fc2p61****`. The returned result shows that the directory contains three groups. The groups `group1` and `group2` are synchronized from an external identity provider (IdP). The group `TestGroup` is manually created in CloudSSO.
8812
- *
8813
- * @param request ListGroupsRequest
8814
- * @return ListGroupsResponse
9415
+ * Queries groups.
9416
+ *
9417
+ * @remarks
9418
+ * This topic provides an example on how to query the groups in the directory `d-00fc2p61****`. The returned result shows that the directory contains three groups. The groups `group1` and `group2` are synchronized from an external identity provider (IdP). The group `TestGroup` is manually created in CloudSSO.
9419
+ *
9420
+ * @param request - ListGroupsRequest
9421
+ * @returns ListGroupsResponse
8815
9422
  */
8816
9423
  async listGroups(request) {
8817
9424
  let runtime = new $Util.RuntimeOptions({});
8818
9425
  return await this.listGroupsWithOptions(request, runtime);
8819
9426
  }
8820
9427
  /**
8821
- * This topic provides an example on how to query the groups to which the user `u-00q8wbq42wiltcrk****` is added. The returned result shows that the user is added to both the `TestGroup` and the `group1` groups.
8822
- *
8823
- * @param request ListJoinedGroupsForUserRequest
8824
- * @param runtime runtime options for this request RuntimeOptions
8825
- * @return ListJoinedGroupsForUserResponse
9428
+ * Queries the groups to which a user is added.
9429
+ *
9430
+ * @remarks
9431
+ * This topic provides an example on how to query the groups to which the user `u-00q8wbq42wiltcrk****` is added. The returned result shows that the user is added to both the `TestGroup` and the `group1` groups.
9432
+ *
9433
+ * @param request - ListJoinedGroupsForUserRequest
9434
+ * @param runtime - runtime options for this request RuntimeOptions
9435
+ * @returns ListJoinedGroupsForUserResponse
8826
9436
  */
8827
9437
  async listJoinedGroupsForUserWithOptions(request, runtime) {
8828
9438
  tea_util_1.default.validateModel(request);
@@ -8856,21 +9466,27 @@ class Client extends openapi_client_1.default {
8856
9466
  return $tea.cast(await this.callApi(params, req, runtime), new ListJoinedGroupsForUserResponse({}));
8857
9467
  }
8858
9468
  /**
8859
- * This topic provides an example on how to query the groups to which the user `u-00q8wbq42wiltcrk****` is added. The returned result shows that the user is added to both the `TestGroup` and the `group1` groups.
8860
- *
8861
- * @param request ListJoinedGroupsForUserRequest
8862
- * @return ListJoinedGroupsForUserResponse
9469
+ * Queries the groups to which a user is added.
9470
+ *
9471
+ * @remarks
9472
+ * This topic provides an example on how to query the groups to which the user `u-00q8wbq42wiltcrk****` is added. The returned result shows that the user is added to both the `TestGroup` and the `group1` groups.
9473
+ *
9474
+ * @param request - ListJoinedGroupsForUserRequest
9475
+ * @returns ListJoinedGroupsForUserResponse
8863
9476
  */
8864
9477
  async listJoinedGroupsForUser(request) {
8865
9478
  let runtime = new $Util.RuntimeOptions({});
8866
9479
  return await this.listJoinedGroupsForUserWithOptions(request, runtime);
8867
9480
  }
8868
9481
  /**
8869
- * This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
8870
- *
8871
- * @param request ListMFADevicesForUserRequest
8872
- * @param runtime runtime options for this request RuntimeOptions
8873
- * @return ListMFADevicesForUserResponse
9482
+ * Queries the multi-factor authentication (MFA) devices that are bound to a user. Up to two MFA devices can be bound to a user.
9483
+ *
9484
+ * @remarks
9485
+ * This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
9486
+ *
9487
+ * @param request - ListMFADevicesForUserRequest
9488
+ * @param runtime - runtime options for this request RuntimeOptions
9489
+ * @returns ListMFADevicesForUserResponse
8874
9490
  */
8875
9491
  async listMFADevicesForUserWithOptions(request, runtime) {
8876
9492
  tea_util_1.default.validateModel(request);
@@ -8898,21 +9514,27 @@ class Client extends openapi_client_1.default {
8898
9514
  return $tea.cast(await this.callApi(params, req, runtime), new ListMFADevicesForUserResponse({}));
8899
9515
  }
8900
9516
  /**
8901
- * This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
8902
- *
8903
- * @param request ListMFADevicesForUserRequest
8904
- * @return ListMFADevicesForUserResponse
9517
+ * Queries the multi-factor authentication (MFA) devices that are bound to a user. Up to two MFA devices can be bound to a user.
9518
+ *
9519
+ * @remarks
9520
+ * This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
9521
+ *
9522
+ * @param request - ListMFADevicesForUserRequest
9523
+ * @returns ListMFADevicesForUserResponse
8905
9524
  */
8906
9525
  async listMFADevicesForUser(request) {
8907
9526
  let runtime = new $Util.RuntimeOptions({});
8908
9527
  return await this.listMFADevicesForUserWithOptions(request, runtime);
8909
9528
  }
8910
9529
  /**
8911
- * This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
8912
- *
8913
- * @param request ListPermissionPoliciesInAccessConfigurationRequest
8914
- * @param runtime runtime options for this request RuntimeOptions
8915
- * @return ListPermissionPoliciesInAccessConfigurationResponse
9530
+ * Queries the policies that are created for an access configuration.
9531
+ *
9532
+ * @remarks
9533
+ * This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
9534
+ *
9535
+ * @param request - ListPermissionPoliciesInAccessConfigurationRequest
9536
+ * @param runtime - runtime options for this request RuntimeOptions
9537
+ * @returns ListPermissionPoliciesInAccessConfigurationResponse
8916
9538
  */
8917
9539
  async listPermissionPoliciesInAccessConfigurationWithOptions(request, runtime) {
8918
9540
  tea_util_1.default.validateModel(request);
@@ -8943,21 +9565,27 @@ class Client extends openapi_client_1.default {
8943
9565
  return $tea.cast(await this.callApi(params, req, runtime), new ListPermissionPoliciesInAccessConfigurationResponse({}));
8944
9566
  }
8945
9567
  /**
8946
- * This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
8947
- *
8948
- * @param request ListPermissionPoliciesInAccessConfigurationRequest
8949
- * @return ListPermissionPoliciesInAccessConfigurationResponse
9568
+ * Queries the policies that are created for an access configuration.
9569
+ *
9570
+ * @remarks
9571
+ * This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
9572
+ *
9573
+ * @param request - ListPermissionPoliciesInAccessConfigurationRequest
9574
+ * @returns ListPermissionPoliciesInAccessConfigurationResponse
8950
9575
  */
8951
9576
  async listPermissionPoliciesInAccessConfiguration(request) {
8952
9577
  let runtime = new $Util.RuntimeOptions({});
8953
9578
  return await this.listPermissionPoliciesInAccessConfigurationWithOptions(request, runtime);
8954
9579
  }
8955
9580
  /**
8956
- * This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
8957
- *
8958
- * @param request ListSCIMServerCredentialsRequest
8959
- * @param runtime runtime options for this request RuntimeOptions
8960
- * @return ListSCIMServerCredentialsResponse
9581
+ * Queries Cross-domain Identity Management (SCIM) credentials.
9582
+ *
9583
+ * @remarks
9584
+ * This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
9585
+ *
9586
+ * @param request - ListSCIMServerCredentialsRequest
9587
+ * @param runtime - runtime options for this request RuntimeOptions
9588
+ * @returns ListSCIMServerCredentialsResponse
8961
9589
  */
8962
9590
  async listSCIMServerCredentialsWithOptions(request, runtime) {
8963
9591
  tea_util_1.default.validateModel(request);
@@ -8982,22 +9610,28 @@ class Client extends openapi_client_1.default {
8982
9610
  return $tea.cast(await this.callApi(params, req, runtime), new ListSCIMServerCredentialsResponse({}));
8983
9611
  }
8984
9612
  /**
8985
- * This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
8986
- *
8987
- * @param request ListSCIMServerCredentialsRequest
8988
- * @return ListSCIMServerCredentialsResponse
9613
+ * Queries Cross-domain Identity Management (SCIM) credentials.
9614
+ *
9615
+ * @remarks
9616
+ * This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
9617
+ *
9618
+ * @param request - ListSCIMServerCredentialsRequest
9619
+ * @returns ListSCIMServerCredentialsResponse
8989
9620
  */
8990
9621
  async listSCIMServerCredentials(request) {
8991
9622
  let runtime = new $Util.RuntimeOptions({});
8992
9623
  return await this.listSCIMServerCredentialsWithOptions(request, runtime);
8993
9624
  }
8994
9625
  /**
8995
- * By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
8996
- * This topic provides an example on how to query the tasks within the previous 24 hours.
8997
- *
8998
- * @param request ListTasksRequest
8999
- * @param runtime runtime options for this request RuntimeOptions
9000
- * @return ListTasksResponse
9626
+ * Queries asynchronous tasks.
9627
+ *
9628
+ * @remarks
9629
+ * By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
9630
+ * This topic provides an example on how to query the tasks within the previous 24 hours.
9631
+ *
9632
+ * @param request - ListTasksRequest
9633
+ * @param runtime - runtime options for this request RuntimeOptions
9634
+ * @returns ListTasksResponse
9001
9635
  */
9002
9636
  async listTasksWithOptions(request, runtime) {
9003
9637
  tea_util_1.default.validateModel(request);
@@ -9052,16 +9686,26 @@ class Client extends openapi_client_1.default {
9052
9686
  return $tea.cast(await this.callApi(params, req, runtime), new ListTasksResponse({}));
9053
9687
  }
9054
9688
  /**
9055
- * By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
9056
- * This topic provides an example on how to query the tasks within the previous 24 hours.
9057
- *
9058
- * @param request ListTasksRequest
9059
- * @return ListTasksResponse
9689
+ * Queries asynchronous tasks.
9690
+ *
9691
+ * @remarks
9692
+ * By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
9693
+ * This topic provides an example on how to query the tasks within the previous 24 hours.
9694
+ *
9695
+ * @param request - ListTasksRequest
9696
+ * @returns ListTasksResponse
9060
9697
  */
9061
9698
  async listTasks(request) {
9062
9699
  let runtime = new $Util.RuntimeOptions({});
9063
9700
  return await this.listTasksWithOptions(request, runtime);
9064
9701
  }
9702
+ /**
9703
+ * Queries Resource Access Management (RAM) user provisioning events.
9704
+ *
9705
+ * @param request - ListUserProvisioningEventsRequest
9706
+ * @param runtime - runtime options for this request RuntimeOptions
9707
+ * @returns ListUserProvisioningEventsResponse
9708
+ */
9065
9709
  async listUserProvisioningEventsWithOptions(request, runtime) {
9066
9710
  tea_util_1.default.validateModel(request);
9067
9711
  let query = {};
@@ -9093,10 +9737,23 @@ class Client extends openapi_client_1.default {
9093
9737
  });
9094
9738
  return $tea.cast(await this.callApi(params, req, runtime), new ListUserProvisioningEventsResponse({}));
9095
9739
  }
9740
+ /**
9741
+ * Queries Resource Access Management (RAM) user provisioning events.
9742
+ *
9743
+ * @param request - ListUserProvisioningEventsRequest
9744
+ * @returns ListUserProvisioningEventsResponse
9745
+ */
9096
9746
  async listUserProvisioningEvents(request) {
9097
9747
  let runtime = new $Util.RuntimeOptions({});
9098
9748
  return await this.listUserProvisioningEventsWithOptions(request, runtime);
9099
9749
  }
9750
+ /**
9751
+ * Queries Resource Access Management (RAM) user provisionings.
9752
+ *
9753
+ * @param request - ListUserProvisioningsRequest
9754
+ * @param runtime - runtime options for this request RuntimeOptions
9755
+ * @returns ListUserProvisioningsResponse
9756
+ */
9100
9757
  async listUserProvisioningsWithOptions(request, runtime) {
9101
9758
  tea_util_1.default.validateModel(request);
9102
9759
  let query = {};
@@ -9137,16 +9794,25 @@ class Client extends openapi_client_1.default {
9137
9794
  });
9138
9795
  return $tea.cast(await this.callApi(params, req, runtime), new ListUserProvisioningsResponse({}));
9139
9796
  }
9797
+ /**
9798
+ * Queries Resource Access Management (RAM) user provisionings.
9799
+ *
9800
+ * @param request - ListUserProvisioningsRequest
9801
+ * @returns ListUserProvisioningsResponse
9802
+ */
9140
9803
  async listUserProvisionings(request) {
9141
9804
  let runtime = new $Util.RuntimeOptions({});
9142
9805
  return await this.listUserProvisioningsWithOptions(request, runtime);
9143
9806
  }
9144
9807
  /**
9145
- * This topic provides an example on how to query users in the `d-00fc2p61****` directory. The returned result shows that the directory contains two users. The user `AliceLee` is synchronized from an external identity provider (IdP). The user `user1` is manually created within CloudSSO.
9146
- *
9147
- * @param request ListUsersRequest
9148
- * @param runtime runtime options for this request RuntimeOptions
9149
- * @return ListUsersResponse
9808
+ * Queries users.
9809
+ *
9810
+ * @remarks
9811
+ * This topic provides an example on how to query users in the `d-00fc2p61****` directory. The returned result shows that the directory contains two users. The user `AliceLee` is synchronized from an external identity provider (IdP). The user `user1` is manually created within CloudSSO.
9812
+ *
9813
+ * @param request - ListUsersRequest
9814
+ * @param runtime - runtime options for this request RuntimeOptions
9815
+ * @returns ListUsersResponse
9150
9816
  */
9151
9817
  async listUsersWithOptions(request, runtime) {
9152
9818
  tea_util_1.default.validateModel(request);
@@ -9186,22 +9852,28 @@ class Client extends openapi_client_1.default {
9186
9852
  return $tea.cast(await this.callApi(params, req, runtime), new ListUsersResponse({}));
9187
9853
  }
9188
9854
  /**
9189
- * This topic provides an example on how to query users in the `d-00fc2p61****` directory. The returned result shows that the directory contains two users. The user `AliceLee` is synchronized from an external identity provider (IdP). The user `user1` is manually created within CloudSSO.
9190
- *
9191
- * @param request ListUsersRequest
9192
- * @return ListUsersResponse
9855
+ * Queries users.
9856
+ *
9857
+ * @remarks
9858
+ * This topic provides an example on how to query users in the `d-00fc2p61****` directory. The returned result shows that the directory contains two users. The user `AliceLee` is synchronized from an external identity provider (IdP). The user `user1` is manually created within CloudSSO.
9859
+ *
9860
+ * @param request - ListUsersRequest
9861
+ * @returns ListUsersResponse
9193
9862
  */
9194
9863
  async listUsers(request) {
9195
9864
  let runtime = new $Util.RuntimeOptions({});
9196
9865
  return await this.listUsersWithOptions(request, runtime);
9197
9866
  }
9198
9867
  /**
9199
- * 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.
9200
- * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
9201
- *
9202
- * @param request ProvisionAccessConfigurationRequest
9203
- * @param runtime runtime options for this request RuntimeOptions
9204
- * @return ProvisionAccessConfigurationResponse
9868
+ * Provisions an access configuration for an account in your resource directory.
9869
+ *
9870
+ * @remarks
9871
+ * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
9872
+ * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
9873
+ *
9874
+ * @param request - ProvisionAccessConfigurationRequest
9875
+ * @param runtime - runtime options for this request RuntimeOptions
9876
+ * @returns ProvisionAccessConfigurationResponse
9205
9877
  */
9206
9878
  async provisionAccessConfigurationWithOptions(request, runtime) {
9207
9879
  tea_util_1.default.validateModel(request);
@@ -9235,22 +9907,28 @@ class Client extends openapi_client_1.default {
9235
9907
  return $tea.cast(await this.callApi(params, req, runtime), new ProvisionAccessConfigurationResponse({}));
9236
9908
  }
9237
9909
  /**
9238
- * 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.
9239
- * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
9240
- *
9241
- * @param request ProvisionAccessConfigurationRequest
9242
- * @return ProvisionAccessConfigurationResponse
9910
+ * Provisions an access configuration for an account in your resource directory.
9911
+ *
9912
+ * @remarks
9913
+ * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
9914
+ * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
9915
+ *
9916
+ * @param request - ProvisionAccessConfigurationRequest
9917
+ * @returns ProvisionAccessConfigurationResponse
9243
9918
  */
9244
9919
  async provisionAccessConfiguration(request) {
9245
9920
  let runtime = new $Util.RuntimeOptions({});
9246
9921
  return await this.provisionAccessConfigurationWithOptions(request, runtime);
9247
9922
  }
9248
9923
  /**
9249
- * This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
9250
- *
9251
- * @param request RemoveExternalSAMLIdPCertificateRequest
9252
- * @param runtime runtime options for this request RuntimeOptions
9253
- * @return RemoveExternalSAMLIdPCertificateResponse
9924
+ * Removes a Security Assertion Markup Language (SAML) signing certificate.
9925
+ *
9926
+ * @remarks
9927
+ * This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
9928
+ *
9929
+ * @param request - RemoveExternalSAMLIdPCertificateRequest
9930
+ * @param runtime - runtime options for this request RuntimeOptions
9931
+ * @returns RemoveExternalSAMLIdPCertificateResponse
9254
9932
  */
9255
9933
  async removeExternalSAMLIdPCertificateWithOptions(request, runtime) {
9256
9934
  tea_util_1.default.validateModel(request);
@@ -9278,22 +9956,28 @@ class Client extends openapi_client_1.default {
9278
9956
  return $tea.cast(await this.callApi(params, req, runtime), new RemoveExternalSAMLIdPCertificateResponse({}));
9279
9957
  }
9280
9958
  /**
9281
- * This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
9282
- *
9283
- * @param request RemoveExternalSAMLIdPCertificateRequest
9284
- * @return RemoveExternalSAMLIdPCertificateResponse
9959
+ * Removes a Security Assertion Markup Language (SAML) signing certificate.
9960
+ *
9961
+ * @remarks
9962
+ * This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
9963
+ *
9964
+ * @param request - RemoveExternalSAMLIdPCertificateRequest
9965
+ * @returns RemoveExternalSAMLIdPCertificateResponse
9285
9966
  */
9286
9967
  async removeExternalSAMLIdPCertificate(request) {
9287
9968
  let runtime = new $Util.RuntimeOptions({});
9288
9969
  return await this.removeExternalSAMLIdPCertificateWithOptions(request, runtime);
9289
9970
  }
9290
9971
  /**
9291
- * After you remove an inline policy from an access configuration, the policy cannot be restored.
9292
- * This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
9293
- *
9294
- * @param request RemovePermissionPolicyFromAccessConfigurationRequest
9295
- * @param runtime runtime options for this request RuntimeOptions
9296
- * @return RemovePermissionPolicyFromAccessConfigurationResponse
9972
+ * Removes a policy from an access configuration.
9973
+ *
9974
+ * @remarks
9975
+ * After you remove an inline policy from an access configuration, the policy cannot be restored.
9976
+ * This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
9977
+ *
9978
+ * @param request - RemovePermissionPolicyFromAccessConfigurationRequest
9979
+ * @param runtime - runtime options for this request RuntimeOptions
9980
+ * @returns RemovePermissionPolicyFromAccessConfigurationResponse
9297
9981
  */
9298
9982
  async removePermissionPolicyFromAccessConfigurationWithOptions(request, runtime) {
9299
9983
  tea_util_1.default.validateModel(request);
@@ -9327,23 +10011,29 @@ class Client extends openapi_client_1.default {
9327
10011
  return $tea.cast(await this.callApi(params, req, runtime), new RemovePermissionPolicyFromAccessConfigurationResponse({}));
9328
10012
  }
9329
10013
  /**
9330
- * After you remove an inline policy from an access configuration, the policy cannot be restored.
9331
- * This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
9332
- *
9333
- * @param request RemovePermissionPolicyFromAccessConfigurationRequest
9334
- * @return RemovePermissionPolicyFromAccessConfigurationResponse
10014
+ * Removes a policy from an access configuration.
10015
+ *
10016
+ * @remarks
10017
+ * After you remove an inline policy from an access configuration, the policy cannot be restored.
10018
+ * This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
10019
+ *
10020
+ * @param request - RemovePermissionPolicyFromAccessConfigurationRequest
10021
+ * @returns RemovePermissionPolicyFromAccessConfigurationResponse
9335
10022
  */
9336
10023
  async removePermissionPolicyFromAccessConfiguration(request) {
9337
10024
  let runtime = new $Util.RuntimeOptions({});
9338
10025
  return await this.removePermissionPolicyFromAccessConfigurationWithOptions(request, runtime);
9339
10026
  }
9340
10027
  /**
9341
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot remove a user from a group that is synchronized by using SCIM.
9342
- * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
9343
- *
9344
- * @param request RemoveUserFromGroupRequest
9345
- * @param runtime runtime options for this request RuntimeOptions
9346
- * @return RemoveUserFromGroupResponse
10028
+ * Removes a user from a group.
10029
+ *
10030
+ * @remarks
10031
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot remove a user from a group that is synchronized by using SCIM.
10032
+ * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
10033
+ *
10034
+ * @param request - RemoveUserFromGroupRequest
10035
+ * @param runtime - runtime options for this request RuntimeOptions
10036
+ * @returns RemoveUserFromGroupResponse
9347
10037
  */
9348
10038
  async removeUserFromGroupWithOptions(request, runtime) {
9349
10039
  tea_util_1.default.validateModel(request);
@@ -9374,24 +10064,30 @@ class Client extends openapi_client_1.default {
9374
10064
  return $tea.cast(await this.callApi(params, req, runtime), new RemoveUserFromGroupResponse({}));
9375
10065
  }
9376
10066
  /**
9377
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot remove a user from a group that is synchronized by using SCIM.
9378
- * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
9379
- *
9380
- * @param request RemoveUserFromGroupRequest
9381
- * @return RemoveUserFromGroupResponse
10067
+ * Removes a user from a group.
10068
+ *
10069
+ * @remarks
10070
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot remove a user from a group that is synchronized by using SCIM.
10071
+ * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
10072
+ *
10073
+ * @param request - RemoveUserFromGroupRequest
10074
+ * @returns RemoveUserFromGroupResponse
9382
10075
  */
9383
10076
  async removeUserFromGroup(request) {
9384
10077
  let runtime = new $Util.RuntimeOptions({});
9385
10078
  return await this.removeUserFromGroupWithOptions(request, runtime);
9386
10079
  }
9387
10080
  /**
9388
- * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
9389
- * > After you enable SSO logon, your password cannot be reset.
9390
- * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
9391
- *
9392
- * @param request ResetUserPasswordRequest
9393
- * @param runtime runtime options for this request RuntimeOptions
9394
- * @return ResetUserPasswordResponse
10081
+ * Resets the password of a user.
10082
+ *
10083
+ * @remarks
10084
+ * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
10085
+ * > After you enable SSO logon, your password cannot be reset.
10086
+ * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
10087
+ *
10088
+ * @param request - ResetUserPasswordRequest
10089
+ * @param runtime - runtime options for this request RuntimeOptions
10090
+ * @returns ResetUserPasswordResponse
9395
10091
  */
9396
10092
  async resetUserPasswordWithOptions(request, runtime) {
9397
10093
  tea_util_1.default.validateModel(request);
@@ -9428,17 +10124,27 @@ class Client extends openapi_client_1.default {
9428
10124
  return $tea.cast(await this.callApi(params, req, runtime), new ResetUserPasswordResponse({}));
9429
10125
  }
9430
10126
  /**
9431
- * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
9432
- * > After you enable SSO logon, your password cannot be reset.
9433
- * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
9434
- *
9435
- * @param request ResetUserPasswordRequest
9436
- * @return ResetUserPasswordResponse
10127
+ * Resets the password of a user.
10128
+ *
10129
+ * @remarks
10130
+ * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
10131
+ * > After you enable SSO logon, your password cannot be reset.
10132
+ * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
10133
+ *
10134
+ * @param request - ResetUserPasswordRequest
10135
+ * @returns ResetUserPasswordResponse
9437
10136
  */
9438
10137
  async resetUserPassword(request) {
9439
10138
  let runtime = new $Util.RuntimeOptions({});
9440
10139
  return await this.resetUserPasswordWithOptions(request, runtime);
9441
10140
  }
10141
+ /**
10142
+ * Retries a Resource Access Management (RAM) user provisioning event.
10143
+ *
10144
+ * @param request - RetryUserProvisioningEventRequest
10145
+ * @param runtime - runtime options for this request RuntimeOptions
10146
+ * @returns RetryUserProvisioningEventResponse
10147
+ */
9442
10148
  async retryUserProvisioningEventWithOptions(request, runtime) {
9443
10149
  tea_util_1.default.validateModel(request);
9444
10150
  let query = {};
@@ -9467,28 +10173,40 @@ class Client extends openapi_client_1.default {
9467
10173
  });
9468
10174
  return $tea.cast(await this.callApi(params, req, runtime), new RetryUserProvisioningEventResponse({}));
9469
10175
  }
10176
+ /**
10177
+ * Retries a Resource Access Management (RAM) user provisioning event.
10178
+ *
10179
+ * @param request - RetryUserProvisioningEventRequest
10180
+ * @returns RetryUserProvisioningEventResponse
10181
+ */
9470
10182
  async retryUserProvisioningEvent(request) {
9471
10183
  let runtime = new $Util.RuntimeOptions({});
9472
10184
  return await this.retryUserProvisioningEventWithOptions(request, runtime);
9473
10185
  }
9474
10186
  /**
9475
- * 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.
9476
- * 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.
9477
- * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
9478
- * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
9479
- * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
9480
- * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
9481
- * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
9482
- * > If SSO logon is enabled, new configurations immediately take effect. Take note of the impacts on the production environment.
9483
- * This topic provides an example on how to configure an IdP by using the metadata file within the directory `d-00fc2p61****`.
9484
- *
9485
- * @param request SetExternalSAMLIdentityProviderRequest
9486
- * @param runtime runtime options for this request RuntimeOptions
9487
- * @return SetExternalSAMLIdentityProviderResponse
10187
+ * Configures a Security Assertion Markup Language (SAML) identity provider (IdP).
10188
+ *
10189
+ * @remarks
10190
+ * 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.
10191
+ * 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.
10192
+ * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
10193
+ * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
10194
+ * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
10195
+ * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
10196
+ * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
10197
+ * > If SSO logon is enabled, new configurations immediately take effect. Take note of the impacts on the production environment.
10198
+ * This topic provides an example on how to configure an IdP by using the metadata file within the directory `d-00fc2p61****`.
10199
+ *
10200
+ * @param request - SetExternalSAMLIdentityProviderRequest
10201
+ * @param runtime - runtime options for this request RuntimeOptions
10202
+ * @returns SetExternalSAMLIdentityProviderResponse
9488
10203
  */
9489
10204
  async setExternalSAMLIdentityProviderWithOptions(request, runtime) {
9490
10205
  tea_util_1.default.validateModel(request);
9491
10206
  let query = {};
10207
+ if (!tea_util_1.default.isUnset(request.bindingType)) {
10208
+ query["BindingType"] = request.bindingType;
10209
+ }
9492
10210
  if (!tea_util_1.default.isUnset(request.directoryId)) {
9493
10211
  query["DirectoryId"] = request.directoryId;
9494
10212
  }
@@ -9527,26 +10245,39 @@ class Client extends openapi_client_1.default {
9527
10245
  return $tea.cast(await this.callApi(params, req, runtime), new SetExternalSAMLIdentityProviderResponse({}));
9528
10246
  }
9529
10247
  /**
9530
- * 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.
9531
- * 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.
9532
- * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
9533
- * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
9534
- * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
9535
- * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
9536
- * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
9537
- * > If SSO logon is enabled, new configurations immediately take effect. Take note of the impacts on the production environment.
9538
- * This topic provides an example on how to configure an IdP by using the metadata file within the directory `d-00fc2p61****`.
9539
- *
9540
- * @param request SetExternalSAMLIdentityProviderRequest
9541
- * @return SetExternalSAMLIdentityProviderResponse
10248
+ * Configures a Security Assertion Markup Language (SAML) identity provider (IdP).
10249
+ *
10250
+ * @remarks
10251
+ * 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.
10252
+ * 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.
10253
+ * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
10254
+ * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
10255
+ * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
10256
+ * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
10257
+ * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
10258
+ * > If SSO logon is enabled, new configurations immediately take effect. Take note of the impacts on the production environment.
10259
+ * This topic provides an example on how to configure an IdP by using the metadata file within the directory `d-00fc2p61****`.
10260
+ *
10261
+ * @param request - SetExternalSAMLIdentityProviderRequest
10262
+ * @returns SetExternalSAMLIdentityProviderResponse
9542
10263
  */
9543
10264
  async setExternalSAMLIdentityProvider(request) {
9544
10265
  let runtime = new $Util.RuntimeOptions({});
9545
10266
  return await this.setExternalSAMLIdentityProviderWithOptions(request, runtime);
9546
10267
  }
10268
+ /**
10269
+ * Configures the logon preference of CloudSSO users.
10270
+ *
10271
+ * @param request - SetLoginPreferenceRequest
10272
+ * @param runtime - runtime options for this request RuntimeOptions
10273
+ * @returns SetLoginPreferenceResponse
10274
+ */
9547
10275
  async setLoginPreferenceWithOptions(request, runtime) {
9548
10276
  tea_util_1.default.validateModel(request);
9549
10277
  let query = {};
10278
+ if (!tea_util_1.default.isUnset(request.allowUserToGetCredentials)) {
10279
+ query["AllowUserToGetCredentials"] = request.allowUserToGetCredentials;
10280
+ }
9550
10281
  if (!tea_util_1.default.isUnset(request.directoryId)) {
9551
10282
  query["DirectoryId"] = request.directoryId;
9552
10283
  }
@@ -9569,17 +10300,26 @@ class Client extends openapi_client_1.default {
9569
10300
  });
9570
10301
  return $tea.cast(await this.callApi(params, req, runtime), new SetLoginPreferenceResponse({}));
9571
10302
  }
10303
+ /**
10304
+ * Configures the logon preference of CloudSSO users.
10305
+ *
10306
+ * @param request - SetLoginPreferenceRequest
10307
+ * @returns SetLoginPreferenceResponse
10308
+ */
9572
10309
  async setLoginPreference(request) {
9573
10310
  let runtime = new $Util.RuntimeOptions({});
9574
10311
  return await this.setLoginPreferenceWithOptions(request, runtime);
9575
10312
  }
9576
10313
  /**
9577
- * 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.
9578
- * This topic provides an example on how to enable MFA for users.
9579
- *
9580
- * @param request SetMFAAuthenticationStatusRequest
9581
- * @param runtime runtime options for this request RuntimeOptions
9582
- * @return SetMFAAuthenticationStatusResponse
10314
+ * Enables or disables multi-factor authentication (MFA) for users in a directory.
10315
+ *
10316
+ * @remarks
10317
+ * 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.
10318
+ * This topic provides an example on how to enable MFA for users.
10319
+ *
10320
+ * @param request - SetMFAAuthenticationStatusRequest
10321
+ * @param runtime - runtime options for this request RuntimeOptions
10322
+ * @returns SetMFAAuthenticationStatusResponse
9583
10323
  */
9584
10324
  async setMFAAuthenticationStatusWithOptions(request, runtime) {
9585
10325
  tea_util_1.default.validateModel(request);
@@ -9607,16 +10347,26 @@ class Client extends openapi_client_1.default {
9607
10347
  return $tea.cast(await this.callApi(params, req, runtime), new SetMFAAuthenticationStatusResponse({}));
9608
10348
  }
9609
10349
  /**
9610
- * 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.
9611
- * This topic provides an example on how to enable MFA for users.
9612
- *
9613
- * @param request SetMFAAuthenticationStatusRequest
9614
- * @return SetMFAAuthenticationStatusResponse
10350
+ * Enables or disables multi-factor authentication (MFA) for users in a directory.
10351
+ *
10352
+ * @remarks
10353
+ * 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.
10354
+ * This topic provides an example on how to enable MFA for users.
10355
+ *
10356
+ * @param request - SetMFAAuthenticationStatusRequest
10357
+ * @returns SetMFAAuthenticationStatusResponse
9615
10358
  */
9616
10359
  async setMFAAuthenticationStatus(request) {
9617
10360
  let runtime = new $Util.RuntimeOptions({});
9618
10361
  return await this.setMFAAuthenticationStatusWithOptions(request, runtime);
9619
10362
  }
10363
+ /**
10364
+ * Configures a password policy for CloudSSO users.
10365
+ *
10366
+ * @param request - SetPasswordPolicyRequest
10367
+ * @param runtime - runtime options for this request RuntimeOptions
10368
+ * @returns SetPasswordPolicyResponse
10369
+ */
9620
10370
  async setPasswordPolicyWithOptions(request, runtime) {
9621
10371
  tea_util_1.default.validateModel(request);
9622
10372
  let query = {};
@@ -9657,19 +10407,28 @@ class Client extends openapi_client_1.default {
9657
10407
  });
9658
10408
  return $tea.cast(await this.callApi(params, req, runtime), new SetPasswordPolicyResponse({}));
9659
10409
  }
10410
+ /**
10411
+ * Configures a password policy for CloudSSO users.
10412
+ *
10413
+ * @param request - SetPasswordPolicyRequest
10414
+ * @returns SetPasswordPolicyResponse
10415
+ */
9660
10416
  async setPasswordPolicy(request) {
9661
10417
  let runtime = new $Util.RuntimeOptions({});
9662
10418
  return await this.setPasswordPolicyWithOptions(request, runtime);
9663
10419
  }
9664
10420
  /**
9665
- * 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:
9666
- * * 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.
9667
- * * After you disable SCIM synchronization, you can modify and delete the users and groups that are synchronized to CloudSSO by using SCIM. You can also add users to or remove users from the groups.
9668
- * This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
9669
- *
9670
- * @param request SetSCIMSynchronizationStatusRequest
9671
- * @param runtime runtime options for this request RuntimeOptions
9672
- * @return SetSCIMSynchronizationStatusResponse
10421
+ * Enables or disables Cross-domain Identity Management (SCIM) synchronization.
10422
+ *
10423
+ * @remarks
10424
+ * 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:
10425
+ * * 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.
10426
+ * * After you disable SCIM synchronization, you can modify and delete the users and groups that are synchronized to CloudSSO by using SCIM. You can also add users to or remove users from the groups.
10427
+ * This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
10428
+ *
10429
+ * @param request - SetSCIMSynchronizationStatusRequest
10430
+ * @param runtime - runtime options for this request RuntimeOptions
10431
+ * @returns SetSCIMSynchronizationStatusResponse
9673
10432
  */
9674
10433
  async setSCIMSynchronizationStatusWithOptions(request, runtime) {
9675
10434
  tea_util_1.default.validateModel(request);
@@ -9697,25 +10456,31 @@ class Client extends openapi_client_1.default {
9697
10456
  return $tea.cast(await this.callApi(params, req, runtime), new SetSCIMSynchronizationStatusResponse({}));
9698
10457
  }
9699
10458
  /**
9700
- * 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:
9701
- * * 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.
9702
- * * After you disable SCIM synchronization, you can modify and delete the users and groups that are synchronized to CloudSSO by using SCIM. You can also add users to or remove users from the groups.
9703
- * This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
9704
- *
9705
- * @param request SetSCIMSynchronizationStatusRequest
9706
- * @return SetSCIMSynchronizationStatusResponse
10459
+ * Enables or disables Cross-domain Identity Management (SCIM) synchronization.
10460
+ *
10461
+ * @remarks
10462
+ * 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:
10463
+ * * 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.
10464
+ * * After you disable SCIM synchronization, you can modify and delete the users and groups that are synchronized to CloudSSO by using SCIM. You can also add users to or remove users from the groups.
10465
+ * This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
10466
+ *
10467
+ * @param request - SetSCIMSynchronizationStatusRequest
10468
+ * @returns SetSCIMSynchronizationStatusResponse
9707
10469
  */
9708
10470
  async setSCIMSynchronizationStatus(request) {
9709
10471
  let runtime = new $Util.RuntimeOptions({});
9710
10472
  return await this.setSCIMSynchronizationStatusWithOptions(request, runtime);
9711
10473
  }
9712
10474
  /**
9713
- * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
9714
- * This topic provides an example on how to change the initial web page in the access configuration `ac-00jhtfl8thteu6uj****` to `https://cloudsso.console.aliyun.com`.
9715
- *
9716
- * @param request UpdateAccessConfigurationRequest
9717
- * @param runtime runtime options for this request RuntimeOptions
9718
- * @return UpdateAccessConfigurationResponse
10475
+ * Modifies information about an access configuration.
10476
+ *
10477
+ * @remarks
10478
+ * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
10479
+ * This topic provides an example on how to change the initial web page in the access configuration `ac-00jhtfl8thteu6uj****` to `https://cloudsso.console.aliyun.com`.
10480
+ *
10481
+ * @param request - UpdateAccessConfigurationRequest
10482
+ * @param runtime - runtime options for this request RuntimeOptions
10483
+ * @returns UpdateAccessConfigurationResponse
9719
10484
  */
9720
10485
  async updateAccessConfigurationWithOptions(request, runtime) {
9721
10486
  tea_util_1.default.validateModel(request);
@@ -9752,23 +10517,29 @@ class Client extends openapi_client_1.default {
9752
10517
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateAccessConfigurationResponse({}));
9753
10518
  }
9754
10519
  /**
9755
- * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
9756
- * This topic provides an example on how to change the initial web page in the access configuration `ac-00jhtfl8thteu6uj****` to `https://cloudsso.console.aliyun.com`.
9757
- *
9758
- * @param request UpdateAccessConfigurationRequest
9759
- * @return UpdateAccessConfigurationResponse
10520
+ * Modifies information about an access configuration.
10521
+ *
10522
+ * @remarks
10523
+ * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
10524
+ * This topic provides an example on how to change the initial web page in the access configuration `ac-00jhtfl8thteu6uj****` to `https://cloudsso.console.aliyun.com`.
10525
+ *
10526
+ * @param request - UpdateAccessConfigurationRequest
10527
+ * @returns UpdateAccessConfigurationResponse
9760
10528
  */
9761
10529
  async updateAccessConfiguration(request) {
9762
10530
  let runtime = new $Util.RuntimeOptions({});
9763
10531
  return await this.updateAccessConfigurationWithOptions(request, runtime);
9764
10532
  }
9765
10533
  /**
9766
- * After you change the name of a directory, the URL that is used to log on to the Cloud SSO user portal is changed. You must notify the Cloud SSO users of the correct URL.
9767
- * This topic provides an example on how to change the name of a directory to `new-example`.
9768
- *
9769
- * @param request UpdateDirectoryRequest
9770
- * @param runtime runtime options for this request RuntimeOptions
9771
- * @return UpdateDirectoryResponse
10534
+ * Changes the name of a directory.
10535
+ *
10536
+ * @remarks
10537
+ * After you change the name of a directory, the URL that is used to log on to the Cloud SSO user portal is changed. You must notify the Cloud SSO users of the correct URL.
10538
+ * This topic provides an example on how to change the name of a directory to `new-example`.
10539
+ *
10540
+ * @param request - UpdateDirectoryRequest
10541
+ * @param runtime - runtime options for this request RuntimeOptions
10542
+ * @returns UpdateDirectoryResponse
9772
10543
  */
9773
10544
  async updateDirectoryWithOptions(request, runtime) {
9774
10545
  tea_util_1.default.validateModel(request);
@@ -9796,24 +10567,30 @@ class Client extends openapi_client_1.default {
9796
10567
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateDirectoryResponse({}));
9797
10568
  }
9798
10569
  /**
9799
- * After you change the name of a directory, the URL that is used to log on to the Cloud SSO user portal is changed. You must notify the Cloud SSO users of the correct URL.
9800
- * This topic provides an example on how to change the name of a directory to `new-example`.
9801
- *
9802
- * @param request UpdateDirectoryRequest
9803
- * @return UpdateDirectoryResponse
10570
+ * Changes the name of a directory.
10571
+ *
10572
+ * @remarks
10573
+ * After you change the name of a directory, the URL that is used to log on to the Cloud SSO user portal is changed. You must notify the Cloud SSO users of the correct URL.
10574
+ * This topic provides an example on how to change the name of a directory to `new-example`.
10575
+ *
10576
+ * @param request - UpdateDirectoryRequest
10577
+ * @returns UpdateDirectoryResponse
9804
10578
  */
9805
10579
  async updateDirectory(request) {
9806
10580
  let runtime = new $Util.RuntimeOptions({});
9807
10581
  return await this.updateDirectoryWithOptions(request, runtime);
9808
10582
  }
9809
10583
  /**
9810
- * You can modify `GroupName` and `Description` for a group.
9811
- * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a group that is synchronized by using SCIM.
9812
- * This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
9813
- *
9814
- * @param request UpdateGroupRequest
9815
- * @param runtime runtime options for this request RuntimeOptions
9816
- * @return UpdateGroupResponse
10584
+ * Modifies information about a group.
10585
+ *
10586
+ * @remarks
10587
+ * You can modify `GroupName` and `Description` for a group.
10588
+ * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a group that is synchronized by using SCIM.
10589
+ * This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
10590
+ *
10591
+ * @param request - UpdateGroupRequest
10592
+ * @param runtime - runtime options for this request RuntimeOptions
10593
+ * @returns UpdateGroupResponse
9817
10594
  */
9818
10595
  async updateGroupWithOptions(request, runtime) {
9819
10596
  tea_util_1.default.validateModel(request);
@@ -9847,23 +10624,29 @@ class Client extends openapi_client_1.default {
9847
10624
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateGroupResponse({}));
9848
10625
  }
9849
10626
  /**
9850
- * You can modify `GroupName` and `Description` for a group.
9851
- * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a group that is synchronized by using SCIM.
9852
- * This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
9853
- *
9854
- * @param request UpdateGroupRequest
9855
- * @return UpdateGroupResponse
10627
+ * Modifies information about a group.
10628
+ *
10629
+ * @remarks
10630
+ * You can modify `GroupName` and `Description` for a group.
10631
+ * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a group that is synchronized by using SCIM.
10632
+ * This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
10633
+ *
10634
+ * @param request - UpdateGroupRequest
10635
+ * @returns UpdateGroupResponse
9856
10636
  */
9857
10637
  async updateGroup(request) {
9858
10638
  let runtime = new $Util.RuntimeOptions({});
9859
10639
  return await this.updateGroupWithOptions(request, runtime);
9860
10640
  }
9861
10641
  /**
9862
- * This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
9863
- *
9864
- * @param request UpdateInlinePolicyForAccessConfigurationRequest
9865
- * @param runtime runtime options for this request RuntimeOptions
9866
- * @return UpdateInlinePolicyForAccessConfigurationResponse
10642
+ * Modifies an inline policy that is created for an access configuration.
10643
+ *
10644
+ * @remarks
10645
+ * This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
10646
+ *
10647
+ * @param request - UpdateInlinePolicyForAccessConfigurationRequest
10648
+ * @param runtime - runtime options for this request RuntimeOptions
10649
+ * @returns UpdateInlinePolicyForAccessConfigurationResponse
9867
10650
  */
9868
10651
  async updateInlinePolicyForAccessConfigurationWithOptions(request, runtime) {
9869
10652
  tea_util_1.default.validateModel(request);
@@ -9897,22 +10680,28 @@ class Client extends openapi_client_1.default {
9897
10680
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateInlinePolicyForAccessConfigurationResponse({}));
9898
10681
  }
9899
10682
  /**
9900
- * This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
9901
- *
9902
- * @param request UpdateInlinePolicyForAccessConfigurationRequest
9903
- * @return UpdateInlinePolicyForAccessConfigurationResponse
10683
+ * Modifies an inline policy that is created for an access configuration.
10684
+ *
10685
+ * @remarks
10686
+ * This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
10687
+ *
10688
+ * @param request - UpdateInlinePolicyForAccessConfigurationRequest
10689
+ * @returns UpdateInlinePolicyForAccessConfigurationResponse
9904
10690
  */
9905
10691
  async updateInlinePolicyForAccessConfiguration(request) {
9906
10692
  let runtime = new $Util.RuntimeOptions({});
9907
10693
  return await this.updateInlinePolicyForAccessConfigurationWithOptions(request, runtime);
9908
10694
  }
9909
10695
  /**
9910
- * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
9911
- * This topic provides an example on how to enable MFA for all CloudSSO users that belong to the directory named `d-00fc2p61****`.
9912
- *
9913
- * @param request UpdateMFAAuthenticationSettingsRequest
9914
- * @param runtime runtime options for this request RuntimeOptions
9915
- * @return UpdateMFAAuthenticationSettingsResponse
10696
+ * Modifies the multi-factor authentication (MFA) setting of all users.
10697
+ *
10698
+ * @remarks
10699
+ * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
10700
+ * This topic provides an example on how to enable MFA for all CloudSSO users that belong to the directory named `d-00fc2p61****`.
10701
+ *
10702
+ * @param request - UpdateMFAAuthenticationSettingsRequest
10703
+ * @param runtime - runtime options for this request RuntimeOptions
10704
+ * @returns UpdateMFAAuthenticationSettingsResponse
9916
10705
  */
9917
10706
  async updateMFAAuthenticationSettingsWithOptions(request, runtime) {
9918
10707
  tea_util_1.default.validateModel(request);
@@ -9943,22 +10732,28 @@ class Client extends openapi_client_1.default {
9943
10732
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateMFAAuthenticationSettingsResponse({}));
9944
10733
  }
9945
10734
  /**
9946
- * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
9947
- * This topic provides an example on how to enable MFA for all CloudSSO users that belong to the directory named `d-00fc2p61****`.
9948
- *
9949
- * @param request UpdateMFAAuthenticationSettingsRequest
9950
- * @return UpdateMFAAuthenticationSettingsResponse
10735
+ * Modifies the multi-factor authentication (MFA) setting of all users.
10736
+ *
10737
+ * @remarks
10738
+ * If you enable username-password logon for CloudSSO users, you can also configure MFA for the users.
10739
+ * This topic provides an example on how to enable MFA for all CloudSSO users that belong to the directory named `d-00fc2p61****`.
10740
+ *
10741
+ * @param request - UpdateMFAAuthenticationSettingsRequest
10742
+ * @returns UpdateMFAAuthenticationSettingsResponse
9951
10743
  */
9952
10744
  async updateMFAAuthenticationSettings(request) {
9953
10745
  let runtime = new $Util.RuntimeOptions({});
9954
10746
  return await this.updateMFAAuthenticationSettingsWithOptions(request, runtime);
9955
10747
  }
9956
10748
  /**
9957
- * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
9958
- *
9959
- * @param request UpdateSCIMServerCredentialStatusRequest
9960
- * @param runtime runtime options for this request RuntimeOptions
9961
- * @return UpdateSCIMServerCredentialStatusResponse
10749
+ * Enables or disables a Cross-domain Identity Management (SCIM) credential.
10750
+ *
10751
+ * @remarks
10752
+ * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
10753
+ *
10754
+ * @param request - UpdateSCIMServerCredentialStatusRequest
10755
+ * @param runtime - runtime options for this request RuntimeOptions
10756
+ * @returns UpdateSCIMServerCredentialStatusResponse
9962
10757
  */
9963
10758
  async updateSCIMServerCredentialStatusWithOptions(request, runtime) {
9964
10759
  tea_util_1.default.validateModel(request);
@@ -9989,23 +10784,29 @@ class Client extends openapi_client_1.default {
9989
10784
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateSCIMServerCredentialStatusResponse({}));
9990
10785
  }
9991
10786
  /**
9992
- * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
9993
- *
9994
- * @param request UpdateSCIMServerCredentialStatusRequest
9995
- * @return UpdateSCIMServerCredentialStatusResponse
10787
+ * Enables or disables a Cross-domain Identity Management (SCIM) credential.
10788
+ *
10789
+ * @remarks
10790
+ * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
10791
+ *
10792
+ * @param request - UpdateSCIMServerCredentialStatusRequest
10793
+ * @returns UpdateSCIMServerCredentialStatusResponse
9996
10794
  */
9997
10795
  async updateSCIMServerCredentialStatus(request) {
9998
10796
  let runtime = new $Util.RuntimeOptions({});
9999
10797
  return await this.updateSCIMServerCredentialStatusWithOptions(request, runtime);
10000
10798
  }
10001
10799
  /**
10002
- * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
10003
- * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a user that is synchronized by using SCIM.
10004
- * This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
10005
- *
10006
- * @param request UpdateUserRequest
10007
- * @param runtime runtime options for this request RuntimeOptions
10008
- * @return UpdateUserResponse
10800
+ * Modifies information about a user.
10801
+ *
10802
+ * @remarks
10803
+ * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
10804
+ * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a user that is synchronized by using SCIM.
10805
+ * This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
10806
+ *
10807
+ * @param request - UpdateUserRequest
10808
+ * @param runtime - runtime options for this request RuntimeOptions
10809
+ * @returns UpdateUserResponse
10009
10810
  */
10010
10811
  async updateUserWithOptions(request, runtime) {
10011
10812
  tea_util_1.default.validateModel(request);
@@ -10048,25 +10849,31 @@ class Client extends openapi_client_1.default {
10048
10849
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserResponse({}));
10049
10850
  }
10050
10851
  /**
10051
- * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
10052
- * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a user that is synchronized by using SCIM.
10053
- * This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
10054
- *
10055
- * @param request UpdateUserRequest
10056
- * @return UpdateUserResponse
10852
+ * Modifies information about a user.
10853
+ *
10854
+ * @remarks
10855
+ * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
10856
+ * > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a user that is synchronized by using SCIM.
10857
+ * This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
10858
+ *
10859
+ * @param request - UpdateUserRequest
10860
+ * @returns UpdateUserResponse
10057
10861
  */
10058
10862
  async updateUser(request) {
10059
10863
  let runtime = new $Util.RuntimeOptions({});
10060
10864
  return await this.updateUserWithOptions(request, runtime);
10061
10865
  }
10062
10866
  /**
10063
- * If you call the [UpdateMFAAuthenticationSettings](~~450134~~) operation to set the MFAAuthenticationSettings parameter to `Byuser`, user-specific settings are applied. Then, you must call the UpdateUserMFAAuthenticationSettings operation to configure MFA for each user.
10064
- * By default, the MFAAuthenticationSettings parameter is set to `Enabled` for a new user.
10065
- * This topic provides an example on how to enable MFA for the user named `u-00q8wbq42wiltcrk****`.
10066
- *
10067
- * @param request UpdateUserMFAAuthenticationSettingsRequest
10068
- * @param runtime runtime options for this request RuntimeOptions
10069
- * @return UpdateUserMFAAuthenticationSettingsResponse
10867
+ * Modifies the multi-factor authentication (MFA) setting of a single user.
10868
+ *
10869
+ * @remarks
10870
+ * If you call the [UpdateMFAAuthenticationSettings](https://help.aliyun.com/document_detail/450134.html) operation to set the MFAAuthenticationSettings parameter to `Byuser`, user-specific settings are applied. Then, you must call the UpdateUserMFAAuthenticationSettings operation to configure MFA for each user.
10871
+ * By default, the MFAAuthenticationSettings parameter is set to `Enabled` for a new user.
10872
+ * This topic provides an example on how to enable MFA for the user named `u-00q8wbq42wiltcrk****`.
10873
+ *
10874
+ * @param request - UpdateUserMFAAuthenticationSettingsRequest
10875
+ * @param runtime - runtime options for this request RuntimeOptions
10876
+ * @returns UpdateUserMFAAuthenticationSettingsResponse
10070
10877
  */
10071
10878
  async updateUserMFAAuthenticationSettingsWithOptions(request, runtime) {
10072
10879
  tea_util_1.default.validateModel(request);
@@ -10097,17 +10904,27 @@ class Client extends openapi_client_1.default {
10097
10904
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserMFAAuthenticationSettingsResponse({}));
10098
10905
  }
10099
10906
  /**
10100
- * If you call the [UpdateMFAAuthenticationSettings](~~450134~~) operation to set the MFAAuthenticationSettings parameter to `Byuser`, user-specific settings are applied. Then, you must call the UpdateUserMFAAuthenticationSettings operation to configure MFA for each user.
10101
- * By default, the MFAAuthenticationSettings parameter is set to `Enabled` for a new user.
10102
- * This topic provides an example on how to enable MFA for the user named `u-00q8wbq42wiltcrk****`.
10103
- *
10104
- * @param request UpdateUserMFAAuthenticationSettingsRequest
10105
- * @return UpdateUserMFAAuthenticationSettingsResponse
10907
+ * Modifies the multi-factor authentication (MFA) setting of a single user.
10908
+ *
10909
+ * @remarks
10910
+ * If you call the [UpdateMFAAuthenticationSettings](https://help.aliyun.com/document_detail/450134.html) operation to set the MFAAuthenticationSettings parameter to `Byuser`, user-specific settings are applied. Then, you must call the UpdateUserMFAAuthenticationSettings operation to configure MFA for each user.
10911
+ * By default, the MFAAuthenticationSettings parameter is set to `Enabled` for a new user.
10912
+ * This topic provides an example on how to enable MFA for the user named `u-00q8wbq42wiltcrk****`.
10913
+ *
10914
+ * @param request - UpdateUserMFAAuthenticationSettingsRequest
10915
+ * @returns UpdateUserMFAAuthenticationSettingsResponse
10106
10916
  */
10107
10917
  async updateUserMFAAuthenticationSettings(request) {
10108
10918
  let runtime = new $Util.RuntimeOptions({});
10109
10919
  return await this.updateUserMFAAuthenticationSettingsWithOptions(request, runtime);
10110
10920
  }
10921
+ /**
10922
+ * Modifies a Resource Access Management (RAM) user provisioning.
10923
+ *
10924
+ * @param request - UpdateUserProvisioningRequest
10925
+ * @param runtime - runtime options for this request RuntimeOptions
10926
+ * @returns UpdateUserProvisioningResponse
10927
+ */
10111
10928
  async updateUserProvisioningWithOptions(request, runtime) {
10112
10929
  tea_util_1.default.validateModel(request);
10113
10930
  let query = {};
@@ -10142,10 +10959,23 @@ class Client extends openapi_client_1.default {
10142
10959
  });
10143
10960
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserProvisioningResponse({}));
10144
10961
  }
10962
+ /**
10963
+ * Modifies a Resource Access Management (RAM) user provisioning.
10964
+ *
10965
+ * @param request - UpdateUserProvisioningRequest
10966
+ * @returns UpdateUserProvisioningResponse
10967
+ */
10145
10968
  async updateUserProvisioning(request) {
10146
10969
  let runtime = new $Util.RuntimeOptions({});
10147
10970
  return await this.updateUserProvisioningWithOptions(request, runtime);
10148
10971
  }
10972
+ /**
10973
+ * Modifies the global configurations of a Resource Access Management (RAM) user provisioning.
10974
+ *
10975
+ * @param request - UpdateUserProvisioningConfigurationRequest
10976
+ * @param runtime - runtime options for this request RuntimeOptions
10977
+ * @returns UpdateUserProvisioningConfigurationResponse
10978
+ */
10149
10979
  async updateUserProvisioningConfigurationWithOptions(request, runtime) {
10150
10980
  tea_util_1.default.validateModel(request);
10151
10981
  let query = {};
@@ -10174,16 +11004,25 @@ class Client extends openapi_client_1.default {
10174
11004
  });
10175
11005
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserProvisioningConfigurationResponse({}));
10176
11006
  }
11007
+ /**
11008
+ * Modifies the global configurations of a Resource Access Management (RAM) user provisioning.
11009
+ *
11010
+ * @param request - UpdateUserProvisioningConfigurationRequest
11011
+ * @returns UpdateUserProvisioningConfigurationResponse
11012
+ */
10177
11013
  async updateUserProvisioningConfiguration(request) {
10178
11014
  let runtime = new $Util.RuntimeOptions({});
10179
11015
  return await this.updateUserProvisioningConfigurationWithOptions(request, runtime);
10180
11016
  }
10181
11017
  /**
10182
- * 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.
10183
- *
10184
- * @param request UpdateUserStatusRequest
10185
- * @param runtime runtime options for this request RuntimeOptions
10186
- * @return UpdateUserStatusResponse
11018
+ * Changes the status of a user.
11019
+ *
11020
+ * @remarks
11021
+ * 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.
11022
+ *
11023
+ * @param request - UpdateUserStatusRequest
11024
+ * @param runtime - runtime options for this request RuntimeOptions
11025
+ * @returns UpdateUserStatusResponse
10187
11026
  */
10188
11027
  async updateUserStatusWithOptions(request, runtime) {
10189
11028
  tea_util_1.default.validateModel(request);
@@ -10214,10 +11053,13 @@ class Client extends openapi_client_1.default {
10214
11053
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserStatusResponse({}));
10215
11054
  }
10216
11055
  /**
10217
- * 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.
10218
- *
10219
- * @param request UpdateUserStatusRequest
10220
- * @return UpdateUserStatusResponse
11056
+ * Changes the status of a user.
11057
+ *
11058
+ * @remarks
11059
+ * 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.
11060
+ *
11061
+ * @param request - UpdateUserStatusRequest
11062
+ * @returns UpdateUserStatusResponse
10221
11063
  */
10222
11064
  async updateUserStatus(request) {
10223
11065
  let runtime = new $Util.RuntimeOptions({});