Enum RejectedErrorCode
- All Implemented Interfaces:
Serializable,Comparable<RejectedErrorCode>,java.lang.constant.Constable
A value indicating the kind of error encountered while processing an AWS IoT Jobs request
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere was an internal error during the processing of the request.The contents of the request could not be interpreted as valid UTF-8-encoded JSON.The contents of the request were invalid.An update attempted to change the job execution to a state that is invalid because of the job execution's current state.The request was sent to a topic in the AWS IoT Jobs namespace that does not map to any API.The request was throttled.The JobExecution specified by the request topic does not exist.Occurs when a command to describe a job is performed on a job that is in a terminal state.Enum value is an unknown valueThe expected version specified in the request does not match the version of the job execution in the AWS IoT Jobs service. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static RejectedErrorCodeReturns 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.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
UNKNOWN_ENUM_VALUE
Enum value is an unknown value -
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
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
The JobExecution specified by the request topic does not exist. -
INVALID_REQUEST
The contents of the request were invalid. The message contains details about the error. -
REQUEST_THROTTLED
The request was throttled. -
INTERNAL_ERROR
There was an internal error during the processing of the request. -
TERMINAL_STATE_REACHED
Occurs when a command to describe a job is performed on a job that is in a terminal state. -
INVALID_JSON
The contents of the request could not be interpreted as valid UTF-8-encoded JSON. -
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
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
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<RejectedErrorCode>
-