Enum RejectedErrorCode

java.lang.Object
java.lang.Enum<RejectedErrorCode>
software.amazon.awssdk.iot.iotjobs.model.RejectedErrorCode
All Implemented Interfaces:
Serializable, Comparable<RejectedErrorCode>, java.lang.constant.Constable

public enum RejectedErrorCode extends Enum<RejectedErrorCode>
A value indicating the kind of error encountered while processing an AWS IoT Jobs request
  • Enum Constant Details

    • UNKNOWN_ENUM_VALUE

      public static final RejectedErrorCode UNKNOWN_ENUM_VALUE
      Enum value is an unknown value
    • INVALID_TOPIC

      public static final RejectedErrorCode INVALID_TOPIC
      The request was sent to a topic in the AWS IoT Jobs namespace that does not map to any API.
    • INVALID_STATE_TRANSITION

      public static final RejectedErrorCode INVALID_STATE_TRANSITION
      An update attempted to change the job execution to a state that is invalid because of the job execution's current state. In this case, the body of the error message also contains the executionState field.
    • RESOURCE_NOT_FOUND

      public static final RejectedErrorCode RESOURCE_NOT_FOUND
      The JobExecution specified by the request topic does not exist.
    • INVALID_REQUEST

      public static final RejectedErrorCode INVALID_REQUEST
      The contents of the request were invalid. The message contains details about the error.
    • REQUEST_THROTTLED

      public static final RejectedErrorCode REQUEST_THROTTLED
      The request was throttled.
    • INTERNAL_ERROR

      public static final RejectedErrorCode INTERNAL_ERROR
      There was an internal error during the processing of the request.
    • TERMINAL_STATE_REACHED

      public static final RejectedErrorCode TERMINAL_STATE_REACHED
      Occurs when a command to describe a job is performed on a job that is in a terminal state.
    • INVALID_JSON

      public static final RejectedErrorCode INVALID_JSON
      The contents of the request could not be interpreted as valid UTF-8-encoded JSON.
    • VERSION_MISMATCH

      public static final RejectedErrorCode VERSION_MISMATCH
      The expected version specified in the request does not match the version of the job execution in the AWS IoT Jobs service. In this case, the body of the error message also contains the executionState field.
  • Method Details

    • values

      public static RejectedErrorCode[] 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 RejectedErrorCode 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<RejectedErrorCode>