@aws-sdk/client-workmail 3.52.0 → 3.53.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-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./WorkMailClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { WorkMailServiceException } from "./models/WorkMailServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var WorkMailServiceException = (function (_super) {
4
+ __extends(WorkMailServiceException, _super);
5
+ function WorkMailServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, WorkMailServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return WorkMailServiceException;
11
+ }(__ServiceException));
12
+ export { WorkMailServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { WorkMailServiceException as __BaseException } from "./WorkMailServiceException";
3
4
  export var AccessControlRuleEffect;
4
5
  (function (AccessControlRuleEffect) {
5
6
  AccessControlRuleEffect["ALLOW"] = "ALLOW";
@@ -17,6 +18,71 @@ export var AssociateDelegateToResourceResponse;
17
18
  (function (AssociateDelegateToResourceResponse) {
18
19
  AssociateDelegateToResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
19
20
  })(AssociateDelegateToResourceResponse || (AssociateDelegateToResourceResponse = {}));
21
+ var EntityNotFoundException = (function (_super) {
22
+ __extends(EntityNotFoundException, _super);
23
+ function EntityNotFoundException(opts) {
24
+ var _this = _super.call(this, __assign({ name: "EntityNotFoundException", $fault: "client" }, opts)) || this;
25
+ _this.name = "EntityNotFoundException";
26
+ _this.$fault = "client";
27
+ Object.setPrototypeOf(_this, EntityNotFoundException.prototype);
28
+ _this.Message = opts.Message;
29
+ return _this;
30
+ }
31
+ return EntityNotFoundException;
32
+ }(__BaseException));
33
+ export { EntityNotFoundException };
34
+ var EntityStateException = (function (_super) {
35
+ __extends(EntityStateException, _super);
36
+ function EntityStateException(opts) {
37
+ var _this = _super.call(this, __assign({ name: "EntityStateException", $fault: "client" }, opts)) || this;
38
+ _this.name = "EntityStateException";
39
+ _this.$fault = "client";
40
+ Object.setPrototypeOf(_this, EntityStateException.prototype);
41
+ _this.Message = opts.Message;
42
+ return _this;
43
+ }
44
+ return EntityStateException;
45
+ }(__BaseException));
46
+ export { EntityStateException };
47
+ var InvalidParameterException = (function (_super) {
48
+ __extends(InvalidParameterException, _super);
49
+ function InvalidParameterException(opts) {
50
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
51
+ _this.name = "InvalidParameterException";
52
+ _this.$fault = "client";
53
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
54
+ _this.Message = opts.Message;
55
+ return _this;
56
+ }
57
+ return InvalidParameterException;
58
+ }(__BaseException));
59
+ export { InvalidParameterException };
60
+ var OrganizationNotFoundException = (function (_super) {
61
+ __extends(OrganizationNotFoundException, _super);
62
+ function OrganizationNotFoundException(opts) {
63
+ var _this = _super.call(this, __assign({ name: "OrganizationNotFoundException", $fault: "client" }, opts)) || this;
64
+ _this.name = "OrganizationNotFoundException";
65
+ _this.$fault = "client";
66
+ Object.setPrototypeOf(_this, OrganizationNotFoundException.prototype);
67
+ _this.Message = opts.Message;
68
+ return _this;
69
+ }
70
+ return OrganizationNotFoundException;
71
+ }(__BaseException));
72
+ export { OrganizationNotFoundException };
73
+ var OrganizationStateException = (function (_super) {
74
+ __extends(OrganizationStateException, _super);
75
+ function OrganizationStateException(opts) {
76
+ var _this = _super.call(this, __assign({ name: "OrganizationStateException", $fault: "client" }, opts)) || this;
77
+ _this.name = "OrganizationStateException";
78
+ _this.$fault = "client";
79
+ Object.setPrototypeOf(_this, OrganizationStateException.prototype);
80
+ _this.Message = opts.Message;
81
+ return _this;
82
+ }
83
+ return OrganizationStateException;
84
+ }(__BaseException));
85
+ export { OrganizationStateException };
20
86
  export var AssociateMemberToGroupRequest;
21
87
  (function (AssociateMemberToGroupRequest) {
22
88
  AssociateMemberToGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -25,6 +91,45 @@ export var AssociateMemberToGroupResponse;
25
91
  (function (AssociateMemberToGroupResponse) {
26
92
  AssociateMemberToGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
27
93
  })(AssociateMemberToGroupResponse || (AssociateMemberToGroupResponse = {}));
94
+ var DirectoryServiceAuthenticationFailedException = (function (_super) {
95
+ __extends(DirectoryServiceAuthenticationFailedException, _super);
96
+ function DirectoryServiceAuthenticationFailedException(opts) {
97
+ var _this = _super.call(this, __assign({ name: "DirectoryServiceAuthenticationFailedException", $fault: "client" }, opts)) || this;
98
+ _this.name = "DirectoryServiceAuthenticationFailedException";
99
+ _this.$fault = "client";
100
+ Object.setPrototypeOf(_this, DirectoryServiceAuthenticationFailedException.prototype);
101
+ _this.Message = opts.Message;
102
+ return _this;
103
+ }
104
+ return DirectoryServiceAuthenticationFailedException;
105
+ }(__BaseException));
106
+ export { DirectoryServiceAuthenticationFailedException };
107
+ var DirectoryUnavailableException = (function (_super) {
108
+ __extends(DirectoryUnavailableException, _super);
109
+ function DirectoryUnavailableException(opts) {
110
+ var _this = _super.call(this, __assign({ name: "DirectoryUnavailableException", $fault: "client" }, opts)) || this;
111
+ _this.name = "DirectoryUnavailableException";
112
+ _this.$fault = "client";
113
+ Object.setPrototypeOf(_this, DirectoryUnavailableException.prototype);
114
+ _this.Message = opts.Message;
115
+ return _this;
116
+ }
117
+ return DirectoryUnavailableException;
118
+ }(__BaseException));
119
+ export { DirectoryUnavailableException };
120
+ var UnsupportedOperationException = (function (_super) {
121
+ __extends(UnsupportedOperationException, _super);
122
+ function UnsupportedOperationException(opts) {
123
+ var _this = _super.call(this, __assign({ name: "UnsupportedOperationException", $fault: "client" }, opts)) || this;
124
+ _this.name = "UnsupportedOperationException";
125
+ _this.$fault = "client";
126
+ Object.setPrototypeOf(_this, UnsupportedOperationException.prototype);
127
+ _this.Message = opts.Message;
128
+ return _this;
129
+ }
130
+ return UnsupportedOperationException;
131
+ }(__BaseException));
132
+ export { UnsupportedOperationException };
28
133
  export var BookingOptions;
29
134
  (function (BookingOptions) {
30
135
  BookingOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -45,6 +150,58 @@ export var CreateAliasResponse;
45
150
  (function (CreateAliasResponse) {
46
151
  CreateAliasResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
47
152
  })(CreateAliasResponse || (CreateAliasResponse = {}));
153
+ var EmailAddressInUseException = (function (_super) {
154
+ __extends(EmailAddressInUseException, _super);
155
+ function EmailAddressInUseException(opts) {
156
+ var _this = _super.call(this, __assign({ name: "EmailAddressInUseException", $fault: "client" }, opts)) || this;
157
+ _this.name = "EmailAddressInUseException";
158
+ _this.$fault = "client";
159
+ Object.setPrototypeOf(_this, EmailAddressInUseException.prototype);
160
+ _this.Message = opts.Message;
161
+ return _this;
162
+ }
163
+ return EmailAddressInUseException;
164
+ }(__BaseException));
165
+ export { EmailAddressInUseException };
166
+ var LimitExceededException = (function (_super) {
167
+ __extends(LimitExceededException, _super);
168
+ function LimitExceededException(opts) {
169
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
170
+ _this.name = "LimitExceededException";
171
+ _this.$fault = "client";
172
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
173
+ _this.Message = opts.Message;
174
+ return _this;
175
+ }
176
+ return LimitExceededException;
177
+ }(__BaseException));
178
+ export { LimitExceededException };
179
+ var MailDomainNotFoundException = (function (_super) {
180
+ __extends(MailDomainNotFoundException, _super);
181
+ function MailDomainNotFoundException(opts) {
182
+ var _this = _super.call(this, __assign({ name: "MailDomainNotFoundException", $fault: "client" }, opts)) || this;
183
+ _this.name = "MailDomainNotFoundException";
184
+ _this.$fault = "client";
185
+ Object.setPrototypeOf(_this, MailDomainNotFoundException.prototype);
186
+ _this.Message = opts.Message;
187
+ return _this;
188
+ }
189
+ return MailDomainNotFoundException;
190
+ }(__BaseException));
191
+ export { MailDomainNotFoundException };
192
+ var MailDomainStateException = (function (_super) {
193
+ __extends(MailDomainStateException, _super);
194
+ function MailDomainStateException(opts) {
195
+ var _this = _super.call(this, __assign({ name: "MailDomainStateException", $fault: "client" }, opts)) || this;
196
+ _this.name = "MailDomainStateException";
197
+ _this.$fault = "client";
198
+ Object.setPrototypeOf(_this, MailDomainStateException.prototype);
199
+ _this.Message = opts.Message;
200
+ return _this;
201
+ }
202
+ return MailDomainStateException;
203
+ }(__BaseException));
204
+ export { MailDomainStateException };
48
205
  export var CreateGroupRequest;
49
206
  (function (CreateGroupRequest) {
50
207
  CreateGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -53,6 +210,32 @@ export var CreateGroupResponse;
53
210
  (function (CreateGroupResponse) {
54
211
  CreateGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
55
212
  })(CreateGroupResponse || (CreateGroupResponse = {}));
213
+ var NameAvailabilityException = (function (_super) {
214
+ __extends(NameAvailabilityException, _super);
215
+ function NameAvailabilityException(opts) {
216
+ var _this = _super.call(this, __assign({ name: "NameAvailabilityException", $fault: "client" }, opts)) || this;
217
+ _this.name = "NameAvailabilityException";
218
+ _this.$fault = "client";
219
+ Object.setPrototypeOf(_this, NameAvailabilityException.prototype);
220
+ _this.Message = opts.Message;
221
+ return _this;
222
+ }
223
+ return NameAvailabilityException;
224
+ }(__BaseException));
225
+ export { NameAvailabilityException };
226
+ var ReservedNameException = (function (_super) {
227
+ __extends(ReservedNameException, _super);
228
+ function ReservedNameException(opts) {
229
+ var _this = _super.call(this, __assign({ name: "ReservedNameException", $fault: "client" }, opts)) || this;
230
+ _this.name = "ReservedNameException";
231
+ _this.$fault = "client";
232
+ Object.setPrototypeOf(_this, ReservedNameException.prototype);
233
+ _this.Message = opts.Message;
234
+ return _this;
235
+ }
236
+ return ReservedNameException;
237
+ }(__BaseException));
238
+ export { ReservedNameException };
56
239
  export var MobileDeviceAccessRuleEffect;
57
240
  (function (MobileDeviceAccessRuleEffect) {
58
241
  MobileDeviceAccessRuleEffect["ALLOW"] = "ALLOW";
@@ -78,6 +261,19 @@ export var CreateOrganizationResponse;
78
261
  (function (CreateOrganizationResponse) {
79
262
  CreateOrganizationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
80
263
  })(CreateOrganizationResponse || (CreateOrganizationResponse = {}));
264
+ var DirectoryInUseException = (function (_super) {
265
+ __extends(DirectoryInUseException, _super);
266
+ function DirectoryInUseException(opts) {
267
+ var _this = _super.call(this, __assign({ name: "DirectoryInUseException", $fault: "client" }, opts)) || this;
268
+ _this.name = "DirectoryInUseException";
269
+ _this.$fault = "client";
270
+ Object.setPrototypeOf(_this, DirectoryInUseException.prototype);
271
+ _this.Message = opts.Message;
272
+ return _this;
273
+ }
274
+ return DirectoryInUseException;
275
+ }(__BaseException));
276
+ export { DirectoryInUseException };
81
277
  export var ResourceType;
82
278
  (function (ResourceType) {
83
279
  ResourceType["EQUIPMENT"] = "EQUIPMENT";
@@ -99,6 +295,19 @@ export var CreateUserResponse;
99
295
  (function (CreateUserResponse) {
100
296
  CreateUserResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
297
  })(CreateUserResponse || (CreateUserResponse = {}));
298
+ var InvalidPasswordException = (function (_super) {
299
+ __extends(InvalidPasswordException, _super);
300
+ function InvalidPasswordException(opts) {
301
+ var _this = _super.call(this, __assign({ name: "InvalidPasswordException", $fault: "client" }, opts)) || this;
302
+ _this.name = "InvalidPasswordException";
303
+ _this.$fault = "client";
304
+ Object.setPrototypeOf(_this, InvalidPasswordException.prototype);
305
+ _this.Message = opts.Message;
306
+ return _this;
307
+ }
308
+ return InvalidPasswordException;
309
+ }(__BaseException));
310
+ export { InvalidPasswordException };
102
311
  export var MemberType;
103
312
  (function (MemberType) {
104
313
  MemberType["GROUP"] = "GROUP";
@@ -212,6 +421,32 @@ export var DeregisterMailDomainResponse;
212
421
  (function (DeregisterMailDomainResponse) {
213
422
  DeregisterMailDomainResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
214
423
  })(DeregisterMailDomainResponse || (DeregisterMailDomainResponse = {}));
424
+ var InvalidCustomSesConfigurationException = (function (_super) {
425
+ __extends(InvalidCustomSesConfigurationException, _super);
426
+ function InvalidCustomSesConfigurationException(opts) {
427
+ var _this = _super.call(this, __assign({ name: "InvalidCustomSesConfigurationException", $fault: "client" }, opts)) || this;
428
+ _this.name = "InvalidCustomSesConfigurationException";
429
+ _this.$fault = "client";
430
+ Object.setPrototypeOf(_this, InvalidCustomSesConfigurationException.prototype);
431
+ _this.Message = opts.Message;
432
+ return _this;
433
+ }
434
+ return InvalidCustomSesConfigurationException;
435
+ }(__BaseException));
436
+ export { InvalidCustomSesConfigurationException };
437
+ var MailDomainInUseException = (function (_super) {
438
+ __extends(MailDomainInUseException, _super);
439
+ function MailDomainInUseException(opts) {
440
+ var _this = _super.call(this, __assign({ name: "MailDomainInUseException", $fault: "client" }, opts)) || this;
441
+ _this.name = "MailDomainInUseException";
442
+ _this.$fault = "client";
443
+ Object.setPrototypeOf(_this, MailDomainInUseException.prototype);
444
+ _this.Message = opts.Message;
445
+ return _this;
446
+ }
447
+ return MailDomainInUseException;
448
+ }(__BaseException));
449
+ export { MailDomainInUseException };
215
450
  export var DescribeEmailMonitoringConfigurationRequest;
216
451
  (function (DescribeEmailMonitoringConfigurationRequest) {
217
452
  DescribeEmailMonitoringConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -220,6 +455,19 @@ export var DescribeEmailMonitoringConfigurationResponse;
220
455
  (function (DescribeEmailMonitoringConfigurationResponse) {
221
456
  DescribeEmailMonitoringConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
222
457
  })(DescribeEmailMonitoringConfigurationResponse || (DescribeEmailMonitoringConfigurationResponse = {}));
458
+ var ResourceNotFoundException = (function (_super) {
459
+ __extends(ResourceNotFoundException, _super);
460
+ function ResourceNotFoundException(opts) {
461
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
462
+ _this.name = "ResourceNotFoundException";
463
+ _this.$fault = "client";
464
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
465
+ _this.Message = opts.Message;
466
+ return _this;
467
+ }
468
+ return ResourceNotFoundException;
469
+ }(__BaseException));
470
+ export { ResourceNotFoundException };
223
471
  export var DescribeGroupRequest;
224
472
  (function (DescribeGroupRequest) {
225
473
  DescribeGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -313,6 +561,19 @@ export var DnsRecordVerificationStatus;
313
561
  DnsRecordVerificationStatus["PENDING"] = "PENDING";
314
562
  DnsRecordVerificationStatus["VERIFIED"] = "VERIFIED";
315
563
  })(DnsRecordVerificationStatus || (DnsRecordVerificationStatus = {}));
564
+ var EntityAlreadyRegisteredException = (function (_super) {
565
+ __extends(EntityAlreadyRegisteredException, _super);
566
+ function EntityAlreadyRegisteredException(opts) {
567
+ var _this = _super.call(this, __assign({ name: "EntityAlreadyRegisteredException", $fault: "client" }, opts)) || this;
568
+ _this.name = "EntityAlreadyRegisteredException";
569
+ _this.$fault = "client";
570
+ Object.setPrototypeOf(_this, EntityAlreadyRegisteredException.prototype);
571
+ _this.Message = opts.Message;
572
+ return _this;
573
+ }
574
+ return EntityAlreadyRegisteredException;
575
+ }(__BaseException));
576
+ export { EntityAlreadyRegisteredException };
316
577
  export var RetentionAction;
317
578
  (function (RetentionAction) {
318
579
  RetentionAction["DELETE"] = "DELETE";
@@ -387,6 +648,19 @@ export var Group;
387
648
  (function (Group) {
388
649
  Group.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
389
650
  })(Group || (Group = {}));
651
+ var InvalidConfigurationException = (function (_super) {
652
+ __extends(InvalidConfigurationException, _super);
653
+ function InvalidConfigurationException(opts) {
654
+ var _this = _super.call(this, __assign({ name: "InvalidConfigurationException", $fault: "client" }, opts)) || this;
655
+ _this.name = "InvalidConfigurationException";
656
+ _this.$fault = "client";
657
+ Object.setPrototypeOf(_this, InvalidConfigurationException.prototype);
658
+ _this.Message = opts.Message;
659
+ return _this;
660
+ }
661
+ return InvalidConfigurationException;
662
+ }(__BaseException));
663
+ export { InvalidConfigurationException };
390
664
  export var MailboxExportJob;
391
665
  (function (MailboxExportJob) {
392
666
  MailboxExportJob.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -633,6 +907,19 @@ export var TagResourceResponse;
633
907
  (function (TagResourceResponse) {
634
908
  TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
635
909
  })(TagResourceResponse || (TagResourceResponse = {}));
910
+ var TooManyTagsException = (function (_super) {
911
+ __extends(TooManyTagsException, _super);
912
+ function TooManyTagsException(opts) {
913
+ var _this = _super.call(this, __assign({ name: "TooManyTagsException", $fault: "client" }, opts)) || this;
914
+ _this.name = "TooManyTagsException";
915
+ _this.$fault = "client";
916
+ Object.setPrototypeOf(_this, TooManyTagsException.prototype);
917
+ _this.Message = opts.Message;
918
+ return _this;
919
+ }
920
+ return TooManyTagsException;
921
+ }(__BaseException));
922
+ export { TooManyTagsException };
636
923
  export var UntagResourceRequest;
637
924
  (function (UntagResourceRequest) {
638
925
  UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };