@aws-sdk/client-workmail 3.288.0 → 3.290.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 (81) hide show
  1. package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +20 -0
  2. package/dist-types/commands/AssociateMemberToGroupCommand.d.ts +29 -0
  3. package/dist-types/commands/AssumeImpersonationRoleCommand.d.ts +15 -0
  4. package/dist-types/commands/CancelMailboxExportJobCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateAliasCommand.d.ts +34 -0
  6. package/dist-types/commands/CreateAvailabilityConfigurationCommand.d.ts +18 -0
  7. package/dist-types/commands/CreateGroupCommand.d.ts +27 -0
  8. package/dist-types/commands/CreateImpersonationRoleCommand.d.ts +23 -0
  9. package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +15 -0
  10. package/dist-types/commands/CreateOrganizationCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateResourceCommand.d.ts +24 -0
  12. package/dist-types/commands/CreateUserCommand.d.ts +31 -0
  13. package/dist-types/commands/DeleteAccessControlRuleCommand.d.ts +9 -0
  14. package/dist-types/commands/DeleteAliasCommand.d.ts +20 -0
  15. package/dist-types/commands/DeleteAvailabilityConfigurationCommand.d.ts +9 -0
  16. package/dist-types/commands/DeleteEmailMonitoringConfigurationCommand.d.ts +12 -0
  17. package/dist-types/commands/DeleteGroupCommand.d.ts +25 -0
  18. package/dist-types/commands/DeleteImpersonationRoleCommand.d.ts +12 -0
  19. package/dist-types/commands/DeleteMailboxPermissionsCommand.d.ts +20 -0
  20. package/dist-types/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +16 -0
  21. package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +12 -0
  22. package/dist-types/commands/DeleteOrganizationCommand.d.ts +12 -0
  23. package/dist-types/commands/DeleteResourceCommand.d.ts +16 -0
  24. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +12 -0
  25. package/dist-types/commands/DeleteUserCommand.d.ts +25 -0
  26. package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +20 -0
  27. package/dist-types/commands/DeregisterMailDomainCommand.d.ts +19 -0
  28. package/dist-types/commands/DescribeEmailMonitoringConfigurationCommand.d.ts +15 -0
  29. package/dist-types/commands/DescribeGroupCommand.d.ts +16 -0
  30. package/dist-types/commands/DescribeInboundDmarcSettingsCommand.d.ts +9 -0
  31. package/dist-types/commands/DescribeMailboxExportJobCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeOrganizationCommand.d.ts +8 -0
  33. package/dist-types/commands/DescribeResourceCommand.d.ts +16 -0
  34. package/dist-types/commands/DescribeUserCommand.d.ts +16 -0
  35. package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +20 -0
  36. package/dist-types/commands/DisassociateMemberFromGroupCommand.d.ts +29 -0
  37. package/dist-types/commands/GetAccessControlEffectCommand.d.ts +19 -0
  38. package/dist-types/commands/GetDefaultRetentionPolicyCommand.d.ts +16 -0
  39. package/dist-types/commands/GetImpersonationRoleCommand.d.ts +15 -0
  40. package/dist-types/commands/GetImpersonationRoleEffectCommand.d.ts +23 -0
  41. package/dist-types/commands/GetMailDomainCommand.d.ts +15 -0
  42. package/dist-types/commands/GetMailboxDetailsCommand.d.ts +13 -0
  43. package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +12 -0
  44. package/dist-types/commands/GetMobileDeviceAccessOverrideCommand.d.ts +19 -0
  45. package/dist-types/commands/ListAccessControlRulesCommand.d.ts +9 -0
  46. package/dist-types/commands/ListAliasesCommand.d.ts +20 -0
  47. package/dist-types/commands/ListAvailabilityConfigurationsCommand.d.ts +9 -0
  48. package/dist-types/commands/ListGroupMembersCommand.d.ts +20 -0
  49. package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
  50. package/dist-types/commands/ListImpersonationRolesCommand.d.ts +12 -0
  51. package/dist-types/commands/ListMailDomainsCommand.d.ts +12 -0
  52. package/dist-types/commands/ListMailboxExportJobsCommand.d.ts +12 -0
  53. package/dist-types/commands/ListMailboxPermissionsCommand.d.ts +16 -0
  54. package/dist-types/commands/ListMobileDeviceAccessOverridesCommand.d.ts +16 -0
  55. package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +12 -0
  56. package/dist-types/commands/ListOrganizationsCommand.d.ts +4 -0
  57. package/dist-types/commands/ListResourceDelegatesCommand.d.ts +20 -0
  58. package/dist-types/commands/ListResourcesCommand.d.ts +12 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  60. package/dist-types/commands/ListUsersCommand.d.ts +12 -0
  61. package/dist-types/commands/PutAccessControlRuleCommand.d.ts +22 -0
  62. package/dist-types/commands/PutEmailMonitoringConfigurationCommand.d.ts +15 -0
  63. package/dist-types/commands/PutInboundDmarcSettingsCommand.d.ts +9 -0
  64. package/dist-types/commands/PutMailboxPermissionsCommand.d.ts +20 -0
  65. package/dist-types/commands/PutMobileDeviceAccessOverrideCommand.d.ts +20 -0
  66. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +15 -0
  67. package/dist-types/commands/RegisterMailDomainCommand.d.ts +18 -0
  68. package/dist-types/commands/RegisterToWorkMailCommand.d.ts +41 -0
  69. package/dist-types/commands/ResetPasswordCommand.d.ts +33 -0
  70. package/dist-types/commands/StartMailboxExportJobCommand.d.ts +19 -0
  71. package/dist-types/commands/TagResourceCommand.d.ts +11 -0
  72. package/dist-types/commands/TestAvailabilityConfigurationCommand.d.ts +15 -0
  73. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  74. package/dist-types/commands/UpdateAvailabilityConfigurationCommand.d.ts +15 -0
  75. package/dist-types/commands/UpdateDefaultMailDomainCommand.d.ts +19 -0
  76. package/dist-types/commands/UpdateImpersonationRoleCommand.d.ts +26 -0
  77. package/dist-types/commands/UpdateMailboxQuotaCommand.d.ts +20 -0
  78. package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +16 -0
  79. package/dist-types/commands/UpdatePrimaryEmailAddressCommand.d.ts +40 -0
  80. package/dist-types/commands/UpdateResourceCommand.d.ts +39 -0
  81. package/package.json +29 -29
