Skip to content

Definitions of StartDate and EndDate in SES CreateExportJob

0

I would like to know what exactly do StartDate and EndDate indicate in the request data of https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_CreateExportJob.html

I am mainly looking to export MessageInsightsDataSource with LastEngagementEvent as OPEN or CLICK.

For example , if an email is sent on 2025-02-10 and opened on 2025-02-12. If I mention StartDate as 2025-02-12 , will the above message info be included in the exported rows?

asked 2 years ago145 views

1 Answer
1

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:

  1. 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.

  2. 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

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.