@aws-sdk/client-workmail 3.926.0 → 3.928.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2475 -3376
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/WorkMailClient.js +2 -0
- package/dist-es/commands/AssociateDelegateToResourceCommand.js +3 -9
- package/dist-es/commands/AssociateMemberToGroupCommand.js +3 -9
- package/dist-es/commands/AssumeImpersonationRoleCommand.js +3 -9
- package/dist-es/commands/CancelMailboxExportJobCommand.js +3 -9
- package/dist-es/commands/CreateAliasCommand.js +3 -9
- package/dist-es/commands/CreateAvailabilityConfigurationCommand.js +3 -10
- package/dist-es/commands/CreateGroupCommand.js +3 -9
- package/dist-es/commands/CreateIdentityCenterApplicationCommand.js +3 -9
- package/dist-es/commands/CreateImpersonationRoleCommand.js +3 -9
- package/dist-es/commands/CreateMobileDeviceAccessRuleCommand.js +3 -9
- package/dist-es/commands/CreateOrganizationCommand.js +3 -9
- package/dist-es/commands/CreateResourceCommand.js +3 -10
- package/dist-es/commands/CreateUserCommand.js +3 -10
- package/dist-es/commands/DeleteAccessControlRuleCommand.js +3 -9
- package/dist-es/commands/DeleteAliasCommand.js +3 -9
- package/dist-es/commands/DeleteAvailabilityConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteEmailMonitoringConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteGroupCommand.js +3 -9
- package/dist-es/commands/DeleteIdentityCenterApplicationCommand.js +3 -9
- package/dist-es/commands/DeleteIdentityProviderConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteImpersonationRoleCommand.js +3 -9
- package/dist-es/commands/DeleteMailboxPermissionsCommand.js +3 -9
- package/dist-es/commands/DeleteMobileDeviceAccessOverrideCommand.js +3 -9
- package/dist-es/commands/DeleteMobileDeviceAccessRuleCommand.js +3 -9
- package/dist-es/commands/DeleteOrganizationCommand.js +3 -9
- package/dist-es/commands/DeletePersonalAccessTokenCommand.js +3 -9
- package/dist-es/commands/DeleteResourceCommand.js +3 -9
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteUserCommand.js +3 -9
- package/dist-es/commands/DeregisterFromWorkMailCommand.js +3 -9
- package/dist-es/commands/DeregisterMailDomainCommand.js +3 -9
- package/dist-es/commands/DescribeEmailMonitoringConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeEntityCommand.js +3 -9
- package/dist-es/commands/DescribeGroupCommand.js +3 -9
- package/dist-es/commands/DescribeIdentityProviderConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeInboundDmarcSettingsCommand.js +3 -9
- package/dist-es/commands/DescribeMailboxExportJobCommand.js +3 -9
- package/dist-es/commands/DescribeOrganizationCommand.js +3 -9
- package/dist-es/commands/DescribeResourceCommand.js +3 -10
- package/dist-es/commands/DescribeUserCommand.js +3 -10
- package/dist-es/commands/DisassociateDelegateFromResourceCommand.js +3 -9
- package/dist-es/commands/DisassociateMemberFromGroupCommand.js +3 -9
- package/dist-es/commands/GetAccessControlEffectCommand.js +3 -9
- package/dist-es/commands/GetDefaultRetentionPolicyCommand.js +3 -9
- package/dist-es/commands/GetImpersonationRoleCommand.js +3 -9
- package/dist-es/commands/GetImpersonationRoleEffectCommand.js +3 -9
- package/dist-es/commands/GetMailDomainCommand.js +3 -9
- package/dist-es/commands/GetMailboxDetailsCommand.js +3 -9
- package/dist-es/commands/GetMobileDeviceAccessEffectCommand.js +3 -9
- package/dist-es/commands/GetMobileDeviceAccessOverrideCommand.js +3 -9
- package/dist-es/commands/GetPersonalAccessTokenMetadataCommand.js +3 -9
- package/dist-es/commands/ListAccessControlRulesCommand.js +3 -9
- package/dist-es/commands/ListAliasesCommand.js +3 -9
- package/dist-es/commands/ListAvailabilityConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListGroupMembersCommand.js +3 -9
- package/dist-es/commands/ListGroupsCommand.js +3 -9
- package/dist-es/commands/ListGroupsForEntityCommand.js +3 -9
- package/dist-es/commands/ListImpersonationRolesCommand.js +3 -9
- package/dist-es/commands/ListMailDomainsCommand.js +3 -9
- package/dist-es/commands/ListMailboxExportJobsCommand.js +3 -9
- package/dist-es/commands/ListMailboxPermissionsCommand.js +3 -9
- package/dist-es/commands/ListMobileDeviceAccessOverridesCommand.js +3 -9
- package/dist-es/commands/ListMobileDeviceAccessRulesCommand.js +3 -9
- package/dist-es/commands/ListOrganizationsCommand.js +3 -9
- package/dist-es/commands/ListPersonalAccessTokensCommand.js +3 -9
- package/dist-es/commands/ListResourceDelegatesCommand.js +3 -9
- package/dist-es/commands/ListResourcesCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListUsersCommand.js +3 -10
- package/dist-es/commands/PutAccessControlRuleCommand.js +3 -9
- package/dist-es/commands/PutEmailMonitoringConfigurationCommand.js +3 -9
- package/dist-es/commands/PutIdentityProviderConfigurationCommand.js +3 -9
- package/dist-es/commands/PutInboundDmarcSettingsCommand.js +3 -9
- package/dist-es/commands/PutMailboxPermissionsCommand.js +3 -9
- package/dist-es/commands/PutMobileDeviceAccessOverrideCommand.js +3 -9
- package/dist-es/commands/PutRetentionPolicyCommand.js +3 -10
- package/dist-es/commands/RegisterMailDomainCommand.js +3 -9
- package/dist-es/commands/RegisterToWorkMailCommand.js +3 -9
- package/dist-es/commands/ResetPasswordCommand.js +3 -10
- package/dist-es/commands/StartMailboxExportJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TestAvailabilityConfigurationCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAvailabilityConfigurationCommand.js +3 -10
- package/dist-es/commands/UpdateDefaultMailDomainCommand.js +3 -9
- package/dist-es/commands/UpdateGroupCommand.js +3 -9
- package/dist-es/commands/UpdateImpersonationRoleCommand.js +3 -9
- package/dist-es/commands/UpdateMailboxQuotaCommand.js +3 -9
- package/dist-es/commands/UpdateMobileDeviceAccessRuleCommand.js +3 -9
- package/dist-es/commands/UpdatePrimaryEmailAddressCommand.js +3 -9
- package/dist-es/commands/UpdateResourceCommand.js +3 -10
- package/dist-es/commands/UpdateUserCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -92
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2238 -0
- package/dist-types/WorkMailClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -64
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +376 -0
- package/dist-types/ts3.4/WorkMailClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -46
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +382 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -2563
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -830
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1109
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateUser } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateUserCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("WorkMailService", "UpdateUser", {})
|
|
18
13
|
.n("WorkMailClient", "UpdateUserCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateUserCommand)
|
|
21
|
-
.de(de_UpdateUserCommand)
|
|
14
|
+
.sc(UpdateUser)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { WorkMailServiceException as __BaseException } from "./WorkMailServiceException";
|
|
3
2
|
export const AccessControlRuleEffect = {
|
|
4
3
|
ALLOW: "ALLOW",
|
|
@@ -388,94 +387,3 @@ export class TooManyTagsException extends __BaseException {
|
|
|
388
387
|
this.Message = opts.Message;
|
|
389
388
|
}
|
|
390
389
|
}
|
|
391
|
-
export const EwsAvailabilityProviderFilterSensitiveLog = (obj) => ({
|
|
392
|
-
...obj,
|
|
393
|
-
...(obj.EwsPassword && { EwsPassword: SENSITIVE_STRING }),
|
|
394
|
-
});
|
|
395
|
-
export const CreateAvailabilityConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
396
|
-
...obj,
|
|
397
|
-
...(obj.EwsProvider && { EwsProvider: EwsAvailabilityProviderFilterSensitiveLog(obj.EwsProvider) }),
|
|
398
|
-
});
|
|
399
|
-
export const CreateResourceRequestFilterSensitiveLog = (obj) => ({
|
|
400
|
-
...obj,
|
|
401
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
402
|
-
});
|
|
403
|
-
export const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
404
|
-
...obj,
|
|
405
|
-
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
406
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
407
|
-
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
408
|
-
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
409
|
-
});
|
|
410
|
-
export const DescribeResourceResponseFilterSensitiveLog = (obj) => ({
|
|
411
|
-
...obj,
|
|
412
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
413
|
-
});
|
|
414
|
-
export const DescribeUserResponseFilterSensitiveLog = (obj) => ({
|
|
415
|
-
...obj,
|
|
416
|
-
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
417
|
-
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
418
|
-
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
419
|
-
...(obj.Initials && { Initials: SENSITIVE_STRING }),
|
|
420
|
-
...(obj.Telephone && { Telephone: SENSITIVE_STRING }),
|
|
421
|
-
...(obj.Street && { Street: SENSITIVE_STRING }),
|
|
422
|
-
...(obj.JobTitle && { JobTitle: SENSITIVE_STRING }),
|
|
423
|
-
...(obj.City && { City: SENSITIVE_STRING }),
|
|
424
|
-
...(obj.Company && { Company: SENSITIVE_STRING }),
|
|
425
|
-
...(obj.ZipCode && { ZipCode: SENSITIVE_STRING }),
|
|
426
|
-
...(obj.Department && { Department: SENSITIVE_STRING }),
|
|
427
|
-
...(obj.Country && { Country: SENSITIVE_STRING }),
|
|
428
|
-
...(obj.Office && { Office: SENSITIVE_STRING }),
|
|
429
|
-
});
|
|
430
|
-
export const ResourceFilterSensitiveLog = (obj) => ({
|
|
431
|
-
...obj,
|
|
432
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
433
|
-
});
|
|
434
|
-
export const ListResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
435
|
-
...obj,
|
|
436
|
-
...(obj.Resources && { Resources: obj.Resources.map((item) => ResourceFilterSensitiveLog(item)) }),
|
|
437
|
-
});
|
|
438
|
-
export const ListUsersFiltersFilterSensitiveLog = (obj) => ({
|
|
439
|
-
...obj,
|
|
440
|
-
...(obj.DisplayNamePrefix && { DisplayNamePrefix: SENSITIVE_STRING }),
|
|
441
|
-
});
|
|
442
|
-
export const ListUsersRequestFilterSensitiveLog = (obj) => ({
|
|
443
|
-
...obj,
|
|
444
|
-
...(obj.Filters && { Filters: ListUsersFiltersFilterSensitiveLog(obj.Filters) }),
|
|
445
|
-
});
|
|
446
|
-
export const PutRetentionPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
447
|
-
...obj,
|
|
448
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
449
|
-
});
|
|
450
|
-
export const ResetPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
451
|
-
...obj,
|
|
452
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
453
|
-
});
|
|
454
|
-
export const TestAvailabilityConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
455
|
-
...obj,
|
|
456
|
-
...(obj.EwsProvider && { EwsProvider: EwsAvailabilityProviderFilterSensitiveLog(obj.EwsProvider) }),
|
|
457
|
-
});
|
|
458
|
-
export const UpdateAvailabilityConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
459
|
-
...obj,
|
|
460
|
-
...(obj.EwsProvider && { EwsProvider: EwsAvailabilityProviderFilterSensitiveLog(obj.EwsProvider) }),
|
|
461
|
-
});
|
|
462
|
-
export const UpdateResourceRequestFilterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
465
|
-
});
|
|
466
|
-
export const UpdateUserRequestFilterSensitiveLog = (obj) => ({
|
|
467
|
-
...obj,
|
|
468
|
-
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
469
|
-
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
470
|
-
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
471
|
-
...(obj.Initials && { Initials: SENSITIVE_STRING }),
|
|
472
|
-
...(obj.Telephone && { Telephone: SENSITIVE_STRING }),
|
|
473
|
-
...(obj.Street && { Street: SENSITIVE_STRING }),
|
|
474
|
-
...(obj.JobTitle && { JobTitle: SENSITIVE_STRING }),
|
|
475
|
-
...(obj.City && { City: SENSITIVE_STRING }),
|
|
476
|
-
...(obj.Company && { Company: SENSITIVE_STRING }),
|
|
477
|
-
...(obj.ZipCode && { ZipCode: SENSITIVE_STRING }),
|
|
478
|
-
...(obj.Department && { Department: SENSITIVE_STRING }),
|
|
479
|
-
...(obj.Country && { Country: SENSITIVE_STRING }),
|
|
480
|
-
...(obj.Office && { Office: SENSITIVE_STRING }),
|
|
481
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.workmail",
|
|
29
|
+
serviceTarget: "WorkMailService",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "WorkMail",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|