@@ -29,6 +29,18 @@ export interface ListMailDomainsCommandOutput extends ListMailDomainsResponse, _
29
29
  * @see {@link ListMailDomainsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
34
+ *
35
+ * @throws {@link OrganizationNotFoundException} (client fault)
36
+ * <p>An operation received a valid organization identifier that either doesn't belong or
37
+ * exist in the system.</p>
38
+ *
39
+ * @throws {@link OrganizationStateException} (client fault)
40
+ * <p>The organization must have a valid state to perform certain
41
+ * operations on the organization or its members.</p>
42
+ *
43
+ *
32
44
  */
33
45
  export declare class ListMailDomainsCommand extends $Command<ListMailDomainsCommandInput, ListMailDomainsCommandOutput, WorkMailClientResolvedConfig> {
34
46
  readonly input: ListMailDomainsCommandInput;
@@ -30,6 +30,18 @@ export interface ListMailboxExportJobsCommandOutput extends ListMailboxExportJob
30
30
  * @see {@link ListMailboxExportJobsCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
35
+ *
36
+ * @throws {@link OrganizationNotFoundException} (client fault)
37
+ * <p>An operation received a valid organization identifier that either doesn't belong or
38
+ * exist in the system.</p>
39
+ *
40
+ * @throws {@link OrganizationStateException} (client fault)
41
+ * <p>The organization must have a valid state to perform certain
42
+ * operations on the organization or its members.</p>
43
+ *
44
+ *
33
45
  */
34
46
  export declare class ListMailboxExportJobsCommand extends $Command<ListMailboxExportJobsCommandInput, ListMailboxExportJobsCommandOutput, WorkMailClientResolvedConfig> {
35
47
  readonly input: ListMailboxExportJobsCommandInput;
@@ -30,6 +30,22 @@ export interface ListMailboxPermissionsCommandOutput extends ListMailboxPermissi
30
30
  * @see {@link ListMailboxPermissionsCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
32
32
  *
33
+ * @throws {@link EntityNotFoundException} (client fault)
34
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
35
+ * organization.</p>
36
+ *
37
+ * @throws {@link InvalidParameterException} (client fault)
38
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
39
+ *
40
+ * @throws {@link OrganizationNotFoundException} (client fault)
41
+ * <p>An operation received a valid organization identifier that either doesn't belong or
42
+ * exist in the system.</p>
43
+ *
44
+ * @throws {@link OrganizationStateException} (client fault)
45
+ * <p>The organization must have a valid state to perform certain
46
+ * operations on the organization or its members.</p>
47
+ *
48
+ *
33
49
  */
34
50
  export declare class ListMailboxPermissionsCommand extends $Command<ListMailboxPermissionsCommandInput, ListMailboxPermissionsCommandOutput, WorkMailClientResolvedConfig> {
35
51
  readonly input: ListMailboxPermissionsCommandInput;
@@ -29,6 +29,22 @@ export interface ListMobileDeviceAccessOverridesCommandOutput extends ListMobile
29
29
  * @see {@link ListMobileDeviceAccessOverridesCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link EntityNotFoundException} (client fault)
33
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
34
+ * organization.</p>
35
+ *
36
+ * @throws {@link InvalidParameterException} (client fault)
37
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
38
+ *
39
+ * @throws {@link OrganizationNotFoundException} (client fault)
40
+ * <p>An operation received a valid organization identifier that either doesn't belong or
41
+ * exist in the system.</p>
42
+ *
43
+ * @throws {@link OrganizationStateException} (client fault)
44
+ * <p>The organization must have a valid state to perform certain
45
+ * operations on the organization or its members.</p>
46
+ *
47
+ *
32
48
  */
33
49
  export declare class ListMobileDeviceAccessOverridesCommand extends $Command<ListMobileDeviceAccessOverridesCommandInput, ListMobileDeviceAccessOverridesCommandOutput, WorkMailClientResolvedConfig> {
34
50
  readonly input: ListMobileDeviceAccessOverridesCommandInput;
@@ -29,6 +29,18 @@ export interface ListMobileDeviceAccessRulesCommandOutput extends ListMobileDevi
29
29
  * @see {@link ListMobileDeviceAccessRulesCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
34
+ *
35
+ * @throws {@link OrganizationNotFoundException} (client fault)
36
+ * <p>An operation received a valid organization identifier that either doesn't belong or
37
+ * exist in the system.</p>
38
+ *
39
+ * @throws {@link OrganizationStateException} (client fault)
40
+ * <p>The organization must have a valid state to perform certain
41
+ * operations on the organization or its members.</p>
42
+ *
43
+ *
32
44
  */
33
45
  export declare class ListMobileDeviceAccessRulesCommand extends $Command<ListMobileDeviceAccessRulesCommandInput, ListMobileDeviceAccessRulesCommandOutput, WorkMailClientResolvedConfig> {
34
46
  readonly input: ListMobileDeviceAccessRulesCommandInput;
@@ -29,6 +29,10 @@ export interface ListOrganizationsCommandOutput extends ListOrganizationsRespons
29
29
  * @see {@link ListOrganizationsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
34
+ *
35
+ *
32
36
  */
33
37
  export declare class ListOrganizationsCommand extends $Command<ListOrganizationsCommandInput, ListOrganizationsCommandOutput, WorkMailClientResolvedConfig> {
34
38
  readonly input: ListOrganizationsCommandInput;
@@ -30,6 +30,26 @@ export interface ListResourceDelegatesCommandOutput extends ListResourceDelegate
30
30
  * @see {@link ListResourceDelegatesCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
32
32
  *
33
+ * @throws {@link EntityNotFoundException} (client fault)
34
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
35
+ * organization.</p>
36
+ *
37
+ * @throws {@link EntityStateException} (client fault)
38
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
39
+ * expected state, such as trying to delete an active user.</p>
40
+ *
41
+ * @throws {@link InvalidParameterException} (client fault)
42
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
43
+ *
44
+ * @throws {@link OrganizationNotFoundException} (client fault)
45
+ * <p>An operation received a valid organization identifier that either doesn't belong or
46
+ * exist in the system.</p>
47
+ *
48
+ * @throws {@link OrganizationStateException} (client fault)
49
+ * <p>The organization must have a valid state to perform certain
50
+ * operations on the organization or its members.</p>
51
+ *
52
+ *
33
53
  */
34
54
  export declare class ListResourceDelegatesCommand extends $Command<ListResourceDelegatesCommandInput, ListResourceDelegatesCommandOutput, WorkMailClientResolvedConfig> {
35
55
  readonly input: ListResourceDelegatesCommandInput;
@@ -29,6 +29,18 @@ export interface ListResourcesCommandOutput extends ListResourcesResponse, __Met
29
29
  * @see {@link ListResourcesCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
34
+ *
35
+ * @throws {@link OrganizationNotFoundException} (client fault)
36
+ * <p>An operation received a valid organization identifier that either doesn't belong or
37
+ * exist in the system.</p>
38
+ *
39
+ * @throws {@link OrganizationStateException} (client fault)
40
+ * <p>The organization must have a valid state to perform certain
41
+ * operations on the organization or its members.</p>
42
+ *
43
+ *
32
44
  */
33
45
  export declare class ListResourcesCommand extends $Command<ListResourcesCommandInput, ListResourcesCommandOutput, WorkMailClientResolvedConfig> {
34
46
  readonly input: ListResourcesCommandInput;
@@ -29,6 +29,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceNotFoundException} (client fault)
33
+ * <p>The resource cannot be found.</p>
34
+ *
35
+ *
32
36
  */
33
37
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WorkMailClientResolvedConfig> {
34
38
  readonly input: ListTagsForResourceCommandInput;
@@ -29,6 +29,18 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
29
29
  * @see {@link ListUsersCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
34
+ *
35
+ * @throws {@link OrganizationNotFoundException} (client fault)
36
+ * <p>An operation received a valid organization identifier that either doesn't belong or
37
+ * exist in the system.</p>
38
+ *
39
+ * @throws {@link OrganizationStateException} (client fault)
40
+ * <p>The organization must have a valid state to perform certain
41
+ * operations on the organization or its members.</p>
42
+ *
43
+ *
32
44
  */
33
45
  export declare class ListUsersCommand extends $Command<ListUsersCommandInput, ListUsersCommandOutput, WorkMailClientResolvedConfig> {
34
46
  readonly input: ListUsersCommandInput;
@@ -32,6 +32,28 @@ export interface PutAccessControlRuleCommandOutput extends PutAccessControlRuleR
32
32
  * @see {@link PutAccessControlRuleCommandOutput} for command's `response` shape.
33
33
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
34
34
  *
35
+ * @throws {@link EntityNotFoundException} (client fault)
36
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
37
+ * organization.</p>
38
+ *
39
+ * @throws {@link InvalidParameterException} (client fault)
40
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
41
+ *
42
+ * @throws {@link LimitExceededException} (client fault)
43
+ * <p>The request exceeds the limit of the resource.</p>
44
+ *
45
+ * @throws {@link OrganizationNotFoundException} (client fault)
46
+ * <p>An operation received a valid organization identifier that either doesn't belong or
47
+ * exist in the system.</p>
48
+ *
49
+ * @throws {@link OrganizationStateException} (client fault)
50
+ * <p>The organization must have a valid state to perform certain
51
+ * operations on the organization or its members.</p>
52
+ *
53
+ * @throws {@link ResourceNotFoundException} (client fault)
54
+ * <p>The resource cannot be found.</p>
55
+ *
56
+ *
35
57
  */
36
58
  export declare class PutAccessControlRuleCommand extends $Command<PutAccessControlRuleCommandInput, PutAccessControlRuleCommandOutput, WorkMailClientResolvedConfig> {
37
59
  readonly input: PutAccessControlRuleCommandInput;
@@ -29,6 +29,21 @@ export interface PutEmailMonitoringConfigurationCommandOutput extends PutEmailMo
29
29
  * @see {@link PutEmailMonitoringConfigurationCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
34
+ *
35
+ * @throws {@link OrganizationNotFoundException} (client fault)
36
+ * <p>An operation received a valid organization identifier that either doesn't belong or
37
+ * exist in the system.</p>
38
+ *
39
+ * @throws {@link OrganizationStateException} (client fault)
40
+ * <p>The organization must have a valid state to perform certain
41
+ * operations on the organization or its members.</p>
42
+ *
43
+ * @throws {@link ResourceNotFoundException} (client fault)
44
+ * <p>The resource cannot be found.</p>
45
+ *
46
+ *
32
47
  */
33
48
  export declare class PutEmailMonitoringConfigurationCommand extends $Command<PutEmailMonitoringConfigurationCommandInput, PutEmailMonitoringConfigurationCommandOutput, WorkMailClientResolvedConfig> {
34
49
  readonly input: PutEmailMonitoringConfigurationCommandInput;
@@ -29,6 +29,15 @@ export interface PutInboundDmarcSettingsCommandOutput extends PutInboundDmarcSet
29
29
  * @see {@link PutInboundDmarcSettingsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link OrganizationNotFoundException} (client fault)
33
+ * <p>An operation received a valid organization identifier that either doesn't belong or
34
+ * exist in the system.</p>
35
+ *
36
+ * @throws {@link OrganizationStateException} (client fault)
37
+ * <p>The organization must have a valid state to perform certain
38
+ * operations on the organization or its members.</p>
39
+ *
40
+ *
32
41
  */
33
42
  export declare class PutInboundDmarcSettingsCommand extends $Command<PutInboundDmarcSettingsCommandInput, PutInboundDmarcSettingsCommandOutput, WorkMailClientResolvedConfig> {
34
43
  readonly input: PutInboundDmarcSettingsCommandInput;
@@ -30,6 +30,26 @@ export interface PutMailboxPermissionsCommandOutput extends PutMailboxPermission
30
30
  * @see {@link PutMailboxPermissionsCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
32
32
  *
33
+ * @throws {@link EntityNotFoundException} (client fault)
34
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
35
+ * organization.</p>
36
+ *
37
+ * @throws {@link EntityStateException} (client fault)
38
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
39
+ * expected state, such as trying to delete an active user.</p>
40
+ *
41
+ * @throws {@link InvalidParameterException} (client fault)
42
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
43
+ *
44
+ * @throws {@link OrganizationNotFoundException} (client fault)
45
+ * <p>An operation received a valid organization identifier that either doesn't belong or
46
+ * exist in the system.</p>
47
+ *
48
+ * @throws {@link OrganizationStateException} (client fault)
49
+ * <p>The organization must have a valid state to perform certain
50
+ * operations on the organization or its members.</p>
51
+ *
52
+ *
33
53
  */
34
54
  export declare class PutMailboxPermissionsCommand extends $Command<PutMailboxPermissionsCommandInput, PutMailboxPermissionsCommandOutput, WorkMailClientResolvedConfig> {
35
55
  readonly input: PutMailboxPermissionsCommandInput;
@@ -29,6 +29,26 @@ export interface PutMobileDeviceAccessOverrideCommandOutput extends PutMobileDev
29
29
  * @see {@link PutMobileDeviceAccessOverrideCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link EntityNotFoundException} (client fault)
33
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
34
+ * organization.</p>
35
+ *
36
+ * @throws {@link EntityStateException} (client fault)
37
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
38
+ * expected state, such as trying to delete an active user.</p>
39
+ *
40
+ * @throws {@link InvalidParameterException} (client fault)
41
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
42
+ *
43
+ * @throws {@link OrganizationNotFoundException} (client fault)
44
+ * <p>An operation received a valid organization identifier that either doesn't belong or
45
+ * exist in the system.</p>
46
+ *
47
+ * @throws {@link OrganizationStateException} (client fault)
48
+ * <p>The organization must have a valid state to perform certain
49
+ * operations on the organization or its members.</p>
50
+ *
51
+ *
32
52
  */
33
53
  export declare class PutMobileDeviceAccessOverrideCommand extends $Command<PutMobileDeviceAccessOverrideCommandInput, PutMobileDeviceAccessOverrideCommandOutput, WorkMailClientResolvedConfig> {
34
54
  readonly input: PutMobileDeviceAccessOverrideCommandInput;
@@ -29,6 +29,21 @@ export interface PutRetentionPolicyCommandOutput extends PutRetentionPolicyRespo
29
29
  * @see {@link PutRetentionPolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
34
+ *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>The request exceeds the limit of the resource.</p>
37
+ *
38
+ * @throws {@link OrganizationNotFoundException} (client fault)
39
+ * <p>An operation received a valid organization identifier that either doesn't belong or
40
+ * exist in the system.</p>
41
+ *
42
+ * @throws {@link OrganizationStateException} (client fault)
43
+ * <p>The organization must have a valid state to perform certain
44
+ * operations on the organization or its members.</p>
45
+ *
46
+ *
32
47
  */
33
48
  export declare class PutRetentionPolicyCommand extends $Command<PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput, WorkMailClientResolvedConfig> {
34
49
  readonly input: PutRetentionPolicyCommandInput;
@@ -30,6 +30,24 @@ export interface RegisterMailDomainCommandOutput extends RegisterMailDomainRespo
30
30
  * @see {@link RegisterMailDomainCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
35
+ *
36
+ * @throws {@link LimitExceededException} (client fault)
37
+ * <p>The request exceeds the limit of the resource.</p>
38
+ *
39
+ * @throws {@link MailDomainInUseException} (client fault)
40
+ * <p>The domain you're trying to change is in use by another user or organization in your account. See the error message for details.</p>
41
+ *
42
+ * @throws {@link OrganizationNotFoundException} (client fault)
43
+ * <p>An operation received a valid organization identifier that either doesn't belong or
44
+ * exist in the system.</p>
45
+ *
46
+ * @throws {@link OrganizationStateException} (client fault)
47
+ * <p>The organization must have a valid state to perform certain
48
+ * operations on the organization or its members.</p>
49
+ *
50
+ *
33
51
  */
34
52
  export declare class RegisterMailDomainCommand extends $Command<RegisterMailDomainCommandInput, RegisterMailDomainCommandOutput, WorkMailClientResolvedConfig> {
35
53
  readonly input: RegisterMailDomainCommandInput;
@@ -35,6 +35,47 @@ export interface RegisterToWorkMailCommandOutput extends RegisterToWorkMailRespo
35
35
  * @see {@link RegisterToWorkMailCommandOutput} for command's `response` shape.
36
36
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
37
37
  *
38
+ * @throws {@link DirectoryServiceAuthenticationFailedException} (client fault)
39
+ * <p>The directory service doesn't recognize the credentials supplied by WorkMail.</p>
40
+ *
41
+ * @throws {@link DirectoryUnavailableException} (client fault)
42
+ * <p>The directory is unavailable. It might be located in another Region or deleted.</p>
43
+ *
44
+ * @throws {@link EmailAddressInUseException} (client fault)
45
+ * <p>The email address that you're trying to assign is already created for a different
46
+ * user, group, or resource.</p>
47
+ *
48
+ * @throws {@link EntityAlreadyRegisteredException} (client fault)
49
+ * <p>The user, group, or resource that you're trying to register is already
50
+ * registered.</p>
51
+ *
52
+ * @throws {@link EntityNotFoundException} (client fault)
53
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
54
+ * organization.</p>
55
+ *
56
+ * @throws {@link EntityStateException} (client fault)
57
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
58
+ * expected state, such as trying to delete an active user.</p>
59
+ *
60
+ * @throws {@link InvalidParameterException} (client fault)
61
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
62
+ *
63
+ * @throws {@link MailDomainNotFoundException} (client fault)
64
+ * <p>The domain specified is not found in your organization.</p>
65
+ *
66
+ * @throws {@link MailDomainStateException} (client fault)
67
+ * <p>After a domain has been added to the organization, it must be verified. The domain is
68
+ * not yet verified.</p>
69
+ *
70
+ * @throws {@link OrganizationNotFoundException} (client fault)
71
+ * <p>An operation received a valid organization identifier that either doesn't belong or
72
+ * exist in the system.</p>
73
+ *
74
+ * @throws {@link OrganizationStateException} (client fault)
75
+ * <p>The organization must have a valid state to perform certain
76
+ * operations on the organization or its members.</p>
77
+ *
78
+ *
38
79
  */
39
80
  export declare class RegisterToWorkMailCommand extends $Command<RegisterToWorkMailCommandInput, RegisterToWorkMailCommandOutput, WorkMailClientResolvedConfig> {
40
81
  readonly input: RegisterToWorkMailCommandInput;
@@ -29,6 +29,39 @@ export interface ResetPasswordCommandOutput extends ResetPasswordResponse, __Met
29
29
  * @see {@link ResetPasswordCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link DirectoryServiceAuthenticationFailedException} (client fault)
33
+ * <p>The directory service doesn't recognize the credentials supplied by WorkMail.</p>
34
+ *
35
+ * @throws {@link DirectoryUnavailableException} (client fault)
36
+ * <p>The directory is unavailable. It might be located in another Region or deleted.</p>
37
+ *
38
+ * @throws {@link EntityNotFoundException} (client fault)
39
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
40
+ * organization.</p>
41
+ *
42
+ * @throws {@link EntityStateException} (client fault)
43
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
44
+ * expected state, such as trying to delete an active user.</p>
45
+ *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
48
+ *
49
+ * @throws {@link InvalidPasswordException} (client fault)
50
+ * <p>The supplied password doesn't match the minimum security constraints, such as length
51
+ * or use of special characters.</p>
52
+ *
53
+ * @throws {@link OrganizationNotFoundException} (client fault)
54
+ * <p>An operation received a valid organization identifier that either doesn't belong or
55
+ * exist in the system.</p>
56
+ *
57
+ * @throws {@link OrganizationStateException} (client fault)
58
+ * <p>The organization must have a valid state to perform certain
59
+ * operations on the organization or its members.</p>
60
+ *
61
+ * @throws {@link UnsupportedOperationException} (client fault)
62
+ * <p>You can't perform a write operation against a read-only directory.</p>
63
+ *
64
+ *
32
65
  */
33
66
  export declare class ResetPasswordCommand extends $Command<ResetPasswordCommandInput, ResetPasswordCommandOutput, WorkMailClientResolvedConfig> {
34
67
  readonly input: ResetPasswordCommandInput;
@@ -32,6 +32,25 @@ export interface StartMailboxExportJobCommandOutput extends StartMailboxExportJo
32
32
  * @see {@link StartMailboxExportJobCommandOutput} for command's `response` shape.
33
33
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
34
34
  *
35
+ * @throws {@link EntityNotFoundException} (client fault)
36
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
37
+ * organization.</p>
38
+ *
39
+ * @throws {@link InvalidParameterException} (client fault)
40
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
41
+ *
42
+ * @throws {@link LimitExceededException} (client fault)
43
+ * <p>The request exceeds the limit of the resource.</p>
44
+ *
45
+ * @throws {@link OrganizationNotFoundException} (client fault)
46
+ * <p>An operation received a valid organization identifier that either doesn't belong or
47
+ * exist in the system.</p>
48
+ *
49
+ * @throws {@link OrganizationStateException} (client fault)
50
+ * <p>The organization must have a valid state to perform certain
51
+ * operations on the organization or its members.</p>
52
+ *
53
+ *
35
54
  */
36
55
  export declare class StartMailboxExportJobCommand extends $Command<StartMailboxExportJobCommandInput, StartMailboxExportJobCommandOutput, WorkMailClientResolvedConfig> {
37
56
  readonly input: StartMailboxExportJobCommandInput;
@@ -30,6 +30,17 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
30
30
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
32
32
  *
33
+ * @throws {@link OrganizationStateException} (client fault)
34
+ * <p>The organization must have a valid state to perform certain
35
+ * operations on the organization or its members.</p>
36
+ *
37
+ * @throws {@link ResourceNotFoundException} (client fault)
38
+ * <p>The resource cannot be found.</p>
39
+ *
40
+ * @throws {@link TooManyTagsException} (client fault)
41
+ * <p>The resource can have up to 50 user-applied tags.</p>
42
+ *
43
+ *
33
44
  */
34
45
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, WorkMailClientResolvedConfig> {
35
46
  readonly input: TagResourceCommandInput;
@@ -36,6 +36,21 @@ export interface TestAvailabilityConfigurationCommandOutput extends TestAvailabi
36
36
  * @see {@link TestAvailabilityConfigurationCommandOutput} for command's `response` shape.
37
37
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidParameterException} (client fault)
40
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
41
+ *
42
+ * @throws {@link OrganizationNotFoundException} (client fault)
43
+ * <p>An operation received a valid organization identifier that either doesn't belong or
44
+ * exist in the system.</p>
45
+ *
46
+ * @throws {@link OrganizationStateException} (client fault)
47
+ * <p>The organization must have a valid state to perform certain
48
+ * operations on the organization or its members.</p>
49
+ *
50
+ * @throws {@link ResourceNotFoundException} (client fault)
51
+ * <p>The resource cannot be found.</p>
52
+ *
53
+ *
39
54
  */
40
55
  export declare class TestAvailabilityConfigurationCommand extends $Command<TestAvailabilityConfigurationCommandInput, TestAvailabilityConfigurationCommandOutput, WorkMailClientResolvedConfig> {
41
56
  readonly input: TestAvailabilityConfigurationCommandInput;
@@ -30,6 +30,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
30
30
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
32
32
  *
33
+ * @throws {@link ResourceNotFoundException} (client fault)
34
+ * <p>The resource cannot be found.</p>
35
+ *
36
+ *
33
37
  */
34
38
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WorkMailClientResolvedConfig> {
35
39
  readonly input: UntagResourceCommandInput;
@@ -30,6 +30,21 @@ export interface UpdateAvailabilityConfigurationCommandOutput extends UpdateAvai
30
30
  * @see {@link UpdateAvailabilityConfigurationCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidParameterException} (client fault)
34
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
35
+ *
36
+ * @throws {@link OrganizationNotFoundException} (client fault)
37
+ * <p>An operation received a valid organization identifier that either doesn't belong or
38
+ * exist in the system.</p>
39
+ *
40
+ * @throws {@link OrganizationStateException} (client fault)
41
+ * <p>The organization must have a valid state to perform certain
42
+ * operations on the organization or its members.</p>
43
+ *
44
+ * @throws {@link ResourceNotFoundException} (client fault)
45
+ * <p>The resource cannot be found.</p>
46
+ *
47
+ *
33
48
  */
34
49
  export declare class UpdateAvailabilityConfigurationCommand extends $Command<UpdateAvailabilityConfigurationCommandInput, UpdateAvailabilityConfigurationCommandOutput, WorkMailClientResolvedConfig> {
35
50
  readonly input: UpdateAvailabilityConfigurationCommandInput;
@@ -29,6 +29,25 @@ export interface UpdateDefaultMailDomainCommandOutput extends UpdateDefaultMailD
29
29
  * @see {@link UpdateDefaultMailDomainCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidParameterException} (client fault)
33
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
34
+ *
35
+ * @throws {@link MailDomainNotFoundException} (client fault)
36
+ * <p>The domain specified is not found in your organization.</p>
37
+ *
38
+ * @throws {@link MailDomainStateException} (client fault)
39
+ * <p>After a domain has been added to the organization, it must be verified. The domain is
40
+ * not yet verified.</p>
41
+ *
42
+ * @throws {@link OrganizationNotFoundException} (client fault)
43
+ * <p>An operation received a valid organization identifier that either doesn't belong or
44
+ * exist in the system.</p>
45
+ *
46
+ * @throws {@link OrganizationStateException} (client fault)
47
+ * <p>The organization must have a valid state to perform certain
48
+ * operations on the organization or its members.</p>
49
+ *
50
+ *
32
51
  */
33
52
  export declare class UpdateDefaultMailDomainCommand extends $Command<UpdateDefaultMailDomainCommandInput, UpdateDefaultMailDomainCommandOutput, WorkMailClientResolvedConfig> {
34
53
  readonly input: UpdateDefaultMailDomainCommandInput;
@@ -29,6 +29,32 @@ export interface UpdateImpersonationRoleCommandOutput extends UpdateImpersonatio
29
29
  * @see {@link UpdateImpersonationRoleCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link EntityNotFoundException} (client fault)
33
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
34
+ * organization.</p>
35
+ *
36
+ * @throws {@link EntityStateException} (client fault)
37
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
38
+ * expected state, such as trying to delete an active user.</p>
39
+ *
40
+ * @throws {@link InvalidParameterException} (client fault)
41
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
42
+ *
43
+ * @throws {@link LimitExceededException} (client fault)
44
+ * <p>The request exceeds the limit of the resource.</p>
45
+ *
46
+ * @throws {@link OrganizationNotFoundException} (client fault)
47
+ * <p>An operation received a valid organization identifier that either doesn't belong or
48
+ * exist in the system.</p>
49
+ *
50
+ * @throws {@link OrganizationStateException} (client fault)
51
+ * <p>The organization must have a valid state to perform certain
52
+ * operations on the organization or its members.</p>
53
+ *
54
+ * @throws {@link ResourceNotFoundException} (client fault)
55
+ * <p>The resource cannot be found.</p>
56
+ *
57
+ *
32
58
  */
33
59
  export declare class UpdateImpersonationRoleCommand extends $Command<UpdateImpersonationRoleCommandInput, UpdateImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
34
60
  readonly input: UpdateImpersonationRoleCommandInput;