@aws-sdk/client-workmail 3.183.0 → 3.185.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 (175) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/WorkMail.js +105 -0
  4. package/dist-cjs/commands/AssumeImpersonationRoleCommand.js +36 -0
  5. package/dist-cjs/commands/CreateImpersonationRoleCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteImpersonationRoleCommand.js +36 -0
  7. package/dist-cjs/commands/GetImpersonationRoleCommand.js +36 -0
  8. package/dist-cjs/commands/GetImpersonationRoleEffectCommand.js +36 -0
  9. package/dist-cjs/commands/ListImpersonationRolesCommand.js +36 -0
  10. package/dist-cjs/commands/UpdateImpersonationRoleCommand.js +36 -0
  11. package/dist-cjs/commands/index.js +7 -0
  12. package/dist-cjs/models/models_0.js +97 -19
  13. package/dist-cjs/pagination/ListImpersonationRolesPaginator.js +36 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_json1_1.js +628 -5
  16. package/dist-es/WorkMail.js +406 -294
  17. package/dist-es/WorkMailClient.js +28 -22
  18. package/dist-es/commands/AssociateDelegateToResourceCommand.js +28 -21
  19. package/dist-es/commands/AssociateMemberToGroupCommand.js +28 -21
  20. package/dist-es/commands/AssumeImpersonationRoleCommand.js +39 -0
  21. package/dist-es/commands/CancelMailboxExportJobCommand.js +28 -21
  22. package/dist-es/commands/CreateAliasCommand.js +28 -21
  23. package/dist-es/commands/CreateAvailabilityConfigurationCommand.js +28 -21
  24. package/dist-es/commands/CreateGroupCommand.js +28 -21
  25. package/dist-es/commands/CreateImpersonationRoleCommand.js +39 -0
  26. package/dist-es/commands/CreateMobileDeviceAccessRuleCommand.js +28 -21
  27. package/dist-es/commands/CreateOrganizationCommand.js +28 -21
  28. package/dist-es/commands/CreateResourceCommand.js +28 -21
  29. package/dist-es/commands/CreateUserCommand.js +28 -21
  30. package/dist-es/commands/DeleteAccessControlRuleCommand.js +28 -21
  31. package/dist-es/commands/DeleteAliasCommand.js +28 -21
  32. package/dist-es/commands/DeleteAvailabilityConfigurationCommand.js +28 -21
  33. package/dist-es/commands/DeleteEmailMonitoringConfigurationCommand.js +28 -21
  34. package/dist-es/commands/DeleteGroupCommand.js +28 -21
  35. package/dist-es/commands/DeleteImpersonationRoleCommand.js +39 -0
  36. package/dist-es/commands/DeleteMailboxPermissionsCommand.js +28 -21
  37. package/dist-es/commands/DeleteMobileDeviceAccessOverrideCommand.js +28 -21
  38. package/dist-es/commands/DeleteMobileDeviceAccessRuleCommand.js +28 -21
  39. package/dist-es/commands/DeleteOrganizationCommand.js +28 -21
  40. package/dist-es/commands/DeleteResourceCommand.js +28 -21
  41. package/dist-es/commands/DeleteRetentionPolicyCommand.js +28 -21
  42. package/dist-es/commands/DeleteUserCommand.js +28 -21
  43. package/dist-es/commands/DeregisterFromWorkMailCommand.js +28 -21
  44. package/dist-es/commands/DeregisterMailDomainCommand.js +28 -21
  45. package/dist-es/commands/DescribeEmailMonitoringConfigurationCommand.js +28 -21
  46. package/dist-es/commands/DescribeGroupCommand.js +28 -21
  47. package/dist-es/commands/DescribeInboundDmarcSettingsCommand.js +28 -21
  48. package/dist-es/commands/DescribeMailboxExportJobCommand.js +28 -21
  49. package/dist-es/commands/DescribeOrganizationCommand.js +28 -21
  50. package/dist-es/commands/DescribeResourceCommand.js +28 -21
  51. package/dist-es/commands/DescribeUserCommand.js +28 -21
  52. package/dist-es/commands/DisassociateDelegateFromResourceCommand.js +28 -21
  53. package/dist-es/commands/DisassociateMemberFromGroupCommand.js +28 -21
  54. package/dist-es/commands/GetAccessControlEffectCommand.js +28 -21
  55. package/dist-es/commands/GetDefaultRetentionPolicyCommand.js +28 -21
  56. package/dist-es/commands/GetImpersonationRoleCommand.js +39 -0
  57. package/dist-es/commands/GetImpersonationRoleEffectCommand.js +39 -0
  58. package/dist-es/commands/GetMailDomainCommand.js +28 -21
  59. package/dist-es/commands/GetMailboxDetailsCommand.js +28 -21
  60. package/dist-es/commands/GetMobileDeviceAccessEffectCommand.js +28 -21
  61. package/dist-es/commands/GetMobileDeviceAccessOverrideCommand.js +28 -21
  62. package/dist-es/commands/ListAccessControlRulesCommand.js +28 -21
  63. package/dist-es/commands/ListAliasesCommand.js +28 -21
  64. package/dist-es/commands/ListAvailabilityConfigurationsCommand.js +28 -21
  65. package/dist-es/commands/ListGroupMembersCommand.js +28 -21
  66. package/dist-es/commands/ListGroupsCommand.js +28 -21
  67. package/dist-es/commands/ListImpersonationRolesCommand.js +39 -0
  68. package/dist-es/commands/ListMailDomainsCommand.js +28 -21
  69. package/dist-es/commands/ListMailboxExportJobsCommand.js +28 -21
  70. package/dist-es/commands/ListMailboxPermissionsCommand.js +28 -21
  71. package/dist-es/commands/ListMobileDeviceAccessOverridesCommand.js +28 -21
  72. package/dist-es/commands/ListMobileDeviceAccessRulesCommand.js +28 -21
  73. package/dist-es/commands/ListOrganizationsCommand.js +28 -21
  74. package/dist-es/commands/ListResourceDelegatesCommand.js +28 -21
  75. package/dist-es/commands/ListResourcesCommand.js +28 -21
  76. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  77. package/dist-es/commands/ListUsersCommand.js +28 -21
  78. package/dist-es/commands/PutAccessControlRuleCommand.js +28 -21
  79. package/dist-es/commands/PutEmailMonitoringConfigurationCommand.js +28 -21
  80. package/dist-es/commands/PutInboundDmarcSettingsCommand.js +28 -21
  81. package/dist-es/commands/PutMailboxPermissionsCommand.js +28 -21
  82. package/dist-es/commands/PutMobileDeviceAccessOverrideCommand.js +28 -21
  83. package/dist-es/commands/PutRetentionPolicyCommand.js +28 -21
  84. package/dist-es/commands/RegisterMailDomainCommand.js +28 -21
  85. package/dist-es/commands/RegisterToWorkMailCommand.js +28 -21
  86. package/dist-es/commands/ResetPasswordCommand.js +28 -21
  87. package/dist-es/commands/StartMailboxExportJobCommand.js +28 -21
  88. package/dist-es/commands/TagResourceCommand.js +28 -21
  89. package/dist-es/commands/TestAvailabilityConfigurationCommand.js +28 -21
  90. package/dist-es/commands/UntagResourceCommand.js +28 -21
  91. package/dist-es/commands/UpdateAvailabilityConfigurationCommand.js +28 -21
  92. package/dist-es/commands/UpdateDefaultMailDomainCommand.js +28 -21
  93. package/dist-es/commands/UpdateImpersonationRoleCommand.js +39 -0
  94. package/dist-es/commands/UpdateMailboxQuotaCommand.js +28 -21
  95. package/dist-es/commands/UpdateMobileDeviceAccessRuleCommand.js +28 -21
  96. package/dist-es/commands/UpdatePrimaryEmailAddressCommand.js +28 -21
  97. package/dist-es/commands/UpdateResourceCommand.js +28 -21
  98. package/dist-es/commands/index.js +7 -0
  99. package/dist-es/endpoints.js +8 -8
  100. package/dist-es/models/WorkMailServiceException.js +10 -5
  101. package/dist-es/models/models_0.js +461 -776
  102. package/dist-es/pagination/ListAliasesPaginator.js +68 -25
  103. package/dist-es/pagination/ListAvailabilityConfigurationsPaginator.js +68 -25
  104. package/dist-es/pagination/ListGroupMembersPaginator.js +68 -25
  105. package/dist-es/pagination/ListGroupsPaginator.js +68 -25
  106. package/dist-es/pagination/ListImpersonationRolesPaginator.js +75 -0
  107. package/dist-es/pagination/ListMailDomainsPaginator.js +68 -25
  108. package/dist-es/pagination/ListMailboxExportJobsPaginator.js +68 -25
  109. package/dist-es/pagination/ListMailboxPermissionsPaginator.js +68 -25
  110. package/dist-es/pagination/ListMobileDeviceAccessOverridesPaginator.js +68 -25
  111. package/dist-es/pagination/ListOrganizationsPaginator.js +68 -25
  112. package/dist-es/pagination/ListResourceDelegatesPaginator.js +68 -25
  113. package/dist-es/pagination/ListResourcesPaginator.js +68 -25
  114. package/dist-es/pagination/ListUsersPaginator.js +68 -25
  115. package/dist-es/pagination/index.js +1 -0
  116. package/dist-es/protocols/Aws_json1_1.js +7042 -4887
  117. package/dist-es/runtimeConfig.browser.js +12 -26
  118. package/dist-es/runtimeConfig.js +12 -30
  119. package/dist-es/runtimeConfig.native.js +5 -8
  120. package/dist-es/runtimeConfig.shared.js +11 -8
  121. package/dist-types/WorkMail.d.ts +91 -32
  122. package/dist-types/WorkMailClient.d.ts +10 -3
  123. package/dist-types/commands/AssumeImpersonationRoleCommand.d.ts +36 -0
  124. package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
  125. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  126. package/dist-types/commands/CreateImpersonationRoleCommand.d.ts +40 -0
  127. package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +1 -1
  128. package/dist-types/commands/CreateOrganizationCommand.d.ts +9 -5
  129. package/dist-types/commands/CreateResourceCommand.d.ts +1 -1
  130. package/dist-types/commands/CreateUserCommand.d.ts +1 -1
  131. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
  132. package/dist-types/commands/DeleteImpersonationRoleCommand.d.ts +35 -0
  133. package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +1 -1
  134. package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -1
  135. package/dist-types/commands/DeleteResourceCommand.d.ts +1 -1
  136. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  137. package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +1 -1
  138. package/dist-types/commands/DeregisterMailDomainCommand.d.ts +1 -1
  139. package/dist-types/commands/GetAccessControlEffectCommand.d.ts +1 -1
  140. package/dist-types/commands/GetImpersonationRoleCommand.d.ts +35 -0
  141. package/dist-types/commands/GetImpersonationRoleEffectCommand.d.ts +35 -0
  142. package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +1 -1
  143. package/dist-types/commands/ListImpersonationRolesCommand.d.ts +35 -0
  144. package/dist-types/commands/ListMailDomainsCommand.d.ts +1 -1
  145. package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +1 -1
  146. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  147. package/dist-types/commands/PutAccessControlRuleCommand.d.ts +1 -1
  148. package/dist-types/commands/RegisterMailDomainCommand.d.ts +1 -1
  149. package/dist-types/commands/RegisterToWorkMailCommand.d.ts +2 -2
  150. package/dist-types/commands/StartMailboxExportJobCommand.d.ts +1 -1
  151. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  152. package/dist-types/commands/TestAvailabilityConfigurationCommand.d.ts +1 -1
  153. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  154. package/dist-types/commands/UpdateImpersonationRoleCommand.d.ts +35 -0
  155. package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +1 -1
  156. package/dist-types/commands/index.d.ts +7 -0
  157. package/dist-types/models/models_0.d.ts +442 -73
  158. package/dist-types/pagination/ListImpersonationRolesPaginator.d.ts +4 -0
  159. package/dist-types/pagination/index.d.ts +1 -0
  160. package/dist-types/protocols/Aws_json1_1.d.ts +21 -0
  161. package/dist-types/ts3.4/WorkMail.d.ts +119 -0
  162. package/dist-types/ts3.4/WorkMailClient.d.ts +42 -0
  163. package/dist-types/ts3.4/commands/AssumeImpersonationRoleCommand.d.ts +39 -0
  164. package/dist-types/ts3.4/commands/CreateImpersonationRoleCommand.d.ts +39 -0
  165. package/dist-types/ts3.4/commands/DeleteImpersonationRoleCommand.d.ts +39 -0
  166. package/dist-types/ts3.4/commands/GetImpersonationRoleCommand.d.ts +39 -0
  167. package/dist-types/ts3.4/commands/GetImpersonationRoleEffectCommand.d.ts +39 -0
  168. package/dist-types/ts3.4/commands/ListImpersonationRolesCommand.d.ts +39 -0
  169. package/dist-types/ts3.4/commands/UpdateImpersonationRoleCommand.d.ts +39 -0
  170. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  171. package/dist-types/ts3.4/models/models_0.d.ts +157 -9
  172. package/dist-types/ts3.4/pagination/ListImpersonationRolesPaginator.d.ts +11 -0
  173. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  174. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
  175. package/package.json +5 -5
