Enum Class InvocationStatus

java.lang.Object
java.lang.Enum<InvocationStatus>
software.amazon.lambda.durable.plugin.InvocationStatus
All Implemented Interfaces:
Serializable, Comparable<InvocationStatus>, Constable

@Deprecated public enum InvocationStatus extends Enum<InvocationStatus>
Deprecated.
This is a preview API that is experimental and may be changed or removed in future releases.
Status of a Lambda invocation at the end of its execution.
  • Enum Constant Details

    • SUCCEEDED

      public static final InvocationStatus SUCCEEDED
      Deprecated.
      Execution completed successfully in this invocation.
    • FAILED

      public static final InvocationStatus FAILED
      Deprecated.
      Execution failed permanently in this invocation.
    • PENDING

      public static final InvocationStatus PENDING
      Deprecated.
      Execution suspended — will resume in a future invocation.
    • RETRYING

      public static final InvocationStatus RETRYING
      Deprecated.
      Execution failed but will be retried by the backend in a new invocation.
  • Method Details

    • values

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

      public static InvocationStatus valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null