@aws-sdk/client-sesv2 3.301.0 → 3.306.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/models/models_0.js +183 -217
- package/dist-es/models/models_0.js +183 -217
- package/dist-types/models/models_0.d.ts +353 -183
- package/dist-types/ts3.4/models/models_0.d.ts +239 -183
- package/package.json +34 -34
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { SESv2ServiceException as __BaseException } from "./SESv2ServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
ReviewStatus["GRANTED"] = "GRANTED";
|
|
18
|
-
ReviewStatus["PENDING"] = "PENDING";
|
|
19
|
-
})(ReviewStatus || (ReviewStatus = {}));
|
|
3
|
+
export const ContactLanguage = {
|
|
4
|
+
EN: "EN",
|
|
5
|
+
JA: "JA",
|
|
6
|
+
};
|
|
7
|
+
export const MailType = {
|
|
8
|
+
MARKETING: "MARKETING",
|
|
9
|
+
TRANSACTIONAL: "TRANSACTIONAL",
|
|
10
|
+
};
|
|
11
|
+
export const ReviewStatus = {
|
|
12
|
+
DENIED: "DENIED",
|
|
13
|
+
FAILED: "FAILED",
|
|
14
|
+
GRANTED: "GRANTED",
|
|
15
|
+
PENDING: "PENDING",
|
|
16
|
+
};
|
|
20
17
|
export class AccountSuspendedException extends __BaseException {
|
|
21
18
|
constructor(opts) {
|
|
22
19
|
super({
|
|
@@ -53,34 +50,30 @@ export class BadRequestException extends __BaseException {
|
|
|
53
50
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
54
51
|
}
|
|
55
52
|
}
|
|
56
|
-
export
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
(function (QueryErrorCode) {
|
|
81
|
-
QueryErrorCode["ACCESS_DENIED"] = "ACCESS_DENIED";
|
|
82
|
-
QueryErrorCode["INTERNAL_FAILURE"] = "INTERNAL_FAILURE";
|
|
83
|
-
})(QueryErrorCode || (QueryErrorCode = {}));
|
|
53
|
+
export const MetricDimensionName = {
|
|
54
|
+
CONFIGURATION_SET: "CONFIGURATION_SET",
|
|
55
|
+
EMAIL_IDENTITY: "EMAIL_IDENTITY",
|
|
56
|
+
ISP: "ISP",
|
|
57
|
+
};
|
|
58
|
+
export const Metric = {
|
|
59
|
+
CLICK: "CLICK",
|
|
60
|
+
COMPLAINT: "COMPLAINT",
|
|
61
|
+
DELIVERY: "DELIVERY",
|
|
62
|
+
DELIVERY_CLICK: "DELIVERY_CLICK",
|
|
63
|
+
DELIVERY_COMPLAINT: "DELIVERY_COMPLAINT",
|
|
64
|
+
DELIVERY_OPEN: "DELIVERY_OPEN",
|
|
65
|
+
OPEN: "OPEN",
|
|
66
|
+
PERMANENT_BOUNCE: "PERMANENT_BOUNCE",
|
|
67
|
+
SEND: "SEND",
|
|
68
|
+
TRANSIENT_BOUNCE: "TRANSIENT_BOUNCE",
|
|
69
|
+
};
|
|
70
|
+
export const MetricNamespace = {
|
|
71
|
+
VDM: "VDM",
|
|
72
|
+
};
|
|
73
|
+
export const QueryErrorCode = {
|
|
74
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
75
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
76
|
+
};
|
|
84
77
|
export class InternalServiceErrorException extends __BaseException {
|
|
85
78
|
constructor(opts) {
|
|
86
79
|
super({
|
|
@@ -117,34 +110,31 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
117
110
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
118
111
|
}
|
|
119
112
|
}
|
|
120
|
-
export
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
DimensionValueSource["LINK_TAG"] = "LINK_TAG";
|
|
146
|
-
DimensionValueSource["MESSAGE_TAG"] = "MESSAGE_TAG";
|
|
147
|
-
})(DimensionValueSource || (DimensionValueSource = {}));
|
|
113
|
+
export const BehaviorOnMxFailure = {
|
|
114
|
+
REJECT_MESSAGE: "REJECT_MESSAGE",
|
|
115
|
+
USE_DEFAULT_VALUE: "USE_DEFAULT_VALUE",
|
|
116
|
+
};
|
|
117
|
+
export const BulkEmailStatus = {
|
|
118
|
+
ACCOUNT_DAILY_QUOTA_EXCEEDED: "ACCOUNT_DAILY_QUOTA_EXCEEDED",
|
|
119
|
+
ACCOUNT_SENDING_PAUSED: "ACCOUNT_SENDING_PAUSED",
|
|
120
|
+
ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED",
|
|
121
|
+
ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED",
|
|
122
|
+
CONFIGURATION_SET_NOT_FOUND: "CONFIGURATION_SET_NOT_FOUND",
|
|
123
|
+
CONFIGURATION_SET_SENDING_PAUSED: "CONFIGURATION_SET_SENDING_PAUSED",
|
|
124
|
+
FAILED: "FAILED",
|
|
125
|
+
INVALID_PARAMETER: "INVALID_PARAMETER",
|
|
126
|
+
INVALID_SENDING_POOL_NAME: "INVALID_SENDING_POOL_NAME",
|
|
127
|
+
MAIL_FROM_DOMAIN_NOT_VERIFIED: "MAIL_FROM_DOMAIN_NOT_VERIFIED",
|
|
128
|
+
MESSAGE_REJECTED: "MESSAGE_REJECTED",
|
|
129
|
+
SUCCESS: "SUCCESS",
|
|
130
|
+
TEMPLATE_NOT_FOUND: "TEMPLATE_NOT_FOUND",
|
|
131
|
+
TRANSIENT_FAILURE: "TRANSIENT_FAILURE",
|
|
132
|
+
};
|
|
133
|
+
export const DimensionValueSource = {
|
|
134
|
+
EMAIL_HEADER: "EMAIL_HEADER",
|
|
135
|
+
LINK_TAG: "LINK_TAG",
|
|
136
|
+
MESSAGE_TAG: "MESSAGE_TAG",
|
|
137
|
+
};
|
|
148
138
|
export class ConcurrentModificationException extends __BaseException {
|
|
149
139
|
constructor(opts) {
|
|
150
140
|
super({
|
|
@@ -169,31 +159,26 @@ export class ConflictException extends __BaseException {
|
|
|
169
159
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
170
160
|
}
|
|
171
161
|
}
|
|
172
|
-
export
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
}
|
|
192
|
-
export var FeatureStatus;
|
|
193
|
-
(function (FeatureStatus) {
|
|
194
|
-
FeatureStatus["DISABLED"] = "DISABLED";
|
|
195
|
-
FeatureStatus["ENABLED"] = "ENABLED";
|
|
196
|
-
})(FeatureStatus || (FeatureStatus = {}));
|
|
162
|
+
export const SubscriptionStatus = {
|
|
163
|
+
OPT_IN: "OPT_IN",
|
|
164
|
+
OPT_OUT: "OPT_OUT",
|
|
165
|
+
};
|
|
166
|
+
export const ContactListImportAction = {
|
|
167
|
+
DELETE: "DELETE",
|
|
168
|
+
PUT: "PUT",
|
|
169
|
+
};
|
|
170
|
+
export const TlsPolicy = {
|
|
171
|
+
OPTIONAL: "OPTIONAL",
|
|
172
|
+
REQUIRE: "REQUIRE",
|
|
173
|
+
};
|
|
174
|
+
export const SuppressionListReason = {
|
|
175
|
+
BOUNCE: "BOUNCE",
|
|
176
|
+
COMPLAINT: "COMPLAINT",
|
|
177
|
+
};
|
|
178
|
+
export const FeatureStatus = {
|
|
179
|
+
DISABLED: "DISABLED",
|
|
180
|
+
ENABLED: "ENABLED",
|
|
181
|
+
};
|
|
197
182
|
export class LimitExceededException extends __BaseException {
|
|
198
183
|
constructor(opts) {
|
|
199
184
|
super({
|
|
@@ -206,29 +191,26 @@ export class LimitExceededException extends __BaseException {
|
|
|
206
191
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
207
192
|
}
|
|
208
193
|
}
|
|
209
|
-
export
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
DeliverabilityTestStatus["COMPLETED"] = "COMPLETED";
|
|
230
|
-
DeliverabilityTestStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
231
|
-
})(DeliverabilityTestStatus || (DeliverabilityTestStatus = {}));
|
|
194
|
+
export const EventType = {
|
|
195
|
+
BOUNCE: "BOUNCE",
|
|
196
|
+
CLICK: "CLICK",
|
|
197
|
+
COMPLAINT: "COMPLAINT",
|
|
198
|
+
DELIVERY: "DELIVERY",
|
|
199
|
+
DELIVERY_DELAY: "DELIVERY_DELAY",
|
|
200
|
+
OPEN: "OPEN",
|
|
201
|
+
REJECT: "REJECT",
|
|
202
|
+
RENDERING_FAILURE: "RENDERING_FAILURE",
|
|
203
|
+
SEND: "SEND",
|
|
204
|
+
SUBSCRIPTION: "SUBSCRIPTION",
|
|
205
|
+
};
|
|
206
|
+
export const ScalingMode = {
|
|
207
|
+
MANAGED: "MANAGED",
|
|
208
|
+
STANDARD: "STANDARD",
|
|
209
|
+
};
|
|
210
|
+
export const DeliverabilityTestStatus = {
|
|
211
|
+
COMPLETED: "COMPLETED",
|
|
212
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
213
|
+
};
|
|
232
214
|
export class MailFromDomainNotVerifiedException extends __BaseException {
|
|
233
215
|
constructor(opts) {
|
|
234
216
|
super({
|
|
@@ -265,78 +247,66 @@ export class SendingPausedException extends __BaseException {
|
|
|
265
247
|
Object.setPrototypeOf(this, SendingPausedException.prototype);
|
|
266
248
|
}
|
|
267
249
|
}
|
|
268
|
-
export
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}
|
|
292
|
-
export
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
}
|
|
328
|
-
export var JobStatus;
|
|
329
|
-
(function (JobStatus) {
|
|
330
|
-
JobStatus["COMPLETED"] = "COMPLETED";
|
|
331
|
-
JobStatus["CREATED"] = "CREATED";
|
|
332
|
-
JobStatus["FAILED"] = "FAILED";
|
|
333
|
-
JobStatus["PROCESSING"] = "PROCESSING";
|
|
334
|
-
})(JobStatus || (JobStatus = {}));
|
|
335
|
-
export var ImportDestinationType;
|
|
336
|
-
(function (ImportDestinationType) {
|
|
337
|
-
ImportDestinationType["CONTACT_LIST"] = "CONTACT_LIST";
|
|
338
|
-
ImportDestinationType["SUPPRESSION_LIST"] = "SUPPRESSION_LIST";
|
|
339
|
-
})(ImportDestinationType || (ImportDestinationType = {}));
|
|
250
|
+
export const DkimSigningKeyLength = {
|
|
251
|
+
RSA_1024_BIT: "RSA_1024_BIT",
|
|
252
|
+
RSA_2048_BIT: "RSA_2048_BIT",
|
|
253
|
+
};
|
|
254
|
+
export const DkimSigningAttributesOrigin = {
|
|
255
|
+
AWS_SES: "AWS_SES",
|
|
256
|
+
EXTERNAL: "EXTERNAL",
|
|
257
|
+
};
|
|
258
|
+
export const DkimStatus = {
|
|
259
|
+
FAILED: "FAILED",
|
|
260
|
+
NOT_STARTED: "NOT_STARTED",
|
|
261
|
+
PENDING: "PENDING",
|
|
262
|
+
SUCCESS: "SUCCESS",
|
|
263
|
+
TEMPORARY_FAILURE: "TEMPORARY_FAILURE",
|
|
264
|
+
};
|
|
265
|
+
export const IdentityType = {
|
|
266
|
+
DOMAIN: "DOMAIN",
|
|
267
|
+
EMAIL_ADDRESS: "EMAIL_ADDRESS",
|
|
268
|
+
MANAGED_DOMAIN: "MANAGED_DOMAIN",
|
|
269
|
+
};
|
|
270
|
+
export const DataFormat = {
|
|
271
|
+
CSV: "CSV",
|
|
272
|
+
JSON: "JSON",
|
|
273
|
+
};
|
|
274
|
+
export const SuppressionListImportAction = {
|
|
275
|
+
DELETE: "DELETE",
|
|
276
|
+
PUT: "PUT",
|
|
277
|
+
};
|
|
278
|
+
export const WarmupStatus = {
|
|
279
|
+
DONE: "DONE",
|
|
280
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
281
|
+
};
|
|
282
|
+
export const DeliverabilityDashboardAccountStatus = {
|
|
283
|
+
ACTIVE: "ACTIVE",
|
|
284
|
+
DISABLED: "DISABLED",
|
|
285
|
+
PENDING_EXPIRATION: "PENDING_EXPIRATION",
|
|
286
|
+
};
|
|
287
|
+
export const MailFromDomainStatus = {
|
|
288
|
+
FAILED: "FAILED",
|
|
289
|
+
PENDING: "PENDING",
|
|
290
|
+
SUCCESS: "SUCCESS",
|
|
291
|
+
TEMPORARY_FAILURE: "TEMPORARY_FAILURE",
|
|
292
|
+
};
|
|
293
|
+
export const VerificationStatus = {
|
|
294
|
+
FAILED: "FAILED",
|
|
295
|
+
NOT_STARTED: "NOT_STARTED",
|
|
296
|
+
PENDING: "PENDING",
|
|
297
|
+
SUCCESS: "SUCCESS",
|
|
298
|
+
TEMPORARY_FAILURE: "TEMPORARY_FAILURE",
|
|
299
|
+
};
|
|
300
|
+
export const JobStatus = {
|
|
301
|
+
COMPLETED: "COMPLETED",
|
|
302
|
+
CREATED: "CREATED",
|
|
303
|
+
FAILED: "FAILED",
|
|
304
|
+
PROCESSING: "PROCESSING",
|
|
305
|
+
};
|
|
306
|
+
export const ImportDestinationType = {
|
|
307
|
+
CONTACT_LIST: "CONTACT_LIST",
|
|
308
|
+
SUPPRESSION_LIST: "SUPPRESSION_LIST",
|
|
309
|
+
};
|
|
340
310
|
export class InvalidNextTokenException extends __BaseException {
|
|
341
311
|
constructor(opts) {
|
|
342
312
|
super({
|
|
@@ -349,30 +319,26 @@ export class InvalidNextTokenException extends __BaseException {
|
|
|
349
319
|
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
350
320
|
}
|
|
351
321
|
}
|
|
352
|
-
export
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
RecommendationType["DKIM"] = "DKIM";
|
|
373
|
-
RecommendationType["DMARC"] = "DMARC";
|
|
374
|
-
RecommendationType["SPF"] = "SPF";
|
|
375
|
-
})(RecommendationType || (RecommendationType = {}));
|
|
322
|
+
export const ListRecommendationsFilterKey = {
|
|
323
|
+
IMPACT: "IMPACT",
|
|
324
|
+
RESOURCE_ARN: "RESOURCE_ARN",
|
|
325
|
+
STATUS: "STATUS",
|
|
326
|
+
TYPE: "TYPE",
|
|
327
|
+
};
|
|
328
|
+
export const RecommendationImpact = {
|
|
329
|
+
HIGH: "HIGH",
|
|
330
|
+
LOW: "LOW",
|
|
331
|
+
};
|
|
332
|
+
export const RecommendationStatus = {
|
|
333
|
+
FIXED: "FIXED",
|
|
334
|
+
OPEN: "OPEN",
|
|
335
|
+
};
|
|
336
|
+
export const RecommendationType = {
|
|
337
|
+
BIMI: "BIMI",
|
|
338
|
+
DKIM: "DKIM",
|
|
339
|
+
DMARC: "DMARC",
|
|
340
|
+
SPF: "SPF",
|
|
341
|
+
};
|
|
376
342
|
export const AccountDetailsFilterSensitiveLog = (obj) => ({
|
|
377
343
|
...obj,
|
|
378
344
|
...(obj.WebsiteURL && { WebsiteURL: SENSITIVE_STRING }),
|