@aws-sdk/client-workmail 3.933.0 → 3.935.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.
@@ -1,389 +1 @@
1
- import { WorkMailServiceException as __BaseException } from "./WorkMailServiceException";
2
- export const AccessControlRuleEffect = {
3
- ALLOW: "ALLOW",
4
- DENY: "DENY",
5
- };
6
- export const AccessEffect = {
7
- ALLOW: "ALLOW",
8
- DENY: "DENY",
9
- };
10
- export class EntityNotFoundException extends __BaseException {
11
- name = "EntityNotFoundException";
12
- $fault = "client";
13
- Message;
14
- constructor(opts) {
15
- super({
16
- name: "EntityNotFoundException",
17
- $fault: "client",
18
- ...opts,
19
- });
20
- Object.setPrototypeOf(this, EntityNotFoundException.prototype);
21
- this.Message = opts.Message;
22
- }
23
- }
24
- export class EntityStateException extends __BaseException {
25
- name = "EntityStateException";
26
- $fault = "client";
27
- Message;
28
- constructor(opts) {
29
- super({
30
- name: "EntityStateException",
31
- $fault: "client",
32
- ...opts,
33
- });
34
- Object.setPrototypeOf(this, EntityStateException.prototype);
35
- this.Message = opts.Message;
36
- }
37
- }
38
- export class InvalidParameterException extends __BaseException {
39
- name = "InvalidParameterException";
40
- $fault = "client";
41
- Message;
42
- constructor(opts) {
43
- super({
44
- name: "InvalidParameterException",
45
- $fault: "client",
46
- ...opts,
47
- });
48
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
49
- this.Message = opts.Message;
50
- }
51
- }
52
- export class OrganizationNotFoundException extends __BaseException {
53
- name = "OrganizationNotFoundException";
54
- $fault = "client";
55
- Message;
56
- constructor(opts) {
57
- super({
58
- name: "OrganizationNotFoundException",
59
- $fault: "client",
60
- ...opts,
61
- });
62
- Object.setPrototypeOf(this, OrganizationNotFoundException.prototype);
63
- this.Message = opts.Message;
64
- }
65
- }
66
- export class OrganizationStateException extends __BaseException {
67
- name = "OrganizationStateException";
68
- $fault = "client";
69
- Message;
70
- constructor(opts) {
71
- super({
72
- name: "OrganizationStateException",
73
- $fault: "client",
74
- ...opts,
75
- });
76
- Object.setPrototypeOf(this, OrganizationStateException.prototype);
77
- this.Message = opts.Message;
78
- }
79
- }
80
- export class UnsupportedOperationException extends __BaseException {
81
- name = "UnsupportedOperationException";
82
- $fault = "client";
83
- Message;
84
- constructor(opts) {
85
- super({
86
- name: "UnsupportedOperationException",
87
- $fault: "client",
88
- ...opts,
89
- });
90
- Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
91
- this.Message = opts.Message;
92
- }
93
- }
94
- export class DirectoryServiceAuthenticationFailedException extends __BaseException {
95
- name = "DirectoryServiceAuthenticationFailedException";
96
- $fault = "client";
97
- Message;
98
- constructor(opts) {
99
- super({
100
- name: "DirectoryServiceAuthenticationFailedException",
101
- $fault: "client",
102
- ...opts,
103
- });
104
- Object.setPrototypeOf(this, DirectoryServiceAuthenticationFailedException.prototype);
105
- this.Message = opts.Message;
106
- }
107
- }
108
- export class DirectoryUnavailableException extends __BaseException {
109
- name = "DirectoryUnavailableException";
110
- $fault = "client";
111
- Message;
112
- constructor(opts) {
113
- super({
114
- name: "DirectoryUnavailableException",
115
- $fault: "client",
116
- ...opts,
117
- });
118
- Object.setPrototypeOf(this, DirectoryUnavailableException.prototype);
119
- this.Message = opts.Message;
120
- }
121
- }
122
- export class ResourceNotFoundException extends __BaseException {
123
- name = "ResourceNotFoundException";
124
- $fault = "client";
125
- Message;
126
- constructor(opts) {
127
- super({
128
- name: "ResourceNotFoundException",
129
- $fault: "client",
130
- ...opts,
131
- });
132
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
133
- this.Message = opts.Message;
134
- }
135
- }
136
- export const AvailabilityProviderType = {
137
- EWS: "EWS",
138
- LAMBDA: "LAMBDA",
139
- };
140
- export class EmailAddressInUseException extends __BaseException {
141
- name = "EmailAddressInUseException";
142
- $fault = "client";
143
- Message;
144
- constructor(opts) {
145
- super({
146
- name: "EmailAddressInUseException",
147
- $fault: "client",
148
- ...opts,
149
- });
150
- Object.setPrototypeOf(this, EmailAddressInUseException.prototype);
151
- this.Message = opts.Message;
152
- }
153
- }
154
- export class LimitExceededException extends __BaseException {
155
- name = "LimitExceededException";
156
- $fault = "client";
157
- Message;
158
- constructor(opts) {
159
- super({
160
- name: "LimitExceededException",
161
- $fault: "client",
162
- ...opts,
163
- });
164
- Object.setPrototypeOf(this, LimitExceededException.prototype);
165
- this.Message = opts.Message;
166
- }
167
- }
168
- export class MailDomainNotFoundException extends __BaseException {
169
- name = "MailDomainNotFoundException";
170
- $fault = "client";
171
- Message;
172
- constructor(opts) {
173
- super({
174
- name: "MailDomainNotFoundException",
175
- $fault: "client",
176
- ...opts,
177
- });
178
- Object.setPrototypeOf(this, MailDomainNotFoundException.prototype);
179
- this.Message = opts.Message;
180
- }
181
- }
182
- export class MailDomainStateException extends __BaseException {
183
- name = "MailDomainStateException";
184
- $fault = "client";
185
- Message;
186
- constructor(opts) {
187
- super({
188
- name: "MailDomainStateException",
189
- $fault: "client",
190
- ...opts,
191
- });
192
- Object.setPrototypeOf(this, MailDomainStateException.prototype);
193
- this.Message = opts.Message;
194
- }
195
- }
196
- export class NameAvailabilityException extends __BaseException {
197
- name = "NameAvailabilityException";
198
- $fault = "client";
199
- Message;
200
- constructor(opts) {
201
- super({
202
- name: "NameAvailabilityException",
203
- $fault: "client",
204
- ...opts,
205
- });
206
- Object.setPrototypeOf(this, NameAvailabilityException.prototype);
207
- this.Message = opts.Message;
208
- }
209
- }
210
- export class ReservedNameException extends __BaseException {
211
- name = "ReservedNameException";
212
- $fault = "client";
213
- Message;
214
- constructor(opts) {
215
- super({
216
- name: "ReservedNameException",
217
- $fault: "client",
218
- ...opts,
219
- });
220
- Object.setPrototypeOf(this, ReservedNameException.prototype);
221
- this.Message = opts.Message;
222
- }
223
- }
224
- export const ImpersonationRoleType = {
225
- FULL_ACCESS: "FULL_ACCESS",
226
- READ_ONLY: "READ_ONLY",
227
- };
228
- export const MobileDeviceAccessRuleEffect = {
229
- ALLOW: "ALLOW",
230
- DENY: "DENY",
231
- };
232
- export class DirectoryInUseException extends __BaseException {
233
- name = "DirectoryInUseException";
234
- $fault = "client";
235
- Message;
236
- constructor(opts) {
237
- super({
238
- name: "DirectoryInUseException",
239
- $fault: "client",
240
- ...opts,
241
- });
242
- Object.setPrototypeOf(this, DirectoryInUseException.prototype);
243
- this.Message = opts.Message;
244
- }
245
- }
246
- export const ResourceType = {
247
- EQUIPMENT: "EQUIPMENT",
248
- ROOM: "ROOM",
249
- };
250
- export const UserRole = {
251
- REMOTE_USER: "REMOTE_USER",
252
- RESOURCE: "RESOURCE",
253
- SYSTEM_USER: "SYSTEM_USER",
254
- USER: "USER",
255
- };
256
- export class InvalidPasswordException extends __BaseException {
257
- name = "InvalidPasswordException";
258
- $fault = "client";
259
- Message;
260
- constructor(opts) {
261
- super({
262
- name: "InvalidPasswordException",
263
- $fault: "client",
264
- ...opts,
265
- });
266
- Object.setPrototypeOf(this, InvalidPasswordException.prototype);
267
- this.Message = opts.Message;
268
- }
269
- }
270
- export const MemberType = {
271
- GROUP: "GROUP",
272
- USER: "USER",
273
- };
274
- export class InvalidCustomSesConfigurationException extends __BaseException {
275
- name = "InvalidCustomSesConfigurationException";
276
- $fault = "client";
277
- Message;
278
- constructor(opts) {
279
- super({
280
- name: "InvalidCustomSesConfigurationException",
281
- $fault: "client",
282
- ...opts,
283
- });
284
- Object.setPrototypeOf(this, InvalidCustomSesConfigurationException.prototype);
285
- this.Message = opts.Message;
286
- }
287
- }
288
- export class MailDomainInUseException extends __BaseException {
289
- name = "MailDomainInUseException";
290
- $fault = "client";
291
- Message;
292
- constructor(opts) {
293
- super({
294
- name: "MailDomainInUseException",
295
- $fault: "client",
296
- ...opts,
297
- });
298
- Object.setPrototypeOf(this, MailDomainInUseException.prototype);
299
- this.Message = opts.Message;
300
- }
301
- }
302
- export const EntityType = {
303
- GROUP: "GROUP",
304
- RESOURCE: "RESOURCE",
305
- USER: "USER",
306
- };
307
- export const EntityState = {
308
- DELETED: "DELETED",
309
- DISABLED: "DISABLED",
310
- ENABLED: "ENABLED",
311
- };
312
- export const IdentityProviderAuthenticationMode = {
313
- IDENTITY_PROVIDER_AND_DIRECTORY: "IDENTITY_PROVIDER_AND_DIRECTORY",
314
- IDENTITY_PROVIDER_ONLY: "IDENTITY_PROVIDER_ONLY",
315
- };
316
- export const PersonalAccessTokenConfigurationStatus = {
317
- ACTIVE: "ACTIVE",
318
- INACTIVE: "INACTIVE",
319
- };
320
- export const MailboxExportJobState = {
321
- CANCELLED: "CANCELLED",
322
- COMPLETED: "COMPLETED",
323
- FAILED: "FAILED",
324
- RUNNING: "RUNNING",
325
- };
326
- export const DnsRecordVerificationStatus = {
327
- FAILED: "FAILED",
328
- PENDING: "PENDING",
329
- VERIFIED: "VERIFIED",
330
- };
331
- export class EntityAlreadyRegisteredException extends __BaseException {
332
- name = "EntityAlreadyRegisteredException";
333
- $fault = "client";
334
- Message;
335
- constructor(opts) {
336
- super({
337
- name: "EntityAlreadyRegisteredException",
338
- $fault: "client",
339
- ...opts,
340
- });
341
- Object.setPrototypeOf(this, EntityAlreadyRegisteredException.prototype);
342
- this.Message = opts.Message;
343
- }
344
- }
345
- export const RetentionAction = {
346
- DELETE: "DELETE",
347
- NONE: "NONE",
348
- PERMANENTLY_DELETE: "PERMANENTLY_DELETE",
349
- };
350
- export const FolderName = {
351
- DELETED_ITEMS: "DELETED_ITEMS",
352
- DRAFTS: "DRAFTS",
353
- INBOX: "INBOX",
354
- JUNK_EMAIL: "JUNK_EMAIL",
355
- SENT_ITEMS: "SENT_ITEMS",
356
- };
357
- export class InvalidConfigurationException extends __BaseException {
358
- name = "InvalidConfigurationException";
359
- $fault = "client";
360
- Message;
361
- constructor(opts) {
362
- super({
363
- name: "InvalidConfigurationException",
364
- $fault: "client",
365
- ...opts,
366
- });
367
- Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
368
- this.Message = opts.Message;
369
- }
370
- }
371
- export const PermissionType = {
372
- FULL_ACCESS: "FULL_ACCESS",
373
- SEND_AS: "SEND_AS",
374
- SEND_ON_BEHALF: "SEND_ON_BEHALF",
375
- };
376
- export class TooManyTagsException extends __BaseException {
377
- name = "TooManyTagsException";
378
- $fault = "client";
379
- Message;
380
- constructor(opts) {
381
- super({
382
- name: "TooManyTagsException",
383
- $fault: "client",
384
- ...opts,
385
- });
386
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
387
- this.Message = opts.Message;
388
- }
389
- }
1
+ export {};
@@ -516,7 +516,7 @@ const _hE = "httpError";
516
516
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.workmail";
517
517
  const n0 = "com.amazonaws.workmail";
