@aws-sdk/client-mailmanager 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/MailManagerClient.js +1 -0
- package/dist-cjs/models/models_0.js +37 -31
- package/dist-es/MailManagerClient.js +1 -0
- package/dist-es/models/models_0.js +18 -12
- 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
|
@@ -17,6 +17,7 @@ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
|
17
17
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
18
18
|
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
19
19
|
class MailManagerClient extends smithy_client_1.Client {
|
|
20
|
+
config;
|
|
20
21
|
constructor(...[configuration]) {
|
|
21
22
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
22
23
|
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
@@ -9,14 +9,15 @@ exports.AcceptAction = {
|
|
|
9
9
|
DENY: "DENY",
|
|
10
10
|
};
|
|
11
11
|
class AccessDeniedException extends MailManagerServiceException_1.MailManagerServiceException {
|
|
12
|
+
name = "AccessDeniedException";
|
|
13
|
+
$fault = "client";
|
|
14
|
+
Message;
|
|
12
15
|
constructor(opts) {
|
|
13
16
|
super({
|
|
14
17
|
name: "AccessDeniedException",
|
|
15
18
|
$fault: "client",
|
|
16
19
|
...opts,
|
|
17
20
|
});
|
|
18
|
-
this.name = "AccessDeniedException";
|
|
19
|
-
this.$fault = "client";
|
|
20
21
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
21
22
|
this.Message = opts.Message;
|
|
22
23
|
}
|
|
@@ -27,56 +28,60 @@ exports.ActionFailurePolicy = {
|
|
|
27
28
|
DROP: "DROP",
|
|
28
29
|
};
|
|
29
30
|
class ConflictException extends MailManagerServiceException_1.MailManagerServiceException {
|
|
31
|
+
name = "ConflictException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
30
34
|
constructor(opts) {
|
|
31
35
|
super({
|
|
32
36
|
name: "ConflictException",
|
|
33
37
|
$fault: "client",
|
|
34
38
|
...opts,
|
|
35
39
|
});
|
|
36
|
-
this.name = "ConflictException";
|
|
37
|
-
this.$fault = "client";
|
|
38
40
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
39
41
|
this.Message = opts.Message;
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
44
|
exports.ConflictException = ConflictException;
|
|
43
45
|
class ResourceNotFoundException extends MailManagerServiceException_1.MailManagerServiceException {
|
|
46
|
+
name = "ResourceNotFoundException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
Message;
|
|
44
49
|
constructor(opts) {
|
|
45
50
|
super({
|
|
46
51
|
name: "ResourceNotFoundException",
|
|
47
52
|
$fault: "client",
|
|
48
53
|
...opts,
|
|
49
54
|
});
|
|
50
|
-
this.name = "ResourceNotFoundException";
|
|
51
|
-
this.$fault = "client";
|
|
52
55
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
53
56
|
this.Message = opts.Message;
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
57
60
|
class ServiceQuotaExceededException extends MailManagerServiceException_1.MailManagerServiceException {
|
|
61
|
+
name = "ServiceQuotaExceededException";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
Message;
|
|
58
64
|
constructor(opts) {
|
|
59
65
|
super({
|
|
60
66
|
name: "ServiceQuotaExceededException",
|
|
61
67
|
$fault: "client",
|
|
62
68
|
...opts,
|
|
63
69
|
});
|
|
64
|
-
this.name = "ServiceQuotaExceededException";
|
|
65
|
-
this.$fault = "client";
|
|
66
70
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
67
71
|
this.Message = opts.Message;
|
|
68
72
|
}
|
|
69
73
|
}
|
|
70
74
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
71
75
|
class ValidationException extends MailManagerServiceException_1.MailManagerServiceException {
|
|
76
|
+
name = "ValidationException";
|
|
77
|
+
$fault = "client";
|
|
78
|
+
Message;
|
|
72
79
|
constructor(opts) {
|
|
73
80
|
super({
|
|
74
81
|
name: "ValidationException",
|
|
75
82
|
$fault: "client",
|
|
76
83
|
...opts,
|
|
77
84
|
});
|
|
78
|
-
this.name = "ValidationException";
|
|
79
|
-
this.$fault = "client";
|
|
80
85
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
81
86
|
this.Message = opts.Message;
|
|
82
87
|
}
|
|
@@ -96,7 +101,7 @@ var ArchiveBooleanToEvaluate;
|
|
|
96
101
|
return visitor.Attribute(value.Attribute);
|
|
97
102
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
98
103
|
};
|
|
99
|
-
})(ArchiveBooleanToEvaluate
|
|
104
|
+
})(ArchiveBooleanToEvaluate || (exports.ArchiveBooleanToEvaluate = ArchiveBooleanToEvaluate = {}));
|
|
100
105
|
exports.ArchiveBooleanOperator = {
|
|
101
106
|
IS_FALSE: "IS_FALSE",
|
|
102
107
|
IS_TRUE: "IS_TRUE",
|
|
@@ -116,7 +121,7 @@ var ArchiveStringToEvaluate;
|
|
|
116
121
|
return visitor.Attribute(value.Attribute);
|
|
117
122
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
118
123
|
};
|
|
119
|
-
})(ArchiveStringToEvaluate
|
|
124
|
+
})(ArchiveStringToEvaluate || (exports.ArchiveStringToEvaluate = ArchiveStringToEvaluate = {}));
|
|
120
125
|
exports.ArchiveStringOperator = {
|
|
121
126
|
CONTAINS: "CONTAINS",
|
|
122
127
|
};
|
|
@@ -129,7 +134,7 @@ var ArchiveFilterCondition;
|
|
|
129
134
|
return visitor.BooleanExpression(value.BooleanExpression);
|
|
130
135
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
131
136
|
};
|
|
132
|
-
})(ArchiveFilterCondition
|
|
137
|
+
})(ArchiveFilterCondition || (exports.ArchiveFilterCondition = ArchiveFilterCondition = {}));
|
|
133
138
|
exports.RetentionPeriod = {
|
|
134
139
|
EIGHTEEN_MONTHS: "EIGHTEEN_MONTHS",
|
|
135
140
|
EIGHT_YEARS: "EIGHT_YEARS",
|
|
@@ -155,16 +160,17 @@ var ArchiveRetention;
|
|
|
155
160
|
return visitor.RetentionPeriod(value.RetentionPeriod);
|
|
156
161
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
157
162
|
};
|
|
158
|
-
})(ArchiveRetention
|
|
163
|
+
})(ArchiveRetention || (exports.ArchiveRetention = ArchiveRetention = {}));
|
|
159
164
|
class ThrottlingException extends MailManagerServiceException_1.MailManagerServiceException {
|
|
165
|
+
name = "ThrottlingException";
|
|
166
|
+
$fault = "client";
|
|
167
|
+
Message;
|
|
160
168
|
constructor(opts) {
|
|
161
169
|
super({
|
|
162
170
|
name: "ThrottlingException",
|
|
163
171
|
$fault: "client",
|
|
164
172
|
...opts,
|
|
165
173
|
});
|
|
166
|
-
this.name = "ThrottlingException";
|
|
167
|
-
this.$fault = "client";
|
|
168
174
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
169
175
|
this.Message = opts.Message;
|
|
170
176
|
}
|
|
@@ -179,7 +185,7 @@ var IngressPointConfiguration;
|
|
|
179
185
|
return visitor.SecretArn(value.SecretArn);
|
|
180
186
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
181
187
|
};
|
|
182
|
-
})(IngressPointConfiguration
|
|
188
|
+
})(IngressPointConfiguration || (exports.IngressPointConfiguration = IngressPointConfiguration = {}));
|
|
183
189
|
exports.IngressPointType = {
|
|
184
190
|
AUTH: "AUTH",
|
|
185
191
|
OPEN: "OPEN",
|
|
@@ -193,7 +199,7 @@ var RelayAuthentication;
|
|
|
193
199
|
return visitor.NoAuthentication(value.NoAuthentication);
|
|
194
200
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
195
201
|
};
|
|
196
|
-
})(RelayAuthentication
|
|
202
|
+
})(RelayAuthentication || (exports.RelayAuthentication = RelayAuthentication = {}));
|
|
197
203
|
exports.MailFrom = {
|
|
198
204
|
PRESERVE: "PRESERVE",
|
|
199
205
|
REPLACE: "REPLACE",
|
|
@@ -221,7 +227,7 @@ var RuleAction;
|
|
|
221
227
|
return visitor.DeliverToQBusiness(value.DeliverToQBusiness);
|
|
222
228
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
223
229
|
};
|
|
224
|
-
})(RuleAction
|
|
230
|
+
})(RuleAction || (exports.RuleAction = RuleAction = {}));
|
|
225
231
|
exports.RuleBooleanEmailAttribute = {
|
|
226
232
|
READ_RECEIPT_REQUESTED: "READ_RECEIPT_REQUESTED",
|
|
227
233
|
TLS: "TLS",
|
|
@@ -234,7 +240,7 @@ var RuleBooleanToEvaluate;
|
|
|
234
240
|
return visitor.Attribute(value.Attribute);
|
|
235
241
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
236
242
|
};
|
|
237
|
-
})(RuleBooleanToEvaluate
|
|
243
|
+
})(RuleBooleanToEvaluate || (exports.RuleBooleanToEvaluate = RuleBooleanToEvaluate = {}));
|
|
238
244
|
exports.RuleBooleanOperator = {
|
|
239
245
|
IS_FALSE: "IS_FALSE",
|
|
240
246
|
IS_TRUE: "IS_TRUE",
|
|
@@ -258,7 +264,7 @@ var RuleIpToEvaluate;
|
|
|
258
264
|
return visitor.Attribute(value.Attribute);
|
|
259
265
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
260
266
|
};
|
|
261
|
-
})(RuleIpToEvaluate
|
|
267
|
+
})(RuleIpToEvaluate || (exports.RuleIpToEvaluate = RuleIpToEvaluate = {}));
|
|
262
268
|
exports.RuleIpOperator = {
|
|
263
269
|
CIDR_MATCHES: "CIDR_MATCHES",
|
|
264
270
|
NOT_CIDR_MATCHES: "NOT_CIDR_MATCHES",
|
|
@@ -273,7 +279,7 @@ var RuleNumberToEvaluate;
|
|
|
273
279
|
return visitor.Attribute(value.Attribute);
|
|
274
280
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
275
281
|
};
|
|
276
|
-
})(RuleNumberToEvaluate
|
|
282
|
+
})(RuleNumberToEvaluate || (exports.RuleNumberToEvaluate = RuleNumberToEvaluate = {}));
|
|
277
283
|
exports.RuleNumberOperator = {
|
|
278
284
|
EQUALS: "EQUALS",
|
|
279
285
|
GREATER_THAN: "GREATER_THAN",
|
|
@@ -301,7 +307,7 @@ var RuleStringToEvaluate;
|
|
|
301
307
|
return visitor.MimeHeaderAttribute(value.MimeHeaderAttribute);
|
|
302
308
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
303
309
|
};
|
|
304
|
-
})(RuleStringToEvaluate
|
|
310
|
+
})(RuleStringToEvaluate || (exports.RuleStringToEvaluate = RuleStringToEvaluate = {}));
|
|
305
311
|
exports.RuleStringOperator = {
|
|
306
312
|
CONTAINS: "CONTAINS",
|
|
307
313
|
ENDS_WITH: "ENDS_WITH",
|
|
@@ -322,7 +328,7 @@ var RuleVerdictToEvaluate;
|
|
|
322
328
|
return visitor.Analysis(value.Analysis);
|
|
323
329
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
324
330
|
};
|
|
325
|
-
})(RuleVerdictToEvaluate
|
|
331
|
+
})(RuleVerdictToEvaluate || (exports.RuleVerdictToEvaluate = RuleVerdictToEvaluate = {}));
|
|
326
332
|
exports.RuleVerdictOperator = {
|
|
327
333
|
EQUALS: "EQUALS",
|
|
328
334
|
NOT_EQUALS: "NOT_EQUALS",
|
|
@@ -350,7 +356,7 @@ var RuleCondition;
|
|
|
350
356
|
return visitor.DmarcExpression(value.DmarcExpression);
|
|
351
357
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
352
358
|
};
|
|
353
|
-
})(RuleCondition
|
|
359
|
+
})(RuleCondition || (exports.RuleCondition = RuleCondition = {}));
|
|
354
360
|
var IngressBooleanToEvaluate;
|
|
355
361
|
(function (IngressBooleanToEvaluate) {
|
|
356
362
|
IngressBooleanToEvaluate.visit = (value, visitor) => {
|
|
@@ -358,7 +364,7 @@ var IngressBooleanToEvaluate;
|
|
|
358
364
|
return visitor.Analysis(value.Analysis);
|
|
359
365
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
360
366
|
};
|
|
361
|
-
})(IngressBooleanToEvaluate
|
|
367
|
+
})(IngressBooleanToEvaluate || (exports.IngressBooleanToEvaluate = IngressBooleanToEvaluate = {}));
|
|
362
368
|
exports.IngressBooleanOperator = {
|
|
363
369
|
IS_FALSE: "IS_FALSE",
|
|
364
370
|
IS_TRUE: "IS_TRUE",
|
|
@@ -373,7 +379,7 @@ var IngressIpToEvaluate;
|
|
|
373
379
|
return visitor.Attribute(value.Attribute);
|
|
374
380
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
375
381
|
};
|
|
376
|
-
})(IngressIpToEvaluate
|
|
382
|
+
})(IngressIpToEvaluate || (exports.IngressIpToEvaluate = IngressIpToEvaluate = {}));
|
|
377
383
|
exports.IngressIpOperator = {
|
|
378
384
|
CIDR_MATCHES: "CIDR_MATCHES",
|
|
379
385
|
NOT_CIDR_MATCHES: "NOT_CIDR_MATCHES",
|
|
@@ -388,7 +394,7 @@ var IngressStringToEvaluate;
|
|
|
388
394
|
return visitor.Attribute(value.Attribute);
|
|
389
395
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
390
396
|
};
|
|
391
|
-
})(IngressStringToEvaluate
|
|
397
|
+
})(IngressStringToEvaluate || (exports.IngressStringToEvaluate = IngressStringToEvaluate = {}));
|
|
392
398
|
exports.IngressStringOperator = {
|
|
393
399
|
CONTAINS: "CONTAINS",
|
|
394
400
|
ENDS_WITH: "ENDS_WITH",
|
|
@@ -406,7 +412,7 @@ var IngressTlsProtocolToEvaluate;
|
|
|
406
412
|
return visitor.Attribute(value.Attribute);
|
|
407
413
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
408
414
|
};
|
|
409
|
-
})(IngressTlsProtocolToEvaluate
|
|
415
|
+
})(IngressTlsProtocolToEvaluate || (exports.IngressTlsProtocolToEvaluate = IngressTlsProtocolToEvaluate = {}));
|
|
410
416
|
exports.IngressTlsProtocolOperator = {
|
|
411
417
|
IS: "IS",
|
|
412
418
|
MINIMUM_TLS_VERSION: "MINIMUM_TLS_VERSION",
|
|
@@ -428,7 +434,7 @@ var PolicyCondition;
|
|
|
428
434
|
return visitor.BooleanExpression(value.BooleanExpression);
|
|
429
435
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
430
436
|
};
|
|
431
|
-
})(PolicyCondition
|
|
437
|
+
})(PolicyCondition || (exports.PolicyCondition = PolicyCondition = {}));
|
|
432
438
|
var ExportDestinationConfiguration;
|
|
433
439
|
(function (ExportDestinationConfiguration) {
|
|
434
440
|
ExportDestinationConfiguration.visit = (value, visitor) => {
|
|
@@ -436,7 +442,7 @@ var ExportDestinationConfiguration;
|
|
|
436
442
|
return visitor.S3(value.S3);
|
|
437
443
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
438
444
|
};
|
|
439
|
-
})(ExportDestinationConfiguration
|
|
445
|
+
})(ExportDestinationConfiguration || (exports.ExportDestinationConfiguration = ExportDestinationConfiguration = {}));
|
|
440
446
|
exports.ExportState = {
|
|
441
447
|
CANCELLED: "CANCELLED",
|
|
442
448
|
COMPLETED: "COMPLETED",
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class MailManagerClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -5,14 +5,15 @@ export const AcceptAction = {
|
|
|
5
5
|
DENY: "DENY",
|
|
6
6
|
};
|
|
7
7
|
export class AccessDeniedException extends __BaseException {
|
|
8
|
+
name = "AccessDeniedException";
|
|
9
|
+
$fault = "client";
|
|
10
|
+
Message;
|
|
8
11
|
constructor(opts) {
|
|
9
12
|
super({
|
|
10
13
|
name: "AccessDeniedException",
|
|
11
14
|
$fault: "client",
|
|
12
15
|
...opts,
|
|
13
16
|
});
|
|
14
|
-
this.name = "AccessDeniedException";
|
|
15
|
-
this.$fault = "client";
|
|
16
17
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
18
|
this.Message = opts.Message;
|
|
18
19
|
}
|
|
@@ -22,53 +23,57 @@ export const ActionFailurePolicy = {
|
|
|
22
23
|
DROP: "DROP",
|
|
23
24
|
};
|
|
24
25
|
export class ConflictException extends __BaseException {
|
|
26
|
+
name = "ConflictException";
|
|
27
|
+
$fault = "client";
|
|
28
|
+
Message;
|
|
25
29
|
constructor(opts) {
|
|
26
30
|
super({
|
|
27
31
|
name: "ConflictException",
|
|
28
32
|
$fault: "client",
|
|
29
33
|
...opts,
|
|
30
34
|
});
|
|
31
|
-
this.name = "ConflictException";
|
|
32
|
-
this.$fault = "client";
|
|
33
35
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
34
36
|
this.Message = opts.Message;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
export class ResourceNotFoundException extends __BaseException {
|
|
40
|
+
name = "ResourceNotFoundException";
|
|
41
|
+
$fault = "client";
|
|
42
|
+
Message;
|
|
38
43
|
constructor(opts) {
|
|
39
44
|
super({
|
|
40
45
|
name: "ResourceNotFoundException",
|
|
41
46
|
$fault: "client",
|
|
42
47
|
...opts,
|
|
43
48
|
});
|
|
44
|
-
this.name = "ResourceNotFoundException";
|
|
45
|
-
this.$fault = "client";
|
|
46
49
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
47
50
|
this.Message = opts.Message;
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
54
|
+
name = "ServiceQuotaExceededException";
|
|
55
|
+
$fault = "client";
|
|
56
|
+
Message;
|
|
51
57
|
constructor(opts) {
|
|
52
58
|
super({
|
|
53
59
|
name: "ServiceQuotaExceededException",
|
|
54
60
|
$fault: "client",
|
|
55
61
|
...opts,
|
|
56
62
|
});
|
|
57
|
-
this.name = "ServiceQuotaExceededException";
|
|
58
|
-
this.$fault = "client";
|
|
59
63
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
60
64
|
this.Message = opts.Message;
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
67
|
export class ValidationException extends __BaseException {
|
|
68
|
+
name = "ValidationException";
|
|
69
|
+
$fault = "client";
|
|
70
|
+
Message;
|
|
64
71
|
constructor(opts) {
|
|
65
72
|
super({
|
|
66
73
|
name: "ValidationException",
|
|
67
74
|
$fault: "client",
|
|
68
75
|
...opts,
|
|
69
76
|
});
|
|
70
|
-
this.name = "ValidationException";
|
|
71
|
-
this.$fault = "client";
|
|
72
77
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
73
78
|
this.Message = opts.Message;
|
|
74
79
|
}
|
|
@@ -148,14 +153,15 @@ export var ArchiveRetention;
|
|
|
148
153
|
};
|
|
149
154
|
})(ArchiveRetention || (ArchiveRetention = {}));
|
|
150
155
|
export class ThrottlingException extends __BaseException {
|
|
156
|
+
name = "ThrottlingException";
|
|
157
|
+
$fault = "client";
|
|
158
|
+
Message;
|
|
151
159
|
constructor(opts) {
|
|
152
160
|
super({
|
|
153
161
|
name: "ThrottlingException",
|
|
154
162
|
$fault: "client",
|
|
155
163
|
...opts,
|
|
156
164
|
});
|
|
157
|
-
this.name = "ThrottlingException";
|
|
158
|
-
this.$fault = "client";
|
|
159
165
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
160
166
|
this.Message = opts.Message;
|
|
161
167
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MailManagerClientConfig) => {
|
|
|
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: MailManagerClientConfig) => {
|
|
|
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: MailManagerClientConfig) => {
|
|
|
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: MailManagerClientConfig) => {
|
|
|
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: MailManagerClientConfig) => {
|
|
|
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: MailManagerClientConfig) => {
|
|
|
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: MailManagerClientConfig) => {
|
|
|
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: MailManagerClientConfig) => {
|
|
|
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-mailmanager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mailmanager 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": "tsc -p tsconfig.cjs.json",
|
|
@@ -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": {
|