@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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/WorkMailServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +313 -4
- package/dist-cjs/protocols/Aws_json1_1.js +707 -2706
- package/dist-es/index.js +1 -0
- package/dist-es/models/WorkMailServiceException.js +12 -0
- package/dist-es/models/models_0.js +288 -1
- package/dist-es/protocols/Aws_json1_1.js +1567 -2935
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/WorkMailServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +156 -67
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/WorkMailServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +112 -67
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from WorkMail service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class WorkMailServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WorkMailServiceException as __BaseException } from "./WorkMailServiceException";
|
|
2
3
|
export declare enum AccessControlRuleEffect {
|
|
3
4
|
ALLOW = "ALLOW",
|
|
4
5
|
DENY = "DENY"
|
|
@@ -94,45 +95,65 @@ export declare namespace AssociateDelegateToResourceResponse {
|
|
|
94
95
|
* <p>The identifier supplied for the user, group, or resource does not exist in your
|
|
95
96
|
* organization.</p>
|
|
96
97
|
*/
|
|
97
|
-
export
|
|
98
|
-
name: "EntityNotFoundException";
|
|
99
|
-
$fault: "client";
|
|
98
|
+
export declare class EntityNotFoundException extends __BaseException {
|
|
99
|
+
readonly name: "EntityNotFoundException";
|
|
100
|
+
readonly $fault: "client";
|
|
100
101
|
Message?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
constructor(opts: __ExceptionOptionType<EntityNotFoundException, __BaseException>);
|
|
101
106
|
}
|
|
102
107
|
/**
|
|
103
108
|
* <p>You are performing an operation on a user, group, or resource that isn't in the
|
|
104
109
|
* expected state, such as trying to delete an active user.</p>
|
|
105
110
|
*/
|
|
106
|
-
export
|
|
107
|
-
name: "EntityStateException";
|
|
108
|
-
$fault: "client";
|
|
111
|
+
export declare class EntityStateException extends __BaseException {
|
|
112
|
+
readonly name: "EntityStateException";
|
|
113
|
+
readonly $fault: "client";
|
|
109
114
|
Message?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
constructor(opts: __ExceptionOptionType<EntityStateException, __BaseException>);
|
|
110
119
|
}
|
|
111
120
|
/**
|
|
112
121
|
* <p>One or more of the input parameters don't match the service's restrictions.</p>
|
|
113
122
|
*/
|
|
114
|
-
export
|
|
115
|
-
name: "InvalidParameterException";
|
|
116
|
-
$fault: "client";
|
|
123
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
124
|
+
readonly name: "InvalidParameterException";
|
|
125
|
+
readonly $fault: "client";
|
|
117
126
|
Message?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
118
131
|
}
|
|
119
132
|
/**
|
|
120
133
|
* <p>An operation received a valid organization identifier that either doesn't belong or
|
|
121
134
|
* exist in the system.</p>
|
|
122
135
|
*/
|
|
123
|
-
export
|
|
124
|
-
name: "OrganizationNotFoundException";
|
|
125
|
-
$fault: "client";
|
|
136
|
+
export declare class OrganizationNotFoundException extends __BaseException {
|
|
137
|
+
readonly name: "OrganizationNotFoundException";
|
|
138
|
+
readonly $fault: "client";
|
|
126
139
|
Message?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
constructor(opts: __ExceptionOptionType<OrganizationNotFoundException, __BaseException>);
|
|
127
144
|
}
|
|
128
145
|
/**
|
|
129
146
|
* <p>The organization must have a valid state to perform certain
|
|
130
147
|
* operations on the organization or its members.</p>
|
|
131
148
|
*/
|
|
132
|
-
export
|
|
133
|
-
name: "OrganizationStateException";
|
|
134
|
-
$fault: "client";
|
|
149
|
+
export declare class OrganizationStateException extends __BaseException {
|
|
150
|
+
readonly name: "OrganizationStateException";
|
|
151
|
+
readonly $fault: "client";
|
|
135
152
|
Message?: string;
|
|
153
|
+
/**
|
|
154
|
+
* @internal
|
|
155
|
+
*/
|
|
156
|
+
constructor(opts: __ExceptionOptionType<OrganizationStateException, __BaseException>);
|
|
136
157
|
}
|
|
137
158
|
export interface AssociateMemberToGroupRequest {
|
|
138
159
|
/**
|
|
@@ -165,26 +186,38 @@ export declare namespace AssociateMemberToGroupResponse {
|
|
|
165
186
|
/**
|
|
166
187
|
* <p>The directory service doesn't recognize the credentials supplied by WorkMail.</p>
|
|
167
188
|
*/
|
|
168
|
-
export
|
|
169
|
-
name: "DirectoryServiceAuthenticationFailedException";
|
|
170
|
-
$fault: "client";
|
|
189
|
+
export declare class DirectoryServiceAuthenticationFailedException extends __BaseException {
|
|
190
|
+
readonly name: "DirectoryServiceAuthenticationFailedException";
|
|
191
|
+
readonly $fault: "client";
|
|
171
192
|
Message?: string;
|
|
193
|
+
/**
|
|
194
|
+
* @internal
|
|
195
|
+
*/
|
|
196
|
+
constructor(opts: __ExceptionOptionType<DirectoryServiceAuthenticationFailedException, __BaseException>);
|
|
172
197
|
}
|
|
173
198
|
/**
|
|
174
199
|
* <p>The directory is unavailable. It might be located in another Region or deleted.</p>
|
|
175
200
|
*/
|
|
176
|
-
export
|
|
177
|
-
name: "DirectoryUnavailableException";
|
|
178
|
-
$fault: "client";
|
|
201
|
+
export declare class DirectoryUnavailableException extends __BaseException {
|
|
202
|
+
readonly name: "DirectoryUnavailableException";
|
|
203
|
+
readonly $fault: "client";
|
|
179
204
|
Message?: string;
|
|
205
|
+
/**
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
constructor(opts: __ExceptionOptionType<DirectoryUnavailableException, __BaseException>);
|
|
180
209
|
}
|
|
181
210
|
/**
|
|
182
211
|
* <p>You can't perform a write operation against a read-only directory.</p>
|
|
183
212
|
*/
|
|
184
|
-
export
|
|
185
|
-
name: "UnsupportedOperationException";
|
|
186
|
-
$fault: "client";
|
|
213
|
+
export declare class UnsupportedOperationException extends __BaseException {
|
|
214
|
+
readonly name: "UnsupportedOperationException";
|
|
215
|
+
readonly $fault: "client";
|
|
187
216
|
Message?: string;
|
|
217
|
+
/**
|
|
218
|
+
* @internal
|
|
219
|
+
*/
|
|
220
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
|
|
188
221
|
}
|
|
189
222
|
/**
|
|
190
223
|
* <p>At least one delegate must be associated to the resource to disable automatic replies
|
|
@@ -271,35 +304,51 @@ export declare namespace CreateAliasResponse {
|
|
|
271
304
|
* <p>The email address that you're trying to assign is already created for a different
|
|
272
305
|
* user, group, or resource.</p>
|
|
273
306
|
*/
|
|
274
|
-
export
|
|
275
|
-
name: "EmailAddressInUseException";
|
|
276
|
-
$fault: "client";
|
|
307
|
+
export declare class EmailAddressInUseException extends __BaseException {
|
|
308
|
+
readonly name: "EmailAddressInUseException";
|
|
309
|
+
readonly $fault: "client";
|
|
277
310
|
Message?: string;
|
|
311
|
+
/**
|
|
312
|
+
* @internal
|
|
313
|
+
*/
|
|
314
|
+
constructor(opts: __ExceptionOptionType<EmailAddressInUseException, __BaseException>);
|
|
278
315
|
}
|
|
279
316
|
/**
|
|
280
317
|
* <p>The request exceeds the limit of the resource.</p>
|
|
281
318
|
*/
|
|
282
|
-
export
|
|
283
|
-
name: "LimitExceededException";
|
|
284
|
-
$fault: "client";
|
|
319
|
+
export declare class LimitExceededException extends __BaseException {
|
|
320
|
+
readonly name: "LimitExceededException";
|
|
321
|
+
readonly $fault: "client";
|
|
285
322
|
Message?: string;
|
|
323
|
+
/**
|
|
324
|
+
* @internal
|
|
325
|
+
*/
|
|
326
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
286
327
|
}
|
|
287
328
|
/**
|
|
288
329
|
* <p>The domain specified is not found in your organization.</p>
|
|
289
330
|
*/
|
|
290
|
-
export
|
|
291
|
-
name: "MailDomainNotFoundException";
|
|
292
|
-
$fault: "client";
|
|
331
|
+
export declare class MailDomainNotFoundException extends __BaseException {
|
|
332
|
+
readonly name: "MailDomainNotFoundException";
|
|
333
|
+
readonly $fault: "client";
|
|
293
334
|
Message?: string;
|
|
335
|
+
/**
|
|
336
|
+
* @internal
|
|
337
|
+
*/
|
|
338
|
+
constructor(opts: __ExceptionOptionType<MailDomainNotFoundException, __BaseException>);
|
|
294
339
|
}
|
|
295
340
|
/**
|
|
296
341
|
* <p>After a domain has been added to the organization, it must be verified. The domain is
|
|
297
342
|
* not yet verified.</p>
|
|
298
343
|
*/
|
|
299
|
-
export
|
|
300
|
-
name: "MailDomainStateException";
|
|
301
|
-
$fault: "client";
|
|
344
|
+
export declare class MailDomainStateException extends __BaseException {
|
|
345
|
+
readonly name: "MailDomainStateException";
|
|
346
|
+
readonly $fault: "client";
|
|
302
347
|
Message?: string;
|
|
348
|
+
/**
|
|
349
|
+
* @internal
|
|
350
|
+
*/
|
|
351
|
+
constructor(opts: __ExceptionOptionType<MailDomainStateException, __BaseException>);
|
|
303
352
|
}
|
|
304
353
|
export interface CreateGroupRequest {
|
|
305
354
|
/**
|
|
@@ -332,18 +381,26 @@ export declare namespace CreateGroupResponse {
|
|
|
332
381
|
/**
|
|
333
382
|
* <p>The user, group, or resource name isn't unique in Amazon WorkMail.</p>
|
|
334
383
|
*/
|
|
335
|
-
export
|
|
336
|
-
name: "NameAvailabilityException";
|
|
337
|
-
$fault: "client";
|
|
384
|
+
export declare class NameAvailabilityException extends __BaseException {
|
|
385
|
+
readonly name: "NameAvailabilityException";
|
|
386
|
+
readonly $fault: "client";
|
|
338
387
|
Message?: string;
|
|
388
|
+
/**
|
|
389
|
+
* @internal
|
|
390
|
+
*/
|
|
391
|
+
constructor(opts: __ExceptionOptionType<NameAvailabilityException, __BaseException>);
|
|
339
392
|
}
|
|
340
393
|
/**
|
|
341
394
|
* <p>This user, group, or resource name is not allowed in Amazon WorkMail.</p>
|
|
342
395
|
*/
|
|
343
|
-
export
|
|
344
|
-
name: "ReservedNameException";
|
|
345
|
-
$fault: "client";
|
|
396
|
+
export declare class ReservedNameException extends __BaseException {
|
|
397
|
+
readonly name: "ReservedNameException";
|
|
398
|
+
readonly $fault: "client";
|
|
346
399
|
Message?: string;
|
|
400
|
+
/**
|
|
401
|
+
* @internal
|
|
402
|
+
*/
|
|
403
|
+
constructor(opts: __ExceptionOptionType<ReservedNameException, __BaseException>);
|
|
347
404
|
}
|
|
348
405
|
export declare enum MobileDeviceAccessRuleEffect {
|
|
349
406
|
ALLOW = "ALLOW",
|
|
@@ -489,10 +546,14 @@ export declare namespace CreateOrganizationResponse {
|
|
|
489
546
|
/**
|
|
490
547
|
* <p>The directory is already in use by another WorkMail organization in the same account and Region.</p>
|
|
491
548
|
*/
|
|
492
|
-
export
|
|
493
|
-
name: "DirectoryInUseException";
|
|
494
|
-
$fault: "client";
|
|
549
|
+
export declare class DirectoryInUseException extends __BaseException {
|
|
550
|
+
readonly name: "DirectoryInUseException";
|
|
551
|
+
readonly $fault: "client";
|
|
495
552
|
Message?: string;
|
|
553
|
+
/**
|
|
554
|
+
* @internal
|
|
555
|
+
*/
|
|
556
|
+
constructor(opts: __ExceptionOptionType<DirectoryInUseException, __BaseException>);
|
|
496
557
|
}
|
|
497
558
|
export declare enum ResourceType {
|
|
498
559
|
EQUIPMENT = "EQUIPMENT",
|
|
@@ -572,10 +633,14 @@ export declare namespace CreateUserResponse {
|
|
|
572
633
|
* <p>The supplied password doesn't match the minimum security constraints, such as length
|
|
573
634
|
* or use of special characters.</p>
|
|
574
635
|
*/
|
|
575
|
-
export
|
|
576
|
-
name: "InvalidPasswordException";
|
|
577
|
-
$fault: "client";
|
|
636
|
+
export declare class InvalidPasswordException extends __BaseException {
|
|
637
|
+
readonly name: "InvalidPasswordException";
|
|
638
|
+
readonly $fault: "client";
|
|
578
639
|
Message?: string;
|
|
640
|
+
/**
|
|
641
|
+
* @internal
|
|
642
|
+
*/
|
|
643
|
+
constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
|
|
579
644
|
}
|
|
580
645
|
export declare enum MemberType {
|
|
581
646
|
GROUP = "GROUP",
|
|
@@ -956,18 +1021,26 @@ export declare namespace DeregisterMailDomainResponse {
|
|
|
956
1021
|
* <p>You SES configuration has customizations that Amazon WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to
|
|
957
1022
|
* <a href="https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html">CreateReceiptRule</a>.</p>
|
|
958
1023
|
*/
|
|
959
|
-
export
|
|
960
|
-
name: "InvalidCustomSesConfigurationException";
|
|
961
|
-
$fault: "client";
|
|
1024
|
+
export declare class InvalidCustomSesConfigurationException extends __BaseException {
|
|
1025
|
+
readonly name: "InvalidCustomSesConfigurationException";
|
|
1026
|
+
readonly $fault: "client";
|
|
962
1027
|
Message?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* @internal
|
|
1030
|
+
*/
|
|
1031
|
+
constructor(opts: __ExceptionOptionType<InvalidCustomSesConfigurationException, __BaseException>);
|
|
963
1032
|
}
|
|
964
1033
|
/**
|
|
965
1034
|
* <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>
|
|
966
1035
|
*/
|
|
967
|
-
export
|
|
968
|
-
name: "MailDomainInUseException";
|
|
969
|
-
$fault: "client";
|
|
1036
|
+
export declare class MailDomainInUseException extends __BaseException {
|
|
1037
|
+
readonly name: "MailDomainInUseException";
|
|
1038
|
+
readonly $fault: "client";
|
|
970
1039
|
Message?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* @internal
|
|
1042
|
+
*/
|
|
1043
|
+
constructor(opts: __ExceptionOptionType<MailDomainInUseException, __BaseException>);
|
|
971
1044
|
}
|
|
972
1045
|
export interface DescribeEmailMonitoringConfigurationRequest {
|
|
973
1046
|
/**
|
|
@@ -1000,10 +1073,14 @@ export declare namespace DescribeEmailMonitoringConfigurationResponse {
|
|
|
1000
1073
|
/**
|
|
1001
1074
|
* <p>The resource cannot be found.</p>
|
|
1002
1075
|
*/
|
|
1003
|
-
export
|
|
1004
|
-
name: "ResourceNotFoundException";
|
|
1005
|
-
$fault: "client";
|
|
1076
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
1077
|
+
readonly name: "ResourceNotFoundException";
|
|
1078
|
+
readonly $fault: "client";
|
|
1006
1079
|
Message?: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* @internal
|
|
1082
|
+
*/
|
|
1083
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1007
1084
|
}
|
|
1008
1085
|
export interface DescribeGroupRequest {
|
|
1009
1086
|
/**
|
|
@@ -1442,10 +1519,14 @@ export declare enum DnsRecordVerificationStatus {
|
|
|
1442
1519
|
* <p>The user, group, or resource that you're trying to register is already
|
|
1443
1520
|
* registered.</p>
|
|
1444
1521
|
*/
|
|
1445
|
-
export
|
|
1446
|
-
name: "EntityAlreadyRegisteredException";
|
|
1447
|
-
$fault: "client";
|
|
1522
|
+
export declare class EntityAlreadyRegisteredException extends __BaseException {
|
|
1523
|
+
readonly name: "EntityAlreadyRegisteredException";
|
|
1524
|
+
readonly $fault: "client";
|
|
1448
1525
|
Message?: string;
|
|
1526
|
+
/**
|
|
1527
|
+
* @internal
|
|
1528
|
+
*/
|
|
1529
|
+
constructor(opts: __ExceptionOptionType<EntityAlreadyRegisteredException, __BaseException>);
|
|
1449
1530
|
}
|
|
1450
1531
|
export declare enum RetentionAction {
|
|
1451
1532
|
DELETE = "DELETE",
|
|
@@ -1810,10 +1891,14 @@ export declare namespace Group {
|
|
|
1810
1891
|
* auto-respond to requests or have at least one delegate associated that can do so on its
|
|
1811
1892
|
* behalf.</p>
|
|
1812
1893
|
*/
|
|
1813
|
-
export
|
|
1814
|
-
name: "InvalidConfigurationException";
|
|
1815
|
-
$fault: "client";
|
|
1894
|
+
export declare class InvalidConfigurationException extends __BaseException {
|
|
1895
|
+
readonly name: "InvalidConfigurationException";
|
|
1896
|
+
readonly $fault: "client";
|
|
1816
1897
|
Message?: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* @internal
|
|
1900
|
+
*/
|
|
1901
|
+
constructor(opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>);
|
|
1817
1902
|
}
|
|
1818
1903
|
/**
|
|
1819
1904
|
* <p>The details of a mailbox export job, including the user or resource ID associated
|
|
@@ -3118,10 +3203,14 @@ export declare namespace TagResourceResponse {
|
|
|
3118
3203
|
/**
|
|
3119
3204
|
* <p>The resource can have up to 50 user-applied tags.</p>
|
|
3120
3205
|
*/
|
|
3121
|
-
export
|
|
3122
|
-
name: "TooManyTagsException";
|
|
3123
|
-
$fault: "client";
|
|
3206
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
3207
|
+
readonly name: "TooManyTagsException";
|
|
3208
|
+
readonly $fault: "client";
|
|
3124
3209
|
Message?: string;
|
|
3210
|
+
/**
|
|
3211
|
+
* @internal
|
|
3212
|
+
*/
|
|
3213
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
3125
3214
|
}
|
|
3126
3215
|
export interface UntagResourceRequest {
|
|
3127
3216
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class WorkMailServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|