@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,26 @@ export interface AssociateDelegateToResourceCommandOutput extends AssociateDeleg
29
29
  * @see {@link AssociateDelegateToResourceCommandOutput} 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 AssociateDelegateToResourceCommand extends $Command<AssociateDelegateToResourceCommandInput, AssociateDelegateToResourceCommandOutput, WorkMailClientResolvedConfig> {
34
54
  readonly input: AssociateDelegateToResourceCommandInput;
@@ -29,6 +29,35 @@ export interface AssociateMemberToGroupCommandOutput extends AssociateMemberToGr
29
29
  * @see {@link AssociateMemberToGroupCommandOutput} 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 OrganizationNotFoundException} (client fault)
50
+ * <p>An operation received a valid organization identifier that either doesn't belong or
51
+ * exist in the system.</p>
52
+ *
53
+ * @throws {@link OrganizationStateException} (client fault)
54
+ * <p>The organization must have a valid state to perform certain
55
+ * operations on the organization or its members.</p>
56
+ *
57
+ * @throws {@link UnsupportedOperationException} (client fault)
58
+ * <p>You can't perform a write operation against a read-only directory.</p>
59
+ *
60
+ *
32
61
  */
33
62
  export declare class AssociateMemberToGroupCommand extends $Command<AssociateMemberToGroupCommandInput, AssociateMemberToGroupCommandOutput, WorkMailClientResolvedConfig> {
34
63
  readonly input: AssociateMemberToGroupCommandInput;
@@ -30,6 +30,21 @@ export interface AssumeImpersonationRoleCommandOutput extends AssumeImpersonatio
30
30
  * @see {@link AssumeImpersonationRoleCommandOutput} 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 AssumeImpersonationRoleCommand extends $Command<AssumeImpersonationRoleCommandInput, AssumeImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
35
50
  readonly input: AssumeImpersonationRoleCommandInput;
@@ -33,6 +33,22 @@ export interface CancelMailboxExportJobCommandOutput extends CancelMailboxExport
33
33
  * @see {@link CancelMailboxExportJobCommandOutput} for command's `response` shape.
34
34
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
35
35
  *
36
+ * @throws {@link EntityNotFoundException} (client fault)
37
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
38
+ * organization.</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
+ *
36
52
  */
37
53
  export declare class CancelMailboxExportJobCommand extends $Command<CancelMailboxExportJobCommandInput, CancelMailboxExportJobCommandOutput, WorkMailClientResolvedConfig> {
38
54
  readonly input: CancelMailboxExportJobCommandInput;
@@ -29,6 +29,40 @@ export interface CreateAliasCommandOutput extends CreateAliasResponse, __Metadat
29
29
  * @see {@link CreateAliasCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link EmailAddressInUseException} (client fault)
33
+ * <p>The email address that you're trying to assign is already created for a different
34
+ * user, group, or resource.</p>
35
+ *
36
+ * @throws {@link EntityNotFoundException} (client fault)
37
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
38
+ * organization.</p>
39
+ *
40
+ * @throws {@link EntityStateException} (client fault)
41
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
42
+ * expected state, such as trying to delete an active user.</p>
43
+ *
44
+ * @throws {@link InvalidParameterException} (client fault)
45
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
46
+ *
47
+ * @throws {@link LimitExceededException} (client fault)
48
+ * <p>The request exceeds the limit of the resource.</p>
49
+ *
50
+ * @throws {@link MailDomainNotFoundException} (client fault)
51
+ * <p>The domain specified is not found in your organization.</p>
52
+ *
53
+ * @throws {@link MailDomainStateException} (client fault)
54
+ * <p>After a domain has been added to the organization, it must be verified. The domain is
55
+ * not yet verified.</p>
56
+ *
57
+ * @throws {@link OrganizationNotFoundException} (client fault)
58
+ * <p>An operation received a valid organization identifier that either doesn't belong or
59
+ * exist in the system.</p>
60
+ *
61
+ * @throws {@link OrganizationStateException} (client fault)
62
+ * <p>The organization must have a valid state to perform certain
63
+ * operations on the organization or its members.</p>
64
+ *
65
+ *
32
66
  */
33
67
  export declare class CreateAliasCommand extends $Command<CreateAliasCommandInput, CreateAliasCommandOutput, WorkMailClientResolvedConfig> {
34
68
  readonly input: CreateAliasCommandInput;
@@ -29,6 +29,24 @@ export interface CreateAvailabilityConfigurationCommandOutput extends CreateAvai
29
29
  * @see {@link CreateAvailabilityConfigurationCommandOutput} 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 NameAvailabilityException} (client fault)
39
+ * <p>The user, group, or resource name isn't unique in WorkMail.</p>
40
+ *
41
+ * @throws {@link OrganizationNotFoundException} (client fault)
42
+ * <p>An operation received a valid organization identifier that either doesn't belong or
43
+ * exist in the system.</p>
44
+ *
45
+ * @throws {@link OrganizationStateException} (client fault)
46
+ * <p>The organization must have a valid state to perform certain
47
+ * operations on the organization or its members.</p>
48
+ *
49
+ *
32
50
  */
33
51
  export declare class CreateAvailabilityConfigurationCommand extends $Command<CreateAvailabilityConfigurationCommandInput, CreateAvailabilityConfigurationCommandOutput, WorkMailClientResolvedConfig> {
34
52
  readonly input: CreateAvailabilityConfigurationCommandInput;
@@ -29,6 +29,33 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
29
29
  * @see {@link CreateGroupCommandOutput} 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 InvalidParameterException} (client fault)
39
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
40
+ *
41
+ * @throws {@link NameAvailabilityException} (client fault)
42
+ * <p>The user, group, or resource name isn't unique in WorkMail.</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
+ * @throws {@link ReservedNameException} (client fault)
53
+ * <p>This user, group, or resource name is not allowed in WorkMail.</p>
54
+ *
55
+ * @throws {@link UnsupportedOperationException} (client fault)
56
+ * <p>You can't perform a write operation against a read-only directory.</p>
57
+ *
58
+ *
32
59
  */
33
60
  export declare class CreateGroupCommand extends $Command<CreateGroupCommandInput, CreateGroupCommandOutput, WorkMailClientResolvedConfig> {
34
61
  readonly input: CreateGroupCommandInput;
@@ -34,6 +34,29 @@ export interface CreateImpersonationRoleCommandOutput extends CreateImpersonatio
34
34
  * @see {@link CreateImpersonationRoleCommandOutput} for command's `response` shape.
35
35
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
36
36
  *
37
+ * @throws {@link EntityNotFoundException} (client fault)
38
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
39
+ * organization.</p>
40
+ *
41
+ * @throws {@link EntityStateException} (client fault)
42
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
43
+ * expected state, such as trying to delete an active user.</p>
44
+ *
45
+ * @throws {@link InvalidParameterException} (client fault)
46
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
47
+ *
48
+ * @throws {@link LimitExceededException} (client fault)
49
+ * <p>The request exceeds the limit of the resource.</p>
50
+ *
51
+ * @throws {@link OrganizationNotFoundException} (client fault)
52
+ * <p>An operation received a valid organization identifier that either doesn't belong or
53
+ * exist in the system.</p>
54
+ *
55
+ * @throws {@link OrganizationStateException} (client fault)
56
+ * <p>The organization must have a valid state to perform certain
57
+ * operations on the organization or its members.</p>
58
+ *
59
+ *
37
60
  */
38
61
  export declare class CreateImpersonationRoleCommand extends $Command<CreateImpersonationRoleCommandInput, CreateImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
39
62
  readonly input: CreateImpersonationRoleCommandInput;
@@ -29,6 +29,21 @@ export interface CreateMobileDeviceAccessRuleCommandOutput extends CreateMobileD
29
29
  * @see {@link CreateMobileDeviceAccessRuleCommandOutput} 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 CreateMobileDeviceAccessRuleCommand extends $Command<CreateMobileDeviceAccessRuleCommandInput, CreateMobileDeviceAccessRuleCommandOutput, WorkMailClientResolvedConfig> {
34
49
  readonly input: CreateMobileDeviceAccessRuleCommandInput;
@@ -37,6 +37,22 @@ export interface CreateOrganizationCommandOutput extends CreateOrganizationRespo
37
37
  * @see {@link CreateOrganizationCommandOutput} for command's `response` shape.
38
38
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
39
39
  *
40
+ * @throws {@link DirectoryInUseException} (client fault)
41
+ * <p>The directory is already in use by another WorkMail organization in the same account and Region.</p>
42
+ *
43
+ * @throws {@link DirectoryUnavailableException} (client fault)
44
+ * <p>The directory is unavailable. It might be located in another Region or deleted.</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 LimitExceededException} (client fault)
50
+ * <p>The request exceeds the limit of the resource.</p>
51
+ *
52
+ * @throws {@link NameAvailabilityException} (client fault)
53
+ * <p>The user, group, or resource name isn't unique in WorkMail.</p>
54
+ *
55
+ *
40
56
  */
41
57
  export declare class CreateOrganizationCommand extends $Command<CreateOrganizationCommandInput, CreateOrganizationCommandOutput, WorkMailClientResolvedConfig> {
42
58
  readonly input: CreateOrganizationCommandInput;
@@ -29,6 +29,30 @@ export interface CreateResourceCommandOutput extends CreateResourceResponse, __M
29
29
  * @see {@link CreateResourceCommandOutput} 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 InvalidParameterException} (client fault)
39
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
40
+ *
41
+ * @throws {@link NameAvailabilityException} (client fault)
42
+ * <p>The user, group, or resource name isn't unique in WorkMail.</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
+ * @throws {@link ReservedNameException} (client fault)
53
+ * <p>This user, group, or resource name is not allowed in WorkMail.</p>
54
+ *
55
+ *
32
56
  */
33
57
  export declare class CreateResourceCommand extends $Command<CreateResourceCommandInput, CreateResourceCommandOutput, WorkMailClientResolvedConfig> {
34
58
  readonly input: CreateResourceCommandInput;
@@ -29,6 +29,37 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
29
29
  * @see {@link CreateUserCommandOutput} 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 InvalidParameterException} (client fault)
39
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
40
+ *
41
+ * @throws {@link InvalidPasswordException} (client fault)
42
+ * <p>The supplied password doesn't match the minimum security constraints, such as length
43
+ * or use of special characters.</p>
44
+ *
45
+ * @throws {@link NameAvailabilityException} (client fault)
46
+ * <p>The user, group, or resource name isn't unique in WorkMail.</p>
47
+ *
48
+ * @throws {@link OrganizationNotFoundException} (client fault)
49
+ * <p>An operation received a valid organization identifier that either doesn't belong or
50
+ * exist in the system.</p>
51
+ *
52
+ * @throws {@link OrganizationStateException} (client fault)
53
+ * <p>The organization must have a valid state to perform certain
54
+ * operations on the organization or its members.</p>
55
+ *
56
+ * @throws {@link ReservedNameException} (client fault)
57
+ * <p>This user, group, or resource name is not allowed in WorkMail.</p>
58
+ *
59
+ * @throws {@link UnsupportedOperationException} (client fault)
60
+ * <p>You can't perform a write operation against a read-only directory.</p>
61
+ *
62
+ *
32
63
  */
33
64
  export declare class CreateUserCommand extends $Command<CreateUserCommandInput, CreateUserCommandOutput, WorkMailClientResolvedConfig> {
34
65
  readonly input: CreateUserCommandInput;
@@ -32,6 +32,15 @@ export interface DeleteAccessControlRuleCommandOutput extends DeleteAccessContro
32
32
  * @see {@link DeleteAccessControlRuleCommandOutput} for command's `response` shape.
33
33
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
34
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
+ *
35
44
  */
36
45
  export declare class DeleteAccessControlRuleCommand extends $Command<DeleteAccessControlRuleCommandInput, DeleteAccessControlRuleCommandOutput, WorkMailClientResolvedConfig> {
37
46
  readonly input: DeleteAccessControlRuleCommandInput;
@@ -30,6 +30,26 @@ export interface DeleteAliasCommandOutput extends DeleteAliasResponse, __Metadat
30
30
  * @see {@link DeleteAliasCommandOutput} 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 DeleteAliasCommand extends $Command<DeleteAliasCommandInput, DeleteAliasCommandOutput, WorkMailClientResolvedConfig> {
35
55
  readonly input: DeleteAliasCommandInput;
@@ -29,6 +29,15 @@ export interface DeleteAvailabilityConfigurationCommandOutput extends DeleteAvai
29
29
  * @see {@link DeleteAvailabilityConfigurationCommandOutput} 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 DeleteAvailabilityConfigurationCommand extends $Command<DeleteAvailabilityConfigurationCommandInput, DeleteAvailabilityConfigurationCommandOutput, WorkMailClientResolvedConfig> {
34
43
  readonly input: DeleteAvailabilityConfigurationCommandInput;
@@ -29,6 +29,18 @@ export interface DeleteEmailMonitoringConfigurationCommandOutput extends DeleteE
29
29
  * @see {@link DeleteEmailMonitoringConfigurationCommandOutput} 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 DeleteEmailMonitoringConfigurationCommand extends $Command<DeleteEmailMonitoringConfigurationCommandInput, DeleteEmailMonitoringConfigurationCommandOutput, WorkMailClientResolvedConfig> {
34
46
  readonly input: DeleteEmailMonitoringConfigurationCommandInput;
@@ -29,6 +29,31 @@ export interface DeleteGroupCommandOutput extends DeleteGroupResponse, __Metadat
29
29
  * @see {@link DeleteGroupCommandOutput} 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 EntityStateException} (client fault)
39
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
40
+ * expected state, such as trying to delete an active user.</p>
41
+ *
42
+ * @throws {@link InvalidParameterException} (client fault)
43
+ * <p>One or more of the input parameters don't match the service's restrictions.</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 UnsupportedOperationException} (client fault)
54
+ * <p>You can't perform a write operation against a read-only directory.</p>
55
+ *
56
+ *
32
57
  */
33
58
  export declare class DeleteGroupCommand extends $Command<DeleteGroupCommandInput, DeleteGroupCommandOutput, WorkMailClientResolvedConfig> {
34
59
  readonly input: DeleteGroupCommandInput;
@@ -29,6 +29,18 @@ export interface DeleteImpersonationRoleCommandOutput extends DeleteImpersonatio
29
29
  * @see {@link DeleteImpersonationRoleCommandOutput} 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 DeleteImpersonationRoleCommand extends $Command<DeleteImpersonationRoleCommandInput, DeleteImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
34
46
  readonly input: DeleteImpersonationRoleCommandInput;
@@ -29,6 +29,26 @@ export interface DeleteMailboxPermissionsCommandOutput extends DeleteMailboxPerm
29
29
  * @see {@link DeleteMailboxPermissionsCommandOutput} 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 DeleteMailboxPermissionsCommand extends $Command<DeleteMailboxPermissionsCommandInput, DeleteMailboxPermissionsCommandOutput, WorkMailClientResolvedConfig> {
34
54
  readonly input: DeleteMailboxPermissionsCommandInput;
@@ -32,6 +32,22 @@ export interface DeleteMobileDeviceAccessOverrideCommandOutput extends DeleteMob
32
32
  * @see {@link DeleteMobileDeviceAccessOverrideCommandOutput} 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 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
+ *
35
51
  */
36
52
  export declare class DeleteMobileDeviceAccessOverrideCommand extends $Command<DeleteMobileDeviceAccessOverrideCommandInput, DeleteMobileDeviceAccessOverrideCommandOutput, WorkMailClientResolvedConfig> {
37
53
  readonly input: DeleteMobileDeviceAccessOverrideCommandInput;
@@ -32,6 +32,18 @@ export interface DeleteMobileDeviceAccessRuleCommandOutput extends DeleteMobileD
32
32
  * @see {@link DeleteMobileDeviceAccessRuleCommandOutput} for command's `response` shape.
33
33
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidParameterException} (client fault)
36
+ * <p>One or more of the input parameters don't match the service's restrictions.</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
+ *
35
47
  */
36
48
  export declare class DeleteMobileDeviceAccessRuleCommand extends $Command<DeleteMobileDeviceAccessRuleCommandInput, DeleteMobileDeviceAccessRuleCommandOutput, WorkMailClientResolvedConfig> {
37
49
  readonly input: DeleteMobileDeviceAccessRuleCommandInput;
@@ -29,6 +29,18 @@ export interface DeleteOrganizationCommandOutput extends DeleteOrganizationRespo
29
29
  * @see {@link DeleteOrganizationCommandOutput} 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 DeleteOrganizationCommand extends $Command<DeleteOrganizationCommandInput, DeleteOrganizationCommandOutput, WorkMailClientResolvedConfig> {
34
46
  readonly input: DeleteOrganizationCommandInput;
@@ -29,6 +29,22 @@ export interface DeleteResourceCommandOutput extends DeleteResourceResponse, __M
29
29
  * @see {@link DeleteResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
31
31
  *
32
+ * @throws {@link EntityStateException} (client fault)
33
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
34
+ * expected state, such as trying to delete an active user.</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 DeleteResourceCommand extends $Command<DeleteResourceCommandInput, DeleteResourceCommandOutput, WorkMailClientResolvedConfig> {
34
50
  readonly input: DeleteResourceCommandInput;
@@ -29,6 +29,18 @@ export interface DeleteRetentionPolicyCommandOutput extends DeleteRetentionPolic
29
29
  * @see {@link DeleteRetentionPolicyCommandOutput} 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 DeleteRetentionPolicyCommand extends $Command<DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput, WorkMailClientResolvedConfig> {
34
46
  readonly input: DeleteRetentionPolicyCommandInput;