@aws-sdk/client-ses 3.1075.0 → 3.1077.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 +2762 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +9 -11
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/SESServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -467
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -39
- package/dist-cjs/schemas/schemas_0.js +0 -2011
|
@@ -1,467 +0,0 @@
|
|
|
1
|
-
const { SESServiceException: __BaseException } = require("./SESServiceException");
|
|
2
|
-
exports.AccountSendingPausedException = class AccountSendingPausedException extends __BaseException {
|
|
3
|
-
name = "AccountSendingPausedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccountSendingPausedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccountSendingPausedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
exports.AlreadyExistsException = class AlreadyExistsException extends __BaseException {
|
|
15
|
-
name = "AlreadyExistsException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
Name;
|
|
18
|
-
constructor(opts) {
|
|
19
|
-
super({
|
|
20
|
-
name: "AlreadyExistsException",
|
|
21
|
-
$fault: "client",
|
|
22
|
-
...opts,
|
|
23
|
-
});
|
|
24
|
-
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
25
|
-
this.Name = opts.Name;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
exports.CannotDeleteException = class CannotDeleteException extends __BaseException {
|
|
29
|
-
name = "CannotDeleteException";
|
|
30
|
-
$fault = "client";
|
|
31
|
-
Name;
|
|
32
|
-
constructor(opts) {
|
|
33
|
-
super({
|
|
34
|
-
name: "CannotDeleteException",
|
|
35
|
-
$fault: "client",
|
|
36
|
-
...opts,
|
|
37
|
-
});
|
|
38
|
-
Object.setPrototypeOf(this, CannotDeleteException.prototype);
|
|
39
|
-
this.Name = opts.Name;
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
exports.LimitExceededException = class LimitExceededException extends __BaseException {
|
|
43
|
-
name = "LimitExceededException";
|
|
44
|
-
$fault = "client";
|
|
45
|
-
constructor(opts) {
|
|
46
|
-
super({
|
|
47
|
-
name: "LimitExceededException",
|
|
48
|
-
$fault: "client",
|
|
49
|
-
...opts,
|
|
50
|
-
});
|
|
51
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
exports.RuleSetDoesNotExistException = class RuleSetDoesNotExistException extends __BaseException {
|
|
55
|
-
name = "RuleSetDoesNotExistException";
|
|
56
|
-
$fault = "client";
|
|
57
|
-
Name;
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "RuleSetDoesNotExistException",
|
|
61
|
-
$fault: "client",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
Object.setPrototypeOf(this, RuleSetDoesNotExistException.prototype);
|
|
65
|
-
this.Name = opts.Name;
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
exports.ConfigurationSetAlreadyExistsException = class ConfigurationSetAlreadyExistsException extends __BaseException {
|
|
69
|
-
name = "ConfigurationSetAlreadyExistsException";
|
|
70
|
-
$fault = "client";
|
|
71
|
-
ConfigurationSetName;
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "ConfigurationSetAlreadyExistsException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
Object.setPrototypeOf(this, ConfigurationSetAlreadyExistsException.prototype);
|
|
79
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
exports.ConfigurationSetDoesNotExistException = class ConfigurationSetDoesNotExistException extends __BaseException {
|
|
83
|
-
name = "ConfigurationSetDoesNotExistException";
|
|
84
|
-
$fault = "client";
|
|
85
|
-
ConfigurationSetName;
|
|
86
|
-
constructor(opts) {
|
|
87
|
-
super({
|
|
88
|
-
name: "ConfigurationSetDoesNotExistException",
|
|
89
|
-
$fault: "client",
|
|
90
|
-
...opts,
|
|
91
|
-
});
|
|
92
|
-
Object.setPrototypeOf(this, ConfigurationSetDoesNotExistException.prototype);
|
|
93
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
exports.ConfigurationSetSendingPausedException = class ConfigurationSetSendingPausedException extends __BaseException {
|
|
97
|
-
name = "ConfigurationSetSendingPausedException";
|
|
98
|
-
$fault = "client";
|
|
99
|
-
ConfigurationSetName;
|
|
100
|
-
constructor(opts) {
|
|
101
|
-
super({
|
|
102
|
-
name: "ConfigurationSetSendingPausedException",
|
|
103
|
-
$fault: "client",
|
|
104
|
-
...opts,
|
|
105
|
-
});
|
|
106
|
-
Object.setPrototypeOf(this, ConfigurationSetSendingPausedException.prototype);
|
|
107
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
exports.InvalidConfigurationSetException = class InvalidConfigurationSetException extends __BaseException {
|
|
111
|
-
name = "InvalidConfigurationSetException";
|
|
112
|
-
$fault = "client";
|
|
113
|
-
constructor(opts) {
|
|
114
|
-
super({
|
|
115
|
-
name: "InvalidConfigurationSetException",
|
|
116
|
-
$fault: "client",
|
|
117
|
-
...opts,
|
|
118
|
-
});
|
|
119
|
-
Object.setPrototypeOf(this, InvalidConfigurationSetException.prototype);
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
exports.EventDestinationAlreadyExistsException = class EventDestinationAlreadyExistsException extends __BaseException {
|
|
123
|
-
name = "EventDestinationAlreadyExistsException";
|
|
124
|
-
$fault = "client";
|
|
125
|
-
ConfigurationSetName;
|
|
126
|
-
EventDestinationName;
|
|
127
|
-
constructor(opts) {
|
|
128
|
-
super({
|
|
129
|
-
name: "EventDestinationAlreadyExistsException",
|
|
130
|
-
$fault: "client",
|
|
131
|
-
...opts,
|
|
132
|
-
});
|
|
133
|
-
Object.setPrototypeOf(this, EventDestinationAlreadyExistsException.prototype);
|
|
134
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
135
|
-
this.EventDestinationName = opts.EventDestinationName;
|
|
136
|
-
}
|
|
137
|
-
};
|
|
138
|
-
exports.InvalidCloudWatchDestinationException = class InvalidCloudWatchDestinationException extends __BaseException {
|
|
139
|
-
name = "InvalidCloudWatchDestinationException";
|
|
140
|
-
$fault = "client";
|
|
141
|
-
ConfigurationSetName;
|
|
142
|
-
EventDestinationName;
|
|
143
|
-
constructor(opts) {
|
|
144
|
-
super({
|
|
145
|
-
name: "InvalidCloudWatchDestinationException",
|
|
146
|
-
$fault: "client",
|
|
147
|
-
...opts,
|
|
148
|
-
});
|
|
149
|
-
Object.setPrototypeOf(this, InvalidCloudWatchDestinationException.prototype);
|
|
150
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
151
|
-
this.EventDestinationName = opts.EventDestinationName;
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
exports.InvalidFirehoseDestinationException = class InvalidFirehoseDestinationException extends __BaseException {
|
|
155
|
-
name = "InvalidFirehoseDestinationException";
|
|
156
|
-
$fault = "client";
|
|
157
|
-
ConfigurationSetName;
|
|
158
|
-
EventDestinationName;
|
|
159
|
-
constructor(opts) {
|
|
160
|
-
super({
|
|
161
|
-
name: "InvalidFirehoseDestinationException",
|
|
162
|
-
$fault: "client",
|
|
163
|
-
...opts,
|
|
164
|
-
});
|
|
165
|
-
Object.setPrototypeOf(this, InvalidFirehoseDestinationException.prototype);
|
|
166
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
167
|
-
this.EventDestinationName = opts.EventDestinationName;
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
exports.InvalidSNSDestinationException = class InvalidSNSDestinationException extends __BaseException {
|
|
171
|
-
name = "InvalidSNSDestinationException";
|
|
172
|
-
$fault = "client";
|
|
173
|
-
ConfigurationSetName;
|
|
174
|
-
EventDestinationName;
|
|
175
|
-
constructor(opts) {
|
|
176
|
-
super({
|
|
177
|
-
name: "InvalidSNSDestinationException",
|
|
178
|
-
$fault: "client",
|
|
179
|
-
...opts,
|
|
180
|
-
});
|
|
181
|
-
Object.setPrototypeOf(this, InvalidSNSDestinationException.prototype);
|
|
182
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
183
|
-
this.EventDestinationName = opts.EventDestinationName;
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
exports.InvalidTrackingOptionsException = class InvalidTrackingOptionsException extends __BaseException {
|
|
187
|
-
name = "InvalidTrackingOptionsException";
|
|
188
|
-
$fault = "client";
|
|
189
|
-
constructor(opts) {
|
|
190
|
-
super({
|
|
191
|
-
name: "InvalidTrackingOptionsException",
|
|
192
|
-
$fault: "client",
|
|
193
|
-
...opts,
|
|
194
|
-
});
|
|
195
|
-
Object.setPrototypeOf(this, InvalidTrackingOptionsException.prototype);
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
exports.TrackingOptionsAlreadyExistsException = class TrackingOptionsAlreadyExistsException extends __BaseException {
|
|
199
|
-
name = "TrackingOptionsAlreadyExistsException";
|
|
200
|
-
$fault = "client";
|
|
201
|
-
ConfigurationSetName;
|
|
202
|
-
constructor(opts) {
|
|
203
|
-
super({
|
|
204
|
-
name: "TrackingOptionsAlreadyExistsException",
|
|
205
|
-
$fault: "client",
|
|
206
|
-
...opts,
|
|
207
|
-
});
|
|
208
|
-
Object.setPrototypeOf(this, TrackingOptionsAlreadyExistsException.prototype);
|
|
209
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
exports.CustomVerificationEmailInvalidContentException = class CustomVerificationEmailInvalidContentException extends __BaseException {
|
|
213
|
-
name = "CustomVerificationEmailInvalidContentException";
|
|
214
|
-
$fault = "client";
|
|
215
|
-
constructor(opts) {
|
|
216
|
-
super({
|
|
217
|
-
name: "CustomVerificationEmailInvalidContentException",
|
|
218
|
-
$fault: "client",
|
|
219
|
-
...opts,
|
|
220
|
-
});
|
|
221
|
-
Object.setPrototypeOf(this, CustomVerificationEmailInvalidContentException.prototype);
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
exports.CustomVerificationEmailTemplateAlreadyExistsException = class CustomVerificationEmailTemplateAlreadyExistsException extends __BaseException {
|
|
225
|
-
name = "CustomVerificationEmailTemplateAlreadyExistsException";
|
|
226
|
-
$fault = "client";
|
|
227
|
-
CustomVerificationEmailTemplateName;
|
|
228
|
-
constructor(opts) {
|
|
229
|
-
super({
|
|
230
|
-
name: "CustomVerificationEmailTemplateAlreadyExistsException",
|
|
231
|
-
$fault: "client",
|
|
232
|
-
...opts,
|
|
233
|
-
});
|
|
234
|
-
Object.setPrototypeOf(this, CustomVerificationEmailTemplateAlreadyExistsException.prototype);
|
|
235
|
-
this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
|
|
236
|
-
}
|
|
237
|
-
};
|
|
238
|
-
exports.FromEmailAddressNotVerifiedException = class FromEmailAddressNotVerifiedException extends __BaseException {
|
|
239
|
-
name = "FromEmailAddressNotVerifiedException";
|
|
240
|
-
$fault = "client";
|
|
241
|
-
FromEmailAddress;
|
|
242
|
-
constructor(opts) {
|
|
243
|
-
super({
|
|
244
|
-
name: "FromEmailAddressNotVerifiedException",
|
|
245
|
-
$fault: "client",
|
|
246
|
-
...opts,
|
|
247
|
-
});
|
|
248
|
-
Object.setPrototypeOf(this, FromEmailAddressNotVerifiedException.prototype);
|
|
249
|
-
this.FromEmailAddress = opts.FromEmailAddress;
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
|
-
exports.InvalidLambdaFunctionException = class InvalidLambdaFunctionException extends __BaseException {
|
|
253
|
-
name = "InvalidLambdaFunctionException";
|
|
254
|
-
$fault = "client";
|
|
255
|
-
FunctionArn;
|
|
256
|
-
constructor(opts) {
|
|
257
|
-
super({
|
|
258
|
-
name: "InvalidLambdaFunctionException",
|
|
259
|
-
$fault: "client",
|
|
260
|
-
...opts,
|
|
261
|
-
});
|
|
262
|
-
Object.setPrototypeOf(this, InvalidLambdaFunctionException.prototype);
|
|
263
|
-
this.FunctionArn = opts.FunctionArn;
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
exports.InvalidS3ConfigurationException = class InvalidS3ConfigurationException extends __BaseException {
|
|
267
|
-
name = "InvalidS3ConfigurationException";
|
|
268
|
-
$fault = "client";
|
|
269
|
-
Bucket;
|
|
270
|
-
constructor(opts) {
|
|
271
|
-
super({
|
|
272
|
-
name: "InvalidS3ConfigurationException",
|
|
273
|
-
$fault: "client",
|
|
274
|
-
...opts,
|
|
275
|
-
});
|
|
276
|
-
Object.setPrototypeOf(this, InvalidS3ConfigurationException.prototype);
|
|
277
|
-
this.Bucket = opts.Bucket;
|
|
278
|
-
}
|
|
279
|
-
};
|
|
280
|
-
exports.InvalidSnsTopicException = class InvalidSnsTopicException extends __BaseException {
|
|
281
|
-
name = "InvalidSnsTopicException";
|
|
282
|
-
$fault = "client";
|
|
283
|
-
Topic;
|
|
284
|
-
constructor(opts) {
|
|
285
|
-
super({
|
|
286
|
-
name: "InvalidSnsTopicException",
|
|
287
|
-
$fault: "client",
|
|
288
|
-
...opts,
|
|
289
|
-
});
|
|
290
|
-
Object.setPrototypeOf(this, InvalidSnsTopicException.prototype);
|
|
291
|
-
this.Topic = opts.Topic;
|
|
292
|
-
}
|
|
293
|
-
};
|
|
294
|
-
exports.RuleDoesNotExistException = class RuleDoesNotExistException extends __BaseException {
|
|
295
|
-
name = "RuleDoesNotExistException";
|
|
296
|
-
$fault = "client";
|
|
297
|
-
Name;
|
|
298
|
-
constructor(opts) {
|
|
299
|
-
super({
|
|
300
|
-
name: "RuleDoesNotExistException",
|
|
301
|
-
$fault: "client",
|
|
302
|
-
...opts,
|
|
303
|
-
});
|
|
304
|
-
Object.setPrototypeOf(this, RuleDoesNotExistException.prototype);
|
|
305
|
-
this.Name = opts.Name;
|
|
306
|
-
}
|
|
307
|
-
};
|
|
308
|
-
exports.InvalidTemplateException = class InvalidTemplateException extends __BaseException {
|
|
309
|
-
name = "InvalidTemplateException";
|
|
310
|
-
$fault = "client";
|
|
311
|
-
TemplateName;
|
|
312
|
-
constructor(opts) {
|
|
313
|
-
super({
|
|
314
|
-
name: "InvalidTemplateException",
|
|
315
|
-
$fault: "client",
|
|
316
|
-
...opts,
|
|
317
|
-
});
|
|
318
|
-
Object.setPrototypeOf(this, InvalidTemplateException.prototype);
|
|
319
|
-
this.TemplateName = opts.TemplateName;
|
|
320
|
-
}
|
|
321
|
-
};
|
|
322
|
-
exports.CustomVerificationEmailTemplateDoesNotExistException = class CustomVerificationEmailTemplateDoesNotExistException extends __BaseException {
|
|
323
|
-
name = "CustomVerificationEmailTemplateDoesNotExistException";
|
|
324
|
-
$fault = "client";
|
|
325
|
-
CustomVerificationEmailTemplateName;
|
|
326
|
-
constructor(opts) {
|
|
327
|
-
super({
|
|
328
|
-
name: "CustomVerificationEmailTemplateDoesNotExistException",
|
|
329
|
-
$fault: "client",
|
|
330
|
-
...opts,
|
|
331
|
-
});
|
|
332
|
-
Object.setPrototypeOf(this, CustomVerificationEmailTemplateDoesNotExistException.prototype);
|
|
333
|
-
this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
|
|
334
|
-
}
|
|
335
|
-
};
|
|
336
|
-
exports.EventDestinationDoesNotExistException = class EventDestinationDoesNotExistException extends __BaseException {
|
|
337
|
-
name = "EventDestinationDoesNotExistException";
|
|
338
|
-
$fault = "client";
|
|
339
|
-
ConfigurationSetName;
|
|
340
|
-
EventDestinationName;
|
|
341
|
-
constructor(opts) {
|
|
342
|
-
super({
|
|
343
|
-
name: "EventDestinationDoesNotExistException",
|
|
344
|
-
$fault: "client",
|
|
345
|
-
...opts,
|
|
346
|
-
});
|
|
347
|
-
Object.setPrototypeOf(this, EventDestinationDoesNotExistException.prototype);
|
|
348
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
349
|
-
this.EventDestinationName = opts.EventDestinationName;
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
exports.TrackingOptionsDoesNotExistException = class TrackingOptionsDoesNotExistException extends __BaseException {
|
|
353
|
-
name = "TrackingOptionsDoesNotExistException";
|
|
354
|
-
$fault = "client";
|
|
355
|
-
ConfigurationSetName;
|
|
356
|
-
constructor(opts) {
|
|
357
|
-
super({
|
|
358
|
-
name: "TrackingOptionsDoesNotExistException",
|
|
359
|
-
$fault: "client",
|
|
360
|
-
...opts,
|
|
361
|
-
});
|
|
362
|
-
Object.setPrototypeOf(this, TrackingOptionsDoesNotExistException.prototype);
|
|
363
|
-
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
exports.TemplateDoesNotExistException = class TemplateDoesNotExistException extends __BaseException {
|
|
367
|
-
name = "TemplateDoesNotExistException";
|
|
368
|
-
$fault = "client";
|
|
369
|
-
TemplateName;
|
|
370
|
-
constructor(opts) {
|
|
371
|
-
super({
|
|
372
|
-
name: "TemplateDoesNotExistException",
|
|
373
|
-
$fault: "client",
|
|
374
|
-
...opts,
|
|
375
|
-
});
|
|
376
|
-
Object.setPrototypeOf(this, TemplateDoesNotExistException.prototype);
|
|
377
|
-
this.TemplateName = opts.TemplateName;
|
|
378
|
-
}
|
|
379
|
-
};
|
|
380
|
-
exports.InvalidDeliveryOptionsException = class InvalidDeliveryOptionsException extends __BaseException {
|
|
381
|
-
name = "InvalidDeliveryOptionsException";
|
|
382
|
-
$fault = "client";
|
|
383
|
-
constructor(opts) {
|
|
384
|
-
super({
|
|
385
|
-
name: "InvalidDeliveryOptionsException",
|
|
386
|
-
$fault: "client",
|
|
387
|
-
...opts,
|
|
388
|
-
});
|
|
389
|
-
Object.setPrototypeOf(this, InvalidDeliveryOptionsException.prototype);
|
|
390
|
-
}
|
|
391
|
-
};
|
|
392
|
-
exports.InvalidPolicyException = class InvalidPolicyException extends __BaseException {
|
|
393
|
-
name = "InvalidPolicyException";
|
|
394
|
-
$fault = "client";
|
|
395
|
-
constructor(opts) {
|
|
396
|
-
super({
|
|
397
|
-
name: "InvalidPolicyException",
|
|
398
|
-
$fault: "client",
|
|
399
|
-
...opts,
|
|
400
|
-
});
|
|
401
|
-
Object.setPrototypeOf(this, InvalidPolicyException.prototype);
|
|
402
|
-
}
|
|
403
|
-
};
|
|
404
|
-
exports.InvalidRenderingParameterException = class InvalidRenderingParameterException extends __BaseException {
|
|
405
|
-
name = "InvalidRenderingParameterException";
|
|
406
|
-
$fault = "client";
|
|
407
|
-
TemplateName;
|
|
408
|
-
constructor(opts) {
|
|
409
|
-
super({
|
|
410
|
-
name: "InvalidRenderingParameterException",
|
|
411
|
-
$fault: "client",
|
|
412
|
-
...opts,
|
|
413
|
-
});
|
|
414
|
-
Object.setPrototypeOf(this, InvalidRenderingParameterException.prototype);
|
|
415
|
-
this.TemplateName = opts.TemplateName;
|
|
416
|
-
}
|
|
417
|
-
};
|
|
418
|
-
exports.MailFromDomainNotVerifiedException = class MailFromDomainNotVerifiedException extends __BaseException {
|
|
419
|
-
name = "MailFromDomainNotVerifiedException";
|
|
420
|
-
$fault = "client";
|
|
421
|
-
constructor(opts) {
|
|
422
|
-
super({
|
|
423
|
-
name: "MailFromDomainNotVerifiedException",
|
|
424
|
-
$fault: "client",
|
|
425
|
-
...opts,
|
|
426
|
-
});
|
|
427
|
-
Object.setPrototypeOf(this, MailFromDomainNotVerifiedException.prototype);
|
|
428
|
-
}
|
|
429
|
-
};
|
|
430
|
-
exports.MessageRejected = class MessageRejected extends __BaseException {
|
|
431
|
-
name = "MessageRejected";
|
|
432
|
-
$fault = "client";
|
|
433
|
-
constructor(opts) {
|
|
434
|
-
super({
|
|
435
|
-
name: "MessageRejected",
|
|
436
|
-
$fault: "client",
|
|
437
|
-
...opts,
|
|
438
|
-
});
|
|
439
|
-
Object.setPrototypeOf(this, MessageRejected.prototype);
|
|
440
|
-
}
|
|
441
|
-
};
|
|
442
|
-
exports.MissingRenderingAttributeException = class MissingRenderingAttributeException extends __BaseException {
|
|
443
|
-
name = "MissingRenderingAttributeException";
|
|
444
|
-
$fault = "client";
|
|
445
|
-
TemplateName;
|
|
446
|
-
constructor(opts) {
|
|
447
|
-
super({
|
|
448
|
-
name: "MissingRenderingAttributeException",
|
|
449
|
-
$fault: "client",
|
|
450
|
-
...opts,
|
|
451
|
-
});
|
|
452
|
-
Object.setPrototypeOf(this, MissingRenderingAttributeException.prototype);
|
|
453
|
-
this.TemplateName = opts.TemplateName;
|
|
454
|
-
}
|
|
455
|
-
};
|
|
456
|
-
exports.ProductionAccessNotGrantedException = class ProductionAccessNotGrantedException extends __BaseException {
|
|
457
|
-
name = "ProductionAccessNotGrantedException";
|
|
458
|
-
$fault = "client";
|
|
459
|
-
constructor(opts) {
|
|
460
|
-
super({
|
|
461
|
-
name: "ProductionAccessNotGrantedException",
|
|
462
|
-
$fault: "client",
|
|
463
|
-
...opts,
|
|
464
|
-
});
|
|
465
|
-
Object.setPrototypeOf(this, ProductionAccessNotGrantedException.prototype);
|
|
466
|
-
}
|
|
467
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const packageInfo = require("../package.json");
|
|
2
|
-
const { Sha256 } = require("@aws-crypto/sha256-browser");
|
|
3
|
-
const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
|
|
4
|
-
const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
5
|
-
const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
6
|
-
const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
|
|
7
|
-
const { calculateBodyLength } = require("@smithy/core/serde");
|
|
8
|
-
const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
|
|
9
|
-
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
10
|
-
const getRuntimeConfig = (config) => {
|
|
11
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
|
-
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
13
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
14
|
-
return {
|
|
15
|
-
...clientSharedValues,
|
|
16
|
-
...config,
|
|
17
|
-
runtime: "browser",
|
|
18
|
-
defaultsMode,
|
|
19
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
20
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
21
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
|
-
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
|
-
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
|
-
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
const packageInfo = require("../package.json");
|
|
2
|
-
const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client");
|
|
3
|
-
const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
4
|
-
const { defaultProvider: credentialDefaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
5
|
-
const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
6
|
-
const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
7
|
-
const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry");
|
|
8
|
-
const { calculateBodyLength, Hash } = require("@smithy/core/serde");
|
|
9
|
-
const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler");
|
|
10
|
-
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
11
|
-
const getRuntimeConfig = (config) => {
|
|
12
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
13
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
-
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
awsCheckVersion(process.version);
|
|
17
|
-
const loaderConfig = {
|
|
18
|
-
profile: config?.profile,
|
|
19
|
-
logger: clientSharedValues.logger,
|
|
20
|
-
};
|
|
21
|
-
return {
|
|
22
|
-
...clientSharedValues,
|
|
23
|
-
...config,
|
|
24
|
-
runtime: "node",
|
|
25
|
-
defaultsMode,
|
|
26
|
-
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
|
-
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
32
|
-
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
33
|
-
retryMode: config?.retryMode ??
|
|
34
|
-
loadNodeConfig({
|
|
35
|
-
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
-
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
|
-
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
42
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const { Sha256 } = require("@aws-crypto/sha256-js");
|
|
2
|
-
const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser");
|
|
3
|
-
const getRuntimeConfig = (config) => {
|
|
4
|
-
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
-
return {
|
|
6
|
-
...browserDefaults,
|
|
7
|
-
...config,
|
|
8
|
-
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
-
const { AwsQueryProtocol } = require("@aws-sdk/core/protocols");
|
|
3
|
-
const { NoOpLogger } = require("@smithy/core/client");
|
|
4
|
-
const { parseUrl } = require("@smithy/core/protocols");
|
|
5
|
-
const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde");
|
|
6
|
-
const { defaultSESHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider");
|
|
7
|
-
const { defaultEndpointResolver } = require("./endpoint/endpointResolver");
|
|
8
|
-
const { errorTypeRegistries } = require("./schemas/schemas_0");
|
|
9
|
-
exports.getRuntimeConfig = (config) => {
|
|
10
|
-
return {
|
|
11
|
-
apiVersion: "2010-12-01",
|
|
12
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
13
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
14
|
-
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
15
|
-
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
16
|
-
extensions: config?.extensions ?? [],
|
|
17
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSESHttpAuthSchemeProvider,
|
|
18
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
19
|
-
{
|
|
20
|
-
schemeId: "aws.auth#sigv4",
|
|
21
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
22
|
-
signer: new AwsSdkSigV4Signer(),
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ?? AwsQueryProtocol,
|
|
27
|
-
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
-
defaultNamespace: "com.amazonaws.ses",
|
|
29
|
-
errorTypeRegistries,
|
|
30
|
-
xmlNamespace: "http://ses.amazonaws.com/doc/2010-12-01/",
|
|
31
|
-
version: "2010-12-01",
|
|
32
|
-
serviceTarget: "SimpleEmailService",
|
|
33
|
-
},
|
|
34
|
-
serviceId: config?.serviceId ?? "SES",
|
|
35
|
-
urlParser: config?.urlParser ?? parseUrl,
|
|
36
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
38
|
-
};
|
|
39
|
-
};
|