@aws-sdk/client-workmail 3.289.0 → 3.292.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 +35 -40
@@ -33,6 +33,31 @@ export interface DeleteUserCommandOutput extends DeleteUserResponse, __MetadataB
33
33
  * @see {@link DeleteUserCommandOutput} for command's `response` shape.
34
34
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
35
35
  *
36
+ * @throws {@link DirectoryServiceAuthenticationFailedException} (client fault)
37
+ * <p>The directory service doesn't recognize the credentials supplied by WorkMail.</p>
38
+ *
39
+ * @throws {@link DirectoryUnavailableException} (client fault)
40
+ * <p>The directory is unavailable. It might be located in another Region or deleted.</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
+ *
36
61
  */
37
62
  export declare class DeleteUserCommand extends $Command<DeleteUserCommandInput, DeleteUserCommandOutput, WorkMailClientResolvedConfig> {
38
63
  readonly input: DeleteUserCommandInput;
@@ -32,6 +32,26 @@ export interface DeregisterFromWorkMailCommandOutput extends DeregisterFromWorkM
32
32
  * @see {@link DeregisterFromWorkMailCommandOutput} 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 EntityStateException} (client fault)
40
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
41
+ * expected state, such as trying to delete an active user.</p>
42
+ *
43
+ * @throws {@link InvalidParameterException} (client fault)
44
+ * <p>One or more of the input parameters don't match the service's restrictions.</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
+ *
35
55
  */
36
56
  export declare class DeregisterFromWorkMailCommand extends $Command<DeregisterFromWorkMailCommandInput, DeregisterFromWorkMailCommandOutput, WorkMailClientResolvedConfig> {
37
57
  readonly input: DeregisterFromWorkMailCommandInput;
@@ -30,6 +30,25 @@ export interface DeregisterMailDomainCommandOutput extends DeregisterMailDomainR
30
30
  * @see {@link DeregisterMailDomainCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidCustomSesConfigurationException} (client fault)
34
+ * <p>You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to
35
+ * <a href="https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html">CreateReceiptRule</a>.</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 MailDomainInUseException} (client fault)
41
+ * <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>
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
+ *
33
52
  */
