public enum RejectedErrorCode extends Enum<RejectedErrorCode>
| Enum Constant and Description |
|---|
INTERNAL_ERROR
There was an internal error during the processing of the request.
|
INVALID_JSON
The contents of the request could not be interpreted as valid UTF-8-encoded JSON.
|
INVALID_REQUEST
The contents of the request were invalid.
|
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.
|
INVALID_TOPIC
The request was sent to a topic in the AWS IoT Jobs namespace that does not map to any API.
|
REQUEST_THROTTLED
The request was throttled.
|
RESOURCE_NOT_FOUND
The JobExecution specified by the request topic does not exist.
|
TERMINAL_STATE_REACHED
Occurs when a command to describe a job is performed on a job that is in a terminal state.
|
UNKNOWN_ENUM_VALUE |
VERSION_MISMATCH
The expected version specified in the request does not match the version of the job execution in the AWS IoT Jobs service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static RejectedErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RejectedErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RejectedErrorCode UNKNOWN_ENUM_VALUE
public static final RejectedErrorCode INVALID_TOPIC
public static final RejectedErrorCode INVALID_STATE_TRANSITION
public static final RejectedErrorCode RESOURCE_NOT_FOUND
public static final RejectedErrorCode INVALID_REQUEST
public static final RejectedErrorCode REQUEST_THROTTLED
public static final RejectedErrorCode INTERNAL_ERROR
public static final RejectedErrorCode TERMINAL_STATE_REACHED
public static final RejectedErrorCode INVALID_JSON
public static final RejectedErrorCode VERSION_MISMATCH
public static RejectedErrorCode[] values()
for (RejectedErrorCode c : RejectedErrorCode.values()) System.out.println(c);
public static RejectedErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<RejectedErrorCode>Copyright ? 2021. All rights reserved.