@@ -8,10 +8,12 @@ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfig
8
8
  import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateDelegateToResourceCommandInput, AssociateDelegateToResourceCommandOutput } from "./commands/AssociateDelegateToResourceCommand";
10
10
  import { AssociateMemberToGroupCommandInput, AssociateMemberToGroupCommandOutput } from "./commands/AssociateMemberToGroupCommand";
11
+ import { AssumeImpersonationRoleCommandInput, AssumeImpersonationRoleCommandOutput } from "./commands/AssumeImpersonationRoleCommand";
11
12
  import { CancelMailboxExportJobCommandInput, CancelMailboxExportJobCommandOutput } from "./commands/CancelMailboxExportJobCommand";
12
13
  import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
13
14
  import { CreateAvailabilityConfigurationCommandInput, CreateAvailabilityConfigurationCommandOutput } from "./commands/CreateAvailabilityConfigurationCommand";
14
15
  import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
16
+ import { CreateImpersonationRoleCommandInput, CreateImpersonationRoleCommandOutput } from "./commands/CreateImpersonationRoleCommand";
15
17
  import { CreateMobileDeviceAccessRuleCommandInput, CreateMobileDeviceAccessRuleCommandOutput } from "./commands/CreateMobileDeviceAccessRuleCommand";
16
18
  import { CreateOrganizationCommandInput, CreateOrganizationCommandOutput } from "./commands/CreateOrganizationCommand";
