sesv2.d.ts
116 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config';
interface Blob {}
declare class SESV2 extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: SESV2.Types.ClientConfiguration)
config: Config & SESV2.Types.ClientConfiguration;
/**
* Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
*/
createConfigurationSet(params: SESV2.Types.CreateConfigurationSetRequest, callback?: (err: AWSError, data: SESV2.Types.CreateConfigurationSetResponse) => void): Request<SESV2.Types.CreateConfigurationSetResponse, AWSError>;
/**
* Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
*/
createConfigurationSet(callback?: (err: AWSError, data: SESV2.Types.CreateConfigurationSetResponse) => void): Request<SESV2.Types.CreateConfigurationSetResponse, AWSError>;
/**
* Create an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage. A single configuration set can include more than one event destination.
*/
createConfigurationSetEventDestination(params: SESV2.Types.CreateConfigurationSetEventDestinationRequest, callback?: (err: AWSError, data: SESV2.Types.CreateConfigurationSetEventDestinationResponse) => void): Request<SESV2.Types.CreateConfigurationSetEventDestinationResponse, AWSError>;
/**
* Create an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage. A single configuration set can include more than one event destination.
*/
createConfigurationSetEventDestination(callback?: (err: AWSError, data: SESV2.Types.CreateConfigurationSetEventDestinationResponse) => void): Request<SESV2.Types.CreateConfigurationSetEventDestinationResponse, AWSError>;
/**
* Create a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your AWS account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, the message is sent from one of the addresses in the associated pool.
*/
createDedicatedIpPool(params: SESV2.Types.CreateDedicatedIpPoolRequest, callback?: (err: AWSError, data: SESV2.Types.CreateDedicatedIpPoolResponse) => void): Request<SESV2.Types.CreateDedicatedIpPoolResponse, AWSError>;
/**
* Create a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your AWS account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, the message is sent from one of the addresses in the associated pool.
*/
createDedicatedIpPool(callback?: (err: AWSError, data: SESV2.Types.CreateDedicatedIpPoolResponse) => void): Request<SESV2.Types.CreateDedicatedIpPoolResponse, AWSError>;
/**
* Create a new predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. Amazon SES API v2 then sends that message to special email addresses spread across several major email providers. After about 24 hours, the test is complete, and you can use the GetDeliverabilityTestReport operation to view the results of the test.
*/
createDeliverabilityTestReport(params: SESV2.Types.CreateDeliverabilityTestReportRequest, callback?: (err: AWSError, data: SESV2.Types.CreateDeliverabilityTestReportResponse) => void): Request<SESV2.Types.CreateDeliverabilityTestReportResponse, AWSError>;
/**
* Create a new predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. Amazon SES API v2 then sends that message to special email addresses spread across several major email providers. After about 24 hours, the test is complete, and you can use the GetDeliverabilityTestReport operation to view the results of the test.
*/
createDeliverabilityTestReport(callback?: (err: AWSError, data: SESV2.Types.CreateDeliverabilityTestReportResponse) => void): Request<SESV2.Types.CreateDeliverabilityTestReportResponse, AWSError>;
/**
* Starts the process of verifying an email identity. An identity is an email address or domain that you use when you send email. Before you can use an identity to send email, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2 permission to send email from the identity. When you verify an email address, Amazon SES sends an email to the address. Your email address is verified as soon as you follow the link in the verification email. When you verify a domain, this operation provides a set of DKIM tokens, which you can convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. For some DNS providers, it can take 72 hours or more to complete the domain verification process.
*/
createEmailIdentity(params: SESV2.Types.CreateEmailIdentityRequest, callback?: (err: AWSError, data: SESV2.Types.CreateEmailIdentityResponse) => void): Request<SESV2.Types.CreateEmailIdentityResponse, AWSError>;
/**
* Starts the process of verifying an email identity. An identity is an email address or domain that you use when you send email. Before you can use an identity to send email, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2 permission to send email from the identity. When you verify an email address, Amazon SES sends an email to the address. Your email address is verified as soon as you follow the link in the verification email. When you verify a domain, this operation provides a set of DKIM tokens, which you can convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. For some DNS providers, it can take 72 hours or more to complete the domain verification process.
*/
createEmailIdentity(callback?: (err: AWSError, data: SESV2.Types.CreateEmailIdentityResponse) => void): Request<SESV2.Types.CreateEmailIdentityResponse, AWSError>;
/**
* Delete an existing configuration set. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
*/
deleteConfigurationSet(params: SESV2.Types.DeleteConfigurationSetRequest, callback?: (err: AWSError, data: SESV2.Types.DeleteConfigurationSetResponse) => void): Request<SESV2.Types.DeleteConfigurationSetResponse, AWSError>;
/**
* Delete an existing configuration set. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
*/
deleteConfigurationSet(callback?: (err: AWSError, data: SESV2.Types.DeleteConfigurationSetResponse) => void): Request<SESV2.Types.DeleteConfigurationSetResponse, AWSError>;
/**
* Delete an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
*/
deleteConfigurationSetEventDestination(params: SESV2.Types.DeleteConfigurationSetEventDestinationRequest, callback?: (err: AWSError, data: SESV2.Types.DeleteConfigurationSetEventDestinationResponse) => void): Request<SESV2.Types.DeleteConfigurationSetEventDestinationResponse, AWSError>;
/**
* Delete an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
*/
deleteConfigurationSetEventDestination(callback?: (err: AWSError, data: SESV2.Types.DeleteConfigurationSetEventDestinationResponse) => void): Request<SESV2.Types.DeleteConfigurationSetEventDestinationResponse, AWSError>;
/**
* Delete a dedicated IP pool.
*/
deleteDedicatedIpPool(params: SESV2.Types.DeleteDedicatedIpPoolRequest, callback?: (err: AWSError, data: SESV2.Types.DeleteDedicatedIpPoolResponse) => void): Request<SESV2.Types.DeleteDedicatedIpPoolResponse, AWSError>;
/**
* Delete a dedicated IP pool.
*/
deleteDedicatedIpPool(callback?: (err: AWSError, data: SESV2.Types.DeleteDedicatedIpPoolResponse) => void): Request<SESV2.Types.DeleteDedicatedIpPoolResponse, AWSError>;
/**
* Deletes an email identity. An identity can be either an email address or a domain name.
*/
deleteEmailIdentity(params: SESV2.Types.DeleteEmailIdentityRequest, callback?: (err: AWSError, data: SESV2.Types.DeleteEmailIdentityResponse) => void): Request<SESV2.Types.DeleteEmailIdentityResponse, AWSError>;
/**
* Deletes an email identity. An identity can be either an email address or a domain name.
*/
deleteEmailIdentity(callback?: (err: AWSError, data: SESV2.Types.DeleteEmailIdentityResponse) => void): Request<SESV2.Types.DeleteEmailIdentityResponse, AWSError>;
/**
* Used to delete a suppressed email destination from your suppression list.
*/
deleteSuppressedDestination(params: SESV2.Types.DeleteSuppressedDestinationRequest, callback?: (err: AWSError, data: SESV2.Types.DeleteSuppressedDestinationResponse) => void): Request<SESV2.Types.DeleteSuppressedDestinationResponse, AWSError>;
/**
* Used to delete a suppressed email destination from your suppression list.
*/
deleteSuppressedDestination(callback?: (err: AWSError, data: SESV2.Types.DeleteSuppressedDestinationResponse) => void): Request<SESV2.Types.DeleteSuppressedDestinationResponse, AWSError>;
/**
* Obtain information about the email-sending status and capabilities of your Amazon SES account in the current AWS Region.
*/
getAccount(params: SESV2.Types.GetAccountRequest, callback?: (err: AWSError, data: SESV2.Types.GetAccountResponse) => void): Request<SESV2.Types.GetAccountResponse, AWSError>;
/**
* Obtain information about the email-sending status and capabilities of your Amazon SES account in the current AWS Region.
*/
getAccount(callback?: (err: AWSError, data: SESV2.Types.GetAccountResponse) => void): Request<SESV2.Types.GetAccountResponse, AWSError>;
/**
* Retrieve a list of the blacklists that your dedicated IP addresses appear on.
*/
getBlacklistReports(params: SESV2.Types.GetBlacklistReportsRequest, callback?: (err: AWSError, data: SESV2.Types.GetBlacklistReportsResponse) => void): Request<SESV2.Types.GetBlacklistReportsResponse, AWSError>;
/**
* Retrieve a list of the blacklists that your dedicated IP addresses appear on.
*/
getBlacklistReports(callback?: (err: AWSError, data: SESV2.Types.GetBlacklistReportsResponse) => void): Request<SESV2.Types.GetBlacklistReportsResponse, AWSError>;
/**
* Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
*/
getConfigurationSet(params: SESV2.Types.GetConfigurationSetRequest, callback?: (err: AWSError, data: SESV2.Types.GetConfigurationSetResponse) => void): Request<SESV2.Types.GetConfigurationSetResponse, AWSError>;
/**
* Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
*/
getConfigurationSet(callback?: (err: AWSError, data: SESV2.Types.GetConfigurationSetResponse) => void): Request<SESV2.Types.GetConfigurationSetResponse, AWSError>;
/**
* Retrieve a list of event destinations that are associated with a configuration set. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
*/
getConfigurationSetEventDestinations(params: SESV2.Types.GetConfigurationSetEventDestinationsRequest, callback?: (err: AWSError, data: SESV2.Types.GetConfigurationSetEventDestinationsResponse) => void): Request<SESV2.Types.GetConfigurationSetEventDestinationsResponse, AWSError>;
/**
* Retrieve a list of event destinations that are associated with a configuration set. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
*/
getConfigurationSetEventDestinations(callback?: (err: AWSError, data: SESV2.Types.GetConfigurationSetEventDestinationsResponse) => void): Request<SESV2.Types.GetConfigurationSetEventDestinationsResponse, AWSError>;
/**
* Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.
*/
getDedicatedIp(params: SESV2.Types.GetDedicatedIpRequest, callback?: (err: AWSError, data: SESV2.Types.GetDedicatedIpResponse) => void): Request<SESV2.Types.GetDedicatedIpResponse, AWSError>;
/**
* Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.
*/
getDedicatedIp(callback?: (err: AWSError, data: SESV2.Types.GetDedicatedIpResponse) => void): Request<SESV2.Types.GetDedicatedIpResponse, AWSError>;
/**
* List the dedicated IP addresses that are associated with your AWS account.
*/
getDedicatedIps(params: SESV2.Types.GetDedicatedIpsRequest, callback?: (err: AWSError, data: SESV2.Types.GetDedicatedIpsResponse) => void): Request<SESV2.Types.GetDedicatedIpsResponse, AWSError>;
/**
* List the dedicated IP addresses that are associated with your AWS account.
*/
getDedicatedIps(callback?: (err: AWSError, data: SESV2.Types.GetDedicatedIpsResponse) => void): Request<SESV2.Types.GetDedicatedIpsResponse, AWSError>;
/**
* Retrieve information about the status of the Deliverability dashboard for your account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests. When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other AWS services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
*/
getDeliverabilityDashboardOptions(params: SESV2.Types.GetDeliverabilityDashboardOptionsRequest, callback?: (err: AWSError, data: SESV2.Types.GetDeliverabilityDashboardOptionsResponse) => void): Request<SESV2.Types.GetDeliverabilityDashboardOptionsResponse, AWSError>;
/**
* Retrieve information about the status of the Deliverability dashboard for your account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests. When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other AWS services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
*/
getDeliverabilityDashboardOptions(callback?: (err: AWSError, data: SESV2.Types.GetDeliverabilityDashboardOptionsResponse) => void): Request<SESV2.Types.GetDeliverabilityDashboardOptionsResponse, AWSError>;
/**
* Retrieve the results of a predictive inbox placement test.
*/
getDeliverabilityTestReport(params: SESV2.Types.GetDeliverabilityTestReportRequest, callback?: (err: AWSError, data: SESV2.Types.GetDeliverabilityTestReportResponse) => void): Request<SESV2.Types.GetDeliverabilityTestReportResponse, AWSError>;
/**
* Retrieve the results of a predictive inbox placement test.
*/
getDeliverabilityTestReport(callback?: (err: AWSError, data: SESV2.Types.GetDeliverabilityTestReportResponse) => void): Request<SESV2.Types.GetDeliverabilityTestReportResponse, AWSError>;
/**
* Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for.
*/
getDomainDeliverabilityCampaign(params: SESV2.Types.GetDomainDeliverabilityCampaignRequest, callback?: (err: AWSError, data: SESV2.Types.GetDomainDeliverabilityCampaignResponse) => void): Request<SESV2.Types.GetDomainDeliverabilityCampaignResponse, AWSError>;
/**
* Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for.
*/
getDomainDeliverabilityCampaign(callback?: (err: AWSError, data: SESV2.Types.GetDomainDeliverabilityCampaignResponse) => void): Request<SESV2.Types.GetDomainDeliverabilityCampaignResponse, AWSError>;
/**
* Retrieve inbox placement and engagement rates for the domains that you use to send email.
*/
getDomainStatisticsReport(params: SESV2.Types.GetDomainStatisticsReportRequest, callback?: (err: AWSError, data: SESV2.Types.GetDomainStatisticsReportResponse) => void): Request<SESV2.Types.GetDomainStatisticsReportResponse, AWSError>;
/**
* Retrieve inbox placement and engagement rates for the domains that you use to send email.
*/
getDomainStatisticsReport(callback?: (err: AWSError, data: SESV2.Types.GetDomainStatisticsReportResponse) => void): Request<SESV2.Types.GetDomainStatisticsReportResponse, AWSError>;
/**
* Provides information about a specific identity, including the identity's verification status, its DKIM authentication status, and its custom Mail-From settings.
*/
getEmailIdentity(params: SESV2.Types.GetEmailIdentityRequest, callback?: (err: AWSError, data: SESV2.Types.GetEmailIdentityResponse) => void): Request<SESV2.Types.GetEmailIdentityResponse, AWSError>;
/**
* Provides information about a specific identity, including the identity's verification status, its DKIM authentication status, and its custom Mail-From settings.
*/
getEmailIdentity(callback?: (err: AWSError, data: SESV2.Types.GetEmailIdentityResponse) => void): Request<SESV2.Types.GetEmailIdentityResponse, AWSError>;
/**
* Used to fetch a single suppressed email destination from your suppression list.
*/
getSuppressedDestination(params: SESV2.Types.GetSuppressedDestinationRequest, callback?: (err: AWSError, data: SESV2.Types.GetSuppressedDestinationResponse) => void): Request<SESV2.Types.GetSuppressedDestinationResponse, AWSError>;
/**
* Used to fetch a single suppressed email destination from your suppression list.
*/
getSuppressedDestination(callback?: (err: AWSError, data: SESV2.Types.GetSuppressedDestinationResponse) => void): Request<SESV2.Types.GetSuppressedDestinationResponse, AWSError>;
/**
* List all of the configuration sets associated with your account in the current region. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
*/
listConfigurationSets(params: SESV2.Types.ListConfigurationSetsRequest, callback?: (err: AWSError, data: SESV2.Types.ListConfigurationSetsResponse) => void): Request<SESV2.Types.ListConfigurationSetsResponse, AWSError>;
/**
* List all of the configuration sets associated with your account in the current region. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
*/
listConfigurationSets(callback?: (err: AWSError, data: SESV2.Types.ListConfigurationSetsResponse) => void): Request<SESV2.Types.ListConfigurationSetsResponse, AWSError>;
/**
* List all of the dedicated IP pools that exist in your AWS account in the current Region.
*/
listDedicatedIpPools(params: SESV2.Types.ListDedicatedIpPoolsRequest, callback?: (err: AWSError, data: SESV2.Types.ListDedicatedIpPoolsResponse) => void): Request<SESV2.Types.ListDedicatedIpPoolsResponse, AWSError>;
/**
* List all of the dedicated IP pools that exist in your AWS account in the current Region.
*/
listDedicatedIpPools(callback?: (err: AWSError, data: SESV2.Types.ListDedicatedIpPoolsResponse) => void): Request<SESV2.Types.ListDedicatedIpPoolsResponse, AWSError>;
/**
* Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses. For predictive inbox placement tests that are complete, you can use the GetDeliverabilityTestReport operation to view the results.
*/
listDeliverabilityTestReports(params: SESV2.Types.ListDeliverabilityTestReportsRequest, callback?: (err: AWSError, data: SESV2.Types.ListDeliverabilityTestReportsResponse) => void): Request<SESV2.Types.ListDeliverabilityTestReportsResponse, AWSError>;
/**
* Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses. For predictive inbox placement tests that are complete, you can use the GetDeliverabilityTestReport operation to view the results.
*/
listDeliverabilityTestReports(callback?: (err: AWSError, data: SESV2.Types.ListDeliverabilityTestReportsResponse) => void): Request<SESV2.Types.ListDeliverabilityTestReportsResponse, AWSError>;
/**
* Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain.
*/
listDomainDeliverabilityCampaigns(params: SESV2.Types.ListDomainDeliverabilityCampaignsRequest, callback?: (err: AWSError, data: SESV2.Types.ListDomainDeliverabilityCampaignsResponse) => void): Request<SESV2.Types.ListDomainDeliverabilityCampaignsResponse, AWSError>;
/**
* Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain.
*/
listDomainDeliverabilityCampaigns(callback?: (err: AWSError, data: SESV2.Types.ListDomainDeliverabilityCampaignsResponse) => void): Request<SESV2.Types.ListDomainDeliverabilityCampaignsResponse, AWSError>;
/**
* Returns a list of all of the email identities that are associated with your AWS account. An identity can be either an email address or a domain. This operation returns identities that are verified as well as those that aren't. This operation returns identities that are associated with Amazon SES and Amazon Pinpoint.
*/
listEmailIdentities(params: SESV2.Types.ListEmailIdentitiesRequest, callback?: (err: AWSError, data: SESV2.Types.ListEmailIdentitiesResponse) => void): Request<SESV2.Types.ListEmailIdentitiesResponse, AWSError>;
/**
* Returns a list of all of the email identities that are associated with your AWS account. An identity can be either an email address or a domain. This operation returns identities that are verified as well as those that aren't. This operation returns identities that are associated with Amazon SES and Amazon Pinpoint.
*/
listEmailIdentities(callback?: (err: AWSError, data: SESV2.Types.ListEmailIdentitiesResponse) => void): Request<SESV2.Types.ListEmailIdentitiesResponse, AWSError>;
/**
* Used to fetch a list suppressed email destinations from your suppression list.
*/
listSuppressedDestinations(params: SESV2.Types.ListSuppressedDestinationsRequest, callback?: (err: AWSError, data: SESV2.Types.ListSuppressedDestinationsResponse) => void): Request<SESV2.Types.ListSuppressedDestinationsResponse, AWSError>;
/**
* Used to fetch a list suppressed email destinations from your suppression list.
*/
listSuppressedDestinations(callback?: (err: AWSError, data: SESV2.Types.ListSuppressedDestinationsResponse) => void): Request<SESV2.Types.ListSuppressedDestinationsResponse, AWSError>;
/**
* Retrieve a list of the tags (keys and values) that are associated with a specified resource. A tag is a label that you optionally define and associate with a resource. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
*/
listTagsForResource(params: SESV2.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: SESV2.Types.ListTagsForResourceResponse) => void): Request<SESV2.Types.ListTagsForResourceResponse, AWSError>;
/**
* Retrieve a list of the tags (keys and values) that are associated with a specified resource. A tag is a label that you optionally define and associate with a resource. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
*/
listTagsForResource(callback?: (err: AWSError, data: SESV2.Types.ListTagsForResourceResponse) => void): Request<SESV2.Types.ListTagsForResourceResponse, AWSError>;
/**
* Enable or disable the automatic warm-up feature for dedicated IP addresses.
*/
putAccountDedicatedIpWarmupAttributes(params: SESV2.Types.PutAccountDedicatedIpWarmupAttributesRequest, callback?: (err: AWSError, data: SESV2.Types.PutAccountDedicatedIpWarmupAttributesResponse) => void): Request<SESV2.Types.PutAccountDedicatedIpWarmupAttributesResponse, AWSError>;
/**
* Enable or disable the automatic warm-up feature for dedicated IP addresses.
*/
putAccountDedicatedIpWarmupAttributes(callback?: (err: AWSError, data: SESV2.Types.PutAccountDedicatedIpWarmupAttributesResponse) => void): Request<SESV2.Types.PutAccountDedicatedIpWarmupAttributesResponse, AWSError>;
/**
* Enable or disable the ability of your account to send email.
*/
putAccountSendingAttributes(params: SESV2.Types.PutAccountSendingAttributesRequest, callback?: (err: AWSError, data: SESV2.Types.PutAccountSendingAttributesResponse) => void): Request<SESV2.Types.PutAccountSendingAttributesResponse, AWSError>;
/**
* Enable or disable the ability of your account to send email.
*/
putAccountSendingAttributes(callback?: (err: AWSError, data: SESV2.Types.PutAccountSendingAttributesResponse) => void): Request<SESV2.Types.PutAccountSendingAttributesResponse, AWSError>;
/**
* Change your account's suppression preferences for your account.
*/
putAccountSuppressionAttributes(params: SESV2.Types.PutAccountSuppressionAttributesRequest, callback?: (err: AWSError, data: SESV2.Types.PutAccountSuppressionAttributesResponse) => void): Request<SESV2.Types.PutAccountSuppressionAttributesResponse, AWSError>;
/**
* Change your account's suppression preferences for your account.
*/
putAccountSuppressionAttributes(callback?: (err: AWSError, data: SESV2.Types.PutAccountSuppressionAttributesResponse) => void): Request<SESV2.Types.PutAccountSuppressionAttributesResponse, AWSError>;
/**
* Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.
*/
putConfigurationSetDeliveryOptions(params: SESV2.Types.PutConfigurationSetDeliveryOptionsRequest, callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetDeliveryOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetDeliveryOptionsResponse, AWSError>;
/**
* Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.
*/
putConfigurationSetDeliveryOptions(callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetDeliveryOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetDeliveryOptionsResponse, AWSError>;
/**
* Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific AWS Region.
*/
putConfigurationSetReputationOptions(params: SESV2.Types.PutConfigurationSetReputationOptionsRequest, callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetReputationOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetReputationOptionsResponse, AWSError>;
/**
* Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific AWS Region.
*/
putConfigurationSetReputationOptions(callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetReputationOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetReputationOptionsResponse, AWSError>;
/**
* Enable or disable email sending for messages that use a particular configuration set in a specific AWS Region.
*/
putConfigurationSetSendingOptions(params: SESV2.Types.PutConfigurationSetSendingOptionsRequest, callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetSendingOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetSendingOptionsResponse, AWSError>;
/**
* Enable or disable email sending for messages that use a particular configuration set in a specific AWS Region.
*/
putConfigurationSetSendingOptions(callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetSendingOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetSendingOptionsResponse, AWSError>;
/**
* Specify your account's suppression preferences for a configuration set.
*/
putConfigurationSetSuppressionOptions(params: SESV2.Types.PutConfigurationSetSuppressionOptionsRequest, callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetSuppressionOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetSuppressionOptionsResponse, AWSError>;
/**
* Specify your account's suppression preferences for a configuration set.
*/
putConfigurationSetSuppressionOptions(callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetSuppressionOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetSuppressionOptionsResponse, AWSError>;
/**
* Specify a custom domain to use for open and click tracking elements in email that you send.
*/
putConfigurationSetTrackingOptions(params: SESV2.Types.PutConfigurationSetTrackingOptionsRequest, callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetTrackingOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetTrackingOptionsResponse, AWSError>;
/**
* Specify a custom domain to use for open and click tracking elements in email that you send.
*/
putConfigurationSetTrackingOptions(callback?: (err: AWSError, data: SESV2.Types.PutConfigurationSetTrackingOptionsResponse) => void): Request<SESV2.Types.PutConfigurationSetTrackingOptionsResponse, AWSError>;
/**
* Move a dedicated IP address to an existing dedicated IP pool. The dedicated IP address that you specify must already exist, and must be associated with your AWS account. The dedicated IP pool you specify must already exist. You can create a new pool by using the CreateDedicatedIpPool operation.
*/
putDedicatedIpInPool(params: SESV2.Types.PutDedicatedIpInPoolRequest, callback?: (err: AWSError, data: SESV2.Types.PutDedicatedIpInPoolResponse) => void): Request<SESV2.Types.PutDedicatedIpInPoolResponse, AWSError>;
/**
* Move a dedicated IP address to an existing dedicated IP pool. The dedicated IP address that you specify must already exist, and must be associated with your AWS account. The dedicated IP pool you specify must already exist. You can create a new pool by using the CreateDedicatedIpPool operation.
*/
putDedicatedIpInPool(callback?: (err: AWSError, data: SESV2.Types.PutDedicatedIpInPoolResponse) => void): Request<SESV2.Types.PutDedicatedIpInPoolResponse, AWSError>;
/**
*
*/
putDedicatedIpWarmupAttributes(params: SESV2.Types.PutDedicatedIpWarmupAttributesRequest, callback?: (err: AWSError, data: SESV2.Types.PutDedicatedIpWarmupAttributesResponse) => void): Request<SESV2.Types.PutDedicatedIpWarmupAttributesResponse, AWSError>;
/**
*
*/
putDedicatedIpWarmupAttributes(callback?: (err: AWSError, data: SESV2.Types.PutDedicatedIpWarmupAttributesResponse) => void): Request<SESV2.Types.PutDedicatedIpWarmupAttributesResponse, AWSError>;
/**
* Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests. When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other AWS services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
*/
putDeliverabilityDashboardOption(params: SESV2.Types.PutDeliverabilityDashboardOptionRequest, callback?: (err: AWSError, data: SESV2.Types.PutDeliverabilityDashboardOptionResponse) => void): Request<SESV2.Types.PutDeliverabilityDashboardOptionResponse, AWSError>;
/**
* Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests. When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other AWS services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
*/
putDeliverabilityDashboardOption(callback?: (err: AWSError, data: SESV2.Types.PutDeliverabilityDashboardOptionResponse) => void): Request<SESV2.Types.PutDeliverabilityDashboardOptionResponse, AWSError>;
/**
* Used to enable or disable DKIM authentication for an email identity.
*/
putEmailIdentityDkimAttributes(params: SESV2.Types.PutEmailIdentityDkimAttributesRequest, callback?: (err: AWSError, data: SESV2.Types.PutEmailIdentityDkimAttributesResponse) => void): Request<SESV2.Types.PutEmailIdentityDkimAttributesResponse, AWSError>;
/**
* Used to enable or disable DKIM authentication for an email identity.
*/
putEmailIdentityDkimAttributes(callback?: (err: AWSError, data: SESV2.Types.PutEmailIdentityDkimAttributesResponse) => void): Request<SESV2.Types.PutEmailIdentityDkimAttributesResponse, AWSError>;
/**
* Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event. If the value is true, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
*/
putEmailIdentityFeedbackAttributes(params: SESV2.Types.PutEmailIdentityFeedbackAttributesRequest, callback?: (err: AWSError, data: SESV2.Types.PutEmailIdentityFeedbackAttributesResponse) => void): Request<SESV2.Types.PutEmailIdentityFeedbackAttributesResponse, AWSError>;
/**
* Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event. If the value is true, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
*/
putEmailIdentityFeedbackAttributes(callback?: (err: AWSError, data: SESV2.Types.PutEmailIdentityFeedbackAttributesResponse) => void): Request<SESV2.Types.PutEmailIdentityFeedbackAttributesResponse, AWSError>;
/**
* Used to enable or disable the custom Mail-From domain configuration for an email identity.
*/
putEmailIdentityMailFromAttributes(params: SESV2.Types.PutEmailIdentityMailFromAttributesRequest, callback?: (err: AWSError, data: SESV2.Types.PutEmailIdentityMailFromAttributesResponse) => void): Request<SESV2.Types.PutEmailIdentityMailFromAttributesResponse, AWSError>;
/**
* Used to enable or disable the custom Mail-From domain configuration for an email identity.
*/
putEmailIdentityMailFromAttributes(callback?: (err: AWSError, data: SESV2.Types.PutEmailIdentityMailFromAttributesResponse) => void): Request<SESV2.Types.PutEmailIdentityMailFromAttributesResponse, AWSError>;
/**
* Puts (overwrites) an email destination in your suppression list.
*/
putSuppressedDestination(params: SESV2.Types.PutSuppressedDestinationRequest, callback?: (err: AWSError, data: SESV2.Types.PutSuppressedDestinationResponse) => void): Request<SESV2.Types.PutSuppressedDestinationResponse, AWSError>;
/**
* Puts (overwrites) an email destination in your suppression list.
*/
putSuppressedDestination(callback?: (err: AWSError, data: SESV2.Types.PutSuppressedDestinationResponse) => void): Request<SESV2.Types.PutSuppressedDestinationResponse, AWSError>;
/**
* Sends an email message. You can use the Amazon SES API v2 to send two types of messages: Simple – A standard email message. When you create this type of message, you specify the sender, the recipient, and the message body, and the Amazon SES API v2 assembles the message for you. Raw – A raw, MIME-formatted email message. When you send this type of email, you have to specify all of the message headers, as well as the message body. You can use this message type to send messages that contain attachments. The message that you specify has to be a valid MIME message.
*/
sendEmail(params: SESV2.Types.SendEmailRequest, callback?: (err: AWSError, data: SESV2.Types.SendEmailResponse) => void): Request<SESV2.Types.SendEmailResponse, AWSError>;
/**
* Sends an email message. You can use the Amazon SES API v2 to send two types of messages: Simple – A standard email message. When you create this type of message, you specify the sender, the recipient, and the message body, and the Amazon SES API v2 assembles the message for you. Raw – A raw, MIME-formatted email message. When you send this type of email, you have to specify all of the message headers, as well as the message body. You can use this message type to send messages that contain attachments. The message that you specify has to be a valid MIME message.
*/
sendEmail(callback?: (err: AWSError, data: SESV2.Types.SendEmailResponse) => void): Request<SESV2.Types.SendEmailResponse, AWSError>;
/**
* Add one or more tags (keys and values) to a specified resource. A tag is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
*/
tagResource(params: SESV2.Types.TagResourceRequest, callback?: (err: AWSError, data: SESV2.Types.TagResourceResponse) => void): Request<SESV2.Types.TagResourceResponse, AWSError>;
/**
* Add one or more tags (keys and values) to a specified resource. A tag is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
*/
tagResource(callback?: (err: AWSError, data: SESV2.Types.TagResourceResponse) => void): Request<SESV2.Types.TagResourceResponse, AWSError>;
/**
* Remove one or more tags (keys and values) from a specified resource.
*/
untagResource(params: SESV2.Types.UntagResourceRequest, callback?: (err: AWSError, data: SESV2.Types.UntagResourceResponse) => void): Request<SESV2.Types.UntagResourceResponse, AWSError>;
/**
* Remove one or more tags (keys and values) from a specified resource.
*/
untagResource(callback?: (err: AWSError, data: SESV2.Types.UntagResourceResponse) => void): Request<SESV2.Types.UntagResourceResponse, AWSError>;
/**
* Update the configuration of an event destination for a configuration set. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
*/
updateConfigurationSetEventDestination(params: SESV2.Types.UpdateConfigurationSetEventDestinationRequest, callback?: (err: AWSError, data: SESV2.Types.UpdateConfigurationSetEventDestinationResponse) => void): Request<SESV2.Types.UpdateConfigurationSetEventDestinationResponse, AWSError>;
/**
* Update the configuration of an event destination for a configuration set. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
*/
updateConfigurationSetEventDestination(callback?: (err: AWSError, data: SESV2.Types.UpdateConfigurationSetEventDestinationResponse) => void): Request<SESV2.Types.UpdateConfigurationSetEventDestinationResponse, AWSError>;
}
declare namespace SESV2 {
export type AmazonResourceName = string;
export type BehaviorOnMxFailure = "USE_DEFAULT_VALUE"|"REJECT_MESSAGE"|string;
export type BlacklistEntries = BlacklistEntry[];
export interface BlacklistEntry {
/**
* The name of the blacklist that the IP address appears on.
*/
RblName?: RblName;
/**
* The time when the blacklisting event occurred, shown in Unix time format.
*/
ListingTime?: Timestamp;
/**
* Additional information about the blacklisting event, as provided by the blacklist maintainer.
*/
Description?: BlacklistingDescription;
}
export type BlacklistItemName = string;
export type BlacklistItemNames = BlacklistItemName[];
export type BlacklistReport = {[key: string]: BlacklistEntries};
export type BlacklistingDescription = string;
export interface Body {
/**
* An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering.
*/
Text?: Content;
/**
* An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more.
*/
Html?: Content;
}
export type CampaignId = string;
export type Charset = string;
export interface CloudWatchDestination {
/**
* An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
*/
DimensionConfigurations: CloudWatchDimensionConfigurations;
}
export interface CloudWatchDimensionConfiguration {
/**
* The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria: It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.
*/
DimensionName: DimensionName;
/**
* The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. If you want to use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail or SendRawEmail API, choose messageTag. If you want to use your own email headers, choose emailHeader. If you want to use link tags, choose linkTags.
*/
DimensionValueSource: DimensionValueSource;
/**
* The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria: It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.
*/
DefaultDimensionValue: DefaultDimensionValue;
}
export type CloudWatchDimensionConfigurations = CloudWatchDimensionConfiguration[];
export type ConfigurationSetName = string;
export type ConfigurationSetNameList = ConfigurationSetName[];
export interface Content {
/**
* The content of the message itself.
*/
Data: MessageData;
/**
* The character set for the content. Because of the constraints of the SMTP protocol, the Amazon SES API v2 uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify UTF-8, ISO-8859-1, or Shift_JIS.
*/
Charset?: Charset;
}
export interface CreateConfigurationSetEventDestinationRequest {
/**
* The name of the configuration set that you want to add an event destination to.
*/
ConfigurationSetName: ConfigurationSetName;
/**
* A name that identifies the event destination within the configuration set.
*/
EventDestinationName: EventDestinationName;
/**
* An object that defines the event destination.
*/
EventDestination: EventDestinationDefinition;
}
export interface CreateConfigurationSetEventDestinationResponse {
}
export interface CreateConfigurationSetRequest {
/**
* The name of the configuration set.
*/
ConfigurationSetName: ConfigurationSetName;
/**
* An object that defines the open and click tracking options for emails that you send using the configuration set.
*/
TrackingOptions?: TrackingOptions;
/**
* An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
*/
DeliveryOptions?: DeliveryOptions;
/**
* An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
*/
ReputationOptions?: ReputationOptions;
/**
* An object that defines whether or not Amazon SES can send email that you send using the configuration set.
*/
SendingOptions?: SendingOptions;
/**
* An array of objects that define the tags (keys and values) that you want to associate with the configuration set.
*/
Tags?: TagList;
SuppressionOptions?: SuppressionOptions;
}
export interface CreateConfigurationSetResponse {
}
export interface CreateDedicatedIpPoolRequest {
/**
* The name of the dedicated IP pool.
*/
PoolName: PoolName;
/**
* An object that defines the tags (keys and values) that you want to associate with the pool.
*/
Tags?: TagList;
}
export interface CreateDedicatedIpPoolResponse {
}
export interface CreateDeliverabilityTestReportRequest {
/**
* A unique name that helps you to identify the predictive inbox placement test when you retrieve the results.
*/
ReportName?: ReportName;
/**
* The email address that the predictive inbox placement test email was sent from.
*/
FromEmailAddress: EmailAddress;
/**
* The HTML body of the message that you sent when you performed the predictive inbox placement test.
*/
Content: EmailContent;
/**
* An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox placement test.
*/
Tags?: TagList;
}
export interface CreateDeliverabilityTestReportResponse {
/**
* A unique string that identifies the predictive inbox placement test.
*/
ReportId: ReportId;
/**
* The status of the predictive inbox placement test. If the status is IN_PROGRESS, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is COMPLETE, then the test is finished, and you can use the GetDeliverabilityTestReport to view the results of the test.
*/
DeliverabilityTestStatus: DeliverabilityTestStatus;
}
export interface CreateEmailIdentityRequest {
/**
* The email address or domain that you want to verify.
*/
EmailIdentity: Identity;
/**
* An array of objects that define the tags (keys and values) that you want to associate with the email identity.
*/
Tags?: TagList;
}
export interface CreateEmailIdentityResponse {
/**
* The email identity type.
*/
IdentityType?: IdentityType;
/**
* Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.
*/
VerifiedForSendingStatus?: Enabled;
/**
* An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.
*/
DkimAttributes?: DkimAttributes;
}
export type CustomRedirectDomain = string;
export interface DailyVolume {
/**
* The date that the DailyVolume metrics apply to, in Unix time.
*/
StartDate?: Timestamp;
/**
* An object that contains inbox placement metrics for a specific day in the analysis period.
*/
VolumeStatistics?: VolumeStatistics;
/**
* An object that contains inbox placement metrics for a specified day in the analysis period, broken out by the recipient's email provider.
*/
DomainIspPlacements?: DomainIspPlacements;
}
export type DailyVolumes = DailyVolume[];
export interface DedicatedIp {
/**
* An IPv4 address.
*/
Ip: Ip;
/**
* The warm-up status of a dedicated IP address. The status can have one of the following values: IN_PROGRESS – The IP address isn't ready to use because the dedicated IP warm-up process is ongoing. DONE – The dedicated IP warm-up process is complete, and the IP address is ready to use.
*/
WarmupStatus: WarmupStatus;
/**
* Indicates how complete the dedicated IP warm-up process is. When this value equals 1, the address has completed the warm-up process and is ready for use.
*/
WarmupPercentage: Percentage100Wrapper;
/**
* The name of the dedicated IP pool that the IP address is associated with.
*/
PoolName?: PoolName;
}
export type DedicatedIpList = DedicatedIp[];
export type DefaultDimensionValue = string;
export interface DeleteConfigurationSetEventDestinationRequest {
/**
* The name of the configuration set that contains the event destination that you want to delete.
*/
ConfigurationSetName: ConfigurationSetName;
/**
* The name of the event destination that you want to delete.
*/
EventDestinationName: EventDestinationName;
}
export interface DeleteConfigurationSetEventDestinationResponse {
}
export interface DeleteConfigurationSetRequest {
/**
* The name of the configuration set that you want to delete.
*/
ConfigurationSetName: ConfigurationSetName;
}
export interface DeleteConfigurationSetResponse {
}
export interface DeleteDedicatedIpPoolRequest {
/**
* The name of the dedicated IP pool that you want to delete.
*/
PoolName: PoolName;
}
export interface DeleteDedicatedIpPoolResponse {
}
export interface DeleteEmailIdentityRequest {
/**
* The identity (that is, the email address or domain) that you want to delete.
*/
EmailIdentity: Identity;
}
export interface DeleteEmailIdentityResponse {
}
export interface DeleteSuppressedDestinationRequest {
/**
* The suppressed email destination to delete.
*/
EmailAddress: EmailAddress;
}
export interface DeleteSuppressedDestinationResponse {
}
export type DeliverabilityDashboardAccountStatus = "ACTIVE"|"PENDING_EXPIRATION"|"DISABLED"|string;
export interface DeliverabilityTestReport {
/**
* A unique string that identifies the predictive inbox placement test.
*/
ReportId?: ReportId;
/**
* A name that helps you identify a predictive inbox placement test report.
*/
ReportName?: ReportName;
/**
* The subject line for an email that you submitted in a predictive inbox placement test.
*/
Subject?: DeliverabilityTestSubject;
/**
* The sender address that you specified for the predictive inbox placement test.
*/
FromEmailAddress?: EmailAddress;
/**
* The date and time when the predictive inbox placement test was created, in Unix time format.
*/
CreateDate?: Timestamp;
/**
* The status of the predictive inbox placement test. If the status is IN_PROGRESS, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is COMPLETE, then the test is finished, and you can use the GetDeliverabilityTestReport to view the results of the test.
*/
DeliverabilityTestStatus?: DeliverabilityTestStatus;
}
export type DeliverabilityTestReports = DeliverabilityTestReport[];
export type DeliverabilityTestStatus = "IN_PROGRESS"|"COMPLETED"|string;
export type DeliverabilityTestSubject = string;
export interface DeliveryOptions {
/**
* Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.
*/
TlsPolicy?: TlsPolicy;
/**
* The name of the dedicated IP pool that you want to associate with the configuration set.
*/
SendingPoolName?: PoolName;
}
export interface Destination {
/**
* An array that contains the email addresses of the "To" recipients for the email.
*/
ToAddresses?: EmailAddressList;
/**
* An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
*/
CcAddresses?: EmailAddressList;
/**
* An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
*/
BccAddresses?: EmailAddressList;
}
export type DimensionName = string;
export type DimensionValueSource = "MESSAGE_TAG"|"EMAIL_HEADER"|"LINK_TAG"|string;
export interface DkimAttributes {
/**
* If the value is true, then the messages that you send from the identity are signed using DKIM. If the value is false, then the messages that you send from the identity aren't DKIM-signed.
*/
SigningEnabled?: Enabled;
/**
* Describes whether or not Amazon SES has successfully located the DKIM records in the DNS records for the domain. The status can be one of the following: PENDING – Amazon SES hasn't yet detected the DKIM records in the DNS configuration for the domain, but will continue to attempt to locate them. SUCCESS – Amazon SES located the DKIM records in the DNS configuration for the domain and determined that they're correct. You can now send DKIM-signed email from the identity. FAILED – Amazon SES wasn't able to locate the DKIM records in the DNS settings for the domain, and won't continue to search for them. TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the DKIM status for the domain. NOT_STARTED – Amazon SES hasn't yet started searching for the DKIM records in the DKIM records for the domain.
*/
Status?: DkimStatus;
/**
* A set of unique strings that you use to create a set of CNAME records that you add to the DNS configuration for your domain. When Amazon SES detects these records in the DNS configuration for your domain, the DKIM authentication process is complete. Amazon SES usually detects these records within about 72 hours of adding them to the DNS configuration for your domain.
*/
Tokens?: DnsTokenList;
}
export type DkimStatus = "PENDING"|"SUCCESS"|"FAILED"|"TEMPORARY_FAILURE"|"NOT_STARTED"|string;
export type DnsToken = string;
export type DnsTokenList = DnsToken[];
export type Domain = string;
export interface DomainDeliverabilityCampaign {
/**
* The unique identifier for the campaign. The Deliverability dashboard automatically generates and assigns this identifier to a campaign.
*/
CampaignId?: CampaignId;
/**
* The URL of an image that contains a snapshot of the email message that was sent.
*/
ImageUrl?: ImageUrl;
/**
* The subject line, or title, of the email message.
*/
Subject?: Subject;
/**
* The verified email address that the email message was sent from.
*/
FromAddress?: Identity;
/**
* The IP addresses that were used to send the email message.
*/
SendingIps?: IpList;
/**
* The first time, in Unix time format, when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
*/
FirstSeenDateTime?: Timestamp;
/**
* The last time, in Unix time format, when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
*/
LastSeenDateTime?: Timestamp;
/**
* The number of email messages that were delivered to recipients’ inboxes.
*/
InboxCount?: Volume;
/**
* The number of email messages that were delivered to recipients' spam or junk mail folders.
*/
SpamCount?: Volume;
/**
* The percentage of email messages that were opened by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
*/
ReadRate?: Percentage;
/**
* The percentage of email messages that were deleted by recipients, without being opened first. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
*/
DeleteRate?: Percentage;
/**
* The percentage of email messages that were opened and then deleted by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
*/
ReadDeleteRate?: Percentage;
/**
* The projected number of recipients that the email message was sent to.
*/
ProjectedVolume?: Volume;
/**
* The major email providers who handled the email message.
*/
Esps?: Esps;
}
export type DomainDeliverabilityCampaignList = DomainDeliverabilityCampaign[];
export interface DomainDeliverabilityTrackingOption {
/**
* A verified domain that’s associated with your AWS account and currently has an active Deliverability dashboard subscription.
*/
Domain?: Domain;
/**
* The date, in Unix time format, when you enabled the Deliverability dashboard for the domain.
*/
SubscriptionStartDate?: Timestamp;
/**
* An object that contains information about the inbox placement data settings for the domain.
*/
InboxPlacementTrackingOption?: InboxPlacementTrackingOption;
}
export type DomainDeliverabilityTrackingOptions = DomainDeliverabilityTrackingOption[];
export interface DomainIspPlacement {
/**
* The name of the email provider that the inbox placement data applies to.
*/
IspName?: IspName;
/**
* The total number of messages that were sent from the selected domain to the specified email provider that arrived in recipients' inboxes.
*/
InboxRawCount?: Volume;
/**
* The total number of messages that were sent from the selected domain to the specified email provider that arrived in recipients' spam or junk mail folders.
*/
SpamRawCount?: Volume;
/**
* The percentage of messages that were sent from the selected domain to the specified email provider that arrived in recipients' inboxes.
*/
InboxPercentage?: Percentage;
/**
* The percentage of messages that were sent from the selected domain to the specified email provider that arrived in recipients' spam or junk mail folders.
*/
SpamPercentage?: Percentage;
}
export type DomainIspPlacements = DomainIspPlacement[];
export type EmailAddress = string;
export type EmailAddressList = EmailAddress[];
export interface EmailContent {
/**
* The simple email message. The message consists of a subject and a message body.
*/
Simple?: Message;
/**
* The raw email message. The message has to meet the following criteria: The message has to contain a header and a body, separated by one blank line. All of the required header fields must be present in the message. Each part of a multipart MIME message must be formatted properly. If you include attachments, they must be in a file format that the Amazon SES API v2 supports. The entire message must be Base64 encoded. If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly. The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.
*/
Raw?: RawMessage;
/**
* The template to use for the email message.
*/
Template?: Template;
}
export type Enabled = boolean;
export type Esp = string;
export type Esps = Esp[];
export interface EventDestination {
/**
* A name that identifies the event destination.
*/
Name: EventDestinationName;
/**
* If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition. If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.
*/
Enabled?: Enabled;
/**
* The types of events that Amazon SES sends to the specified event destinations.
*/
MatchingEventTypes: EventTypes;
/**
* An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.
*/
KinesisFirehoseDestination?: KinesisFirehoseDestination;
/**
* An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.
*/
CloudWatchDestination?: CloudWatchDestination;
/**
* An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.
*/
SnsDestination?: SnsDestination;
/**
* An object that defines an Amazon Pinpoint project destination for email events. You can send email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging dashboards that are built in to Amazon Pinpoint. For more information, see Transactional Messaging Charts in the Amazon Pinpoint User Guide.
*/
PinpointDestination?: PinpointDestination;
}
export interface EventDestinationDefinition {
/**
* If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition. If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.
*/
Enabled?: Enabled;
/**
* An array that specifies which events the Amazon SES API v2 should send to the destinations in this EventDestinationDefinition.
*/
MatchingEventTypes?: EventTypes;
/**
* An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.
*/
KinesisFirehoseDestination?: KinesisFirehoseDestination;
/**
* An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.
*/
CloudWatchDestination?: CloudWatchDestination;
/**
* An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.
*/
SnsDestination?: SnsDestination;
/**
* An object that defines an Amazon Pinpoint project destination for email events. You can send email event data to a Amazon Pinpoint project to view metrics using the Transactional Messaging dashboards that are built in to Amazon Pinpoint. For more information, see Transactional Messaging Charts in the Amazon Pinpoint User Guide.
*/
PinpointDestination?: PinpointDestination;
}
export type EventDestinationName = string;
export type EventDestinations = EventDestination[];
export type EventType = "SEND"|"REJECT"|"BOUNCE"|"COMPLAINT"|"DELIVERY"|"OPEN"|"CLICK"|"RENDERING_FAILURE"|string;
export type EventTypes = EventType[];
export type FeedbackId = string;
export type GeneralEnforcementStatus = string;
export interface GetAccountRequest {
}
export interface GetAccountResponse {
/**
* Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.
*/
DedicatedIpAutoWarmupEnabled?: Enabled;
/**
* The reputation status of your Amazon SES account. The status can be one of the following: HEALTHY – There are no reputation-related issues that currently impact your account. PROBATION – We've identified potential issues with your Amazon SES account. We're placing your account under review while you work on correcting these issues. SHUTDOWN – Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed.
*/
EnforcementStatus?: GeneralEnforcementStatus;
/**
* Indicates whether or not your account has production access in the current AWS Region. If the value is false, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities. Additionally, the maximum number of emails you can send in a 24-hour period (your sending quota) is 200, and the maximum number of emails you can send per second (your maximum sending rate) is 1. If the value is true, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.
*/
ProductionAccessEnabled?: Enabled;
/**
* An object that contains information about the per-day and per-second sending limits for your Amazon SES account in the current AWS Region.
*/
SendQuota?: SendQuota;
/**
* Indicates whether or not email sending is enabled for your Amazon SES account in the current AWS Region.
*/
SendingEnabled?: Enabled;
/**
* An object that contains information about your account's suppression preferences.
*/
SuppressionAttributes?: SuppressionAttributes;
}
export interface GetBlacklistReportsRequest {
/**
* A list of IP addresses that you want to retrieve blacklist information about. You can only specify the dedicated IP addresses that you use to send email using Amazon SES or Amazon Pinpoint.
*/
BlacklistItemNames: BlacklistItemNames;
}
export interface GetBlacklistReportsResponse {
/**
* An object that contains information about a blacklist that one of your dedicated IP addresses appears on.
*/
BlacklistReport: BlacklistReport;
}
export interface GetConfigurationSetEventDestinationsRequest {
/**
* The name of the configuration set that contains the event destination.
*/
ConfigurationSetName: ConfigurationSetName;
}
export interface GetConfigurationSetEventDestinationsResponse {
/**
* An array that includes all of the events destinations that have been configured for the configuration set.
*/
EventDestinations?: EventDestinations;
}
export interface GetConfigurationSetRequest {
/**
* The name of the configuration set that you want to obtain more information about.
*/
ConfigurationSetName: ConfigurationSetName;
}
export interface GetConfigurationSetResponse {
/**
* The name of the configuration set.
*/
ConfigurationSetName?: ConfigurationSetName;
/**
* An object that defines the open and click tracking options for emails that you send using the configuration set.
*/
TrackingOptions?: TrackingOptions;
/**
* An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
*/
DeliveryOptions?: DeliveryOptions;
/**
* An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
*/
ReputationOptions?: ReputationOptions;
/**
* An object that defines whether or not Amazon SES can send email that you send using the configuration set.
*/
SendingOptions?: SendingOptions;
/**
* An array of objects that define the tags (keys and values) that are associated with the configuration set.
*/
Tags?: TagList;
/**
* An object that contains information about your account's suppression preferences.
*/
SuppressionOptions?: SuppressionOptions;
}
export interface GetDedicatedIpRequest {
/**
* The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP address that's assocaited with your AWS account.
*/
Ip: Ip;
}
export interface GetDedicatedIpResponse {
/**
* An object that contains information about a dedicated IP address.
*/
DedicatedIp?: DedicatedIp;
}
export interface GetDedicatedIpsRequest {
/**
* The name of the IP pool that the dedicated IP address is associated with.
*/
PoolName?: PoolName;
/**
* A token returned from a previous call to GetDedicatedIps to indicate the position of the dedicated IP pool in the list of IP pools.
*/
NextToken?: NextToken;
/**
* The number of results to show in a single call to GetDedicatedIpsRequest. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.
*/
PageSize?: MaxItems;
}
export interface GetDedicatedIpsResponse {
/**
* A list of dedicated IP addresses that are associated with your AWS account.
*/
DedicatedIps?: DedicatedIpList;
/**
* A token that indicates that there are additional dedicated IP addresses to list. To view additional addresses, issue another request to GetDedicatedIps, passing this token in the NextToken parameter.
*/
NextToken?: NextToken;
}
export interface GetDeliverabilityDashboardOptionsRequest {
}
export interface GetDeliverabilityDashboardOptionsResponse {
/**
* Specifies whether the Deliverability dashboard is enabled. If this value is true, the dashboard is enabled.
*/
DashboardEnabled: Enabled;
/**
* The date, in Unix time format, when your current subscription to the Deliverability dashboard is scheduled to expire, if your subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an active subscription that isn’t due to expire at the end of the month.
*/
SubscriptionExpiryDate?: Timestamp;
/**
* The current status of your Deliverability dashboard subscription. If this value is PENDING_EXPIRATION, your subscription is scheduled to expire at the end of the current calendar month.
*/
AccountStatus?: DeliverabilityDashboardAccountStatus;
/**
* An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month.
*/
ActiveSubscribedDomains?: DomainDeliverabilityTrackingOptions;
/**
* An array of objects, one for each verified domain that you use to send email and currently has an active Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month.
*/
PendingExpirationSubscribedDomains?: DomainDeliverabilityTrackingOptions;
}
export interface GetDeliverabilityTestReportRequest {
/**
* A unique string that identifies the predictive inbox placement test.
*/
ReportId: ReportId;
}
export interface GetDeliverabilityTestReportResponse {
/**
* An object that contains the results of the predictive inbox placement test.
*/
DeliverabilityTestReport: DeliverabilityTestReport;
/**
* An object that specifies how many test messages that were sent during the predictive inbox placement test were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered.
*/
OverallPlacement: PlacementStatistics;
/**
* An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, Yahoo, AOL, and others.
*/
IspPlacements: IspPlacements;
/**
* An object that contains the message that you sent when you performed this predictive inbox placement test.
*/
Message?: MessageContent;
/**
* An array of objects that define the tags (keys and values) that are associated with the predictive inbox placement test.
*/
Tags?: TagList;
}
export interface GetDomainDeliverabilityCampaignRequest {
/**
* The unique identifier for the campaign. The Deliverability dashboard automatically generates and assigns this identifier to a campaign.
*/
CampaignId: CampaignId;
}
export interface GetDomainDeliverabilityCampaignResponse {
/**
* An object that contains the deliverability data for the campaign.
*/
DomainDeliverabilityCampaign: DomainDeliverabilityCampaign;
}
export interface GetDomainStatisticsReportRequest {
/**
* The domain that you want to obtain deliverability metrics for.
*/
Domain: Identity;
/**
* The first day (in Unix time) that you want to obtain domain deliverability metrics for.
*/
StartDate: Timestamp;
/**
* The last day (in Unix time) that you want to obtain domain deliverability metrics for. The EndDate that you specify has to be less than or equal to 30 days after the StartDate.
*/
EndDate: Timestamp;
}
export interface GetDomainStatisticsReportResponse {
/**
* An object that contains deliverability metrics for the domain that you specified. The data in this object is a summary of all of the data that was collected from the StartDate to the EndDate.
*/
OverallVolume: OverallVolume;
/**
* An object that contains deliverability metrics for the domain that you specified. This object contains data for each day, starting on the StartDate and ending on the EndDate.
*/
DailyVolumes: DailyVolumes;
}
export interface GetEmailIdentityRequest {
/**
* The email identity that you want to retrieve details for.
*/
EmailIdentity: Identity;
}
export interface GetEmailIdentityResponse {
/**
* The email identity type.
*/
IdentityType?: IdentityType;
/**
* The feedback forwarding configuration for the identity. If the value is true, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
*/
FeedbackForwardingStatus?: Enabled;
/**
* Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.
*/
VerifiedForSendingStatus?: Enabled;
/**
* An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.
*/
DkimAttributes?: DkimAttributes;
/**
* An object that contains information about the Mail-From attributes for the email identity.
*/
MailFromAttributes?: MailFromAttributes;
/**
* An array of objects that define the tags (keys and values) that are associated with the email identity.
*/
Tags?: TagList;
}
export interface GetSuppressedDestinationRequest {
/**
* Email destination to fetch from the suppression list.
*/
EmailAddress: EmailAddress;
}
export interface GetSuppressedDestinationResponse {
/**
* An object containing information about the suppressed email destination.
*/
SuppressedDestination: SuppressedDestination;
}
export type Identity = string;
export interface IdentityInfo {
/**
* The email identity type. The identity type can be one of the following: EMAIL_ADDRESS – The identity is an email address. DOMAIN – The identity is a domain. MANAGED_DOMAIN – The identity is a domain that is managed by AWS.
*/
IdentityType?: IdentityType;
/**
* The address or domain of the identity.
*/
IdentityName?: Identity;
/**
* Indicates whether or not you can send email from the identity. An identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon SES to send email from that identity.
*/
SendingEnabled?: Enabled;
}
export type IdentityInfoList = IdentityInfo[];
export type IdentityType = "EMAIL_ADDRESS"|"DOMAIN"|"MANAGED_DOMAIN"|string;
export type ImageUrl = string;
export interface InboxPlacementTrackingOption {
/**
* Specifies whether inbox placement data is being tracked for the domain.
*/
Global?: Enabled;
/**
* An array of strings, one for each major email provider that the inbox placement data applies to.
*/
TrackedIsps?: IspNameList;
}
export type Ip = string;
export type IpList = Ip[];
export type IspName = string;
export type IspNameList = IspName[];
export interface IspPlacement {
/**
* The name of the email provider that the inbox placement data applies to.
*/
IspName?: IspName;
/**
* An object that contains inbox placement metrics for a specific email provider.
*/
PlacementStatistics?: PlacementStatistics;
}
export type IspPlacements = IspPlacement[];
export interface KinesisFirehoseDestination {
/**
* The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
*/
IamRoleArn: AmazonResourceName;
/**
* The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.
*/
DeliveryStreamArn: AmazonResourceName;
}
export type LastFreshStart = Date;
export interface ListConfigurationSetsRequest {
/**
* A token returned from a previous call to ListConfigurationSets to indicate the position in the list of configuration sets.
*/
NextToken?: NextToken;
/**
* The number of results to show in a single call to ListConfigurationSets. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.
*/
PageSize?: MaxItems;
}
export interface ListConfigurationSetsResponse {
/**
* An array that contains all of the configuration sets in your Amazon SES account in the current AWS Region.
*/
ConfigurationSets?: ConfigurationSetNameList;
/**
* A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to ListConfigurationSets, and pass this token in the NextToken parameter.
*/
NextToken?: NextToken;
}
export interface ListDedicatedIpPoolsRequest {
/**
* A token returned from a previous call to ListDedicatedIpPools to indicate the position in the list of dedicated IP pools.
*/
NextToken?: NextToken;
/**
* The number of results to show in a single call to ListDedicatedIpPools. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.
*/
PageSize?: MaxItems;
}
export interface ListDedicatedIpPoolsResponse {
/**
* A list of all of the dedicated IP pools that are associated with your AWS account in the current Region.
*/
DedicatedIpPools?: ListOfDedicatedIpPools;
/**
* A token that indicates that there are additional IP pools to list. To view additional IP pools, issue another request to ListDedicatedIpPools, passing this token in the NextToken parameter.
*/
NextToken?: NextToken;
}
export interface ListDeliverabilityTestReportsRequest {
/**
* A token returned from a previous call to ListDeliverabilityTestReports to indicate the position in the list of predictive inbox placement tests.
*/
NextToken?: NextToken;
/**
* The number of results to show in a single call to ListDeliverabilityTestReports. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results. The value you specify has to be at least 0, and can be no more than 1000.
*/
PageSize?: MaxItems;
}
export interface ListDeliverabilityTestReportsResponse {
/**
* An object that contains a lists of predictive inbox placement tests that you've performed.
*/
DeliverabilityTestReports: DeliverabilityTestReports;
/**
* A token that indicates that there are additional predictive inbox placement tests to list. To view additional predictive inbox placement tests, issue another request to ListDeliverabilityTestReports, and pass this token in the NextToken parameter.
*/
NextToken?: NextToken;
}
export interface ListDomainDeliverabilityCampaignsRequest {
/**
* The first day, in Unix time format, that you want to obtain deliverability data for.
*/
StartDate: Timestamp;
/**
* The last day, in Unix time format, that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the StartDate parameter.
*/
EndDate: Timestamp;
/**
* The domain to obtain deliverability data for.
*/
SubscribedDomain: Domain;
/**
* A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns operation. This token indicates the position of a campaign in the list of campaigns.
*/
NextToken?: NextToken;
/**
* The maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns operation. If the number of results is larger than the number that you specify in this parameter, the response includes a NextToken element, which you can use to obtain additional results.
*/
PageSize?: MaxItems;
}
export interface ListDomainDeliverabilityCampaignsResponse {
/**
* An array of responses, one for each campaign that used the domain to send email during the specified time range.
*/
DomainDeliverabilityCampaigns: DomainDeliverabilityCampaignList;
/**
* A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns operation. This token indicates the position of the campaign in the list of campaigns.
*/
NextToken?: NextToken;
}
export interface ListEmailIdentitiesRequest {
/**
* A token returned from a previous call to ListEmailIdentities to indicate the position in the list of identities.
*/
NextToken?: NextToken;
/**
* The number of results to show in a single call to ListEmailIdentities. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results. The value you specify has to be at least 0, and can be no more than 1000.
*/
PageSize?: MaxItems;
}
export interface ListEmailIdentitiesResponse {
/**
* An array that includes all of the email identities associated with your AWS account.
*/
EmailIdentities?: IdentityInfoList;
/**
* A token that indicates that there are additional configuration sets to list. To view additional configuration sets, issue another request to ListEmailIdentities, and pass this token in the NextToken parameter.
*/
NextToken?: NextToken;
}
export type ListOfDedicatedIpPools = PoolName[];
export interface ListSuppressedDestinationsRequest {
/**
* Filters email destinations suppressed by the given reasons.
*/
Reasons?: SuppressionListReasons;
/**
* Filters email destinations suppressed before the given time.
*/
StartDate?: Timestamp;
/**
* Filters email destinations suppressed after the given time.
*/
EndDate?: Timestamp;
/**
* A token returned from a previous call to ListSuppressedDestinations to indicate the position in the list of suppressed email destinations.
*/
NextToken?: NextToken;
/**
* The number of results to show in a single call to ListSuppressedDestinations. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.
*/
PageSize?: MaxItems;
}
export interface ListSuppressedDestinationsResponse {
/**
* A list of summaries, each containing a summary for a suppressed email destination.
*/
SuppressedDestinationSummaries?: SuppressedDestinationSummaries;
/**
* A token that indicates that there are additional suppressed destinations to list. To view additional suppressed destinations, issue another request to ListSuppressedDestinations, and pass this token in the NextToken parameter.
*/
NextToken?: NextToken;
}
export interface ListTagsForResourceRequest {
/**
* The Amazon Resource Name (ARN) of the resource that you want to retrieve tag information for.
*/
ResourceArn: AmazonResourceName;
}
export interface ListTagsForResourceResponse {
/**
* An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (Key) and an associated tag value (Value)
*/
Tags: TagList;
}
export interface MailFromAttributes {
/**
* The name of a domain that an email identity uses as a custom MAIL FROM domain.
*/
MailFromDomain: MailFromDomainName;
/**
* The status of the MAIL FROM domain. This status can have the following values: PENDING – Amazon SES hasn't started searching for the MX record yet. SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain. FAILED – Amazon SES can't find the required MX record, or the record no longer exists. TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.
*/
MailFromDomainStatus: MailFromDomainStatus;
/**
* The action that you want to take if the required MX record can't be found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email. These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.
*/
BehaviorOnMxFailure: BehaviorOnMxFailure;
}
export type MailFromDomainName = string;
export type MailFromDomainStatus = "PENDING"|"SUCCESS"|"FAILED"|"TEMPORARY_FAILURE"|string;
export type Max24HourSend = number;
export type MaxItems = number;
export type MaxSendRate = number;
export interface Message {
/**
* The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.
*/
Subject: Content;
/**
* The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.
*/
Body: Body;
}
export type MessageContent = string;
export type MessageData = string;
export interface MessageTag {
/**
* The name of the message tag. The message tag name has to meet the following criteria: It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.
*/
Name: MessageTagName;
/**
* The value of the message tag. The message tag value has to meet the following criteria: It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.
*/
Value: MessageTagValue;
}
export type MessageTagList = MessageTag[];
export type MessageTagName = string;
export type MessageTagValue = string;
export type NextToken = string;
export type OutboundMessageId = string;
export interface OverallVolume {
/**
* An object that contains information about the numbers of messages that arrived in recipients' inboxes and junk mail folders.
*/
VolumeStatistics?: VolumeStatistics;
/**
* The percentage of emails that were sent from the domain that were read by their recipients.
*/
ReadRatePercent?: Percentage;
/**
* An object that contains inbox and junk mail placement metrics for individual email providers.
*/
DomainIspPlacements?: DomainIspPlacements;
}
export type Percentage = number;
export type Percentage100Wrapper = number;
export interface PinpointDestination {
/**
* The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want to send email events to.
*/
ApplicationArn?: AmazonResourceName;
}
export interface PlacementStatistics {
/**
* The percentage of emails that arrived in recipients' inboxes during the predictive inbox placement test.
*/
InboxPercentage?: Percentage;
/**
* The percentage of emails that arrived in recipients' spam or junk mail folders during the predictive inbox placement test.
*/
SpamPercentage?: Percentage;
/**
* The percentage of emails that didn't arrive in recipients' inboxes at all during the predictive inbox placement test.
*/
MissingPercentage?: Percentage;
/**
* The percentage of emails that were authenticated by using Sender Policy Framework (SPF) during the predictive inbox placement test.
*/
SpfPercentage?: Percentage;
/**
* The percentage of emails that were authenticated by using DomainKeys Identified Mail (DKIM) during the predictive inbox placement test.
*/
DkimPercentage?: Percentage;
}
export type PoolName = string;
export interface PutAccountDedicatedIpWarmupAttributesRequest {
/**
* Enables or disables the automatic warm-up feature for dedicated IP addresses that are associated with your Amazon SES account in the current AWS Region. Set to true to enable the automatic warm-up feature, or set to false to disable it.
*/
AutoWarmupEnabled?: Enabled;
}
export interface PutAccountDedicatedIpWarmupAttributesResponse {
}
export interface PutAccountSendingAttributesRequest {
/**
* Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending. If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
*/
SendingEnabled?: Enabled;
}
export interface PutAccountSendingAttributesResponse {
}
export interface PutAccountSuppressionAttributesRequest {
/**
* A list of reasons to suppress email addresses. The only valid reasons are: COMPLAINT – Amazon SES will suppress an email address that receives a complaint. BOUNCE – Amazon SES will suppress an email address that hard bounces.
*/
SuppressedReasons?: SuppressionListReasons;
}
export interface PutAccountSuppressionAttributesResponse {
}
export interface PutConfigurationSetDeliveryOptionsRequest {
/**
* The name of the configuration set that you want to associate with a dedicated IP pool.
*/
ConfigurationSetName: ConfigurationSetName;
/**
* Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require, messages are only delivered if a TLS connection can be established. If the value is Optional, messages can be delivered in plain text if a TLS connection can't be established.
*/
TlsPolicy?: TlsPolicy;
/**
* The name of the dedicated IP pool that you want to associate with the configuration set.
*/
SendingPoolName?: SendingPoolName;
}
export interface PutConfigurationSetDeliveryOptionsResponse {
}
export interface PutConfigurationSetReputationOptionsRequest {
/**
* The name of the configuration set that you want to enable or disable reputation metric tracking for.
*/
ConfigurationSetName: ConfigurationSetName;
/**
* If true, tracking of reputation metrics is enabled for the configuration set. If false, tracking of reputation metrics is disabled for the configuration set.
*/
ReputationMetricsEnabled?: Enabled;
}
export interface PutConfigurationSetReputationOptionsResponse {
}
export interface PutConfigurationSetSendingOptionsRequest {
/**
* The name of the configuration set that you want to enable or disable email sending for.
*/
ConfigurationSetName: ConfigurationSetName;
/**
* If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.
*/
SendingEnabled?: Enabled;
}
export interface PutConfigurationSetSendingOptionsResponse {
}
export interface PutConfigurationSetSuppressionOptionsRequest {
/**
* The name of the configuration set that you want to enable or disable email sending for.
*/
ConfigurationSetName: ConfigurationSetName;
/**
* A list of reasons to suppress email addresses. The only valid reasons are: COMPLAINT – Amazon SES will suppress an email address that receives a complaint. BOUNCE – Amazon SES will suppress an email address that hard bounces.
*/
SuppressedReasons?: SuppressionListReasons;
}
export interface PutConfigurationSetSuppressionOptionsResponse {
}
export interface PutConfigurationSetTrackingOptionsRequest {
/**
* The name of the configuration set that you want to add a custom tracking domain to.
*/
ConfigurationSetName: ConfigurationSetName;
/**
* The domain that you want to use to track open and click events.
*/
CustomRedirectDomain?: CustomRedirectDomain;
}
export interface PutConfigurationSetTrackingOptionsResponse {
}
export interface PutDedicatedIpInPoolRequest {
/**
* The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address that's associated with your AWS account.
*/
Ip: Ip;
/**
* The name of the IP pool that you want to add the dedicated IP address to. You have to specify an IP pool that already exists.
*/
DestinationPoolName: PoolName;
}
export interface PutDedicatedIpInPoolResponse {
}
export interface PutDedicatedIpWarmupAttributesRequest {
/**
* The dedicated IP address that you want to update the warm-up attributes for.
*/
Ip: Ip;
/**
* The warm-up percentage that you want to associate with the dedicated IP address.
*/
WarmupPercentage: Percentage100Wrapper;
}
export interface PutDedicatedIpWarmupAttributesResponse {
}
export interface PutDeliverabilityDashboardOptionRequest {
/**
* Specifies whether to enable the Deliverability dashboard. To enable the dashboard, set this value to true.
*/
DashboardEnabled: Enabled;
/**
* An array of objects, one for each verified domain that you use to send email and enabled the Deliverability dashboard for.
*/
SubscribedDomains?: DomainDeliverabilityTrackingOptions;
}
export interface PutDeliverabilityDashboardOptionResponse {
}
export interface PutEmailIdentityDkimAttributesRequest {
/**
* The email identity that you want to change the DKIM settings for.
*/
EmailIdentity: Identity;
/**
* Sets the DKIM signing configuration for the identity. When you set this value true, then the messages that are sent from the identity are signed using DKIM. If you set this value to false, your messages are sent without DKIM signing.
*/
SigningEnabled?: Enabled;
}
export interface PutEmailIdentityDkimAttributesResponse {
}
export interface PutEmailIdentityFeedbackAttributesRequest {
/**
* The email identity that you want to configure bounce and complaint feedback forwarding for.
*/
EmailIdentity: Identity;
/**
* Sets the feedback forwarding configuration for the identity. If the value is true, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
*/
EmailForwardingEnabled?: Enabled;
}
export interface PutEmailIdentityFeedbackAttributesResponse {
}
export interface PutEmailIdentityMailFromAttributesRequest {
/**
* The verified email identity that you want to set up the custom MAIL FROM domain for.
*/
EmailIdentity: Identity;
/**
* The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the following criteria: It has to be a subdomain of the verified identity. It can't be used to receive email. It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.
*/
MailFromDomain?: MailFromDomainName;
/**
* The action that you want to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email. These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.
*/
BehaviorOnMxFailure?: BehaviorOnMxFailure;
}
export interface PutEmailIdentityMailFromAttributesResponse {
}
export interface PutSuppressedDestinationRequest {
/**
* Email destination to be suppressed.
*/
EmailAddress: EmailAddress;
/**
* Reason for which the email destination is suppressed.
*/
Reason: SuppressionListReason;
}
export interface PutSuppressedDestinationResponse {
}
export interface RawMessage {
/**
* The raw email message. The message has to meet the following criteria: The message has to contain a header and a body, separated by one blank line. All of the required header fields must be present in the message. Each part of a multipart MIME message must be formatted properly. Attachments must be in a file format that the Amazon SES API v2 supports. The entire message must be Base64 encoded. If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly. The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.
*/
Data: RawMessageData;
}
export type RawMessageData = Buffer|Uint8Array|Blob|string;
export type RblName = string;
export type ReportId = string;
export type ReportName = string;
export interface ReputationOptions {
/**
* If true, tracking of reputation metrics is enabled for the configuration set. If false, tracking of reputation metrics is disabled for the configuration set.
*/
ReputationMetricsEnabled?: Enabled;
/**
* The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start.
*/
LastFreshStart?: LastFreshStart;
}
export interface SendEmailRequest {
/**
* The email address that you want to use as the "From" address for the email. The address that you specify has to be verified.
*/
FromEmailAddress?: EmailAddress;
/**
* An object that contains the recipients of the email message.
*/
Destination: Destination;
/**
* The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
*/
ReplyToAddresses?: EmailAddressList;
/**
* The address that you want bounce and complaint notifications to be sent to.
*/
FeedbackForwardingEmailAddress?: EmailAddress;
/**
* An object that contains the body of the message. You can send either a Simple message or a Raw message.
*/
Content: EmailContent;
/**
* A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
*/
EmailTags?: MessageTagList;
/**
* The name of the configuration set that you want to use when sending the email.
*/
ConfigurationSetName?: ConfigurationSetName;
}
export interface SendEmailResponse {
/**
* A unique identifier for the message that is generated when the message is accepted. It is possible for the Amazon SES API v2 to accept a message without sending it. This can happen when the message that you're trying to send has an attachment contains a virus, or when you send a templated email that contains invalid personalization content, for example.
*/
MessageId?: OutboundMessageId;
}
export interface SendQuota {
/**
* The maximum number of emails that you can send in the current AWS Region over a 24-hour period. This value is also called your sending quota.
*/
Max24HourSend?: Max24HourSend;
/**
* The maximum number of emails that you can send per second in the current AWS Region. This value is also called your maximum sending rate or your maximum TPS (transactions per second) rate.
*/
MaxSendRate?: MaxSendRate;
/**
* The number of emails sent from your Amazon SES account in the current AWS Region over the past 24 hours.
*/
SentLast24Hours?: SentLast24Hours;
}
export interface SendingOptions {
/**
* If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.
*/
SendingEnabled?: Enabled;
}
export type SendingPoolName = string;
export type SentLast24Hours = number;
export interface SnsDestination {
/**
* The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
*/
TopicArn: AmazonResourceName;
}
export type Subject = string;
export interface SuppressedDestination {
/**
* The suppressed email destination.
*/
EmailAddress: EmailAddress;
/**
* The reason for which the email destination is suppressed.
*/
Reason: SuppressionListReason;
/**
* The last time the suppressed destination was updated.
*/
LastUpdateTime: Timestamp;
/**
* Optional value with information about the sources of the suppression.
*/
Attributes?: SuppressedDestinationAttributes;
}
export interface SuppressedDestinationAttributes {
/**
* A unique identifier of the message that caused the suppression of the email destination.
*/
MessageId?: OutboundMessageId;
/**
* A unique identifier of the suppression cause.
*/
FeedbackId?: FeedbackId;
}
export type SuppressedDestinationSummaries = SuppressedDestinationSummary[];
export interface SuppressedDestinationSummary {
/**
* The suppressed email destination.
*/
EmailAddress: EmailAddress;
/**
* The reason for which the email destination is suppressed.
*/
Reason: SuppressionListReason;
/**
* The last time the suppressed destination was updated.
*/
LastUpdateTime: Timestamp;
}
export interface SuppressionAttributes {
/**
* A list of reasons to suppress email addresses. The only valid reasons are: COMPLAINT – Amazon SES will suppress an email address that receives a complaint. BOUNCE – Amazon SES will suppress an email address that hard bounces.
*/
SuppressedReasons?: SuppressionListReasons;
}
export type SuppressionListReason = "BOUNCE"|"COMPLAINT"|string;
export type SuppressionListReasons = SuppressionListReason[];
export interface SuppressionOptions {
/**
* A list of reasons to suppress email addresses. The only valid reasons are: COMPLAINT – Amazon SES will suppress an email address that receives a complaint. BOUNCE – Amazon SES will suppress an email address that hard bounces.
*/
SuppressedReasons?: SuppressionListReasons;
}
export interface Tag {
/**
* One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.
*/
Key: TagKey;
/**
* The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.
*/
Value: TagValue;
}
export type TagKey = string;
export type TagKeyList = TagKey[];
export type TagList = Tag[];
export interface TagResourceRequest {
/**
* The Amazon Resource Name (ARN) of the resource that you want to add one or more tags to.
*/
ResourceArn: AmazonResourceName;
/**
* A list of the tags that you want to add to the resource. A tag consists of a required tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
Tags: TagList;
}
export interface TagResourceResponse {
}
export type TagValue = string;
export interface Template {
/**
* The Amazon Resource Name (ARN) of the template.
*/
TemplateArn?: TemplateArn;
/**
* An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.
*/
TemplateData?: TemplateData;
}
export type TemplateArn = string;
export type TemplateData = string;
export type Timestamp = Date;
export type TlsPolicy = "REQUIRE"|"OPTIONAL"|string;
export interface TrackingOptions {
/**
* The domain that you want to use for tracking open and click events.
*/
CustomRedirectDomain: CustomRedirectDomain;
}
export interface UntagResourceRequest {
/**
* The Amazon Resource Name (ARN) of the resource that you want to remove one or more tags from.
*/
ResourceArn: AmazonResourceName;
/**
* The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value. To remove more than one tag from the resource, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand. For example: /v2/email/tags?ResourceArn=ResourceArn&TagKeys=Key1&TagKeys=Key2
*/
TagKeys: TagKeyList;
}
export interface UntagResourceResponse {
}
export interface UpdateConfigurationSetEventDestinationRequest {
/**
* The name of the configuration set that contains the event destination that you want to modify.
*/
ConfigurationSetName: ConfigurationSetName;
/**
* The name of the event destination that you want to modify.
*/
EventDestinationName: EventDestinationName;
/**
* An object that defines the event destination.
*/
EventDestination: EventDestinationDefinition;
}
export interface UpdateConfigurationSetEventDestinationResponse {
}
export type Volume = number;
export interface VolumeStatistics {
/**
* The total number of emails that arrived in recipients' inboxes.
*/
InboxRawCount?: Volume;
/**
* The total number of emails that arrived in recipients' spam or junk mail folders.
*/
SpamRawCount?: Volume;
/**
* An estimate of the percentage of emails sent from the current domain that will arrive in recipients' inboxes.
*/
ProjectedInbox?: Volume;
/**
* An estimate of the percentage of emails sent from the current domain that will arrive in recipients' spam or junk mail folders.
*/
ProjectedSpam?: Volume;
}
export type WarmupStatus = "IN_PROGRESS"|"DONE"|string;
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
export type apiVersion = "2019-09-27"|"latest"|string;
export interface ClientApiVersions {
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
apiVersion?: apiVersion;
}
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
/**
* Contains interfaces for use with the SESV2 client.
*/
export import Types = SESV2;
}
export = SESV2;