@aws-sdk/client-workmail 3.934.0 → 3.936.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.
@@ -0,0 +1,299 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { WorkMailServiceException as __BaseException } from "./WorkMailServiceException";
3
+ /**
4
+ * <p>The identifier supplied for the user, group, or resource does not exist in your
5
+ * organization.</p>
6
+ * @public
7
+ */
8
+ export declare class EntityNotFoundException extends __BaseException {
9
+ readonly name: "EntityNotFoundException";
10
+ readonly $fault: "client";
11
+ Message?: string | undefined;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<EntityNotFoundException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>You are performing an operation on a user, group, or resource that isn't in the
19
+ * expected state, such as trying to delete an active user.</p>
20
+ * @public
21
+ */
22
+ export declare class EntityStateException extends __BaseException {
23
+ readonly name: "EntityStateException";
24
+ readonly $fault: "client";
25
+ Message?: string | undefined;
26
+ /**
27
+ * @internal
28
+ */
29
+ constructor(opts: __ExceptionOptionType<EntityStateException, __BaseException>);
30
+ }
31
+ /**
32
+ * <p>One or more of the input parameters don't match the service's restrictions.</p>
33
+ * @public
34
+ */
35
+ export declare class InvalidParameterException extends __BaseException {
36
+ readonly name: "InvalidParameterException";
37
+ readonly $fault: "client";
38
+ Message?: string | undefined;
39
+ /**
40
+ * @internal
41
+ */
42
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
43
+ }
44
+ /**
45
+ * <p>An operation received a valid organization identifier that either doesn't belong or
46
+ * exist in the system.</p>
47
+ * @public
48
+ */
49
+ export declare class OrganizationNotFoundException extends __BaseException {
50
+ readonly name: "OrganizationNotFoundException";
51
+ readonly $fault: "client";
52
+ Message?: string | undefined;
53
+ /**
54
+ * @internal
55
+ */
56
+ constructor(opts: __ExceptionOptionType<OrganizationNotFoundException, __BaseException>);
57
+ }
58
+ /**
59
+ * <p>The organization must have a valid state to perform certain
60
+ * operations on the organization or its members.</p>
61
+ * @public
62
+ */
63
+ export declare class OrganizationStateException extends __BaseException {
64
+ readonly name: "OrganizationStateException";
65
+ readonly $fault: "client";
66
+ Message?: string | undefined;
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<OrganizationStateException, __BaseException>);
71
+ }
72
+ /**
73
+ * <p>You can't perform a write operation against a read-only directory.</p>
74
+ * @public
75
+ */
76
+ export declare class UnsupportedOperationException extends __BaseException {
77
+ readonly name: "UnsupportedOperationException";
78
+ readonly $fault: "client";
79
+ Message?: string | undefined;
80
+ /**
81
+ * @internal
82
+ */
83
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
84
+ }
85
+ /**
86
+ * <p>The directory service doesn't recognize the credentials supplied by WorkMail.</p>
87
+ * @public
88
+ */
89
+ export declare class DirectoryServiceAuthenticationFailedException extends __BaseException {
90
+ readonly name: "DirectoryServiceAuthenticationFailedException";
91
+ readonly $fault: "client";
92
+ Message?: string | undefined;
93
+ /**
94
+ * @internal
95
+ */
96
+ constructor(opts: __ExceptionOptionType<DirectoryServiceAuthenticationFailedException, __BaseException>);
97
+ }
98
+ /**
99
+ * <p>The directory is unavailable. It might be located in another Region or deleted.</p>
100
+ * @public
101
+ */
102
+ export declare class DirectoryUnavailableException extends __BaseException {
103
+ readonly name: "DirectoryUnavailableException";
104
+ readonly $fault: "client";
105
+ Message?: string | undefined;
106
+ /**
107
+ * @internal
108
+ */
109
+ constructor(opts: __ExceptionOptionType<DirectoryUnavailableException, __BaseException>);
110
+ }
111
+ /**
112
+ * <p>The resource cannot be found.</p>
113
+ * @public
114
+ */
115
+ export declare class ResourceNotFoundException extends __BaseException {
116
+ readonly name: "ResourceNotFoundException";
117
+ readonly $fault: "client";
118
+ Message?: string | undefined;
119
+ /**
120
+ * @internal
121
+ */
122
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
123
+ }
124
+ /**
125
+ * <p>The email address that you're trying to assign is already created for a different
126
+ * user, group, or resource.</p>
127
+ * @public
128
+ */
129
+ export declare class EmailAddressInUseException extends __BaseException {
130
+ readonly name: "EmailAddressInUseException";
131
+ readonly $fault: "client";
132
+ Message?: string | undefined;
133
+ /**
134
+ * @internal
135
+ */
136
+ constructor(opts: __ExceptionOptionType<EmailAddressInUseException, __BaseException>);
137
+ }
138
+ /**
139
+ * <p>The request exceeds the limit of the resource.</p>
140
+ * @public
141
+ */
142
+ export declare class LimitExceededException extends __BaseException {
143
+ readonly name: "LimitExceededException";
144
+ readonly $fault: "client";
145
+ Message?: string | undefined;
146
+ /**
147
+ * @internal
148
+ */
149
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
150
+ }
151
+ /**
152
+ * <p>The domain specified is not found in your organization.</p>
153
+ * @public
154
+ */
155
+ export declare class MailDomainNotFoundException extends __BaseException {
156
+ readonly name: "MailDomainNotFoundException";
157
+ readonly $fault: "client";
158
+ Message?: string | undefined;
159
+ /**
160
+ * @internal
161
+ */
162
+ constructor(opts: __ExceptionOptionType<MailDomainNotFoundException, __BaseException>);
163
+ }
164
+ /**
165
+ * <p>After a domain has been added to the organization, it must be verified. The domain is
166
+ * not yet verified.</p>
167
+ * @public
168
+ */
169
+ export declare class MailDomainStateException extends __BaseException {
170
+ readonly name: "MailDomainStateException";
171
+ readonly $fault: "client";
172
+ Message?: string | undefined;
173
+ /**
174
+ * @internal
175
+ */
176
+ constructor(opts: __ExceptionOptionType<MailDomainStateException, __BaseException>);
177
+ }
178
+ /**
179
+ * <p>The user, group, or resource name isn't unique in WorkMail.</p>
180
+ * @public
181
+ */
182
+ export declare class NameAvailabilityException extends __BaseException {
183
+ readonly name: "NameAvailabilityException";
184
+ readonly $fault: "client";
185
+ Message?: string | undefined;
186
+ /**
187
+ * @internal
188
+ */
189
+ constructor(opts: __ExceptionOptionType<NameAvailabilityException, __BaseException>);
190
+ }
191
+ /**
192
+ * <p>This user, group, or resource name is not allowed in WorkMail.</p>
193
+ * @public
194
+ */
195
+ export declare class ReservedNameException extends __BaseException {
196
+ readonly name: "ReservedNameException";
197
+ readonly $fault: "client";
198
+ Message?: string | undefined;
199
+ /**
200
+ * @internal
201
+ */
202
+ constructor(opts: __ExceptionOptionType<ReservedNameException, __BaseException>);
203
+ }
204
+ /**
205
+ * <p>The directory is already in use by another WorkMail organization in the same account and Region.</p>
206
+ * @public
207
+ */
208
+ export declare class DirectoryInUseException extends __BaseException {
209
+ readonly name: "DirectoryInUseException";
210
+ readonly $fault: "client";
211
+ Message?: string | undefined;
212
+ /**
213
+ * @internal
214
+ */
215
+ constructor(opts: __ExceptionOptionType<DirectoryInUseException, __BaseException>);
216
+ }
217
+ /**
218
+ * <p>The supplied password doesn't match the minimum security constraints, such as length
219
+ * or use of special characters.</p>
220
+ * @public
221
+ */
222
+ export declare class InvalidPasswordException extends __BaseException {
223
+ readonly name: "InvalidPasswordException";
224
+ readonly $fault: "client";
225
+ Message?: string | undefined;
226
+ /**
227
+ * @internal
228
+ */
229
+ constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
230
+ }
231
+ /**
232
+ * <p>You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to
233
+ * <a href="https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html">CreateReceiptRule</a>.</p>
234
+ * @public
235
+ */
236
+ export declare class InvalidCustomSesConfigurationException extends __BaseException {
237
+ readonly name: "InvalidCustomSesConfigurationException";
238
+ readonly $fault: "client";
239
+ Message?: string | undefined;
240
+ /**
241
+ * @internal
242
+ */
243
+ constructor(opts: __ExceptionOptionType<InvalidCustomSesConfigurationException, __BaseException>);
244
+ }
245
+ /**
246
+ * <p>The domain you're trying to change is in use by another user or organization in your account. See the error message for details.</p>
247
+ * @public
248
+ */
249
+ export declare class MailDomainInUseException extends __BaseException {
250
+ readonly name: "MailDomainInUseException";
251
+ readonly $fault: "client";
252
+ Message?: string | undefined;
253
+ /**
254
+ * @internal
255
+ */
256
+ constructor(opts: __ExceptionOptionType<MailDomainInUseException, __BaseException>);
257
+ }
258
+ /**
259
+ * <p>The user, group, or resource that you're trying to register is already
260
+ * registered.</p>
261
+ * @public
262
+ */
263
+ export declare class EntityAlreadyRegisteredException extends __BaseException {
264
+ readonly name: "EntityAlreadyRegisteredException";
265
+ readonly $fault: "client";
266
+ Message?: string | undefined;
267
+ /**
268
+ * @internal
269
+ */
270
+ constructor(opts: __ExceptionOptionType<EntityAlreadyRegisteredException, __BaseException>);
271
+ }
272
+ /**
273
+ * <p>The configuration for a resource isn't valid. A resource must either be able to
274
+ * auto-respond to requests or have at least one delegate associated that can do so on its
275
+ * behalf.</p>
276
+ * @public
277
+ */
278
+ export declare class InvalidConfigurationException extends __BaseException {
279
+ readonly name: "InvalidConfigurationException";
280
+ readonly $fault: "client";
281
+ Message?: string | undefined;
282
+ /**
283
+ * @internal
284
+ */
285
+ constructor(opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>);
286
+ }
287
+ /**
288
+ * <p>The resource can have up to 50 user-applied tags.</p>
289
+ * @public
290
+ */
291
+ export declare class TooManyTagsException extends __BaseException {
292
+ readonly name: "TooManyTagsException";
293
+ readonly $fault: "client";
294
+ Message?: string | undefined;
295
+ /**
296
+ * @internal
297
+ */
298
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
299
+ }