GetMessageInsights
Source:
src/AWS/SES/GetMessageInsights.ts
Runtime binding for sesv2:GetMessageInsights.
Retrieves the delivery insights SES tracked for a single sent message —
the per-recipient event timeline (send, delivery, open, click, bounce,
complaint) plus the resolved subject, from-address, and tags. Requires VDM
(Virtual Deliverability Manager) to be enabled and the message to have been
sent within the retention window; an unknown message id fails with the
typed NotFoundException. Account-level operation. Provide the
implementation with Effect.provide(AWS.SES.GetMessageInsightsHttp).
Deliverability Insights
Section titled “Deliverability Insights”// init — account-level binding, no resource argumentconst getInsights = yield* SES.GetMessageInsights();
// runtime — MessageId returned by a prior SendEmailconst { Insights } = yield* getInsights({ MessageId: messageId });