34
53
  export declare class DeregisterMailDomainCommand extends $Command<DeregisterMailDomainCommandInput, DeregisterMailDomainCommandOutput, WorkMailClientResolvedConfig> {
35
54
  readonly input: DeregisterMailDomainCommandInput;
@@ -29,6 +29,21 @@ export interface DescribeEmailMonitoringConfigurationCommandOutput extends Descr
29
29
  * @see {@link DescribeEmailMonitoringConfigurationCommandOutput} 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 DescribeEmailMonitoringConfigurationCommand extends $Command<DescribeEmailMonitoringConfigurationCommandInput, DescribeEmailMonitoringConfigurationCommandOutput, WorkMailClientResolvedConfig> {
34
49
  readonly input: DescribeEmailMonitoringConfigurationCommandInput;
@@ -29,6 +29,22 @@ export interface DescribeGroupCommandOutput extends DescribeGroupResponse, __Met
29
29
  * @see {@link DescribeGroupCommandOutput} 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 DescribeGroupCommand extends $Command<DescribeGroupCommandInput, DescribeGroupCommandOutput, WorkMailClientResolvedConfig> {
34
50
  readonly input: DescribeGroupCommandInput;
@@ -29,6 +29,15 @@ export interface DescribeInboundDmarcSettingsCommandOutput extends DescribeInbou
29
29
  * @see {@link DescribeInboundDmarcSettingsCommandOutput} 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 DescribeInboundDmarcSettingsCommand extends $Command<DescribeInboundDmarcSettingsCommandInput, DescribeInboundDmarcSettingsCommandOutput, WorkMailClientResolvedConfig> {
34
43
  readonly input: DescribeInboundDmarcSettingsCommandInput;
@@ -29,6 +29,22 @@ export interface DescribeMailboxExportJobCommandOutput extends DescribeMailboxEx
29
29
  * @see {@link DescribeMailboxExportJobCommandOutput} 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 DescribeMailboxExportJobCommand extends $Command<DescribeMailboxExportJobCommandInput, DescribeMailboxExportJobCommandOutput, WorkMailClientResolvedConfig> {
34
50
  readonly input: DescribeMailboxExportJobCommandInput;
@@ -30,6 +30,14 @@ export interface DescribeOrganizationCommandOutput extends DescribeOrganizationR
30
30
  * @see {@link DescribeOrganizationCommandOutput} 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
+ *
33
41
  */
34
42
  export declare class DescribeOrganizationCommand extends $Command<DescribeOrganizationCommandInput, DescribeOrganizationCommandOutput, WorkMailClientResolvedConfig> {
35
43
  readonly input: DescribeOrganizationCommandInput;
@@ -29,6 +29,22 @@ export interface DescribeResourceCommandOutput extends DescribeResourceResponse,
29
29
  * @see {@link DescribeResourceCommandOutput} 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 DescribeResourceCommand extends $Command<DescribeResourceCommandInput, DescribeResourceCommandOutput, WorkMailClientResolvedConfig> {
34
50
  readonly input: DescribeResourceCommandInput;
@@ -29,6 +29,22 @@ export interface DescribeUserCommandOutput extends DescribeUserResponse, __Metad
29
29
  * @see {@link DescribeUserCommandOutput} 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 DescribeUserCommand extends $Command<DescribeUserCommandInput, DescribeUserCommandOutput, WorkMailClientResolvedConfig> {
34
50
  readonly input: DescribeUserCommandInput;
@@ -29,6 +29,26 @@ export interface DisassociateDelegateFromResourceCommandOutput extends Disassoci
29
29
  * @see {@link DisassociateDelegateFromResourceCommandOutput} 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 DisassociateDelegateFromResourceCommand extends $Command<DisassociateDelegateFromResourceCommandInput, DisassociateDelegateFromResourceCommandOutput, WorkMailClientResolvedConfig> {
34
54
  readonly input: DisassociateDelegateFromResourceCommandInput;
@@ -29,6 +29,35 @@ export interface DisassociateMemberFromGroupCommandOutput extends DisassociateMe
29
29
  * @see {@link DisassociateMemberFromGroupCommandOutput} 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 DisassociateMemberFromGroupCommand extends $Command<DisassociateMemberFromGroupCommandInput, DisassociateMemberFromGroupCommandOutput, WorkMailClientResolvedConfig> {
34
63
  readonly input: DisassociateMemberFromGroupCommandInput;
@@ -30,6 +30,25 @@ export interface GetAccessControlEffectCommandOutput extends GetAccessControlEff
30
30
  * @see {@link GetAccessControlEffectCommandOutput} 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
+ * @throws {@link ResourceNotFoundException} (client fault)
49
+ * <p>The resource cannot be found.</p>
50
+ *
51
+ *
33
52
  */
34
53
  export declare class GetAccessControlEffectCommand extends $Command<GetAccessControlEffectCommandInput, GetAccessControlEffectCommandOutput, WorkMailClientResolvedConfig> {
35
54
  readonly input: GetAccessControlEffectCommandInput;
@@ -29,6 +29,22 @@ export interface GetDefaultRetentionPolicyCommandOutput extends GetDefaultRetent
29
29
  * @see {@link GetDefaultRetentionPolicyCommandOutput} 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 GetDefaultRetentionPolicyCommand extends $Command<GetDefaultRetentionPolicyCommandInput, GetDefaultRetentionPolicyCommandOutput, WorkMailClientResolvedConfig> {
34
50
  readonly input: GetDefaultRetentionPolicyCommandInput;
@@ -29,6 +29,21 @@ export interface GetImpersonationRoleCommandOutput extends GetImpersonationRoleR
29
29
  * @see {@link GetImpersonationRoleCommandOutput} 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 GetImpersonationRoleCommand extends $Command<GetImpersonationRoleCommandInput, GetImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
34
49
  readonly input: GetImpersonationRoleCommandInput;
@@ -29,6 +29,29 @@ export interface GetImpersonationRoleEffectCommandOutput extends GetImpersonatio
29
29
  * @see {@link GetImpersonationRoleEffectCommandOutput} 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
+ * @throws {@link ResourceNotFoundException} (client fault)
52
+ * <p>The resource cannot be found.</p>
53
+ *
54
+ *
32
55
  */
33
56
  export declare class GetImpersonationRoleEffectCommand extends $Command<GetImpersonationRoleEffectCommandInput, GetImpersonationRoleEffectCommandOutput, WorkMailClientResolvedConfig> {
34
57
  readonly input: GetImpersonationRoleEffectCommandInput;
@@ -29,6 +29,21 @@ export interface GetMailDomainCommandOutput extends GetMailDomainResponse, __Met
29
29
  * @see {@link GetMailDomainCommandOutput} 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 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 GetMailDomainCommand extends $Command<GetMailDomainCommandInput, GetMailDomainCommandOutput, WorkMailClientResolvedConfig> {
34
49
  readonly input: GetMailDomainCommandInput;
@@ -29,6 +29,19 @@ export interface GetMailboxDetailsCommandOutput extends GetMailboxDetailsRespons
29
29
  * @see {@link GetMailboxDetailsCommandOutput} 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 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
+ *
32
45
  */
33
46
  export declare class GetMailboxDetailsCommand extends $Command<GetMailboxDetailsCommandInput, GetMailboxDetailsCommandOutput, WorkMailClientResolvedConfig> {
34
47
  readonly input: GetMailboxDetailsCommandInput;
@@ -30,6 +30,18 @@ export interface GetMobileDeviceAccessEffectCommandOutput extends GetMobileDevic
30
30
  * @see {@link GetMobileDeviceAccessEffectCommandOutput} 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 GetMobileDeviceAccessEffectCommand extends $Command<GetMobileDeviceAccessEffectCommandInput, GetMobileDeviceAccessEffectCommandOutput, WorkMailClientResolvedConfig> {
35
47
  readonly input: GetMobileDeviceAccessEffectCommandInput;
@@ -29,6 +29,25 @@ export interface GetMobileDeviceAccessOverrideCommandOutput extends GetMobileDev
29
29
  * @see {@link GetMobileDeviceAccessOverrideCommandOutput} 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
+ * @throws {@link ResourceNotFoundException} (client fault)
48
+ * <p>The resource cannot be found.</p>
49
+ *
50
+ *
32
51
  */
33
52
  export declare class GetMobileDeviceAccessOverrideCommand extends $Command<GetMobileDeviceAccessOverrideCommandInput, GetMobileDeviceAccessOverrideCommandOutput, WorkMailClientResolvedConfig> {
34
53
  readonly input: GetMobileDeviceAccessOverrideCommandInput;
@@ -29,6 +29,15 @@ export interface ListAccessControlRulesCommandOutput extends ListAccessControlRu
29
29
  * @see {@link ListAccessControlRulesCommandOutput} 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 ListAccessControlRulesCommand extends $Command<ListAccessControlRulesCommandInput, ListAccessControlRulesCommandOutput, WorkMailClientResolvedConfig> {
34
43
  readonly input: ListAccessControlRulesCommandInput;
@@ -30,6 +30,26 @@ export interface ListAliasesCommandOutput extends ListAliasesResponse, __Metadat
30
30
  * @see {@link ListAliasesCommandOutput} 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 ListAliasesCommand extends $Command<ListAliasesCommandInput, ListAliasesCommandOutput, WorkMailClientResolvedConfig> {
35
55
  readonly input: ListAliasesCommandInput;
@@ -29,6 +29,15 @@ export interface ListAvailabilityConfigurationsCommandOutput extends ListAvailab
29
29
  * @see {@link ListAvailabilityConfigurationsCommandOutput} 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 ListAvailabilityConfigurationsCommand extends $Command<ListAvailabilityConfigurationsCommandInput, ListAvailabilityConfigurationsCommandOutput, WorkMailClientResolvedConfig> {
34
43
  readonly input: ListAvailabilityConfigurationsCommandInput;
@@ -30,6 +30,26 @@ export interface ListGroupMembersCommandOutput extends ListGroupMembersResponse,
30
30
  * @see {@link ListGroupMembersCommandOutput} 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 ListGroupMembersCommand extends $Command<ListGroupMembersCommandInput, ListGroupMembersCommandOutput, WorkMailClientResolvedConfig> {
35
55
  readonly input: ListGroupMembersCommandInput;
@@ -29,6 +29,22 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
29
29
  * @see {@link ListGroupsCommandOutput} 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 ListGroupsCommand extends $Command<ListGroupsCommandInput, ListGroupsCommandOutput, WorkMailClientResolvedConfig> {
34
50
  readonly input: ListGroupsCommandInput;
@@ -29,6 +29,18 @@ export interface ListImpersonationRolesCommandOutput extends ListImpersonationRo
29
29
  * @see {@link ListImpersonationRolesCommandOutput} 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 ListImpersonationRolesCommand extends $Command<ListImpersonationRolesCommandInput, ListImpersonationRolesCommandOutput, WorkMailClientResolvedConfig> {
34
46
  readonly input: ListImpersonationRolesCommandInput;