17
19
  import { CreateResourceCommandInput, CreateResourceCommandOutput } from "./commands/CreateResourceCommand";
@@ -21,6 +23,7 @@ import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/De
21
23
  import { DeleteAvailabilityConfigurationCommandInput, DeleteAvailabilityConfigurationCommandOutput } from "./commands/DeleteAvailabilityConfigurationCommand";
22
24
  import { DeleteEmailMonitoringConfigurationCommandInput, DeleteEmailMonitoringConfigurationCommandOutput } from "./commands/DeleteEmailMonitoringConfigurationCommand";
23
25
  import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
26
+ import { DeleteImpersonationRoleCommandInput, DeleteImpersonationRoleCommandOutput } from "./commands/DeleteImpersonationRoleCommand";
24
27
  import { DeleteMailboxPermissionsCommandInput, DeleteMailboxPermissionsCommandOutput } from "./commands/DeleteMailboxPermissionsCommand";
25
28
  import { DeleteMobileDeviceAccessOverrideCommandInput, DeleteMobileDeviceAccessOverrideCommandOutput } from "./commands/DeleteMobileDeviceAccessOverrideCommand";
26
29
  import { DeleteMobileDeviceAccessRuleCommandInput, DeleteMobileDeviceAccessRuleCommandOutput } from "./commands/DeleteMobileDeviceAccessRuleCommand";
