@aws-sdk/client-workmail 3.300.0 → 3.303.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 (85) hide show
  1. package/dist-cjs/models/models_0.js +66 -80
  2. package/dist-es/models/models_0.js +66 -80
  3. package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +1 -1
  4. package/dist-types/commands/AssociateMemberToGroupCommand.d.ts +1 -1
  5. package/dist-types/commands/AssumeImpersonationRoleCommand.d.ts +1 -1
  6. package/dist-types/commands/CancelMailboxExportJobCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateAvailabilityConfigurationCommand.d.ts +3 -3
  9. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateImpersonationRoleCommand.d.ts +4 -4
  11. package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +5 -5
  12. package/dist-types/commands/CreateOrganizationCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateResourceCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateUserCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteAccessControlRuleCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteAvailabilityConfigurationCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteEmailMonitoringConfigurationCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteImpersonationRoleCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteMailboxPermissionsCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  28. package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +1 -1
  29. package/dist-types/commands/DeregisterMailDomainCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeEmailMonitoringConfigurationCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeGroupCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeInboundDmarcSettingsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeMailboxExportJobCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeOrganizationCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeResourceCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  37. package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +1 -1
  38. package/dist-types/commands/DisassociateMemberFromGroupCommand.d.ts +1 -1
  39. package/dist-types/commands/GetAccessControlEffectCommand.d.ts +1 -1
  40. package/dist-types/commands/GetDefaultRetentionPolicyCommand.d.ts +1 -1
  41. package/dist-types/commands/GetImpersonationRoleCommand.d.ts +1 -1
  42. package/dist-types/commands/GetImpersonationRoleEffectCommand.d.ts +1 -1
  43. package/dist-types/commands/GetMailDomainCommand.d.ts +1 -1
  44. package/dist-types/commands/GetMailboxDetailsCommand.d.ts +1 -1
  45. package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +1 -1
  46. package/dist-types/commands/GetMobileDeviceAccessOverrideCommand.d.ts +1 -1
  47. package/dist-types/commands/ListAccessControlRulesCommand.d.ts +1 -1
  48. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  49. package/dist-types/commands/ListAvailabilityConfigurationsCommand.d.ts +1 -1
  50. package/dist-types/commands/ListGroupMembersCommand.d.ts +1 -1
  51. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  52. package/dist-types/commands/ListImpersonationRolesCommand.d.ts +1 -1
  53. package/dist-types/commands/ListMailDomainsCommand.d.ts +1 -1
  54. package/dist-types/commands/ListMailboxExportJobsCommand.d.ts +1 -1
  55. package/dist-types/commands/ListMailboxPermissionsCommand.d.ts +1 -1
  56. package/dist-types/commands/ListMobileDeviceAccessOverridesCommand.d.ts +1 -1
  57. package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +1 -1
  58. package/dist-types/commands/ListOrganizationsCommand.d.ts +1 -1
  59. package/dist-types/commands/ListResourceDelegatesCommand.d.ts +1 -1
  60. package/dist-types/commands/ListResourcesCommand.d.ts +1 -1
  61. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  62. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  63. package/dist-types/commands/PutAccessControlRuleCommand.d.ts +5 -5
  64. package/dist-types/commands/PutEmailMonitoringConfigurationCommand.d.ts +1 -1
  65. package/dist-types/commands/PutInboundDmarcSettingsCommand.d.ts +1 -1
  66. package/dist-types/commands/PutMailboxPermissionsCommand.d.ts +2 -2
  67. package/dist-types/commands/PutMobileDeviceAccessOverrideCommand.d.ts +1 -1
  68. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +3 -3
  69. package/dist-types/commands/RegisterMailDomainCommand.d.ts +1 -1
  70. package/dist-types/commands/RegisterToWorkMailCommand.d.ts +1 -1
  71. package/dist-types/commands/ResetPasswordCommand.d.ts +1 -1
  72. package/dist-types/commands/StartMailboxExportJobCommand.d.ts +1 -1
  73. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  74. package/dist-types/commands/TestAvailabilityConfigurationCommand.d.ts +3 -3
  75. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  76. package/dist-types/commands/UpdateAvailabilityConfigurationCommand.d.ts +3 -3
  77. package/dist-types/commands/UpdateDefaultMailDomainCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateImpersonationRoleCommand.d.ts +4 -4
  79. package/dist-types/commands/UpdateMailboxQuotaCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +5 -5
  81. package/dist-types/commands/UpdatePrimaryEmailAddressCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateResourceCommand.d.ts +2 -2
  83. package/dist-types/models/models_0.d.ts +136 -66
  84. package/dist-types/ts3.4/models/models_0.d.ts +88 -66
  85. package/package.json +34 -34
