Enum DeliveryStatus

java.lang.Object
java.lang.Enum<DeliveryStatus>
software.amazon.awssdk.services.partnercentralmarketing.model.DeliveryStatus
All Implemented Interfaces:
Serializable, Comparable<DeliveryStatus>

@Generated("software.amazon.awssdk:codegen") public enum DeliveryStatus extends Enum<DeliveryStatus>

What the delivery platform did with an artifact it accepted.

Distinct from `LastActivationStatus`, which reports the hand-over *to* the platform. Once DG has the mailing armed, the hand-over `SUCCEEDED`; whether the platform then delivered is this member's business, and the two genuinely diverge — `LastActivationStatus = SUCCEEDED` with `DeliveryStatus = FAILED` is an ordinary combination, not a contradiction.

**EMAIL and SOCIAL_POST only.** Landing pages and documents have no delivery event at all.

`PENDING` until the platform shows the outcome. An email is `DELIVERED` once the platform reports it sent, and `FAILED` when the platform reports the send failed. A social post is `DELIVERED` once the platform has published it. A social post is never reported `FAILED` by an observation alone, because the platform retries a failed post. A send that has not resolved a day after its scheduled time stays `PENDING` while it is investigated, and is reported `FAILED` only if it will not go out. A `FAILED` asset can be deactivated and activated again to retry. See campaign-asset-design.md section 6.4.

  • Enum Constant Details

  • Method Details

    • values

      public static DeliveryStatus[] 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 DeliveryStatus 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DeliveryStatus>
    • fromValue

      public static DeliveryStatus fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      DeliveryStatus corresponding to the value
    • knownValues

      public static Set<DeliveryStatus> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known DeliveryStatuss