@aws-sdk/client-workmail 3.413.0 → 3.415.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/DescribeEntityCommand.js +46 -0
- package/dist-cjs/commands/DescribeUserCommand.js +2 -1
- package/dist-cjs/commands/ListGroupsForEntityCommand.js +46 -0
- package/dist-cjs/commands/ListUsersCommand.js +2 -1
- package/dist-cjs/commands/UpdateGroupCommand.js +46 -0
- package/dist-cjs/commands/UpdateUserCommand.js +47 -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-cjs/runtimeExtensions.js +3 -0
- package/dist-es/WorkMail.js +8 -0
- package/dist-es/commands/DescribeEntityCommand.js +42 -0
- package/dist-es/commands/DescribeUserCommand.js +2 -1
- package/dist-es/commands/ListGroupsForEntityCommand.js +42 -0
- package/dist-es/commands/ListUsersCommand.js +2 -1
- package/dist-es/commands/UpdateGroupCommand.js +42 -0
- package/dist-es/commands/UpdateUserCommand.js +43 -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-es/runtimeExtensions.js +3 -0
- 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/extensionConfiguration.d.ts +2 -1
- 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/extensionConfiguration.d.ts +3 -1
- 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 +4 -3
package/README.md
CHANGED
|
@@ -461,6 +461,14 @@ DescribeEmailMonitoringConfiguration
|
|
|
461
461
|
|
|
462
462
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/classes/describeemailmonitoringconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/describeemailmonitoringconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/describeemailmonitoringconfigurationcommandoutput.html)
|
|
463
463
|
|
|
464
|
+
</details>
|
|
465
|
+
<details>
|
|
466
|
+
<summary>
|
|
467
|
+
DescribeEntity
|
|
468
|
+
</summary>
|
|
469
|
+
|
|
470
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/classes/describeentitycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/describeentitycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/describeentitycommandoutput.html)
|
|
471
|
+
|
|
464
472
|
</details>
|
|
465
473
|
<details>
|
|
466
474
|
<summary>
|
|
@@ -629,6 +637,14 @@ ListGroups
|
|
|
629
637
|
|
|
630
638
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/classes/listgroupscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/listgroupscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/listgroupscommandoutput.html)
|
|
631
639
|
|
|
640
|
+
</details>
|
|
641
|
+
<details>
|
|
642
|
+
<summary>
|
|
643
|
+
ListGroupsForEntity
|
|
644
|
+
</summary>
|
|
645
|
+
|
|
646
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/classes/listgroupsforentitycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/listgroupsforentitycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/listgroupsforentitycommandoutput.html)
|
|
647
|
+
|
|
632
648
|
</details>
|
|
633
649
|
<details>
|
|
634
650
|
<summary>
|
|
@@ -837,6 +853,14 @@ UpdateDefaultMailDomain
|
|
|
837
853
|
|
|
838
854
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/classes/updatedefaultmaildomaincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/updatedefaultmaildomaincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/updatedefaultmaildomaincommandoutput.html)
|
|
839
855
|
|
|
856
|
+
</details>
|
|
857
|
+
<details>
|
|
858
|
+
<summary>
|
|
859
|
+
UpdateGroup
|
|
860
|
+
</summary>
|
|
861
|
+
|
|
862
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/classes/updategroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/updategroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/updategroupcommandoutput.html)
|
|
863
|
+
|
|
840
864
|
</details>
|
|
841
865
|
<details>
|
|
842
866
|
<summary>
|
|
@@ -878,3 +902,11 @@ UpdateResource
|
|
|
878
902
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/classes/updateresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/updateresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/updateresourcecommandoutput.html)
|
|
879
903
|
|
|
880
904
|
</details>
|
|
905
|
+
<details>
|
|
906
|
+
<summary>
|
|
907
|
+
UpdateUser
|
|
908
|
+
</summary>
|
|
909
|
+
|
|
910
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/classes/updateusercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/updateusercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-workmail/interfaces/updateusercommandoutput.html)
|
|
911
|
+
|
|
912
|
+
</details>
|
package/dist-cjs/WorkMail.js
CHANGED
|
@@ -30,6 +30,7 @@ const DeleteUserCommand_1 = require("./commands/DeleteUserCommand");
|
|
|
30
30
|
const DeregisterFromWorkMailCommand_1 = require("./commands/DeregisterFromWorkMailCommand");
|
|
31
31
|
const DeregisterMailDomainCommand_1 = require("./commands/DeregisterMailDomainCommand");
|
|
32
32
|
const DescribeEmailMonitoringConfigurationCommand_1 = require("./commands/DescribeEmailMonitoringConfigurationCommand");
|
|
33
|
+
const DescribeEntityCommand_1 = require("./commands/DescribeEntityCommand");
|
|
33
34
|
const DescribeGroupCommand_1 = require("./commands/DescribeGroupCommand");
|
|
34
35
|
const DescribeInboundDmarcSettingsCommand_1 = require("./commands/DescribeInboundDmarcSettingsCommand");
|
|
35
36
|
const DescribeMailboxExportJobCommand_1 = require("./commands/DescribeMailboxExportJobCommand");
|
|
@@ -51,6 +52,7 @@ const ListAliasesCommand_1 = require("./commands/ListAliasesCommand");
|
|
|
51
52
|
const ListAvailabilityConfigurationsCommand_1 = require("./commands/ListAvailabilityConfigurationsCommand");
|
|
52
53
|
const ListGroupMembersCommand_1 = require("./commands/ListGroupMembersCommand");
|
|
53
54
|
const ListGroupsCommand_1 = require("./commands/ListGroupsCommand");
|
|
55
|
+
const ListGroupsForEntityCommand_1 = require("./commands/ListGroupsForEntityCommand");
|
|
54
56
|
const ListImpersonationRolesCommand_1 = require("./commands/ListImpersonationRolesCommand");
|
|
55
57
|
const ListMailboxExportJobsCommand_1 = require("./commands/ListMailboxExportJobsCommand");
|
|
56
58
|
const ListMailboxPermissionsCommand_1 = require("./commands/ListMailboxPermissionsCommand");
|
|
@@ -77,11 +79,13 @@ const TestAvailabilityConfigurationCommand_1 = require("./commands/TestAvailabil
|
|
|
77
79
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
78
80
|
const UpdateAvailabilityConfigurationCommand_1 = require("./commands/UpdateAvailabilityConfigurationCommand");
|
|
79
81
|
const UpdateDefaultMailDomainCommand_1 = require("./commands/UpdateDefaultMailDomainCommand");
|
|
82
|
+
const UpdateGroupCommand_1 = require("./commands/UpdateGroupCommand");
|
|
80
83
|
const UpdateImpersonationRoleCommand_1 = require("./commands/UpdateImpersonationRoleCommand");
|
|
81
84
|
const UpdateMailboxQuotaCommand_1 = require("./commands/UpdateMailboxQuotaCommand");
|
|
82
85
|
const UpdateMobileDeviceAccessRuleCommand_1 = require("./commands/UpdateMobileDeviceAccessRuleCommand");
|
|
83
86
|
const UpdatePrimaryEmailAddressCommand_1 = require("./commands/UpdatePrimaryEmailAddressCommand");
|
|
84
87
|
const UpdateResourceCommand_1 = require("./commands/UpdateResourceCommand");
|
|
88
|
+
const UpdateUserCommand_1 = require("./commands/UpdateUserCommand");
|
|
85
89
|
const WorkMailClient_1 = require("./WorkMailClient");
|
|
86
90
|
const commands = {
|
|
87
91
|
AssociateDelegateToResourceCommand: AssociateDelegateToResourceCommand_1.AssociateDelegateToResourceCommand,
|
|
@@ -112,6 +116,7 @@ const commands = {
|
|
|
112
116
|
DeregisterFromWorkMailCommand: DeregisterFromWorkMailCommand_1.DeregisterFromWorkMailCommand,
|
|
113
117
|
DeregisterMailDomainCommand: DeregisterMailDomainCommand_1.DeregisterMailDomainCommand,
|
|
114
118
|
DescribeEmailMonitoringConfigurationCommand: DescribeEmailMonitoringConfigurationCommand_1.DescribeEmailMonitoringConfigurationCommand,
|
|
119
|
+
DescribeEntityCommand: DescribeEntityCommand_1.DescribeEntityCommand,
|
|
115
120
|
DescribeGroupCommand: DescribeGroupCommand_1.DescribeGroupCommand,
|
|
116
121
|
DescribeInboundDmarcSettingsCommand: DescribeInboundDmarcSettingsCommand_1.DescribeInboundDmarcSettingsCommand,
|
|
117
122
|
DescribeMailboxExportJobCommand: DescribeMailboxExportJobCommand_1.DescribeMailboxExportJobCommand,
|
|
@@ -133,6 +138,7 @@ const commands = {
|
|
|
133
138
|
ListAvailabilityConfigurationsCommand: ListAvailabilityConfigurationsCommand_1.ListAvailabilityConfigurationsCommand,
|
|
134
139
|
ListGroupMembersCommand: ListGroupMembersCommand_1.ListGroupMembersCommand,
|
|
135
140
|
ListGroupsCommand: ListGroupsCommand_1.ListGroupsCommand,
|
|
141
|
+
ListGroupsForEntityCommand: ListGroupsForEntityCommand_1.ListGroupsForEntityCommand,
|
|
136
142
|
ListImpersonationRolesCommand: ListImpersonationRolesCommand_1.ListImpersonationRolesCommand,
|
|
137
143
|
ListMailboxExportJobsCommand: ListMailboxExportJobsCommand_1.ListMailboxExportJobsCommand,
|
|
138
144
|
ListMailboxPermissionsCommand: ListMailboxPermissionsCommand_1.ListMailboxPermissionsCommand,
|
|
@@ -159,11 +165,13 @@ const commands = {
|
|
|
159
165
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
160
166
|
UpdateAvailabilityConfigurationCommand: UpdateAvailabilityConfigurationCommand_1.UpdateAvailabilityConfigurationCommand,
|
|
161
167
|
UpdateDefaultMailDomainCommand: UpdateDefaultMailDomainCommand_1.UpdateDefaultMailDomainCommand,
|
|
168
|
+
UpdateGroupCommand: UpdateGroupCommand_1.UpdateGroupCommand,
|
|
162
169
|
UpdateImpersonationRoleCommand: UpdateImpersonationRoleCommand_1.UpdateImpersonationRoleCommand,
|
|
163
170
|
UpdateMailboxQuotaCommand: UpdateMailboxQuotaCommand_1.UpdateMailboxQuotaCommand,
|
|
164
171
|
UpdateMobileDeviceAccessRuleCommand: UpdateMobileDeviceAccessRuleCommand_1.UpdateMobileDeviceAccessRuleCommand,
|
|
165
172
|
UpdatePrimaryEmailAddressCommand: UpdatePrimaryEmailAddressCommand_1.UpdatePrimaryEmailAddressCommand,
|
|
166
173
|
UpdateResourceCommand: UpdateResourceCommand_1.UpdateResourceCommand,
|
|
174
|
+
UpdateUserCommand: UpdateUserCommand_1.UpdateUserCommand,
|
|
167
175
|
};
|
|
168
176
|
class WorkMail extends WorkMailClient_1.WorkMailClient {
|
|
169
177
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeEntityCommand = 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 Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DescribeEntityCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeEntityCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "WorkMailClient";
|
|
28
|
+
const commandName = "DescribeEntityCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.se_DescribeEntityCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.de_DescribeEntityCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DescribeEntityCommand = DescribeEntityCommand;
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeUserCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class DescribeUserCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.DescribeUserResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListGroupsForEntityCommand = 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 Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class ListGroupsForEntityCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListGroupsForEntityCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "WorkMailClient";
|
|
28
|
+
const commandName = "ListGroupsForEntityCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.se_ListGroupsForEntityCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.de_ListGroupsForEntityCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListGroupsForEntityCommand = ListGroupsForEntityCommand;
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class ListUsersCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -30,7 +31,7 @@ class ListUsersCommand extends smithy_client_1.Command {
|
|
|
30
31
|
logger,
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
+
inputFilterSensitiveLog: models_0_1.ListUsersRequestFilterSensitiveLog,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateGroupCommand = 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 Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class UpdateGroupCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateGroupCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "WorkMailClient";
|
|
28
|
+
const commandName = "UpdateGroupCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.se_UpdateGroupCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.de_UpdateGroupCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateGroupCommand = UpdateGroupCommand;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class UpdateUserCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "WorkMailClient";
|
|
29
|
+
const commandName = "UpdateUserCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: models_0_1.UpdateUserRequestFilterSensitiveLog,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_json1_1_1.se_UpdateUserCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_json1_1_1.de_UpdateUserCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
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);
|