@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.
- package/dist-cjs/models/models_0.js +66 -80
- package/dist-es/models/models_0.js +66 -80
- package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +1 -1
- package/dist-types/commands/AssociateMemberToGroupCommand.d.ts +1 -1
- package/dist-types/commands/AssumeImpersonationRoleCommand.d.ts +1 -1
- package/dist-types/commands/CancelMailboxExportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateAvailabilityConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateImpersonationRoleCommand.d.ts +4 -4
- package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +5 -5
- package/dist-types/commands/CreateOrganizationCommand.d.ts +3 -3
- package/dist-types/commands/CreateResourceCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAccessControlRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAvailabilityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailMonitoringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImpersonationRoleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMailboxPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterMailDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEmailMonitoringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInboundDmarcSettingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMailboxExportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateMemberFromGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetAccessControlEffectCommand.d.ts +1 -1
- package/dist-types/commands/GetDefaultRetentionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetImpersonationRoleCommand.d.ts +1 -1
- package/dist-types/commands/GetImpersonationRoleEffectCommand.d.ts +1 -1
- package/dist-types/commands/GetMailDomainCommand.d.ts +1 -1
- package/dist-types/commands/GetMailboxDetailsCommand.d.ts +1 -1
- package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +1 -1
- package/dist-types/commands/GetMobileDeviceAccessOverrideCommand.d.ts +1 -1
- package/dist-types/commands/ListAccessControlRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListAvailabilityConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListImpersonationRolesCommand.d.ts +1 -1
- package/dist-types/commands/ListMailDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListMailboxExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListMailboxPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListMobileDeviceAccessOverridesCommand.d.ts +1 -1
- package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceDelegatesCommand.d.ts +1 -1
- package/dist-types/commands/ListResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/commands/PutAccessControlRuleCommand.d.ts +5 -5
- package/dist-types/commands/PutEmailMonitoringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutInboundDmarcSettingsCommand.d.ts +1 -1
- package/dist-types/commands/PutMailboxPermissionsCommand.d.ts +2 -2
- package/dist-types/commands/PutMobileDeviceAccessOverrideCommand.d.ts +1 -1
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/RegisterMailDomainCommand.d.ts +1 -1
- package/dist-types/commands/RegisterToWorkMailCommand.d.ts +1 -1
- package/dist-types/commands/ResetPasswordCommand.d.ts +1 -1
- package/dist-types/commands/StartMailboxExportJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TestAvailabilityConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAvailabilityConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDefaultMailDomainCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImpersonationRoleCommand.d.ts +4 -4
- package/dist-types/commands/UpdateMailboxQuotaCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +5 -5
- package/dist-types/commands/UpdatePrimaryEmailAddressCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +136 -66
- package/dist-types/ts3.4/models/models_0.d.ts +88 -66
- 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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
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
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
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
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
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
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
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
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
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
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
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
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
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
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
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
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
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
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
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
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
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);
|