@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.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
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"
@@ -51,34 +52,44 @@ export declare namespace AssociateDelegateToResourceResponse {
51
52
  const filterSensitiveLog: (obj: AssociateDelegateToResourceResponse) => any;
52
53
  }
53
54
 
54
- export interface EntityNotFoundException extends __SmithyException, $MetadataBearer {
55
- name: "EntityNotFoundException";
56
- $fault: "client";
55
+ export declare class EntityNotFoundException extends __BaseException {
56
+ readonly name: "EntityNotFoundException";
57
+ readonly $fault: "client";
57
58
  Message?: string;
59
+
60
+ constructor(opts: __ExceptionOptionType<EntityNotFoundException, __BaseException>);
58
61
  }
59
62
 
60
- export interface EntityStateException extends __SmithyException, $MetadataBearer {
61
- name: "EntityStateException";
62
- $fault: "client";
63
+ export declare class EntityStateException extends __BaseException {
64
+ readonly name: "EntityStateException";
65
+ readonly $fault: "client";
63
66
  Message?: string;
67
+
68
+ constructor(opts: __ExceptionOptionType<EntityStateException, __BaseException>);
64
69
  }
65
70
 
66
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
67
- name: "InvalidParameterException";
68
- $fault: "client";
71
+ export declare class InvalidParameterException extends __BaseException {
72
+ readonly name: "InvalidParameterException";
73
+ readonly $fault: "client";
69
74
  Message?: string;
75
+
76
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
70
77
  }
71
78
 
72
- export interface OrganizationNotFoundException extends __SmithyException, $MetadataBearer {
73
- name: "OrganizationNotFoundException";
74
- $fault: "client";
79
+ export declare class OrganizationNotFoundException extends __BaseException {
80
+ readonly name: "OrganizationNotFoundException";
81
+ readonly $fault: "client";
75
82
  Message?: string;
83
+
84
+ constructor(opts: __ExceptionOptionType<OrganizationNotFoundException, __BaseException>);
76
85
  }
77
86
 
78
- export interface OrganizationStateException extends __SmithyException, $MetadataBearer {
79
- name: "OrganizationStateException";
80
- $fault: "client";
87
+ export declare class OrganizationStateException extends __BaseException {
88
+ readonly name: "OrganizationStateException";
89
+ readonly $fault: "client";
81
90
  Message?: string;
91
+
92
+ constructor(opts: __ExceptionOptionType<OrganizationStateException, __BaseException>);
82
93
  }
83
94
  export interface AssociateMemberToGroupRequest {
84
95
 
@@ -99,22 +110,28 @@ export declare namespace AssociateMemberToGroupResponse {
99
110
  const filterSensitiveLog: (obj: AssociateMemberToGroupResponse) => any;
100
111
  }
101
112
 
102
- export interface DirectoryServiceAuthenticationFailedException extends __SmithyException, $MetadataBearer {
103
- name: "DirectoryServiceAuthenticationFailedException";
104
- $fault: "client";
113
+ export declare class DirectoryServiceAuthenticationFailedException extends __BaseException {
114
+ readonly name: "DirectoryServiceAuthenticationFailedException";
115
+ readonly $fault: "client";
105
116
  Message?: string;
117
+
118
+ constructor(opts: __ExceptionOptionType<DirectoryServiceAuthenticationFailedException, __BaseException>);
106
119
  }
107
120
 
108
- export interface DirectoryUnavailableException extends __SmithyException, $MetadataBearer {
109
- name: "DirectoryUnavailableException";
110
- $fault: "client";
121
+ export declare class DirectoryUnavailableException extends __BaseException {
122
+ readonly name: "DirectoryUnavailableException";
123
+ readonly $fault: "client";
111
124
  Message?: string;
125
+
126
+ constructor(opts: __ExceptionOptionType<DirectoryUnavailableException, __BaseException>);
112
127
  }
113
128
 
114
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
115
- name: "UnsupportedOperationException";
116
- $fault: "client";
129
+ export declare class UnsupportedOperationException extends __BaseException {
130
+ readonly name: "UnsupportedOperationException";
131
+ readonly $fault: "client";
117
132
  Message?: string;
133
+
134
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
118
135
  }
119
136
 
120
137
  export interface BookingOptions {
@@ -166,28 +183,36 @@ export declare namespace CreateAliasResponse {
166
183
  const filterSensitiveLog: (obj: CreateAliasResponse) => any;
167
184
  }
168
185
 
169
- export interface EmailAddressInUseException extends __SmithyException, $MetadataBearer {
170
- name: "EmailAddressInUseException";
171
- $fault: "client";
186
+ export declare class EmailAddressInUseException extends __BaseException {
187
+ readonly name: "EmailAddressInUseException";
188
+ readonly $fault: "client";
172
189
  Message?: string;
190
+
191
+ constructor(opts: __ExceptionOptionType<EmailAddressInUseException, __BaseException>);
173
192
  }
174
193
 
175
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
176
- name: "LimitExceededException";
177
- $fault: "client";
194
+ export declare class LimitExceededException extends __BaseException {
195
+ readonly name: "LimitExceededException";
196
+ readonly $fault: "client";
178
197
  Message?: string;
198
+
199
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
179
200
  }
180
201
 
181
- export interface MailDomainNotFoundException extends __SmithyException, $MetadataBearer {
182
- name: "MailDomainNotFoundException";
183
- $fault: "client";
202
+ export declare class MailDomainNotFoundException extends __BaseException {
203
+ readonly name: "MailDomainNotFoundException";
204
+ readonly $fault: "client";
184
205
  Message?: string;
206
+
207
+ constructor(opts: __ExceptionOptionType<MailDomainNotFoundException, __BaseException>);
185
208
  }
186
209
 
187
- export interface MailDomainStateException extends __SmithyException, $MetadataBearer {
188
- name: "MailDomainStateException";
189
- $fault: "client";
210
+ export declare class MailDomainStateException extends __BaseException {
211
+ readonly name: "MailDomainStateException";
212
+ readonly $fault: "client";
190
213
  Message?: string;
214
+
215
+ constructor(opts: __ExceptionOptionType<MailDomainStateException, __BaseException>);
191
216
  }
192
217
  export interface CreateGroupRequest {
193
218
 
@@ -208,16 +233,20 @@ export declare namespace CreateGroupResponse {
208
233
  const filterSensitiveLog: (obj: CreateGroupResponse) => any;
209
234
  }
210
235
 
211
- export interface NameAvailabilityException extends __SmithyException, $MetadataBearer {
212
- name: "NameAvailabilityException";
213
- $fault: "client";
236
+ export declare class NameAvailabilityException extends __BaseException {
237
+ readonly name: "NameAvailabilityException";
238
+ readonly $fault: "client";
214
239
  Message?: string;
240
+
241
+ constructor(opts: __ExceptionOptionType<NameAvailabilityException, __BaseException>);
215
242
  }
216
243
 
217
- export interface ReservedNameException extends __SmithyException, $MetadataBearer {
218
- name: "ReservedNameException";
219
- $fault: "client";
244
+ export declare class ReservedNameException extends __BaseException {
245
+ readonly name: "ReservedNameException";
246
+ readonly $fault: "client";
220
247
  Message?: string;
248
+
249
+ constructor(opts: __ExceptionOptionType<ReservedNameException, __BaseException>);
221
250
  }
222
251
  export declare enum MobileDeviceAccessRuleEffect {
223
252
  ALLOW = "ALLOW",
@@ -301,10 +330,12 @@ export declare namespace CreateOrganizationResponse {
301
330
  const filterSensitiveLog: (obj: CreateOrganizationResponse) => any;
302
331
  }
303
332
 
304
- export interface DirectoryInUseException extends __SmithyException, $MetadataBearer {
305
- name: "DirectoryInUseException";
306
- $fault: "client";
333
+ export declare class DirectoryInUseException extends __BaseException {
334
+ readonly name: "DirectoryInUseException";
335
+ readonly $fault: "client";
307
336
  Message?: string;
337
+
338
+ constructor(opts: __ExceptionOptionType<DirectoryInUseException, __BaseException>);
308
339
  }
309
340
  export declare enum ResourceType {
310
341
  EQUIPMENT = "EQUIPMENT",
@@ -353,10 +384,12 @@ export declare namespace CreateUserResponse {
353
384
  const filterSensitiveLog: (obj: CreateUserResponse) => any;
354
385
  }
355
386
 
356
- export interface InvalidPasswordException extends __SmithyException, $MetadataBearer {
357
- name: "InvalidPasswordException";
358
- $fault: "client";
387
+ export declare class InvalidPasswordException extends __BaseException {
388
+ readonly name: "InvalidPasswordException";
389
+ readonly $fault: "client";
359
390
  Message?: string;
391
+
392
+ constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
360
393
  }
361
394
  export declare enum MemberType {
362
395
  GROUP = "GROUP",
@@ -592,16 +625,20 @@ export declare namespace DeregisterMailDomainResponse {
592
625
  const filterSensitiveLog: (obj: DeregisterMailDomainResponse) => any;
593
626
  }
594
627
 
595
- export interface InvalidCustomSesConfigurationException extends __SmithyException, $MetadataBearer {
596
- name: "InvalidCustomSesConfigurationException";
597
- $fault: "client";
628
+ export declare class InvalidCustomSesConfigurationException extends __BaseException {
629
+ readonly name: "InvalidCustomSesConfigurationException";
630
+ readonly $fault: "client";
598
631
  Message?: string;
632
+
633
+ constructor(opts: __ExceptionOptionType<InvalidCustomSesConfigurationException, __BaseException>);
599
634
  }
600
635
 
601
- export interface MailDomainInUseException extends __SmithyException, $MetadataBearer {
602
- name: "MailDomainInUseException";
603
- $fault: "client";
636
+ export declare class MailDomainInUseException extends __BaseException {
637
+ readonly name: "MailDomainInUseException";
638
+ readonly $fault: "client";
604
639
  Message?: string;
640
+
641
+ constructor(opts: __ExceptionOptionType<MailDomainInUseException, __BaseException>);
605
642
  }
606
643
  export interface DescribeEmailMonitoringConfigurationRequest {
607
644
 
@@ -622,10 +659,12 @@ export declare namespace DescribeEmailMonitoringConfigurationResponse {
622
659
  const filterSensitiveLog: (obj: DescribeEmailMonitoringConfigurationResponse) => any;
623
660
  }
624
661
 
625
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
626
- name: "ResourceNotFoundException";
627
- $fault: "client";
662
+ export declare class ResourceNotFoundException extends __BaseException {
663
+ readonly name: "ResourceNotFoundException";
664
+ readonly $fault: "client";
628
665
  Message?: string;
666
+
667
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
629
668
  }
630
669
  export interface DescribeGroupRequest {
631
670
 
@@ -878,10 +917,12 @@ export declare enum DnsRecordVerificationStatus {
878
917
  VERIFIED = "VERIFIED"
879
918
  }
880
919
 
881
- export interface EntityAlreadyRegisteredException extends __SmithyException, $MetadataBearer {
882
- name: "EntityAlreadyRegisteredException";
883
- $fault: "client";
920
+ export declare class EntityAlreadyRegisteredException extends __BaseException {
921
+ readonly name: "EntityAlreadyRegisteredException";
922
+ readonly $fault: "client";
884
923
  Message?: string;
924
+
925
+ constructor(opts: __ExceptionOptionType<EntityAlreadyRegisteredException, __BaseException>);
885
926
  }
886
927
  export declare enum RetentionAction {
887
928
  DELETE = "DELETE",
@@ -1087,10 +1128,12 @@ export declare namespace Group {
1087
1128
  const filterSensitiveLog: (obj: Group) => any;
1088
1129
  }
1089
1130
 
1090
- export interface InvalidConfigurationException extends __SmithyException, $MetadataBearer {
1091
- name: "InvalidConfigurationException";
1092
- $fault: "client";
1131
+ export declare class InvalidConfigurationException extends __BaseException {
1132
+ readonly name: "InvalidConfigurationException";
1133
+ readonly $fault: "client";
1093
1134
  Message?: string;
1135
+
1136
+ constructor(opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>);
1094
1137
  }
1095
1138
 
1096
1139
  export interface MailboxExportJob {
@@ -1822,10 +1865,12 @@ export declare namespace TagResourceResponse {
1822
1865
  const filterSensitiveLog: (obj: TagResourceResponse) => any;
1823
1866
  }
1824
1867
 
1825
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
1826
- name: "TooManyTagsException";
1827
- $fault: "client";
1868
+ export declare class TooManyTagsException extends __BaseException {
1869
+ readonly name: "TooManyTagsException";
1870
+ readonly $fault: "client";
1828
1871
  Message?: string;
1872
+
1873
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1829
1874
  }
1830
1875
  export interface UntagResourceRequest {
1831
1876
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workmail",
3
3
  "description": "AWS SDK for JavaScript Workmail Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0",