@aws-sdk/client-workmail 3.721.0 → 3.723.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-cjs/index.js +539 -396
- package/dist-es/WorkMailClient.js +1 -0
- package/dist-es/models/models_0.js +66 -44
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class WorkMailClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -9,118 +9,127 @@ export const AccessEffect = {
|
|
|
9
9
|
DENY: "DENY",
|
|
10
10
|
};
|
|
11
11
|
export class EntityNotFoundException extends __BaseException {
|
|
12
|
+
name = "EntityNotFoundException";
|
|
13
|
+
$fault = "client";
|
|
14
|
+
Message;
|
|
12
15
|
constructor(opts) {
|
|
13
16
|
super({
|
|
14
17
|
name: "EntityNotFoundException",
|
|
15
18
|
$fault: "client",
|
|
16
19
|
...opts,
|
|
17
20
|
});
|
|
18
|
-
this.name = "EntityNotFoundException";
|
|
19
|
-
this.$fault = "client";
|
|
20
21
|
Object.setPrototypeOf(this, EntityNotFoundException.prototype);
|
|
21
22
|
this.Message = opts.Message;
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
export class EntityStateException extends __BaseException {
|
|
26
|
+
name = "EntityStateException";
|
|
27
|
+
$fault = "client";
|
|
28
|
+
Message;
|
|
25
29
|
constructor(opts) {
|
|
26
30
|
super({
|
|
27
31
|
name: "EntityStateException",
|
|
28
32
|
$fault: "client",
|
|
29
33
|
...opts,
|
|
30
34
|
});
|
|
31
|
-
this.name = "EntityStateException";
|
|
32
|
-
this.$fault = "client";
|
|
33
35
|
Object.setPrototypeOf(this, EntityStateException.prototype);
|
|
34
36
|
this.Message = opts.Message;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
export class InvalidParameterException extends __BaseException {
|
|
40
|
+
name = "InvalidParameterException";
|
|
41
|
+
$fault = "client";
|
|
42
|
+
Message;
|
|
38
43
|
constructor(opts) {
|
|
39
44
|
super({
|
|
40
45
|
name: "InvalidParameterException",
|
|
41
46
|
$fault: "client",
|
|
42
47
|
...opts,
|
|
43
48
|
});
|
|
44
|
-
this.name = "InvalidParameterException";
|
|
45
|
-
this.$fault = "client";
|
|
46
49
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
47
50
|
this.Message = opts.Message;
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
export class OrganizationNotFoundException extends __BaseException {
|
|
54
|
+
name = "OrganizationNotFoundException";
|
|
55
|
+
$fault = "client";
|
|
56
|
+
Message;
|
|
51
57
|
constructor(opts) {
|
|
52
58
|
super({
|
|
53
59
|
name: "OrganizationNotFoundException",
|
|
54
60
|
$fault: "client",
|
|
55
61
|
...opts,
|
|
56
62
|
});
|
|
57
|
-
this.name = "OrganizationNotFoundException";
|
|
58
|
-
this.$fault = "client";
|
|
59
63
|
Object.setPrototypeOf(this, OrganizationNotFoundException.prototype);
|
|
60
64
|
this.Message = opts.Message;
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
67
|
export class OrganizationStateException extends __BaseException {
|
|
68
|
+
name = "OrganizationStateException";
|
|
69
|
+
$fault = "client";
|
|
70
|
+
Message;
|
|
64
71
|
constructor(opts) {
|
|
65
72
|
super({
|
|
66
73
|
name: "OrganizationStateException",
|
|
67
74
|
$fault: "client",
|
|
68
75
|
...opts,
|
|
69
76
|
});
|
|
70
|
-
this.name = "OrganizationStateException";
|
|
71
|
-
this.$fault = "client";
|
|
72
77
|
Object.setPrototypeOf(this, OrganizationStateException.prototype);
|
|
73
78
|
this.Message = opts.Message;
|
|
74
79
|
}
|
|
75
80
|
}
|
|
76
81
|
export class UnsupportedOperationException extends __BaseException {
|
|
82
|
+
name = "UnsupportedOperationException";
|
|
83
|
+
$fault = "client";
|
|
84
|
+
Message;
|
|
77
85
|
constructor(opts) {
|
|
78
86
|
super({
|
|
79
87
|
name: "UnsupportedOperationException",
|
|
80
88
|
$fault: "client",
|
|
81
89
|
...opts,
|
|
82
90
|
});
|
|
83
|
-
this.name = "UnsupportedOperationException";
|
|
84
|
-
this.$fault = "client";
|
|
85
91
|
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
86
92
|
this.Message = opts.Message;
|
|
87
93
|
}
|
|
88
94
|
}
|
|
89
95
|
export class DirectoryServiceAuthenticationFailedException extends __BaseException {
|
|
96
|
+
name = "DirectoryServiceAuthenticationFailedException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
90
99
|
constructor(opts) {
|
|
91
100
|
super({
|
|
92
101
|
name: "DirectoryServiceAuthenticationFailedException",
|
|
93
102
|
$fault: "client",
|
|
94
103
|
...opts,
|
|
95
104
|
});
|
|
96
|
-
this.name = "DirectoryServiceAuthenticationFailedException";
|
|
97
|
-
this.$fault = "client";
|
|
98
105
|
Object.setPrototypeOf(this, DirectoryServiceAuthenticationFailedException.prototype);
|
|
99
106
|
this.Message = opts.Message;
|
|
100
107
|
}
|
|
101
108
|
}
|
|
102
109
|
export class DirectoryUnavailableException extends __BaseException {
|
|
110
|
+
name = "DirectoryUnavailableException";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
Message;
|
|
103
113
|
constructor(opts) {
|
|
104
114
|
super({
|
|
105
115
|
name: "DirectoryUnavailableException",
|
|
106
116
|
$fault: "client",
|
|
107
117
|
...opts,
|
|
108
118
|
});
|
|
109
|
-
this.name = "DirectoryUnavailableException";
|
|
110
|
-
this.$fault = "client";
|
|
111
119
|
Object.setPrototypeOf(this, DirectoryUnavailableException.prototype);
|
|
112
120
|
this.Message = opts.Message;
|
|
113
121
|
}
|
|
114
122
|
}
|
|
115
123
|
export class ResourceNotFoundException extends __BaseException {
|
|
124
|
+
name = "ResourceNotFoundException";
|
|
125
|
+
$fault = "client";
|
|
126
|
+
Message;
|
|
116
127
|
constructor(opts) {
|
|
117
128
|
super({
|
|
118
129
|
name: "ResourceNotFoundException",
|
|
119
130
|
$fault: "client",
|
|
120
131
|
...opts,
|
|
121
132
|
});
|
|
122
|
-
this.name = "ResourceNotFoundException";
|
|
123
|
-
this.$fault = "client";
|
|
124
133
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
125
134
|
this.Message = opts.Message;
|
|
126
135
|
}
|
|
@@ -130,79 +139,85 @@ export const AvailabilityProviderType = {
|
|
|
130
139
|
LAMBDA: "LAMBDA",
|
|
131
140
|
};
|
|
132
141
|
export class EmailAddressInUseException extends __BaseException {
|
|
142
|
+
name = "EmailAddressInUseException";
|
|
143
|
+
$fault = "client";
|
|
144
|
+
Message;
|
|
133
145
|
constructor(opts) {
|
|
134
146
|
super({
|
|
135
147
|
name: "EmailAddressInUseException",
|
|
136
148
|
$fault: "client",
|
|
137
149
|
...opts,
|
|
138
150
|
});
|
|
139
|
-
this.name = "EmailAddressInUseException";
|
|
140
|
-
this.$fault = "client";
|
|
141
151
|
Object.setPrototypeOf(this, EmailAddressInUseException.prototype);
|
|
142
152
|
this.Message = opts.Message;
|
|
143
153
|
}
|
|
144
154
|
}
|
|
145
155
|
export class LimitExceededException extends __BaseException {
|
|
156
|
+
name = "LimitExceededException";
|
|
157
|
+
$fault = "client";
|
|
158
|
+
Message;
|
|
146
159
|
constructor(opts) {
|
|
147
160
|
super({
|
|
148
161
|
name: "LimitExceededException",
|
|
149
162
|
$fault: "client",
|
|
150
163
|
...opts,
|
|
151
164
|
});
|
|
152
|
-
this.name = "LimitExceededException";
|
|
153
|
-
this.$fault = "client";
|
|
154
165
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
155
166
|
this.Message = opts.Message;
|
|
156
167
|
}
|
|
157
168
|
}
|
|
158
169
|
export class MailDomainNotFoundException extends __BaseException {
|
|
170
|
+
name = "MailDomainNotFoundException";
|
|
171
|
+
$fault = "client";
|
|
172
|
+
Message;
|
|
159
173
|
constructor(opts) {
|
|
160
174
|
super({
|
|
161
175
|
name: "MailDomainNotFoundException",
|
|
162
176
|
$fault: "client",
|
|
163
177
|
...opts,
|
|
164
178
|
});
|
|
165
|
-
this.name = "MailDomainNotFoundException";
|
|
166
|
-
this.$fault = "client";
|
|
167
179
|
Object.setPrototypeOf(this, MailDomainNotFoundException.prototype);
|
|
168
180
|
this.Message = opts.Message;
|
|
169
181
|
}
|
|
170
182
|
}
|
|
171
183
|
export class MailDomainStateException extends __BaseException {
|
|
184
|
+
name = "MailDomainStateException";
|
|
185
|
+
$fault = "client";
|
|
186
|
+
Message;
|
|
172
187
|
constructor(opts) {
|
|
173
188
|
super({
|
|
174
189
|
name: "MailDomainStateException",
|
|
175
190
|
$fault: "client",
|
|
176
191
|
...opts,
|
|
177
192
|
});
|
|
178
|
-
this.name = "MailDomainStateException";
|
|
179
|
-
this.$fault = "client";
|
|
180
193
|
Object.setPrototypeOf(this, MailDomainStateException.prototype);
|
|
181
194
|
this.Message = opts.Message;
|
|
182
195
|
}
|
|
183
196
|
}
|
|
184
197
|
export class NameAvailabilityException extends __BaseException {
|
|
198
|
+
name = "NameAvailabilityException";
|
|
199
|
+
$fault = "client";
|
|
200
|
+
Message;
|
|
185
201
|
constructor(opts) {
|
|
186
202
|
super({
|
|
187
203
|
name: "NameAvailabilityException",
|
|
188
204
|
$fault: "client",
|
|
189
205
|
...opts,
|
|
190
206
|
});
|
|
191
|
-
this.name = "NameAvailabilityException";
|
|
192
|
-
this.$fault = "client";
|
|
193
207
|
Object.setPrototypeOf(this, NameAvailabilityException.prototype);
|
|
194
208
|
this.Message = opts.Message;
|
|
195
209
|
}
|
|
196
210
|
}
|
|
197
211
|
export class ReservedNameException extends __BaseException {
|
|
212
|
+
name = "ReservedNameException";
|
|
213
|
+
$fault = "client";
|
|
214
|
+
Message;
|
|
198
215
|
constructor(opts) {
|
|
199
216
|
super({
|
|
200
217
|
name: "ReservedNameException",
|
|
201
218
|
$fault: "client",
|
|
202
219
|
...opts,
|
|
203
220
|
});
|
|
204
|
-
this.name = "ReservedNameException";
|
|
205
|
-
this.$fault = "client";
|
|
206
221
|
Object.setPrototypeOf(this, ReservedNameException.prototype);
|
|
207
222
|
this.Message = opts.Message;
|
|
208
223
|
}
|
|
@@ -216,14 +231,15 @@ export const MobileDeviceAccessRuleEffect = {
|
|
|
216
231
|
DENY: "DENY",
|
|
217
232
|
};
|
|
218
233
|
export class DirectoryInUseException extends __BaseException {
|
|
234
|
+
name = "DirectoryInUseException";
|
|
235
|
+
$fault = "client";
|
|
236
|
+
Message;
|
|
219
237
|
constructor(opts) {
|
|
220
238
|
super({
|
|
221
239
|
name: "DirectoryInUseException",
|
|
222
240
|
$fault: "client",
|
|
223
241
|
...opts,
|
|
224
242
|
});
|
|
225
|
-
this.name = "DirectoryInUseException";
|
|
226
|
-
this.$fault = "client";
|
|
227
243
|
Object.setPrototypeOf(this, DirectoryInUseException.prototype);
|
|
228
244
|
this.Message = opts.Message;
|
|
229
245
|
}
|
|
@@ -239,14 +255,15 @@ export const UserRole = {
|
|
|
239
255
|
USER: "USER",
|
|
240
256
|
};
|
|
241
257
|
export class InvalidPasswordException extends __BaseException {
|
|
258
|
+
name = "InvalidPasswordException";
|
|
259
|
+
$fault = "client";
|
|
260
|
+
Message;
|
|
242
261
|
constructor(opts) {
|
|
243
262
|
super({
|
|
244
263
|
name: "InvalidPasswordException",
|
|
245
264
|
$fault: "client",
|
|
246
265
|
...opts,
|
|
247
266
|
});
|
|
248
|
-
this.name = "InvalidPasswordException";
|
|
249
|
-
this.$fault = "client";
|
|
250
267
|
Object.setPrototypeOf(this, InvalidPasswordException.prototype);
|
|
251
268
|
this.Message = opts.Message;
|
|
252
269
|
}
|
|
@@ -256,27 +273,29 @@ export const MemberType = {
|
|
|
256
273
|
USER: "USER",
|
|
257
274
|
};
|
|
258
275
|
export class InvalidCustomSesConfigurationException extends __BaseException {
|
|
276
|
+
name = "InvalidCustomSesConfigurationException";
|
|
277
|
+
$fault = "client";
|
|
278
|
+
Message;
|
|
259
279
|
constructor(opts) {
|
|
260
280
|
super({
|
|
261
281
|
name: "InvalidCustomSesConfigurationException",
|
|
262
282
|
$fault: "client",
|
|
263
283
|
...opts,
|
|
264
284
|
});
|
|
265
|
-
this.name = "InvalidCustomSesConfigurationException";
|
|
266
|
-
this.$fault = "client";
|
|
267
285
|
Object.setPrototypeOf(this, InvalidCustomSesConfigurationException.prototype);
|
|
268
286
|
this.Message = opts.Message;
|
|
269
287
|
}
|
|
270
288
|
}
|
|
271
289
|
export class MailDomainInUseException extends __BaseException {
|
|
290
|
+
name = "MailDomainInUseException";
|
|
291
|
+
$fault = "client";
|
|
292
|
+
Message;
|
|
272
293
|
constructor(opts) {
|
|
273
294
|
super({
|
|
274
295
|
name: "MailDomainInUseException",
|
|
275
296
|
$fault: "client",
|
|
276
297
|
...opts,
|
|
277
298
|
});
|
|
278
|
-
this.name = "MailDomainInUseException";
|
|
279
|
-
this.$fault = "client";
|
|
280
299
|
Object.setPrototypeOf(this, MailDomainInUseException.prototype);
|
|
281
300
|
this.Message = opts.Message;
|
|
282
301
|
}
|
|
@@ -311,14 +330,15 @@ export const DnsRecordVerificationStatus = {
|
|
|
311
330
|
VERIFIED: "VERIFIED",
|
|
312
331
|
};
|
|
313
332
|
export class EntityAlreadyRegisteredException extends __BaseException {
|
|
333
|
+
name = "EntityAlreadyRegisteredException";
|
|
334
|
+
$fault = "client";
|
|
335
|
+
Message;
|
|
314
336
|
constructor(opts) {
|
|
315
337
|
super({
|
|
316
338
|
name: "EntityAlreadyRegisteredException",
|
|
317
339
|
$fault: "client",
|
|
318
340
|
...opts,
|
|
319
341
|
});
|
|
320
|
-
this.name = "EntityAlreadyRegisteredException";
|
|
321
|
-
this.$fault = "client";
|
|
322
342
|
Object.setPrototypeOf(this, EntityAlreadyRegisteredException.prototype);
|
|
323
343
|
this.Message = opts.Message;
|
|
324
344
|
}
|
|
@@ -336,14 +356,15 @@ export const FolderName = {
|
|
|
336
356
|
SENT_ITEMS: "SENT_ITEMS",
|
|
337
357
|
};
|
|
338
358
|
export class InvalidConfigurationException extends __BaseException {
|
|
359
|
+
name = "InvalidConfigurationException";
|
|
360
|
+
$fault = "client";
|
|
361
|
+
Message;
|
|
339
362
|
constructor(opts) {
|
|
340
363
|
super({
|
|
341
364
|
name: "InvalidConfigurationException",
|
|
342
365
|
$fault: "client",
|
|
343
366
|
...opts,
|
|
344
367
|
});
|
|
345
|
-
this.name = "InvalidConfigurationException";
|
|
346
|
-
this.$fault = "client";
|
|
347
368
|
Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
|
|
348
369
|
this.Message = opts.Message;
|
|
349
370
|
}
|
|
@@ -354,14 +375,15 @@ export const PermissionType = {
|
|
|
354
375
|
SEND_ON_BEHALF: "SEND_ON_BEHALF",
|
|
355
376
|
};
|
|
356
377
|
export class TooManyTagsException extends __BaseException {
|
|
378
|
+
name = "TooManyTagsException";
|
|
379
|
+
$fault = "client";
|
|
380
|
+
Message;
|
|
357
381
|
constructor(opts) {
|
|
358
382
|
super({
|
|
359
383
|
name: "TooManyTagsException",
|
|
360
384
|
$fault: "client",
|
|
361
385
|
...opts,
|
|
362
386
|
});
|
|
363
|
-
this.name = "TooManyTagsException";
|
|
364
|
-
this.$fault = "client";
|
|
365
387
|
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
366
388
|
this.Message = opts.Message;
|
|
367
389
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WorkMailClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WorkMailClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: WorkMailClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: WorkMailClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: WorkMailClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: WorkMailClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: WorkMailClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: WorkMailClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-workmail",
|
|
@@ -20,58 +20,58 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"@types/uuid": "^9.0.1",
|
|
62
62
|
"tslib": "^2.6.2",
|
|
63
63
|
"uuid": "^9.0.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tsconfig/
|
|
67
|
-
"@types/node": "^
|
|
66
|
+
"@tsconfig/node18": "18.2.4",
|
|
67
|
+
"@types/node": "^18.19.69",
|
|
68
68
|
"concurrently": "7.0.0",
|
|
69
69
|
"downlevel-dts": "0.10.1",
|
|
70
70
|
"rimraf": "3.0.2",
|
|
71
|
-
"typescript": "~
|
|
71
|
+
"typescript": "~5.2.2"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
|
-
"node": ">=
|
|
74
|
+
"node": ">=18.0.0"
|
|
75
75
|
},
|
|
76
76
|
"typesVersions": {
|
|
77
77
|
"<4.0": {
|