- Newest
- Most votes
- Most comments
In the context of the CreateExportJob operation for Amazon SES, specifically for the MessageInsightsDataSource, the StartDate and EndDate parameters define the time range for which you want to export data. These dates are inclusive, meaning both the start and end dates are included in the export range.
For your specific scenario:
-
StartDate represents the beginning of the time interval for which you want to export data. It's the earliest date and time for which you want to include message insights.
-
EndDate represents the end of the time interval for which you want to export data. It's the latest date and time up to which you want to include message insights.
In your example, if an email was sent on 2025-02-10 and opened on 2025-02-12, and you set the StartDate to 2025-02-12, this message would indeed be included in the exported data. This is because the LastEngagementEvent (OPEN in this case) occurred on the StartDate you specified.
It's important to note that the export job considers the timestamp of the engagement event (in this case, the open event on 2025-02-12) rather than the send date of the email. So, as long as the engagement event falls within your specified date range, the message will be included in the export, regardless of when it was originally sent.
Remember that both StartDate and EndDate are required fields when creating an export job, and they define the boundaries of your data export. Make sure to set your EndDate appropriately to capture all the data you need.
Sources
MessageInsightsDataSource - Amazon Simple Email Service
CreateExportJob - Amazon Simple Email Service
Relevant content
asked 4 years ago
asked 2 years ago
