Skip to content

Commit f80f5a6

Browse files
author
AWS
committed
MailManager Update: Mail Manager support for viewing and exporting metadata of archived messages.
1 parent fb31352 commit f80f5a6

File tree

2 files changed

+97
-1
lines changed

2 files changed

+97
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "MailManager",
4+
"contributor": "",
5+
"description": "Mail Manager support for viewing and exporting metadata of archived messages."
6+
}

services/mailmanager/src/main/resources/codegen-resources/service-2.json

Lines changed: 91 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,9 @@
10271027
"TO",
10281028
"FROM",
10291029
"CC",
1030-
"SUBJECT"
1030+
"SUBJECT",
1031+
"ENVELOPE_TO",
1032+
"ENVELOPE_FROM"
10311033
]
10321034
},
10331035
"ArchiveStringExpression":{
@@ -1509,6 +1511,24 @@
15091511
"type":"list",
15101512
"member":{"shape":"String"}
15111513
},
1514+
"Envelope":{
1515+
"type":"structure",
1516+
"members":{
1517+
"From":{
1518+
"shape":"String",
1519+
"documentation":"<p>The RCPT FROM given by the host from which the email was received.</p>"
1520+
},
1521+
"Helo":{
1522+
"shape":"String",
1523+
"documentation":"<p>The HELO used by the host from which the email was received.</p>"
1524+
},
1525+
"To":{
1526+
"shape":"StringList",
1527+
"documentation":"<p>All SMTP TO entries given by the host from which the email was received.</p>"
1528+
}
1529+
},
1530+
"documentation":"<p>The SMTP envelope information of the email.</p>"
1531+
},
15121532
"ErrorMessage":{"type":"string"},
15131533
"ExportDestinationConfiguration":{
15141534
"type":"structure",
@@ -1719,9 +1739,17 @@
17191739
"GetArchiveMessageResponse":{
17201740
"type":"structure",
17211741
"members":{
1742+
"Envelope":{
1743+
"shape":"Envelope",
1744+
"documentation":"<p>The SMTP envelope information of the email.</p>"
1745+
},
17221746
"MessageDownloadLink":{
17231747
"shape":"S3PresignedURL",
17241748
"documentation":"<p>A pre-signed URL to temporarily download the full message content.</p>"
1749+
},
1750+
"Metadata":{
1751+
"shape":"Metadata",
1752+
"documentation":"<p>The metadata about the email.</p>"
17251753
}
17261754
},
17271755
"documentation":"<p>The response containing details about the requested archived email message.</p>"
@@ -2726,6 +2754,44 @@
27262754
},
27272755
"documentation":"<p>The textual body content of an email message.</p>"
27282756
},
2757+
"Metadata":{
2758+
"type":"structure",
2759+
"members":{
2760+
"IngressPointId":{
2761+
"shape":"IngressPointId",
2762+
"documentation":"<p>The ID of the ingress endpoint through which the email was received.</p>"
2763+
},
2764+
"RuleSetId":{
2765+
"shape":"RuleSetId",
2766+
"documentation":"<p>The ID of the rule set that processed the email.</p>"
2767+
},
2768+
"SenderHostname":{
2769+
"shape":"String",
2770+
"documentation":"<p>The name of the host from which the email was received.</p>"
2771+
},
2772+
"SenderIpAddress":{
2773+
"shape":"SenderIpAddress",
2774+
"documentation":"<p>The IP address of the host from which the email was received.</p>"
2775+
},
2776+
"Timestamp":{
2777+
"shape":"Timestamp",
2778+
"documentation":"<p>The timestamp of when the email was received.</p>"
2779+
},
2780+
"TlsCipherSuite":{
2781+
"shape":"String",
2782+
"documentation":"<p>The TLS cipher suite used to communicate with the host from which the email was received.</p>"
2783+
},
2784+
"TlsProtocol":{
2785+
"shape":"String",
2786+
"documentation":"<p>The TLS protocol used to communicate with the host from which the email was received.</p>"
2787+
},
2788+
"TrafficPolicyId":{
2789+
"shape":"TrafficPolicyId",
2790+
"documentation":"<p>The ID of the traffic policy that was in effect when the email was received.</p>"
2791+
}
2792+
},
2793+
"documentation":"<p>The metadata about the email.</p>"
2794+
},
27292795
"MimeHeaderAttribute":{
27302796
"type":"string",
27312797
"pattern":"^X-[a-zA-Z0-9-]{1,256}$"
@@ -2950,6 +3016,10 @@
29503016
"shape":"String",
29513017
"documentation":"<p>The date the email was sent.</p>"
29523018
},
3019+
"Envelope":{
3020+
"shape":"Envelope",
3021+
"documentation":"<p>The SMTP envelope information of the email.</p>"
3022+
},
29533023
"From":{
29543024
"shape":"String",
29553025
"documentation":"<p>The email address of the sender.</p>"
@@ -2962,6 +3032,10 @@
29623032
"shape":"String",
29633033
"documentation":"<p>The email message ID this is a reply to.</p>"
29643034
},
3035+
"IngressPointId":{
3036+
"shape":"IngressPointId",
3037+
"documentation":"<p>The ID of the ingress endpoint through which the email was received.</p>"
3038+
},
29653039
"MessageId":{
29663040
"shape":"String",
29673041
"documentation":"<p>The unique message ID of the email.</p>"
@@ -2974,6 +3048,14 @@
29743048
"shape":"Timestamp",
29753049
"documentation":"<p>The timestamp of when the email was received.</p>"
29763050
},
3051+
"SenderHostname":{
3052+
"shape":"String",
3053+
"documentation":"<p>The name of the host from which the email was received.</p>"
3054+
},
3055+
"SenderIpAddress":{
3056+
"shape":"SenderIpAddress",
3057+
"documentation":"<p>The IP address of the host from which the email was received.</p>"
3058+
},
29773059
"Subject":{
29783060
"shape":"String",
29793061
"documentation":"<p>The subject header value of the email.</p>"
@@ -3617,6 +3699,10 @@
36173699
},
36183700
"documentation":"<p>Sends the email to the internet using the ses:SendRawEmail API.</p>"
36193701
},
3702+
"SenderIpAddress":{
3703+
"type":"string",
3704+
"sensitive":true
3705+
},
36203706
"ServiceQuotaExceededException":{
36213707
"type":"structure",
36223708
"members":{
@@ -3657,6 +3743,10 @@
36573743
"shape":"Timestamp",
36583744
"documentation":"<p>The start of the timestamp range to include emails from.</p>"
36593745
},
3746+
"IncludeMetadata":{
3747+
"shape":"Boolean",
3748+
"documentation":"<p>Whether to include message metadata as JSON files in the export.</p>"
3749+
},
36603750
"MaxResults":{
36613751
"shape":"ExportMaxResults",
36623752
"documentation":"<p>The maximum number of email items to include in the export.</p>"

0 commit comments

Comments
 (0)