@@ -41,6 +44,8 @@ import { DisassociateDelegateFromResourceCommandInput, DisassociateDelegateFromR
41
44
  import { DisassociateMemberFromGroupCommandInput, DisassociateMemberFromGroupCommandOutput } from "./commands/DisassociateMemberFromGroupCommand";
42
45
  import { GetAccessControlEffectCommandInput, GetAccessControlEffectCommandOutput } from "./commands/GetAccessControlEffectCommand";
43
46
  import { GetDefaultRetentionPolicyCommandInput, GetDefaultRetentionPolicyCommandOutput } from "./commands/GetDefaultRetentionPolicyCommand";
47
+ import { GetImpersonationRoleCommandInput, GetImpersonationRoleCommandOutput } from "./commands/GetImpersonationRoleCommand";
48
+ import { GetImpersonationRoleEffectCommandInput, GetImpersonationRoleEffectCommandOutput } from "./commands/GetImpersonationRoleEffectCommand";
44
49
  import { GetMailboxDetailsCommandInput, GetMailboxDetailsCommandOutput } from "./commands/GetMailboxDetailsCommand";
45
50
  import { GetMailDomainCommandInput, GetMailDomainCommandOutput } from "./commands/GetMailDomainCommand";
46
51
  import { GetMobileDeviceAccessEffectCommandInput, GetMobileDeviceAccessEffectCommandOutput } from "./commands/GetMobileDeviceAccessEffectCommand";
@@ -50,6 +55,7 @@ import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/Li
50
55
  import { ListAvailabilityConfigurationsCommandInput, ListAvailabilityConfigurationsCommandOutput } from "./commands/ListAvailabilityConfigurationsCommand";
51
56
  import { ListGroupMembersCommandInput, ListGroupMembersCommandOutput } from "./commands/ListGroupMembersCommand";
52
57
  import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
58
+ import { ListImpersonationRolesCommandInput, ListImpersonationRolesCommandOutput } from "./commands/ListImpersonationRolesCommand";
53
59
  import { ListMailboxExportJobsCommandInput, ListMailboxExportJobsCommandOutput } from "./commands/ListMailboxExportJobsCommand";
54
60
  import { ListMailboxPermissionsCommandInput, ListMailboxPermissionsCommandOutput } from "./commands/ListMailboxPermissionsCommand";
55
61
  import { ListMailDomainsCommandInput, ListMailDomainsCommandOutput } from "./commands/ListMailDomainsCommand";
@@ -75,12 +81,13 @@ import { TestAvailabilityConfigurationCommandInput, TestAvailabilityConfiguratio
75
81
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
76
82
  import { UpdateAvailabilityConfigurationCommandInput, UpdateAvailabilityConfigurationCommandOutput } from "./commands/UpdateAvailabilityConfigurationCommand";
77
83
  import { UpdateDefaultMailDomainCommandInput, UpdateDefaultMailDomainCommandOutput } from "./commands/UpdateDefaultMailDomainCommand";
84
+ import { UpdateImpersonationRoleCommandInput, UpdateImpersonationRoleCommandOutput } from "./commands/UpdateImpersonationRoleCommand";
78
85
  import { UpdateMailboxQuotaCommandInput, UpdateMailboxQuotaCommandOutput } from "./commands/UpdateMailboxQuotaCommand";
79
86
  import { UpdateMobileDeviceAccessRuleCommandInput, UpdateMobileDeviceAccessRuleCommandOutput } from "./commands/UpdateMobileDeviceAccessRuleCommand";
80
87
  import { UpdatePrimaryEmailAddressCommandInput, UpdatePrimaryEmailAddressCommandOutput } from "./commands/UpdatePrimaryEmailAddressCommand";
81
88
  import { UpdateResourceCommandInput, UpdateResourceCommandOutput } from "./commands/UpdateResourceCommand";
82
- export declare type ServiceInputTypes = AssociateDelegateToResourceCommandInput | AssociateMemberToGroupCommandInput | CancelMailboxExportJobCommandInput | CreateAliasCommandInput | CreateAvailabilityConfigurationCommandInput | CreateGroupCommandInput | CreateMobileDeviceAccessRuleCommandInput | CreateOrganizationCommandInput | CreateResourceCommandInput | CreateUserCommandInput | DeleteAccessControlRuleCommandInput | DeleteAliasCommandInput | DeleteAvailabilityConfigurationCommandInput | DeleteEmailMonitoringConfigurationCommandInput | DeleteGroupCommandInput | DeleteMailboxPermissionsCommandInput | DeleteMobileDeviceAccessOverrideCommandInput | DeleteMobileDeviceAccessRuleCommandInput | DeleteOrganizationCommandInput | DeleteResourceCommandInput | DeleteRetentionPolicyCommandInput | DeleteUserCommandInput | DeregisterFromWorkMailCommandInput | DeregisterMailDomainCommandInput | DescribeEmailMonitoringConfigurationCommandInput | DescribeGroupCommandInput | DescribeInboundDmarcSettingsCommandInput | DescribeMailboxExportJobCommandInput | DescribeOrganizationCommandInput | DescribeResourceCommandInput | DescribeUserCommandInput | DisassociateDelegateFromResourceCommandInput | DisassociateMemberFromGroupCommandInput | GetAccessControlEffectCommandInput | GetDefaultRetentionPolicyCommandInput | GetMailDomainCommandInput | GetMailboxDetailsCommandInput | GetMobileDeviceAccessEffectCommandInput | GetMobileDeviceAccessOverrideCommandInput | ListAccessControlRulesCommandInput | ListAliasesCommandInput | ListAvailabilityConfigurationsCommandInput | ListGroupMembersCommandInput | ListGroupsCommandInput | ListMailDomainsCommandInput | ListMailboxExportJobsCommandInput | ListMailboxPermissionsCommandInput | ListMobileDeviceAccessOverridesCommandInput | ListMobileDeviceAccessRulesCommandInput | ListOrganizationsCommandInput | ListResourceDelegatesCommandInput | ListResourcesCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | PutAccessControlRuleCommandInput | PutEmailMonitoringConfigurationCommandInput | PutInboundDmarcSettingsCommandInput | PutMailboxPermissionsCommandInput | PutMobileDeviceAccessOverrideCommandInput | PutRetentionPolicyCommandInput | RegisterMailDomainCommandInput | RegisterToWorkMailCommandInput | ResetPasswordCommandInput | StartMailboxExportJobCommandInput | TagResourceCommandInput | TestAvailabilityConfigurationCommandInput | UntagResourceCommandInput | UpdateAvailabilityConfigurationCommandInput | UpdateDefaultMailDomainCommandInput | UpdateMailboxQuotaCommandInput | UpdateMobileDeviceAccessRuleCommandInput | UpdatePrimaryEmailAddressCommandInput | UpdateResourceCommandInput;
83
- export declare type ServiceOutputTypes = AssociateDelegateToResourceCommandOutput | AssociateMemberToGroupCommandOutput | CancelMailboxExportJobCommandOutput | CreateAliasCommandOutput | CreateAvailabilityConfigurationCommandOutput | CreateGroupCommandOutput | CreateMobileDeviceAccessRuleCommandOutput | CreateOrganizationCommandOutput | CreateResourceCommandOutput | CreateUserCommandOutput | DeleteAccessControlRuleCommandOutput | DeleteAliasCommandOutput | DeleteAvailabilityConfigurationCommandOutput | DeleteEmailMonitoringConfigurationCommandOutput | DeleteGroupCommandOutput | DeleteMailboxPermissionsCommandOutput | DeleteMobileDeviceAccessOverrideCommandOutput | DeleteMobileDeviceAccessRuleCommandOutput | DeleteOrganizationCommandOutput | DeleteResourceCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteUserCommandOutput | DeregisterFromWorkMailCommandOutput | DeregisterMailDomainCommandOutput | DescribeEmailMonitoringConfigurationCommandOutput | DescribeGroupCommandOutput | DescribeInboundDmarcSettingsCommandOutput | DescribeMailboxExportJobCommandOutput | DescribeOrganizationCommandOutput | DescribeResourceCommandOutput | DescribeUserCommandOutput | DisassociateDelegateFromResourceCommandOutput | DisassociateMemberFromGroupCommandOutput | GetAccessControlEffectCommandOutput | GetDefaultRetentionPolicyCommandOutput | GetMailDomainCommandOutput | GetMailboxDetailsCommandOutput | GetMobileDeviceAccessEffectCommandOutput | GetMobileDeviceAccessOverrideCommandOutput | ListAccessControlRulesCommandOutput | ListAliasesCommandOutput | ListAvailabilityConfigurationsCommandOutput | ListGroupMembersCommandOutput | ListGroupsCommandOutput | ListMailDomainsCommandOutput | ListMailboxExportJobsCommandOutput | ListMailboxPermissionsCommandOutput | ListMobileDeviceAccessOverridesCommandOutput | ListMobileDeviceAccessRulesCommandOutput | ListOrganizationsCommandOutput | ListResourceDelegatesCommandOutput | ListResourcesCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | PutAccessControlRuleCommandOutput | PutEmailMonitoringConfigurationCommandOutput | PutInboundDmarcSettingsCommandOutput | PutMailboxPermissionsCommandOutput | PutMobileDeviceAccessOverrideCommandOutput | PutRetentionPolicyCommandOutput | RegisterMailDomainCommandOutput | RegisterToWorkMailCommandOutput | ResetPasswordCommandOutput | StartMailboxExportJobCommandOutput | TagResourceCommandOutput | TestAvailabilityConfigurationCommandOutput | UntagResourceCommandOutput | UpdateAvailabilityConfigurationCommandOutput | UpdateDefaultMailDomainCommandOutput | UpdateMailboxQuotaCommandOutput | UpdateMobileDeviceAccessRuleCommandOutput | UpdatePrimaryEmailAddressCommandOutput | UpdateResourceCommandOutput;
89
+ export declare type ServiceInputTypes = AssociateDelegateToResourceCommandInput | AssociateMemberToGroupCommandInput | AssumeImpersonationRoleCommandInput | CancelMailboxExportJobCommandInput | CreateAliasCommandInput | CreateAvailabilityConfigurationCommandInput | CreateGroupCommandInput | CreateImpersonationRoleCommandInput | CreateMobileDeviceAccessRuleCommandInput | CreateOrganizationCommandInput | CreateResourceCommandInput | CreateUserCommandInput | DeleteAccessControlRuleCommandInput | DeleteAliasCommandInput | DeleteAvailabilityConfigurationCommandInput | DeleteEmailMonitoringConfigurationCommandInput | DeleteGroupCommandInput | DeleteImpersonationRoleCommandInput | DeleteMailboxPermissionsCommandInput | DeleteMobileDeviceAccessOverrideCommandInput | DeleteMobileDeviceAccessRuleCommandInput | DeleteOrganizationCommandInput | DeleteResourceCommandInput | DeleteRetentionPolicyCommandInput | DeleteUserCommandInput | DeregisterFromWorkMailCommandInput | DeregisterMailDomainCommandInput | DescribeEmailMonitoringConfigurationCommandInput | DescribeGroupCommandInput | DescribeInboundDmarcSettingsCommandInput | DescribeMailboxExportJobCommandInput | DescribeOrganizationCommandInput | DescribeResourceCommandInput | DescribeUserCommandInput | DisassociateDelegateFromResourceCommandInput | DisassociateMemberFromGroupCommandInput | GetAccessControlEffectCommandInput | GetDefaultRetentionPolicyCommandInput | GetImpersonationRoleCommandInput | GetImpersonationRoleEffectCommandInput | GetMailDomainCommandInput | GetMailboxDetailsCommandInput | GetMobileDeviceAccessEffectCommandInput | GetMobileDeviceAccessOverrideCommandInput | ListAccessControlRulesCommandInput | ListAliasesCommandInput | ListAvailabilityConfigurationsCommandInput | ListGroupMembersCommandInput | ListGroupsCommandInput | ListImpersonationRolesCommandInput | ListMailDomainsCommandInput | ListMailboxExportJobsCommandInput | ListMailboxPermissionsCommandInput | ListMobileDeviceAccessOverridesCommandInput | ListMobileDeviceAccessRulesCommandInput | ListOrganizationsCommandInput | ListResourceDelegatesCommandInput | ListResourcesCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | PutAccessControlRuleCommandInput | PutEmailMonitoringConfigurationCommandInput | PutInboundDmarcSettingsCommandInput | PutMailboxPermissionsCommandInput | PutMobileDeviceAccessOverrideCommandInput | PutRetentionPolicyCommandInput | RegisterMailDomainCommandInput | RegisterToWorkMailCommandInput | ResetPasswordCommandInput | StartMailboxExportJobCommandInput | TagResourceCommandInput | TestAvailabilityConfigurationCommandInput | UntagResourceCommandInput | UpdateAvailabilityConfigurationCommandInput | UpdateDefaultMailDomainCommandInput | UpdateImpersonationRoleCommandInput | UpdateMailboxQuotaCommandInput | UpdateMobileDeviceAccessRuleCommandInput | UpdatePrimaryEmailAddressCommandInput | UpdateResourceCommandInput;
90
+ export declare type ServiceOutputTypes = AssociateDelegateToResourceCommandOutput | AssociateMemberToGroupCommandOutput | AssumeImpersonationRoleCommandOutput | CancelMailboxExportJobCommandOutput | CreateAliasCommandOutput | CreateAvailabilityConfigurationCommandOutput | CreateGroupCommandOutput | CreateImpersonationRoleCommandOutput | CreateMobileDeviceAccessRuleCommandOutput | CreateOrganizationCommandOutput | CreateResourceCommandOutput | CreateUserCommandOutput | DeleteAccessControlRuleCommandOutput | DeleteAliasCommandOutput | DeleteAvailabilityConfigurationCommandOutput | DeleteEmailMonitoringConfigurationCommandOutput | DeleteGroupCommandOutput | DeleteImpersonationRoleCommandOutput | DeleteMailboxPermissionsCommandOutput | DeleteMobileDeviceAccessOverrideCommandOutput | DeleteMobileDeviceAccessRuleCommandOutput | DeleteOrganizationCommandOutput | DeleteResourceCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteUserCommandOutput | DeregisterFromWorkMailCommandOutput | DeregisterMailDomainCommandOutput | DescribeEmailMonitoringConfigurationCommandOutput | DescribeGroupCommandOutput | DescribeInboundDmarcSettingsCommandOutput | DescribeMailboxExportJobCommandOutput | DescribeOrganizationCommandOutput | DescribeResourceCommandOutput | DescribeUserCommandOutput | DisassociateDelegateFromResourceCommandOutput | DisassociateMemberFromGroupCommandOutput | GetAccessControlEffectCommandOutput | GetDefaultRetentionPolicyCommandOutput | GetImpersonationRoleCommandOutput | GetImpersonationRoleEffectCommandOutput | GetMailDomainCommandOutput | GetMailboxDetailsCommandOutput | GetMobileDeviceAccessEffectCommandOutput | GetMobileDeviceAccessOverrideCommandOutput | ListAccessControlRulesCommandOutput | ListAliasesCommandOutput | ListAvailabilityConfigurationsCommandOutput | ListGroupMembersCommandOutput | ListGroupsCommandOutput | ListImpersonationRolesCommandOutput | ListMailDomainsCommandOutput | ListMailboxExportJobsCommandOutput | ListMailboxPermissionsCommandOutput | ListMobileDeviceAccessOverridesCommandOutput | ListMobileDeviceAccessRulesCommandOutput | ListOrganizationsCommandOutput | ListResourceDelegatesCommandOutput | ListResourcesCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | PutAccessControlRuleCommandOutput | PutEmailMonitoringConfigurationCommandOutput | PutInboundDmarcSettingsCommandOutput | PutMailboxPermissionsCommandOutput | PutMobileDeviceAccessOverrideCommandOutput | PutRetentionPolicyCommandOutput | RegisterMailDomainCommandOutput | RegisterToWorkMailCommandOutput | ResetPasswordCommandOutput | StartMailboxExportJobCommandOutput | TagResourceCommandOutput | TestAvailabilityConfigurationCommandOutput | UntagResourceCommandOutput | UpdateAvailabilityConfigurationCommandOutput | UpdateDefaultMailDomainCommandOutput | UpdateImpersonationRoleCommandOutput | UpdateMailboxQuotaCommandOutput | UpdateMobileDeviceAccessRuleCommandOutput | UpdatePrimaryEmailAddressCommandOutput | UpdateResourceCommandOutput;
84
91
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
85
92
  /**
86
93
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -199,7 +206,7 @@ declare type WorkMailClientResolvedConfigType = __SmithyResolvedConfiguration<__
199
206
  export interface WorkMailClientResolvedConfig extends WorkMailClientResolvedConfigType {
200
207
  }
201
208
  /**
202
- * <p>Amazon WorkMail is a secure, managed business email and calendaring service with support for
209
+ * <p>WorkMail is a secure, managed business email and calendaring service with support for
203
210
  * existing desktop and mobile email clients. You can access your email, contacts, and
204
211
  * calendars using Microsoft Outlook, your browser, or other native iOS and Android email
205
212
  * applications. You can integrate WorkMail with your existing corporate directory and control
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AssumeImpersonationRoleRequest, AssumeImpersonationRoleResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
5
+ export interface AssumeImpersonationRoleCommandInput extends AssumeImpersonationRoleRequest {
6
+ }
7
+ export interface AssumeImpersonationRoleCommandOutput extends AssumeImpersonationRoleResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Assumes an impersonation role for the given WorkMail organization. This method returns an
11
+ * authentication token you can use to make impersonated calls.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { WorkMailClient, AssumeImpersonationRoleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
16
+ * // const { WorkMailClient, AssumeImpersonationRoleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
17
+ * const client = new WorkMailClient(config);
18
+ * const command = new AssumeImpersonationRoleCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link AssumeImpersonationRoleCommandInput} for command's `input` shape.
23
+ * @see {@link AssumeImpersonationRoleCommandOutput} for command's `response` shape.
24
+ * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class AssumeImpersonationRoleCommand extends $Command<AssumeImpersonationRoleCommandInput, AssumeImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
28
+ readonly input: AssumeImpersonationRoleCommandInput;
29
+ constructor(input: AssumeImpersonationRoleCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssumeImpersonationRoleCommandInput, AssumeImpersonationRoleCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -7,7 +7,7 @@ export interface CreateAliasCommandInput extends CreateAliasRequest {
7
7
  export interface CreateAliasCommandOutput extends CreateAliasResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Adds an alias to the set of a given member (user or group) of Amazon WorkMail.</p>
10
+ * <p>Adds an alias to the set of a given member (user or group) of WorkMail.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface CreateGroupCommandInput extends CreateGroupRequest {
7
7
  export interface CreateGroupCommandOutput extends CreateGroupResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a group that can be used in Amazon WorkMail by calling the <a>RegisterToWorkMail</a> operation.</p>
10
+ * <p>Creates a group that can be used in WorkMail by calling the <a>RegisterToWorkMail</a> operation.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateImpersonationRoleRequest, CreateImpersonationRoleResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
5
+ export interface CreateImpersonationRoleCommandInput extends CreateImpersonationRoleRequest {
6
+ }
7
+ export interface CreateImpersonationRoleCommandOutput extends CreateImpersonationRoleResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an impersonation role for the given WorkMail organization.</p>
11
+ * <p>
12
+ * <i>Idempotency</i> ensures that an API request completes no more than one
13
+ * time. With an idempotent request, if the original request completes successfully, any
14
+ * subsequent retries also complete successfully without performing any further
15
+ * actions.</p>
16
+ * @example
17
+ * Use a bare-bones client and the command you need to make an API call.
18
+ * ```javascript
19
+ * import { WorkMailClient, CreateImpersonationRoleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
20
+ * // const { WorkMailClient, CreateImpersonationRoleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
21
+ * const client = new WorkMailClient(config);
22
+ * const command = new CreateImpersonationRoleCommand(input);
23
+ * const response = await client.send(command);
24
+ * ```
25
+ *
26
+ * @see {@link CreateImpersonationRoleCommandInput} for command's `input` shape.
27
+ * @see {@link CreateImpersonationRoleCommandOutput} for command's `response` shape.
28
+ * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
29
+ *
30
+ */
31
+ export declare class CreateImpersonationRoleCommand extends $Command<CreateImpersonationRoleCommandInput, CreateImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
32
+ readonly input: CreateImpersonationRoleCommandInput;
33
+ constructor(input: CreateImpersonationRoleCommandInput);
34
+ /**
35
+ * @internal
36
+ */
37
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateImpersonationRoleCommandInput, CreateImpersonationRoleCommandOutput>;
38
+ private serialize;
39
+ private deserialize;
40
+ }
@@ -7,7 +7,7 @@ export interface CreateMobileDeviceAccessRuleCommandInput extends CreateMobileDe
7
7
  export interface CreateMobileDeviceAccessRuleCommandOutput extends CreateMobileDeviceAccessRuleResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a new mobile device access rule for the specified Amazon WorkMail organization.</p>
10
+ * <p>Creates a new mobile device access rule for the specified WorkMail organization.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,11 +7,15 @@ export interface CreateOrganizationCommandInput extends CreateOrganizationReques
7
7
  export interface CreateOrganizationCommandOutput extends CreateOrganizationResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/add_new_organization.html">Adding an organization</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>
11
- * <p>You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html">Adding a domain</a> and <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/default_domain.html">Choosing the default domain</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>
12
- * <p>Optionally, you can use a customer managed master key from AWS Key Management Service
13
- * (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a
14
- * default AWS managed master key for you.</p>
10
+ * <p>Creates a new WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new WorkMail directory for you. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/add_new_organization.html">Adding an organization</a> in the <i>WorkMail Administrator Guide</i>.</p>
11
+ * <p>You can associate multiple email domains with an organization, then choose your
12
+ * default email domain from the WorkMail console. You can also associate a domain that is managed
13
+ * in an Amazon Route 53 public hosted zone. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html">Adding a
14
+ * domain</a> and <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/default_domain.html">Choosing the default domain</a>
15
+ * in the <i>WorkMail Administrator Guide</i>.</p>
16
+ * <p>Optionally, you can use a customer managed key from AWS Key Management Service (AWS
17
+ * KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail
18
+ * creates a default, AWS managed key for you.</p>
15
19
  * @example
16
20
  * Use a bare-bones client and the command you need to make an API call.
17
21
  * ```javascript
@@ -7,7 +7,7 @@ export interface CreateResourceCommandInput extends CreateResourceRequest {
7
7
  export interface CreateResourceCommandOutput extends CreateResourceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a new Amazon WorkMail resource. </p>
10
+ * <p>Creates a new WorkMail resource.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface CreateUserCommandInput extends CreateUserRequest {
7
7
  export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a user who can be used in Amazon WorkMail by calling the <a>RegisterToWorkMail</a> operation.</p>
10
+ * <p>Creates a user who can be used in WorkMail by calling the <a>RegisterToWorkMail</a> operation.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface DeleteGroupCommandInput extends DeleteGroupRequest {
7
7
  export interface DeleteGroupCommandOutput extends DeleteGroupResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a group from Amazon WorkMail.</p>
10
+ * <p>Deletes a group from WorkMail.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteImpersonationRoleRequest, DeleteImpersonationRoleResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
5
+ export interface DeleteImpersonationRoleCommandInput extends DeleteImpersonationRoleRequest {
6
+ }
7
+ export interface DeleteImpersonationRoleCommandOutput extends DeleteImpersonationRoleResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes an impersonation role for the given WorkMail organization.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { WorkMailClient, DeleteImpersonationRoleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
15
+ * // const { WorkMailClient, DeleteImpersonationRoleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
16
+ * const client = new WorkMailClient(config);
17
+ * const command = new DeleteImpersonationRoleCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteImpersonationRoleCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteImpersonationRoleCommandOutput} for command's `response` shape.
23
+ * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteImpersonationRoleCommand extends $Command<DeleteImpersonationRoleCommandInput, DeleteImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
27
+ readonly input: DeleteImpersonationRoleCommandInput;
28
+ constructor(input: DeleteImpersonationRoleCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteImpersonationRoleCommandInput, DeleteImpersonationRoleCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,7 +7,7 @@ export interface DeleteMobileDeviceAccessRuleCommandInput extends DeleteMobileDe
7
7
  export interface DeleteMobileDeviceAccessRuleCommandOutput extends DeleteMobileDeviceAccessRuleResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a mobile device access rule for the specified Amazon WorkMail organization.</p>
10
+ * <p>Deletes a mobile device access rule for the specified WorkMail organization.</p>
11
11
  * <note>
12
12
  * <p>Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.</p>
13
13
  * </note>
@@ -7,7 +7,7 @@ export interface DeleteOrganizationCommandInput extends DeleteOrganizationReques
7
7
  export interface DeleteOrganizationCommandOutput extends DeleteOrganizationResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html">Removing an organization</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>
10
+ * <p>Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html">Removing an organization</a> in the <i>WorkMail Administrator Guide</i>.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface DeleteResourceCommandInput extends DeleteResourceRequest {
7
7
  export interface DeleteResourceCommandOutput extends DeleteResourceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes the specified resource. </p>
10
+ * <p>Deletes the specified resource.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface DeleteUserCommandInput extends DeleteUserRequest {
7
7
  export interface DeleteUserCommandOutput extends DeleteUserResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a
10
+ * <p>Deletes a user from WorkMail and all subsequent systems. Before you can delete a
11
11
  * user, the user state must be <code>DISABLED</code>. Use the <a>DescribeUser</a>
12
12
  * action to confirm the user state.</p>
13
13
  * <p>Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for
@@ -7,7 +7,7 @@ export interface DeregisterFromWorkMailCommandInput extends DeregisterFromWorkMa
7
7
  export interface DeregisterFromWorkMailCommandOutput extends DeregisterFromWorkMailResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Mark a user, group, or resource as no longer used in Amazon WorkMail. This action
10
+ * <p>Mark a user, group, or resource as no longer used in WorkMail. This action
11
11
  * disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days
12
12
  * before they are permanently removed. The functionality in the console is
13
13
  * <i>Disable</i>.</p>
@@ -7,7 +7,7 @@ export interface DeregisterMailDomainCommandInput extends DeregisterMailDomainRe
7
7
  export interface DeregisterMailDomainCommandOutput extends DeregisterMailDomainResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Removes a domain from Amazon WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first
10
+ * <p>Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first
11
11
  * remove any email address used by WorkMail entities before you remove the domain.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,7 +8,7 @@ export interface GetAccessControlEffectCommandOutput extends GetAccessControlEff
8
8
  }
9
9
  /**
10
10
  * <p>Gets the effects of an organization's access control rules as they apply to a
11
- * specified IPv4 address, access protocol action, or user ID. </p>
11
+ * specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetImpersonationRoleRequest, GetImpersonationRoleResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
5
+ export interface GetImpersonationRoleCommandInput extends GetImpersonationRoleRequest {
6
+ }
7
+ export interface GetImpersonationRoleCommandOutput extends GetImpersonationRoleResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets the impersonation role details for the given WorkMail organization.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { WorkMailClient, GetImpersonationRoleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
15
+ * // const { WorkMailClient, GetImpersonationRoleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
16
+ * const client = new WorkMailClient(config);
17
+ * const command = new GetImpersonationRoleCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetImpersonationRoleCommandInput} for command's `input` shape.
22
+ * @see {@link GetImpersonationRoleCommandOutput} for command's `response` shape.
23
+ * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetImpersonationRoleCommand extends $Command<GetImpersonationRoleCommandInput, GetImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
27
+ readonly input: GetImpersonationRoleCommandInput;
28
+ constructor(input: GetImpersonationRoleCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetImpersonationRoleCommandInput, GetImpersonationRoleCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetImpersonationRoleEffectRequest, GetImpersonationRoleEffectResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
5
+ export interface GetImpersonationRoleEffectCommandInput extends GetImpersonationRoleEffectRequest {
6
+ }
7
+ export interface GetImpersonationRoleEffectCommandOutput extends GetImpersonationRoleEffectResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Tests whether the given impersonation role can impersonate a target user.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { WorkMailClient, GetImpersonationRoleEffectCommand } from "@aws-sdk/client-workmail"; // ES Modules import
15
+ * // const { WorkMailClient, GetImpersonationRoleEffectCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
16
+ * const client = new WorkMailClient(config);
17
+ * const command = new GetImpersonationRoleEffectCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetImpersonationRoleEffectCommandInput} for command's `input` shape.
22
+ * @see {@link GetImpersonationRoleEffectCommandOutput} for command's `response` shape.
23
+ * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetImpersonationRoleEffectCommand extends $Command<GetImpersonationRoleEffectCommandInput, GetImpersonationRoleEffectCommandOutput, WorkMailClientResolvedConfig> {
27
+ readonly input: GetImpersonationRoleEffectCommandInput;
28
+ constructor(input: GetImpersonationRoleEffectCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetImpersonationRoleEffectCommandInput, GetImpersonationRoleEffectCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -8,7 +8,7 @@ export interface GetMobileDeviceAccessEffectCommandOutput extends GetMobileDevic
8
8
  }
9
9
  /**
10
10
  * <p>Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access
11
- * rules for the Amazon WorkMail organization for a particular user's attributes.</p>
11
+ * rules for the WorkMail organization for a particular user's attributes.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListImpersonationRolesRequest, ListImpersonationRolesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
5
+ export interface ListImpersonationRolesCommandInput extends ListImpersonationRolesRequest {
6
+ }
7
+ export interface ListImpersonationRolesCommandOutput extends ListImpersonationRolesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists all the impersonation roles for the given WorkMail organization.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { WorkMailClient, ListImpersonationRolesCommand } from "@aws-sdk/client-workmail"; // ES Modules import
15
+ * // const { WorkMailClient, ListImpersonationRolesCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
16
+ * const client = new WorkMailClient(config);
17
+ * const command = new ListImpersonationRolesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListImpersonationRolesCommandInput} for command's `input` shape.
22
+ * @see {@link ListImpersonationRolesCommandOutput} for command's `response` shape.
23
+ * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListImpersonationRolesCommand extends $Command<ListImpersonationRolesCommandInput, ListImpersonationRolesCommandOutput, WorkMailClientResolvedConfig> {
27
+ readonly input: ListImpersonationRolesCommandInput;
28
+ constructor(input: ListImpersonationRolesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImpersonationRolesCommandInput, ListImpersonationRolesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,7 +7,7 @@ export interface ListMailDomainsCommandInput extends ListMailDomainsRequest {
7
7
  export interface ListMailDomainsCommandOutput extends ListMailDomainsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the mail domains in a given Amazon WorkMail organization.</p>
10
+ * <p>Lists the mail domains in a given WorkMail organization.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface ListMobileDeviceAccessRulesCommandInput extends ListMobileDevic
7
7
  export interface ListMobileDeviceAccessRulesCommandOutput extends ListMobileDeviceAccessRulesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the mobile device access rules for the specified Amazon WorkMail organization.</p>
10
+ * <p>Lists the mobile device access rules for the specified WorkMail organization.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
7
7
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the tags applied to an Amazon WorkMail organization resource.</p>
10
+ * <p>Lists the tags applied to an WorkMail organization resource.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -9,7 +9,7 @@ export interface PutAccessControlRuleCommandOutput extends PutAccessControlRuleR
9
9
  /**
10
10
  * <p>Adds a new access control rule for the specified organization. The rule allows or
11
11
  * denies access to the organization for the specified IPv4 addresses, access protocol
12
- * actions, and user IDs. Adding a new rule with the same name as an existing rule replaces
12
+ * actions, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces
13
13
  * the older rule.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface RegisterMailDomainCommandInput extends RegisterMailDomainReques
7
7
  export interface RegisterMailDomainCommandOutput extends RegisterMailDomainResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Registers a new domain in Amazon WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has
10
+ * <p>Registers a new domain in WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has
11
11
  * permanent permission to use the specified domain for sending your users' emails.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,11 +7,11 @@ export interface RegisterToWorkMailCommandInput extends RegisterToWorkMailReques
7
7
  export interface RegisterToWorkMailCommandOutput extends RegisterToWorkMailResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Registers an existing and disabled user, group, or resource for Amazon WorkMail use by
10
+ * <p>Registers an existing and disabled user, group, or resource for WorkMail use by
11
11
  * associating a mailbox and calendaring capabilities. It performs no change if the user,
12
12
  * group, or resource is enabled and fails if the user, group, or resource is deleted. This
13
13
  * operation results in the accumulation of costs. For more information, see <a href="https://aws.amazon.com/workmail/pricing">Pricing</a>. The equivalent console
14
- * functionality for this operation is <i>Enable</i>. </p>
14
+ * functionality for this operation is <i>Enable</i>.</p>
15
15
  * <p>Users can either be created by calling the <a>CreateUser</a> API operation
16
16
  * or they can be synchronized from your directory. For more information, see <a>DeregisterFromWorkMail</a>.</p>
17
17
  * @example
@@ -10,7 +10,7 @@ export interface StartMailboxExportJobCommandOutput extends StartMailboxExportJo
10
10
  * <p>Starts a mailbox export job to export MIME-format email messages and calendar items
11
11
  * from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3)
12
12
  * bucket. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/mail-export.html">Exporting mailbox content</a> in
13
- * the <i>Amazon WorkMail Administrator Guide</i>.</p>
13
+ * the <i>WorkMail Administrator Guide</i>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -7,7 +7,7 @@ export interface TagResourceCommandInput extends TagResourceRequest {
7
7
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Applies the specified tags to the specified Amazon WorkMail organization
10
+ * <p>Applies the specified tags to the specified WorkMailorganization
11
11
  * resource.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -13,7 +13,7 @@ export interface TestAvailabilityConfigurationCommandOutput extends TestAvailabi
13
13
  * <p>The request must contain either one provider definition (<code>EwsProvider</code> or
14
14
  * <code>LambdaProvider</code>) or the <code>DomainName</code> parameter. If the
15
15
  * <code>DomainName</code> parameter is provided, the configuration stored under the
16
- * <code>DomainName</code> will be tested. </p>
16
+ * <code>DomainName</code> will be tested.</p>
17
17
  * </note>
18
18
  * @example
19
19
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
7
7
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Untags the specified tags from the specified Amazon WorkMail organization
10
+ * <p>Untags the specified tags from the specified WorkMail organization
11
11
  * resource.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.