518
518
  import { TypeRegistry } from "@smithy/core/schema";
519
- import { DirectoryInUseException as __DirectoryInUseException, DirectoryServiceAuthenticationFailedException as __DirectoryServiceAuthenticationFailedException, DirectoryUnavailableException as __DirectoryUnavailableException, EmailAddressInUseException as __EmailAddressInUseException, EntityAlreadyRegisteredException as __EntityAlreadyRegisteredException, EntityNotFoundException as __EntityNotFoundException, EntityStateException as __EntityStateException, InvalidConfigurationException as __InvalidConfigurationException, InvalidCustomSesConfigurationException as __InvalidCustomSesConfigurationException, InvalidParameterException as __InvalidParameterException, InvalidPasswordException as __InvalidPasswordException, LimitExceededException as __LimitExceededException, MailDomainInUseException as __MailDomainInUseException, MailDomainNotFoundException as __MailDomainNotFoundException, MailDomainStateException as __MailDomainStateException, NameAvailabilityException as __NameAvailabilityException, OrganizationNotFoundException as __OrganizationNotFoundException, OrganizationStateException as __OrganizationStateException, ReservedNameException as __ReservedNameException, ResourceNotFoundException as __ResourceNotFoundException, TooManyTagsException as __TooManyTagsException, UnsupportedOperationException as __UnsupportedOperationException, } from "../models/index";
519
+ import { DirectoryInUseException as __DirectoryInUseException, DirectoryServiceAuthenticationFailedException as __DirectoryServiceAuthenticationFailedException, DirectoryUnavailableException as __DirectoryUnavailableException, EmailAddressInUseException as __EmailAddressInUseException, EntityAlreadyRegisteredException as __EntityAlreadyRegisteredException, EntityNotFoundException as __EntityNotFoundException, EntityStateException as __EntityStateException, InvalidConfigurationException as __InvalidConfigurationException, InvalidCustomSesConfigurationException as __InvalidCustomSesConfigurationException, InvalidParameterException as __InvalidParameterException, InvalidPasswordException as __InvalidPasswordException, LimitExceededException as __LimitExceededException, MailDomainInUseException as __MailDomainInUseException, MailDomainNotFoundException as __MailDomainNotFoundException, MailDomainStateException as __MailDomainStateException, NameAvailabilityException as __NameAvailabilityException, OrganizationNotFoundException as __OrganizationNotFoundException, OrganizationStateException as __OrganizationStateException, ReservedNameException as __ReservedNameException, ResourceNotFoundException as __ResourceNotFoundException, TooManyTagsException as __TooManyTagsException, UnsupportedOperationException as __UnsupportedOperationException, } from "../models/errors";
520
520
  import { WorkMailServiceException as __WorkMailServiceException } from "../models/WorkMailServiceException";
