Enum EmailSendingEvent

java.lang.Object
java.lang.Enum<EmailSendingEvent>
software.amazon.awscdk.services.ses.EmailSendingEvent
All Implemented Interfaces:
Serializable, Comparable<EmailSendingEvent>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-09-24T10:56:40.311Z") @Stability(Stable) public enum EmailSendingEvent extends Enum<EmailSendingEvent>
Email sending event.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    (Hard bounce) The recipient's mail server permanently rejected the email.
    The recipient clicked one or more links in the email.
    The email was successfully delivered to the recipient’s mail server, but the recipient marked it as spam.
    SES successfully delivered the email to the recipient's mail server.
    The email couldn't be delivered to the recipient’s mail server because a temporary issue occurred.
    The recipient received the message and opened it in their email client.
    SES accepted the email, but determined that it contained a virus and didn’t attempt to deliver it to the recipient’s mail server.
    The email wasn't sent because of a template rendering issue.
    The send request was successful and SES will attempt to deliver the message to the recipient's mail server.
    The email was successfully delivered, but the recipient updated their subscription preferences by clicking on an unsubscribe link as part of your subscription management.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SEND

      @Stability(Stable) public static final EmailSendingEvent 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.)

    • REJECT

      @Stability(Stable) public static final EmailSendingEvent REJECT
      SES accepted the email, but determined that it contained a virus and didn’t attempt to deliver it to the recipient’s mail server.
    • BOUNCE

      @Stability(Stable) public static final EmailSendingEvent BOUNCE
      (Hard bounce) The recipient's mail server permanently rejected the email.

      (Soft bounces are only included when SES fails to deliver the email after retrying for a period of time.)

    • COMPLAINT

      @Stability(Stable) public static final EmailSendingEvent COMPLAINT
      The email was successfully delivered to the recipient’s mail server, but the recipient marked it as spam.
    • DELIVERY

      @Stability(Stable) public static final EmailSendingEvent DELIVERY
      SES successfully delivered the email to the recipient's mail server.
    • OPEN

      @Stability(Stable) public static final EmailSendingEvent OPEN
      The recipient received the message and opened it in their email client.
    • CLICK

      @Stability(Stable) public static final EmailSendingEvent CLICK
      The recipient clicked one or more links in the email.
    • RENDERING_FAILURE

      @Stability(Stable) public static final EmailSendingEvent RENDERING_FAILURE
      The email wasn't sent because of a template rendering issue.

      This event type can occur when template data is missing, or when there is a mismatch between template parameters and data. (This event type only occurs when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail API operations.)

    • DELIVERY_DELAY

      @Stability(Stable) public static final EmailSendingEvent DELIVERY_DELAY
      The email couldn't be delivered to the recipient’s mail server because a temporary issue occurred.

      Delivery delays can occur, for example, when the recipient's inbox is full, or when the receiving email server experiences a transient issue.

    • SUBSCRIPTION

      @Stability(Stable) public static final EmailSendingEvent SUBSCRIPTION
      The email was successfully delivered, but the recipient updated their subscription preferences by clicking on an unsubscribe link as part of your subscription management.
  • Method Details

    • values

      public static EmailSendingEvent[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EmailSendingEvent valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null