@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_RegisterMailDomainCommand, se_RegisterMailDomainCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class RegisterMailDomainCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class RegisterMailDomainCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "RegisterMailDomain",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_RegisterToWorkMailCommand, se_RegisterToWorkMailCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class RegisterToWorkMailCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class RegisterToWorkMailCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "RegisterToWorkMail",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { ResetPasswordRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_ResetPasswordCommand, se_ResetPasswordCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class ResetPasswordCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: ResetPasswordRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "WorkMailService",
|
|
36
|
+
operation: "ResetPassword",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_StartMailboxExportJobCommand, se_StartMailboxExportJobCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class StartMailboxExportJobCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class StartMailboxExportJobCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "StartMailboxExportJob",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "TagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { TestAvailabilityConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_TestAvailabilityConfigurationCommand, se_TestAvailabilityConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class TestAvailabilityConfigurationCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: TestAvailabilityConfigurationRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "WorkMailService",
|
|
36
|
+
operation: "TestAvailabilityConfiguration",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UntagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "UntagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { UpdateAvailabilityConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_UpdateAvailabilityConfigurationCommand, se_UpdateAvailabilityConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class UpdateAvailabilityConfigurationCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: UpdateAvailabilityConfigurationRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "WorkMailService",
|
|
36
|
+
operation: "UpdateAvailabilityConfiguration",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateDefaultMailDomainCommand, se_UpdateDefaultMailDomainCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateDefaultMailDomainCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateDefaultMailDomainCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "UpdateDefaultMailDomain",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_UpdateGroupCommand, se_UpdateGroupCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateGroupCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateGroupCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "WorkMailClient";
|
|
26
|
+
const commandName = "UpdateGroupCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "UpdateGroup",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_UpdateGroupCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_UpdateGroupCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateImpersonationRoleCommand, se_UpdateImpersonationRoleCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateImpersonationRoleCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateImpersonationRoleCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "UpdateImpersonationRole",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateMailboxQuotaCommand, se_UpdateMailboxQuotaCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateMailboxQuotaCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateMailboxQuotaCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "UpdateMailboxQuota",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateMobileDeviceAccessRuleCommand, se_UpdateMobileDeviceAccessRuleCommand, } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateMobileDeviceAccessRuleCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateMobileDeviceAccessRuleCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "UpdateMobileDeviceAccessRule",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdatePrimaryEmailAddressCommand, se_UpdatePrimaryEmailAddressCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdatePrimaryEmailAddressCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdatePrimaryEmailAddressCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "UpdatePrimaryEmailAddress",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateResourceCommand, se_UpdateResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "WorkMailService",
|
|
35
|
+
operation: "UpdateResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { UpdateUserRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateUserCommand extends $Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUserCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "WorkMailClient";
|
|
27
|
+
const commandName = "UpdateUserCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: UpdateUserRequestFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "WorkMailService",
|
|
36
|
+
operation: "UpdateUser",
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
const { requestHandler } = configuration;
|
|
40
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
+
}
|
|
42
|
+
serialize(input, context) {
|
|
43
|
+
return se_UpdateUserCommand(input, context);
|
|
44
|
+
}
|
|
45
|
+
deserialize(output, context) {
|
|
46
|
+
return de_UpdateUserCommand(output, context);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -26,6 +26,7 @@ export * from "./DeleteUserCommand";
|
|
|
26
26
|
export * from "./DeregisterFromWorkMailCommand";
|
|
27
27
|
export * from "./DeregisterMailDomainCommand";
|
|
28
28
|
export * from "./DescribeEmailMonitoringConfigurationCommand";
|
|
29
|
+
export * from "./DescribeEntityCommand";
|
|
29
30
|
export * from "./DescribeGroupCommand";
|
|
30
31
|
export * from "./DescribeInboundDmarcSettingsCommand";
|
|
31
32
|
export * from "./DescribeMailboxExportJobCommand";
|
|
@@ -47,6 +48,7 @@ export * from "./ListAliasesCommand";
|
|
|
47
48
|
export * from "./ListAvailabilityConfigurationsCommand";
|
|
48
49
|
export * from "./ListGroupMembersCommand";
|
|
49
50
|
export * from "./ListGroupsCommand";
|
|
51
|
+
export * from "./ListGroupsForEntityCommand";
|
|
50
52
|
export * from "./ListImpersonationRolesCommand";
|
|
51
53
|
export * from "./ListMailDomainsCommand";
|
|
52
54
|
export * from "./ListMailboxExportJobsCommand";
|
|
@@ -73,8 +75,10 @@ export * from "./TestAvailabilityConfigurationCommand";
|
|
|
73
75
|
export * from "./UntagResourceCommand";
|
|
74
76
|
export * from "./UpdateAvailabilityConfigurationCommand";
|
|
75
77
|
export * from "./UpdateDefaultMailDomainCommand";
|
|
78
|
+
export * from "./UpdateGroupCommand";
|
|
76
79
|
export * from "./UpdateImpersonationRoleCommand";
|
|
77
80
|
export * from "./UpdateMailboxQuotaCommand";
|
|
78
81
|
export * from "./UpdateMobileDeviceAccessRuleCommand";
|
|
79
82
|
export * from "./UpdatePrimaryEmailAddressCommand";
|
|
80
83
|
export * from "./UpdateResourceCommand";
|
|
84
|
+
export * from "./UpdateUserCommand";
|
|
@@ -73,42 +73,42 @@ export class OrganizationStateException extends __BaseException {
|
|
|
73
73
|
this.Message = opts.Message;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
export class
|
|
76
|
+
export class UnsupportedOperationException extends __BaseException {
|
|
77
77
|
constructor(opts) {
|
|
78
78
|
super({
|
|
79
|
-
name: "
|
|
79
|
+
name: "UnsupportedOperationException",
|
|
80
80
|
$fault: "client",
|
|
81
81
|
...opts,
|
|
82
82
|
});
|
|
83
|
-
this.name = "
|
|
83
|
+
this.name = "UnsupportedOperationException";
|
|
84
84
|
this.$fault = "client";
|
|
85
|
-
Object.setPrototypeOf(this,
|
|
85
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
86
86
|
this.Message = opts.Message;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
export class
|
|
89
|
+
export class DirectoryServiceAuthenticationFailedException extends __BaseException {
|
|
90
90
|
constructor(opts) {
|
|
91
91
|
super({
|
|
92
|
-
name: "
|
|
92
|
+
name: "DirectoryServiceAuthenticationFailedException",
|
|
93
93
|
$fault: "client",
|
|
94
94
|
...opts,
|
|
95
95
|
});
|
|
96
|
-
this.name = "
|
|
96
|
+
this.name = "DirectoryServiceAuthenticationFailedException";
|
|
97
97
|
this.$fault = "client";
|
|
98
|
-
Object.setPrototypeOf(this,
|
|
98
|
+
Object.setPrototypeOf(this, DirectoryServiceAuthenticationFailedException.prototype);
|
|
99
99
|
this.Message = opts.Message;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
export class
|
|
102
|
+
export class DirectoryUnavailableException extends __BaseException {
|
|
103
103
|
constructor(opts) {
|
|
104
104
|
super({
|
|
105
|
-
name: "
|
|
105
|
+
name: "DirectoryUnavailableException",
|
|
106
106
|
$fault: "client",
|
|
107
107
|
...opts,
|
|
108
108
|
});
|
|
109
|
-
this.name = "
|
|
109
|
+
this.name = "DirectoryUnavailableException";
|
|
110
110
|
this.$fault = "client";
|
|
111
|
-
Object.setPrototypeOf(this,
|
|
111
|
+
Object.setPrototypeOf(this, DirectoryUnavailableException.prototype);
|
|
112
112
|
this.Message = opts.Message;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -232,6 +232,12 @@ export const ResourceType = {
|
|
|
232
232
|
EQUIPMENT: "EQUIPMENT",
|
|
233
233
|
ROOM: "ROOM",
|
|
234
234
|
};
|
|
235
|
+
export const UserRole = {
|
|
236
|
+
REMOTE_USER: "REMOTE_USER",
|
|
237
|
+
RESOURCE: "RESOURCE",
|
|
238
|
+
SYSTEM_USER: "SYSTEM_USER",
|
|
239
|
+
USER: "USER",
|
|
240
|
+
};
|
|
235
241
|
export class InvalidPasswordException extends __BaseException {
|
|
236
242
|
constructor(opts) {
|
|
237
243
|
super({
|
|
@@ -275,6 +281,11 @@ export class MailDomainInUseException extends __BaseException {
|
|
|
275
281
|
this.Message = opts.Message;
|
|
276
282
|
}
|
|
277
283
|
}
|
|
284
|
+
export const EntityType = {
|
|
285
|
+
GROUP: "GROUP",
|
|
286
|
+
RESOURCE: "RESOURCE",
|
|
287
|
+
USER: "USER",
|
|
288
|
+
};
|
|
278
289
|
export const EntityState = {
|
|
279
290
|
DELETED: "DELETED",
|
|
280
291
|
DISABLED: "DISABLED",
|
|
@@ -286,11 +297,6 @@ export const MailboxExportJobState = {
|
|
|
286
297
|
FAILED: "FAILED",
|
|
287
298
|
RUNNING: "RUNNING",
|
|
288
299
|
};
|
|
289
|
-
export const UserRole = {
|
|
290
|
-
RESOURCE: "RESOURCE",
|
|
291
|
-
SYSTEM_USER: "SYSTEM_USER",
|
|
292
|
-
USER: "USER",
|
|
293
|
-
};
|
|
294
300
|
export const DnsRecordVerificationStatus = {
|
|
295
301
|
FAILED: "FAILED",
|
|
296
302
|
PENDING: "PENDING",
|
|
@@ -362,7 +368,34 @@ export const CreateAvailabilityConfigurationRequestFilterSensitiveLog = (obj) =>
|
|
|
362
368
|
});
|
|
363
369
|
export const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
364
370
|
...obj,
|
|
371
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
365
372
|
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
373
|
+
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
374
|
+
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
375
|
+
});
|
|
376
|
+
export const DescribeUserResponseFilterSensitiveLog = (obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
379
|
+
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
380
|
+
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
381
|
+
...(obj.Initials && { Initials: SENSITIVE_STRING }),
|
|
382
|
+
...(obj.Telephone && { Telephone: SENSITIVE_STRING }),
|
|
383
|
+
...(obj.Street && { Street: SENSITIVE_STRING }),
|
|
384
|
+
...(obj.JobTitle && { JobTitle: SENSITIVE_STRING }),
|
|
385
|
+
...(obj.City && { City: SENSITIVE_STRING }),
|
|
386
|
+
...(obj.Company && { Company: SENSITIVE_STRING }),
|
|
387
|
+
...(obj.ZipCode && { ZipCode: SENSITIVE_STRING }),
|
|
388
|
+
...(obj.Department && { Department: SENSITIVE_STRING }),
|
|
389
|
+
...(obj.Country && { Country: SENSITIVE_STRING }),
|
|
390
|
+
...(obj.Office && { Office: SENSITIVE_STRING }),
|
|
391
|
+
});
|
|
392
|
+
export const ListUsersFiltersFilterSensitiveLog = (obj) => ({
|
|
393
|
+
...obj,
|
|
394
|
+
...(obj.DisplayNamePrefix && { DisplayNamePrefix: SENSITIVE_STRING }),
|
|
395
|
+
});
|
|
396
|
+
export const ListUsersRequestFilterSensitiveLog = (obj) => ({
|
|
397
|
+
...obj,
|
|
398
|
+
...(obj.Filters && { Filters: ListUsersFiltersFilterSensitiveLog(obj.Filters) }),
|
|
366
399
|
});
|
|
367
400
|
export const PutRetentionPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
368
401
|
...obj,
|
|
@@ -380,3 +413,19 @@ export const UpdateAvailabilityConfigurationRequestFilterSensitiveLog = (obj) =>
|
|
|
380
413
|
...obj,
|
|
381
414
|
...(obj.EwsProvider && { EwsProvider: EwsAvailabilityProviderFilterSensitiveLog(obj.EwsProvider) }),
|
|
382
415
|
});
|
|
416
|
+
export const UpdateUserRequestFilterSensitiveLog = (obj) => ({
|
|
417
|
+
...obj,
|
|
418
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
419
|
+
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
420
|
+
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
421
|
+
...(obj.Initials && { Initials: SENSITIVE_STRING }),
|
|
422
|
+
...(obj.Telephone && { Telephone: SENSITIVE_STRING }),
|
|
423
|
+
...(obj.Street && { Street: SENSITIVE_STRING }),
|
|
424
|
+
...(obj.JobTitle && { JobTitle: SENSITIVE_STRING }),
|
|
425
|
+
...(obj.City && { City: SENSITIVE_STRING }),
|
|
426
|
+
...(obj.Company && { Company: SENSITIVE_STRING }),
|
|
427
|
+
...(obj.ZipCode && { ZipCode: SENSITIVE_STRING }),
|
|
428
|
+
...(obj.Department && { Department: SENSITIVE_STRING }),
|
|
429
|
+
...(obj.Country && { Country: SENSITIVE_STRING }),
|
|
430
|
+
...(obj.Office && { Office: SENSITIVE_STRING }),
|
|
431
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListGroupsForEntityCommand, } from "../commands/ListGroupsForEntityCommand";
|
|
2
|
+
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListGroupsForEntityCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListGroupsForEntity(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof WorkMailClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListAliasesPaginator";
|
|
3
3
|
export * from "./ListAvailabilityConfigurationsPaginator";
|
|
4
4
|
export * from "./ListGroupMembersPaginator";
|
|
5
|
+
export * from "./ListGroupsForEntityPaginator";
|
|
5
6
|
export * from "./ListGroupsPaginator";
|
|
6
7
|
export * from "./ListImpersonationRolesPaginator";
|
|
7
8
|
export * from "./ListMailDomainsPaginator";
|