@aws-sdk/client-ses 3.934.0 → 3.935.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 +98 -97
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +97 -0
- package/dist-es/models/errors.js +467 -0
- package/dist-es/models/models_0.js +1 -564
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +225 -0
- package/dist-types/models/errors.d.ts +588 -0
- package/dist-types/models/models_0.d.ts +1 -813
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +123 -0
- package/dist-types/ts3.4/models/errors.d.ts +330 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -453
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -144,41 +144,6 @@ let AlreadyExistsException$1 = class AlreadyExistsException extends SESServiceEx
|
|
|
144
144
|
this.Name = opts.Name;
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
|
-
const BehaviorOnMXFailure = {
|
|
148
|
-
RejectMessage: "RejectMessage",
|
|
149
|
-
UseDefaultValue: "UseDefaultValue",
|
|
150
|
-
};
|
|
151
|
-
const BounceType = {
|
|
152
|
-
ContentRejected: "ContentRejected",
|
|
153
|
-
DoesNotExist: "DoesNotExist",
|
|
154
|
-
ExceededQuota: "ExceededQuota",
|
|
155
|
-
MessageTooLarge: "MessageTooLarge",
|
|
156
|
-
TemporaryFailure: "TemporaryFailure",
|
|
157
|
-
Undefined: "Undefined",
|
|
158
|
-
};
|
|
159
|
-
const DsnAction = {
|
|
160
|
-
DELAYED: "delayed",
|
|
161
|
-
DELIVERED: "delivered",
|
|
162
|
-
EXPANDED: "expanded",
|
|
163
|
-
FAILED: "failed",
|
|
164
|
-
RELAYED: "relayed",
|
|
165
|
-
};
|
|
166
|
-
const BulkEmailStatus = {
|
|
167
|
-
AccountDailyQuotaExceeded: "AccountDailyQuotaExceeded",
|
|
168
|
-
AccountSendingPaused: "AccountSendingPaused",
|
|
169
|
-
AccountSuspended: "AccountSuspended",
|
|
170
|
-
AccountThrottled: "AccountThrottled",
|
|
171
|
-
ConfigurationSetDoesNotExist: "ConfigurationSetDoesNotExist",
|
|
172
|
-
ConfigurationSetSendingPaused: "ConfigurationSetSendingPaused",
|
|
173
|
-
Failed: "Failed",
|
|
174
|
-
InvalidParameterValue: "InvalidParameterValue",
|
|
175
|
-
InvalidSendingPoolName: "InvalidSendingPoolName",
|
|
176
|
-
MailFromDomainNotVerified: "MailFromDomainNotVerified",
|
|
177
|
-
MessageRejected: "MessageRejected",
|
|
178
|
-
Success: "Success",
|
|
179
|
-
TemplateDoesNotExist: "TemplateDoesNotExist",
|
|
180
|
-
TransientFailure: "TransientFailure",
|
|
181
|
-
};
|
|
182
147
|
let CannotDeleteException$1 = class CannotDeleteException extends SESServiceException$1 {
|
|
183
148
|
name = "CannotDeleteException";
|
|
184
149
|
$fault = "client";
|
|
@@ -219,11 +184,6 @@ let RuleSetDoesNotExistException$1 = class RuleSetDoesNotExistException extends
|
|
|
219
184
|
this.Name = opts.Name;
|
|
220
185
|
}
|
|
221
186
|
};
|
|
222
|
-
const DimensionValueSource = {
|
|
223
|
-
EMAIL_HEADER: "emailHeader",
|
|
224
|
-
LINK_TAG: "linkTag",
|
|
225
|
-
MESSAGE_TAG: "messageTag",
|
|
226
|
-
};
|
|
227
187
|
let ConfigurationSetAlreadyExistsException$1 = class ConfigurationSetAlreadyExistsException extends SESServiceException$1 {
|
|
228
188
|
name = "ConfigurationSetAlreadyExistsException";
|
|
229
189
|
$fault = "client";
|
|
@@ -238,12 +198,6 @@ let ConfigurationSetAlreadyExistsException$1 = class ConfigurationSetAlreadyExis
|
|
|
238
198
|
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
239
199
|
}
|
|
240
200
|
};
|
|
241
|
-
const ConfigurationSetAttribute = {
|
|
242
|
-
DELIVERY_OPTIONS: "deliveryOptions",
|
|
243
|
-
EVENT_DESTINATIONS: "eventDestinations",
|
|
244
|
-
REPUTATION_OPTIONS: "reputationOptions",
|
|
245
|
-
TRACKING_OPTIONS: "trackingOptions",
|
|
246
|
-
};
|
|
247
201
|
let ConfigurationSetDoesNotExistException$1 = class ConfigurationSetDoesNotExistException extends SESServiceException$1 {
|
|
248
202
|
name = "ConfigurationSetDoesNotExistException";
|
|
249
203
|
$fault = "client";
|
|
@@ -284,16 +238,6 @@ let InvalidConfigurationSetException$1 = class InvalidConfigurationSetException
|
|
|
284
238
|
Object.setPrototypeOf(this, InvalidConfigurationSetException.prototype);
|
|
285
239
|
}
|
|
286
240
|
};
|
|
287
|
-
const EventType = {
|
|
288
|
-
BOUNCE: "bounce",
|
|
289
|
-
CLICK: "click",
|
|
290
|
-
COMPLAINT: "complaint",
|
|
291
|
-
DELIVERY: "delivery",
|
|
292
|
-
OPEN: "open",
|
|
293
|
-
REJECT: "reject",
|
|
294
|
-
RENDERING_FAILURE: "renderingFailure",
|
|
295
|
-
SEND: "send",
|
|
296
|
-
};
|
|
297
241
|
let EventDestinationAlreadyExistsException$1 = class EventDestinationAlreadyExistsException extends SESServiceException$1 {
|
|
298
242
|
name = "EventDestinationAlreadyExistsException";
|
|
299
243
|
$fault = "client";
|
|
@@ -424,25 +368,6 @@ let FromEmailAddressNotVerifiedException$1 = class FromEmailAddressNotVerifiedEx
|
|
|
424
368
|
this.FromEmailAddress = opts.FromEmailAddress;
|
|
425
369
|
}
|
|
426
370
|
};
|
|
427
|
-
const ReceiptFilterPolicy = {
|
|
428
|
-
Allow: "Allow",
|
|
429
|
-
Block: "Block",
|
|
430
|
-
};
|
|
431
|
-
const InvocationType = {
|
|
432
|
-
Event: "Event",
|
|
433
|
-
RequestResponse: "RequestResponse",
|
|
434
|
-
};
|
|
435
|
-
const SNSActionEncoding = {
|
|
436
|
-
Base64: "Base64",
|
|
437
|
-
UTF8: "UTF-8",
|
|
438
|
-
};
|
|
439
|
-
const StopScope = {
|
|
440
|
-
RULE_SET: "RuleSet",
|
|
441
|
-
};
|
|
442
|
-
const TlsPolicy = {
|
|
443
|
-
Optional: "Optional",
|
|
444
|
-
Require: "Require",
|
|
445
|
-
};
|
|
446
371
|
let InvalidLambdaFunctionException$1 = class InvalidLambdaFunctionException extends SESServiceException$1 {
|
|
447
372
|
name = "InvalidLambdaFunctionException";
|
|
448
373
|
$fault = "client";
|
|
@@ -513,12 +438,6 @@ let InvalidTemplateException$1 = class InvalidTemplateException extends SESServi
|
|
|
513
438
|
this.TemplateName = opts.TemplateName;
|
|
514
439
|
}
|
|
515
440
|
};
|
|
516
|
-
const CustomMailFromStatus = {
|
|
517
|
-
Failed: "Failed",
|
|
518
|
-
Pending: "Pending",
|
|
519
|
-
Success: "Success",
|
|
520
|
-
TemporaryFailure: "TemporaryFailure",
|
|
521
|
-
};
|
|
522
441
|
let CustomVerificationEmailTemplateDoesNotExistException$1 = class CustomVerificationEmailTemplateDoesNotExistException extends SESServiceException$1 {
|
|
523
442
|
name = "CustomVerificationEmailTemplateDoesNotExistException";
|
|
524
443
|
$fault = "client";
|
|
@@ -563,13 +482,6 @@ let TrackingOptionsDoesNotExistException$1 = class TrackingOptionsDoesNotExistEx
|
|
|
563
482
|
this.ConfigurationSetName = opts.ConfigurationSetName;
|
|
564
483
|
}
|
|
565
484
|
};
|
|
566
|
-
const VerificationStatus = {
|
|
567
|
-
Failed: "Failed",
|
|
568
|
-
NotStarted: "NotStarted",
|
|
569
|
-
Pending: "Pending",
|
|
570
|
-
Success: "Success",
|
|
571
|
-
TemporaryFailure: "TemporaryFailure",
|
|
572
|
-
};
|
|
573
485
|
let TemplateDoesNotExistException$1 = class TemplateDoesNotExistException extends SESServiceException$1 {
|
|
574
486
|
name = "TemplateDoesNotExistException";
|
|
575
487
|
$fault = "client";
|
|
@@ -584,10 +496,6 @@ let TemplateDoesNotExistException$1 = class TemplateDoesNotExistException extend
|
|
|
584
496
|
this.TemplateName = opts.TemplateName;
|
|
585
497
|
}
|
|
586
498
|
};
|
|
587
|
-
const IdentityType = {
|
|
588
|
-
Domain: "Domain",
|
|
589
|
-
EmailAddress: "EmailAddress",
|
|
590
|
-
};
|
|
591
499
|
let InvalidDeliveryOptionsException$1 = class InvalidDeliveryOptionsException extends SESServiceException$1 {
|
|
592
500
|
name = "InvalidDeliveryOptionsException";
|
|
593
501
|
$fault = "client";
|
|
@@ -664,11 +572,6 @@ let MissingRenderingAttributeException$1 = class MissingRenderingAttributeExcept
|
|
|
664
572
|
this.TemplateName = opts.TemplateName;
|
|
665
573
|
}
|
|
666
574
|
};
|
|
667
|
-
const NotificationType = {
|
|
668
|
-
Bounce: "Bounce",
|
|
669
|
-
Complaint: "Complaint",
|
|
670
|
-
Delivery: "Delivery",
|
|
671
|
-
};
|
|
672
575
|
let ProductionAccessNotGrantedException$1 = class ProductionAccessNotGrantedException extends SESServiceException$1 {
|
|
673
576
|
name = "ProductionAccessNotGrantedException";
|
|
674
577
|
$fault = "client";
|
|
@@ -3571,6 +3474,104 @@ const waitUntilIdentityExists = async (params, input) => {
|
|
|
3571
3474
|
return utilWaiter.checkExceptions(result);
|
|
3572
3475
|
};
|
|
3573
3476
|
|
|
3477
|
+
const BehaviorOnMXFailure = {
|
|
3478
|
+
RejectMessage: "RejectMessage",
|
|
3479
|
+
UseDefaultValue: "UseDefaultValue",
|
|
3480
|
+
};
|
|
3481
|
+
const BounceType = {
|
|
3482
|
+
ContentRejected: "ContentRejected",
|
|
3483
|
+
DoesNotExist: "DoesNotExist",
|
|
3484
|
+
ExceededQuota: "ExceededQuota",
|
|
3485
|
+
MessageTooLarge: "MessageTooLarge",
|
|
3486
|
+
TemporaryFailure: "TemporaryFailure",
|
|
3487
|
+
Undefined: "Undefined",
|
|
3488
|
+
};
|
|
3489
|
+
const DsnAction = {
|
|
3490
|
+
DELAYED: "delayed",
|
|
3491
|
+
DELIVERED: "delivered",
|
|
3492
|
+
EXPANDED: "expanded",
|
|
3493
|
+
FAILED: "failed",
|
|
3494
|
+
RELAYED: "relayed",
|
|
3495
|
+
};
|
|
3496
|
+
const BulkEmailStatus = {
|
|
3497
|
+
AccountDailyQuotaExceeded: "AccountDailyQuotaExceeded",
|
|
3498
|
+
AccountSendingPaused: "AccountSendingPaused",
|
|
3499
|
+
AccountSuspended: "AccountSuspended",
|
|
3500
|
+
AccountThrottled: "AccountThrottled",
|
|
3501
|
+
ConfigurationSetDoesNotExist: "ConfigurationSetDoesNotExist",
|
|
3502
|
+
ConfigurationSetSendingPaused: "ConfigurationSetSendingPaused",
|
|
3503
|
+
Failed: "Failed",
|
|
3504
|
+
InvalidParameterValue: "InvalidParameterValue",
|
|
3505
|
+
InvalidSendingPoolName: "InvalidSendingPoolName",
|
|
3506
|
+
MailFromDomainNotVerified: "MailFromDomainNotVerified",
|
|
3507
|
+
MessageRejected: "MessageRejected",
|
|
3508
|
+
Success: "Success",
|
|
3509
|
+
TemplateDoesNotExist: "TemplateDoesNotExist",
|
|
3510
|
+
TransientFailure: "TransientFailure",
|
|
3511
|
+
};
|
|
3512
|
+
const DimensionValueSource = {
|
|
3513
|
+
EMAIL_HEADER: "emailHeader",
|
|
3514
|
+
LINK_TAG: "linkTag",
|
|
3515
|
+
MESSAGE_TAG: "messageTag",
|
|
3516
|
+
};
|
|
3517
|
+
const ConfigurationSetAttribute = {
|
|
3518
|
+
DELIVERY_OPTIONS: "deliveryOptions",
|
|
3519
|
+
EVENT_DESTINATIONS: "eventDestinations",
|
|
3520
|
+
REPUTATION_OPTIONS: "reputationOptions",
|
|
3521
|
+
TRACKING_OPTIONS: "trackingOptions",
|
|
3522
|
+
};
|
|
3523
|
+
const EventType = {
|
|
3524
|
+
BOUNCE: "bounce",
|
|
3525
|
+
CLICK: "click",
|
|
3526
|
+
COMPLAINT: "complaint",
|
|
3527
|
+
DELIVERY: "delivery",
|
|
3528
|
+
OPEN: "open",
|
|
3529
|
+
REJECT: "reject",
|
|
3530
|
+
RENDERING_FAILURE: "renderingFailure",
|
|
3531
|
+
SEND: "send",
|
|
3532
|
+
};
|
|
3533
|
+
const ReceiptFilterPolicy = {
|
|
3534
|
+
Allow: "Allow",
|
|
3535
|
+
Block: "Block",
|
|
3536
|
+
};
|
|
3537
|
+
const InvocationType = {
|
|
3538
|
+
Event: "Event",
|
|
3539
|
+
RequestResponse: "RequestResponse",
|
|
3540
|
+
};
|
|
3541
|
+
const SNSActionEncoding = {
|
|
3542
|
+
Base64: "Base64",
|
|
3543
|
+
UTF8: "UTF-8",
|
|
3544
|
+
};
|
|
3545
|
+
const StopScope = {
|
|
3546
|
+
RULE_SET: "RuleSet",
|
|
3547
|
+
};
|
|
3548
|
+
const TlsPolicy = {
|
|
3549
|
+
Optional: "Optional",
|
|
3550
|
+
Require: "Require",
|
|
3551
|
+
};
|
|
3552
|
+
const CustomMailFromStatus = {
|
|
3553
|
+
Failed: "Failed",
|
|
3554
|
+
Pending: "Pending",
|
|
3555
|
+
Success: "Success",
|
|
3556
|
+
TemporaryFailure: "TemporaryFailure",
|
|
3557
|
+
};
|
|
3558
|
+
const VerificationStatus = {
|
|
3559
|
+
Failed: "Failed",
|
|
3560
|
+
NotStarted: "NotStarted",
|
|
3561
|
+
Pending: "Pending",
|
|
3562
|
+
Success: "Success",
|
|
3563
|
+
TemporaryFailure: "TemporaryFailure",
|
|
3564
|
+
};
|
|
3565
|
+
const IdentityType = {
|
|
3566
|
+
Domain: "Domain",
|
|
3567
|
+
EmailAddress: "EmailAddress",
|
|
3568
|
+
};
|
|
3569
|
+
const NotificationType = {
|
|
3570
|
+
Bounce: "Bounce",
|
|
3571
|
+
Complaint: "Complaint",
|
|
3572
|
+
Delivery: "Delivery",
|
|
3573
|
+
};
|
|
3574
|
+
|
|
3574
3575
|
Object.defineProperty(exports, "$Command", {
|
|
3575
3576
|
enumerable: true,
|
|
3576
3577
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./SES";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./waiters";
|
|
6
|
-
export * from "./models";
|
|
6
|
+
export * from "./models/enums";
|
|
7
|
+
export * from "./models/errors";
|
|
7
8
|
export { SESServiceException } from "./models/SESServiceException";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export const BehaviorOnMXFailure = {
|
|
2
|
+
RejectMessage: "RejectMessage",
|
|
3
|
+
UseDefaultValue: "UseDefaultValue",
|
|
4
|
+
};
|
|
5
|
+
export const BounceType = {
|
|
6
|
+
ContentRejected: "ContentRejected",
|
|
7
|
+
DoesNotExist: "DoesNotExist",
|
|
8
|
+
ExceededQuota: "ExceededQuota",
|
|
9
|
+
MessageTooLarge: "MessageTooLarge",
|
|
10
|
+
TemporaryFailure: "TemporaryFailure",
|
|
11
|
+
Undefined: "Undefined",
|
|
12
|
+
};
|
|
13
|
+
export const DsnAction = {
|
|
14
|
+
DELAYED: "delayed",
|
|
15
|
+
DELIVERED: "delivered",
|
|
16
|
+
EXPANDED: "expanded",
|
|
17
|
+
FAILED: "failed",
|
|
18
|
+
RELAYED: "relayed",
|
|
19
|
+
};
|
|
20
|
+
export const BulkEmailStatus = {
|
|
21
|
+
AccountDailyQuotaExceeded: "AccountDailyQuotaExceeded",
|
|
22
|
+
AccountSendingPaused: "AccountSendingPaused",
|
|
23
|
+
AccountSuspended: "AccountSuspended",
|
|
24
|
+
AccountThrottled: "AccountThrottled",
|
|
25
|
+
ConfigurationSetDoesNotExist: "ConfigurationSetDoesNotExist",
|
|
26
|
+
ConfigurationSetSendingPaused: "ConfigurationSetSendingPaused",
|
|
27
|
+
Failed: "Failed",
|
|
28
|
+
InvalidParameterValue: "InvalidParameterValue",
|
|
29
|
+
InvalidSendingPoolName: "InvalidSendingPoolName",
|
|
30
|
+
MailFromDomainNotVerified: "MailFromDomainNotVerified",
|
|
31
|
+
MessageRejected: "MessageRejected",
|
|
32
|
+
Success: "Success",
|
|
33
|
+
TemplateDoesNotExist: "TemplateDoesNotExist",
|
|
34
|
+
TransientFailure: "TransientFailure",
|
|
35
|
+
};
|
|
36
|
+
export const DimensionValueSource = {
|
|
37
|
+
EMAIL_HEADER: "emailHeader",
|
|
38
|
+
LINK_TAG: "linkTag",
|
|
39
|
+
MESSAGE_TAG: "messageTag",
|
|
40
|
+
};
|
|
41
|
+
export const ConfigurationSetAttribute = {
|
|
42
|
+
DELIVERY_OPTIONS: "deliveryOptions",
|
|
43
|
+
EVENT_DESTINATIONS: "eventDestinations",
|
|
44
|
+
REPUTATION_OPTIONS: "reputationOptions",
|
|
45
|
+
TRACKING_OPTIONS: "trackingOptions",
|
|
46
|
+
};
|
|
47
|
+
export const EventType = {
|
|
48
|
+
BOUNCE: "bounce",
|
|
49
|
+
CLICK: "click",
|
|
50
|
+
COMPLAINT: "complaint",
|
|
51
|
+
DELIVERY: "delivery",
|
|
52
|
+
OPEN: "open",
|
|
53
|
+
REJECT: "reject",
|
|
54
|
+
RENDERING_FAILURE: "renderingFailure",
|
|
55
|
+
SEND: "send",
|
|
56
|
+
};
|
|
57
|
+
export const ReceiptFilterPolicy = {
|
|
58
|
+
Allow: "Allow",
|
|
59
|
+
Block: "Block",
|
|
60
|
+
};
|
|
61
|
+
export const InvocationType = {
|
|
62
|
+
Event: "Event",
|
|
63
|
+
RequestResponse: "RequestResponse",
|
|
64
|
+
};
|
|
65
|
+
export const SNSActionEncoding = {
|
|
66
|
+
Base64: "Base64",
|
|
67
|
+
UTF8: "UTF-8",
|
|
68
|
+
};
|
|
69
|
+
export const StopScope = {
|
|
70
|
+
RULE_SET: "RuleSet",
|
|
71
|
+
};
|
|
72
|
+
export const TlsPolicy = {
|
|
73
|
+
Optional: "Optional",
|
|
74
|
+
Require: "Require",
|
|
75
|
+
};
|
|
76
|
+
export const CustomMailFromStatus = {
|
|
77
|
+
Failed: "Failed",
|
|
78
|
+
Pending: "Pending",
|
|
79
|
+
Success: "Success",
|
|
80
|
+
TemporaryFailure: "TemporaryFailure",
|
|
81
|
+
};
|
|
82
|
+
export const VerificationStatus = {
|
|
83
|
+
Failed: "Failed",
|
|
84
|
+
NotStarted: "NotStarted",
|
|
85
|
+
Pending: "Pending",
|
|
86
|
+
Success: "Success",
|
|
87
|
+
TemporaryFailure: "TemporaryFailure",
|
|
88
|
+
};
|
|
89
|
+
export const IdentityType = {
|
|
90
|
+
Domain: "Domain",
|
|
91
|
+
EmailAddress: "EmailAddress",
|
|
92
|
+
};
|
|
93
|
+
export const NotificationType = {
|
|
94
|
+
Bounce: "Bounce",
|
|
95
|
+
Complaint: "Complaint",
|
|
96
|
+
Delivery: "Delivery",
|
|
97
|
+
};
|