public enum HandlerErrorCode extends Enum<HandlerErrorCode>
| Enum Constant and Description |
|---|
AccessDenied
the customer has insufficient permissions to perform this action (Terminal)
|
AlreadyExists
the specified resource already existed prior to the execution of the handler.
|
GeneralServiceException
an exception from the downstream service that does not map to any other error
codes (Terminal)
|
InternalFailure
an unexpected error occurred within the handler, such as an NPE, etc.
|
InvalidCredentials
the customer's provided credentials were invalid (Terminal)
|
InvalidRequest
a generic exception caused by invalid input from the customer (Terminal)
|
NetworkFailure
the request was unable to be completed due to networking issues, such as
failure to receive a response from the server (Retriable)
|
NotFound
the specified resource does not exist, or is in a terminal, inoperable, and
irrecoverable state (Terminal)
|
NotStabilized
the downstream resource failed to complete all of its ready state checks
(Retriable)
|
NotUpdatable
the customer tried perform an update to a property that is CreateOnly.
|
ResourceConflict
the resource is temporarily unable to be acted upon; for example, if the
resource is currently undergoing an operation and cannot be acted upon until
that operation is finished (Retriable)
|
ServiceInternalError
the downstream service returned an internal error, typically with a 5XX HTTP
Status code (Retriable)
|
ServiceLimitExceeded
a non-transient resource limit was reached on the service side (Terminal)
|
Throttling
the request was throttled by the downstream service (Retriable)
|
| Modifier and Type | Method and Description |
|---|---|
static HandlerErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandlerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandlerErrorCode NotUpdatable
public static final HandlerErrorCode InvalidRequest
public static final HandlerErrorCode AccessDenied
public static final HandlerErrorCode InvalidCredentials
public static final HandlerErrorCode AlreadyExists
public static final HandlerErrorCode NotFound
public static final HandlerErrorCode ResourceConflict
public static final HandlerErrorCode Throttling
public static final HandlerErrorCode ServiceLimitExceeded
public static final HandlerErrorCode NotStabilized
public static final HandlerErrorCode GeneralServiceException
public static final HandlerErrorCode ServiceInternalError
public static final HandlerErrorCode NetworkFailure
public static final HandlerErrorCode InternalFailure
public static HandlerErrorCode[] values()
for (HandlerErrorCode c : HandlerErrorCode.values()) System.out.println(c);
public static HandlerErrorCode 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 nullCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.