521
521
  export var NewResourceDescription = [0, n0, _NRD, 8, 0];
522
522
  export var Password = [0, n0, _P, 8, 0];
@@ -45,5 +45,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
45
45
  export type { WorkMailExtensionConfiguration } from "./extensionConfiguration";
46
46
  export * from "./commands";
47
47
  export * from "./pagination";
48
- export * from "./models";
48
+ export * from "./models/enums";
49
+ export * from "./models/errors";
50
+ export type * from "./models/models_0";
49
51
  export { WorkMailServiceException } from "./models/WorkMailServiceException";
@@ -0,0 +1,216 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessControlRuleEffect: {
6
+ readonly ALLOW: "ALLOW";
7
+ readonly DENY: "DENY";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type AccessControlRuleEffect = (typeof AccessControlRuleEffect)[keyof typeof AccessControlRuleEffect];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const AccessEffect: {
18
+ readonly ALLOW: "ALLOW";
19
+ readonly DENY: "DENY";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type AccessEffect = (typeof AccessEffect)[keyof typeof AccessEffect];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const AvailabilityProviderType: {
30
+ readonly EWS: "EWS";
31
+ readonly LAMBDA: "LAMBDA";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type AvailabilityProviderType = (typeof AvailabilityProviderType)[keyof typeof AvailabilityProviderType];
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const ImpersonationRoleType: {
42
+ readonly FULL_ACCESS: "FULL_ACCESS";
43
+ readonly READ_ONLY: "READ_ONLY";
44
+ };
45
+ /**
46
+ * @public
47
+ */
48
+ export type ImpersonationRoleType = (typeof ImpersonationRoleType)[keyof typeof ImpersonationRoleType];
49
+ /**
50
+ * @public
51
+ * @enum
52
+ */
53
+ export declare const MobileDeviceAccessRuleEffect: {
54
+ readonly ALLOW: "ALLOW";
55
+ readonly DENY: "DENY";
56
+ };
57
+ /**
58
+ * @public
59
+ */
60
+ export type MobileDeviceAccessRuleEffect = (typeof MobileDeviceAccessRuleEffect)[keyof typeof MobileDeviceAccessRuleEffect];
61
+ /**
62
+ * @public
63
+ * @enum
64
+ */
65
+ export declare const ResourceType: {
66
+ readonly EQUIPMENT: "EQUIPMENT";
67
+ readonly ROOM: "ROOM";
68
+ };
69
+ /**
70
+ * @public
71
+ */
72
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
73
+ /**
74
+ * @public
75
+ * @enum
76
+ */
77
+ export declare const UserRole: {
78
+ readonly REMOTE_USER: "REMOTE_USER";
79
+ readonly RESOURCE: "RESOURCE";
80
+ readonly SYSTEM_USER: "SYSTEM_USER";
81
+ readonly USER: "USER";
82
+ };
83
+ /**
84
+ * @public
85
+ */
86
+ export type UserRole = (typeof UserRole)[keyof typeof UserRole];
87
+ /**
88
+ * @public
89
+ * @enum
90
+ */
91
+ export declare const MemberType: {
92
+ readonly GROUP: "GROUP";
93
+ readonly USER: "USER";
94
+ };
95
+ /**
96
+ * @public
97
+ */
98
+ export type MemberType = (typeof MemberType)[keyof typeof MemberType];
99
+ /**
100
+ * @public
101
+ * @enum
102
+ */
103
+ export declare const EntityType: {
104
+ readonly GROUP: "GROUP";
105
+ readonly RESOURCE: "RESOURCE";
106
+ readonly USER: "USER";
107
+ };
108
+ /**
109
+ * @public
110
+ */
111
+ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
112
+ /**
113
+ * @public
114
+ * @enum
115
+ */
116
+ export declare const EntityState: {
117
+ readonly DELETED: "DELETED";
118
+ readonly DISABLED: "DISABLED";
119
+ readonly ENABLED: "ENABLED";
120
+ };
121
+ /**
122
+ * @public
123
+ */
124
+ export type EntityState = (typeof EntityState)[keyof typeof EntityState];
125
+ /**
126
+ * @public
127
+ * @enum
128
+ */
129
+ export declare const IdentityProviderAuthenticationMode: {
130
+ readonly IDENTITY_PROVIDER_AND_DIRECTORY: "IDENTITY_PROVIDER_AND_DIRECTORY";
131
+ readonly IDENTITY_PROVIDER_ONLY: "IDENTITY_PROVIDER_ONLY";
132
+ };
133
+ /**
134
+ * @public
135
+ */
136
+ export type IdentityProviderAuthenticationMode = (typeof IdentityProviderAuthenticationMode)[keyof typeof IdentityProviderAuthenticationMode];
137
+ /**
138
+ * @public
139
+ * @enum
140
+ */
141
+ export declare const PersonalAccessTokenConfigurationStatus: {
142
+ readonly ACTIVE: "ACTIVE";
143
+ readonly INACTIVE: "INACTIVE";
144
+ };
145
+ /**
146
+ * @public
147
+ */
148
+ export type PersonalAccessTokenConfigurationStatus = (typeof PersonalAccessTokenConfigurationStatus)[keyof typeof PersonalAccessTokenConfigurationStatus];
149
+ /**
150
+ * @public
151
+ * @enum
152
+ */
153
+ export declare const MailboxExportJobState: {
154
+ readonly CANCELLED: "CANCELLED";
155
+ readonly COMPLETED: "COMPLETED";
156
+ readonly FAILED: "FAILED";
157
+ readonly RUNNING: "RUNNING";
158
+ };
159
+ /**
160
+ * @public
161
+ */
162
+ export type MailboxExportJobState = (typeof MailboxExportJobState)[keyof typeof MailboxExportJobState];
163
+ /**
164
+ * @public
165
+ * @enum
166
+ */
167
+ export declare const DnsRecordVerificationStatus: {
168
+ readonly FAILED: "FAILED";
169
+ readonly PENDING: "PENDING";
170
+ readonly VERIFIED: "VERIFIED";
171
+ };
172
+ /**
173
+ * @public
174
+ */
175
+ export type DnsRecordVerificationStatus = (typeof DnsRecordVerificationStatus)[keyof typeof DnsRecordVerificationStatus];
176
+ /**
177
+ * @public
178
+ * @enum
179
+ */
180
+ export declare const RetentionAction: {
181
+ readonly DELETE: "DELETE";
182
+ readonly NONE: "NONE";
183
+ readonly PERMANENTLY_DELETE: "PERMANENTLY_DELETE";
184
+ };
185
+ /**
186
+ * @public
187
+ */
188
+ export type RetentionAction = (typeof RetentionAction)[keyof typeof RetentionAction];
189
+ /**
190
+ * @public
191
+ * @enum
192
+ */
193
+ export declare const FolderName: {
194
+ readonly DELETED_ITEMS: "DELETED_ITEMS";
195
+ readonly DRAFTS: "DRAFTS";
196
+ readonly INBOX: "INBOX";
197
+ readonly JUNK_EMAIL: "JUNK_EMAIL";
198
+ readonly SENT_ITEMS: "SENT_ITEMS";
199
+ };
200
+ /**
201
+ * @public
202
+ */
203
+ export type FolderName = (typeof FolderName)[keyof typeof FolderName];
204
+ /**
205
+ * @public
206
+ * @enum
207
+ */
208
+ export declare const PermissionType: {
209
+ readonly FULL_ACCESS: "FULL_ACCESS";
210
+ readonly SEND_AS: "SEND_AS";
211
+ readonly SEND_ON_BEHALF: "SEND_ON_BEHALF";
212
+ };
213
+ /**
214
+ * @public
215
+ */
216
+ export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];