@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.
Files changed (71) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/WorkMail.js +8 -0
  3. package/dist-cjs/commands/DescribeEntityCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeUserCommand.js +2 -1
  5. package/dist-cjs/commands/ListGroupsForEntityCommand.js +46 -0
  6. package/dist-cjs/commands/ListUsersCommand.js +2 -1
  7. package/dist-cjs/commands/UpdateGroupCommand.js +46 -0
  8. package/dist-cjs/commands/UpdateUserCommand.js +47 -0
  9. package/dist-cjs/commands/index.js +4 -0
  10. package/dist-cjs/models/models_0.js +73 -20
  11. package/dist-cjs/pagination/ListGroupsForEntityPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_json1_1.js +276 -4
  14. package/dist-cjs/runtimeExtensions.js +3 -0
  15. package/dist-es/WorkMail.js +8 -0
  16. package/dist-es/commands/DescribeEntityCommand.js +42 -0
  17. package/dist-es/commands/DescribeUserCommand.js +2 -1
  18. package/dist-es/commands/ListGroupsForEntityCommand.js +42 -0
  19. package/dist-es/commands/ListUsersCommand.js +2 -1
  20. package/dist-es/commands/UpdateGroupCommand.js +42 -0
  21. package/dist-es/commands/UpdateUserCommand.js +43 -0
  22. package/dist-es/commands/index.js +4 -0
  23. package/dist-es/models/models_0.js +66 -17
  24. package/dist-es/pagination/ListGroupsForEntityPaginator.js +25 -0
  25. package/dist-es/pagination/index.js +1 -0
  26. package/dist-es/protocols/Aws_json1_1.js +265 -1
  27. package/dist-es/runtimeExtensions.js +3 -0
  28. package/dist-types/WorkMail.d.ts +28 -0
  29. package/dist-types/WorkMailClient.d.ts +6 -2
  30. package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +3 -0
  31. package/dist-types/commands/CreateGroupCommand.d.ts +1 -0
  32. package/dist-types/commands/CreateOrganizationCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateResourceCommand.d.ts +5 -0
  34. package/dist-types/commands/CreateUserCommand.d.ts +5 -1
  35. package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -0
  36. package/dist-types/commands/DeleteResourceCommand.d.ts +3 -0
  37. package/dist-types/commands/DescribeEntityCommand.d.ts +91 -0
  38. package/dist-types/commands/DescribeGroupCommand.d.ts +1 -0
  39. package/dist-types/commands/DescribeOrganizationCommand.d.ts +2 -0
  40. package/dist-types/commands/DescribeResourceCommand.d.ts +5 -0
  41. package/dist-types/commands/DescribeUserCommand.d.ts +16 -1
  42. package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +3 -0
  43. package/dist-types/commands/GetMailboxDetailsCommand.d.ts +3 -0
  44. package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
  45. package/dist-types/commands/ListGroupsForEntityCommand.d.ts +104 -0
  46. package/dist-types/commands/ListResourceDelegatesCommand.d.ts +3 -0
  47. package/dist-types/commands/ListResourcesCommand.d.ts +9 -0
  48. package/dist-types/commands/ListUsersCommand.d.ts +7 -1
  49. package/dist-types/commands/TagResourceCommand.d.ts +3 -0
  50. package/dist-types/commands/UpdateGroupCommand.d.ts +95 -0
  51. package/dist-types/commands/UpdateResourceCommand.d.ts +9 -0
  52. package/dist-types/commands/UpdateUserCommand.d.ts +117 -0
  53. package/dist-types/commands/index.d.ts +4 -0
  54. package/dist-types/extensionConfiguration.d.ts +2 -1
  55. package/dist-types/models/models_0.d.ts +921 -58
  56. package/dist-types/pagination/ListGroupsForEntityPaginator.d.ts +7 -0
  57. package/dist-types/pagination/index.d.ts +1 -0
  58. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  59. package/dist-types/ts3.4/WorkMail.d.ts +68 -0
  60. package/dist-types/ts3.4/WorkMailClient.d.ts +26 -2
  61. package/dist-types/ts3.4/commands/DescribeEntityCommand.d.ts +38 -0
  62. package/dist-types/ts3.4/commands/ListGroupsForEntityCommand.d.ts +39 -0
  63. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +35 -0
  64. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +35 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  66. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  67. package/dist-types/ts3.4/models/models_0.d.ts +139 -16
  68. package/dist-types/ts3.4/pagination/ListGroupsForEntityPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  70. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  71. package/package.json +4 -3
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_ListImpersonationRolesCommand = exports.se_ListGroupsCommand = exports.se_ListGroupMembersCommand = exports.se_ListAvailabilityConfigurationsCommand = exports.se_ListAliasesCommand = exports.se_ListAccessControlRulesCommand = exports.se_GetMobileDeviceAccessOverrideCommand = exports.se_GetMobileDeviceAccessEffectCommand = exports.se_GetMailDomainCommand = exports.se_GetMailboxDetailsCommand = exports.se_GetImpersonationRoleEffectCommand = exports.se_GetImpersonationRoleCommand = exports.se_GetDefaultRetentionPolicyCommand = exports.se_GetAccessControlEffectCommand = exports.se_DisassociateMemberFromGroupCommand = exports.se_DisassociateDelegateFromResourceCommand = exports.se_DescribeUserCommand = exports.se_DescribeResourceCommand = exports.se_DescribeOrganizationCommand = exports.se_DescribeMailboxExportJobCommand = exports.se_DescribeInboundDmarcSettingsCommand = exports.se_DescribeGroupCommand = exports.se_DescribeEmailMonitoringConfigurationCommand = exports.se_DeregisterMailDomainCommand = exports.se_DeregisterFromWorkMailCommand = exports.se_DeleteUserCommand = exports.se_DeleteRetentionPolicyCommand = exports.se_DeleteResourceCommand = exports.se_DeleteOrganizationCommand = exports.se_DeleteMobileDeviceAccessRuleCommand = exports.se_DeleteMobileDeviceAccessOverrideCommand = exports.se_DeleteMailboxPermissionsCommand = exports.se_DeleteImpersonationRoleCommand = exports.se_DeleteGroupCommand = exports.se_DeleteEmailMonitoringConfigurationCommand = exports.se_DeleteAvailabilityConfigurationCommand = exports.se_DeleteAliasCommand = exports.se_DeleteAccessControlRuleCommand = exports.se_CreateUserCommand = exports.se_CreateResourceCommand = exports.se_CreateOrganizationCommand = exports.se_CreateMobileDeviceAccessRuleCommand = exports.se_CreateImpersonationRoleCommand = exports.se_CreateGroupCommand = exports.se_CreateAvailabilityConfigurationCommand = exports.se_CreateAliasCommand = exports.se_CancelMailboxExportJobCommand = exports.se_AssumeImpersonationRoleCommand = exports.se_AssociateMemberToGroupCommand = exports.se_AssociateDelegateToResourceCommand = void 0;
4
- exports.de_DeleteMobileDeviceAccessOverrideCommand = exports.de_DeleteMailboxPermissionsCommand = exports.de_DeleteImpersonationRoleCommand = exports.de_DeleteGroupCommand = exports.de_DeleteEmailMonitoringConfigurationCommand = exports.de_DeleteAvailabilityConfigurationCommand = exports.de_DeleteAliasCommand = exports.de_DeleteAccessControlRuleCommand = exports.de_CreateUserCommand = exports.de_CreateResourceCommand = exports.de_CreateOrganizationCommand = exports.de_CreateMobileDeviceAccessRuleCommand = exports.de_CreateImpersonationRoleCommand = exports.de_CreateGroupCommand = exports.de_CreateAvailabilityConfigurationCommand = exports.de_CreateAliasCommand = exports.de_CancelMailboxExportJobCommand = exports.de_AssumeImpersonationRoleCommand = exports.de_AssociateMemberToGroupCommand = exports.de_AssociateDelegateToResourceCommand = exports.se_UpdateResourceCommand = exports.se_UpdatePrimaryEmailAddressCommand = exports.se_UpdateMobileDeviceAccessRuleCommand = exports.se_UpdateMailboxQuotaCommand = exports.se_UpdateImpersonationRoleCommand = exports.se_UpdateDefaultMailDomainCommand = exports.se_UpdateAvailabilityConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TestAvailabilityConfigurationCommand = exports.se_TagResourceCommand = exports.se_StartMailboxExportJobCommand = exports.se_ResetPasswordCommand = exports.se_RegisterToWorkMailCommand = exports.se_RegisterMailDomainCommand = exports.se_PutRetentionPolicyCommand = exports.se_PutMobileDeviceAccessOverrideCommand = exports.se_PutMailboxPermissionsCommand = exports.se_PutInboundDmarcSettingsCommand = exports.se_PutEmailMonitoringConfigurationCommand = exports.se_PutAccessControlRuleCommand = exports.se_ListUsersCommand = exports.se_ListTagsForResourceCommand = exports.se_ListResourcesCommand = exports.se_ListResourceDelegatesCommand = exports.se_ListOrganizationsCommand = exports.se_ListMobileDeviceAccessRulesCommand = exports.se_ListMobileDeviceAccessOverridesCommand = exports.se_ListMailDomainsCommand = exports.se_ListMailboxPermissionsCommand = exports.se_ListMailboxExportJobsCommand = void 0;
5
- exports.de_StartMailboxExportJobCommand = exports.de_ResetPasswordCommand = exports.de_RegisterToWorkMailCommand = exports.de_RegisterMailDomainCommand = exports.de_PutRetentionPolicyCommand = exports.de_PutMobileDeviceAccessOverrideCommand = exports.de_PutMailboxPermissionsCommand = exports.de_PutInboundDmarcSettingsCommand = exports.de_PutEmailMonitoringConfigurationCommand = exports.de_PutAccessControlRuleCommand = exports.de_ListUsersCommand = exports.de_ListTagsForResourceCommand = exports.de_ListResourcesCommand = exports.de_ListResourceDelegatesCommand = exports.de_ListOrganizationsCommand = exports.de_ListMobileDeviceAccessRulesCommand = exports.de_ListMobileDeviceAccessOverridesCommand = exports.de_ListMailDomainsCommand = exports.de_ListMailboxPermissionsCommand = exports.de_ListMailboxExportJobsCommand = exports.de_ListImpersonationRolesCommand = exports.de_ListGroupsCommand = exports.de_ListGroupMembersCommand = exports.de_ListAvailabilityConfigurationsCommand = exports.de_ListAliasesCommand = exports.de_ListAccessControlRulesCommand = exports.de_GetMobileDeviceAccessOverrideCommand = exports.de_GetMobileDeviceAccessEffectCommand = exports.de_GetMailDomainCommand = exports.de_GetMailboxDetailsCommand = exports.de_GetImpersonationRoleEffectCommand = exports.de_GetImpersonationRoleCommand = exports.de_GetDefaultRetentionPolicyCommand = exports.de_GetAccessControlEffectCommand = exports.de_DisassociateMemberFromGroupCommand = exports.de_DisassociateDelegateFromResourceCommand = exports.de_DescribeUserCommand = exports.de_DescribeResourceCommand = exports.de_DescribeOrganizationCommand = exports.de_DescribeMailboxExportJobCommand = exports.de_DescribeInboundDmarcSettingsCommand = exports.de_DescribeGroupCommand = exports.de_DescribeEmailMonitoringConfigurationCommand = exports.de_DeregisterMailDomainCommand = exports.de_DeregisterFromWorkMailCommand = exports.de_DeleteUserCommand = exports.de_DeleteRetentionPolicyCommand = exports.de_DeleteResourceCommand = exports.de_DeleteOrganizationCommand = exports.de_DeleteMobileDeviceAccessRuleCommand = void 0;
6
- exports.de_UpdateResourceCommand = exports.de_UpdatePrimaryEmailAddressCommand = exports.de_UpdateMobileDeviceAccessRuleCommand = exports.de_UpdateMailboxQuotaCommand = exports.de_UpdateImpersonationRoleCommand = exports.de_UpdateDefaultMailDomainCommand = exports.de_UpdateAvailabilityConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TestAvailabilityConfigurationCommand = exports.de_TagResourceCommand = void 0;
3
+ exports.se_ListGroupsCommand = exports.se_ListGroupMembersCommand = exports.se_ListAvailabilityConfigurationsCommand = exports.se_ListAliasesCommand = exports.se_ListAccessControlRulesCommand = exports.se_GetMobileDeviceAccessOverrideCommand = exports.se_GetMobileDeviceAccessEffectCommand = exports.se_GetMailDomainCommand = exports.se_GetMailboxDetailsCommand = exports.se_GetImpersonationRoleEffectCommand = exports.se_GetImpersonationRoleCommand = exports.se_GetDefaultRetentionPolicyCommand = exports.se_GetAccessControlEffectCommand = exports.se_DisassociateMemberFromGroupCommand = exports.se_DisassociateDelegateFromResourceCommand = exports.se_DescribeUserCommand = exports.se_DescribeResourceCommand = exports.se_DescribeOrganizationCommand = exports.se_DescribeMailboxExportJobCommand = exports.se_DescribeInboundDmarcSettingsCommand = exports.se_DescribeGroupCommand = exports.se_DescribeEntityCommand = exports.se_DescribeEmailMonitoringConfigurationCommand = exports.se_DeregisterMailDomainCommand = exports.se_DeregisterFromWorkMailCommand = exports.se_DeleteUserCommand = exports.se_DeleteRetentionPolicyCommand = exports.se_DeleteResourceCommand = exports.se_DeleteOrganizationCommand = exports.se_DeleteMobileDeviceAccessRuleCommand = exports.se_DeleteMobileDeviceAccessOverrideCommand = exports.se_DeleteMailboxPermissionsCommand = exports.se_DeleteImpersonationRoleCommand = exports.se_DeleteGroupCommand = exports.se_DeleteEmailMonitoringConfigurationCommand = exports.se_DeleteAvailabilityConfigurationCommand = exports.se_DeleteAliasCommand = exports.se_DeleteAccessControlRuleCommand = exports.se_CreateUserCommand = exports.se_CreateResourceCommand = exports.se_CreateOrganizationCommand = exports.se_CreateMobileDeviceAccessRuleCommand = exports.se_CreateImpersonationRoleCommand = exports.se_CreateGroupCommand = exports.se_CreateAvailabilityConfigurationCommand = exports.se_CreateAliasCommand = exports.se_CancelMailboxExportJobCommand = exports.se_AssumeImpersonationRoleCommand = exports.se_AssociateMemberToGroupCommand = exports.se_AssociateDelegateToResourceCommand = void 0;
4
+ exports.de_DeleteEmailMonitoringConfigurationCommand = exports.de_DeleteAvailabilityConfigurationCommand = exports.de_DeleteAliasCommand = exports.de_DeleteAccessControlRuleCommand = exports.de_CreateUserCommand = exports.de_CreateResourceCommand = exports.de_CreateOrganizationCommand = exports.de_CreateMobileDeviceAccessRuleCommand = exports.de_CreateImpersonationRoleCommand = exports.de_CreateGroupCommand = exports.de_CreateAvailabilityConfigurationCommand = exports.de_CreateAliasCommand = exports.de_CancelMailboxExportJobCommand = exports.de_AssumeImpersonationRoleCommand = exports.de_AssociateMemberToGroupCommand = exports.de_AssociateDelegateToResourceCommand = exports.se_UpdateUserCommand = exports.se_UpdateResourceCommand = exports.se_UpdatePrimaryEmailAddressCommand = exports.se_UpdateMobileDeviceAccessRuleCommand = exports.se_UpdateMailboxQuotaCommand = exports.se_UpdateImpersonationRoleCommand = exports.se_UpdateGroupCommand = exports.se_UpdateDefaultMailDomainCommand = exports.se_UpdateAvailabilityConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TestAvailabilityConfigurationCommand = exports.se_TagResourceCommand = exports.se_StartMailboxExportJobCommand = exports.se_ResetPasswordCommand = exports.se_RegisterToWorkMailCommand = exports.se_RegisterMailDomainCommand = exports.se_PutRetentionPolicyCommand = exports.se_PutMobileDeviceAccessOverrideCommand = exports.se_PutMailboxPermissionsCommand = exports.se_PutInboundDmarcSettingsCommand = exports.se_PutEmailMonitoringConfigurationCommand = exports.se_PutAccessControlRuleCommand = exports.se_ListUsersCommand = exports.se_ListTagsForResourceCommand = exports.se_ListResourcesCommand = exports.se_ListResourceDelegatesCommand = exports.se_ListOrganizationsCommand = exports.se_ListMobileDeviceAccessRulesCommand = exports.se_ListMobileDeviceAccessOverridesCommand = exports.se_ListMailDomainsCommand = exports.se_ListMailboxPermissionsCommand = exports.se_ListMailboxExportJobsCommand = exports.se_ListImpersonationRolesCommand = exports.se_ListGroupsForEntityCommand = void 0;
5
+ exports.de_PutMailboxPermissionsCommand = exports.de_PutInboundDmarcSettingsCommand = exports.de_PutEmailMonitoringConfigurationCommand = exports.de_PutAccessControlRuleCommand = exports.de_ListUsersCommand = exports.de_ListTagsForResourceCommand = exports.de_ListResourcesCommand = exports.de_ListResourceDelegatesCommand = exports.de_ListOrganizationsCommand = exports.de_ListMobileDeviceAccessRulesCommand = exports.de_ListMobileDeviceAccessOverridesCommand = exports.de_ListMailDomainsCommand = exports.de_ListMailboxPermissionsCommand = exports.de_ListMailboxExportJobsCommand = exports.de_ListImpersonationRolesCommand = exports.de_ListGroupsForEntityCommand = exports.de_ListGroupsCommand = exports.de_ListGroupMembersCommand = exports.de_ListAvailabilityConfigurationsCommand = exports.de_ListAliasesCommand = exports.de_ListAccessControlRulesCommand = exports.de_GetMobileDeviceAccessOverrideCommand = exports.de_GetMobileDeviceAccessEffectCommand = exports.de_GetMailDomainCommand = exports.de_GetMailboxDetailsCommand = exports.de_GetImpersonationRoleEffectCommand = exports.de_GetImpersonationRoleCommand = exports.de_GetDefaultRetentionPolicyCommand = exports.de_GetAccessControlEffectCommand = exports.de_DisassociateMemberFromGroupCommand = exports.de_DisassociateDelegateFromResourceCommand = exports.de_DescribeUserCommand = exports.de_DescribeResourceCommand = exports.de_DescribeOrganizationCommand = exports.de_DescribeMailboxExportJobCommand = exports.de_DescribeInboundDmarcSettingsCommand = exports.de_DescribeGroupCommand = exports.de_DescribeEntityCommand = exports.de_DescribeEmailMonitoringConfigurationCommand = exports.de_DeregisterMailDomainCommand = exports.de_DeregisterFromWorkMailCommand = exports.de_DeleteUserCommand = exports.de_DeleteRetentionPolicyCommand = exports.de_DeleteResourceCommand = exports.de_DeleteOrganizationCommand = exports.de_DeleteMobileDeviceAccessRuleCommand = exports.de_DeleteMobileDeviceAccessOverrideCommand = exports.de_DeleteMailboxPermissionsCommand = exports.de_DeleteImpersonationRoleCommand = exports.de_DeleteGroupCommand = void 0;
6
+ exports.de_UpdateUserCommand = exports.de_UpdateResourceCommand = exports.de_UpdatePrimaryEmailAddressCommand = exports.de_UpdateMobileDeviceAccessRuleCommand = exports.de_UpdateMailboxQuotaCommand = exports.de_UpdateImpersonationRoleCommand = exports.de_UpdateGroupCommand = exports.de_UpdateDefaultMailDomainCommand = exports.de_UpdateAvailabilityConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TestAvailabilityConfigurationCommand = exports.de_TagResourceCommand = exports.de_StartMailboxExportJobCommand = exports.de_ResetPasswordCommand = exports.de_RegisterToWorkMailCommand = exports.de_RegisterMailDomainCommand = exports.de_PutRetentionPolicyCommand = exports.de_PutMobileDeviceAccessOverrideCommand = void 0;
7
7
  const protocol_http_1 = require("@smithy/protocol-http");
