Skip to content

/AWS1/CL_SE2INSIGHTSEVENT

An object containing details about a specific event.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_timestamp TYPE /AWS1/SE2TIMESTAMP /AWS1/SE2TIMESTAMP

The timestamp of the event.

iv_type TYPE /AWS1/SE2EVENTTYPE /AWS1/SE2EVENTTYPE

The type of event:

  • SEND - The send request was successful and SES will attempt to deliver the message to the recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.)

  • DELIVERY - SES successfully delivered the email to the recipient's mail server. Excludes deliveries to the mailbox simulator, and those from emails addressed to more than one recipient.

  • BOUNCE - Feedback received for delivery failures. Additional details about the bounce are provided in the Details object. Excludes bounces from the mailbox simulator, and those from emails addressed to more than one recipient.

  • COMPLAINT - Complaint received for the email. Additional details about the complaint are provided in the Details object. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those from emails addressed to more than one recipient.

  • OPEN - Open event for emails including open trackers. Excludes opens for emails addressed to more than one recipient.

  • CLICK - Click event for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient.

io_details TYPE REF TO /AWS1/CL_SE2EVENTDETAILS /AWS1/CL_SE2EVENTDETAILS

Details about bounce or complaint events.


Queryable Attributes

Timestamp

The timestamp of the event.

Accessible with the following methods

Method Description
GET_TIMESTAMP() Getter for TIMESTAMP, with configurable default
ASK_TIMESTAMP() Getter for TIMESTAMP w/ exceptions if field has no value
HAS_TIMESTAMP() Determine if TIMESTAMP has a value

Type

The type of event:

  • SEND - The send request was successful and SES will attempt to deliver the message to the recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.)

  • DELIVERY - SES successfully delivered the email to the recipient's mail server. Excludes deliveries to the mailbox simulator, and those from emails addressed to more than one recipient.

  • BOUNCE - Feedback received for delivery failures. Additional details about the bounce are provided in the Details object. Excludes bounces from the mailbox simulator, and those from emails addressed to more than one recipient.

  • COMPLAINT - Complaint received for the email. Additional details about the complaint are provided in the Details object. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those from emails addressed to more than one recipient.

  • OPEN - Open event for emails including open trackers. Excludes opens for emails addressed to more than one recipient.

  • CLICK - Click event for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

Details

Details about bounce or complaint events.

Accessible with the following methods

Method Description
GET_DETAILS() Getter for DETAILS

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_INSIGHTSEVENTS

TYPES TT_INSIGHTSEVENTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_SE2INSIGHTSEVENT WITH DEFAULT KEY
.