@aws-sdk/client-workmail 3.414.0 → 3.418.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist-cjs/WorkMail.js +8 -0
- package/dist-cjs/commands/AssociateDelegateToResourceCommand.js +5 -0
- package/dist-cjs/commands/AssociateMemberToGroupCommand.js +5 -0
- package/dist-cjs/commands/AssumeImpersonationRoleCommand.js +5 -0
- package/dist-cjs/commands/CancelMailboxExportJobCommand.js +5 -0
- package/dist-cjs/commands/CreateAliasCommand.js +5 -0
- package/dist-cjs/commands/CreateAvailabilityConfigurationCommand.js +5 -0
- package/dist-cjs/commands/CreateGroupCommand.js +5 -0
- package/dist-cjs/commands/CreateImpersonationRoleCommand.js +5 -0
- package/dist-cjs/commands/CreateMobileDeviceAccessRuleCommand.js +5 -0
- package/dist-cjs/commands/CreateOrganizationCommand.js +5 -0
- package/dist-cjs/commands/CreateResourceCommand.js +5 -0
- package/dist-cjs/commands/CreateUserCommand.js +5 -0
- package/dist-cjs/commands/DeleteAccessControlRuleCommand.js +5 -0
- package/dist-cjs/commands/DeleteAliasCommand.js +5 -0
- package/dist-cjs/commands/DeleteAvailabilityConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DeleteEmailMonitoringConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +5 -0
- package/dist-cjs/commands/DeleteImpersonationRoleCommand.js +5 -0
- package/dist-cjs/commands/DeleteMailboxPermissionsCommand.js +5 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessOverrideCommand.js +5 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessRuleCommand.js +5 -0
- package/dist-cjs/commands/DeleteOrganizationCommand.js +5 -0
- package/dist-cjs/commands/DeleteResourceCommand.js +5 -0
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +5 -0
- package/dist-cjs/commands/DeleteUserCommand.js +5 -0
- package/dist-cjs/commands/DeregisterFromWorkMailCommand.js +5 -0
- package/dist-cjs/commands/DeregisterMailDomainCommand.js +5 -0
- package/dist-cjs/commands/DescribeEmailMonitoringConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DescribeEntityCommand.js +51 -0
- package/dist-cjs/commands/DescribeGroupCommand.js +5 -0
- package/dist-cjs/commands/DescribeInboundDmarcSettingsCommand.js +5 -0
- package/dist-cjs/commands/DescribeMailboxExportJobCommand.js +5 -0
- package/dist-cjs/commands/DescribeOrganizationCommand.js +5 -0
- package/dist-cjs/commands/DescribeResourceCommand.js +5 -0
- package/dist-cjs/commands/DescribeUserCommand.js +7 -1
- package/dist-cjs/commands/DisassociateDelegateFromResourceCommand.js +5 -0
- package/dist-cjs/commands/DisassociateMemberFromGroupCommand.js +5 -0
- package/dist-cjs/commands/GetAccessControlEffectCommand.js +5 -0
- package/dist-cjs/commands/GetDefaultRetentionPolicyCommand.js +5 -0
- package/dist-cjs/commands/GetImpersonationRoleCommand.js +5 -0
- package/dist-cjs/commands/GetImpersonationRoleEffectCommand.js +5 -0
- package/dist-cjs/commands/GetMailDomainCommand.js +5 -0
- package/dist-cjs/commands/GetMailboxDetailsCommand.js +5 -0
- package/dist-cjs/commands/GetMobileDeviceAccessEffectCommand.js +5 -0
- package/dist-cjs/commands/GetMobileDeviceAccessOverrideCommand.js +5 -0
- package/dist-cjs/commands/ListAccessControlRulesCommand.js +5 -0
- package/dist-cjs/commands/ListAliasesCommand.js +5 -0
- package/dist-cjs/commands/ListAvailabilityConfigurationsCommand.js +5 -0
- package/dist-cjs/commands/ListGroupMembersCommand.js +5 -0
- package/dist-cjs/commands/ListGroupsCommand.js +5 -0
- package/dist-cjs/commands/ListGroupsForEntityCommand.js +51 -0
- package/dist-cjs/commands/ListImpersonationRolesCommand.js +5 -0
- package/dist-cjs/commands/ListMailDomainsCommand.js +5 -0
- package/dist-cjs/commands/ListMailboxExportJobsCommand.js +5 -0
- package/dist-cjs/commands/ListMailboxPermissionsCommand.js +5 -0
- package/dist-cjs/commands/ListMobileDeviceAccessOverridesCommand.js +5 -0
- package/dist-cjs/commands/ListMobileDeviceAccessRulesCommand.js +5 -0
- package/dist-cjs/commands/ListOrganizationsCommand.js +5 -0
- package/dist-cjs/commands/ListResourceDelegatesCommand.js +5 -0
- package/dist-cjs/commands/ListResourcesCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/ListUsersCommand.js +7 -1
- package/dist-cjs/commands/PutAccessControlRuleCommand.js +5 -0
- package/dist-cjs/commands/PutEmailMonitoringConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutInboundDmarcSettingsCommand.js +5 -0
- package/dist-cjs/commands/PutMailboxPermissionsCommand.js +5 -0
- package/dist-cjs/commands/PutMobileDeviceAccessOverrideCommand.js +5 -0
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +5 -0
- package/dist-cjs/commands/RegisterMailDomainCommand.js +5 -0
- package/dist-cjs/commands/RegisterToWorkMailCommand.js +5 -0
- package/dist-cjs/commands/ResetPasswordCommand.js +5 -0
- package/dist-cjs/commands/StartMailboxExportJobCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/TestAvailabilityConfigurationCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/commands/UpdateAvailabilityConfigurationCommand.js +5 -0
- package/dist-cjs/commands/UpdateDefaultMailDomainCommand.js +5 -0
- package/dist-cjs/commands/UpdateGroupCommand.js +51 -0
- package/dist-cjs/commands/UpdateImpersonationRoleCommand.js +5 -0
- package/dist-cjs/commands/UpdateMailboxQuotaCommand.js +5 -0
- package/dist-cjs/commands/UpdateMobileDeviceAccessRuleCommand.js +5 -0
- package/dist-cjs/commands/UpdatePrimaryEmailAddressCommand.js +5 -0
- package/dist-cjs/commands/UpdateResourceCommand.js +5 -0
- package/dist-cjs/commands/UpdateUserCommand.js +52 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +73 -20
- package/dist-cjs/pagination/ListGroupsForEntityPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +276 -4
- package/dist-es/WorkMail.js +8 -0
- package/dist-es/commands/AssociateDelegateToResourceCommand.js +5 -0
- package/dist-es/commands/AssociateMemberToGroupCommand.js +5 -0
- package/dist-es/commands/AssumeImpersonationRoleCommand.js +5 -0
- package/dist-es/commands/CancelMailboxExportJobCommand.js +5 -0
- package/dist-es/commands/CreateAliasCommand.js +5 -0
- package/dist-es/commands/CreateAvailabilityConfigurationCommand.js +5 -0
- package/dist-es/commands/CreateGroupCommand.js +5 -0
- package/dist-es/commands/CreateImpersonationRoleCommand.js +5 -0
- package/dist-es/commands/CreateMobileDeviceAccessRuleCommand.js +5 -0
- package/dist-es/commands/CreateOrganizationCommand.js +5 -0
- package/dist-es/commands/CreateResourceCommand.js +5 -0
- package/dist-es/commands/CreateUserCommand.js +5 -0
- package/dist-es/commands/DeleteAccessControlRuleCommand.js +5 -0
- package/dist-es/commands/DeleteAliasCommand.js +5 -0
- package/dist-es/commands/DeleteAvailabilityConfigurationCommand.js +5 -0
- package/dist-es/commands/DeleteEmailMonitoringConfigurationCommand.js +5 -0
- package/dist-es/commands/DeleteGroupCommand.js +5 -0
- package/dist-es/commands/DeleteImpersonationRoleCommand.js +5 -0
- package/dist-es/commands/DeleteMailboxPermissionsCommand.js +5 -0
- package/dist-es/commands/DeleteMobileDeviceAccessOverrideCommand.js +5 -0
- package/dist-es/commands/DeleteMobileDeviceAccessRuleCommand.js +5 -0
- package/dist-es/commands/DeleteOrganizationCommand.js +5 -0
- package/dist-es/commands/DeleteResourceCommand.js +5 -0
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +5 -0
- package/dist-es/commands/DeleteUserCommand.js +5 -0
- package/dist-es/commands/DeregisterFromWorkMailCommand.js +5 -0
- package/dist-es/commands/DeregisterMailDomainCommand.js +5 -0
- package/dist-es/commands/DescribeEmailMonitoringConfigurationCommand.js +5 -0
- package/dist-es/commands/DescribeEntityCommand.js +47 -0
- package/dist-es/commands/DescribeGroupCommand.js +5 -0
- package/dist-es/commands/DescribeInboundDmarcSettingsCommand.js +5 -0
- package/dist-es/commands/DescribeMailboxExportJobCommand.js +5 -0
- package/dist-es/commands/DescribeOrganizationCommand.js +5 -0
- package/dist-es/commands/DescribeResourceCommand.js +5 -0
- package/dist-es/commands/DescribeUserCommand.js +7 -1
- package/dist-es/commands/DisassociateDelegateFromResourceCommand.js +5 -0
- package/dist-es/commands/DisassociateMemberFromGroupCommand.js +5 -0
- package/dist-es/commands/GetAccessControlEffectCommand.js +5 -0
- package/dist-es/commands/GetDefaultRetentionPolicyCommand.js +5 -0
- package/dist-es/commands/GetImpersonationRoleCommand.js +5 -0
- package/dist-es/commands/GetImpersonationRoleEffectCommand.js +5 -0
- package/dist-es/commands/GetMailDomainCommand.js +5 -0
- package/dist-es/commands/GetMailboxDetailsCommand.js +5 -0
- package/dist-es/commands/GetMobileDeviceAccessEffectCommand.js +5 -0
- package/dist-es/commands/GetMobileDeviceAccessOverrideCommand.js +5 -0
- package/dist-es/commands/ListAccessControlRulesCommand.js +5 -0
- package/dist-es/commands/ListAliasesCommand.js +5 -0
- package/dist-es/commands/ListAvailabilityConfigurationsCommand.js +5 -0
- package/dist-es/commands/ListGroupMembersCommand.js +5 -0
- package/dist-es/commands/ListGroupsCommand.js +5 -0
- package/dist-es/commands/ListGroupsForEntityCommand.js +47 -0
- package/dist-es/commands/ListImpersonationRolesCommand.js +5 -0
- package/dist-es/commands/ListMailDomainsCommand.js +5 -0
- package/dist-es/commands/ListMailboxExportJobsCommand.js +5 -0
- package/dist-es/commands/ListMailboxPermissionsCommand.js +5 -0
- package/dist-es/commands/ListMobileDeviceAccessOverridesCommand.js +5 -0
- package/dist-es/commands/ListMobileDeviceAccessRulesCommand.js +5 -0
- package/dist-es/commands/ListOrganizationsCommand.js +5 -0
- package/dist-es/commands/ListResourceDelegatesCommand.js +5 -0
- package/dist-es/commands/ListResourcesCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/ListUsersCommand.js +7 -1
- package/dist-es/commands/PutAccessControlRuleCommand.js +5 -0
- package/dist-es/commands/PutEmailMonitoringConfigurationCommand.js +5 -0
- package/dist-es/commands/PutInboundDmarcSettingsCommand.js +5 -0
- package/dist-es/commands/PutMailboxPermissionsCommand.js +5 -0
- package/dist-es/commands/PutMobileDeviceAccessOverrideCommand.js +5 -0
- package/dist-es/commands/PutRetentionPolicyCommand.js +5 -0
- package/dist-es/commands/RegisterMailDomainCommand.js +5 -0
- package/dist-es/commands/RegisterToWorkMailCommand.js +5 -0
- package/dist-es/commands/ResetPasswordCommand.js +5 -0
- package/dist-es/commands/StartMailboxExportJobCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/TestAvailabilityConfigurationCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/commands/UpdateAvailabilityConfigurationCommand.js +5 -0
- package/dist-es/commands/UpdateDefaultMailDomainCommand.js +5 -0
- package/dist-es/commands/UpdateGroupCommand.js +47 -0
- package/dist-es/commands/UpdateImpersonationRoleCommand.js +5 -0
- package/dist-es/commands/UpdateMailboxQuotaCommand.js +5 -0
- package/dist-es/commands/UpdateMobileDeviceAccessRuleCommand.js +5 -0
- package/dist-es/commands/UpdatePrimaryEmailAddressCommand.js +5 -0
- package/dist-es/commands/UpdateResourceCommand.js +5 -0
- package/dist-es/commands/UpdateUserCommand.js +48 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +66 -17
- package/dist-es/pagination/ListGroupsForEntityPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +265 -1
- package/dist-types/WorkMail.d.ts +28 -0
- package/dist-types/WorkMailClient.d.ts +6 -2
- package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +3 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourceCommand.d.ts +5 -0
- package/dist-types/commands/CreateUserCommand.d.ts +5 -1
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteResourceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEntityCommand.d.ts +91 -0
- package/dist-types/commands/DescribeGroupCommand.d.ts +1 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeResourceCommand.d.ts +5 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +16 -1
- package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +3 -0
- package/dist-types/commands/GetMailboxDetailsCommand.d.ts +3 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
- package/dist-types/commands/ListGroupsForEntityCommand.d.ts +104 -0
- package/dist-types/commands/ListResourceDelegatesCommand.d.ts +3 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +9 -0
- package/dist-types/commands/ListUsersCommand.d.ts +7 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +95 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +9 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +117 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +921 -58
- package/dist-types/pagination/ListGroupsForEntityPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/WorkMail.d.ts +68 -0
- package/dist-types/ts3.4/WorkMailClient.d.ts +26 -2
- package/dist-types/ts3.4/commands/DescribeEntityCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListGroupsForEntityCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +139 -16
- package/dist-types/ts3.4/pagination/ListGroupsForEntityPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +31 -31
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateUserCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
+
class UpdateUserCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "WorkMailClient";
|
|
30
|
+
const commandName = "UpdateUserCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.UpdateUserRequestFilterSensitiveLog,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "WorkMailService",
|
|
39
|
+
operation: "UpdateUser",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_json1_1_1.se_UpdateUserCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_json1_1_1.de_UpdateUserCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.UpdateUserCommand = UpdateUserCommand;
|
|
@@ -29,6 +29,7 @@ tslib_1.__exportStar(require("./DeleteUserCommand"), exports);
|
|
|
29
29
|
tslib_1.__exportStar(require("./DeregisterFromWorkMailCommand"), exports);
|
|
30
30
|
tslib_1.__exportStar(require("./DeregisterMailDomainCommand"), exports);
|
|
31
31
|
tslib_1.__exportStar(require("./DescribeEmailMonitoringConfigurationCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./DescribeEntityCommand"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./DescribeGroupCommand"), exports);
|
|
33
34
|
tslib_1.__exportStar(require("./DescribeInboundDmarcSettingsCommand"), exports);
|
|
34
35
|
tslib_1.__exportStar(require("./DescribeMailboxExportJobCommand"), exports);
|
|
@@ -50,6 +51,7 @@ tslib_1.__exportStar(require("./ListAliasesCommand"), exports);
|
|
|
50
51
|
tslib_1.__exportStar(require("./ListAvailabilityConfigurationsCommand"), exports);
|
|
51
52
|
tslib_1.__exportStar(require("./ListGroupMembersCommand"), exports);
|
|
52
53
|
tslib_1.__exportStar(require("./ListGroupsCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./ListGroupsForEntityCommand"), exports);
|
|
53
55
|
tslib_1.__exportStar(require("./ListImpersonationRolesCommand"), exports);
|
|
54
56
|
tslib_1.__exportStar(require("./ListMailDomainsCommand"), exports);
|
|
55
57
|
tslib_1.__exportStar(require("./ListMailboxExportJobsCommand"), exports);
|
|
@@ -76,8 +78,10 @@ tslib_1.__exportStar(require("./TestAvailabilityConfigurationCommand"), exports)
|
|
|
76
78
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
77
79
|
tslib_1.__exportStar(require("./UpdateAvailabilityConfigurationCommand"), exports);
|
|
78
80
|
tslib_1.__exportStar(require("./UpdateDefaultMailDomainCommand"), exports);
|
|
81
|
+
tslib_1.__exportStar(require("./UpdateGroupCommand"), exports);
|
|
79
82
|
tslib_1.__exportStar(require("./UpdateImpersonationRoleCommand"), exports);
|
|
80
83
|
tslib_1.__exportStar(require("./UpdateMailboxQuotaCommand"), exports);
|
|
81
84
|
tslib_1.__exportStar(require("./UpdateMobileDeviceAccessRuleCommand"), exports);
|
|
82
85
|
tslib_1.__exportStar(require("./UpdatePrimaryEmailAddressCommand"), exports);
|
|
83
86
|
tslib_1.__exportStar(require("./UpdateResourceCommand"), exports);
|
|
87
|
+
tslib_1.__exportStar(require("./UpdateUserCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateAvailabilityConfigurationRequestFilterSensitiveLog = exports.TestAvailabilityConfigurationRequestFilterSensitiveLog = exports.ResetPasswordRequestFilterSensitiveLog = exports.PutRetentionPolicyRequestFilterSensitiveLog = exports.CreateUserRequestFilterSensitiveLog = exports.CreateAvailabilityConfigurationRequestFilterSensitiveLog = exports.EwsAvailabilityProviderFilterSensitiveLog = exports.TooManyTagsException = exports.PermissionType = exports.InvalidConfigurationException = exports.FolderName = exports.RetentionAction = exports.EntityAlreadyRegisteredException = exports.DnsRecordVerificationStatus = exports.
|
|
3
|
+
exports.UpdateUserRequestFilterSensitiveLog = exports.UpdateAvailabilityConfigurationRequestFilterSensitiveLog = exports.TestAvailabilityConfigurationRequestFilterSensitiveLog = exports.ResetPasswordRequestFilterSensitiveLog = exports.PutRetentionPolicyRequestFilterSensitiveLog = exports.ListUsersRequestFilterSensitiveLog = exports.ListUsersFiltersFilterSensitiveLog = exports.DescribeUserResponseFilterSensitiveLog = exports.CreateUserRequestFilterSensitiveLog = exports.CreateAvailabilityConfigurationRequestFilterSensitiveLog = exports.EwsAvailabilityProviderFilterSensitiveLog = exports.TooManyTagsException = exports.PermissionType = exports.InvalidConfigurationException = exports.FolderName = exports.RetentionAction = exports.EntityAlreadyRegisteredException = exports.DnsRecordVerificationStatus = exports.MailboxExportJobState = exports.EntityState = exports.EntityType = exports.MailDomainInUseException = exports.InvalidCustomSesConfigurationException = exports.MemberType = exports.InvalidPasswordException = exports.UserRole = exports.ResourceType = exports.DirectoryInUseException = exports.MobileDeviceAccessRuleEffect = exports.ImpersonationRoleType = exports.ReservedNameException = exports.NameAvailabilityException = exports.MailDomainStateException = exports.MailDomainNotFoundException = exports.LimitExceededException = exports.EmailAddressInUseException = exports.AvailabilityProviderType = exports.ResourceNotFoundException = exports.DirectoryUnavailableException = exports.DirectoryServiceAuthenticationFailedException = exports.UnsupportedOperationException = exports.OrganizationStateException = exports.OrganizationNotFoundException = exports.InvalidParameterException = exports.EntityStateException = exports.EntityNotFoundException = exports.AccessEffect = exports.AccessControlRuleEffect = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const WorkMailServiceException_1 = require("./WorkMailServiceException");
|
|
6
6
|
exports.AccessControlRuleEffect = {
|
|
@@ -81,6 +81,20 @@ class OrganizationStateException extends WorkMailServiceException_1.WorkMailServ
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
exports.OrganizationStateException = OrganizationStateException;
|
|
84
|
+
class UnsupportedOperationException extends WorkMailServiceException_1.WorkMailServiceException {
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "UnsupportedOperationException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
this.name = "UnsupportedOperationException";
|
|
92
|
+
this.$fault = "client";
|
|
93
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
94
|
+
this.Message = opts.Message;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
84
98
|
class DirectoryServiceAuthenticationFailedException extends WorkMailServiceException_1.WorkMailServiceException {
|
|
85
99
|
constructor(opts) {
|
|
86
100
|
super({
|
|
@@ -109,20 +123,6 @@ class DirectoryUnavailableException extends WorkMailServiceException_1.WorkMailS
|
|
|
109
123
|
}
|
|
110
124
|
}
|
|
111
125
|
exports.DirectoryUnavailableException = DirectoryUnavailableException;
|
|
112
|
-
class UnsupportedOperationException extends WorkMailServiceException_1.WorkMailServiceException {
|
|
113
|
-
constructor(opts) {
|
|
114
|
-
super({
|
|
115
|
-
name: "UnsupportedOperationException",
|
|
116
|
-
$fault: "client",
|
|
117
|
-
...opts,
|
|
118
|
-
});
|
|
119
|
-
this.name = "UnsupportedOperationException";
|
|
120
|
-
this.$fault = "client";
|
|
121
|
-
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
122
|
-
this.Message = opts.Message;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
126
126
|
class ResourceNotFoundException extends WorkMailServiceException_1.WorkMailServiceException {
|
|
127
127
|
constructor(opts) {
|
|
128
128
|
super({
|
|
@@ -251,6 +251,12 @@ exports.ResourceType = {
|
|
|
251
251
|
EQUIPMENT: "EQUIPMENT",
|
|
252
252
|
ROOM: "ROOM",
|
|
253
253
|
};
|
|
254
|
+
exports.UserRole = {
|
|
255
|
+
REMOTE_USER: "REMOTE_USER",
|
|
256
|
+
RESOURCE: "RESOURCE",
|
|
257
|
+
SYSTEM_USER: "SYSTEM_USER",
|
|
258
|
+
USER: "USER",
|
|
259
|
+
};
|
|
254
260
|
class InvalidPasswordException extends WorkMailServiceException_1.WorkMailServiceException {
|
|
255
261
|
constructor(opts) {
|
|
256
262
|
super({
|
|
@@ -297,6 +303,11 @@ class MailDomainInUseException extends WorkMailServiceException_1.WorkMailServic
|
|
|
297
303
|
}
|
|
298
304
|
}
|
|
299
305
|
exports.MailDomainInUseException = MailDomainInUseException;
|
|
306
|
+
exports.EntityType = {
|
|
307
|
+
GROUP: "GROUP",
|
|
308
|
+
RESOURCE: "RESOURCE",
|
|
309
|
+
USER: "USER",
|
|
310
|
+
};
|
|
300
311
|
exports.EntityState = {
|
|
301
312
|
DELETED: "DELETED",
|
|
302
313
|
DISABLED: "DISABLED",
|
|
@@ -308,11 +319,6 @@ exports.MailboxExportJobState = {
|
|
|
308
319
|
FAILED: "FAILED",
|
|
309
320
|
RUNNING: "RUNNING",
|
|
310
321
|
};
|
|
311
|
-
exports.UserRole = {
|
|
312
|
-
RESOURCE: "RESOURCE",
|
|
313
|
-
SYSTEM_USER: "SYSTEM_USER",
|
|
314
|
-
USER: "USER",
|
|
315
|
-
};
|
|
316
322
|
exports.DnsRecordVerificationStatus = {
|
|
317
323
|
FAILED: "FAILED",
|
|
318
324
|
PENDING: "PENDING",
|
|
@@ -389,9 +395,39 @@ const CreateAvailabilityConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
|
389
395
|
exports.CreateAvailabilityConfigurationRequestFilterSensitiveLog = CreateAvailabilityConfigurationRequestFilterSensitiveLog;
|
|
390
396
|
const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
391
397
|
...obj,
|
|
398
|
+
...(obj.DisplayName && { DisplayName: smithy_client_1.SENSITIVE_STRING }),
|
|
392
399
|
...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
|
|
400
|
+
...(obj.FirstName && { FirstName: smithy_client_1.SENSITIVE_STRING }),
|
|
401
|
+
...(obj.LastName && { LastName: smithy_client_1.SENSITIVE_STRING }),
|
|
393
402
|
});
|
|
394
403
|
exports.CreateUserRequestFilterSensitiveLog = CreateUserRequestFilterSensitiveLog;
|
|
404
|
+
const DescribeUserResponseFilterSensitiveLog = (obj) => ({
|
|
405
|
+
...obj,
|
|
406
|
+
...(obj.DisplayName && { DisplayName: smithy_client_1.SENSITIVE_STRING }),
|
|
407
|
+
...(obj.FirstName && { FirstName: smithy_client_1.SENSITIVE_STRING }),
|
|
408
|
+
...(obj.LastName && { LastName: smithy_client_1.SENSITIVE_STRING }),
|
|
409
|
+
...(obj.Initials && { Initials: smithy_client_1.SENSITIVE_STRING }),
|
|
410
|
+
...(obj.Telephone && { Telephone: smithy_client_1.SENSITIVE_STRING }),
|
|
411
|
+
...(obj.Street && { Street: smithy_client_1.SENSITIVE_STRING }),
|
|
412
|
+
...(obj.JobTitle && { JobTitle: smithy_client_1.SENSITIVE_STRING }),
|
|
413
|
+
...(obj.City && { City: smithy_client_1.SENSITIVE_STRING }),
|
|
414
|
+
...(obj.Company && { Company: smithy_client_1.SENSITIVE_STRING }),
|
|
415
|
+
...(obj.ZipCode && { ZipCode: smithy_client_1.SENSITIVE_STRING }),
|
|
416
|
+
...(obj.Department && { Department: smithy_client_1.SENSITIVE_STRING }),
|
|
417
|
+
...(obj.Country && { Country: smithy_client_1.SENSITIVE_STRING }),
|
|
418
|
+
...(obj.Office && { Office: smithy_client_1.SENSITIVE_STRING }),
|
|
419
|
+
});
|
|
420
|
+
exports.DescribeUserResponseFilterSensitiveLog = DescribeUserResponseFilterSensitiveLog;
|
|
421
|
+
const ListUsersFiltersFilterSensitiveLog = (obj) => ({
|
|
422
|
+
...obj,
|
|
423
|
+
...(obj.DisplayNamePrefix && { DisplayNamePrefix: smithy_client_1.SENSITIVE_STRING }),
|
|
424
|
+
});
|
|
425
|
+
exports.ListUsersFiltersFilterSensitiveLog = ListUsersFiltersFilterSensitiveLog;
|
|
426
|
+
const ListUsersRequestFilterSensitiveLog = (obj) => ({
|
|
427
|
+
...obj,
|
|
428
|
+
...(obj.Filters && { Filters: (0, exports.ListUsersFiltersFilterSensitiveLog)(obj.Filters) }),
|
|
429
|
+
});
|
|
430
|
+
exports.ListUsersRequestFilterSensitiveLog = ListUsersRequestFilterSensitiveLog;
|
|
395
431
|
const PutRetentionPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
396
432
|
...obj,
|
|
397
433
|
...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -412,3 +448,20 @@ const UpdateAvailabilityConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
|
412
448
|
...(obj.EwsProvider && { EwsProvider: (0, exports.EwsAvailabilityProviderFilterSensitiveLog)(obj.EwsProvider) }),
|
|
413
449
|
});
|
|
414
450
|
exports.UpdateAvailabilityConfigurationRequestFilterSensitiveLog = UpdateAvailabilityConfigurationRequestFilterSensitiveLog;
|
|
451
|
+
const UpdateUserRequestFilterSensitiveLog = (obj) => ({
|
|
452
|
+
...obj,
|
|
453
|
+
...(obj.DisplayName && { DisplayName: smithy_client_1.SENSITIVE_STRING }),
|
|
454
|
+
...(obj.FirstName && { FirstName: smithy_client_1.SENSITIVE_STRING }),
|
|
455
|
+
...(obj.LastName && { LastName: smithy_client_1.SENSITIVE_STRING }),
|
|
456
|
+
...(obj.Initials && { Initials: smithy_client_1.SENSITIVE_STRING }),
|
|
457
|
+
...(obj.Telephone && { Telephone: smithy_client_1.SENSITIVE_STRING }),
|
|
458
|
+
...(obj.Street && { Street: smithy_client_1.SENSITIVE_STRING }),
|
|
459
|
+
...(obj.JobTitle && { JobTitle: smithy_client_1.SENSITIVE_STRING }),
|
|
460
|
+
...(obj.City && { City: smithy_client_1.SENSITIVE_STRING }),
|
|
461
|
+
...(obj.Company && { Company: smithy_client_1.SENSITIVE_STRING }),
|
|
462
|
+
...(obj.ZipCode && { ZipCode: smithy_client_1.SENSITIVE_STRING }),
|
|
463
|
+
...(obj.Department && { Department: smithy_client_1.SENSITIVE_STRING }),
|
|
464
|
+
...(obj.Country && { Country: smithy_client_1.SENSITIVE_STRING }),
|
|
465
|
+
...(obj.Office && { Office: smithy_client_1.SENSITIVE_STRING }),
|
|
466
|
+
});
|
|
467
|
+
exports.UpdateUserRequestFilterSensitiveLog = UpdateUserRequestFilterSensitiveLog;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListGroupsForEntity = void 0;
|
|
4
|
+
const ListGroupsForEntityCommand_1 = require("../commands/ListGroupsForEntityCommand");
|
|
5
|
+
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListGroupsForEntityCommand_1.ListGroupsForEntityCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListGroupsForEntity(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListGroupsForEntity = paginateListGroupsForEntity;
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./ListAliasesPaginator"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ListAvailabilityConfigurationsPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ListGroupMembersPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListGroupsForEntityPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ListGroupsPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ListImpersonationRolesPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListMailDomainsPaginator"), exports);
|