8
8
  const smithy_client_1 = require("@smithy/smithy-client");
9
9
  const uuid_1 = require("uuid");
@@ -205,6 +205,13 @@ const se_DescribeEmailMonitoringConfigurationCommand = async (input, context) =>
205
205
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
206
206
  };
207
207
  exports.se_DescribeEmailMonitoringConfigurationCommand = se_DescribeEmailMonitoringConfigurationCommand;
208
+ const se_DescribeEntityCommand = async (input, context) => {
209
+ const headers = sharedHeaders("DescribeEntity");
210
+ let body;
211
+ body = JSON.stringify((0, smithy_client_1._json)(input));
212
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
213
+ };
214
+ exports.se_DescribeEntityCommand = se_DescribeEntityCommand;
208
215
  const se_DescribeGroupCommand = async (input, context) => {
209
216
  const headers = sharedHeaders("DescribeGroup");
210
217
  let body;
@@ -352,6 +359,13 @@ const se_ListGroupsCommand = async (input, context) => {
352
359
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
353
360
  };
354
361
  exports.se_ListGroupsCommand = se_ListGroupsCommand;
362
+ const se_ListGroupsForEntityCommand = async (input, context) => {
363
+ const headers = sharedHeaders("ListGroupsForEntity");
364
+ let body;
365
+ body = JSON.stringify((0, smithy_client_1._json)(input));
366
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
367
+ };
368
+ exports.se_ListGroupsForEntityCommand = se_ListGroupsForEntityCommand;
355
369
  const se_ListImpersonationRolesCommand = async (input, context) => {
356
370
  const headers = sharedHeaders("ListImpersonationRoles");
357
371
  let body;
@@ -534,6 +548,13 @@ const se_UpdateDefaultMailDomainCommand = async (input, context) => {
534
548
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
535
549
  };
536
550
  exports.se_UpdateDefaultMailDomainCommand = se_UpdateDefaultMailDomainCommand;
551
+ const se_UpdateGroupCommand = async (input, context) => {
552
+ const headers = sharedHeaders("UpdateGroup");
553
+ let body;
554
+ body = JSON.stringify((0, smithy_client_1._json)(input));
555
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
556
+ };
557
+ exports.se_UpdateGroupCommand = se_UpdateGroupCommand;
537
558
  const se_UpdateImpersonationRoleCommand = async (input, context) => {
538
559
  const headers = sharedHeaders("UpdateImpersonationRole");
539
560
  let body;
@@ -569,6 +590,13 @@ const se_UpdateResourceCommand = async (input, context) => {
569
590
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
570
591
  };
571
592
  exports.se_UpdateResourceCommand = se_UpdateResourceCommand;
593
+ const se_UpdateUserCommand = async (input, context) => {
594
+ const headers = sharedHeaders("UpdateUser");
595
+ let body;
596
+ body = JSON.stringify((0, smithy_client_1._json)(input));
597
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
598
+ };
599
+ exports.se_UpdateUserCommand = se_UpdateUserCommand;
572
600
  const de_AssociateDelegateToResourceCommand = async (output, context) => {
573
601
  if (output.statusCode >= 300) {
574
602
  return de_AssociateDelegateToResourceCommandError(output, context);
@@ -605,6 +633,9 @@ const de_AssociateDelegateToResourceCommandError = async (output, context) => {
605
633
  case "OrganizationStateException":
606
634
  case "com.amazonaws.workmail#OrganizationStateException":
607
635
  throw await de_OrganizationStateExceptionRes(parsedOutput, context);
636
+ case "UnsupportedOperationException":
637
+ case "com.amazonaws.workmail#UnsupportedOperationException":
638
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
608
639
  default:
609
640
  const parsedBody = parsedOutput.body;
610
641
  return throwDefaultError({
@@ -1085,6 +1116,9 @@ const de_CreateResourceCommandError = async (output, context) => {
1085
1116
  case "ReservedNameException":
1086
1117
  case "com.amazonaws.workmail#ReservedNameException":
1087
1118
  throw await de_ReservedNameExceptionRes(parsedOutput, context);
1119
+ case "UnsupportedOperationException":
1120
+ case "com.amazonaws.workmail#UnsupportedOperationException":
1121
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
1088
1122
  default:
1089
1123
  const parsedBody = parsedOutput.body;
1090
1124
  return throwDefaultError({
@@ -1595,6 +1629,9 @@ const de_DeleteResourceCommandError = async (output, context) => {
1595
1629
  case "OrganizationStateException":
1596
1630
  case "com.amazonaws.workmail#OrganizationStateException":
1597
1631
  throw await de_OrganizationStateExceptionRes(parsedOutput, context);
1632
+ case "UnsupportedOperationException":
1633
+ case "com.amazonaws.workmail#UnsupportedOperationException":
1634
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
1598
1635
  default:
1599
1636
  const parsedBody = parsedOutput.body;
1600
1637
  return throwDefaultError({
@@ -1826,6 +1863,48 @@ const de_DescribeEmailMonitoringConfigurationCommandError = async (output, conte
1826
1863
  });
1827
1864
  }
1828
1865
  };
1866
+ const de_DescribeEntityCommand = async (output, context) => {
1867
+ if (output.statusCode >= 300) {
1868
+ return de_DescribeEntityCommandError(output, context);
1869
+ }
1870
+ const data = await parseBody(output.body, context);
1871
+ let contents = {};
1872
+ contents = (0, smithy_client_1._json)(data);
1873
+ const response = {
1874
+ $metadata: deserializeMetadata(output),
1875
+ ...contents,
1876
+ };
1877
+ return response;
1878
+ };
1879
+ exports.de_DescribeEntityCommand = de_DescribeEntityCommand;
1880
+ const de_DescribeEntityCommandError = async (output, context) => {
1881
+ const parsedOutput = {
1882
+ ...output,
1883
+ body: await parseErrorBody(output.body, context),
1884
+ };
1885
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1886
+ switch (errorCode) {
1887
+ case "EntityNotFoundException":
1888
+ case "com.amazonaws.workmail#EntityNotFoundException":
1889
+ throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
1890
+ case "InvalidParameterException":
1891
+ case "com.amazonaws.workmail#InvalidParameterException":
1892
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1893
+ case "OrganizationNotFoundException":
1894
+ case "com.amazonaws.workmail#OrganizationNotFoundException":
1895
+ throw await de_OrganizationNotFoundExceptionRes(parsedOutput, context);
1896
+ case "OrganizationStateException":
1897
+ case "com.amazonaws.workmail#OrganizationStateException":
1898
+ throw await de_OrganizationStateExceptionRes(parsedOutput, context);
1899
+ default:
1900
+ const parsedBody = parsedOutput.body;
1901
+ return throwDefaultError({
1902
+ output,
1903
+ parsedBody,
1904
+ errorCode,
1905
+ });
1906
+ }
1907
+ };
1829
1908
  const de_DescribeGroupCommand = async (output, context) => {
1830
1909
  if (output.statusCode >= 300) {
1831
1910
  return de_DescribeGroupCommandError(output, context);
@@ -2015,6 +2094,9 @@ const de_DescribeResourceCommandError = async (output, context) => {
2015
2094
  case "OrganizationStateException":
2016
2095
  case "com.amazonaws.workmail#OrganizationStateException":
2017
2096
  throw await de_OrganizationStateExceptionRes(parsedOutput, context);
2097
+ case "UnsupportedOperationException":
2098
+ case "com.amazonaws.workmail#UnsupportedOperationException":
2099
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
2018
2100
  default:
2019
2101
  const parsedBody = parsedOutput.body;
2020
2102
  return throwDefaultError({
@@ -2102,6 +2184,9 @@ const de_DisassociateDelegateFromResourceCommandError = async (output, context)
2102
2184
  case "OrganizationStateException":
2103
2185
  case "com.amazonaws.workmail#OrganizationStateException":
2104
2186
  throw await de_OrganizationStateExceptionRes(parsedOutput, context);
2187
+ case "UnsupportedOperationException":
2188
+ case "com.amazonaws.workmail#UnsupportedOperationException":
2189
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
2105
2190
  default:
2106
2191
  const parsedBody = parsedOutput.body;
2107
2192
  return throwDefaultError({
@@ -2366,6 +2451,9 @@ const de_GetMailboxDetailsCommandError = async (output, context) => {
2366
2451
  case "EntityNotFoundException":
2367
2452
  case "com.amazonaws.workmail#EntityNotFoundException":
2368
2453
  throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
2454
+ case "InvalidParameterException":
2455
+ case "com.amazonaws.workmail#InvalidParameterException":
2456
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2369
2457
  case "OrganizationNotFoundException":
2370
2458
  case "com.amazonaws.workmail#OrganizationNotFoundException":
2371
2459
  throw await de_OrganizationNotFoundExceptionRes(parsedOutput, context);
@@ -2711,6 +2799,51 @@ const de_ListGroupsCommandError = async (output, context) => {
2711
2799
  });
2712
2800
  }
2713
2801
  };
2802
+ const de_ListGroupsForEntityCommand = async (output, context) => {
2803
+ if (output.statusCode >= 300) {
2804
+ return de_ListGroupsForEntityCommandError(output, context);
2805
+ }
2806
+ const data = await parseBody(output.body, context);
2807
+ let contents = {};
2808
+ contents = (0, smithy_client_1._json)(data);
2809
+ const response = {
2810
+ $metadata: deserializeMetadata(output),
2811
+ ...contents,
2812
+ };
2813
+ return response;
2814
+ };
2815
+ exports.de_ListGroupsForEntityCommand = de_ListGroupsForEntityCommand;
2816
+ const de_ListGroupsForEntityCommandError = async (output, context) => {
2817
+ const parsedOutput = {
2818
+ ...output,
2819
+ body: await parseErrorBody(output.body, context),
2820
+ };
2821
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2822
+ switch (errorCode) {
2823
+ case "EntityNotFoundException":
2824
+ case "com.amazonaws.workmail#EntityNotFoundException":
2825
+ throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
2826
+ case "EntityStateException":
2827
+ case "com.amazonaws.workmail#EntityStateException":
2828
+ throw await de_EntityStateExceptionRes(parsedOutput, context);
2829
+ case "InvalidParameterException":
2830
+ case "com.amazonaws.workmail#InvalidParameterException":
2831
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2832
+ case "OrganizationNotFoundException":
2833
+ case "com.amazonaws.workmail#OrganizationNotFoundException":
2834
+ throw await de_OrganizationNotFoundExceptionRes(parsedOutput, context);
2835
+ case "OrganizationStateException":
2836
+ case "com.amazonaws.workmail#OrganizationStateException":
2837
+ throw await de_OrganizationStateExceptionRes(parsedOutput, context);
2838
+ default:
2839
+ const parsedBody = parsedOutput.body;
2840
+ return throwDefaultError({
2841
+ output,
2842
+ parsedBody,
2843
+ errorCode,
2844
+ });
2845
+ }
2846
+ };
2714
2847
  const de_ListImpersonationRolesCommand = async (output, context) => {
2715
2848
  if (output.statusCode >= 300) {
2716
2849
  return de_ListImpersonationRolesCommandError(output, context);
@@ -3020,6 +3153,9 @@ const de_ListResourceDelegatesCommandError = async (output, context) => {
3020
3153
  case "OrganizationStateException":
3021
3154
  case "com.amazonaws.workmail#OrganizationStateException":
3022
3155
  throw await de_OrganizationStateExceptionRes(parsedOutput, context);
3156
+ case "UnsupportedOperationException":
3157
+ case "com.amazonaws.workmail#UnsupportedOperationException":
3158
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
3023
3159
  default:
3024
3160
  const parsedBody = parsedOutput.body;
3025
3161
  return throwDefaultError({
@@ -3059,6 +3195,9 @@ const de_ListResourcesCommandError = async (output, context) => {
3059
3195
  case "OrganizationStateException":
3060
3196
  case "com.amazonaws.workmail#OrganizationStateException":
3061
3197
  throw await de_OrganizationStateExceptionRes(parsedOutput, context);
3198
+ case "UnsupportedOperationException":
3199
+ case "com.amazonaws.workmail#UnsupportedOperationException":
3200
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
3062
3201
  default:
3063
3202
  const parsedBody = parsedOutput.body;
3064
3203
  return throwDefaultError({
@@ -3629,6 +3768,9 @@ const de_TagResourceCommandError = async (output, context) => {
3629
3768
  };
3630
3769
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3631
3770
  switch (errorCode) {
3771
+ case "InvalidParameterException":
3772
+ case "com.amazonaws.workmail#InvalidParameterException":
3773
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
3632
3774
  case "OrganizationStateException":
3633
3775
  case "com.amazonaws.workmail#OrganizationStateException":
3634
3776
  throw await de_OrganizationStateExceptionRes(parsedOutput, context);
@@ -3809,6 +3951,54 @@ const de_UpdateDefaultMailDomainCommandError = async (output, context) => {
3809
3951
  });
3810
3952
  }
3811
3953
  };
3954
+ const de_UpdateGroupCommand = async (output, context) => {
3955
+ if (output.statusCode >= 300) {
3956
+ return de_UpdateGroupCommandError(output, context);
3957
+ }
3958
+ const data = await parseBody(output.body, context);
3959
+ let contents = {};
3960
+ contents = (0, smithy_client_1._json)(data);
3961
+ const response = {
3962
+ $metadata: deserializeMetadata(output),
3963
+ ...contents,
3964
+ };
3965
+ return response;
3966
+ };
3967
+ exports.de_UpdateGroupCommand = de_UpdateGroupCommand;
3968
+ const de_UpdateGroupCommandError = async (output, context) => {
3969
+ const parsedOutput = {
3970
+ ...output,
3971
+ body: await parseErrorBody(output.body, context),
3972
+ };
3973
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3974
+ switch (errorCode) {
3975
+ case "EntityNotFoundException":
3976
+ case "com.amazonaws.workmail#EntityNotFoundException":
3977
+ throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
3978
+ case "EntityStateException":
3979
+ case "com.amazonaws.workmail#EntityStateException":
3980
+ throw await de_EntityStateExceptionRes(parsedOutput, context);
3981
+ case "InvalidParameterException":
3982
+ case "com.amazonaws.workmail#InvalidParameterException":
3983
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
3984
+ case "OrganizationNotFoundException":
3985
+ case "com.amazonaws.workmail#OrganizationNotFoundException":
3986
+ throw await de_OrganizationNotFoundExceptionRes(parsedOutput, context);
3987
+ case "OrganizationStateException":
3988
+ case "com.amazonaws.workmail#OrganizationStateException":
3989
+ throw await de_OrganizationStateExceptionRes(parsedOutput, context);
3990
+ case "UnsupportedOperationException":
3991
+ case "com.amazonaws.workmail#UnsupportedOperationException":
3992
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
3993
+ default:
3994
+ const parsedBody = parsedOutput.body;
3995
+ return throwDefaultError({
3996
+ output,
3997
+ parsedBody,
3998
+ errorCode,
3999
+ });
4000
+ }
4001
+ };
3812
4002
  const de_UpdateImpersonationRoleCommand = async (output, context) => {
3813
4003
  if (output.statusCode >= 300) {
3814
4004
  return de_UpdateImpersonationRoleCommandError(output, context);
@@ -4046,6 +4236,9 @@ const de_UpdateResourceCommandError = async (output, context) => {
4046
4236
  case "InvalidConfigurationException":
4047
4237
  case "com.amazonaws.workmail#InvalidConfigurationException":
4048
4238
  throw await de_InvalidConfigurationExceptionRes(parsedOutput, context);
4239
+ case "InvalidParameterException":
4240
+ case "com.amazonaws.workmail#InvalidParameterException":
4241
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
4049
4242
  case "MailDomainNotFoundException":
4050
4243
  case "com.amazonaws.workmail#MailDomainNotFoundException":
4051
4244
  throw await de_MailDomainNotFoundExceptionRes(parsedOutput, context);
@@ -4061,6 +4254,63 @@ const de_UpdateResourceCommandError = async (output, context) => {
4061
4254
  case "OrganizationStateException":
4062
4255
  case "com.amazonaws.workmail#OrganizationStateException":
4063
4256
  throw await de_OrganizationStateExceptionRes(parsedOutput, context);
4257
+ case "UnsupportedOperationException":
4258
+ case "com.amazonaws.workmail#UnsupportedOperationException":
4259
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
4260
+ default:
4261
+ const parsedBody = parsedOutput.body;
4262
+ return throwDefaultError({
4263
+ output,
4264
+ parsedBody,
4265
+ errorCode,
4266
+ });
4267
+ }
4268
+ };
4269
+ const de_UpdateUserCommand = async (output, context) => {
4270
+ if (output.statusCode >= 300) {
4271
+ return de_UpdateUserCommandError(output, context);
4272
+ }
4273
+ const data = await parseBody(output.body, context);
4274
+ let contents = {};
4275
+ contents = (0, smithy_client_1._json)(data);
4276
+ const response = {
4277
+ $metadata: deserializeMetadata(output),
4278
+ ...contents,
4279
+ };
4280
+ return response;
4281
+ };
4282
+ exports.de_UpdateUserCommand = de_UpdateUserCommand;
4283
+ const de_UpdateUserCommandError = async (output, context) => {
4284
+ const parsedOutput = {
4285
+ ...output,
4286
+ body: await parseErrorBody(output.body, context),
4287
+ };
4288
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4289
+ switch (errorCode) {
4290
+ case "DirectoryServiceAuthenticationFailedException":
4291
+ case "com.amazonaws.workmail#DirectoryServiceAuthenticationFailedException":
4292
+ throw await de_DirectoryServiceAuthenticationFailedExceptionRes(parsedOutput, context);
4293
+ case "DirectoryUnavailableException":
4294
+ case "com.amazonaws.workmail#DirectoryUnavailableException":
4295
+ throw await de_DirectoryUnavailableExceptionRes(parsedOutput, context);
4296
+ case "EntityNotFoundException":
4297
+ case "com.amazonaws.workmail#EntityNotFoundException":
4298
+ throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
4299
+ case "EntityStateException":
4300
+ case "com.amazonaws.workmail#EntityStateException":
4301
+ throw await de_EntityStateExceptionRes(parsedOutput, context);
4302
+ case "InvalidParameterException":
4303
+ case "com.amazonaws.workmail#InvalidParameterException":
4304
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
4305
+ case "OrganizationNotFoundException":
4306
+ case "com.amazonaws.workmail#OrganizationNotFoundException":
4307
+ throw await de_OrganizationNotFoundExceptionRes(parsedOutput, context);
4308
+ case "OrganizationStateException":
4309
+ case "com.amazonaws.workmail#OrganizationStateException":
4310
+ throw await de_OrganizationStateExceptionRes(parsedOutput, context);
4311
+ case "UnsupportedOperationException":
4312
+ case "com.amazonaws.workmail#UnsupportedOperationException":
4313
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
4064
4314
  default:
4065
4315
  const parsedBody = parsedOutput.body;
4066
4316
  return throwDefaultError({
@@ -4325,6 +4575,7 @@ const se_DeleteOrganizationRequest = (input, context) => {
4325
4575
  return (0, smithy_client_1.take)(input, {
4326
4576
  ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
4327
4577
  DeleteDirectory: [],
4578
+ ForceDelete: [],
4328
4579
  OrganizationId: [],
4329
4580
  });
4330
4581
  };
@@ -4396,6 +4647,7 @@ const de_DescribeGroupResponse = (output, context) => {
4396
4647
  Email: smithy_client_1.expectString,
4397
4648
  EnabledDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4398
4649
  GroupId: smithy_client_1.expectString,
4650
+ HiddenFromGlobalAddressList: smithy_client_1.expectBoolean,
4399
4651
  Name: smithy_client_1.expectString,
4400
4652
  State: smithy_client_1.expectString,
4401
4653
  });
@@ -4425,6 +4677,8 @@ const de_DescribeOrganizationResponse = (output, context) => {
4425
4677
  DirectoryId: smithy_client_1.expectString,
4426
4678
  DirectoryType: smithy_client_1.expectString,
4427
4679
  ErrorMessage: smithy_client_1.expectString,
4680
+ InteroperabilityEnabled: smithy_client_1.expectBoolean,
4681
+ MigrationAdmin: smithy_client_1.expectString,
4428
4682
  OrganizationId: smithy_client_1.expectString,
4429
4683
  State: smithy_client_1.expectString,
4430
4684
  });
@@ -4432,9 +4686,11 @@ const de_DescribeOrganizationResponse = (output, context) => {
4432
4686
  const de_DescribeResourceResponse = (output, context) => {
4433
4687
  return (0, smithy_client_1.take)(output, {
4434
4688
  BookingOptions: smithy_client_1._json,
4689
+ Description: smithy_client_1.expectString,
4435
4690
  DisabledDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4436
4691
  Email: smithy_client_1.expectString,
4437
4692
  EnabledDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4693
+ HiddenFromGlobalAddressList: smithy_client_1.expectBoolean,
4438
4694
  Name: smithy_client_1.expectString,
4439
4695
  ResourceId: smithy_client_1.expectString,
4440
4696
  State: smithy_client_1.expectString,
@@ -4443,14 +4699,29 @@ const de_DescribeResourceResponse = (output, context) => {
4443
4699
  };
4444
4700
  const de_DescribeUserResponse = (output, context) => {
4445
4701
  return (0, smithy_client_1.take)(output, {
4702
+ City: smithy_client_1.expectString,
4703
+ Company: smithy_client_1.expectString,
4704
+ Country: smithy_client_1.expectString,
4705
+ Department: smithy_client_1.expectString,
4446
4706
  DisabledDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4447
4707
  DisplayName: smithy_client_1.expectString,
4448
4708
  Email: smithy_client_1.expectString,
4449
4709
  EnabledDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4710
+ FirstName: smithy_client_1.expectString,
4711
+ HiddenFromGlobalAddressList: smithy_client_1.expectBoolean,
4712
+ Initials: smithy_client_1.expectString,
4713
+ JobTitle: smithy_client_1.expectString,
4714
+ LastName: smithy_client_1.expectString,
4715
+ MailboxDeprovisionedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4716
+ MailboxProvisionedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4450
4717
  Name: smithy_client_1.expectString,
4718
+ Office: smithy_client_1.expectString,
4451
4719
  State: smithy_client_1.expectString,
4720
+ Street: smithy_client_1.expectString,
4721
+ Telephone: smithy_client_1.expectString,
4452
4722
  UserId: smithy_client_1.expectString,
4453
4723
  UserRole: smithy_client_1.expectString,
4724
+ ZipCode: smithy_client_1.expectString,
4454
4725
  });
4455
4726
  };
4456
4727
  const de_GetImpersonationRoleResponse = (output, context) => {
@@ -4658,6 +4929,7 @@ const de_MobileDeviceAccessRulesList = (output, context) => {
4658
4929
  };
4659
4930
  const de_Resource = (output, context) => {
4660
4931
  return (0, smithy_client_1.take)(output, {
4932
+ Description: smithy_client_1.expectString,
4661
4933
  DisabledDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4662
4934
  Email: smithy_client_1.expectString,
4663
4935
  EnabledDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
@@ -1,17 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
4
5
  const protocol_http_1 = require("@smithy/protocol-http");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const asPartial = (t) => t;
7
8
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
8
9
  const extensionConfiguration = {
10
+ ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
9
11
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
12
  ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
11
13
  };
12
14
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
13
15
  return {
14
16
  ...runtimeConfig,
17
+ ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
15
18
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
19
  ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
17
20
  };
@@ -27,6 +27,7 @@ import { DeleteUserCommand } from "./commands/DeleteUserCommand";
27
27
  import { DeregisterFromWorkMailCommand, } from "./commands/DeregisterFromWorkMailCommand";
28
28
  import { DeregisterMailDomainCommand, } from "./commands/DeregisterMailDomainCommand";
29
29
  import { DescribeEmailMonitoringConfigurationCommand, } from "./commands/DescribeEmailMonitoringConfigurationCommand";
30
+ import { DescribeEntityCommand, } from "./commands/DescribeEntityCommand";
30
31
  import { DescribeGroupCommand, } from "./commands/DescribeGroupCommand";
31
32
  import { DescribeInboundDmarcSettingsCommand, } from "./commands/DescribeInboundDmarcSettingsCommand";
32
33
  import { DescribeMailboxExportJobCommand, } from "./commands/DescribeMailboxExportJobCommand";
@@ -48,6 +49,7 @@ import { ListAliasesCommand } from "./commands/ListAliasesCommand";
48
49
  import { ListAvailabilityConfigurationsCommand, } from "./commands/ListAvailabilityConfigurationsCommand";
49
50
  import { ListGroupMembersCommand, } from "./commands/ListGroupMembersCommand";
50
51
  import { ListGroupsCommand } from "./commands/ListGroupsCommand";
52
+ import { ListGroupsForEntityCommand, } from "./commands/ListGroupsForEntityCommand";
51
53
  import { ListImpersonationRolesCommand, } from "./commands/ListImpersonationRolesCommand";
52
54
  import { ListMailboxExportJobsCommand, } from "./commands/ListMailboxExportJobsCommand";
53
55
  import { ListMailboxPermissionsCommand, } from "./commands/ListMailboxPermissionsCommand";
@@ -74,11 +76,13 @@ import { TestAvailabilityConfigurationCommand, } from "./commands/TestAvailabili
74
76
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
75
77
  import { UpdateAvailabilityConfigurationCommand, } from "./commands/UpdateAvailabilityConfigurationCommand";
76
78
  import { UpdateDefaultMailDomainCommand, } from "./commands/UpdateDefaultMailDomainCommand";
79
+ import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
77
80
  import { UpdateImpersonationRoleCommand, } from "./commands/UpdateImpersonationRoleCommand";
78
81
  import { UpdateMailboxQuotaCommand, } from "./commands/UpdateMailboxQuotaCommand";
79
82
  import { UpdateMobileDeviceAccessRuleCommand, } from "./commands/UpdateMobileDeviceAccessRuleCommand";
80
83
  import { UpdatePrimaryEmailAddressCommand, } from "./commands/UpdatePrimaryEmailAddressCommand";
81
84
  import { UpdateResourceCommand, } from "./commands/UpdateResourceCommand";
85
+ import { UpdateUserCommand } from "./commands/UpdateUserCommand";
82
86
  import { WorkMailClient } from "./WorkMailClient";
83
87
  const commands = {
84
88
  AssociateDelegateToResourceCommand,
@@ -109,6 +113,7 @@ const commands = {
109
113
  DeregisterFromWorkMailCommand,
110
114
  DeregisterMailDomainCommand,
111
115
  DescribeEmailMonitoringConfigurationCommand,
116
+ DescribeEntityCommand,
112
117
  DescribeGroupCommand,
113
118
  DescribeInboundDmarcSettingsCommand,
114
119
  DescribeMailboxExportJobCommand,
@@ -130,6 +135,7 @@ const commands = {
130
135
  ListAvailabilityConfigurationsCommand,
131
136
  ListGroupMembersCommand,
132
137
  ListGroupsCommand,
138
+ ListGroupsForEntityCommand,
133
139
  ListImpersonationRolesCommand,
134
140
  ListMailboxExportJobsCommand,
135
141
  ListMailboxPermissionsCommand,
@@ -156,11 +162,13 @@ const commands = {
156
162
  UntagResourceCommand,
157
163
  UpdateAvailabilityConfigurationCommand,
158
164
  UpdateDefaultMailDomainCommand,
165
+ UpdateGroupCommand,
159
166
  UpdateImpersonationRoleCommand,
160
167
  UpdateMailboxQuotaCommand,
161
168
  UpdateMobileDeviceAccessRuleCommand,
162
169
  UpdatePrimaryEmailAddressCommand,
163
170
  UpdateResourceCommand,
171
+ UpdateUserCommand,
164
172
  };
165
173
  export class WorkMail extends WorkMailClient {
166
174
  }
@@ -0,0 +1,42 @@
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 { de_DescribeEntityCommand, se_DescribeEntityCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class DescribeEntityCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEntityCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "WorkMailClient";
25
+ const commandName = "DescribeEntityCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeEntityCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeEntityCommand(output, context);
41
+ }
42
+ }
@@ -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 { DescribeUserResponseFilterSensitiveLog } from "../models/models_0";
4
5
  import { de_DescribeUserCommand, se_DescribeUserCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeUserCommand extends $Command {
@@ -28,7 +29,7 @@ export class DescribeUserCommand extends $Command {
28
29
  clientName,
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: DescribeUserResponseFilterSensitiveLog,
32
33
  };
33
34
  const { requestHandler } = configuration;
34
35
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);