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
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// An object that contains information about your account details.
type AccountDetails struct {
// Additional email addresses where updates are sent about your account review
// process.
AdditionalContactEmailAddresses []string
// The language you would prefer for the case. The contact language can be one of
// ENGLISH or JAPANESE.
ContactLanguage ContactLanguage
// The type of email your account is sending. The mail type can be one of the
// following:
//
// * MARKETING – Most of your sending traffic is to keep your customers
// informed of your latest offering.
//
// * TRANSACTIONAL – Most of your sending
// traffic is to communicate during a transaction with a customer.
MailType MailType
// Information about the review of the latest details you submitted.
ReviewDetails *ReviewDetails
// A description of the types of email that you plan to send.
UseCaseDescription *string
// The URL of your website. This information helps us better understand the type of
// content that you plan to send.
WebsiteURL *string
noSmithyDocumentSerde
}
// An object that contains information about a blacklisting event that impacts one
// of the dedicated IP addresses that is associated with your account.
type BlacklistEntry struct {
// Additional information about the blacklisting event, as provided by the
// blacklist maintainer.
Description *string
// The time when the blacklisting event occurred.
ListingTime *time.Time
// The name of the blacklist that the IP address appears on.
RblName *string
noSmithyDocumentSerde
}
// Represents the body of the email message.
type Body struct {
// 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
// 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
noSmithyDocumentSerde
}
// An object that contains the body of the message. You can specify a template
// message.
type BulkEmailContent struct {
// The template to use for the bulk email message.
Template *Template
noSmithyDocumentSerde
}
type BulkEmailEntry struct {
// Represents the destination of the message, consisting of To:, CC:, and BCC:
// fields. Amazon SES does not support the SMTPUTF8 extension, as described in
// RFC6531 (https://tools.ietf.org/html/rfc6531). For this reason, the local part
// of a destination email address (the part of the email address that precedes the
// @ sign) may only contain 7-bit ASCII characters
// (https://en.wikipedia.org/wiki/Email_address#Local-part). If the domain part of
// an address (the part after the @ sign) contains non-ASCII characters, they must
// be encoded using Punycode, as described in RFC3492
// (https://tools.ietf.org/html/rfc3492.html).
//
// This member is required.
Destination *Destination
// The ReplacementEmailContent associated with a BulkEmailEntry.
ReplacementEmailContent *ReplacementEmailContent
// A list of tags, in the form of name/value pairs, to apply to an email that you
// send using the SendBulkTemplatedEmail operation. Tags correspond to
// characteristics of the email that you define, so that you can publish email
// sending events.
ReplacementTags []MessageTag
noSmithyDocumentSerde
}
// The result of the SendBulkEmail operation of each specified BulkEmailEntry.
type BulkEmailEntryResult struct {
// A description of an error that prevented a message being sent using the
// SendBulkTemplatedEmail operation.
Error *string
// The unique message identifier returned from the SendBulkTemplatedEmail
// operation.
MessageId *string
// The status of a message sent using the SendBulkTemplatedEmail operation.
// Possible values for this parameter include:
//
// * SUCCESS: Amazon SES accepted the
// message, and will attempt to deliver it to the recipients.
//
// * MESSAGE_REJECTED:
// The message was rejected because it contained a virus.
//
// *
// MAIL_FROM_DOMAIN_NOT_VERIFIED: The sender's email address or domain was not
// verified.
//
// * CONFIGURATION_SET_DOES_NOT_EXIST: The configuration set you
// specified does not exist.
//
// * TEMPLATE_DOES_NOT_EXIST: The template you specified
// does not exist.
//
// * ACCOUNT_SUSPENDED: Your account has been shut down because of
// issues related to your email sending practices.
//
// * ACCOUNT_THROTTLED: The number
// of emails you can send has been reduced because your account has exceeded its
// allocated sending limit.
//
// * ACCOUNT_DAILY_QUOTA_EXCEEDED: You have reached or
// exceeded the maximum number of emails you can send from your account in a
// 24-hour period.
//
// * INVALID_SENDING_POOL_NAME: The configuration set you
// specified refers to an IP pool that does not exist.
//
// * ACCOUNT_SENDING_PAUSED:
// Email sending for the Amazon SES account was disabled using the
// UpdateAccountSendingEnabled
// (https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateAccountSendingEnabled.html)
// operation.
//
// * CONFIGURATION_SET_SENDING_PAUSED: Email sending for this
// configuration set was disabled using the UpdateConfigurationSetSendingEnabled
// (https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateConfigurationSetSendingEnabled.html)
// operation.
//
// * INVALID_PARAMETER_VALUE: One or more of the parameters you
// specified when calling this operation was invalid. See the error message for
// additional information.
//
// * TRANSIENT_FAILURE: Amazon SES was unable to process
// your request because of a temporary issue.
//
// * FAILED: Amazon SES was unable to
// process your request. See the error message for additional information.
Status BulkEmailStatus
noSmithyDocumentSerde
}
// 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.
type CloudWatchDestination struct {
// An array of objects that define the dimensions to use when you send email events
// to Amazon CloudWatch.
//
// This member is required.
DimensionConfigurations []CloudWatchDimensionConfiguration
noSmithyDocumentSerde
}
// An object that defines the dimension configuration to use when you send email
// events to Amazon CloudWatch.
type CloudWatchDimensionConfiguration struct {
// 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:
//
// * Can only contain ASCII letters (a–z, A–Z),
// numbers (0–9), underscores (_), or dashes (-), at signs (@), and periods (.).
//
// *
// It can contain no more than 256 characters.
//
// This member is required.
DefaultDimensionValue *string
// 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.
//
// This member is required.
DimensionName *string
// The location where the Amazon SES API v2 finds the value of a dimension to
// publish to Amazon CloudWatch. 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. To use your own email headers, choose emailHeader. To use
// link tags, choose linkTags.
//
// This member is required.
DimensionValueSource DimensionValueSource
noSmithyDocumentSerde
}
// A contact is the end-user who is receiving the email.
type Contact struct {
// The contact's email address.
EmailAddress *string
// A timestamp noting the last time the contact's information was updated.
LastUpdatedTimestamp *time.Time
// The default topic preferences applied to the contact.
TopicDefaultPreferences []TopicPreference
// The contact's preference for being opted-in to or opted-out of a topic.
TopicPreferences []TopicPreference
// A boolean value status noting if the contact is unsubscribed from all contact
// list topics.
UnsubscribeAll bool
noSmithyDocumentSerde
}
// A list that contains contacts that have subscribed to a particular topic or
// topics.
type ContactList struct {
// The name of the contact list.
ContactListName *string
// A timestamp noting the last time the contact list was updated.
LastUpdatedTimestamp *time.Time
noSmithyDocumentSerde
}
// An object that contains details about the action of a contact list.
type ContactListDestination struct {
// >The type of action to perform on the addresses. The following are the possible
// values:
//
// * PUT: add the addresses to the contact list. If the record already
// exists, it will override it with the new value.
//
// * DELETE: remove the addresses
// from the contact list.
//
// This member is required.
ContactListImportAction ContactListImportAction
// The name of the contact list.
//
// This member is required.
ContactListName *string
noSmithyDocumentSerde
}
// An object that represents the content of the email, and optionally a character
// set specification.
type Content struct {
// The content of the message itself.
//
// This member is required.
Data *string
// The character set for the content. Because of the constraints of the SMTP
// protocol, Amazon SES 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 *string
noSmithyDocumentSerde
}
// Contains information about a custom verification email template.
type CustomVerificationEmailTemplateMetadata struct {
// The URL that the recipient of the verification email is sent to if his or her
// address is not successfully verified.
FailureRedirectionURL *string
// The email address that the custom verification email is sent from.
FromEmailAddress *string
// The URL that the recipient of the verification email is sent to if his or her
// address is successfully verified.
SuccessRedirectionURL *string
// The name of the custom verification email template.
TemplateName *string
// The subject line of the custom verification email.
TemplateSubject *string
noSmithyDocumentSerde
}
// An object that contains information about the volume of email sent on each day
// of the analysis period.
type DailyVolume struct {
// An object that contains inbox placement metrics for a specified day in the
// analysis period, broken out by the recipient's email provider.
DomainIspPlacements []DomainIspPlacement
// The date that the DailyVolume metrics apply to, in Unix time.
StartDate *time.Time
// An object that contains inbox placement metrics for a specific day in the
// analysis period.
VolumeStatistics *VolumeStatistics
noSmithyDocumentSerde
}
// Contains information about a dedicated IP address that is associated with your
// Amazon SES account. To learn more about requesting dedicated IP addresses, see
// Requesting and Relinquishing Dedicated IP Addresses
// (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/dedicated-ip-case.html)
// in the Amazon SES Developer Guide.
type DedicatedIp struct {
// An IPv4 address.
//
// This member is required.
Ip *string
// 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.
//
// This member is required.
WarmupPercentage *int32
// 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.
//
// This member is required.
WarmupStatus WarmupStatus
// The name of the dedicated IP pool that the IP address is associated with.
PoolName *string
noSmithyDocumentSerde
}
// Contains information about a dedicated IP pool.
type DedicatedIpPool struct {
// The name of the dedicated IP pool.
//
// This member is required.
PoolName *string
// The type of the dedicated IP pool.
//
// * STANDARD – A dedicated IP pool where the
// customer can control which IPs are part of the pool.
//
// * MANAGED – A dedicated IP
// pool where the reputation and number of IPs is automatically managed by Amazon
// SES.
//
// This member is required.
ScalingMode ScalingMode
noSmithyDocumentSerde
}
// An object that contains metadata related to a predictive inbox placement test.
type DeliverabilityTestReport struct {
// The date and time when the predictive inbox placement test was created.
CreateDate *time.Time
// 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
// The sender address that you specified for the predictive inbox placement test.
FromEmailAddress *string
// A unique string that identifies the predictive inbox placement test.
ReportId *string
// A name that helps you identify a predictive inbox placement test report.
ReportName *string
// The subject line for an email that you submitted in a predictive inbox placement
// test.
Subject *string
noSmithyDocumentSerde
}
// Used to associate a configuration set with a dedicated IP pool.
type DeliveryOptions struct {
// The name of the dedicated IP pool to associate with the configuration set.
SendingPoolName *string
// 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
noSmithyDocumentSerde
}
// An object that describes the recipients for an email. Amazon SES does not
// support the SMTPUTF8 extension, as described in RFC6531
// (https://tools.ietf.org/html/rfc6531). For this reason, the local part of a
// destination email address (the part of the email address that precedes the @
// sign) may only contain 7-bit ASCII characters
// (https://en.wikipedia.org/wiki/Email_address#Local-part). If the domain part of
// an address (the part after the @ sign) contains non-ASCII characters, they must
// be encoded using Punycode, as described in RFC3492
// (https://tools.ietf.org/html/rfc3492.html).
type Destination struct {
// An array that contains the email addresses of the "BCC" (blind carbon copy)
// recipients for the email.
BccAddresses []string
// An array that contains the email addresses of the "CC" (carbon copy) recipients
// for the email.
CcAddresses []string
// An array that contains the email addresses of the "To" recipients for the email.
ToAddresses []string
noSmithyDocumentSerde
}
// An object that contains information about the DKIM authentication status for an
// email identity. Amazon SES determines the authentication status by searching for
// specific records in the DNS configuration for the domain. If you used Easy DKIM
// (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html) to set up
// DKIM authentication, Amazon SES tries to find three unique CNAME records in the
// DNS configuration for your domain. If you provided a public key to perform DKIM
// authentication, Amazon SES tries to find a TXT record that uses the selector
// that you specified. The value of the TXT record must be a public key that's
// paired with the private key that you specified in the process of creating the
// identity
type DkimAttributes struct {
// [Easy DKIM] The key length of the DKIM key pair in use.
CurrentSigningKeyLength DkimSigningKeyLength
// [Easy DKIM] The last time a key pair was generated for this identity.
LastKeyGenerationTimestamp *time.Time
// [Easy DKIM] The key length of the future DKIM key pair to be generated. This can
// be changed at most once per day.
NextSigningKeyLength DkimSigningKeyLength
// A string that indicates how DKIM was configured for the identity. These are the
// possible values:
//
// * AWS_SES – Indicates that DKIM was configured for the
// identity by using Easy DKIM
// (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html).
//
// *
// EXTERNAL – Indicates that DKIM was configured for the identity by using Bring
// Your Own DKIM (BYODKIM).
SigningAttributesOrigin DkimSigningAttributesOrigin
// 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 bool
// 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 – The verification process was initiated, but Amazon SES hasn't yet
// detected the DKIM records in the DNS configuration for the domain.
//
// * SUCCESS –
// The verification process completed successfully.
//
// * FAILED – The verification
// process failed. This typically occurs when Amazon SES fails to find the DKIM
// records in the DNS configuration of the domain.
//
// * TEMPORARY_FAILURE – A
// temporary issue is preventing Amazon SES from determining the DKIM
// authentication status of the domain.
//
// * NOT_STARTED – The DKIM verification
// process hasn't been initiated for the domain.
Status DkimStatus
// If you used Easy DKIM
// (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html) to
// configure DKIM authentication for the domain, then this object contains 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.
// If you configured DKIM authentication for the domain by providing your own
// public-private key pair, then this object contains the selector for the public
// key. Regardless of the DKIM authentication method you use, Amazon SES searches
// for the appropriate records in the DNS configuration of the domain for up to 72
// hours.
Tokens []string
noSmithyDocumentSerde
}
// An object that contains configuration for Bring Your Own DKIM (BYODKIM), or, for
// Easy DKIM
type DkimSigningAttributes struct {
// [Bring Your Own DKIM] A private key that's used to generate a DKIM signature.
// The private key must use 1024 or 2048-bit RSA encryption, and must be encoded
// using base64 encoding.
DomainSigningPrivateKey *string
// [Bring Your Own DKIM] A string that's used to identify a public key in the DNS
// configuration for a domain.
DomainSigningSelector *string
// [Easy DKIM] The key length of the future DKIM key pair to be generated. This can
// be changed at most once per day.
NextSigningKeyLength DkimSigningKeyLength
noSmithyDocumentSerde
}
// An object that contains 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
// (PutDeliverabilityDashboardOption operation).
type DomainDeliverabilityCampaign struct {
// The unique identifier for the campaign. The Deliverability dashboard
// automatically generates and assigns this identifier to a campaign.
CampaignId *string
// 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 *float64
// The major email providers who handled the email message.
Esps []string
// The first time 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 *time.Time
// The verified email address that the email message was sent from.
FromAddress *string
// The URL of an image that contains a snapshot of the email message that was sent.
ImageUrl *string
// The number of email messages that were delivered to recipients’ inboxes.
InboxCount *int64
// The last time 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 *time.Time
// The projected number of recipients that the email message was sent to.
ProjectedVolume *int64
// 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 *float64
// 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 *float64
// The IP addresses that were used to send the email message.
SendingIps []string
// The number of email messages that were delivered to recipients' spam or junk
// mail folders.
SpamCount *int64
// The subject line, or title, of the email message.
Subject *string
noSmithyDocumentSerde
}
// An object that contains information about the Deliverability dashboard
// subscription for a verified domain that you use to send email and currently has
// an active Deliverability dashboard subscription. If a Deliverability dashboard
// subscription is active for a domain, you gain access to reputation, inbox
// placement, and other metrics for the domain.
type DomainDeliverabilityTrackingOption struct {
// A verified domain that’s associated with your Amazon Web Services account and
// currently has an active Deliverability dashboard subscription.
Domain *string
// An object that contains information about the inbox placement data settings for
// the domain.
InboxPlacementTrackingOption *InboxPlacementTrackingOption
// The date when you enabled the Deliverability dashboard for the domain.
SubscriptionStartDate *time.Time
noSmithyDocumentSerde
}
// An object that contains inbox placement data for email sent from one of your
// email domains to a specific email provider.
type DomainIspPlacement struct {
// The percentage of messages that were sent from the selected domain to the
// specified email provider that arrived in recipients' inboxes.
InboxPercentage *float64
// The total number of messages that were sent from the selected domain to the
// specified email provider that arrived in recipients' inboxes.
InboxRawCount *int64
// The name of the email provider that the inbox placement data applies to.
IspName *string
// 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 *float64
// 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 *int64
noSmithyDocumentSerde
}
// An object that defines the entire content of the email, including the message
// headers and the body content. You can create a simple email message, in which
// you specify the subject and the text and HTML versions of the message body. You
// can also create raw messages, in which you specify a complete MIME-formatted
// message. Raw messages can include attachments and custom headers.
type EmailContent struct {
// 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 (https://tools.ietf.org/html/rfc5321).
Raw *RawMessage
// The simple email message. The message consists of a subject and a message body.
Simple *Message
// The template to use for the email message.
Template *Template
noSmithyDocumentSerde
}
// The content of the email, composed of a subject line, an HTML part, and a
// text-only part.
type EmailTemplateContent struct {
// The HTML body of the email.
Html *string
// The subject line of the email.
Subject *string
// The email body that will be visible to recipients whose email clients do not
// display HTML.
Text *string
noSmithyDocumentSerde
}
// Contains information about an email template.
type EmailTemplateMetadata struct {
// The time and date the template was created.
CreatedTimestamp *time.Time
// The name of the template.
TemplateName *string
noSmithyDocumentSerde
}
// In the Amazon SES API v2, events include message sends, deliveries, opens,
// clicks, bounces, complaints and delivery delays. 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.
type EventDestination struct {
// The types of events that Amazon SES sends to the specified event destinations.
//
// This member is required.
MatchingEventTypes []EventType
// A name that identifies the event destination.
//
// This member is required.
Name *string
// 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
// 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 bool
// 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 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
// (https://docs.aws.amazon.com/pinpoint/latest/userguide/analytics-transactional-messages.html)
// in the Amazon Pinpoint User Guide.
PinpointDestination *PinpointDestination
// 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
noSmithyDocumentSerde
}
// An object that defines the event destination. Specifically, it defines which
// services receive events from emails sent using the configuration set that the
// event destination is associated with. Also defines the types of events that are
// sent to the event destination.
type EventDestinationDefinition struct {
// 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
// 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 bool
// 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 array that specifies which events the Amazon SES API v2 should send to the
// destinations in this EventDestinationDefinition.
MatchingEventTypes []EventType
// 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
// (https://docs.aws.amazon.com/pinpoint/latest/userguide/analytics-transactional-messages.html)
// in the Amazon Pinpoint User Guide.
PinpointDestination *PinpointDestination
// 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
noSmithyDocumentSerde
}
// An object that contains the failure details about an import job.
type FailureInfo struct {
// A message about why the import job failed.
ErrorMessage *string
// An Amazon S3 presigned URL that contains all the failed records and related
// information.
FailedRecordsS3Url *string
noSmithyDocumentSerde
}
// Information about an email identity.
type IdentityInfo struct {
// The address or domain of the identity.
IdentityName *string
// The email identity type. Note: the MANAGED_DOMAIN type is not supported for
// email identity types.
IdentityType IdentityType
// 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 bool
// The verification status of the identity. The status can be one of the
// following:
//
// * PENDING – The verification process was initiated, but Amazon SES
// hasn't yet been able to verify the identity.
//
// * SUCCESS – The verification
// process completed successfully.
//
// * FAILED – The verification process failed.
//
// *
// TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from determining
// the verification status of the identity.
//
// * NOT_STARTED – The verification
// process hasn't been initiated for the identity.
VerificationStatus VerificationStatus
noSmithyDocumentSerde
}
// An object that contains details about the data source of the import job.
type ImportDataSource struct {
// The data format of the import job's data source.
//
// This member is required.
DataFormat DataFormat
// An Amazon S3 URL in the format s3:///.
//
// This member is required.
S3Url *string
noSmithyDocumentSerde
}
// An object that contains details about the resource destination the import job is
// going to target.
type ImportDestination struct {
// An object that contains the action of the import job towards a contact list.
ContactListDestination *ContactListDestination
// An object that contains the action of the import job towards suppression list.
SuppressionListDestination *SuppressionListDestination
noSmithyDocumentSerde
}
// A summary of the import job.
type ImportJobSummary struct {
// The date and time when the import job was created.
CreatedTimestamp *time.Time
// The number of records that failed processing because of invalid input or other
// reasons.
FailedRecordsCount *int32
// An object that contains details about the resource destination the import job is
// going to target.
ImportDestination *ImportDestination
// A string that represents the import job ID.
JobId *string
// The status of the import job.
JobStatus JobStatus
// The current number of records processed.
ProcessedRecordsCount *int32
noSmithyDocumentSerde
}
// An object that contains information about the inbox placement data settings for
// a verified domain that’s associated with your Amazon Web Services account. This
// data is available only if you enabled the Deliverability dashboard for the
// domain.
type InboxPlacementTrackingOption struct {
// Specifies whether inbox placement data is being tracked for the domain.
Global bool
// An array of strings, one for each major email provider that the inbox placement
// data applies to.
TrackedIsps []string
noSmithyDocumentSerde
}
// An object that describes how email sent during the predictive inbox placement
// test was handled by a certain email provider.
type IspPlacement struct {
// The name of the email provider that the inbox placement data applies to.
IspName *string
// An object that contains inbox placement metrics for a specific email provider.
PlacementStatistics *PlacementStatistics
noSmithyDocumentSerde
}
// 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.
type KinesisFirehoseDestination struct {
// The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that
// the Amazon SES API v2 sends email events to.
//
// This member is required.
DeliveryStreamArn *string
// 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.
//
// This member is required.
IamRoleArn *string
noSmithyDocumentSerde
}
// A filter that can be applied to a list of contacts.
type ListContactsFilter struct {
// The status by which you are filtering: OPT_IN or OPT_OUT.
FilteredStatus SubscriptionStatus
// Used for filtering by a specific topic preference.
TopicFilter *TopicFilter
noSmithyDocumentSerde
}
// An object used to specify a list or topic to which an email belongs, which will
// be used when a contact chooses to unsubscribe.
type ListManagementOptions struct {
// The name of the contact list.
//
// This member is required.
ContactListName *string
// The name of the topic.
TopicName *string
noSmithyDocumentSerde
}
// A list of attributes that are associated with a MAIL FROM domain.
type MailFromAttributes struct {
// The action to take if the required MX record can't be found when you send an
// email. When you set this value to USE_DEFAULT_VALUE, the mail is sent using
// amazonses.com as the MAIL FROM domain. When you set this value to
// REJECT_MESSAGE, 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.
//
// This member is required.
BehaviorOnMxFailure BehaviorOnMxFailure
// The name of a domain that an email identity uses as a custom MAIL FROM domain.
//
// This member is required.
MailFromDomain *string
// 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.
//
// This member is required.
MailFromDomainStatus MailFromDomainStatus
noSmithyDocumentSerde
}
// Represents the email message that you're sending. The Message object consists of
// a subject line and a message body.
type Message struct {
// The body of the message. You can specify an HTML version of the message, a
// text-only version of the message, or both.
//
// This member is required.
Body *Body
// 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
// (https://tools.ietf.org/html/rfc2047).
//
// This member is required.
Subject *Content
noSmithyDocumentSerde
}
// Contains the name and value of a tag that you apply to an email. You can use
// message tags when you publish email sending events.
type MessageTag struct {
// 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.
//
// This member is required.
Name *string
// 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.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// An object that contains information about email that was sent from the selected
// domain.
type OverallVolume struct {
// An object that contains inbox and junk mail placement metrics for individual
// email providers.
DomainIspPlacements []DomainIspPlacement
// The percentage of emails that were sent from the domain that were read by their
// recipients.
ReadRatePercent *float64
// An object that contains information about the numbers of messages that arrived
// in recipients' inboxes and junk mail folders.
VolumeStatistics *VolumeStatistics
noSmithyDocumentSerde
}
// 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
// (https://docs.aws.amazon.com/pinpoint/latest/userguide/analytics-transactional-messages.html)
// in the Amazon Pinpoint User Guide.
type PinpointDestination struct {
// The Amazon Resource Name (ARN) of the Amazon Pinpoint project to send email
// events to.
ApplicationArn *string
noSmithyDocumentSerde
}
// An object that contains inbox placement data for an email provider.
type PlacementStatistics struct {
// The percentage of emails that were authenticated by using DomainKeys Identified
// Mail (DKIM) during the predictive inbox placement test.
DkimPercentage *float64
// The percentage of emails that arrived in recipients' inboxes during the
// predictive inbox placement test.
InboxPercentage *float64
// The percentage of emails that didn't arrive in recipients' inboxes at all during
// the predictive inbox placement test.
MissingPercentage *float64
// The percentage of emails that arrived in recipients' spam or junk mail folders
// during the predictive inbox placement test.
SpamPercentage *float64
// The percentage of emails that were authenticated by using Sender Policy
// Framework (SPF) during the predictive inbox placement test.
SpfPercentage *float64
noSmithyDocumentSerde
}
// Represents the raw content of an email message.
type RawMessage struct {
// 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 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 (https://tools.ietf.org/html/rfc5321).
//
// This member is required.
Data []byte
noSmithyDocumentSerde
}
// The ReplaceEmailContent object to be used for a specific BulkEmailEntry. The
// ReplacementTemplate can be specified within this object.
type ReplacementEmailContent struct {
// The ReplacementTemplate associated with ReplacementEmailContent.
ReplacementTemplate *ReplacementTemplate
noSmithyDocumentSerde
}
// An object which contains ReplacementTemplateData to be used for a specific
// BulkEmailEntry.
type ReplacementTemplate struct {
// A list of replacement values to apply to the template. This parameter is a JSON
// object, typically consisting of key-value pairs in which the keys correspond to
// replacement tags in the email template.
ReplacementTemplateData *string
noSmithyDocumentSerde
}
// Enable or disable collection of reputation metrics for emails that you send
// using this configuration set in the current Amazon Web Services Region.
type ReputationOptions struct {
// 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 *time.Time
// 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 bool
noSmithyDocumentSerde
}
// An object that contains information about your account details review.
type ReviewDetails struct {
// The associated support center case ID (if any).
CaseId *string
// The status of the latest review of your account. The status can be one of the
// following:
//
// * PENDING – We have received your appeal and are in the process of
// reviewing it.
//
// * GRANTED – Your appeal has been reviewed and your production
// access has been granted.
//
// * DENIED – Your appeal has been reviewed and your
// production access has been denied.
//
// * FAILED – An internal error occurred and we
// didn't receive your appeal. You can submit your appeal again.
Status ReviewStatus
noSmithyDocumentSerde
}
// Used to enable or disable email sending for messages that use this configuration
// set in the current Amazon Web Services Region.
type SendingOptions struct {
// If true, email sending is enabled for the configuration set. If false, email
// sending is disabled for the configuration set.
SendingEnabled bool
noSmithyDocumentSerde
}
// An object that contains information about the per-day and per-second sending
// limits for your Amazon SES account in the current Amazon Web Services Region.
type SendQuota struct {
// The maximum number of emails that you can send in the current Amazon Web
// Services Region over a 24-hour period. A value of -1 signifies an unlimited
// quota. (This value is also referred to as your sending quota.)
Max24HourSend float64
// The maximum number of emails that you can send per second in the current Amazon
// Web Services Region. This value is also called your maximum sending rate or your
// maximum TPS (transactions per second) rate.
MaxSendRate float64
// The number of emails sent from your Amazon SES account in the current Amazon Web
// Services Region over the past 24 hours.
SentLast24Hours float64
noSmithyDocumentSerde
}
// An object that defines an Amazon SNS destination for email events. You can use
// Amazon SNS to send notification when certain email events occur.
type SnsDestination struct {
// The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events
// to. For more information about Amazon SNS topics, see the Amazon SNS Developer
// Guide (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html).
//
// This member is required.
TopicArn *string
noSmithyDocumentSerde
}
// An object that contains information about an email address that is on the
// suppression list for your account.
type SuppressedDestination struct {
// The email address that is on the suppression list for your account.
//
// This member is required.
EmailAddress *string
// The date and time when the suppressed destination was last updated, shown in
// Unix time format.
//
// This member is required.
LastUpdateTime *time.Time
// The reason that the address was added to the suppression list for your account.
//
// This member is required.
Reason SuppressionListReason
// An optional value that can contain additional information about the reasons that
// the address was added to the suppression list for your account.
Attributes *SuppressedDestinationAttributes
noSmithyDocumentSerde
}
// An object that contains additional attributes that are related an email address
// that is on the suppression list for your account.
type SuppressedDestinationAttributes struct {
// A unique identifier that's generated when an email address is added to the
// suppression list for your account.
FeedbackId *string
// The unique identifier of the email message that caused the email address to be
// added to the suppression list for your account.
MessageId *string
noSmithyDocumentSerde
}
// A summary that describes the suppressed email address.
type SuppressedDestinationSummary struct {
// The email address that's on the suppression list for your account.
//
// This member is required.
EmailAddress *string
// The date and time when the suppressed destination was last updated, shown in
// Unix time format.
//
// This member is required.
LastUpdateTime *time.Time
// The reason that the address was added to the suppression list for your account.
//
// This member is required.
Reason SuppressionListReason
noSmithyDocumentSerde
}
// An object that contains information about the email address suppression
// preferences for your account in the current Amazon Web Services Region.
type SuppressionAttributes struct {
// A list that contains the reasons that email addresses will be automatically
// added to the suppression list for your account. This list can contain any or all
// of the following:
//
// * COMPLAINT – Amazon SES adds an email address to the
// suppression list for your account when a message sent to that address results in
// a complaint.
//
// * BOUNCE – Amazon SES adds an email address to the suppression
// list for your account when a message sent to that address results in a hard
// bounce.
SuppressedReasons []SuppressionListReason
noSmithyDocumentSerde
}
// An object that contains details about the action of suppression list.
type SuppressionListDestination struct {
// The type of action to perform on the address. The following are possible
// values:
//
// * PUT: add the addresses to the suppression list. If the record already
// exists, it will override it with the new value.
//
// * DELETE: remove the addresses
// from the suppression list.
//
// This member is required.
SuppressionListImportAction SuppressionListImportAction
noSmithyDocumentSerde
}
// An object that contains information about the suppression list preferences for
// your account.
type SuppressionOptions struct {
// A list that contains the reasons that email addresses are automatically added to
// the suppression list for your account. This list can contain any or all of the
// following:
//
// * COMPLAINT – Amazon SES adds an email address to the suppression
// list for your account when a message sent to that address results in a
// complaint.
//
// * BOUNCE – Amazon SES adds an email address to the suppression list
// for your account when a message sent to that address results in a hard bounce.
SuppressedReasons []SuppressionListReason
noSmithyDocumentSerde
}
// An object that defines the tags that are associated with a 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 a
// more specific tag value. A tag value acts as a descriptor within a tag key. A
// tag key can contain as many as 128 characters. A tag value can contain as many
// as 256 characters. The characters can be Unicode letters, digits, white space,
// or one of the following symbols: _ . : / = + -. The following additional
// restrictions apply to tags:
//
// * Tag keys and values are case sensitive.
//
// * For
// each associated resource, each tag key must be unique and it can have only one
// value.
//
// * The aws: prefix is reserved for use by Amazon Web Services; you can’t
// use it in any tag keys or values that you define. In addition, you can't edit or
// remove tag keys or values that use this prefix. Tags that use this prefix don’t
// count against the limit of 50 tags per resource.
//
// * You can associate tags with
// public or shared resources, but the tags are available only for your Amazon Web
// Services account, not any other accounts that share the resource. In addition,
// the tags are available only for resources that are located in the specified
// Amazon Web Services Region for your Amazon Web Services account.
type Tag struct {
// 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.
//
// This member is required.
Key *string
// 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.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// An object that defines the email template to use for an email message, and the
// values to use for any message variables in that template. An email template is a
// type of message template that contains content that you want to define, save,
// and reuse in email messages that you send.
type Template struct {
// The Amazon Resource Name (ARN) of the template.
TemplateArn *string
// 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 *string
// The name of the template. You will refer to this name when you send email using
// the SendTemplatedEmail or SendBulkTemplatedEmail operations.
TemplateName *string
noSmithyDocumentSerde
}
// An interest group, theme, or label within a list. Lists can have multiple
// topics.
type Topic struct {
// The default subscription status to be applied to a contact if the contact has
// not noted their preference for subscribing to a topic.
//
// This member is required.
DefaultSubscriptionStatus SubscriptionStatus
// The name of the topic the contact will see.
//
// This member is required.
DisplayName *string
// The name of the topic.
//
// This member is required.
TopicName *string
// A description of what the topic is about, which the contact will see.
Description *string
noSmithyDocumentSerde
}
// Used for filtering by a specific topic preference.
type TopicFilter struct {
// The name of a topic on which you wish to apply the filter.
TopicName *string
// Notes that the default subscription status should be applied to a contact
// because the contact has not noted their preference for subscribing to a topic.
UseDefaultIfPreferenceUnavailable bool
noSmithyDocumentSerde
}
// The contact's preference for being opted-in to or opted-out of a topic.
type TopicPreference struct {
// The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.
//
// This member is required.
SubscriptionStatus SubscriptionStatus
// The name of the topic.
//
// This member is required.
TopicName *string
noSmithyDocumentSerde
}
// An object that defines the tracking options for a configuration set. When you
// use the Amazon SES API v2 to send an email, it contains an invisible image
// that's used to track when recipients open your email. If your email contains
// links, those links are changed slightly in order to track when recipients click
// them. These images and links include references to a domain operated by Amazon
// Web Services. You can optionally configure the Amazon SES to use a domain that
// you operate for these images and links.
type TrackingOptions struct {
// The domain to use for tracking open and click events.
//
// This member is required.
CustomRedirectDomain *string
noSmithyDocumentSerde
}
// An object that contains information about the amount of email that was delivered
// to recipients.
type VolumeStatistics struct {
// The total number of emails that arrived in recipients' inboxes.
InboxRawCount *int64
// An estimate of the percentage of emails sent from the current domain that will
// arrive in recipients' inboxes.
ProjectedInbox *int64
// An estimate of the percentage of emails sent from the current domain that will
// arrive in recipients' spam or junk mail folders.
ProjectedSpam *int64
// The total number of emails that arrived in recipients' spam or junk mail
// folders.
SpamRawCount *int64
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|