@aws-sdk/client-ses 3.986.0 → 3.988.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 +90 -2645
- package/dist-cjs/models/SESServiceException.js +12 -0
- package/dist-cjs/models/errors.js +504 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1812 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +226 -220
- package/dist-types/schemas/schemas_0.d.ts +41 -34
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -34
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SESServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class SESServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, SESServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SESServiceException = SESServiceException;
|
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProductionAccessNotGrantedException = exports.MissingRenderingAttributeException = exports.MessageRejected = exports.MailFromDomainNotVerifiedException = exports.InvalidRenderingParameterException = exports.InvalidPolicyException = exports.InvalidDeliveryOptionsException = exports.TemplateDoesNotExistException = exports.TrackingOptionsDoesNotExistException = exports.EventDestinationDoesNotExistException = exports.CustomVerificationEmailTemplateDoesNotExistException = exports.InvalidTemplateException = exports.RuleDoesNotExistException = exports.InvalidSnsTopicException = exports.InvalidS3ConfigurationException = exports.InvalidLambdaFunctionException = exports.FromEmailAddressNotVerifiedException = exports.CustomVerificationEmailTemplateAlreadyExistsException = exports.CustomVerificationEmailInvalidContentException = exports.TrackingOptionsAlreadyExistsException = exports.InvalidTrackingOptionsException = exports.InvalidSNSDestinationException = exports.InvalidFirehoseDestinationException = exports.InvalidCloudWatchDestinationException = exports.EventDestinationAlreadyExistsException = exports.InvalidConfigurationSetException = exports.ConfigurationSetSendingPausedException = exports.ConfigurationSetDoesNotExistException = exports.ConfigurationSetAlreadyExistsException = exports.RuleSetDoesNotExistException = exports.LimitExceededException = exports.CannotDeleteException = exports.AlreadyExistsException = exports.AccountSendingPausedException = void 0;
|
|
4
|
+
const SESServiceException_1 = require("./SESServiceException");
|
|
5
|
+
class AccountSendingPausedException extends SESServiceException_1.SESServiceException {
|
|
6
|
+
name = "AccountSendingPausedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccountSendingPausedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccountSendingPausedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccountSendingPausedException = AccountSendingPausedException;
|
|
18
|
+
class AlreadyExistsException extends SESServiceException_1.SESServiceException {
|
|
19
|
+
name = "AlreadyExistsException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Name;
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "AlreadyExistsException",
|
|
25
|
+
$fault: "client",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
29
|
+
this.Name = opts.Name;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.AlreadyExistsException = AlreadyExistsException;
|
|
33
|
+
class CannotDeleteException extends SESServiceException_1.SESServiceException {
|
|
34
|
+
name = "CannotDeleteException";
|
|
35
|
+
$fault = "client";
|
|
36
|
+
Name;
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "CannotDeleteException",
|
|
40
|
+
$fault: "client",
|
|
41
|
+
...opts,
|
|
42
|
+
});
|
|
43
|
+
Object.setPrototypeOf(this, CannotDeleteException.prototype);
|
|
44
|
+
this.Name = opts.Name;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.CannotDeleteException = CannotDeleteException;
|
|
48
|
+
class LimitExceededException extends SESServiceException_1.SESServiceException {
|
|
49
|
+
name = "LimitExceededException";
|
|
50
|
+
$fault = "client";
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "LimitExceededException",
|
|
54
|
+
$fault: "client",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.LimitExceededException = LimitExceededException;
|
|
61
|
+
class RuleSetDoesNotExistException extends SESServiceException_1.SESServiceException {
|
|
62
|
+
name = "RuleSetDoesNotExistException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
Name;
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "RuleSetDoesNotExistException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, RuleSetDoesNotExistException.prototype);
|
|
72
|
+
this.Name = opts.Name;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.RuleSetDoesNotExistException = RuleSetDoesNotExistException;
|
|
76
|
+
class ConfigurationSetAlreadyExistsException extends SESServiceException_1.SESServiceException {
|
|
77
|
+
name = "ConfigurationSetAlreadyExistsException";
|
|
78
|
+
$fault = "client";
|
|
79
|
+
ConfigurationSetName;
|
|
80
|
+
constructor(opts) {
|
|
81
|
+
super({
|
|
82
|
+
name: "ConfigurationSetAlreadyExistsException",
|
|
83
|
+
$fault: "client",
|
|
84
|
+
...opts,
|
|
85
|
+
});
|
|
86
|
+
Object.setPrototypeOf(this, ConfigurationSetAlreadyExistsException.prototype);
|
|
87
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.ConfigurationSetAlreadyExistsException = ConfigurationSetAlreadyExistsException;
|
|
91
|
+
class ConfigurationSetDoesNotExistException extends SESServiceException_1.SESServiceException {
|
|
92
|
+
name = "ConfigurationSetDoesNotExistException";
|
|
93
|
+
$fault = "client";
|
|
94
|
+
ConfigurationSetName;
|
|
95
|
+
constructor(opts) {
|
|
96
|
+
super({
|
|
97
|
+
name: "ConfigurationSetDoesNotExistException",
|
|
98
|
+
$fault: "client",
|
|
99
|
+
...opts,
|
|
100
|
+
});
|
|
101
|
+
Object.setPrototypeOf(this, ConfigurationSetDoesNotExistException.prototype);
|
|
102
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.ConfigurationSetDoesNotExistException = ConfigurationSetDoesNotExistException;
|
|
106
|
+
class ConfigurationSetSendingPausedException extends SESServiceException_1.SESServiceException {
|
|
107
|
+
name = "ConfigurationSetSendingPausedException";
|
|
108
|
+
$fault = "client";
|
|
109
|
+
ConfigurationSetName;
|
|
110
|
+
constructor(opts) {
|
|
111
|
+
super({
|
|
112
|
+
name: "ConfigurationSetSendingPausedException",
|
|
113
|
+
$fault: "client",
|
|
114
|
+
...opts,
|
|
115
|
+
});
|
|
116
|
+
Object.setPrototypeOf(this, ConfigurationSetSendingPausedException.prototype);
|
|
117
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.ConfigurationSetSendingPausedException = ConfigurationSetSendingPausedException;
|
|
121
|
+
class InvalidConfigurationSetException extends SESServiceException_1.SESServiceException {
|
|
122
|
+
name = "InvalidConfigurationSetException";
|
|
123
|
+
$fault = "client";
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "InvalidConfigurationSetException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, InvalidConfigurationSetException.prototype);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
exports.InvalidConfigurationSetException = InvalidConfigurationSetException;
|
|
134
|
+
class EventDestinationAlreadyExistsException extends SESServiceException_1.SESServiceException {
|
|
135
|
+
name = "EventDestinationAlreadyExistsException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
ConfigurationSetName;
|
|
138
|
+
EventDestinationName;
|
|
139
|
+
constructor(opts) {
|
|
140
|
+
super({
|
|
141
|
+
name: "EventDestinationAlreadyExistsException",
|
|
142
|
+
$fault: "client",
|
|
143
|
+
...opts,
|
|
144
|
+
});
|
|
145
|
+
Object.setPrototypeOf(this, EventDestinationAlreadyExistsException.prototype);
|
|
146
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
147
|
+
this.EventDestinationName = opts.EventDestinationName;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.EventDestinationAlreadyExistsException = EventDestinationAlreadyExistsException;
|
|
151
|
+
class InvalidCloudWatchDestinationException extends SESServiceException_1.SESServiceException {
|
|
152
|
+
name = "InvalidCloudWatchDestinationException";
|
|
153
|
+
$fault = "client";
|
|
154
|
+
ConfigurationSetName;
|
|
155
|
+
EventDestinationName;
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "InvalidCloudWatchDestinationException",
|
|
159
|
+
$fault: "client",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
Object.setPrototypeOf(this, InvalidCloudWatchDestinationException.prototype);
|
|
163
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
164
|
+
this.EventDestinationName = opts.EventDestinationName;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
exports.InvalidCloudWatchDestinationException = InvalidCloudWatchDestinationException;
|
|
168
|
+
class InvalidFirehoseDestinationException extends SESServiceException_1.SESServiceException {
|
|
169
|
+
name = "InvalidFirehoseDestinationException";
|
|
170
|
+
$fault = "client";
|
|
171
|
+
ConfigurationSetName;
|
|
172
|
+
EventDestinationName;
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "InvalidFirehoseDestinationException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, InvalidFirehoseDestinationException.prototype);
|
|
180
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
181
|
+
this.EventDestinationName = opts.EventDestinationName;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
exports.InvalidFirehoseDestinationException = InvalidFirehoseDestinationException;
|
|
185
|
+
class InvalidSNSDestinationException extends SESServiceException_1.SESServiceException {
|
|
186
|
+
name = "InvalidSNSDestinationException";
|
|
187
|
+
$fault = "client";
|
|
188
|
+
ConfigurationSetName;
|
|
189
|
+
EventDestinationName;
|
|
190
|
+
constructor(opts) {
|
|
191
|
+
super({
|
|
192
|
+
name: "InvalidSNSDestinationException",
|
|
193
|
+
$fault: "client",
|
|
194
|
+
...opts,
|
|
195
|
+
});
|
|
196
|
+
Object.setPrototypeOf(this, InvalidSNSDestinationException.prototype);
|
|
197
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
198
|
+
this.EventDestinationName = opts.EventDestinationName;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
exports.InvalidSNSDestinationException = InvalidSNSDestinationException;
|
|
202
|
+
class InvalidTrackingOptionsException extends SESServiceException_1.SESServiceException {
|
|
203
|
+
name = "InvalidTrackingOptionsException";
|
|
204
|
+
$fault = "client";
|
|
205
|
+
constructor(opts) {
|
|
206
|
+
super({
|
|
207
|
+
name: "InvalidTrackingOptionsException",
|
|
208
|
+
$fault: "client",
|
|
209
|
+
...opts,
|
|
210
|
+
});
|
|
211
|
+
Object.setPrototypeOf(this, InvalidTrackingOptionsException.prototype);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.InvalidTrackingOptionsException = InvalidTrackingOptionsException;
|
|
215
|
+
class TrackingOptionsAlreadyExistsException extends SESServiceException_1.SESServiceException {
|
|
216
|
+
name = "TrackingOptionsAlreadyExistsException";
|
|
217
|
+
$fault = "client";
|
|
218
|
+
ConfigurationSetName;
|
|
219
|
+
constructor(opts) {
|
|
220
|
+
super({
|
|
221
|
+
name: "TrackingOptionsAlreadyExistsException",
|
|
222
|
+
$fault: "client",
|
|
223
|
+
...opts,
|
|
224
|
+
});
|
|
225
|
+
Object.setPrototypeOf(this, TrackingOptionsAlreadyExistsException.prototype);
|
|
226
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
exports.TrackingOptionsAlreadyExistsException = TrackingOptionsAlreadyExistsException;
|
|
230
|
+
class CustomVerificationEmailInvalidContentException extends SESServiceException_1.SESServiceException {
|
|
231
|
+
name = "CustomVerificationEmailInvalidContentException";
|
|
232
|
+
$fault = "client";
|
|
233
|
+
constructor(opts) {
|
|
234
|
+
super({
|
|
235
|
+
name: "CustomVerificationEmailInvalidContentException",
|
|
236
|
+
$fault: "client",
|
|
237
|
+
...opts,
|
|
238
|
+
});
|
|
239
|
+
Object.setPrototypeOf(this, CustomVerificationEmailInvalidContentException.prototype);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
exports.CustomVerificationEmailInvalidContentException = CustomVerificationEmailInvalidContentException;
|
|
243
|
+
class CustomVerificationEmailTemplateAlreadyExistsException extends SESServiceException_1.SESServiceException {
|
|
244
|
+
name = "CustomVerificationEmailTemplateAlreadyExistsException";
|
|
245
|
+
$fault = "client";
|
|
246
|
+
CustomVerificationEmailTemplateName;
|
|
247
|
+
constructor(opts) {
|
|
248
|
+
super({
|
|
249
|
+
name: "CustomVerificationEmailTemplateAlreadyExistsException",
|
|
250
|
+
$fault: "client",
|
|
251
|
+
...opts,
|
|
252
|
+
});
|
|
253
|
+
Object.setPrototypeOf(this, CustomVerificationEmailTemplateAlreadyExistsException.prototype);
|
|
254
|
+
this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
exports.CustomVerificationEmailTemplateAlreadyExistsException = CustomVerificationEmailTemplateAlreadyExistsException;
|
|
258
|
+
class FromEmailAddressNotVerifiedException extends SESServiceException_1.SESServiceException {
|
|
259
|
+
name = "FromEmailAddressNotVerifiedException";
|
|
260
|
+
$fault = "client";
|
|
261
|
+
FromEmailAddress;
|
|
262
|
+
constructor(opts) {
|
|
263
|
+
super({
|
|
264
|
+
name: "FromEmailAddressNotVerifiedException",
|
|
265
|
+
$fault: "client",
|
|
266
|
+
...opts,
|
|
267
|
+
});
|
|
268
|
+
Object.setPrototypeOf(this, FromEmailAddressNotVerifiedException.prototype);
|
|
269
|
+
this.FromEmailAddress = opts.FromEmailAddress;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
exports.FromEmailAddressNotVerifiedException = FromEmailAddressNotVerifiedException;
|
|
273
|
+
class InvalidLambdaFunctionException extends SESServiceException_1.SESServiceException {
|
|
274
|
+
name = "InvalidLambdaFunctionException";
|
|
275
|
+
$fault = "client";
|
|
276
|
+
FunctionArn;
|
|
277
|
+
constructor(opts) {
|
|
278
|
+
super({
|
|
279
|
+
name: "InvalidLambdaFunctionException",
|
|
280
|
+
$fault: "client",
|
|
281
|
+
...opts,
|
|
282
|
+
});
|
|
283
|
+
Object.setPrototypeOf(this, InvalidLambdaFunctionException.prototype);
|
|
284
|
+
this.FunctionArn = opts.FunctionArn;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
exports.InvalidLambdaFunctionException = InvalidLambdaFunctionException;
|
|
288
|
+
class InvalidS3ConfigurationException extends SESServiceException_1.SESServiceException {
|
|
289
|
+
name = "InvalidS3ConfigurationException";
|
|
290
|
+
$fault = "client";
|
|
291
|
+
Bucket;
|
|
292
|
+
constructor(opts) {
|
|
293
|
+
super({
|
|
294
|
+
name: "InvalidS3ConfigurationException",
|
|
295
|
+
$fault: "client",
|
|
296
|
+
...opts,
|
|
297
|
+
});
|
|
298
|
+
Object.setPrototypeOf(this, InvalidS3ConfigurationException.prototype);
|
|
299
|
+
this.Bucket = opts.Bucket;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
exports.InvalidS3ConfigurationException = InvalidS3ConfigurationException;
|
|
303
|
+
class InvalidSnsTopicException extends SESServiceException_1.SESServiceException {
|
|
304
|
+
name = "InvalidSnsTopicException";
|
|
305
|
+
$fault = "client";
|
|
306
|
+
Topic;
|
|
307
|
+
constructor(opts) {
|
|
308
|
+
super({
|
|
309
|
+
name: "InvalidSnsTopicException",
|
|
310
|
+
$fault: "client",
|
|
311
|
+
...opts,
|
|
312
|
+
});
|
|
313
|
+
Object.setPrototypeOf(this, InvalidSnsTopicException.prototype);
|
|
314
|
+
this.Topic = opts.Topic;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
exports.InvalidSnsTopicException = InvalidSnsTopicException;
|
|
318
|
+
class RuleDoesNotExistException extends SESServiceException_1.SESServiceException {
|
|
319
|
+
name = "RuleDoesNotExistException";
|
|
320
|
+
$fault = "client";
|
|
321
|
+
Name;
|
|
322
|
+
constructor(opts) {
|
|
323
|
+
super({
|
|
324
|
+
name: "RuleDoesNotExistException",
|
|
325
|
+
$fault: "client",
|
|
326
|
+
...opts,
|
|
327
|
+
});
|
|
328
|
+
Object.setPrototypeOf(this, RuleDoesNotExistException.prototype);
|
|
329
|
+
this.Name = opts.Name;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
exports.RuleDoesNotExistException = RuleDoesNotExistException;
|
|
333
|
+
class InvalidTemplateException extends SESServiceException_1.SESServiceException {
|
|
334
|
+
name = "InvalidTemplateException";
|
|
335
|
+
$fault = "client";
|
|
336
|
+
TemplateName;
|
|
337
|
+
constructor(opts) {
|
|
338
|
+
super({
|
|
339
|
+
name: "InvalidTemplateException",
|
|
340
|
+
$fault: "client",
|
|
341
|
+
...opts,
|
|
342
|
+
});
|
|
343
|
+
Object.setPrototypeOf(this, InvalidTemplateException.prototype);
|
|
344
|
+
this.TemplateName = opts.TemplateName;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
exports.InvalidTemplateException = InvalidTemplateException;
|
|
348
|
+
class CustomVerificationEmailTemplateDoesNotExistException extends SESServiceException_1.SESServiceException {
|
|
349
|
+
name = "CustomVerificationEmailTemplateDoesNotExistException";
|
|
350
|
+
$fault = "client";
|
|
351
|
+
CustomVerificationEmailTemplateName;
|
|
352
|
+
constructor(opts) {
|
|
353
|
+
super({
|
|
354
|
+
name: "CustomVerificationEmailTemplateDoesNotExistException",
|
|
355
|
+
$fault: "client",
|
|
356
|
+
...opts,
|
|
357
|
+
});
|
|
358
|
+
Object.setPrototypeOf(this, CustomVerificationEmailTemplateDoesNotExistException.prototype);
|
|
359
|
+
this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
exports.CustomVerificationEmailTemplateDoesNotExistException = CustomVerificationEmailTemplateDoesNotExistException;
|
|
363
|
+
class EventDestinationDoesNotExistException extends SESServiceException_1.SESServiceException {
|
|
364
|
+
name = "EventDestinationDoesNotExistException";
|
|
365
|
+
$fault = "client";
|
|
366
|
+
ConfigurationSetName;
|
|
367
|
+
EventDestinationName;
|
|
368
|
+
constructor(opts) {
|
|
369
|
+
super({
|
|
370
|
+
name: "EventDestinationDoesNotExistException",
|
|
371
|
+
$fault: "client",
|
|
372
|
+
...opts,
|
|
373
|
+
});
|
|
374
|
+
Object.setPrototypeOf(this, EventDestinationDoesNotExistException.prototype);
|
|
375
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
376
|
+
this.EventDestinationName = opts.EventDestinationName;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
exports.EventDestinationDoesNotExistException = EventDestinationDoesNotExistException;
|
|
380
|
+
class TrackingOptionsDoesNotExistException extends SESServiceException_1.SESServiceException {
|
|
381
|
+
name = "TrackingOptionsDoesNotExistException";
|
|
382
|
+
$fault = "client";
|
|
383
|
+
ConfigurationSetName;
|
|
384
|
+
constructor(opts) {
|
|
385
|
+
super({
|
|
386
|
+
name: "TrackingOptionsDoesNotExistException",
|
|
387
|
+
$fault: "client",
|
|
388
|
+
...opts,
|
|
389
|
+
});
|
|
390
|
+
Object.setPrototypeOf(this, TrackingOptionsDoesNotExistException.prototype);
|
|
391
|
+
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
exports.TrackingOptionsDoesNotExistException = TrackingOptionsDoesNotExistException;
|
|
395
|
+
class TemplateDoesNotExistException extends SESServiceException_1.SESServiceException {
|
|
396
|
+
name = "TemplateDoesNotExistException";
|
|
397
|
+
$fault = "client";
|
|
398
|
+
TemplateName;
|
|
399
|
+
constructor(opts) {
|
|
400
|
+
super({
|
|
401
|
+
name: "TemplateDoesNotExistException",
|
|
402
|
+
$fault: "client",
|
|
403
|
+
...opts,
|
|
404
|
+
});
|
|
405
|
+
Object.setPrototypeOf(this, TemplateDoesNotExistException.prototype);
|
|
406
|
+
this.TemplateName = opts.TemplateName;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
exports.TemplateDoesNotExistException = TemplateDoesNotExistException;
|
|
410
|
+
class InvalidDeliveryOptionsException extends SESServiceException_1.SESServiceException {
|
|
411
|
+
name = "InvalidDeliveryOptionsException";
|
|
412
|
+
$fault = "client";
|
|
413
|
+
constructor(opts) {
|
|
414
|
+
super({
|
|
415
|
+
name: "InvalidDeliveryOptionsException",
|
|
416
|
+
$fault: "client",
|
|
417
|
+
...opts,
|
|
418
|
+
});
|
|
419
|
+
Object.setPrototypeOf(this, InvalidDeliveryOptionsException.prototype);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
exports.InvalidDeliveryOptionsException = InvalidDeliveryOptionsException;
|
|
423
|
+
class InvalidPolicyException extends SESServiceException_1.SESServiceException {
|
|
424
|
+
name = "InvalidPolicyException";
|
|
425
|
+
$fault = "client";
|
|
426
|
+
constructor(opts) {
|
|
427
|
+
super({
|
|
428
|
+
name: "InvalidPolicyException",
|
|
429
|
+
$fault: "client",
|
|
430
|
+
...opts,
|
|
431
|
+
});
|
|
432
|
+
Object.setPrototypeOf(this, InvalidPolicyException.prototype);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
exports.InvalidPolicyException = InvalidPolicyException;
|
|
436
|
+
class InvalidRenderingParameterException extends SESServiceException_1.SESServiceException {
|
|
437
|
+
name = "InvalidRenderingParameterException";
|
|
438
|
+
$fault = "client";
|
|
439
|
+
TemplateName;
|
|
440
|
+
constructor(opts) {
|
|
441
|
+
super({
|
|
442
|
+
name: "InvalidRenderingParameterException",
|
|
443
|
+
$fault: "client",
|
|
444
|
+
...opts,
|
|
445
|
+
});
|
|
446
|
+
Object.setPrototypeOf(this, InvalidRenderingParameterException.prototype);
|
|
447
|
+
this.TemplateName = opts.TemplateName;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
exports.InvalidRenderingParameterException = InvalidRenderingParameterException;
|
|
451
|
+
class MailFromDomainNotVerifiedException extends SESServiceException_1.SESServiceException {
|
|
452
|
+
name = "MailFromDomainNotVerifiedException";
|
|
453
|
+
$fault = "client";
|
|
454
|
+
constructor(opts) {
|
|
455
|
+
super({
|
|
456
|
+
name: "MailFromDomainNotVerifiedException",
|
|
457
|
+
$fault: "client",
|
|
458
|
+
...opts,
|
|
459
|
+
});
|
|
460
|
+
Object.setPrototypeOf(this, MailFromDomainNotVerifiedException.prototype);
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
exports.MailFromDomainNotVerifiedException = MailFromDomainNotVerifiedException;
|
|
464
|
+
class MessageRejected extends SESServiceException_1.SESServiceException {
|
|
465
|
+
name = "MessageRejected";
|
|
466
|
+
$fault = "client";
|
|
467
|
+
constructor(opts) {
|
|
468
|
+
super({
|
|
469
|
+
name: "MessageRejected",
|
|
470
|
+
$fault: "client",
|
|
471
|
+
...opts,
|
|
472
|
+
});
|
|
473
|
+
Object.setPrototypeOf(this, MessageRejected.prototype);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
exports.MessageRejected = MessageRejected;
|
|
477
|
+
class MissingRenderingAttributeException extends SESServiceException_1.SESServiceException {
|
|
478
|
+
name = "MissingRenderingAttributeException";
|
|
479
|
+
$fault = "client";
|
|
480
|
+
TemplateName;
|
|
481
|
+
constructor(opts) {
|
|
482
|
+
super({
|
|
483
|
+
name: "MissingRenderingAttributeException",
|
|
484
|
+
$fault: "client",
|
|
485
|
+
...opts,
|
|
486
|
+
});
|
|
487
|
+
Object.setPrototypeOf(this, MissingRenderingAttributeException.prototype);
|
|
488
|
+
this.TemplateName = opts.TemplateName;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
exports.MissingRenderingAttributeException = MissingRenderingAttributeException;
|
|
492
|
+
class ProductionAccessNotGrantedException extends SESServiceException_1.SESServiceException {
|
|
493
|
+
name = "ProductionAccessNotGrantedException";
|
|
494
|
+
$fault = "client";
|
|
495
|
+
constructor(opts) {
|
|
496
|
+
super({
|
|
497
|
+
name: "ProductionAccessNotGrantedException",
|
|
498
|
+
$fault: "client",
|
|
499
|
+
...opts,
|
|
500
|
+
});
|
|
501
|
+
Object.setPrototypeOf(this, ProductionAccessNotGrantedException.prototype);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
exports.ProductionAccessNotGrantedException = ProductionAccessNotGrantedException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2010-12-01",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.ses",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "http://ses.amazonaws.com/doc/2010-12-01/",
|
|
33
35
|
version: "2010-12-01",
|
|
34
36
|
serviceTarget: "SimpleEmailService",
|