Enum RejectedErrorCode

    • Enum Constant Detail

      • 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 Commands namespace that does not map to any API.
      • INVALID_JSON

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

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

        public static final RejectedErrorCode INVALID_STATE_TRANSITION
        An update attempted to change the command execution to a state that is invalid because of the command 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 CommandExecution specified by the request topic does not exist.
      • VERSION_MISMATCH

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

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

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

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

      • values

        public static RejectedErrorCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RejectedErrorCode c : RejectedErrorCode.values())
            System.out.println(c);
        
        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