@@ -3,16 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateAvailabilityConfigurationRequestFilterSensitiveLog = exports.TestAvailabilityConfigurationRequestFilterSensitiveLog = exports.ResetPasswordRequestFilterSensitiveLog = exports.PutRetentionPolicyRequestFilterSensitiveLog = exports.CreateUserRequestFilterSensitiveLog = exports.CreateAvailabilityConfigurationRequestFilterSensitiveLog = exports.EwsAvailabilityProviderFilterSensitiveLog = exports.TooManyTagsException = exports.PermissionType = exports.InvalidConfigurationException = exports.FolderName = exports.RetentionAction = exports.EntityAlreadyRegisteredException = exports.DnsRecordVerificationStatus = exports.UserRole = exports.MailboxExportJobState = exports.EntityState = exports.MailDomainInUseException = exports.InvalidCustomSesConfigurationException = exports.MemberType = exports.InvalidPasswordException = exports.ResourceType = exports.DirectoryInUseException = exports.MobileDeviceAccessRuleEffect = exports.ImpersonationRoleType = exports.ReservedNameException = exports.NameAvailabilityException = exports.MailDomainStateException = exports.MailDomainNotFoundException = exports.LimitExceededException = exports.EmailAddressInUseException = exports.AvailabilityProviderType = exports.ResourceNotFoundException = exports.UnsupportedOperationException = exports.DirectoryUnavailableException = exports.DirectoryServiceAuthenticationFailedException = exports.OrganizationStateException = exports.OrganizationNotFoundException = exports.InvalidParameterException = exports.EntityStateException = exports.EntityNotFoundException = exports.AccessEffect = exports.AccessControlRuleEffect = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const WorkMailServiceException_1 = require("./WorkMailServiceException");
6
- var AccessControlRuleEffect;
7
- (function (AccessControlRuleEffect) {
8
- AccessControlRuleEffect["ALLOW"] = "ALLOW";
9
- AccessControlRuleEffect["DENY"] = "DENY";
10
- })(AccessControlRuleEffect = exports.AccessControlRuleEffect || (exports.AccessControlRuleEffect = {}));
11
- var AccessEffect;
12
- (function (AccessEffect) {
13
- AccessEffect["ALLOW"] = "ALLOW";
14
- AccessEffect["DENY"] = "DENY";
15
- })(AccessEffect = exports.AccessEffect || (exports.AccessEffect = {}));
6
+ exports.AccessControlRuleEffect = {
7
+ ALLOW: "ALLOW",
8
+ DENY: "DENY",
9
+ };
10
+ exports.AccessEffect = {
11
+ ALLOW: "ALLOW",
12
+ DENY: "DENY",
13
+ };
16
14
  class EntityNotFoundException extends WorkMailServiceException_1.WorkMailServiceException {
17
15
  constructor(opts) {
18
16
  super({
@@ -139,11 +137,10 @@ class ResourceNotFoundException extends WorkMailServiceException_1.WorkMailServi
139
137
  }
140
138
  }
141
139
  exports.ResourceNotFoundException = ResourceNotFoundException;
142
- var AvailabilityProviderType;
143
- (function (AvailabilityProviderType) {
144
- AvailabilityProviderType["EWS"] = "EWS";
145
- AvailabilityProviderType["LAMBDA"] = "LAMBDA";
146
- })(AvailabilityProviderType = exports.AvailabilityProviderType || (exports.AvailabilityProviderType = {}));
140
+ exports.AvailabilityProviderType = {
141
+ EWS: "EWS",
142
+ LAMBDA: "LAMBDA",
143
+ };
147
144
  class EmailAddressInUseException extends WorkMailServiceException_1.WorkMailServiceException {
148
145
  constructor(opts) {
149
146
  super({
@@ -228,16 +225,14 @@ class ReservedNameException extends WorkMailServiceException_1.WorkMailServiceEx
228
225
  }
229
226
  }
230
227
  exports.ReservedNameException = ReservedNameException;
231
- var ImpersonationRoleType;
232
- (function (ImpersonationRoleType) {
233
- ImpersonationRoleType["FULL_ACCESS"] = "FULL_ACCESS";
234
- ImpersonationRoleType["READ_ONLY"] = "READ_ONLY";
235
- })(ImpersonationRoleType = exports.ImpersonationRoleType || (exports.ImpersonationRoleType = {}));
236
- var MobileDeviceAccessRuleEffect;
237
- (function (MobileDeviceAccessRuleEffect) {
238
- MobileDeviceAccessRuleEffect["ALLOW"] = "ALLOW";
239
- MobileDeviceAccessRuleEffect["DENY"] = "DENY";
240
- })(MobileDeviceAccessRuleEffect = exports.MobileDeviceAccessRuleEffect || (exports.MobileDeviceAccessRuleEffect = {}));
228
+ exports.ImpersonationRoleType = {
229
+ FULL_ACCESS: "FULL_ACCESS",
230
+ READ_ONLY: "READ_ONLY",
231
+ };
232
+ exports.MobileDeviceAccessRuleEffect = {
233
+ ALLOW: "ALLOW",
234
+ DENY: "DENY",
235
+ };
241
236
  class DirectoryInUseException extends WorkMailServiceException_1.WorkMailServiceException {
242
237
  constructor(opts) {
243
238
  super({
@@ -252,11 +247,10 @@ class DirectoryInUseException extends WorkMailServiceException_1.WorkMailService
252
247
  }
253
248
  }
254
249
  exports.DirectoryInUseException = DirectoryInUseException;
255
- var ResourceType;
256
- (function (ResourceType) {
257
- ResourceType["EQUIPMENT"] = "EQUIPMENT";
258
- ResourceType["ROOM"] = "ROOM";
259
- })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
250
+ exports.ResourceType = {
251
+ EQUIPMENT: "EQUIPMENT",
252
+ ROOM: "ROOM",
253
+ };
260
254
  class InvalidPasswordException extends WorkMailServiceException_1.WorkMailServiceException {
261
255
  constructor(opts) {
262
256
  super({
@@ -271,11 +265,10 @@ class InvalidPasswordException extends WorkMailServiceException_1.WorkMailServic
271
265
  }
272
266
  }
273
267
  exports.InvalidPasswordException = InvalidPasswordException;
274
- var MemberType;
275
- (function (MemberType) {
276
- MemberType["GROUP"] = "GROUP";
277
- MemberType["USER"] = "USER";
278
- })(MemberType = exports.MemberType || (exports.MemberType = {}));
268
+ exports.MemberType = {
269
+ GROUP: "GROUP",
270
+ USER: "USER",
271
+ };
279
272
  class InvalidCustomSesConfigurationException extends WorkMailServiceException_1.WorkMailServiceException {
280
273
  constructor(opts) {
281
274
  super({
@@ -304,31 +297,27 @@ class MailDomainInUseException extends WorkMailServiceException_1.WorkMailServic
304
297
  }
305
298
  }
306
299
  exports.MailDomainInUseException = MailDomainInUseException;
307
- var EntityState;
308
- (function (EntityState) {
309
- EntityState["DELETED"] = "DELETED";
310
- EntityState["DISABLED"] = "DISABLED";
311
- EntityState["ENABLED"] = "ENABLED";
312
- })(EntityState = exports.EntityState || (exports.EntityState = {}));
313
- var MailboxExportJobState;
314
- (function (MailboxExportJobState) {
315
- MailboxExportJobState["CANCELLED"] = "CANCELLED";
316
- MailboxExportJobState["COMPLETED"] = "COMPLETED";
317
- MailboxExportJobState["FAILED"] = "FAILED";
318
- MailboxExportJobState["RUNNING"] = "RUNNING";
319
- })(MailboxExportJobState = exports.MailboxExportJobState || (exports.MailboxExportJobState = {}));
320
- var UserRole;
321
- (function (UserRole) {
322
- UserRole["RESOURCE"] = "RESOURCE";
323
- UserRole["SYSTEM_USER"] = "SYSTEM_USER";
324
- UserRole["USER"] = "USER";
325
- })(UserRole = exports.UserRole || (exports.UserRole = {}));
326
- var DnsRecordVerificationStatus;
327
- (function (DnsRecordVerificationStatus) {
328
- DnsRecordVerificationStatus["FAILED"] = "FAILED";
329
- DnsRecordVerificationStatus["PENDING"] = "PENDING";
330
- DnsRecordVerificationStatus["VERIFIED"] = "VERIFIED";
331
- })(DnsRecordVerificationStatus = exports.DnsRecordVerificationStatus || (exports.DnsRecordVerificationStatus = {}));
300
+ exports.EntityState = {
301
+ DELETED: "DELETED",
302
+ DISABLED: "DISABLED",
303
+ ENABLED: "ENABLED",
304
+ };
305
+ exports.MailboxExportJobState = {
306
+ CANCELLED: "CANCELLED",
307
+ COMPLETED: "COMPLETED",
308
+ FAILED: "FAILED",
309
+ RUNNING: "RUNNING",
310
+ };
311
+ exports.UserRole = {
312
+ RESOURCE: "RESOURCE",
313
+ SYSTEM_USER: "SYSTEM_USER",
314
+ USER: "USER",
315
+ };
316
+ exports.DnsRecordVerificationStatus = {
317
+ FAILED: "FAILED",
318
+ PENDING: "PENDING",
319
+ VERIFIED: "VERIFIED",
320
+ };
332
321
  class EntityAlreadyRegisteredException extends WorkMailServiceException_1.WorkMailServiceException {
333
322
  constructor(opts) {
334
323
  super({
@@ -343,20 +332,18 @@ class EntityAlreadyRegisteredException extends WorkMailServiceException_1.WorkMa
343
332
  }
344
333
  }
345
334
  exports.EntityAlreadyRegisteredException = EntityAlreadyRegisteredException;
346
- var RetentionAction;
347
- (function (RetentionAction) {
348
- RetentionAction["DELETE"] = "DELETE";
349
- RetentionAction["NONE"] = "NONE";
350
- RetentionAction["PERMANENTLY_DELETE"] = "PERMANENTLY_DELETE";
351
- })(RetentionAction = exports.RetentionAction || (exports.RetentionAction = {}));
352
- var FolderName;
353
- (function (FolderName) {
354
- FolderName["DELETED_ITEMS"] = "DELETED_ITEMS";
355
- FolderName["DRAFTS"] = "DRAFTS";
356
- FolderName["INBOX"] = "INBOX";
357
- FolderName["JUNK_EMAIL"] = "JUNK_EMAIL";
358
- FolderName["SENT_ITEMS"] = "SENT_ITEMS";
359
- })(FolderName = exports.FolderName || (exports.FolderName = {}));
335
+ exports.RetentionAction = {
336
+ DELETE: "DELETE",
337
+ NONE: "NONE",
338
+ PERMANENTLY_DELETE: "PERMANENTLY_DELETE",
339
+ };
340
+ exports.FolderName = {
341
+ DELETED_ITEMS: "DELETED_ITEMS",
342
+ DRAFTS: "DRAFTS",
343
+ INBOX: "INBOX",
344
+ JUNK_EMAIL: "JUNK_EMAIL",
345
+ SENT_ITEMS: "SENT_ITEMS",
346
+ };
360
347
  class InvalidConfigurationException extends WorkMailServiceException_1.WorkMailServiceException {
361
348
  constructor(opts) {
362
349
  super({
@@ -371,12 +358,11 @@ class InvalidConfigurationException extends WorkMailServiceException_1.WorkMailS
371
358
  }
372
359
  }
373
360
  exports.InvalidConfigurationException = InvalidConfigurationException;
374
- var PermissionType;
375
- (function (PermissionType) {
376
- PermissionType["FULL_ACCESS"] = "FULL_ACCESS";
377
- PermissionType["SEND_AS"] = "SEND_AS";
378
- PermissionType["SEND_ON_BEHALF"] = "SEND_ON_BEHALF";
379
- })(PermissionType = exports.PermissionType || (exports.PermissionType = {}));
361
+ exports.PermissionType = {
362
+ FULL_ACCESS: "FULL_ACCESS",
363
+ SEND_AS: "SEND_AS",
364
+ SEND_ON_BEHALF: "SEND_ON_BEHALF",
365
+ };
380
366
  class TooManyTagsException extends WorkMailServiceException_1.WorkMailServiceException {
381
367
  constructor(opts) {
382
368
  super({
@@ -1,15 +1,13 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { WorkMailServiceException as __BaseException } from "./WorkMailServiceException";
3
- export var AccessControlRuleEffect;
4
- (function (AccessControlRuleEffect) {
5
- AccessControlRuleEffect["ALLOW"] = "ALLOW";
6
- AccessControlRuleEffect["DENY"] = "DENY";
7
- })(AccessControlRuleEffect || (AccessControlRuleEffect = {}));
8
- export var AccessEffect;
9
- (function (AccessEffect) {
10
- AccessEffect["ALLOW"] = "ALLOW";
11
- AccessEffect["DENY"] = "DENY";
12
- })(AccessEffect || (AccessEffect = {}));
3
+ export const AccessControlRuleEffect = {
4
+ ALLOW: "ALLOW",
5
+ DENY: "DENY",
6
+ };
7
+ export const AccessEffect = {
8
+ ALLOW: "ALLOW",
9
+ DENY: "DENY",
10
+ };
13
11
  export class EntityNotFoundException extends __BaseException {
14
12
  constructor(opts) {
15
13
  super({
@@ -127,11 +125,10 @@ export class ResourceNotFoundException extends __BaseException {
127
125
  this.Message = opts.Message;
128
126
  }
129
127
  }
130
- export var AvailabilityProviderType;
131
- (function (AvailabilityProviderType) {
132
- AvailabilityProviderType["EWS"] = "EWS";
133
- AvailabilityProviderType["LAMBDA"] = "LAMBDA";
134
- })(AvailabilityProviderType || (AvailabilityProviderType = {}));
128
+ export const AvailabilityProviderType = {
129
+ EWS: "EWS",
130
+ LAMBDA: "LAMBDA",
131
+ };
135
132
  export class EmailAddressInUseException extends __BaseException {
136
133
  constructor(opts) {
137
134
  super({
@@ -210,16 +207,14 @@ export class ReservedNameException extends __BaseException {
210
207
  this.Message = opts.Message;
211
208
  }
212
209
  }
213
- export var ImpersonationRoleType;
214
- (function (ImpersonationRoleType) {
215
- ImpersonationRoleType["FULL_ACCESS"] = "FULL_ACCESS";
216
- ImpersonationRoleType["READ_ONLY"] = "READ_ONLY";
217
- })(ImpersonationRoleType || (ImpersonationRoleType = {}));
218
- export var MobileDeviceAccessRuleEffect;
219
- (function (MobileDeviceAccessRuleEffect) {
220
- MobileDeviceAccessRuleEffect["ALLOW"] = "ALLOW";
221
- MobileDeviceAccessRuleEffect["DENY"] = "DENY";
222
- })(MobileDeviceAccessRuleEffect || (MobileDeviceAccessRuleEffect = {}));
210
+ export const ImpersonationRoleType = {
211
+ FULL_ACCESS: "FULL_ACCESS",
212
+ READ_ONLY: "READ_ONLY",
213
+ };
214
+ export const MobileDeviceAccessRuleEffect = {
215
+ ALLOW: "ALLOW",
216
+ DENY: "DENY",
217
+ };
223
218
  export class DirectoryInUseException extends __BaseException {
224
219
  constructor(opts) {
225
220
  super({
@@ -233,11 +228,10 @@ export class DirectoryInUseException extends __BaseException {
233
228
  this.Message = opts.Message;
234
229
  }
235
230
  }
236
- export var ResourceType;
237
- (function (ResourceType) {
238
- ResourceType["EQUIPMENT"] = "EQUIPMENT";
239
- ResourceType["ROOM"] = "ROOM";
240
- })(ResourceType || (ResourceType = {}));
231
+ export const ResourceType = {
232
+ EQUIPMENT: "EQUIPMENT",
233
+ ROOM: "ROOM",
234
+ };
241
235
  export class InvalidPasswordException extends __BaseException {
242
236
  constructor(opts) {
243
237
  super({
@@ -251,11 +245,10 @@ export class InvalidPasswordException extends __BaseException {
251
245
  this.Message = opts.Message;
252
246
  }
253
247
  }
254
- export var MemberType;
255
- (function (MemberType) {
256
- MemberType["GROUP"] = "GROUP";
257
- MemberType["USER"] = "USER";
258
- })(MemberType || (MemberType = {}));
248
+ export const MemberType = {
249
+ GROUP: "GROUP",
250
+ USER: "USER",
251
+ };
259
252
  export class InvalidCustomSesConfigurationException extends __BaseException {
260
253
  constructor(opts) {
261
254
  super({
@@ -282,31 +275,27 @@ export class MailDomainInUseException extends __BaseException {
282
275
  this.Message = opts.Message;
283
276
  }
284
277
  }
285
- export var EntityState;
286
- (function (EntityState) {
287
- EntityState["DELETED"] = "DELETED";
288
- EntityState["DISABLED"] = "DISABLED";
289
- EntityState["ENABLED"] = "ENABLED";
290
- })(EntityState || (EntityState = {}));
291
- export var MailboxExportJobState;
292
- (function (MailboxExportJobState) {
293
- MailboxExportJobState["CANCELLED"] = "CANCELLED";
294
- MailboxExportJobState["COMPLETED"] = "COMPLETED";
295
- MailboxExportJobState["FAILED"] = "FAILED";
296
- MailboxExportJobState["RUNNING"] = "RUNNING";
297
- })(MailboxExportJobState || (MailboxExportJobState = {}));
298
- export var UserRole;
299
- (function (UserRole) {
300
- UserRole["RESOURCE"] = "RESOURCE";
301
- UserRole["SYSTEM_USER"] = "SYSTEM_USER";
302
- UserRole["USER"] = "USER";
303
- })(UserRole || (UserRole = {}));
304
- export var DnsRecordVerificationStatus;
305
- (function (DnsRecordVerificationStatus) {
306
- DnsRecordVerificationStatus["FAILED"] = "FAILED";
307
- DnsRecordVerificationStatus["PENDING"] = "PENDING";
308
- DnsRecordVerificationStatus["VERIFIED"] = "VERIFIED";
309
- })(DnsRecordVerificationStatus || (DnsRecordVerificationStatus = {}));
278
+ export const EntityState = {
279
+ DELETED: "DELETED",
280
+ DISABLED: "DISABLED",
281
+ ENABLED: "ENABLED",
282
+ };
283
+ export const MailboxExportJobState = {
284
+ CANCELLED: "CANCELLED",
285
+ COMPLETED: "COMPLETED",
286
+ FAILED: "FAILED",
287
+ RUNNING: "RUNNING",
288
+ };
289
+ export const UserRole = {
290
+ RESOURCE: "RESOURCE",
291
+ SYSTEM_USER: "SYSTEM_USER",
292
+ USER: "USER",
293
+ };
294
+ export const DnsRecordVerificationStatus = {
295
+ FAILED: "FAILED",
296
+ PENDING: "PENDING",
297
+ VERIFIED: "VERIFIED",
298
+ };
310
299
  export class EntityAlreadyRegisteredException extends __BaseException {
311
300
  constructor(opts) {
312
301
  super({
@@ -320,20 +309,18 @@ export class EntityAlreadyRegisteredException extends __BaseException {
320
309
  this.Message = opts.Message;
321
310
  }
322
311
  }
323
- export var RetentionAction;
324
- (function (RetentionAction) {
325
- RetentionAction["DELETE"] = "DELETE";
326
- RetentionAction["NONE"] = "NONE";
327
- RetentionAction["PERMANENTLY_DELETE"] = "PERMANENTLY_DELETE";
328
- })(RetentionAction || (RetentionAction = {}));
329
- export var FolderName;
330
- (function (FolderName) {
331
- FolderName["DELETED_ITEMS"] = "DELETED_ITEMS";
332
- FolderName["DRAFTS"] = "DRAFTS";
333
- FolderName["INBOX"] = "INBOX";
334
- FolderName["JUNK_EMAIL"] = "JUNK_EMAIL";
335
- FolderName["SENT_ITEMS"] = "SENT_ITEMS";
336
- })(FolderName || (FolderName = {}));
312
+ export const RetentionAction = {
313
+ DELETE: "DELETE",
314
+ NONE: "NONE",
315
+ PERMANENTLY_DELETE: "PERMANENTLY_DELETE",
316
+ };
317
+ export const FolderName = {
318
+ DELETED_ITEMS: "DELETED_ITEMS",
319
+ DRAFTS: "DRAFTS",
320
+ INBOX: "INBOX",
321
+ JUNK_EMAIL: "JUNK_EMAIL",
322
+ SENT_ITEMS: "SENT_ITEMS",
323
+ };
337
324
  export class InvalidConfigurationException extends __BaseException {
338
325
  constructor(opts) {
339
326
  super({
@@ -347,12 +334,11 @@ export class InvalidConfigurationException extends __BaseException {
347
334
  this.Message = opts.Message;
348
335
  }
349
336
  }
350
- export var PermissionType;
351
- (function (PermissionType) {
352
- PermissionType["FULL_ACCESS"] = "FULL_ACCESS";
353
- PermissionType["SEND_AS"] = "SEND_AS";
354
- PermissionType["SEND_ON_BEHALF"] = "SEND_ON_BEHALF";
355
- })(PermissionType || (PermissionType = {}));
337
+ export const PermissionType = {
338
+ FULL_ACCESS: "FULL_ACCESS",
339
+ SEND_AS: "SEND_AS",
340
+ SEND_ON_BEHALF: "SEND_ON_BEHALF",
341
+ };
356
342
  export class TooManyTagsException extends __BaseException {
357
343
  constructor(opts) {
358
344
  super({
@@ -26,7 +26,7 @@ export interface AssociateDelegateToResourceCommandOutput extends AssociateDeleg
26
26
  * import { WorkMailClient, AssociateDelegateToResourceCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, AssociateDelegateToResourceCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // AssociateDelegateToResourceRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * ResourceId: "STRING_VALUE", // required
32
32
  * EntityId: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface AssociateMemberToGroupCommandOutput extends AssociateMemberToGr
26
26
  * import { WorkMailClient, AssociateMemberToGroupCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, AssociateMemberToGroupCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // AssociateMemberToGroupRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * GroupId: "STRING_VALUE", // required
32
32
  * MemberId: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface AssumeImpersonationRoleCommandOutput extends AssumeImpersonatio
27
27
  * import { WorkMailClient, AssumeImpersonationRoleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, AssumeImpersonationRoleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
- * const input = {
30
+ * const input = { // AssumeImpersonationRoleRequest
31
31
  * OrganizationId: "STRING_VALUE", // required
32
32
  * ImpersonationRoleId: "STRING_VALUE", // required
33
33
  * };
@@ -30,7 +30,7 @@ export interface CancelMailboxExportJobCommandOutput extends CancelMailboxExport
30
30
  * import { WorkMailClient, CancelMailboxExportJobCommand } from "@aws-sdk/client-workmail"; // ES Modules import
31
31
  * // const { WorkMailClient, CancelMailboxExportJobCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
32
32
  * const client = new WorkMailClient(config);
33
- * const input = {
33
+ * const input = { // CancelMailboxExportJobRequest
34
34
  * ClientToken: "STRING_VALUE", // required
35
35
  * JobId: "STRING_VALUE", // required
36
36
  * OrganizationId: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface CreateAliasCommandOutput extends CreateAliasResponse, __Metadat
26
26
  * import { WorkMailClient, CreateAliasCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, CreateAliasCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // CreateAliasRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * EntityId: "STRING_VALUE", // required
32
32
  * Alias: "STRING_VALUE", // required
@@ -26,16 +26,16 @@ export interface CreateAvailabilityConfigurationCommandOutput extends CreateAvai
26
26
  * import { WorkMailClient, CreateAvailabilityConfigurationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, CreateAvailabilityConfigurationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // CreateAvailabilityConfigurationRequest
30
30
  * ClientToken: "STRING_VALUE",
31
31
  * OrganizationId: "STRING_VALUE", // required
32
32
  * DomainName: "STRING_VALUE", // required
33
- * EwsProvider: {
33
+ * EwsProvider: { // EwsAvailabilityProvider
34
34
  * EwsEndpoint: "STRING_VALUE", // required
35
35
  * EwsUsername: "STRING_VALUE", // required
36
36
  * EwsPassword: "STRING_VALUE", // required
37
37
  * },
38
- * LambdaProvider: {
38
+ * LambdaProvider: { // LambdaAvailabilityProvider
39
39
  * LambdaArn: "STRING_VALUE", // required
40
40
  * },
41
41
  * };
@@ -26,7 +26,7 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
26
26
  * import { WorkMailClient, CreateGroupCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, CreateGroupCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // CreateGroupRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE", // required
32
32
  * };
@@ -31,19 +31,19 @@ export interface CreateImpersonationRoleCommandOutput extends CreateImpersonatio
31
31
  * import { WorkMailClient, CreateImpersonationRoleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
32
32
  * // const { WorkMailClient, CreateImpersonationRoleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
33
33
  * const client = new WorkMailClient(config);
34
- * const input = {
34
+ * const input = { // CreateImpersonationRoleRequest
35
35
  * ClientToken: "STRING_VALUE",
36
36
  * OrganizationId: "STRING_VALUE", // required
37
37
  * Name: "STRING_VALUE", // required
38
38
  * Type: "FULL_ACCESS" || "READ_ONLY", // required
39
39
  * Description: "STRING_VALUE",
40
- * Rules: [ // required
41
- * {
40
+ * Rules: [ // ImpersonationRuleList // required
41
+ * { // ImpersonationRule
42
42
  * ImpersonationRuleId: "STRING_VALUE", // required
43
43
  * Name: "STRING_VALUE",
44
44
  * Description: "STRING_VALUE",
45
45
  * Effect: "ALLOW" || "DENY", // required
46
- * TargetUsers: [
46
+ * TargetUsers: [ // TargetUsers
47
47
  * "STRING_VALUE",
48
48
  * ],
49
49
  * NotTargetUsers: [
@@ -26,31 +26,31 @@ export interface CreateMobileDeviceAccessRuleCommandOutput extends CreateMobileD
26
26
  * import { WorkMailClient, CreateMobileDeviceAccessRuleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, CreateMobileDeviceAccessRuleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // CreateMobileDeviceAccessRuleRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * ClientToken: "STRING_VALUE",
32
32
  * Name: "STRING_VALUE", // required
33
33
  * Description: "STRING_VALUE",
34
34
  * Effect: "ALLOW" || "DENY", // required
35
- * DeviceTypes: [
35
+ * DeviceTypes: [ // DeviceTypeList
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * NotDeviceTypes: [
39
39
  * "STRING_VALUE",
40
40
  * ],
41
- * DeviceModels: [
41
+ * DeviceModels: [ // DeviceModelList
42
42
  * "STRING_VALUE",
43
43
  * ],
44
44
  * NotDeviceModels: [
45
45
  * "STRING_VALUE",
46
46
  * ],
47
- * DeviceOperatingSystems: [
47
+ * DeviceOperatingSystems: [ // DeviceOperatingSystemList
48
48
  * "STRING_VALUE",
49
49
  * ],
50
50
  * NotDeviceOperatingSystems: [
51
51
  * "STRING_VALUE",
52
52
  * ],
53
- * DeviceUserAgents: [
53
+ * DeviceUserAgents: [ // DeviceUserAgentList
54
54
  * "STRING_VALUE",
55
55
  * ],
56
56
  * NotDeviceUserAgents: [
@@ -34,12 +34,12 @@ export interface CreateOrganizationCommandOutput extends CreateOrganizationRespo
34
34
  * import { WorkMailClient, CreateOrganizationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
35
35
  * // const { WorkMailClient, CreateOrganizationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
36
36
  * const client = new WorkMailClient(config);
37
- * const input = {
37
+ * const input = { // CreateOrganizationRequest
38
38
  * DirectoryId: "STRING_VALUE",
39
39
  * Alias: "STRING_VALUE", // required
40
40
  * ClientToken: "STRING_VALUE",
41
- * Domains: [
42
- * {
41
+ * Domains: [ // Domains
42
+ * { // Domain
43
43
  * DomainName: "STRING_VALUE",
44
44
  * HostedZoneId: "STRING_VALUE",
45
45
  * },
@@ -26,7 +26,7 @@ export interface CreateResourceCommandOutput extends CreateResourceResponse, __M
26
26
  * import { WorkMailClient, CreateResourceCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, CreateResourceCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // CreateResourceRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE", // required
32
32
  * Type: "ROOM" || "EQUIPMENT", // required
@@ -26,7 +26,7 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
26
26
  * import { WorkMailClient, CreateUserCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, CreateUserCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // CreateUserRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE", // required
32
32
  * DisplayName: "STRING_VALUE", // required
@@ -29,7 +29,7 @@ export interface DeleteAccessControlRuleCommandOutput extends DeleteAccessContro
29
29
  * import { WorkMailClient, DeleteAccessControlRuleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
30
30
  * // const { WorkMailClient, DeleteAccessControlRuleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
31
31
  * const client = new WorkMailClient(config);
32
- * const input = {
32
+ * const input = { // DeleteAccessControlRuleRequest
33
33
  * OrganizationId: "STRING_VALUE", // required
34
34
  * Name: "STRING_VALUE", // required
35
35
  * };
@@ -27,7 +27,7 @@ export interface DeleteAliasCommandOutput extends DeleteAliasResponse, __Metadat
27
27
  * import { WorkMailClient, DeleteAliasCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, DeleteAliasCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
- * const input = {
30
+ * const input = { // DeleteAliasRequest
31
31
  * OrganizationId: "STRING_VALUE", // required
32
32
  * EntityId: "STRING_VALUE", // required
33
33
  * Alias: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface DeleteAvailabilityConfigurationCommandOutput extends DeleteAvai
26
26
  * import { WorkMailClient, DeleteAvailabilityConfigurationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, DeleteAvailabilityConfigurationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // DeleteAvailabilityConfigurationRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * DomainName: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface DeleteEmailMonitoringConfigurationCommandOutput extends DeleteE
26
26
  * import { WorkMailClient, DeleteEmailMonitoringConfigurationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, DeleteEmailMonitoringConfigurationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
- * const input = {
29
+ * const input = { // DeleteEmailMonitoringConfigurationRequest
30
30
  * OrganizationId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteEmailMonitoringConfigurationCommand(input);